:root {
  --ivory: #f2efe9;
  --paper: #fbf8f2;
  --sand: #e0d7c9;
  --taupe: #b7a9a4;
  --charcoal: #1f1f1f;
  --olive: #6d7268;
  --bronze: #b58b5a;
  --blue: #bfd7d6;
  --line: rgba(31, 31, 31, 0.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--ivory);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(242, 239, 233, 0.88);
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  width: 154px;
  min-width: 130px;
}

.nav-links,
.nav-cta,
.eyebrow,
.button,
.section-number,
.look-card span,
.service-grid span,
.values-grid span,
.spec-list dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-lockup img {
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: invert(1) brightness(1.35);
  transition: filter 240ms ease, opacity 240ms ease;
}

.site-header.is-scrolled .brand-lockup img {
  filter: none;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: clamp(16px, 3vw, 42px);
}

.nav-links a,
.nav-cta {
  opacity: 0.88;
}

.nav-links a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav-cta {
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 4vw, 56px) 48px;
  color: var(--ivory);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 45%;
  transform: scale(1.04);
  animation: heroDrift 13s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12) 46%, rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.02) 48%);
}

.hero-content {
  width: min(720px, calc(100vw - clamp(36px, 8vw, 112px)));
  max-width: min(720px, 92vw);
  padding-bottom: clamp(32px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 18px;
  color: currentColor;
  opacity: 0.72;
}

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

h1 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(74px, 12vw, 190px);
  font-weight: 400;
  line-height: 0.88;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.6vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
}

