/* ==========================================================================
   Sitevelle Web Design
   Editorial fashion magazine meets feminine luxury
   ========================================================================== */
:root {
  --ivory: #F7F1E8;
  --parchment: #EFE4D6;
  --blush: #E3C6BC;
  --blush-soft: #F0DDD5;
  --burgundy: #5C1A27;
  --burgundy-deep: #46121D;
  --espresso: #231916;
  --taupe: #7A675F;
  --line: #DCCDBE;

  /* The Lash Edit (portfolio palette, separate from the studio's own) */
  --le-cream: #F8F0EA;
  --le-blush: #EAD3CA;
  --le-rose: #C99E8F;
  --le-espresso: #3B2A23;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section-space: clamp(5.5rem, 12vw, 11rem);

  --ease: cubic-bezier(.65, .05, .25, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fine paper grain over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: var(--grain);
  opacity: .3;
  mix-blend-mode: multiply;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

::selection { background: var(--burgundy); color: var(--ivory); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--espresso);
  color: var(--ivory);
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: .98;
  letter-spacing: -.025em;
}
.section-intro {
  max-width: 34rem;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--taupe);
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: .9rem 2rem;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  font-size: .975rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }

.btn-solid { background: var(--espresso); color: var(--ivory); }
.btn-solid::before { background: var(--burgundy); }
.btn-solid:hover { border-color: var(--burgundy); }

.btn-line { background: transparent; color: var(--espresso); }
.btn-line::before { background: var(--espresso); }
.btn-line:hover { color: var(--ivory); }

.btn-ivory { background: var(--ivory); color: var(--burgundy); border-color: var(--ivory); }
.btn-ivory::before { background: var(--blush); }

.text-link {
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s ease;
}
.text-link:hover { color: var(--burgundy); background-size: 35% 1px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5rem;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .65rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--taupe);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.4rem);
}
.site-nav a {
  position: relative;
  font-size: .95rem;
  text-decoration: none;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav .nav-cta {
  padding: .6rem 1.3rem;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.site-nav .nav-cta:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: .95rem;
}
.menu-toggle-bars { position: relative; width: 24px; height: 8px; }
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars::after { top: 6.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 3.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 3.25px; transform: rotate(-45deg); }

/* ==========================================================================
   Shared mockup parts: browser, phone, The Lash Edit
   (sizes use container units so each mock scales as one piece)
   ========================================================================== */
.browser {
  container-type: inline-size;
  overflow: hidden;
  background: var(--le-cream);
  border-radius: 10px;
  box-shadow:
    0 1px 0 rgba(35, 25, 22, .06),
    0 40px 80px -40px rgba(35, 25, 22, .55);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: .8cqi;
  padding: 1.4cqi 1.8cqi;
  background: #fff;
  border-bottom: 1px solid var(--le-blush);
}
.browser-bar i {
  width: 1.1cqi;
  height: 1.1cqi;
  min-width: 5px;
  min-height: 5px;
  border-radius: 50%;
  background: var(--le-blush);
}
.browser-url {
  margin-left: auto;
  margin-right: auto;
  padding: .3cqi 3cqi;
  border-radius: 999px;
  background: var(--le-cream);
  color: var(--taupe);
  font-size: 1.5cqi;
  white-space: nowrap;
}

.le-site { padding: 3.5cqi 5cqi 4.5cqi; color: var(--le-espresso); }
.le-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.7cqi;
}
.le-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.9cqi;
  white-space: nowrap;
}
.le-links { display: flex; gap: 3cqi; }
.le-book {
  padding: .6cqi 2cqi;
  border: 1px solid var(--le-espresso);
  border-radius: 999px;
  white-space: nowrap;
}
.le-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5cqi;
  align-items: center;
  margin-top: 4.5cqi;
}
.le-hero-text { display: flex; flex-direction: column; gap: 1.6cqi; }
.le-kicker { font-size: 1.7cqi; opacity: .75; }
.le-head {
  font-family: var(--serif);
  font-style: italic;
  font-size: 6.2cqi;
  line-height: 1;
  letter-spacing: -.01em;
}
.le-rule { height: .6cqi; width: 85%; border-radius: 1cqi; background: var(--le-espresso); opacity: .14; }
.le-rule.short { width: 60%; }
.le-cta {
  align-self: flex-start;
  margin-top: 1.2cqi;
  padding: 1.2cqi 2.6cqi;
  border-radius: 999px;
  background: var(--le-espresso);
  color: var(--le-cream);
  font-size: 1.7cqi;
  white-space: nowrap;
}
.le-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .45), transparent 55%),
    linear-gradient(170deg, #E6C9BD, #C99E8F);
  display: grid;
  place-items: center;
  color: var(--le-espresso);
}
.le-portrait svg { width: 62%; height: auto; }
.le-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqi;
  margin-top: 4.5cqi;
  padding-top: 2.6cqi;
  border-top: 1px solid var(--le-blush);
}
.le-menu div { display: flex; flex-direction: column; gap: .4cqi; }
.le-menu b { font-family: var(--serif); font-weight: 500; font-size: 2.3cqi; }
.le-menu span { font-size: 1.6cqi; opacity: .7; }

