/* =========================================================
   Lonibuild Carpentry — styles.css
   Timber + charcoal palette · natural smooth scroll
   ========================================================= */

:root {
  --ink: #211a13;
  --ink-2: #4a3d2f;
  --muted: #8a7a67;
  --brand: #c47a2c;
  --brand-bright: #e0a04a;
  --brand-deep: #8a531b;
  --brand-darker: #2a1c0d;
  --accent: #e0a04a;
  --ok: #3f7d5a;
  --paper: #f7f2ea;
  --cream: #efe6d8;
  --card: #fffdf9;

  --line: rgba(33, 26, 19, .12);
  --line-soft: rgba(33, 26, 19, .06);
  --sh-sm: 0 8px 22px rgba(33, 26, 19, .07);
  --sh-md: 0 16px 46px rgba(33, 26, 19, .12);
  --sh-lg: 0 34px 80px rgba(33, 26, 19, .18);
  --sh-brand: 0 10px 30px rgba(196, 122, 44, .30);

  --brand-rgb: 196, 122, 44;
  --bright-rgb: 224, 160, 74;
  --accent-rgb: 224, 160, 74;

  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 12px;
  --container: 1040px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 10px; left: 50%;
  transform: translateX(-50%) translateY(-160%);
  z-index: 90; background: var(--brand); color: #fff;
  padding: .7rem 1.1rem; border-radius: 999px; font-weight: 800;
  box-shadow: var(--sh-md); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); outline: none; }

/* ---------- Layering ---------- */
#world-canvas { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.world-tint {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 16%, rgba(224, 160, 74, .14), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(196, 122, 44, .12), transparent 35%),
    radial-gradient(circle at 50% 94%, rgba(138, 83, 27, .06), transparent 44%),
    linear-gradient(180deg, rgba(247, 242, 234, .30) 0%, rgba(247, 242, 234, .04) 44%, rgba(247, 242, 234, .22) 100%);
}
.site-header, .chapter-nav, .site-footer { position: relative; z-index: 4; }
main { position: relative; z-index: 2; }

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

/* =========================================================
   Typography helpers
   ========================================================= */
.eyebrow, .index-label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 900; text-transform: uppercase; color: var(--brand-deep);
}
.eyebrow { font-size: .78rem; letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); }
.index-label { font-size: .74rem; letter-spacing: .14em; }
.index-label::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.index-label--invert { color: var(--brand-bright); }

.section-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 850; letter-spacing: -.025em; line-height: 1.08;
  max-width: 17ch; color: var(--ink); margin-top: .45rem;
}
.group-label {
  font-size: .8rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep); margin: 2rem 0 .9rem;
  display: flex; align-items: center; gap: .7rem;
}
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.lead {
  font-size: clamp(.98rem, 1.1vw, 1.1rem);
  font-weight: 500; line-height: 1.55; color: var(--ink-2);
  max-width: 48ch; margin-top: .8rem;
}
.lead--light { color: rgba(247, 242, 234, .82); }

.accent { position: relative; color: var(--brand-deep); font-style: normal; white-space: nowrap; }
.accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.05em; height: .12em;
  border-radius: 2px; background: linear-gradient(90deg, var(--brand-bright), var(--brand));
  transform: scaleX(0); transform-origin: left center; transition: transform .9s var(--ease) .15s;
}
.accent.underlined::after { transform: scaleX(1); }
.accent--light { color: #fff; }
.accent--light::after { background: linear-gradient(90deg, #fff, var(--brand-bright)); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 46px; padding: .68rem 1.15rem; border-radius: 999px; font-size: .92rem;
  font-weight: 800; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .5); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep)); color: #fff; box-shadow: var(--sh-brand); }
.btn--ghost { background: rgba(255, 255, 255, .6); color: var(--brand-deep); border-color: rgba(var(--brand-rgb), .28); }

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center;
  background: var(--paper); transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: .9rem; width: min(280px, 78vw); }
.preloader__logo { width: 84px; height: auto; }
.preloader__caption { text-transform: uppercase; font-size: .8rem; font-weight: 900; letter-spacing: .18em; color: var(--brand-deep); }
.preloader__track { width: 100%; height: 3px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.preloader__bar { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); transition: width .5s var(--ease); }

