:root {
  color-scheme: light;
  --ink: #171717;
  --paper: #f8f3ea;
  --linen: #eee3d2;
  --moss: #455f43;
  --tomato: #c94e37;
  --indigo: #263c70;
  --cream: #fffaf0;
  --muted: #6d675d;
  --line: rgba(23, 23, 23, 0.16);
  --shadow: 0 24px 55px rgba(23, 23, 23, 0.16);
  --rail: 248px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--rail);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  background: rgba(248, 243, 234, 0.92);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.brand {
  display: grid;
  gap: 6px;
}

.brand-kicker {
  color: var(--tomato);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: 0;
}

.rail-nav {
  display: grid;
  align-content: center;
  gap: 8px;
}

.rail-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--muted);
  font-weight: 850;
}

.rail-nav a::before {
  content: "";
  width: 0;
  height: 2px;
  margin-right: 0;
  background: var(--tomato);
  transition: width 180ms ease, margin-right 180ms ease;
}

.rail-nav a:hover,
.rail-nav a.is-active {
  color: var(--ink);
}

.rail-nav a:hover::before,
.rail-nav a.is-active::before {
  width: 24px;
  margin-right: 10px;
}

.rail-actions {
  display: grid;
  gap: 10px;
}

.gallery-link,
.bag-button,
.button,
.filter-button,
.fit-option,
.quick-add {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.gallery-link,
.bag-button {
  width: 100%;
  background: var(--cream);
  color: var(--ink);
}

.bag-button {
  justify-content: space-between;
  padding: 0 14px;
}

#bagCount {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
}

main {
  margin-left: var(--rail);
  overflow: hidden;
}

.menu-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 60;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.82);
  box-shadow: var(--shadow);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 3px 0;
  background: #ffffff;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: 52px max(28px, calc((100vw - 1340px) / 2)) 56px 56px;
  background:
    linear-gradient(90deg, rgba(69, 95, 67, 0.14), transparent 40%),
    linear-gradient(180deg, #fffaf0, #eee3d2);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--tomato);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 88px;
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: 62px;
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.hero-copy p:not(.eyebrow) {
  max-width: 590px;
  color: #4b463f;
  font-size: 18px;
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
}

.button:hover,
.gallery-link:hover,
.bag-button:hover,
.filter-button:hover,
.fit-option:hover,
.quick-add:hover {
  transform: translateY(-2px);
}

.button.primary,
.filter-button.is-active,
.fit-option.is-active,
.quick-add {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button.dark {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.hero-editorial {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 14px;
  align-items: stretch;
}

.large-frame {
  position: relative;
  margin: 0;
  min-height: 620px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.large-frame img,
.visit > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large-frame figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.88);
  color: var(--ink);
  font-weight: 950;
}

.side-stack {
  display: grid;
  gap: 14px;
}

.side-stack img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.look-controls {
  position: absolute;
  right: 192px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.look-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.look-dot.is-active {
  background: #ffffff;
}

.ticker {
  display: flex;
  gap: 8px;
  overflow: hidden;
  padding: 16px 0;
  background: var(--indigo);
  color: #ffffff;
  font-weight: 950;
  white-space: nowrap;
}

.ticker span {
  animation: slideText 26s linear infinite;
  padding-left: 42px;
}

@keyframes slideText {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.section {
  padding: 88px max(28px, calc((100vw - 1180px) / 2));
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.intro-grid article {
  min-height: 340px;
  padding: 44px;
  background: var(--cream);
}

.intro-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--tomato);
  font-weight: 950;
}

.intro-grid h2 {
  font-size: 44px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
}

.filter-bar,
.fit-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button,
.fit-option {
  padding: 0 16px;
  background: #ffffff;
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.08);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
}

.product-card > div {
  padding: 20px;
}

.product-card span {
  color: var(--tomato);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-add {
  width: 100%;
  margin-top: 10px;
}

.lookbook {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--ink);
  color: #ffffff;
}

.lookbook-copy {
  padding: 74px 54px;
  align-self: center;
}

.lookbook h2,
.lookbook p {
  color: #ffffff;
}

.lookbook p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 1px;
}

.masonry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masonry img:nth-child(1),
.masonry img:nth-child(5) {
  grid-row: span 2;
}

.fit-studio {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
  gap: 28px;
  background: #ffffff;
}

.fit-panel {
  align-self: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.fit-result {
  min-height: 108px;
  padding: 18px;
  border-left: 4px solid var(--tomato);
  background: #ffffff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  background: var(--cream);
}

.service-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.service-grid h3,
.service-grid p {
  padding-right: 18px;
  padding-left: 18px;
}

.service-grid h3 {
  margin-top: 18px;
}

.service-grid p {
  padding-bottom: 20px;
}

.about-runway {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  background:
    linear-gradient(90deg, rgba(38, 60, 112, 0.08), transparent 36%),
    var(--paper);
}

.about-copy {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.why-grid article {
  display: grid;
  align-content: end;
  min-height: 320px;
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.why-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-grid strong,
.review-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.reviews {
  background: var(--linen);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  padding: 26px;
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.08);
}

.review-card span {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--indigo);
  color: #ffffff;
  font-weight: 950;
}

.visit {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  color: #ffffff;
  overflow: hidden;
}

.visit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 23, 23, 0.86), rgba(23, 23, 23, 0.34) 64%, transparent);
}

