/* ============================================================
   ODUM FURNITURE — design system v2 "Atelier"
   Heritage workshop identity: Cormorant Garamond (display) + Karla (UI).
   Bone linen surfaces, burnt-clay accent, forest-green ink.
   Signature motifs: arched frames, pill buttons, diamond kickers.
   ============================================================ */

:root {
  /* Material palette */
  --ivory: #f6f3ec;        /* bone linen */
  --sand: #eae5d6;         /* raw linen */
  --paper: #fcfbf7;
  --ink: #16211b;          /* forest ink */
  --ink-soft: #43524a;
  --stone: #7f8278;
  --walnut: #2e4a3b;       /* forest green — prices, pull-quotes (var name kept for templates) */
  --teak: #b4552d;         /* burnt clay accent (var name kept for templates) */
  --teak-deep: #93411f;
  --line: #dcd7c6;
  --success: #3d6247;
  --error: #a04b3c;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Karla", "Segoe UI", sans-serif;

  --container: 1320px;
  --container-text: 760px;
  --radius: 5px;                 /* uniform 5px corners site-wide (client spec) */
  --arch: 5px;                   /* arch motif retired — kept as var for template compat */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --shadow-soft: 0 20px 60px -25px rgba(22, 33, 27, 0.35);
}

/* ------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 6.2vw, 4.8rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

p { margin: 0 0 1.2em; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--teak); color: var(--paper); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: var(--container-text); }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.55); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }

/* kicker + heading pattern — clay diamond marker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teak-deep);
  margin-bottom: 1.4rem;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--teak);
  transform: rotate(45deg);
}
.kicker--center { justify-content: center; }
.kicker--center::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--teak);
  transform: rotate(45deg);
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { text-align: center; }
.section-head .lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 46rem; }
.section-head--center .lead { margin-inline: auto; }

/* full-width statement sections */
.statement {
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 1.04;
  margin-bottom: 0.5em;
}
.statement-lead {
  max-width: 48rem;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

/* ------------------------------------------------ buttons (pill) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s;
}
.btn:hover { background: var(--teak-deep); border-color: var(--teak-deep); color: var(--ivory); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

.btn--light { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--ivory); }

.btn--text {
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  gap: 0.55rem;
}
.btn--text .arrow { transition: transform 0.3s var(--ease-out); }
.btn--text:hover { background: none; color: var(--teak-deep); }
.btn--text:hover .arrow { transform: translateX(6px); }

.btn--whatsapp { background: #1fa855; border-color: #1fa855; color: #fff; }
.btn--whatsapp:hover { background: #178643; border-color: #178643; color: #fff; }

.arrow { width: 1.05em; height: 1.05em; flex: none; }

/* ------------------------------------------------ header */
/* Always-solid bone header with a heritage announcement strip —
   no transparent-over-hero state. */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  background: var(--ivory);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.4s, transform 0.4s, background 0.4s;
}
.announce {
  background: var(--walnut);
  color: var(--sand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  max-height: 3rem;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.announce-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.55rem;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: #fff; }
@media (max-width: 720px) { .announce-contact { display: none; } .announce-inner { justify-content: center; text-align: center; } }
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1rem;
  transition: padding 0.35s;
}
.site-header.is-scrolled {
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled .announce { max-height: 0; }
.site-header.is-scrolled .bar { padding-block: 0.65rem; }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 0.75rem; z-index: 75; }
.brand-icon { width: 42px; height: 42px; object-fit: contain; transition: filter 0.4s; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
/* Keep the tree mark's linework readable over dark surfaces */
body.menu-open .site-header .brand-icon,
.site-footer .brand-icon {
  filter: drop-shadow(0 0 10px rgba(246, 243, 236, 0.85)) drop-shadow(0 0 2px rgba(246, 243, 236, 0.9));
}
.brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.brand .brand-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--teak-deep);
}

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-block: 0.4rem;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--teak);
  transition: left 0.35s var(--ease-out), right 0.35s var(--ease-out);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { left: 0; right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0 7px;
  margin-right: -7px;
  cursor: pointer;
  z-index: 75;
}
.nav-toggle span { height: 1.5px; background: var(--ink); transition: transform 0.35s, opacity 0.3s; }

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--gutter) + 3.5rem) var(--gutter) var(--gutter);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 5.4vh, 2.5rem);
  line-height: 1.35;
  padding-block: 0.3rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:hover { color: var(--teak); }