.phone {
  container-type: inline-size;
  aspect-ratio: 9 / 18.5;
  padding: 3.2%;
  background: var(--le-espresso);
  border-radius: 14% / 6.8%;
  box-shadow: 0 40px 70px -30px rgba(35, 25, 22, .65);
}
.phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5cqi;
  padding: 9cqi 7cqi 7cqi;
  overflow: hidden;
  background: var(--le-cream);
  border-radius: 11% / 5.2%;
  color: var(--le-espresso);
}
.phone-screen .le-nav { font-size: 6cqi; }
.phone-screen .le-logo { font-size: 8.5cqi; }
.le-burger {
  width: 9cqi;
  height: 4.5cqi;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.phone-screen .le-portrait { aspect-ratio: 1 / 1.05; }
.phone-screen .le-head { font-size: 11cqi; }
.phone-screen .le-cta {
  align-self: stretch;
  margin-top: auto;
  padding: 4cqi;
  text-align: center;
  font-size: 6.2cqi;
}

/* ==========================================================================
   Hero: the cover
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(7rem, 12vw, 9.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(1rem, 2vw, 2rem);
}

.hero-kicker {
  grid-column: 1 / 7;
  grid-row: 1;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .95rem;
  color: var(--taupe);
}
.hero-kicker::before {
  content: "";
  flex: none;
  width: 2.5rem;
  height: 1px;
  background: var(--burgundy);
}

.hero-title {
  grid-column: 1 / 10;
  grid-row: 2;
  position: relative;
  z-index: 3;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.6rem, 9.3vw, 10.25rem);
  line-height: .9;
  letter-spacing: -.035em;
  font-optical-sizing: auto;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line-italic { font-style: italic; color: var(--burgundy); padding-left: .55em; }
.hero-title .line-indent { padding-left: 1.15em; }

.hero-copy {
  grid-column: 1 / 6;
  grid-row: 3;
  align-self: start;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  z-index: 3;
}
.hero-lede {
  max-width: 30rem;
  font-size: clamp(1.1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

/* The layered cover composition */
.cover-art {
  grid-column: 7 / 13;
  grid-row: 1 / 4;
  position: relative;
  z-index: 1;
  aspect-ratio: 5 / 6.2;
  margin-right: calc(var(--gutter) * -.5);
}
.cover-art > * { position: absolute; }

.cover-arch {
  top: 0;
  right: 0;
  width: 80%;
  height: 90%;
  border-radius: 999px 999px 0 0;
  background:
    var(--grain),
    radial-gradient(ellipse at 35% 25%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(175deg, var(--blush-soft), var(--blush));
}
.cover-disc {
  top: 9%;
  left: 6%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grain), var(--burgundy);
}
.cover-desktop {
  top: 33%;
  left: 8%;
  width: 88%;
}
.cover-phone {
  right: 3%;
  bottom: 4%;
  width: 27%;
}
.seal {
  top: -3%;
  right: -3%;
  width: 23%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 40s linear infinite;
}
.seal text {
  font-family: var(--sans);
  font-size: 15.5px;
  letter-spacing: .14em;
  fill: var(--burgundy);
}
.seal-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 3rem);
  color: var(--burgundy);
  line-height: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cover-caption {
  left: 0;
  bottom: -2.25rem;
  font-size: .8rem;
  color: var(--taupe);
}

