/* ============================================
   SkyLight Window Covering — Custom Styles
   Editorial luxury • Warm minimal • Bespoke motion
   ============================================ */

:root {
  --cream:    #F8F5F0;
  --sand:     #EFE9DF;
  --linen:    #E6DFD2;
  --taupe:    #B8A993;
  --clay:     #8C7E69;
  --ink:      #1A1815;
  --graphite: #3A3530;
  --smoke:    #6B6358;
  --brass:    #A8884A;

  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-expo:  cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 76px;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-feature-settings: 'ss01', 'cv11';
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--cream); }

/* ============ Typography ============ */
.font-display {
  font-family: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  font-feature-settings: 'ss01', 'ss02';
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 0;
  letter-spacing: -0.02em;
}

.font-display-italic {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.kicker {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-line::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--clay);
  opacity: 0.6;
}

/* ============ Layout & Containers ============ */
.container-luxe {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container-luxe { padding: 0 48px; } }
@media (min-width: 1280px){ .container-luxe { padding: 0 72px; } }

.section { padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 140px 0; } }
@media (min-width: 1280px){ .section { padding: 180px 0; } }

/* ============ Navigation ============ */
.nav-shell {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(248, 245, 240, 0);
  backdrop-filter: blur(0px);
  transition: background 600ms var(--ease-out-quart),
              backdrop-filter 600ms var(--ease-out-quart),
              border-color 600ms var(--ease-out-quart);
  border-bottom: 1px solid transparent;
}
.nav-shell.scrolled {
  background: rgba(248, 245, 240, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(184, 169, 147, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--graphite);
  padding: 8px 0;
  transition: color 300ms var(--ease-out-quart);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 500ms var(--ease-out-expo);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left center; }

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 400ms var(--ease-out-quart),
              background 400ms var(--ease-out-quart),
              color 400ms var(--ease-out-quart),
              border-color 400ms var(--ease-out-quart),
              box-shadow 400ms var(--ease-out-quart);
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--graphite);
  transform: translateY(101%);
  transition: transform 500ms var(--ease-out-expo);
  z-index: -1;
}
.btn-primary:hover { box-shadow: 0 20px 40px -20px rgba(26,24,21,0.45); }
.btn-primary:hover::before { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26,24,21,0.25);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(26,24,21,0.04);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--ink);
  transition: gap 300ms var(--ease-out-quart);
  cursor: pointer;
}
.btn-link:hover { gap: 16px; }
.btn-link .arrow { transition: transform 400ms var(--ease-out-quart); }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ============ Marquee Trust Bar ============ */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  border-top: 1px solid rgba(184, 169, 147, 0.35);
  border-bottom: 1px solid rgba(184, 169, 147, 0.35);
  background: var(--sand);
}
.marquee__track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 22px 40px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 500;
}
.marquee__item .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--clay);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease-out-quart) forwards;
  /* Subtle tone-down so cream typography always reads — warm, not muddy */
  filter: brightness(0.78) saturate(0.95) contrast(1.02);
}
@keyframes heroZoom {
  from { transform: scale(1.18); }
  to   { transform: scale(1.04); }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    /* Strong bottom scrim — anchors title and CTAs over any photo */
    linear-gradient(180deg,
      rgba(26,24,21,0.35) 0%,
      rgba(26,24,21,0.05) 18%,
      rgba(26,24,21,0.20) 38%,
      rgba(26,24,21,0.70) 55%,
      rgba(26,24,21,0.88) 80%,
      rgba(26,24,21,0.92) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 80px;
  padding-top: calc(var(--nav-h) + 32px);
}
@media (min-width: 768px) { .hero__inner { padding-bottom: 110px; } }

.hero__title {
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--cream);
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(248, 245, 240, 0.85);
}
.hero__sub {
  color: rgba(248, 245, 240, 0.85);
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(248, 245, 240, 0.7);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero__meta::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(248, 245, 240, 0.5);
}

.hero__scroll {
  position: absolute;
  right: 24px;
  bottom: 32px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 14px;
  color: rgba(248,245,240,0.7);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, rgba(248,245,240,0.7), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -30px; left: 0; right: 0;
  height: 30px;
  background: var(--cream);
  animation: scrollDot 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); }
  100% { transform: translateY(90px); }
}
@media (min-width: 1024px) { .hero__scroll { display: flex; right: 72px; } }