.mobile-menu .menu-meta { margin-top: 2rem; font-size: 0.85rem; color: var(--stone); }
.mobile-menu .menu-meta a { color: inherit; }

body.menu-open { overflow: hidden; }
body.menu-open .site-header {
  z-index: 80;
  transform: none !important;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  color: var(--ivory);
}
body.menu-open .site-header .brand-sub { color: var(--sand); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
body.menu-open .nav-toggle span { background: var(--ivory) !important; }

@media (max-width: 960px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ------------------------------------------------ hero — split atelier layout */
/* Copy on bone linen at left, arched slideshow frame at right.
   Deliberately NOT a full-bleed image hero. */
.hero {
  background: var(--ivory);
  padding: calc(7.5rem + 3vh) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 11fr 9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--teak-deep);
  margin-bottom: 1.2rem;
}
.hero-kicker::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: var(--teak);
  transform: rotate(45deg);
}
.hero-title {
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.hero-lead {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 42ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.8rem 0 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  color: var(--walnut);
  line-height: 1;
}
.hero-stats dd { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--stone); }

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--sand);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
.hero-dots button {
  width: 9px; height: 9px;
  border-radius: 0;
  transform: rotate(45deg);
  border: 1px solid var(--stone);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, scale 0.3s;
}
.hero-dots button.is-active { background: var(--teak); border-color: var(--teak); scale: 1.25; }

@media (max-width: 900px) {
  .hero { padding-top: calc(6.5rem + 2vh); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-frame { aspect-ratio: 4 / 3; border-radius: 5px; }
}

/* ------------------------------------------------ cards & grids */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.frame {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-radius: var(--radius);
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
a:hover > .frame img, .card:hover .frame img { transform: scale(1.045); }

/* signature arched frame — the workshop-door motif */
.frame--arch { border-radius: var(--arch); }

.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-16-9 { aspect-ratio: 16 / 9; }

/* product card — paper tile whose frame arches open on hover */
.product-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.9rem 0.9rem 1.25rem;
  transition: border-color 0.35s, translate 0.35s var(--ease-out), box-shadow 0.35s;
}
.product-card:hover {
  border-color: var(--teak);
  translate: 0 -5px;
  box-shadow: var(--shadow-soft);
}
.product-card .frame {
  margin-bottom: 1.1rem;
  border-radius: 5px;
  transition: border-radius 0.55s var(--ease-out);
}
.product-card:hover .frame { border-radius: 5px; }
.product-card .cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.product-card .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0.25rem 0 0.45rem;
  transition: color 0.3s;
}
.product-card:hover .name { color: var(--teak-deep); }
.product-card .price {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--walnut);
  background: var(--sand);
  border-radius: 5px;
  padding: 0.25rem 0.85rem;
}

/* room card — arched, like the workshop doors */
.room-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ivory);
  border-radius: var(--arch);
}
.room-card .frame { aspect-ratio: 3 / 3.8; border-radius: var(--arch); }
.room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--arch);
  background: linear-gradient(to top, rgba(22, 33, 27, 0.74), rgba(22, 33, 27, 0) 55%);
  transition: background 0.4s;
}
.room-card .room-label {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  padding: 1.8rem;
  text-align: center;
}
.room-card .room-label h3 { margin: 0; font-size: 1.8rem; }
.room-card .room-label span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

