/* ==========================================================================
   FurnityHome — Design System
   Ink + Cream + Brass · Cormorant Garamond (display) / Jost (sans)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink scale (warm near-black) */
  --ink: #100e0c;
  --ink-2: #191512;
  --ink-3: #241f1a;
  --ink-90: rgba(16, 14, 12, 0.9);
  --ink-70: rgba(16, 14, 12, 0.7);
  --ink-60: rgba(16, 14, 12, 0.6);
  --ink-45: rgba(16, 14, 12, 0.45);
  --ink-line: rgba(16, 14, 12, 0.14);
  --ink-line-2: rgba(16, 14, 12, 0.26);

  /* Cream scale */
  --cream: #f7f3ec;
  --cream-2: #efe8dc;
  --sand: #e4dacb;
  --cream-80: rgba(247, 243, 236, 0.8);
  --cream-65: rgba(247, 243, 236, 0.65);
  --cream-50: rgba(247, 243, 236, 0.5);
  --cream-35: rgba(247, 243, 236, 0.35);
  --cream-line: rgba(247, 243, 236, 0.16);
  --cream-line-2: rgba(247, 243, 236, 0.32);

  /* Brass accent */
  --brass: #a9855a;
  --brass-2: #c5a273;
  --brass-3: #e3cfa9;
  --brass-glow: rgba(169, 133, 90, 0.24);

  /* Utility */
  --wa: #1f8f4d;
  --wa-hover: #17753e;

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Metrics */
  --wrap: 1320px;
  --wrap-narrow: 880px;
  --gutter: clamp(20px, 5vw, 68px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-1: 0.25s;
  --dur-2: 0.45s;
  --dur-3: 0.8s;
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(44px, 8.6vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.028em;
}

.h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1;
  letter-spacing: -0.026em;
}

.h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.022em;
}

.h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.014em;
}

.h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.25;
}

.display em,
.h1 em,
.h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
}

.section--ink .display em,
.section--ink .h1 em,
.section--ink .h2 em,
.hero em {
  color: var(--brass-3);
}

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
}

.kicker--light {
  color: var(--brass-3);
}

.kicker--rule {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kicker--rule::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lead {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.78;
  color: var(--ink-70);
  max-width: 56ch;
}

.lead--light {
  color: var(--cream-65);
}

.lead--center {
  margin-inline: auto;
  text-align: center;
}

.body-text {
  color: var(--ink-70);
  line-height: 1.85;
}

.body-text + .body-text {
  margin-top: 18px;
}

.body-text--light {
  color: var(--cream-65);
}

.numeral {
  font-family: var(--display);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: calc(var(--wrap-narrow) + var(--gutter) * 2);
}

.section {
  position: relative;
  padding: clamp(78px, 11vw, 164px) 0;
}

.section--tight {
  padding: clamp(58px, 7.5vw, 108px) 0;
}

.section--cream2 {
  background: var(--cream-2);
}

.section--sand {
  background: var(--sand);
}

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

.section--ink .lead,
.section--ink .body-text {
  color: var(--cream-65);
}

.section-head {
  max-width: 720px;
}

.section-head > * + * {
  margin-top: 18px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .kicker--rule {
  justify-content: center;
}

.section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--ink-line);
  margin-bottom: clamp(40px, 5vw, 68px);
}

.section--ink .section-bar {
  border-bottom-color: var(--cream-line);
}

.section-bar > div > * + * {
  margin-top: 14px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(38px, 6vw, 96px);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split--wide-left {
  grid-template-columns: 1.08fr 0.92fr;
}

.split--wide-right {
  grid-template-columns: 0.92fr 1.08fr;
}

@media (max-width: 900px) {
  .split--wide-left,
  .split--wide-right {
    grid-template-columns: 1fr;
  }
}

.stack > * + * {
  margin-top: 22px;
}

.stack-sm > * + * {
  margin-top: 12px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--dur-1) ease, color var(--dur-1) ease,
    border-color var(--dur-1) ease, transform var(--dur-1) var(--ease);
}

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

.btn--primary {
  background: var(--ink);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--brass);
}

.btn--brass {
  background: var(--brass);
  color: var(--cream);
}

.btn--brass:hover {
  background: var(--ink);
}

