/* ==========================================================================
   Lee Custom Furniture — site styles
   No framework: modern CSS (custom properties, grid, clamp, nesting-free).
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1f1b17;
  --ink-soft: #4a423b;
  --muted: #6e655c;
  --paper: #fbf8f3;
  --sand: #f2ebe0;
  --line: #e4dacb;
  --amber: #f0a21a;          /* logo orange */
  --amber-deep: #a86a00;     /* accessible on light backgrounds */
  --amber-soft: #fdf1da;
  --white: #fff;
  --whatsapp: #1fa855;

  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(31 27 23 / .06), 0 8px 24px rgb(31 27 23 / .08);
  --shadow-lg: 0 2px 4px rgb(31 27 23 / .06), 0 20px 48px rgb(31 27 23 / .16);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
/* Headings: Roboto. Body: Geist. */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; }
h1, h2 { font-weight: 700; letter-spacing: -.025em; }
h3 { font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.1rem, 1.04rem + .35vw, 1.3rem); }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border: 2px solid var(--amber); border-radius: 999px;
  background: var(--amber); color: var(--ink);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: #ffb534; border-color: #ffb534; transform: translateY(-1px); box-shadow: 0 8px 20px rgb(240 162 26 / .35); }
.btn:active { transform: none; }
.btn--small { padding: .55em 1.15em; font-size: .95rem; }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .7); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: none; }
.btn--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--white); }
.btn--whatsapp:hover { background: #18914a; border-color: #18914a; box-shadow: 0 8px 20px rgb(31 168 85 / .3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; margin-top: 1rem;
  font-weight: 600; color: var(--amber-deep); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: .9rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--amber); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d9d0c4; font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar .icon { width: 1em; height: 1em; color: var(--amber); }
.topbar__note { margin-left: auto; }
@media (max-width: 720px) {
  .topbar .topbar__note, .topbar .topbar__email { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 248 243 / .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgb(31 27 23 / .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 52px; width: auto; }

.site-nav__list { display: flex; align-items: center; gap: 4px; padding: 0; list-style: none; }
.site-nav a, .site-nav button {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .55em .9em; border: 0; border-radius: var(--radius-sm); background: none;
  font-weight: 500; text-decoration: none; cursor: pointer; color: var(--ink-soft);
  transition: color .2s, background-color .2s;
}
.site-nav a:hover, .site-nav button:hover { color: var(--ink); background: var(--sand); }
.site-nav a[aria-current="page"], .site-nav button.is-current { color: var(--amber-deep); }
.site-nav .btn { color: var(--ink); margin-left: 8px; }
.site-nav .btn:hover { background: #ffb534; }

.has-sub { position: relative; }
.has-sub > button .icon { transition: transform .2s; }
.has-sub > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 250px;
  padding: 8px; list-style: none; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.submenu a { display: flex; width: 100%; }
.has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 961px) {
  .has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-sub::after { content: ""; position: absolute; inset: 100% 0 -10px; } /* hover bridge */
}

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--white); cursor: pointer; position: relative;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .brand img { height: 44px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-nav.is-open { display: block; animation: drop .25s var(--ease); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; }
  .site-nav a, .site-nav button { width: 100%; justify-content: space-between; padding: .8em .75em; font-size: 1.05rem; }
  .site-nav .btn { margin: 10px 0 0; justify-content: center; }
  .submenu {
    position: static; transform: none; min-width: 0; box-shadow: none; border: 0; background: transparent;
    padding: 0 0 0 12px; display: none; opacity: 1; visibility: visible;
  }
  .has-sub.is-open > .submenu { display: block; transform: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; display: grid; align-items: end;
  min-height: min(88vh, 820px); padding-block: 120px clamp(48px, 8vw, 96px);
  color: var(--white); overflow: hidden;
}
.hero__img, .page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(20 16 12 / .82) 0%, rgb(20 16 12 / .55) 45%, rgb(20 16 12 / .1) 100%),
    linear-gradient(0deg, rgb(20 16 12 / .5), transparent 50%);
}
.hero__img { object-position: 62% center; }
.hero__content { max-width: var(--container); }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: italic; font-weight: 700; color: var(--amber); }
.hero__lead { max-width: 52ch; margin-block: 1.25rem 2rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #efe7dc; }

.stats { background: var(--ink); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__grid > div { padding: 28px 20px; border-left: 1px solid rgb(255 255 255 / .1); }
.stats__grid > div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, .95rem + .75vw, 1.55rem); letter-spacing: -.015em; color: var(--amber); line-height: 1.2; }
.stats span { display: block; margin-top: 4px; line-height: 1.5; font-size: .92rem; color: #cfc5b8; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid > div { padding: 20px 16px; }
  .stats__grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats__grid > div:nth-child(n + 3) { border-top: 1px solid rgb(255 255 255 / .1); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--sand); }