/* =========================================================
   Scroll rail
   ========================================================= */
.scroll-rail { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; pointer-events: none; }
.scroll-rail__bar { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); box-shadow: 0 0 16px rgba(var(--bright-rgb), .45); }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); width: min(1040px, calc(100vw - 28px)); z-index: 40; }
.site-header__pill {
  display: flex; align-items: center; gap: 1rem; min-height: 64px;
  border-radius: 999px; background: rgba(255, 253, 249, .66);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 12px 38px rgba(33, 26, 19, .12);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  padding: .42rem .5rem .42rem .7rem; transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled .site-header__pill { background: rgba(255, 253, 249, .9); box-shadow: 0 16px 48px rgba(33, 26, 19, .16); }

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand__badge { width: 50px; height: 50px; border-radius: 50%; }
.brand__name { display: grid; line-height: 1; font-weight: 900; letter-spacing: -.02em; color: var(--ink); font-size: 1.12rem; }
.brand__name span { font-size: .66rem; font-weight: 800; letter-spacing: .22em; color: var(--brand-deep); margin-top: 3px; }

.primary-nav { display: flex; align-items: center; gap: .15rem; }
.primary-nav a { padding: .6rem .8rem; border-radius: 999px; color: var(--ink-2); font-size: .9rem; font-weight: 800; transition: background .25s var(--ease), color .25s var(--ease); }
.primary-nav a:hover, .primary-nav a.is-current { background: rgba(var(--brand-rgb), .1); color: var(--brand-deep); }

.header-cta { min-height: 44px; padding: .55rem 1rem; font-size: .9rem; white-space: nowrap; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep)); border: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: var(--sh-brand); }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  margin-top: .55rem; display: grid; gap: .3rem; padding: 1rem; border-radius: 22px;
  background: rgba(255, 253, 249, .94); border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: var(--sh-md); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: .8rem 1rem; border-radius: 12px; font-weight: 800; color: var(--ink-2); }
.mobile-menu a:not(.btn):hover { background: rgba(var(--brand-rgb), .1); color: var(--brand-deep); }
.mobile-menu .btn { margin-top: .35rem; }

/* =========================================================
   Chapter nav
   ========================================================= */
.chapter-nav { position: fixed; top: 50%; right: 22px; transform: translateY(-50%); z-index: 25; display: grid; gap: .5rem; }
.chapter-nav__item { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; background: none; border: none; cursor: pointer; padding: 2px; }
.chapter-nav__label { opacity: 0; transform: translateX(8px); font-size: .72rem; font-weight: 800; white-space: nowrap; color: var(--ink-2); background: rgba(255, 253, 249, .8); padding: .28rem .6rem; border-radius: 999px; box-shadow: var(--sh-sm); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.chapter-nav__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(33, 26, 19, .26); transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.chapter-nav__item:hover .chapter-nav__label, .chapter-nav__item.is-active .chapter-nav__label { opacity: 1; transform: translateX(0); }
.chapter-nav__item.is-active .chapter-nav__dot { transform: scale(1.5); background: var(--brand); box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .14), 0 0 20px rgba(var(--brand-rgb), .3); }
.chapter-nav.is-invert .chapter-nav__dot { background: rgba(255, 255, 255, .34); }
.chapter-nav.is-invert .chapter-nav__label { background: rgba(247, 242, 234, .9); color: var(--brand-darker); }
.chapter-nav.is-invert .chapter-nav__item.is-active .chapter-nav__dot { background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .16), 0 0 22px rgba(var(--bright-rgb), .6); }

/* =========================================================
   Section base (natural height, not full-page)
   ========================================================= */