.btn--outline {
  border-color: var(--ink-line-2);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn--ghost {
  border-color: var(--cream-line-2);
  color: var(--cream);
}

.btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn--wa {
  background: var(--wa);
  color: #fff;
}

.btn--wa:hover {
  background: var(--wa-hover);
}

.btn--sm {
  min-height: 44px;
  padding: 12px 22px;
  font-size: 11px;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-line-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: gap var(--dur-2) var(--ease), color var(--dur-1) ease,
    border-color var(--dur-1) ease;
}

.link-arrow::after {
  content: "→";
  font-size: 14px;
  letter-spacing: 0;
}

.link-arrow:hover {
  gap: 20px;
  color: var(--brass);
  border-bottom-color: var(--brass);
}

.link-arrow--light {
  color: var(--cream);
  border-bottom-color: var(--cream-line-2);
}

.link-arrow--light:hover {
  color: var(--brass-3);
  border-bottom-color: var(--brass-3);
}

/* --------------------------------------------------------------------------
   6. Scroll progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 100%;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brass), var(--brass-3));
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-2) ease, border-color var(--dur-2) ease,
    transform var(--dur-2) var(--ease);
}

.site-header.is-solid {
  background: rgba(16, 14, 12, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--cream-line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--cream);
}

.brand-name b {
  font-weight: 500;
  color: var(--brass-3);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-80);
  padding: 6px 0;
  transition: color var(--dur-1) ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass-2);
  transition: width var(--dur-2) var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cream);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--cream-line-2);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cream-65);
  transition: background var(--dur-1) ease, color var(--dur-1) ease;
}

.lang-btn.is-active {
  background: var(--cream);
  color: var(--ink);
}

.header-cta {
  min-height: 42px;
  padding: 11px 22px;
  font-size: 11px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cream-line-2);
  border-radius: 999px;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 1px;
  background: var(--cream);
  transition: transform var(--dur-1) ease, background var(--dur-1) ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--cream);
  transition: transform var(--dur-2) var(--ease);
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-toggle.is-open span {
  background: transparent;
}

.nav-toggle.is-open span::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.is-open span::after {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--gutter) 12vh;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--dur-2) ease, transform var(--dur-2) var(--ease),
      visibility var(--dur-2);
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    font-family: var(--display);
    font-size: clamp(28px, 7vw, 44px);
    font-weight: 300;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--cream);
    padding: 8px 0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--brass-3);
  }

  .header-cta {
    display: none;
  }
}

/* Header on light pages (no dark hero) */
body.header-light .site-header:not(.is-solid) .brand-name,
body.header-light .site-header:not(.is-solid) .nav-link,
body.header-light .site-header:not(.is-solid) .lang-btn {
  color: var(--ink-70);
}

body.header-light .site-header:not(.is-solid) .brand-name b {
  color: var(--brass);
}

body.header-light .site-header:not(.is-solid) .nav-link.is-active,
body.header-light .site-header:not(.is-solid) .nav-link:hover {
  color: var(--ink);
}

body.header-light .site-header:not(.is-solid) .brand-mark {
  filter: none;
}

body.header-light .site-header:not(.is-solid) .lang-switch,
body.header-light .site-header:not(.is-solid) .nav-toggle {
  border-color: var(--ink-line-2);
}

body.header-light .site-header:not(.is-solid) .lang-btn.is-active {
  background: var(--ink);
  color: var(--cream);
}

body.header-light .site-header:not(.is-solid) .nav-toggle span,
body.header-light .site-header:not(.is-solid) .nav-toggle span::before,
body.header-light .site-header:not(.is-solid) .nav-toggle span::after {
  background: var(--ink);
}

body.header-light .site-header:not(.is-solid) .btn--ghost {
  border-color: var(--ink-line-2);
  color: var(--ink);
}

body.header-light .site-header:not(.is-solid) .btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.brand-mark {
  transition: opacity var(--dur-2) ease;
}

/* --------------------------------------------------------------------------
   8. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(34px, 5vh, 64px);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
}

.hero-media img,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04) brightness(0.72);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s var(--ease-soft), transform 6.5s var(--ease-soft);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-dots {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(34px, 5vh, 64px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 720px) {
  .hero-dots {
    flex-direction: row;
    right: auto;
    left: 50%;
    bottom: clamp(18px, 3vh, 28px);
    transform: translateX(-50%);
  }

  .hero-foot {
    padding-bottom: 28px;
  }
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--cream-line-2);
  background: transparent;
  transition: background var(--dur-2) ease, transform var(--dur-2) var(--ease),
    border-color var(--dur-2) ease;
}

.hero-dot.is-active {
  background: var(--brass-3);
  border-color: var(--brass-3);
  transform: scale(1.25);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      180deg,
      rgba(16, 14, 12, 0.82) 0%,
      rgba(16, 14, 12, 0.34) 34%,
      rgba(16, 14, 12, 0.72) 76%,
      rgba(16, 14, 12, 0.95) 100%
    ),
    radial-gradient(120% 80% at 15% 90%, rgba(16, 14, 12, 0.7), transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  margin-top: 22px;
  max-width: 17ch;
}

.hero-lead {
  margin-top: 26px;
  color: var(--cream-65);
  max-width: 50ch;
}

.hero-actions {
  margin-top: 34px;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: clamp(44px, 7vh, 82px);
  padding-top: 26px;
  border-top: 1px solid var(--cream-line);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 4vw, 62px);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-50);
}

.hero-scroll::after {
  content: "↓";
  animation: bob 2.4s var(--ease-soft) infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Stat block */
.stat strong,
.stat strong span {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}

.stat > span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-50);
}