.section--dark { background: var(--ink); color: #e8e0d5; }
.section--dark h2 { color: var(--white); }
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { margin-top: .75rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img, .split__media video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__media img { aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--video video { aspect-ratio: 16 / 10; object-fit: cover; background: var(--ink); }
/* Photo shown if the video can't load: keep it landscape so the whole sofa shows */
.split__media--video img { aspect-ratio: 3 / 2; }
.split__text h2 { margin-bottom: 1.25rem; }
.split__text > p:not(.eyebrow) + p { margin-top: 1rem; }
.split__text > p:not(.eyebrow) { color: var(--ink-soft); }
.section--dark .split__text > p { color: #d8cfc3; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }
}

.feature { padding: 18px 0 18px 20px; border-left: 3px solid var(--amber); }
.feature + .feature { margin-top: 12px; }
.feature h3 { margin-bottom: .35rem; }
.feature p { color: var(--ink-soft); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards--three { grid-template-columns: repeat(3, 1fr); }
.cards--two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards--three, .cards--two { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 1100px) { .cards--three > :last-child { grid-column: 1 / -1; } }

.card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 22px 22px 24px; }
.card__body p { color: var(--muted); font-size: .98rem; }
.card__more { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--amber-deep); }
.card__more .icon { transition: transform .2s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

/* ---------- Process ---------- */
.process { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 9vw, 120px) clamp(40px, 5vw, 64px); color: #e8e0d5; background: #2a231d; }
.process__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.process::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgb(251 248 243 / .94) 0%, rgb(251 248 243 / .86) 26%, rgb(251 248 243 / .35) 40%,
    rgb(42 35 29 / .55) 52%, rgb(31 27 23 / .9) 66%, rgb(31 27 23 / .96) 100%);
}
.process__head { max-width: 820px; margin: 0 auto clamp(72px, 12vw, 160px); text-align: center; color: var(--ink); }
.process__kicker, .process__tagline {
  font-size: .82rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft);
}
.process__kicker { display: inline-block; padding-top: .9rem; margin-bottom: 1rem; border-top: 1px solid var(--amber); }
.process__kicker span, .process__tagline span { color: var(--amber); margin-inline: .5em; }
.process__head h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; color: var(--ink); }
.process__head h2 em { display: block; font-style: normal; color: var(--amber); }
.process__tagline { margin-top: 1rem; }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; list-style: none; }
.steps::before { /* gold line joining the icons */
  content: ""; position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--amber), #d9a441, var(--amber));
}
.step { position: relative; padding: 0 clamp(14px, 2vw, 28px); text-align: center; }
.step + .step { border-left: 1px solid rgb(255 255 255 / .22); }
.step__icon {
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: #1a1612; border: 3px solid var(--amber);
  box-shadow: 0 0 0 4px rgb(31 27 23 / .6), 0 10px 30px rgb(0 0 0 / .4);
}
.step__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-bottom: .75rem; font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--white); }
.step__num { color: var(--amber); margin-right: .2em; }
.step p { color: #e1d8cc; font-size: .98rem; line-height: 1.55; }
.process__footer {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: clamp(48px, 6vw, 72px);
  font-size: .85rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #e8e0d5;
}
.process__footer::before, .process__footer::after { content: ""; width: clamp(40px, 12vw, 180px); height: 1px; background: var(--amber); }

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .step:nth-child(3) { border-left: 0; }
  .process::before {
    background: linear-gradient(180deg, rgb(251 248 243 / .94) 0%, rgb(251 248 243 / .8) 22%, rgb(31 27 23 / .85) 36%, rgb(31 27 23 / .96) 100%);
  }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step + .step { border-left: 0; }
  .process__kicker, .process__tagline { letter-spacing: .18em; font-size: .72rem; }
  .process__footer { letter-spacing: .16em; font-size: .75rem; gap: .75rem; }
}