/* Ticker of industries */
.ticker {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-block: clamp(1rem, 2vw, 1.5rem);
  background: var(--espresso);
  color: var(--ivory);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: max-content;
  animation: ticker 45s linear infinite;
}
.ticker span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1.1;
  white-space: nowrap;
}
.ticker i { font-style: normal; color: var(--blush); font-size: clamp(.9rem, 1.4vw, 1.2rem); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Hero load sequence */
.js .hero-title .line > span { animation: rise 1.2s var(--ease) both; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .1s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .2s; }
.js .hero-kicker,
.js .hero-copy { animation: fade 1s var(--ease-out) .5s both; }
.js .cover-arch { animation: arch-in 1.4s var(--ease) both; }
.js .cover-disc { animation: pop 1s var(--ease-out) .5s both; }
.js .cover-desktop { animation: lift 1.2s var(--ease-out) .35s both; }
.js .cover-phone { animation: lift 1.2s var(--ease-out) .6s both; }
.js .seal,
.js .cover-caption { animation: fade 1s ease .9s both; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Scroll reveals
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 1s var(--ease-out), translate 1s var(--ease-out);
}
.js [data-reveal="mask"] {
  opacity: 1;
  translate: none;
  clip-path: inset(14% 6% 14% 6% round 6px);
  transition: clip-path 1.4s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; translate: none; }
.js [data-reveal="mask"].is-visible { clip-path: inset(0 0 0 0 round 6px); }

/* ==========================================================================
   About: the editor's letter
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.statement {
  max-width: 20ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--burgundy);
}
.prose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  color: #3b302b;
}
.prose p { max-width: 32rem; }
.dropcap::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  font-family: var(--serif);
  font-size: 4.6em;
  line-height: .78;
  color: var(--burgundy);
}

/* Studio desk collage */
.desk {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 420px;
}
.desk::before {
  content: "";
  position: absolute;
  inset: 6% 0 0 12%;
  border-radius: 999px 999px 0 0;
  background: var(--grain), var(--blush-soft);
}
.desk-card {
  position: absolute;
  padding: clamp(1rem, 1.6vw, 1.4rem);
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(35, 25, 22, .35);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1s var(--ease-out), translate 1s var(--ease-out);
}
.desk-card:hover { box-shadow: 0 40px 60px -30px rgba(35, 25, 22, .45); }
.desk-label {
  display: block;
  margin-bottom: .9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--taupe);
}
.desk-palette { top: 2%; left: 0; width: 56%; transform: rotate(-4deg); }
.desk-palette:hover { transform: rotate(-2deg) translateY(-6px); }
.desk-palette ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.desk-palette li {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .7rem;
  color: var(--taupe);
}
.desk-palette li::before {
  content: "";
  aspect-ratio: 1 / 1.5;
  background: var(--c);
  border: 1px solid rgba(35, 25, 22, .12);
}
.desk-type {
  top: 26%;
  right: 0;
  width: 50%;
  transform: rotate(3deg);
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}
.desk-type:hover { transform: rotate(1deg) translateY(-6px); }
.desk-type .desk-label { color: var(--blush); }
.desk-aa {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: .9;
}
.desk-fonts { display: block; margin-top: .75rem; font-size: .8rem; line-height: 1.5; color: #cdbfb5; }
.desk-wire {
  bottom: 0;
  left: 4%;
  width: 52%;
  transform: rotate(-1.5deg);
}
.desk-wire:hover { transform: rotate(0deg) translateY(-6px); }
.wire {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
}
.wire i { display: block; border: 1px dashed #b9a597; height: .7rem; }
.wire .w-nav { grid-column: 1 / -1; height: .5rem; border-style: solid; }
.wire .w-head { grid-column: 1 / 3; height: 1rem; background: var(--blush-soft); border-style: solid; border-color: var(--blush); }
.wire .w-head.short { grid-column: 1 / 2; }
.wire .w-img { grid-column: 3; grid-row: 2 / 4; height: auto; background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(92, 26, 39, .12) 6px 7px); }
.wire .w-col { height: 2.2rem; }
.desk-caption {
  position: absolute;
  right: 0;
  bottom: -2.25rem;
  font-size: .8rem;
  color: var(--taupe);
}

/* ==========================================================================
   Services (espresso)
   ========================================================================== */
.services {
  position: relative;
  padding-block: var(--section-space);
  background: var(--grain), var(--espresso);
  color: var(--ivory);
}
.services .section-intro { color: #c9b9ae; }
.services-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.services .section-title { font-size: clamp(3.4rem, 9vw, 9rem); line-height: .9; }

.service-list {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid rgba(247, 241, 232, .18);
}
.service {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) minmax(0, 2.5fr);
  gap: 1rem clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid rgba(247, 241, 232, .18);
}
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.02em;
  transition: transform .6s var(--ease), color .4s ease;
}
.service:hover h3 { transform: translateX(1.25rem); color: var(--blush); font-style: italic; }
.service p { max-width: 32rem; color: #e2d6cc; }
.service .service-fit {
  justify-self: end;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blush);
}