/* ============ Reveal Animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1100ms var(--ease-out-quart),
              transform 1100ms var(--ease-out-quart);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-fade {
  opacity: 0;
  transition: opacity 1200ms var(--ease-out-quart);
}
.reveal-fade.in { opacity: 1; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out-quart),
              transform 900ms var(--ease-out-quart);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 450ms; }

/* Mask-reveal for hero title — line by line.
   Add small padding so descenders/italic flourishes aren't clipped. */
.mask-reveal {
  display: block;
  overflow: hidden;
  padding-top: 0.08em;
  padding-bottom: 0.18em;
  margin-top: -0.08em;
  margin-bottom: -0.18em;
}
.mask-reveal > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1400ms var(--ease-out-expo);
  will-change: transform;
}
.mask-reveal.in > span { transform: translateY(0); }
.mask-reveal.delay-1 > span { transition-delay: 120ms; }
.mask-reveal.delay-2 > span { transition-delay: 240ms; }
.mask-reveal.delay-3 > span { transition-delay: 360ms; }

/* ============ Image cards (Featured Products & Process) ============ */
.product-card {
  position: relative;
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--linen);
  border-radius: 2px;
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1400ms var(--ease-out-expo);
  will-change: transform;
}
.product-card:hover .product-card__img { transform: scale(1.05); }

.product-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, transparent 60%, rgba(26,24,21,0.35) 100%);
  opacity: 0;
  transition: opacity 600ms var(--ease-out-quart);
}
.product-card:hover .product-card__overlay { opacity: 1; }

.product-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 1px;
  transform: translateY(8px);
  transition: transform 600ms var(--ease-out-quart);
}
.product-card:hover .product-card__chip { transform: translateY(0); }

.product-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 18px;
  gap: 16px;
}
.product-card__name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
}
.product-card__no {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}
.product-card__desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--smoke);
  line-height: 1.6;
}

/* ============ Feature cards ============ */
.feature {
  padding: 36px 0 0;
  border-top: 1px solid rgba(184, 169, 147, 0.35);
}
.feature__no {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}
.feature__title {
  margin-top: 22px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
}
.feature__body {
  margin-top: 16px;
  color: var(--smoke);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ============ Process ============ */
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid rgba(184,169,147,0.35);
  transition: padding-left 600ms var(--ease-out-quart);
}
@media (min-width: 768px) {
  .step { grid-template-columns: 100px 1fr 1.2fr; gap: 48px; align-items: start; }
  .step:hover { padding-left: 12px; }
}
.step__no {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--clay);
  font-feature-settings: "tnum";
}
.step__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 400;
}
.step__body {
  color: var(--smoke);
  font-size: 15px;
  line-height: 1.75;
  max-width: 52ch;
}

/* ============ Testimonials ============ */
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 24px 24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 86%;
  scroll-snap-align: center;
  background: var(--sand);
  padding: 40px 32px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}
@media (min-width: 768px) { .testimonial-card { flex: 0 0 52%; padding: 56px 48px; min-height: 420px; } }
@media (min-width: 1280px){ .testimonial-card { flex: 0 0 36%; } }

.testimonial-card__quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-weight: 400;
}
@media (min-width: 768px) { .testimonial-card__quote { font-size: 24px; } }

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--linen);
  display: grid; place-items: center;
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.05em;
}

/* ============ Contact ============ */
.input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(26, 24, 21, 0.2);
  padding: 14px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 400ms var(--ease-out-quart);
}
.input::placeholder { color: var(--smoke); opacity: 0.55; }
.input:focus {
  outline: none;
  border-color: var(--ink);
}

.field-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

textarea.input {
  resize: vertical;
  min-height: 100px;
  font-family: 'Manrope', sans-serif;
  line-height: 1.65;
}

/* "Optional" inline tag on labels */
.optional-tag {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--clay);
  font-weight: 400;
  margin-left: 4px;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Reply-method toggle (radio pills) */