main section {
  position: relative; padding: clamp(58px, 8vh, 92px) 24px;
  scroll-margin-top: calc(var(--header-h) + 30px);
}
main section > .container { position: relative; z-index: 2; }
section + section { border-top: 1px solid var(--line-soft); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: calc(var(--header-h) + 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: clamp(1.4rem, 3.5vw, 2.6rem); align-items: center; }
.hero-copy { display: grid; gap: .95rem; }
.hero-title { font-size: clamp(1.95rem, 4vw, 3.1rem); font-weight: 870; letter-spacing: -.03em; line-height: 1.05; max-width: 15ch; color: var(--ink); }
.hero-lead { max-width: 46ch; }
.hero-lead strong { color: var(--brand-deep); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .3rem; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding: 1rem 0 0; margin-top: .4rem; border-top: 1px solid var(--line); }
.hero-trust li { font-size: .9rem; font-weight: 700; color: var(--ink-2); }

.hero-card { border-radius: var(--r-xl); padding: 1.3rem; border: 1px solid rgba(var(--brand-rgb), .14); background: rgba(255, 253, 249, .72); box-shadow: var(--sh-md); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-card__eyebrow { font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-deep); }
.hero-card__title { font-size: 1.28rem; font-weight: 850; letter-spacing: -.02em; margin: .15rem 0 .3rem; }
.hero-card__text { color: var(--ink-2); font-size: .96rem; }
.mini-form { display: grid; gap: .55rem; margin-top: 1rem; }
.mini-form input, .mini-form select, .contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); -webkit-text-fill-color: var(--ink);
  caret-color: var(--brand-deep); cursor: text;
  font: inherit; font-size: .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.mini-form select, .contact-form select { cursor: pointer; }