.stat--ink span {
  color: var(--ink-45);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--cream-line);
}

.stat-row .stat {
  background: var(--ink);
  padding: clamp(22px, 3vw, 34px) clamp(18px, 2.4vw, 30px);
}

/* --------------------------------------------------------------------------
   9. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 52svh, 520px);
  padding: calc(var(--header-h) + 56px) 0 clamp(40px, 6vh, 66px);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.6);
}

.page-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(16, 14, 12, 0.9) 0%,
    rgba(16, 14, 12, 0.52) 45%,
    rgba(16, 14, 12, 0.92) 100%
  );
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-title {
  margin-top: 18px;
  max-width: 20ch;
}

.page-hero-lead {
  margin-top: 20px;
  color: var(--cream-65);
}

.page-hero--plain {
  min-height: auto;
  background: var(--ink);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
}

.breadcrumb a:hover {
  color: var(--brass-3);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: var(--cream-35);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb [aria-current="page"] {
  color: var(--cream-80);
}

/* --------------------------------------------------------------------------
   10. Frames & media
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-soft);
}

.frame--tall {
  aspect-ratio: 4 / 5;
}

.frame--wide {
  aspect-ratio: 16 / 11;
}

.frame--square {
  aspect-ratio: 1 / 1;
}

.frame:hover img {
  transform: scale(1.05);
}

.frame-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 24px;
  background: var(--cream);
  color: var(--ink);
}

.frame-tag strong {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 0.9;
}

.frame-tag span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-60);
  max-width: 14ch;
}

.media-note {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-45);
}

/* --------------------------------------------------------------------------
   11. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--ink);
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding-right: clamp(24px, 4vw, 52px);
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(19px, 2.2vw, 32px);
  color: var(--cream-50);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "◆";
  font-size: 9px;
  color: var(--brass);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   12. Editorial index rows (services / collections)
   -------------------------------------------------------------------------- */
.index-list {
  border-top: 1px solid var(--ink-line);
}

.section--ink .index-list {
  border-top-color: var(--cream-line);
}

.index-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr minmax(0, 0.9fr) 54px;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(24px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--ink-line);
  transition: color var(--dur-2) ease;
}

.section--ink .index-row {
  border-bottom-color: var(--cream-line);
}

.index-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  z-index: -1;
  background: var(--cream-2);
  opacity: 0;
  transition: opacity var(--dur-2) ease;
}

.section--ink .index-row::before {
  background: var(--ink-2);
}

.index-row:hover::before {
  opacity: 1;
}

.index-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

.index-text {
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.7;
}

.section--ink .index-text {
  color: var(--cream-50);
}

.index-go {
  justify-self: end;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line-2);
  border-radius: 999px;
  font-size: 15px;
  transition: background var(--dur-2) ease, color var(--dur-2) ease,
    border-color var(--dur-2) ease, transform var(--dur-2) var(--ease);
}

.section--ink .index-go {
  border-color: var(--cream-line-2);
}

.index-row:hover .index-go {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--cream);
  transform: translateX(4px);
}

@media (max-width: 860px) {
  .index-row {
    grid-template-columns: 54px 1fr 40px;
    gap: 16px;
  }

  .index-text {
    display: none;
  }

  .index-go {
    width: 38px;
    height: 38px;
  }

  .index-num {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   13. Process (sticky aside + numbered cards)
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 5vw, 84px);
  align-items: start;
}

.process-aside {
  position: sticky;
  top: calc(var(--header-h) + 44px);
}

.process-list {
  display: grid;
  gap: 1px;
  background: var(--cream-line);
}

.section:not(.section--ink) .process-list {
  background: var(--ink-line);
}

.process-item {
  padding: clamp(26px, 3vw, 40px);
  background: var(--ink);
}

.section:not(.section--ink) .process-item {
  background: var(--cream);
}

.process-step {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.process-item .h3 {
  margin: 14px 0 12px;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-aside {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   14. Value cards / feature grid
   -------------------------------------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}

.section--ink .tiles {
  background: var(--cream-line);
  border-color: var(--cream-line);
}

.tile {
  padding: clamp(28px, 3.2vw, 44px);
  background: var(--cream);
  transition: background var(--dur-2) ease;
}

.section--cream2 .tile {
  background: var(--cream-2);
}

.section--sand .tile {
  background: var(--sand);
}

.section--ink .tile {
  background: var(--ink);
}

.tile:hover {
  background: var(--sand);
}

.section--ink .tile:hover {
  background: var(--ink-2);
}

.tile-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--brass);
}