/* Floating preview */
.service-preview {
  container-type: inline-size;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: clamp(240px, 22vw, 320px);
  aspect-ratio: 4 / 3.1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.85) rotate(-4deg);
  transition: opacity .35s ease, transform .5s var(--ease);
}
.service-preview.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-3deg);
}
.sp {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ivory);
  color: var(--espresso);
  box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .3s ease;
}
.service-preview[data-show="new"] .sp-new,
.service-preview[data-show="redesign"] .sp-redesign,
.service-preview[data-show="landing"] .sp-landing { opacity: 1; }

.sp-bar { display: flex; gap: 1.6cqi; padding: 3cqi 4cqi; background: #fff; border-bottom: 1px solid var(--line); }
.sp-bar i { width: 2.2cqi; height: 2.2cqi; border-radius: 50%; background: var(--blush); }
.sp-body { display: flex; flex-direction: column; gap: 3cqi; padding: 5cqi 6cqi; }
.sp-logo { font-family: var(--serif); font-style: italic; font-size: 5cqi; }
.sp-title { font-family: var(--serif); font-size: 8cqi; line-height: 1; letter-spacing: -.01em; }
.sp-img { display: block; height: 22cqi; border-radius: 2cqi; background: linear-gradient(160deg, var(--blush-soft), var(--blush)); }
.sp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqi; }
.sp-row i { height: 8cqi; background: var(--parchment); }
.sp-btn {
  align-self: flex-start;
  padding: 2cqi 5cqi;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 4cqi;
}
.sp-btn.wide { align-self: stretch; text-align: center; }
.sp-redesign { display: grid; grid-template-columns: 1fr 1fr; }
.sp-half { display: flex; flex-direction: column; gap: 3cqi; padding: 6cqi 5cqi; }
.sp-tag { font-family: var(--serif); font-style: italic; font-size: 4.5cqi; color: var(--taupe); }
.sp-before { background: #e4e1dc; }
.sp-before i { height: 5cqi; width: 70%; background: #b9b4ad; }
.sp-before i.wide { width: 100%; height: 9cqi; background: #a8a39c; }
.sp-after { background: var(--ivory); }
.sp-after .sp-title { font-size: 6.5cqi; }
.sp-after .sp-img { height: 18cqi; }
.sp-landing { display: flex; flex-direction: column; gap: 4cqi; padding: 7cqi; background: var(--blush-soft); }
.sp-landing .sp-img.tall { flex: 1; height: auto; background: linear-gradient(170deg, var(--ivory), var(--blush)); border-radius: 999px 999px 2cqi 2cqi; }

/* ==========================================================================
   Made to fit (blush)
   ========================================================================== */
.fit { background: var(--grain), var(--blush-soft); }
.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.fit-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--burgundy);
}
.fit-lede { margin-top: 1.5rem; max-width: 30rem; font-size: 1.125rem; }
.included-title {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
}
.included-list { display: grid; gap: .7rem; }
.included-list li { position: relative; padding-left: 1.6rem; }
.included-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: .1em;
  font-size: .75rem;
  color: var(--burgundy);
}

.fitting { width: 100%; }
.fitting-stage {
  position: relative;
  height: clamp(360px, 36vw, 480px);
  padding-top: 2.25rem;
}
.fit-frame {
  position: relative;
  width: 100%;
  height: 100%;
  margin-left: auto;
  transition: width 1.4s var(--ease);
}
.fit-frame.no-transition { transition: none; }

.measure {
  position: absolute;
  left: 0;
  right: 0;
  top: -2.25rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.measure-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--burgundy); }