.mini-form input::placeholder, .contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); opacity: 1; }
.mini-form input:focus, .mini-form select:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .16);
}
.mini-form .btn { margin-top: .15rem; }
.mini-form__note, .contact-form__note { font-size: .85rem; font-weight: 700; color: var(--ok); min-height: 1.1em; }
.form-hint { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.form-hint a { color: var(--brand-deep); font-weight: 800; }

/* Award badge */
.award { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.1rem; padding: .45rem .95rem .45rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 249, .72); box-shadow: var(--sh-sm); max-width: 100%; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.award:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.award img { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; }
.award span { display: grid; line-height: 1.25; font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.award strong { font-size: .9rem; color: var(--ink); font-weight: 850; }
.footer-award { display: inline-block; margin-top: 1.1rem; transition: transform .25s var(--ease); }
.footer-award:hover { transform: scale(1.04); }
.footer-award img { width: 92px; height: 92px; border-radius: 50%; }
/* Hero right column: award badge stacked above the quote card */
.hero-right { display: grid; gap: 1rem; align-content: center; }
.award--hero { margin-top: 0; justify-self: stretch; }
.award--hero img { width: 84px; height: 84px; }
.award--hero span { font-size: .86rem; }
.award--hero strong { font-size: .98rem; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.mini-form textarea { resize: vertical; min-height: 44px; }

/* File-upload field (both forms) */
.file-field { display: grid; gap: .3rem; padding: .55rem .7rem; border: 1px dashed rgba(var(--brand-rgb), .42); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s var(--ease); }
.file-field:hover { border-color: var(--brand); }
.file-field__label { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.file-field input[type="file"] { font-size: .78rem; color: var(--ink-2); cursor: pointer; max-width: 100%; }
.file-field input[type="file"]::file-selector-button { font: inherit; font-size: .76rem; font-weight: 800; color: var(--brand-deep); background: var(--cream); border: 1px solid rgba(var(--brand-rgb), .25); border-radius: 999px; padding: .3rem .7rem; margin-right: .6rem; cursor: pointer; }

.scroll-cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: grid; place-items: center; }
.scroll-cue__mouse { width: 24px; height: 36px; border: 2px solid rgba(var(--brand-rgb), .5); border-radius: 999px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-cue__dot { width: 4px; height: 8px; border-radius: 999px; background: var(--brand); animation: cueDot 1.6s var(--ease) infinite; }
@keyframes cueDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   SERVICES
   ========================================================= */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.service-card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 1.25rem; box-shadow: var(--sh-sm); display: grid; gap: .5rem; align-content: start;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(var(--brand-rgb), .35); }
.service-card__icon { width: 44px; height: 44px; background: var(--cream); border-radius: 12px; padding: 8px; }
.service-card h4 { font-size: 1rem; font-weight: 850; letter-spacing: -.01em; color: var(--ink); }
.service-card p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.services-cta { margin-top: 1.6rem; font-weight: 600; color: var(--ink-2); }
.services-cta a { color: var(--brand-deep); font-weight: 800; border-bottom: 2px solid rgba(var(--brand-rgb), .3); }

/* =========================================================
   WHY US (dark)
   ========================================================= */
.why-section { color: #f7f2ea; overflow: hidden; }
.why-section .section-heading { color: #fdf8f0; }
.why-section .index-label { color: var(--brand-bright); }
/* Opaque dark base — fallback shown only when the canvas is OFF (touch / reduced-motion).
   When the canvas is on, it paints this section's dark backdrop so inverted particles show. */
.why-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, #2a1c0d 0%, #3a2713 50%, #1c130a 100%);
}
body.canvas-on .why-section::before { background: transparent; }
/* Amber accent glow — always on, translucent so it sits over either backdrop */
.why-section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 14% 8%, rgba(224, 160, 74, .40), transparent 38%),
    radial-gradient(circle at 88% 86%, rgba(196, 122, 44, .24), transparent 42%);
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 1.6rem; }
.why-card {
  position: relative; z-index: 1;
  background: rgba(255, 253, 249, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg); padding: 1.1rem 1.05rem; display: grid; gap: .4rem; align-content: start;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
}
.why-card:hover { transform: translateY(-4px); background: rgba(255, 253, 249, .12); border-color: rgba(var(--bright-rgb), .5); }
.why-card__num { font-size: .78rem; font-weight: 900; letter-spacing: .1em; color: var(--brand-bright); }
.why-card h3 { font-size: 1.02rem; font-weight: 850; letter-spacing: -.01em; color: #fff; }
.why-card p { font-size: .88rem; color: rgba(247, 242, 234, .8); line-height: 1.5; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-track { width: 100%; height: 7px; border-radius: 999px; background: rgba(var(--brand-rgb), .12); margin: 1.6rem 0 1.3rem; overflow: hidden; }
.process-track__fill { display: block; height: 100%; width: 25%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); transition: width .5s var(--ease); }
.process-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  padding: 1.3rem; box-shadow: var(--sh-sm); display: grid; gap: .35rem; align-content: start;
  opacity: .68; transition: opacity .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.process-card.is-active { opacity: 1; transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(var(--brand-rgb), .35); }
.process-card__no { font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); }
.process-card h3 { font-size: 1.08rem; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.process-card p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

/* =========================================================
   OUR WORK
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 1.5rem; }
.work-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--sh-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.work-tile:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.work-tile img { position: absolute; top: 18px; left: 18px; width: 46px; height: 46px; background: rgba(255, 253, 249, .92); border-radius: 12px; padding: 8px; }
.work-tile figcaption { position: relative; z-index: 2; padding: .9rem 1rem; background: linear-gradient(180deg, transparent, rgba(33, 26, 19, .58)); color: #fff; display: grid; }
.work-tile figcaption strong { font-size: 1.02rem; font-weight: 850; }
.work-tile figcaption span { font-size: .82rem; opacity: .85; }
.work-tile.t1 { background: linear-gradient(150deg, #c47a2c, #8a531b); }
.work-tile.t2 { background: linear-gradient(150deg, #9c6a3a, #5e3f1c); }
.work-tile.t3 { background: linear-gradient(150deg, #b9883f, #6f4a1d); }
.work-tile.t4 { background: linear-gradient(150deg, #7d5a34, #43301a); }
.work-tile.t5 { background: linear-gradient(150deg, #a9772f, #6b451c); }
.work-tile.t6 { background: linear-gradient(150deg, #876140, #4a3526); }
.work-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); }

/* =========================================================
   REVIEWS
   ========================================================= */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.review-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 1.3rem; box-shadow: var(--sh-sm); display: grid; gap: .6rem; }
.review-card__stars { color: var(--brand); letter-spacing: 2px; font-size: 1rem; }
.review-card p { color: var(--ink); font-weight: 500; line-height: 1.55; font-size: .98rem; }
.review-card cite { color: var(--muted); font-style: normal; font-weight: 800; font-size: .85rem; }

/* =========================================================
   SERVICE AREAS
   ========================================================= */
.area-list { list-style: none; padding: 0; margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.area-list li {
  padding: .55rem 1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-weight: 700; font-size: .92rem; color: var(--ink-2); box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.area-list li:hover { transform: translateY(-2px); color: var(--brand-deep); border-color: rgba(var(--brand-rgb), .4); }
.area-note { margin-top: 1.3rem; font-weight: 600; color: var(--ink-2); max-width: 60ch; }
.area-note strong { color: var(--brand-deep); }
.area-note a { color: var(--brand-deep); font-weight: 800; border-bottom: 2px solid rgba(var(--brand-rgb), .3); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { margin-top: 1.5rem; display: grid; gap: .6rem; max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--sh-sm); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.05rem 1.2rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 700; color: var(--brand); transition: transform .3s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.2rem 1.1rem; color: var(--ink-2); line-height: 1.55; }
.faq-item__body a { color: var(--brand-deep); font-weight: 800; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  gap: clamp(1.4rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: var(--r-xl); color: #f7f2ea; box-shadow: var(--sh-lg); overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(224, 160, 74, .4), transparent 38%),
    linear-gradient(135deg, #2a1c0d 0%, #3a2713 52%, #1c130a 100%);
}
.contact-card__intro { display: grid; gap: .7rem; align-content: start; }
.contact-card .section-heading { color: #fff; }
.contact-card__text { color: rgba(247, 242, 234, .82); max-width: 42ch; }
.contact-list { list-style: none; padding: 0; display: grid; gap: .6rem; margin-top: .4rem; }
.contact-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: rgba(247, 242, 234, .92); }
.contact-list a { color: #fff; font-weight: 800; border-bottom: 1px solid rgba(255, 255, 255, .3); }

.contact-form { background: rgba(255, 253, 249, .96); border-radius: var(--r-lg); padding: 1.3rem; display: grid; gap: .8rem; box-shadow: var(--sh-md); }
.contact-form .field { display: grid; gap: .3rem; }
.contact-form label { font-size: .82rem; font-weight: 800; color: var(--ink-2); }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .btn { margin-top: .2rem; }
.contact-form__note { color: var(--ok); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: linear-gradient(135deg, #2a1c0d, #1c130a); color: rgba(247, 242, 234, .8); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding: 3rem 24px 2rem; }
.site-footer__brand img { width: 110px; height: auto; margin-bottom: .9rem; }
.site-footer__brand p { font-size: .92rem; line-height: 1.55; max-width: 34ch; }
.site-footer__col { display: grid; gap: .5rem; align-content: start; }
.site-footer__col h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-bright); margin-bottom: .3rem; }
.site-footer__col a, .site-footer__col span { color: rgba(247, 242, 234, .8); font-size: .92rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.site-footer__top { color: var(--brand-bright); font-weight: 900; }

/* =========================================================
   Mobile call bar
   ========================================================= */
.call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep)); color: #fff;
  font-weight: 800; text-align: center; box-shadow: 0 -8px 24px rgba(33, 26, 19, .2);
}

/* =========================================================
   Reveal system
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); will-change: opacity, transform; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
.revealed [data-reveal] { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) { .chapter-nav { display: none; } }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card { opacity: 1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  body { font-size: 15px; padding-bottom: 60px; }
  .site-header { top: 12px; width: calc(100vw - 22px); }
  .site-header__pill { min-height: 56px; }
  .brand__name { font-size: .98rem; }
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  main section { padding-left: 18px; padding-right: 18px; }
  .hero-title { font-size: clamp(1.8rem, 7.6vw, 2.5rem); }
  .section-heading { font-size: clamp(1.45rem, 6vw, 2rem); }
  .scroll-cue { display: none; }
  .service-grid, .work-grid { grid-template-columns: 1fr; }
  .why-grid, .process-grid { grid-template-columns: 1fr; }
  .contact-form .field-row { grid-template-columns: 1fr; }
  .accent { white-space: normal; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bar { flex-direction: column; gap: .5rem; text-align: center; }
  .call-bar { display: block; }
}

@media (max-width: 460px) {
  .hero-actions .btn, .mini-form .btn { width: 100%; }
  .contact-card { padding: 1.2rem; }
  .area-list li { font-size: .86rem; }
}

/* =========================================================
   Focus + reduced motion
   ========================================================= */
:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .55); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .accent::after { transform: scaleX(1) !important; }
  .scroll-cue { display: none; }
  #world-canvas { display: none; }
}