.tile .h4 {
  margin: 16px 0 10px;
}

.tile p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-60);
}

.section--ink .tile p {
  color: var(--cream-50);
}

/* Material swatches */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.swatch {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  width: 82px;
}

.swatch i {
  display: block;
  height: 54px;
  border-radius: 2px;
  border: 1px solid var(--ink-line);
}

.swatch span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.section--ink .swatch span {
  color: var(--cream-35);
}

.section--ink .swatch i {
  border-color: var(--cream-line);
}

.sw-oak {
  background: linear-gradient(135deg, #d8bd94, #b8955f);
}
.sw-walnut {
  background: linear-gradient(135deg, #6b4a31, #432c1c);
}
.sw-ash {
  background: linear-gradient(135deg, #e6ddcd, #c7bba5);
}
.sw-lacquer {
  background: linear-gradient(135deg, #2a2724, #14110f);
}
.sw-brass {
  background: linear-gradient(135deg, var(--brass-3), var(--brass));
}
.sw-stone {
  background: linear-gradient(135deg, #cfcabd, #9d968a);
}

/* --------------------------------------------------------------------------
   15. Quote
   -------------------------------------------------------------------------- */
.pullquote {
  padding-left: clamp(18px, 2.4vw, 30px);
  border-left: 1px solid var(--brass);
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.42;
}

.pullquote footer {
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.section--ink .pullquote footer {
  color: var(--cream-35);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--cream-line);
}

.testimonial {
  padding: clamp(28px, 3.2vw, 42px);
  background: var(--ink);
}

.testimonial-stars {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--brass-2);
}

.testimonial p {
  margin: 18px 0 20px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.52;
  color: var(--cream-80);
}

.testimonial cite {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-35);
}

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(76px, 11vw, 150px) 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}

.cta-band-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.75);
}

.cta-band-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      100% 100% at 50% 50%,
      rgba(16, 14, 12, 0.55),
      rgba(16, 14, 12, 0.9)
    );
}

.cta-band-inner {
  position: relative;
  z-index: 2;
}

.cta-band .h1 {
  margin: 20px auto 0;
  max-width: 22ch;
}

.cta-phone {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 62px);
  letter-spacing: -0.02em;
  color: var(--brass-3);
  transition: color var(--dur-1) ease;
}

.cta-phone:hover {
  color: var(--cream);
}

.cta-band .actions {
  justify-content: center;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(56px, 7vw, 96px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 66px);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-name {
  font-size: 28px;
}

.footer-about {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--cream-50);
  max-width: 34ch;
}

.footer-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 18px;
}

.footer-links li + li {
  margin-top: 11px;
}

.footer-links a {
  font-size: 14px;
  color: var(--cream-65);
  transition: color var(--dur-1) ease;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-contact li + li {
  margin-top: 13px;
}

.footer-contact a,
.footer-contact span {
  font-size: 14px;
  color: var(--cream-65);
  line-height: 1.6;
}

.footer-contact a:hover {
  color: var(--brass-3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  border-top: 1px solid var(--cream-line);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cream-35);
  text-align: center;
}

.footer-bottom a {
  color: var(--cream-65);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-1) ease, border-color var(--dur-1) ease;
}

.footer-bottom a:hover {
  color: var(--brass-3);
  border-bottom-color: var(--brass-3);
}

/* --------------------------------------------------------------------------
   18. Floating actions
   -------------------------------------------------------------------------- */
.fab-stack {
  position: fixed;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--cream-line-2);
  transition: transform var(--dur-1) var(--ease), background var(--dur-1) ease,
    opacity var(--dur-2) ease, visibility var(--dur-2);
}

.fab:hover {
  transform: translateY(-3px);
  background: var(--brass);
  border-color: var(--brass);
}

.fab svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.fab--wa {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
}

.fab--wa:hover {
  background: var(--wa-hover);
  border-color: var(--wa-hover);
}

.fab--top {
  opacity: 0;
  visibility: hidden;
}

.fab--top.is-visible {
  opacity: 1;
  visibility: visible;
}

body.is-locked .fab-stack {
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   19. Reveal animation
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-soft), transform 1s var(--ease-soft);
}

[data-reveal-mask] {
  clip-path: inset(0 0 100% 0);
}

[data-reveal-mask].is-in {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s var(--ease-soft);
}

/* --------------------------------------------------------------------------
   20. Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  [data-reveal],
  [data-reveal-mask] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .marquee-track {
    animation: none;
  }
}

@media print {
  .site-header,
  .fab-stack,
  .scroll-progress,
  .cta-band,
  .marquee {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