.measure-line::before,
.measure-line::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px;
  height: 13px;
  background: var(--burgundy);
}
.measure-line::before { left: 0; }
.measure-line::after { right: 0; }
.measure-value {
  position: relative;
  padding: 0 .6rem;
  background: var(--blush-soft);
  color: var(--burgundy);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mini-browser {
  container-type: inline-size;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 40px 80px -40px rgba(92, 26, 39, .45);
}
.mini-bar { display: flex; gap: 5px; flex: none; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--blush); }
.mini-site {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--ivory);
  min-height: 0;
}
.ms-nav { display: flex; align-items: center; justify-content: space-between; }
.ms-logo { font-family: var(--serif); font-style: italic; font-size: 1rem; white-space: nowrap; }
.ms-links { display: flex; gap: .6rem; }
.ms-links i { width: 2.2rem; height: 4px; border-radius: 2px; background: var(--taupe); opacity: .4; }
.ms-burger { display: none; width: 16px; height: 7px; border-top: 1.5px solid var(--espresso); border-bottom: 1.5px solid var(--espresso); }
.ms-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
  min-height: 0;
  overflow: hidden;
}
.ms-text { display: flex; flex-direction: column; gap: .55rem; }
.ms-head {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 6.5cqi, 2.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: .35rem;
}
.ms-line { height: 5px; width: 90%; border-radius: 3px; background: var(--taupe); opacity: .25; }
.ms-line.short { width: 60%; }
.ms-btn {
  align-self: flex-start;
  margin-top: .5rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: .7rem;
  white-space: nowrap;
}
.ms-image {
  height: 100%;
  min-height: 6rem;
  border-radius: 999px 999px 8px 8px;
  background:
    radial-gradient(ellipse at 50% 120%, var(--burgundy) 0 30%, transparent 31%),
    linear-gradient(175deg, var(--blush-soft), var(--blush));
}
.ms-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; flex: none; }
.ms-tiles i { height: 2.75rem; border-radius: 6px; background: var(--parchment); }

@container (max-width: 420px) {
  .ms-links i { width: 1.4rem; }
  .ms-hero { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: .9rem; }
  .ms-image { order: -1; min-height: 0; border-radius: 8px; }
  .ms-tiles { grid-template-columns: repeat(2, 1fr); }
  .ms-tiles i:last-child { display: none; }
}
@container (max-width: 240px) {
  .mini-site { padding: .8rem; gap: .75rem; }
  .ms-logo { font-size: .8rem; }
  .ms-links { display: none; }
  .ms-burger { display: block; }
  .ms-head { font-size: 1.05rem; }
  .ms-btn { align-self: stretch; text-align: center; }
  .ms-tiles { grid-template-columns: 1fr; }
  .ms-tiles i { height: 1.6rem; }
  .ms-tiles i:nth-child(2) { display: none; }
}

.fitting-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-top: 1.25rem;
}
.fitting-caption { font-family: var(--serif); font-style: italic; color: var(--burgundy); }
.fit-buttons {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(92, 26, 39, .3);
  border-radius: 999px;
}
.fit-buttons button {
  padding: .45rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: .875rem;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.fit-buttons button:hover { background: rgba(255, 255, 255, .5); }
.fit-buttons button[aria-pressed="true"] { background: var(--burgundy); color: var(--ivory); }

/* ==========================================================================
   Portfolio: the feature
   ========================================================================== */
.work { padding-block: var(--section-space); overflow: hidden; }

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 3rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--espresso);
}
.work-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--burgundy);
}
.work-intro { color: var(--taupe); max-width: 30rem; }

.feature-title-wrap { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }
.feature-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.5rem, 17vw, 17.5rem);
  line-height: .82;
  letter-spacing: -.045em;
}
.feature-title span { display: block; }
.feature-title-2 {
  padding-left: 1.55em;
  font-style: italic;
  color: var(--burgundy);
}
.stamp {
  position: absolute;
  left: clamp(.5rem, 5vw, 5rem);
  bottom: 2%;
  width: clamp(110px, 13vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--burgundy);
  transform: rotate(-12deg);
}
.stamp svg { width: 100%; height: 100%; animation: spin 50s linear infinite; }
.stamp text {
  font-family: var(--sans);
  font-size: 14.5px;
  letter-spacing: .12em;
  fill: var(--ivory);
}
.stamp::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blush);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.feature-note {
  max-width: 38rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0 auto;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--burgundy);
  background: var(--blush-soft);
}
.feature-note strong { font-weight: 600; color: var(--burgundy); }