.reply-toggle {
  display: inline-flex;
  gap: 8px;
  margin-top: 10px;
  padding: 5px;
  background: rgba(184, 169, 147, 0.14);
  border-radius: 999px;
}
.reply-pill {
  position: relative;
  cursor: pointer;
}
.reply-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.reply-pill span {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--smoke);
  transition: background 350ms var(--ease-out-quart),
              color 350ms var(--ease-out-quart),
              box-shadow 350ms var(--ease-out-quart);
}
.reply-pill input:checked + span {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 8px 20px -10px rgba(26, 24, 21, 0.5);
}
.reply-pill input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.reply-pill:hover input:not(:checked) + span {
  color: var(--ink);
}

/* Conditional contact field — smooth reveal */
.contact-field-hidden {
  display: none;
}
.contact-field-revealing {
  display: block;
  animation: revealField 500ms var(--ease-out-quart) both;
}
@keyframes revealField {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ Hero tap-to-call link ============ */
.hero-call {
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(248, 245, 240, 0.78);
  border-bottom: 1px solid rgba(248, 245, 240, 0.25);
  transition: color 300ms var(--ease-out-quart),
              border-color 300ms var(--ease-out-quart),
              gap 350ms var(--ease-out-quart);
}
.hero-call:hover {
  color: var(--cream);
  border-color: var(--cream);
  gap: 14px;
}
.hero-call svg {
  flex-shrink: 0;
  transition: transform 400ms var(--ease-out-quart);
}
.hero-call:hover svg { transform: rotate(-8deg); }

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: rgba(248, 245, 240, 0.78);
  padding: 100px 0 40px;
}
.footer h4 {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.55);
  margin-bottom: 24px;
  font-weight: 500;
}
.footer a {
  display: block;
  color: rgba(248, 245, 240, 0.78);
  font-size: 14px;
  padding: 6px 0;
  transition: color 300ms var(--ease-out-quart), padding-left 300ms var(--ease-out-quart);
}
.footer a:hover { color: var(--cream); padding-left: 8px; }

.footer__logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 38px;
  letter-spacing: -0.01em;
  color: var(--cream);
  font-weight: 300;
  line-height: 1;
}

/* ============ Mobile Menu ============ */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px; height: 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 400ms var(--ease-out-quart),
              opacity 300ms var(--ease-out-quart);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 49;
  padding: calc(var(--nav-h) + 40px) 24px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--ease-out-quart);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid rgba(184, 169, 147, 0.3);
  transition: padding-left 400ms var(--ease-out-quart), color 300ms var(--ease-out-quart);
  font-weight: 400;
}
.mobile-menu a:hover { padding-left: 12px; color: var(--graphite); }

/* Primary CTA inside the mobile menu — restore cream text, no nav-link styling */
.mobile-menu a.btn-primary {
  font-family: 'Manrope', sans-serif;
  color: var(--cream);
  border-bottom: 0;
  padding: 16px 28px;
}
.mobile-menu a.btn-primary:hover {
  padding-left: 28px;
  color: var(--cream);
}

/* ============ Misc Editorial Touches ============ */
.rule {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,169,147,0.5), transparent);
  border: 0;
}

.split-headline {
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 300;
}
.split-headline em { font-style: italic; color: var(--clay); }

.body-large {
  font-size: 17px;
  line-height: 1.75;
  color: var(--graphite);
  letter-spacing: 0.005em;
}
@media (min-width: 768px) { .body-large { font-size: 18px; } }

.media-block {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--linen);
}
.media-block img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1600ms var(--ease-out-expo);
  will-change: transform;
}
.media-block:hover img { transform: scale(1.04); }

/* Caption */
.caption {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 10px;
}
.caption::before {
  content: "";
  display: block;
  width: 18px; height: 1px;
  background: var(--clay);
}