.visit > img {
  position: absolute;
  inset: 0;
}

.visit-copy {
  position: relative;
  z-index: 1;
  width: min(660px, calc(100% - 56px));
  margin: 0 0 70px max(28px, calc((100vw - 1180px) / 2));
}

.visit h2,
.visit p {
  color: #ffffff;
}

.request {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(320px, 0.64fr);
  gap: 38px;
  align-items: start;
  background: #ffffff;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.1);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(201, 78, 55, 0.24);
  border-color: var(--tomato);
}

.form-status {
  min-height: 26px;
  margin: 0;
  color: var(--moss);
  font-weight: 900;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-left: var(--rail);
  padding: 24px max(28px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.footer a {
  color: var(--linen);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  padding: 13px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 950;
  box-shadow: var(--shadow);
  transform: translateY(120px);
  transition: transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

@media (max-width: 1120px) {
  :root {
    --rail: 220px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-left: 34px;
  }

  .hero-editorial {
    grid-template-columns: 1fr 120px;
  }

  .large-frame {
    min-height: 520px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 52px;
  }

  .intro-grid h2 {
    font-size: 40px;
  }

  .product-grid,
  .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .lookbook,
  .fit-studio,
  .about-runway,
  .request {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid;
  }

  .site-rail {
    width: min(86vw, 320px);
    transform: translateX(-110%);
    transition: transform 200ms ease;
  }

  .site-rail.is-open {
    transform: translateX(0);
  }

  main {
    margin-left: 0;
  }

  .footer {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding: 94px 18px 34px;
  }

  .hero-editorial {
    grid-template-columns: 1fr;
  }

  .side-stack {
    grid-template-columns: 1fr 1fr;
  }

  .large-frame {
    min-height: 440px;
  }

  h1 {
    font-size: 52px;
  }

  h2,
  .intro-grid h2 {
    font-size: 38px;
  }

  .look-controls {
    right: 18px;
  }

  .section,
  .lookbook-copy {
    padding: 62px 18px;
  }

  .intro-grid,
  .product-grid,
  .service-grid,
  .masonry,
  .review-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid article {
    min-height: auto;
    padding: 34px 22px;
  }

  .masonry {
    grid-auto-rows: 280px;
  }

  .masonry img:nth-child(1),
  .masonry img:nth-child(5) {
    grid-row: span 1;
  }

  .visit-copy {
    width: calc(100% - 36px);
    margin: 0 18px 48px;
  }
}