.feature-stage {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  aspect-ratio: 16 / 9.4;
  border-radius: 6px;
  background:
    var(--grain),
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, .5), transparent 55%),
    linear-gradient(160deg, var(--blush-soft), var(--blush));
  overflow: hidden;
}
.feature-stage > div { position: absolute; }
.fs-page { top: 9%; right: 5%; width: 38%; transform: rotate(4deg); opacity: .96; }
.fs-desktop { top: 13%; left: 6%; width: 62%; }
.fs-phone { left: 60%; bottom: -10%; width: 17%; transform: rotate(-4deg); }

.le-page { padding: 5cqi 6cqi 7cqi; color: var(--le-espresso); }
.le-page-title {
  display: block;
  margin-bottom: 4cqi;
  font-family: var(--serif);
  font-style: italic;
  font-size: 9cqi;
  line-height: 1;
}
.le-svc {
  display: flex;
  flex-direction: column;
  gap: .8cqi;
  padding-block: 3.2cqi;
  border-top: 1px solid var(--le-blush);
}
.le-svc b { font-family: var(--serif); font-weight: 500; font-size: 4.2cqi; }
.le-svc span { font-size: 3cqi; opacity: .7; }

.feature-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.case-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.case-details div { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.case-details div:first-child { grid-column: 1 / -1; }
.case-details dt {
  margin-bottom: .5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--burgundy);
}
.case-details dd { color: #3b302b; }
.case-details div:first-child dd { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.35; color: var(--espresso); }

.brand-kit {
  align-self: start;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--le-cream);
  border: 1px solid var(--le-blush);
}
.brand-kit h4 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--le-espresso);
}
.kit-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1.75rem; }
.kit-swatches li { display: flex; flex-direction: column; gap: .4rem; font-size: .75rem; color: var(--taupe); }
.kit-swatches li::before {
  content: "";
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(59, 42, 35, .12);
  transition: transform .5s var(--ease);
}
.kit-swatches li:hover::before { transform: scale(1.08); }
.kit-type { display: flex; flex-direction: column; gap: .4rem; }
.kit-serif { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--le-espresso); }
.kit-sans { font-size: .85rem; color: var(--taupe); }

.pages-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: clamp(4rem, 8vw, 6.5rem);
  margin-bottom: 1.5rem;
}
.pages-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.01em; }
.pages-hint { display: none; font-size: .85rem; color: var(--taupe); }

.pages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.page-card:nth-child(even) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.page-shot {
  container-type: inline-size;
  aspect-ratio: 3 / 4.4;
  overflow: hidden;
  border-radius: 6px;
  background: var(--le-cream);
  border: 1px solid var(--le-blush);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.page-card:hover .page-shot {
  transform: translateY(-8px);
  box-shadow: 0 40px 60px -35px rgba(59, 42, 35, .5);
}
.page-name {
  margin-top: .9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}

.pg { height: 100%; display: flex; flex-direction: column; gap: 5cqi; padding: 8cqi 8cqi; color: var(--le-espresso); }
.pg-logo { font-family: var(--serif); font-style: italic; font-size: 6cqi; text-align: center; padding-bottom: 4cqi; border-bottom: 1px solid var(--le-blush); }
.pg-head { font-family: var(--serif); font-style: italic; font-size: 11cqi; line-height: 1; }
.pg-btn { margin-top: auto; padding: 4cqi; border-radius: 999px; background: var(--le-espresso); color: var(--le-cream); text-align: center; font-size: 5cqi; }
.pg-home .le-portrait { aspect-ratio: 1 / .78; }
.pg-home .le-portrait svg { width: 58%; }
.pg-item { display: flex; flex-direction: column; gap: 2cqi; padding-top: 4cqi; border-top: 1px solid var(--le-blush); }
.pg-item b { font-family: var(--serif); font-weight: 500; font-size: 6cqi; }
.pg-item i { height: 2cqi; width: 70%; border-radius: 2cqi; background: var(--le-espresso); opacity: .14; }
.pg-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2cqi; }
.pg-cal i { aspect-ratio: 1; border-radius: 50%; background: var(--le-blush); opacity: .7; }
.pg-cal i.on { background: var(--le-espresso); opacity: 1; }
.pg-times { display: flex; gap: 2.5cqi; }
.pg-times i { flex: 1; padding: 2.5cqi 0; border: 1px solid var(--le-rose); border-radius: 999px; text-align: center; font-style: normal; font-size: 4.2cqi; }
.pg-times i.on { background: var(--le-rose); color: #fff; border-color: var(--le-rose); }
.pg-tip { display: flex; align-items: center; gap: 4cqi; }
.pg-tip b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 9cqi; color: var(--le-rose); width: 8cqi; }
.pg-tip i { flex: 1; height: 2cqi; border-radius: 2cqi; background: var(--le-espresso); opacity: .14; }
.pg-arches { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4cqi; }
.pg-arches i { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; background: linear-gradient(170deg, var(--le-blush), var(--le-rose)); }