/* carousel (scroll-snap) */
.carousel-wrap { position: relative; }
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 26vw, 340px);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 0.6rem; }
.carousel-nav button {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.carousel-nav button:hover { background: var(--teak-deep); border-color: var(--teak-deep); color: var(--ivory); }

/* ------------------------------------------------ split sections */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--rev { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } }

.value-item { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.value-item h4 { margin: 0 0 0.4rem; font-size: 1.25rem; letter-spacing: 0.02em; }
.value-item p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ------------------------------------------------ testimonials */
.testimonials { position: relative; }
.testimonial-track { overflow: hidden; }
.testimonial-list {
  display: flex;
  transition: transform 0.7s var(--ease-out);
}
.testimonial {
  flex: 0 0 100%;
  text-align: center;
  padding-inline: clamp(0rem, 8vw, 6rem);
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 1.6rem;
}
.testimonial blockquote::before {
  content: "“";
  display: block;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.55;
  color: var(--teak);
  margin-bottom: 1.4rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teak-deep);
}
.testimonial cite::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--teak);
  margin: 0 auto 0.9rem;
}

/* ------------------------------------------------ steps (how to order) — ledger rows */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.step::after {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 8px; height: 8px;
  background: var(--teak);
  transform: rotate(45deg);
}
.step::before {
  counter-increment: step;
  content: "N° 0" counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--teak);
  display: block;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.4rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ------------------------------------------------ page hero (inner pages) — ruled ledger head */
.page-hero {
  padding: calc(7rem + 6vh) 0 0;
}
.page-hero .container {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
.page-hero h1 { font-style: italic; }
.page-hero .lead { color: var(--ink-soft); max-width: none; font-size: 1.15rem; margin-bottom: 0; }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0;
  margin: 1.4rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.page-meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--teak);
  transform: rotate(45deg);
  margin: 0 0.9rem;
  vertical-align: 2px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.6rem;
}
.breadcrumbs a:hover { color: var(--teak-deep); }
.breadcrumbs .sep { color: var(--line); }

/* filter chips (pill) */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.chip:hover { border-color: var(--teak-deep); color: var(--teak-deep); }
.chip.is-active { background: var(--walnut); border-color: var(--walnut); color: var(--ivory); }

/* ------------------------------------------------ product page */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }

.product-gallery { position: sticky; top: 5.5rem; }
@media (max-width: 900px) { .product-gallery { position: static; } }

.product-gallery .frame { cursor: zoom-in; }
.product-info h1 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); font-style: italic; margin-bottom: 0.5rem; }
.product-info .price-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--teak-deep);
  margin-bottom: 1.6rem;
}
.spec-table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.7rem 0; border-top: 1px dotted var(--stone); }
.spec-table th {
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  width: 34%;
}
.material-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.material-chips span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 5px;
  background: var(--sand);
  color: var(--walnut);
}

/* enquiry panel — forest-ink card, the site's conversion moment */
.enquiry-panel {
  background: var(--walnut);
  border: none;
  border-radius: 5px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  margin-top: 2rem;
  color: var(--sand);
}
.enquiry-panel h3 { font-size: 1.5rem; font-style: italic; color: var(--ivory); }
.enquiry-panel .muted { color: rgba(246, 243, 236, 0.6); }
.enquiry-panel label { color: rgba(246, 243, 236, 0.55); }
.enquiry-panel input[type="text"], .enquiry-panel input[type="email"],
.enquiry-panel input[type="tel"], .enquiry-panel select, .enquiry-panel textarea {
  background: rgba(246, 243, 236, 0.08);
  border-color: rgba(246, 243, 236, 0.28);
  color: var(--ivory);
}
.enquiry-panel ::placeholder { color: rgba(246, 243, 236, 0.4); }
.enquiry-panel input:focus, .enquiry-panel select:focus, .enquiry-panel textarea:focus {
  border-color: var(--teak);
  background: rgba(246, 243, 236, 0.12);
}
.enquiry-panel select option { color: var(--ink); background: var(--ivory); }
.enquiry-panel .btn { background: var(--teak); border-color: var(--teak); }
.enquiry-panel .btn:hover { background: var(--teak-deep); border-color: var(--teak-deep); }