.hero-copy {
  max-width: 520px;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 300;
  line-height: 1.35;
  color: rgba(242, 239, 233, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.button-light {
  color: var(--ivory);
  background: rgba(242, 239, 233, 0.08);
  backdrop-filter: blur(12px);
}

.hero-card {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 48px;
  width: min(300px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(242, 239, 233, 0.36);
  background: rgba(31, 31, 31, 0.28);
  backdrop-filter: blur(20px);
}

.hero-card span {
  display: block;
  margin-bottom: 34px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.hero-card p {
  margin: 0;
  color: rgba(242, 239, 233, 0.72);
  line-height: 1.4;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateX(-50%);
  opacity: 0.76;
}

.scroll-cue span {
  width: 1px;
  height: 42px;
  background: currentColor;
  transform-origin: top;
  animation: scrollLine 1.8s ease-in-out infinite;
}

.scroll-cue small {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.intro-band,
.statement-section,
.silhouettes,
.digital-feature,
.services,
.contact-section {
  padding: clamp(72px, 10vw, 136px) clamp(18px, 4vw, 56px);
}

.intro-band {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro-band h2,
.statement-copy h2,
.section-heading h2,
.feature-copy h2,
.contact-section h2 {
  margin-bottom: 0;
}

.intro-band > p,
.statement-copy p,
.feature-copy p {
  color: rgba(31, 31, 31, 0.68);
  line-height: 1.75;
}

.section-number {
  color: rgba(31, 31, 31, 0.42);
}

.statement-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(36px, 7vw, 104px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.statement-copy {
  max-width: 680px;
}

.values-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.values-grid article,
.service-grid article {
  min-height: 280px;
  padding: 24px;
  background: var(--ivory);
}

.values-grid span,
.service-grid span {
  display: block;
  margin-bottom: 80px;
  color: rgba(31, 31, 31, 0.42);
}

.values-grid p,
.service-grid p {
  color: rgba(31, 31, 31, 0.62);
  line-height: 1.55;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 40px;
}

.look-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  gap: 14px;
  align-items: stretch;
}

.look-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--sand);
}

.look-card.is-featured {
  min-height: 680px;
}

.look-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.look-card:hover img {
  transform: scale(1.035);
}

.look-card div {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 16px;
  color: var(--ivory);
  background: rgba(31, 31, 31, 0.34);
  border: 1px solid rgba(242, 239, 233, 0.26);
  backdrop-filter: blur(14px);
}

.look-card h3 {
  margin-bottom: 0;
}

.digital-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.digital-preview {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(31, 31, 31, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 31, 31, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 38%, rgba(191, 215, 214, 0.45), transparent 34%),
    var(--ivory);
  background-size: 44px 44px, 44px 44px, auto, auto;
  overflow: hidden;
  perspective: 1100px;
}

.preview-orbit {
  position: absolute;
  width: min(62%, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(31, 31, 31, 0.18);
  border-radius: 50%;
}

.preview-orbit span {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(31, 31, 31, 0.12);
  border-radius: 50%;
  transform: rotateX(64deg);
}

.preview-orbit span + span {
  inset: 28%;
  transform: rotateX(64deg) rotateZ(90deg);
}

.preview-garment {
  position: relative;
  width: min(36vw, 250px);
  height: 360px;
  filter: drop-shadow(0 24px 26px rgba(31, 31, 31, 0.18));
  cursor: grab;
  transform:
    rotateY(var(--viewer-rotation, -12deg))
    rotateX(var(--viewer-tilt, 0deg))
    scale(var(--viewer-scale, 1));
  transform-style: preserve-3d;
  transition: transform 260ms ease, filter 260ms ease;
  user-select: none;
}

.preview-garment.is-dragging {
  cursor: grabbing;
  transition: none;
}

.preview-garment.is-auto {
  animation: garmentSpin 6s linear infinite;
}

.preview-garment span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.hanger {
  top: 0;
  width: 86px;
  height: 32px;
  border-top: 1px solid var(--charcoal);
  border-radius: 50%;
}

.neck {
  top: 44px;
  width: 92px;
  height: 52px;
  border: 1px solid var(--garment-edge, rgba(242, 239, 233, 0.8));
  border-bottom: 0;
  background: var(--garment-mid, var(--charcoal));
  transform: translateX(-50%) translateZ(12px);
}

.body {
  top: 82px;
  width: 210px;
  height: 238px;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(100deg, var(--garment-dark, #070707), var(--garment-mid, #252525) 42%, var(--garment-dark, #0c0c0c) 74%);
  clip-path: var(--garment-shape, polygon(25% 0, 75% 0, 92% 100%, 8% 100%));
  transform: translateX(-50%) translateZ(18px);
}

.hem {
  bottom: 18px;
  width: 228px;
  height: 44px;
  background: linear-gradient(90deg, var(--garment-dark, #050505), var(--garment-mid, #1d1d1d), var(--garment-dark, #080808));
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
  transform: translateX(-50%) translateZ(22px);
}

.preview-garment[data-style="ivory"] {
  --garment-dark: #d8cfc3;
  --garment-mid: #f4efe7;
  --garment-edge: rgba(31, 31, 31, 0.18);
  filter: drop-shadow(0 24px 26px rgba(31, 31, 31, 0.14));
}

.preview-garment[data-style="taupe"] {
  --garment-dark: #75685d;
  --garment-mid: #b7a9a4;
  --garment-edge: rgba(242, 239, 233, 0.42);
}

.preview-garment[data-fit="tailored"] {
  --viewer-scale: 0.94;
  --garment-shape: polygon(31% 0, 69% 0, 82% 100%, 18% 100%);
}

.preview-garment[data-fit="oversized"] {
  --viewer-scale: 1.05;
  --garment-shape: polygon(18% 0, 82% 0, 96% 100%, 4% 100%);
}

.preview-note {
  position: absolute;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.72);
  backdrop-filter: blur(12px);
  color: var(--charcoal);
  cursor: pointer;
  font-size: 11px;
  font-family: var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.preview-note:hover,
.viewer-controls button:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.note-a {
  left: 8%;
  top: 18%;
}

.note-b {
  right: 8%;
  bottom: 18%;
}

.viewer-status {
  position: absolute;
  left: 8%;
  bottom: 8%;
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  background: rgba(31, 31, 31, 0.84);
  color: var(--ivory);
}

.viewer-status span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
}

.viewer-status strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.viewer-controls {
  position: absolute;
  right: 8%;
  top: 8%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 240px;
}

.viewer-controls button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.72);
  color: var(--charcoal);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.viewer-controls button.is-active {
  background: var(--charcoal);
  color: var(--ivory);
}

.feature-copy {
  max-width: 560px;
}

.spec-list {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.spec-list dd {
  margin: 0;
  color: rgba(31, 31, 31, 0.62);
  line-height: 1.55;
}

.services {
  background: var(--ivory);
}

.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-height: 460px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 78% 28%, rgba(191, 215, 214, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(31, 31, 31, 0.96), rgba(31, 31, 31, 0.82)),
    var(--charcoal);
}

.contact-section h2 {
  max-width: 760px;
}

.contact-section .button-dark {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
  flex: 0 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes garmentSpin {
  from {
    transform: rotateY(0deg) rotateX(var(--viewer-tilt, 0deg)) scale(var(--viewer-scale, 1));
  }
  to {
    transform: rotateY(360deg) rotateX(var(--viewer-tilt, 0deg)) scale(var(--viewer-scale, 1));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-media img {
    object-position: 49% center;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 22px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-band,
  .statement-section,
  .digital-feature {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .values-grid article,
  .service-grid article {
    min-height: 220px;
  }

  .values-grid span,
  .service-grid span {
    margin-bottom: 36px;
  }

  .look-grid {
    grid-template-columns: 1fr;
  }

  .look-card,
  .look-card.is-featured {
    min-height: 520px;
  }

  .digital-preview {
    min-height: 520px;
  }

  .viewer-controls {
    left: 16px;
    right: 16px;
    justify-content: flex-start;
  }

  .contact-section {
    align-items: start;
    flex-direction: column;
    justify-content: end;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 14px 16px;
  }

  .nav-cta {
    font-size: 10px;
  }

  .brand-lockup {
    width: 132px;
  }

  .brand-lockup img {
    height: 44px;
  }

  .hero {
    padding: 96px 16px 28px;
  }

  h1 {
    font-size: clamp(56px, 16vw, 64px);
    line-height: 0.95;
  }

  .hero-copy {
    width: 100%;
    max-width: 330px;
    font-size: 17px;
  }

  .hero-media img {
    object-position: 48% center;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .intro-band,
  .statement-section,
  .silhouettes,
  .digital-feature,
  .services,
  .contact-section {
    padding: 64px 16px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .look-card,
  .look-card.is-featured {
    min-height: 450px;
  }

  .preview-garment {
    width: 210px;
    height: 330px;
  }

  .body {
    width: 184px;
    height: 220px;
  }

  .hem {
    width: 198px;
  }

  .viewer-status {
    left: 16px;
    bottom: 18px;
  }

  .contact-section {
    min-height: 540px;
  }
}