/* ==========================================================================
   Process (parchment, pinned heading)
   ========================================================================== */
.process { background: var(--grain), var(--parchment); }
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.process-head { position: sticky; top: 8rem; }
.process-head .section-intro { margin-top: 1.5rem; }
.process-head .text-link { margin-top: 2rem; }

.step {
  display: grid;
  grid-template-columns: clamp(4.5rem, 8vw, 7.5rem) minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(35, 25, 22, .25);
}
.step:last-child { border-bottom: 1px solid rgba(35, 25, 22, .25); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.5rem, 6.5vw, 6rem);
  line-height: .85;
  color: var(--burgundy);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: .6rem;
}
.step p { color: #3b302b; max-width: 32rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.faq .section-title { font-style: italic; color: var(--burgundy); }
.faq-aside { margin-top: 1.5rem; max-width: 18rem; color: var(--taupe); }
.faq-aside a { color: var(--espresso); text-underline-offset: 4px; }
.faq-aside a:hover { color: var(--burgundy); }

.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 1.6rem 3.5rem 1.6rem 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: color .3s ease, padding-left .5s var(--ease);
}
.faq-list summary:hover { color: var(--burgundy); padding-left: .5rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: .25rem;
  top: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform .45s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary { color: var(--burgundy); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list .answer { padding: 0 3.5rem 1.9rem 0; }
.faq-list .answer p { max-width: 40rem; color: #3b302b; }
.faq-list details[open] .answer { animation: open .5s var(--ease-out); }
@keyframes open { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Contact (burgundy)
   ========================================================================== */
.contact {
  padding-block: var(--section-space);
  background: var(--grain), var(--burgundy);
  color: var(--ivory);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(3rem, 7vw, 7rem);
}
.contact-title {
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6.75rem);
  line-height: .92;
  letter-spacing: -.035em;
}
.contact-title span { display: block; }
.contact-title-2 { font-style: italic; color: var(--blush); padding-left: .6em; }
.contact-intro > p { max-width: 28rem; color: #ecd9d2; }
.contact-direct { margin-top: 1.5rem; }
.contact-direct a { color: var(--ivory); text-underline-offset: 4px; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(247, 241, 232, .22);
  background: rgba(35, 25, 22, .18);
}
.field { display: flex; flex-direction: column; gap: .5rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9rem; color: #ecd9d2; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 241, 232, .4);
  border-radius: 0;
  color: var(--ivory);
  font-size: 1.05rem;
  transition: border-color .3s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ivory) 50%), linear-gradient(-45deg, transparent 50%, var(--ivory) 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field select option { color: var(--espresso); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--blush); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--blush); }
.field.has-error input,
.field.has-error textarea { border-bottom-color: #F5B7A8; }
.field-error { color: #F5B7A8; font-size: .85rem; }
.contact :focus-visible { outline-color: var(--blush); }

.form-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-status { font-size: .95rem; color: #ecd9d2; min-height: 1.5em; }
.form-status.is-error {
  padding: .85rem 1rem;
  border-left: 2px solid #F5B7A8;
  background: rgba(35, 25, 22, .25);
  color: var(--ivory);
}
.btn[disabled] { opacity: .7; cursor: progress; }

/* Spam trap for Netlify (hidden from people) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success message shown after a sent enquiry */
.contact-form[hidden],
.form-success[hidden] { display: none; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(247, 241, 232, .22);
  background: rgba(35, 25, 22, .18);
  animation: lift .9s var(--ease-out) both;
}
.form-success:focus { outline: none; }
.form-success-mark { font-size: 1.4rem; color: var(--blush); }
.form-success-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--blush);
}
.form-success p { max-width: 26rem; color: #ecd9d2; }
.form-success .btn { margin-top: .5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  overflow: hidden;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: var(--grain), var(--espresso);
  color: #cbbdb3;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.footer-line { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--ivory); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-nav a { text-decoration: none; transition: color .3s ease; }
.footer-nav a:hover { color: var(--blush); }
.footer-mark {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--serif);
  font-size: clamp(5rem, 22.5vw, 21rem);
  line-height: .78;
  letter-spacing: -.05em;
  color: var(--ivory);
  white-space: nowrap;
  text-align: center;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  padding-block: 1.75rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(247, 241, 232, .15);
  font-size: .85rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-rows: none; }
  .hero-kicker { grid-column: 1 / -1; }
  .hero-title { grid-column: 1 / -1; grid-row: auto; font-size: clamp(3.6rem, 14.5vw, 9.5rem); }
  .hero-copy { grid-column: 1 / -1; grid-row: auto; }
  .cover-art {
    grid-column: 1 / -1;
    grid-row: auto;
    width: min(100%, 640px);
    margin: clamp(3rem, 8vw, 4.5rem) auto 0;
  }

  .about-grid { grid-template-columns: 1fr; }
  .desk { width: min(100%, 520px); margin-inline: auto; margin-bottom: 2rem; }

  .fit-grid { grid-template-columns: 1fr; }
  .fitting-stage { height: clamp(360px, 52vw, 460px); }

  .feature-body { grid-template-columns: 1fr; }
  .service { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .service .service-fit { grid-column: 2; justify-self: start; text-align: left; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 5rem 0 auto 0;
    height: calc(100dvh - 5rem);
    padding: 2rem var(--gutter);
    background: var(--ivory);
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-.5rem);
    transition: opacity .3s ease, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .3s ease, transform .3s var(--ease), visibility 0s;
  }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav li { width: 100%; border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 2rem; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav li:nth-child(odd) a:not(.nav-cta) { font-style: italic; }
  .site-nav li:last-child { border-bottom: 0; padding-top: 1.75rem; }
  .site-nav .nav-cta { display: inline-flex; font-family: var(--sans); font-size: 1rem; padding: .85rem 1.75rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--ivory); }

  .services-head { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: .75rem; }
  .service .service-fit { grid-column: auto; }
  .service:hover h3 { transform: none; }
  .service-preview { display: none; }

  .process-grid { grid-template-columns: 1fr; }
  .process-head { position: static; }

  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .feature-stage { aspect-ratio: 4 / 4.2; }
  .fs-page { top: 5%; right: -8%; width: 54%; }
  .fs-desktop { top: 16%; left: 4%; width: 84%; }
  .fs-phone { left: auto; right: 6%; bottom: -4%; width: 30%; }

  .pages {
    display: flex;
    gap: 1rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .page-card { flex: 0 0 62%; scroll-snap-align: start; }
  .page-card:nth-child(even) { margin-top: 0; }
  .pages-hint { display: block; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-kicker { font-size: .875rem; }
  .hero-kicker::before { width: 1.5rem; }
  .hero-title .line-italic { padding-left: .3em; }
  .hero-title .line-indent { padding-left: .9em; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cover-art { aspect-ratio: 5 / 6.6; margin-bottom: 2rem; }
  .cover-caption { bottom: -2.5rem; left: 0; }

  .prose { grid-template-columns: 1fr; }
  .desk { min-height: 0; aspect-ratio: 4 / 6.4; }
  .desk-palette { width: 70%; }
  .desk-type { width: 56%; top: 34%; }
  .desk-wire { width: 64%; left: 2%; }

  .fitting-stage { height: 420px; }
  .fitting-controls { justify-content: space-between; }

  .feature-title-2 { padding-left: .9em; }
  .stamp { left: auto; right: 0; bottom: auto; top: -10%; }
  .case-details { grid-template-columns: 1fr; }
  .page-card { flex-basis: 74%; }

  .step { grid-template-columns: 3.75rem minmax(0, 1fr); gap: 1rem; }

  .contact-form { grid-template-columns: 1fr; padding: 1.25rem; }
  .form-footer .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; clip-path: none; }
}

/* Desk cards keep their hover motion alongside the reveal */
.js .desk-card[data-reveal] {
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1s var(--ease-out), translate 1s var(--ease-out);
}
.js .desk-card[data-reveal]:nth-of-type(2) { transition-delay: 0s, 0s, .15s, .15s; }
.js .desk-card[data-reveal]:nth-of-type(3) { transition-delay: 0s, 0s, .3s, .3s; }