/* ------------------------------------------------ forms */
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4rem;
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teak);
  background: var(--paper);
}
textarea { resize: vertical; }

/* flash messages */
.flash-stack {
  position: fixed;
  z-index: 90;
  inset-inline: 0;
  top: 5.2rem;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  pointer-events: none;
  padding-inline: var(--gutter);
}
.flash {
  pointer-events: auto;
  padding: 0.9rem 1.6rem;
  border-radius: 5px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
  animation: flash-in 0.5s var(--ease-out);
}
.flash.success { background: var(--success); }
.flash.error { background: var(--error); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-12px); } }

/* ------------------------------------------------ timeline (our story) */
.timeline { position: relative; max-width: 720px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-entry { position: relative; padding: 0 0 2.6rem 2.6rem; }
.timeline-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.7rem; height: 0.7rem;
  transform: rotate(45deg);
  background: var(--ivory);
  border: 2px solid var(--teak);
}
.timeline-entry .year {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--walnut);
  display: block;
  margin-bottom: 0.3rem;
}
.timeline-entry p { margin: 0; color: var(--ink-soft); }

/* ------------------------------------------------ projects */
.project-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.project-row:nth-child(even) .project-media { order: 2; }
@media (max-width: 900px) {
  .project-row, .project-row:nth-child(even) .project-media { grid-template-columns: 1fr; order: 0; }
}
.project-row + .project-row { margin-top: clamp(3rem, 7vw, 6rem); }

.masonry { columns: 3; column-gap: 1.4rem; }
.masonry > * { break-inside: avoid; margin-bottom: 1.4rem; }
@media (max-width: 980px) { .masonry { columns: 2; } }
@media (max-width: 600px) { .masonry { columns: 1; } }

/* ------------------------------------------------ blog / prose */
.post-card .frame { margin-bottom: 1.2rem; }
.post-card time {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.post-card h3 { margin: 0.4rem 0 0.5rem; font-size: 1.55rem; transition: color 0.3s; }
.post-card:hover h3 { color: var(--teak-deep); }
.post-card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

.prose { max-width: var(--container-text); margin-inline: auto; font-size: 1.1rem; }
.prose img { margin: 2.4rem auto; }
.prose h2, .prose h3 { margin-top: 2.2em; }
.prose blockquote {
  margin: 2.4rem 0;
  padding-left: 1.6rem;
  border-left: 2px solid var(--teak);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25em;
  color: var(--walnut);
}

/* ------------------------------------------------ CTA band */
.cta-band {
  position: relative;
  background: var(--walnut);
  color: var(--ivory);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 15% 110%, rgba(180, 85, 45, 0.35), transparent),
    radial-gradient(50% 80% at 90% -10%, rgba(22, 33, 27, 0.55), transparent);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--ivory); margin-inline: auto; }
.cta-band p { color: var(--sand); opacity: 0.9; }

/* ------------------------------------------------ footer */
.site-footer {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.75);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  font-size: 0.95rem;
}
.site-footer a { transition: color 0.3s; }
.site-footer a:hover { color: var(--teak); }
.footer-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--sand);
  text-align: center;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 24ch;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.1fr 1fr 1.1fr;
  gap: clamp(1.6rem, 3vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 243, 236, 0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-list { font-size: 0.88rem; }
.footer-brand .brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; font-size: 1.6rem; color: var(--ivory); line-height: 1.05; }
.footer-brand .brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--teak);
}
.footer-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teak);
  margin-bottom: 1.1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(246, 243, 236, 0.45);
}