/* ---------- History ---------- */
/* Two columns: photo on the left fills the full height, text on the right never overlaps it */
.history {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  background: #17130f; color: #e8e0d5;
  border-bottom: 2px solid var(--amber);
}
/* diagonal amber accents in the corners */
.history::before, .history::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: 220px; height: 140%; transform: rotate(32deg);
  background: linear-gradient(90deg, rgb(240 140 20 / 0), rgb(240 140 20 / .55) 45%, rgb(240 140 20 / .15));
}
.history::before { top: -70%; right: -170px; transform: rotate(-32deg); }
.history::after { bottom: -70%; left: -150px; transform: rotate(-32deg); }

.history__photo { position: relative; z-index: 0; margin: 0; min-height: 100%; }
.history__photo img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 35% 0; filter: sepia(.25) saturate(1.1) contrast(1.05);
}
.history__photo::before { /* fade the photo's right edge into the dark panel, plus warm tint */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(270deg, #17130f 0%, rgb(23 19 15 / .6) 14%, rgb(23 19 15 / 0) 40%),
    linear-gradient(0deg, rgb(23 19 15 / .6), rgb(23 19 15 / 0) 35%),
    linear-gradient(225deg, rgb(240 130 20 / .18), rgb(240 130 20 / 0) 60%);
}
.history__caption {
  position: absolute; z-index: 2; left: clamp(20px, 4vw, 56px); bottom: clamp(28px, 5vw, 64px); white-space: nowrap;
  font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
  font-size: clamp(1.05rem, 1.7vw, 1.85rem); line-height: 1.2; color: var(--white); transform: rotate(-6deg); transform-origin: left bottom;
  text-shadow: 0 2px 12px rgb(0 0 0 / .6);
}
.history__caption::after { /* brush swoosh */
  content: ""; display: block; height: 4px; margin: .2em 0 0 -1.2em; width: 85%;
  border-radius: 50%; background: linear-gradient(90deg, var(--amber), rgb(240 162 26 / 0));
}

.history__inner.container { position: relative; z-index: 2; max-width: none; margin: 0; padding: clamp(56px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(56px, 6vw, 96px) clamp(24px, 3.5vw, 56px); }
.history__text { max-width: 600px; }
.history__eyebrow {
  display: inline-flex; align-items: center; gap: .9em; margin-bottom: 1.1rem;
  font-size: .85rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #e8e0d5;
}
.history__eyebrow::before, .history__eyebrow::after {
  content: ""; width: 36px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 80%, transparent 80%, transparent 86%, var(--amber) 86%);
}
.history h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.1; color: var(--white); margin-bottom: 1rem; }
.history__intro { margin-bottom: clamp(28px, 4vw, 40px); color: #cfc5b8; font-size: 1.05rem; line-height: 1.6; }
.history__intro strong { color: var(--amber); font-weight: 600; }
.history h2 em { font-style: normal; color: var(--amber); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 1.4em; width: 2px; background: var(--amber); }
.timeline li { position: relative; padding: 0 0 1.25rem 3rem; color: #e1d8cc; line-height: 1.5; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px;
  border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px #17130f;
}
.timeline strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.4rem; line-height: 1.2; }
.timeline__title { display: block; margin: .15rem 0 .35rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #f3ece2; }
.timeline li { font-size: .97rem; }
.timeline em { color: var(--amber); font-style: normal; font-weight: 600; }

@media (max-width: 900px) {
  .history { grid-template-columns: 1fr; }
  .history__photo { height: clamp(340px, 90vw, 560px); min-height: 0; }
  .history__photo img { object-position: 30% 0; }
  .history__inner.container { padding: 8px var(--gutter) clamp(48px, 10vw, 72px); }
  .history__photo::before {
    background: linear-gradient(0deg, #17130f 0%, rgb(23 19 15 / .3) 35%, rgb(23 19 15 / 0) 60%),
                linear-gradient(225deg, rgb(240 130 20 / .18), rgb(240 130 20 / 0) 60%);
  }
  .history__caption { bottom: 32px; }
  .history::before { top: -40%; right: -190px; height: 90%; }
  .history::after { display: none; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__info h2 { margin-bottom: .75rem; }
.contact__info > p { color: var(--ink-soft); }
.contact__list { display: grid; gap: 20px; margin: 2rem 0; padding: 0; list-style: none; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list .icon {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  background: var(--white); color: var(--amber-deep); box-shadow: var(--shadow);
}
.contact__list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__list a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--amber-deep); text-decoration: underline; }

.contact__form { padding: clamp(24px, 4vw, 40px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.contact__form h3 { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .92rem; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75em .9em; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: var(--white); box-shadow: 0 0 0 4px rgb(240 162 26 / .2);
}
.field [aria-invalid="true"] { border-color: #c2410c; }
.form-status { min-height: 1.5em; margin-bottom: 8px; font-size: .95rem; font-weight: 500; }
.form-status.is-error { color: #b42318; }
.form-status.is-ok { color: #157a3f; }
.form-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }

.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .2); color: inherit; transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.social--dark a { border-color: var(--line); background: var(--white); color: var(--ink); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; }

/* ---------- Map (Google only loads after "Show map") ---------- */
.map { height: clamp(320px, 40vw, 440px); background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map__placeholder {
  display: grid; place-content: center; justify-items: center; gap: 16px; height: 100%; padding: 24px;
  text-align: center;
  /* faint street-grid pattern so it reads as a map */
  background:
    linear-gradient(rgb(31 27 23 / .05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgb(31 27 23 / .05) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--sand);
}
.map__pin { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--amber); color: var(--ink); box-shadow: var(--shadow-lg); }
.map__address strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.map__address { color: var(--ink-soft); }
.map .btn-row { justify-content: center; }
.map__note { font-size: .85rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review {
  display: flex; flex-direction: column; gap: 16px; padding: 28px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.review__stars { color: var(--amber); letter-spacing: .15em; font-size: 1.1rem; }
.review blockquote { flex: 1; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.55; }
.review blockquote p::before { content: "“"; }
.review blockquote p::after { content: "”"; }
.review figcaption { padding-top: 16px; border-top: 1px solid var(--line); }
.review figcaption strong { display: block; }
.review figcaption span { font-size: .9rem; color: var(--muted); }
/* Placeholders are obvious until real reviews are pasted in */
.review--placeholder { background: repeating-linear-gradient(-45deg, var(--white) 0 14px, #fffaf0 14px 28px); outline: 2px dashed var(--amber); outline-offset: -8px; }
.review--placeholder blockquote, .review--placeholder figcaption { color: var(--muted); font-style: italic; }

/* ---------- 404 ---------- */
.not-found__inner { max-width: 720px; text-align: center; }
.not-found .not-found__code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 700; line-height: 1; color: var(--amber); }
.not-found h1 { margin: .5rem 0 1rem; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
.not-found p { color: var(--ink-soft); }
.not-found .btn-row { justify-content: center; margin-top: 2rem; }
.not-found__sub { margin: 3rem 0 1rem; font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; list-style: none; }
.not-found__links a { display: block; padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; }
.not-found__links a:hover { border-color: var(--amber); color: var(--amber-deep); }

/* ---------- Page hero (gallery pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(80px, 12vw, 150px) clamp(48px, 7vw, 80px); color: var(--white);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(20 16 12 / .85), rgb(20 16 12 / .5)); }
.page-hero__content { max-width: var(--container); }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); margin-bottom: 1rem; }
.page-hero p { max-width: 62ch; color: #ece4d8; font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); }
.breadcrumbs { margin-bottom: 1.25rem; font-size: .9rem; color: #cfc5b8; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber); }
.breadcrumbs span[aria-hidden] { margin-inline: .4em; opacity: .5; }

/* ---------- Gallery ---------- */
/* Even grid: every tile is 4:3. Photos fill the tile; white-background
   product shots (marked by update-gallery.ps1) are shown whole on white. */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gallery__item {
  display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--sand); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.gallery__item--cutout { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.gallery__item--cutout img { object-fit: contain; padding: 6%; }
.gallery__item::after {
  content: attr(data-caption); position: absolute; inset: auto 0 0; padding: 40px 16px 14px;
  font-size: .92rem; color: var(--white); background: linear-gradient(transparent, rgb(20 16 12 / .8));
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.04); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .gallery__item::after { opacity: 1; transform: none; } }

/* "Who we work with": industry cards */
.section--clients { border-block: 1px solid var(--line); }
.eyebrow--both::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.sectors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.sector {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 16px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgb(168 106 0 / .35); }
.sector__icon {
  width: 60px; height: 60px; margin-bottom: 18px;
  fill: none; stroke: var(--amber-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sector h3 { font-size: 1.08rem; line-height: 1.2; margin-bottom: .5rem; min-height: 2.4em; display: flex; align-items: center; }
.sector p { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.sectors__tagline {
  display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: clamp(32px, 5vw, 48px);
  font-style: italic; color: var(--ink-soft); text-align: center;
}
.sectors__tagline::before, .sectors__tagline::after { content: ""; flex: 0 0 64px; height: 1px; background: var(--amber-deep); }
@media (max-width: 1100px) { .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sector { padding: 22px 10px 20px; }
  .sector__icon { width: 50px; height: 50px; margin-bottom: 12px; }
  .sectors__tagline { gap: 12px; font-size: .95rem; }
  .sectors__tagline::before, .sectors__tagline::after { display: none; }
}

/* Gallery subsections (built by site.js from gallery-data.js) */
.gallery-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(32px, 5vw, 56px); }
.gallery-nav a {
  padding: .5em 1.1em; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--white);
  transition: border-color .2s, background .2s;
}
.gallery-nav a:hover { border-color: var(--amber); background: var(--amber-soft); }
.gallery-nav a.is-empty { color: var(--muted); }
.gallery-group + .gallery-group { margin-top: clamp(40px, 6vw, 72px); }
.gallery-group__title {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem);
}
.gallery-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gallery-group__empty { padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); text-align: center; color: var(--muted); }

/* Lightbox (native <dialog>, built by site.js) */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0;
  background: rgb(14 11 9 / .96); color: var(--white); overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade .2s ease-out; }
.lightbox::backdrop { background: transparent; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox__count { font-size: .9rem; color: #cfc5b8; font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; touch-action: pan-y; }
/* Image is pinned inside the stage so it always fits the space left between the top bar and caption */
.lightbox__stage img {
  position: absolute; inset: 0; margin: auto; width: auto; height: auto;
  max-width: min(100% - 128px, 1000px); max-height: min(100% - 16px, 720px);
  object-fit: contain; border-radius: 6px; user-select: none;
}
/* White-background product shots: shown on a white card with breathing room, not blown up edge to edge */
.lightbox__stage img.is-cutout { max-width: min(100% - 128px, 860px); max-height: min(100% - 16px, 620px); padding: clamp(16px, 4vw, 48px); background: #fff; }
@media (max-width: 640px) {
  .lightbox__stage img, .lightbox__stage img.is-cutout { max-width: calc(100% - 16px); }
}
.lightbox__caption { padding: 14px 16px 22px; text-align: center; color: #e8e0d5; }
.lightbox button {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .1); color: var(--white); cursor: pointer; transition: background-color .2s;
}
.lightbox button:hover { background: rgb(255 255 255 / .22); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }
@media (max-width: 640px) {
  .lightbox__stage { padding: 0 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -56px; transform: none; }
}
@keyframes fade { from { opacity: 0; } }
html.lightbox-open { overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--amber); color: var(--ink); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); }
.cta-band p { margin-top: .4rem; color: #3d2f17; }
.cta-band .btn { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cta-band .btn:hover { background: #000; border-color: #000; box-shadow: none; }
.cta-band .btn--ghost-light { background: transparent; color: var(--ink); border-color: var(--ink); }
.cta-band .btn--ghost-light:hover { background: var(--ink); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: #171411; color: #b8ad9f; padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: .04em; }
.site-footer__name span { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 500; letter-spacing: .2em; color: var(--white); }
.site-footer__brand p:not(.site-footer__name) { margin: 1rem 0 1.5rem; max-width: 40ch; }
.site-footer__heading { margin-bottom: 1rem; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.site-footer__links { display: grid; gap: .6rem; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--amber); }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(40px, 6vw, 64px); padding-block: 24px; border-top: 1px solid rgb(255 255 255 / .08); font-size: .88rem;
}

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white); box-shadow: 0 10px 28px rgb(0 0 0 / .25);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 30px; height: 30px; }
html.lightbox-open .wa-float { display: none; }

/* ---------- Reveal on scroll (enabled by site.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .wa-float, .map, .cta-band, .contact__form { display: none !important; }
  .hero, .page-hero { color: var(--ink); min-height: 0; }
  .hero::before, .page-hero::before, .hero__img, .page-hero__img { display: none; }
}