/* Smooth nav offset for jump links */
section[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* ============ Accessibility & Motion ============ */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-fade { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
  .mask-reveal > span { transform: none; }
}

/* ================================================
   Mobile pass — focused tightening for phones
   ================================================ */
@media (max-width: 767px) {

  /* Section padding — eats too much screen on phones */
  .section { padding: 64px 0; }

  /* Hero — tighter inner padding, smaller title floor, stronger veil */
  .hero__inner {
    padding-bottom: 56px;
    padding-top: calc(var(--nav-h) + 20px);
  }
  .hero__title {
    font-size: clamp(36px, 9vw, 64px);
    line-height: 1.04;
    max-width: 100%;
  }
  .hero__veil {
    background:
      linear-gradient(180deg,
        rgba(26,24,21,0.25) 0%,
        rgba(26,24,21,0.05) 15%,
        rgba(26,24,21,0.30) 38%,
        rgba(26,24,21,0.75) 60%,
        rgba(26,24,21,0.92) 100%);
  }
  .hero__media img { filter: brightness(0.68) saturate(0.95) contrast(1.02); }
  .hero__sub { font-size: 14px; line-height: 1.6; }
  .hero__meta { font-size: 10px; letter-spacing: 0.28em; }

  /* CTAs — keep side by side on phone, smaller */
  .btn { padding: 14px 22px; font-size: 11.5px; letter-spacing: 0.12em; }
  .btn svg { width: 12px; height: 12px; }

  /* Editorial scale-down on split headlines & body */
  .split-headline { font-size: clamp(32px, 8vw, 48px); line-height: 1.05; }
  .body-large { font-size: 15px; line-height: 1.65; }

  /* Mask-reveal — allow tall ascenders & italic flourishes to show */
  .mask-reveal {
    padding-top: 0.12em;
    padding-bottom: 0.24em;
    margin-top: -0.12em;
    margin-bottom: -0.24em;
  }

  /* Marquee trust bar — faster, tighter */
  .marquee__track { gap: 48px; padding: 16px 24px; animation-duration: 28s; }
  .marquee__item { font-size: 10px; letter-spacing: 0.24em; }

  /* Studio stats — smaller numbers so they never overflow */
  #story .font-display.text-5xl,
  #story .font-display[class*="text-["] {
    font-size: 36px !important;
  }
  #story .kicker { font-size: 9.5px; letter-spacing: 0.24em; }

  /* Feature cards — tighter */
  .feature { padding-top: 28px; }
  .feature__no { font-size: 10px; letter-spacing: 0.28em; }
  .feature__title { font-size: 22px; margin-top: 16px; }
  .feature__body { font-size: 14px; margin-top: 12px; }

  /* Process steps */
  .step { padding: 28px 0; gap: 16px; }
  .step__no { font-size: 12px; }
  .step__title { font-size: 22px; }
  .step__body { font-size: 14px; line-height: 1.65; }

  /* Service Areas — smaller, two columns */
  #areas ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap-y: 8px; }
  #areas li { font-size: 18px !important; }

  /* Testimonials — wider cards on tiny phones */
  .testimonial-card { flex: 0 0 88%; padding: 32px 24px; min-height: 320px; }
  .testimonial-card__quote { font-size: 18px; line-height: 1.4; }

  /* Contact form — input padding tighter */
  .input { padding: 12px 0; font-size: 14.5px; }
  .field-label { font-size: 10px; letter-spacing: 0.24em; }
  .optional-tag { font-size: 9.5px; }

  /* Footer — smaller logo wordmark */
  .footer { padding: 64px 0 32px; }
  .footer__logo { font-size: 28px; }
  .footer h4 { margin-bottom: 16px; font-size: 10px; }

  /* Hide non-essential decorative captions on mobile */
  .caption.mt-4 { display: none; }   /* "Plate / Fig. / Chapter" image captions */

  /* Mobile menu — bigger tap targets */
  .mobile-menu a { font-size: 28px; padding: 12px 0; }

  /* Hero scroll indicator is already lg-only — confirmed */

  /* Tighter container side padding so big images breathe */
  .container-luxe { padding: 0 20px; }

  /* Quick-tap phone link sits on its own line, more prominent */
  .hero-call { font-size: 12.5px; letter-spacing: 0.16em; padding: 8px 0; }
}

/* Very small phones — extra protection */
@media (max-width: 380px) {
  .hero__title { font-size: clamp(30px, 8.5vw, 40px); }
  .split-headline { font-size: clamp(28px, 7.5vw, 40px); }
  .container-luxe { padding: 0 16px; }
  .section { padding: 56px 0; }
}