/* social icon row */
.social-row { display: flex; gap: 0.7rem; }
.social-row a {
  width: 2.6rem; height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  transition: all 0.3s;
}
.social-row a:hover { background: var(--teak); border-color: var(--teak); color: var(--ivory) !important; }
.social-row svg { width: 1.15rem; height: 1.15rem; }
.site-footer .social-row a { border-color: rgba(246, 243, 236, 0.25); }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  z-index: 55;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 3.4rem; height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #1fa855;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.7rem; height: 1.7rem; }

/* ------------------------------------------------ lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(22, 33, 27, 0.94);
  display: grid;
  place-items: center;
  padding: 4vmin;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; box-shadow: var(--shadow-soft); }
.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.6rem;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* ------------------------------------------------ reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------ small screens */
@media (max-width: 640px) {
  .hero-stats { gap: 0.9rem; }
  .hero-stats dt { font-size: 1.6rem; }
  .page-hero { padding-top: calc(6rem + 4vh); }
  .section { padding-block: clamp(3.5rem, 12vw, 5rem); }
  .testimonial { padding-inline: 0; }
  .enquiry-panel { padding: 1.4rem 1.1rem; }
  .btn { padding: 0.95rem 1.5rem; letter-spacing: 0.14em; }
  .hero-actions { gap: 0.7rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active img { animation: none; }
}

/* ------------------------------------------------ marquee ribbon */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding-block: 0.85rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--walnut);
  padding-right: 0.6rem;
}
.marquee-track .dia { color: var(--teak); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ------------------------------------------------ heritage band */
.heritage-band {
  background: var(--ink);
  color: var(--sand);
  padding-block: clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.heritage-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 85% at 12% 115%, rgba(180, 85, 45, 0.22), transparent),
    radial-gradient(45% 75% at 92% -15%, rgba(46, 74, 59, 0.6), transparent);
}
.heritage-band .container { position: relative; }
.heritage-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .heritage-grid { grid-template-columns: 1fr; } }
.heritage-years {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 1;
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}
.heritage-years .arrow-down {
  width: 1px;
  height: 2.2em;
  background: var(--teak);
  margin-left: 0.55em;
}
.heritage-band h2 { color: var(--ivory); font-style: italic; }
.heritage-band p { color: rgba(246, 243, 236, 0.75); max-width: 52ch; }
.kicker--light { color: var(--teak); }

/* ------------------------------------------------ blog feature row */
.blog-feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .blog-feature { grid-template-columns: 1fr; } }
.blog-feature .frame { border-radius: var(--arch); aspect-ratio: 4 / 3; }
.blog-feature h2 { font-style: italic; font-size: clamp(1.8rem, 3.4vw, 2.8rem); transition: color 0.3s; }
.blog-feature:hover h2 { color: var(--teak-deep); }
.blog-feature p { color: var(--ink-soft); }

/* project meta line */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin: -0.6rem 0 1.2rem;
}
.project-meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--teak);
  transform: rotate(45deg);
  margin: 0 0.8rem;
  vertical-align: 2px;
}

/* journal drop cap */
article .prose > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.6em;
  line-height: 0.75;
  float: left;
  padding: 0.08em 0.14em 0 0;
  color: var(--teak-deep);
}

/* FAQ ledger rows */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  background: var(--teak);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out);
  translate: 0 -2px;
}
.faq-item[open] summary { color: var(--teak-deep); }
.faq-item[open] summary::before { transform: rotate(225deg); }
.faq-item summary:hover { color: var(--teak-deep); }
.faq-item > p { margin: 0 0 1.4rem 1.45rem; color: var(--ink-soft); max-width: 62ch; }

/* CTA band voice */
.cta-band h2 { font-style: italic; }

/* giant outlined footer wordmark */
.footer-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(3.2rem, 11.5vw, 10rem);
  line-height: 1;
  text-align: center;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 243, 236, 0.28);
  user-select: none;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  white-space: nowrap;
  overflow: hidden;
}

/* utility */
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.muted { color: var(--stone); }
.flow > * + * { margin-top: 1rem; }
