/* ==========================================================================
   CK Sawmill — style.css
   Mobile-first. No framework. Sections are in page order.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --forest: #0e3b2c;
  --forest-deep: #072318;
  --forest-soft: #e6f0e6;
  --leaf: #4e9f3d;
  --charcoal: #1f2623;
  --wood: #8a5a2b;
  --orange: #e9741b;
  --amber: #f4a62a;
  --gold: #f6c445;
  --cream: #fbf5e9;
  --ivory: #fffcf6;
  --beige: #f2e8d5;
  --white: #ffffff;
  --ink: #1f2623;
  --muted: #55605a;
  --line: #e7dcc6;

  --grad-green: linear-gradient(150deg, #14513c 0%, #0e3b2c 45%, #072318 100%);
  --grad-orange: linear-gradient(120deg, #e9741b 0%, #f4a62a 100%);
  --grad-gold: linear-gradient(135deg, #f6c445 0%, #f4a62a 100%);

  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-card: 0 1px 2px rgba(14, 59, 44, .06), 0 12px 32px -12px rgba(14, 59, 44, .18);
  --shadow-float: 0 18px 40px -14px rgba(7, 35, 24, .45);

  --header-h: 72px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4.5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  /* ruler tick pattern — the measuring-tape motif used across the page */
  --ticks: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 10px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
figure { margin: 0; }
.hero__photo picture, .service__img picture, .g-item picture, .about__media picture { width: 100%; height: 100%; }
img { height: auto; font-size: .85rem; color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; color: var(--forest-deep); letter-spacing: -.02em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-weight: 800; font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--forest-deep); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.bg-cream { background: var(--cream); }
.bg-beige { background: linear-gradient(180deg, var(--cream), var(--beige)); }

/* section heading block */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.label::before { content: ""; width: 42px; height: 8px; background: var(--ticks); }
.on-dark .label { color: var(--gold); }
.head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.head--center { margin-inline: auto; text-align: center; }
.head p:not(.label) { margin-top: 16px; font-size: 1.15rem; color: var(--muted); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .head p:not(.label) { color: rgba(255, 255, 255, .78); }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.1; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-orange); color: #1b1305; box-shadow: 0 10px 24px -10px rgba(233, 116, 27, .8); }
.btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(233, 116, 27, .9); }
.btn--green { background: var(--forest); color: #fff; }
.btn--green:hover { background: var(--forest-deep); }
.btn--ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--ghost:hover { background: var(--forest); color: #fff; }
.btn--light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--forest-deep); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 4. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 35, 24, .45); border-color: var(--line); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); transition: height .25s ease; }
.header.is-scrolled .header__bar { height: 60px; }
.brand { display: inline-flex; align-items: center; flex: none; }
/* The logo file is never altered — only scaled proportionally. */
.brand img { height: 56px; width: auto; transition: height .25s ease; }
.header.is-scrolled .brand img { height: 46px; }

.nav { display: none; }
.header__cta { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 12px; background: var(--forest); color: #fff;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--grad-green); color: #fff;
  padding: 28px var(--gutter) 120px;
  overflow-y: auto;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
}
.drawer.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer a.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-decoration: none;
}
.drawer a.drawer__link .icon { color: var(--gold); }
.drawer .btn-row { margin-top: 28px; }
.drawer .btn { flex: 1 1 100%; }

@media (min-width: 1120px) {
  .nav { display: block; }
  .nav ul { display: flex; gap: 4px; }
  .nav a {
    position: relative; display: block; padding: 10px 12px;
    font-family: var(--font-head); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--charcoal);
  }
  .nav a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 6px;
    background: var(--ticks); color: var(--orange);
    transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
  }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .nav a.is-active { color: var(--forest); }
  .header__cta { display: flex; gap: 10px; }
  .nav-toggle, .drawer { display: none; }
}

/* ---------- 5. Hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero::before { /* growth rings, top-left */
  content: ""; position: absolute; left: -220px; top: -260px; width: 620px; height: 620px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(138, 90, 43, .10) 22px 24px);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 44px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; color: var(--forest);
}
.badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-orange); box-shadow: 0 0 0 4px rgba(233, 116, 27, .18); }
.hero h1 { margin-top: 22px; }
.hero h1 span { display: inline; }
@media (max-width: 959px) { .hero h1 span { display: block; } }
.hero__rule { width: 132px; height: 12px; margin-top: 24px; background: var(--ticks); color: var(--orange); border-bottom: 2px solid var(--orange); }
.hero__lead { margin-top: 22px; max-width: 560px; font-size: 1.2rem; color: var(--muted); }
.hero .btn-row { margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .98rem; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .icon { color: var(--leaf); }

.hero__visual { position: relative; padding: 22px 0 34px 22px; }
.hero__visual::before { /* green panel behind photo */
  content: ""; position: absolute; inset: 0 -40vw 0 64px; border-radius: var(--r-lg) 0 0 var(--r-lg);
  background: var(--grad-green);
}
.hero__blade { position: absolute; right: -70px; top: -60px; width: 240px; height: 240px; color: var(--amber); opacity: .9; }
.hero__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-float); aspect-ratio: 6 / 5; background: var(--beige); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__dim { /* dimension line under photo */
  position: relative; display: flex; align-items: center; gap: 10px; margin: 14px 8px 0 0;
  color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}
.hero__dim::before, .hero__dim::after { content: ""; flex: 1; height: 8px; background: var(--ticks); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float);
  font-family: var(--font-head); line-height: 1.25;
}
.float-card strong { display: block; font-weight: 800; font-size: .95rem; color: var(--forest-deep); }
.float-card span { font-family: var(--font-body); font-size: .88rem; color: var(--muted); }
.float-card .chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-orange); color: #1b1305; }
.float-card--loc { left: 0; bottom: 64px; }
.float-card--cut { right: 10px; top: 0; background: var(--forest-deep); }
.float-card--cut strong { color: #fff; font-size: .85rem; }
.float-card--cut .chip { background: var(--grad-gold); width: 34px; height: 34px; border-radius: 10px; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .hero__photo { aspect-ratio: 1 / 1.02; }
  .float-card--loc { left: -18px; bottom: 90px; }
  .float-card--cut { right: 24px; top: 4px; }
}

/* one orchestrated load sequence */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .hero__blade { animation: spin-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .float-card--loc { animation: bob 6s ease-in-out 1.4s infinite; }
  .float-card--cut { animation: bob 7s ease-in-out 2s infinite reverse; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes spin-in { from { transform: rotate(-120deg) scale(.7); opacity: 0; } to { transform: none; opacity: .9; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* ---------- 6. Trust strip ---------- */
.trust { position: relative; z-index: 3; margin-top: -40px; padding-bottom: 8px; }
.trust__list { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); grid-template-columns: 1fr; }
.trust__item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px; background: #fff; }
.trust__item .chip { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; color: #fff; }
.trust__item:nth-child(1) .chip { background: var(--wood); }
.trust__item:nth-child(2) .chip { background: var(--orange); }
.trust__item:nth-child(3) .chip { background: var(--forest); }
.trust__item:nth-child(4) .chip { background: var(--leaf); }
.trust__item h3 { font-size: 1.02rem; }
.trust__item p { margin-top: 4px; font-size: .96rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 640px) { .trust__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 7. About ---------- */
.about__grid { display: grid; gap: 44px; align-items: center; }
.about__media { position: relative; padding: 0 0 26px 26px; }
.about__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; border-radius: var(--r-lg); background: var(--grad-orange); }
.about__media picture, .about__media > img { position: relative; }
.about__media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 10 / 8; object-fit: cover; box-shadow: var(--shadow-card); background: var(--beige); }
.about__stamp {
  position: absolute; right: -6px; top: -18px; display: grid; place-items: center; text-align: center;
  width: 112px; height: 112px; border-radius: 50%; background: var(--forest-deep); color: #fff;
  font-family: var(--font-head); box-shadow: var(--shadow-float); border: 4px solid var(--ivory);
}
.about__stamp small { display: block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.about__stamp b { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1; margin-top: 2px; }
.about__body p:not(.label) { margin-top: 18px; color: var(--muted); }
.about__body h2 + p:not(.label) { font-size: 1.18rem; color: var(--ink); }
.about__points { display: grid; gap: 10px; margin-top: 24px; }
.about__points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.about__points .icon { color: var(--leaf); margin-top: 3px; }
.about__body .btn { margin-top: 30px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- 8. Key values ---------- */
.values { padding-top: 0; }
.values__grid { display: grid; gap: 20px; }
.value { position: relative; overflow: hidden; padding: 34px 30px 36px; border-radius: var(--r-lg); color: #fff; min-height: 260px; display: flex; flex-direction: column; }
.value::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 14px, rgba(255, 255, 255, .13) 14px 16px); }
.value--green { background: var(--grad-green); }
.value--orange { background: linear-gradient(140deg, #d9600f, #f09424); }
.value--gold { background: var(--grad-gold); color: var(--forest-deep); }
.value--gold::after { background: repeating-radial-gradient(circle, transparent 0 14px, rgba(7, 35, 24, .10) 14px 16px); }
.value__top { display: flex; align-items: center; justify-content: space-between; }
.value__num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; opacity: .4; }
.value .chip { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .16); }
.value--gold .chip { background: rgba(7, 35, 24, .1); }
.value .chip .icon { width: 28px; height: 28px; }
.value h3 { margin-top: auto; padding-top: 34px; font-size: 1.45rem; color: inherit; }
.value p { position: relative; z-index: 1; margin-top: 10px; opacity: .92; }
@media (min-width: 820px) { .values__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 9. Services ---------- */
.services__grid { display: grid; gap: 22px; }
.service { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgba(14, 59, 44, .4); }
.service__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--beige); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__img img { transform: scale(1.06); }
.service__num { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--grad-orange); color: #1b1305; font-family: var(--font-head); font-weight: 800; font-size: .82rem; }
.service__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.service__body p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.service__body a { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--forest); text-decoration: none; }
.service__body a .icon { transition: transform .2s ease; color: var(--orange); }
.service__body a:hover .icon { transform: translateX(4px); }
@media (min-width: 640px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 10. Timber ---------- */
.timber__grid { display: grid; gap: 20px; }
.timber-card { position: relative; overflow: hidden; border-radius: var(--r-md); min-height: 380px; display: flex; align-items: flex-end; color: #fff; background: var(--wood); isolation: isolate; }
.timber-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.timber-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 35, 24, 0) 25%, rgba(7, 35, 24, .55) 58%, rgba(7, 35, 24, .94) 100%); }
.timber-card:hover img { transform: scale(1.07); }
.timber-card__body { padding: 26px 24px; width: 100%; }
.timber-card h3 { color: #fff; font-size: 1.4rem; }
.timber-card p { margin-top: 8px; font-size: .98rem; color: rgba(255, 255, 255, .86); }
.timber-card .btn { margin-top: 18px; }
.timber__foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 22px 26px; border-radius: var(--r-md); background: #fff; border: 1px dashed var(--wood); }
.timber__foot p { color: var(--muted); max-width: 640px; }
@media (min-width: 640px) { .timber__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .timber__grid { grid-template-columns: repeat(4, 1fr); } .timber-card { min-height: 440px; } }

/* ---------- 11. Custom cutting ---------- */
.cutting { position: relative; color: #fff; background: var(--forest-deep); overflow: hidden; isolation: isolate; }
.cutting__bg { position: absolute; inset: 0; z-index: -2; }
.cutting__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.cutting::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 35, 24, .97) 0%, rgba(14, 59, 44, .88) 48%, rgba(14, 59, 44, .55) 100%); }
.cutting__blade { position: absolute; right: -180px; bottom: -200px; width: 560px; height: 560px; color: var(--orange); opacity: .5; z-index: -1; }
.cutting__grid { display: grid; gap: 44px; align-items: center; }
.cutting__lead { margin-top: 18px; font-size: 1.2rem; color: rgba(255, 255, 255, .84); max-width: 520px; }
.cutting .btn { margin-top: 30px; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(4px); }
.steps b { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-orange); color: #1b1305; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.steps h3 { color: #fff; font-size: 1.08rem; }
.steps p { font-size: .95rem; color: rgba(255, 255, 255, .74); margin-top: 2px; }
@media (min-width: 900px) { .cutting__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- 12. Why ---------- */
.why__grid { display: grid; gap: 40px; align-items: start; }
.why__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--beige); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__media figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 252, 246, .95); font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--forest-deep); }
.why__cards { display: grid; gap: 16px; }
.why-card { padding: 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.why-card:hover { transform: translateY(-3px); border-color: var(--c, var(--orange)); }
.why-card .chip { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: var(--c, var(--orange)); }
.why-card h3 { margin-top: 16px; font-size: 1.1rem; }
.why-card p { margin-top: 6px; color: var(--muted); font-size: .98rem; }
.c-wood { --c: #8a5a2b; } .c-orange { --c: #e9741b; } .c-forest { --c: #0e3b2c; } .c-leaf { --c: #3f8a30; } .c-amber { --c: #c77d0a; } .c-char { --c: #1f2623; }
@media (min-width: 560px) { .why__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why__grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } .why__media { aspect-ratio: 4 / 5; position: sticky; top: 96px; } }

/* ---------- 13. Process ---------- */
.process__list { position: relative; display: grid; gap: 0; }
.process__list::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 8px; color: var(--wood); opacity: .5; background: repeating-linear-gradient(180deg, currentColor 0 2px, transparent 2px 10px); }
.process__step { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 14px 0; }
.process__dot { position: relative; flex: none; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); color: var(--forest); box-shadow: 0 0 0 8px var(--cream); }
.process__dot .icon { width: 30px; height: 30px; }
.process__step:nth-child(even) .process__dot { border-color: var(--forest); color: var(--orange); }
.process__step:last-child .process__dot { background: var(--grad-green); border-color: var(--forest); color: var(--gold); }
.process__num { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .12em; color: var(--orange); }
.process__step h3 { margin-top: 2px; }
.process__step p { margin-top: 6px; color: var(--muted); font-size: .98rem; max-width: 420px; }
@media (min-width: 960px) {
  .process__list { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .process__list::before { left: 10%; right: 10%; top: 31px; bottom: auto; width: auto; height: 8px; background: var(--ticks); }
  .process__step { flex-direction: column; align-items: center; text-align: center; padding: 0; }
  .process__step p { max-width: 210px; }
}

/* ---------- 14. Gallery ---------- */
.gallery__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; }
.g-item { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: var(--r-md); background: var(--beige); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 35, 24, .75)); opacity: 0; transition: opacity .25s ease; }
.g-item__cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: .9rem; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.g-item__cap .chip { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-orange); color: #1b1305; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after, .g-item:hover .g-item__cap, .g-item:focus-visible .g-item__cap { opacity: 1; transform: none; }
.g-tall { grid-row: span 2; } .g-wide { grid-column: span 2; } .g-big { grid-column: span 2; grid-row: span 2; }
@media (hover: none) { .g-item::after, .g-item__cap { opacity: 1; transform: none; } }
@media (min-width: 760px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 18px; } }
.gallery__foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(4, 20, 14, .94); }
.lightbox__inner { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 16px; gap: 12px; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox__cap { text-align: center; font-size: 1rem; color: rgba(255, 255, 255, .85); padding-bottom: 8px; }
.lb-btn { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; }
.lb-btn:hover { background: var(--orange); border-color: var(--orange); color: #1b1305; }
.lb-btn--prev, .lb-btn--next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-btn--prev { left: 0; } .lb-btn--next { right: 0; }

/* ---------- 15. Testimonials ---------- */
.testi { background: var(--grad-green); color: #fff; position: relative; overflow: hidden; }
.testi::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 24px, rgba(255, 255, 255, .06) 24px 26px); }
.testi__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; position: relative; }
.testi__head .head { margin-bottom: 0; }
.testi__nav { display: flex; gap: 10px; }
.testi__track { position: relative; display: flex; gap: 20px; margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.testi__track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 min(88%, 420px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-lg); background: var(--ivory); color: var(--ink); }
.quote .icon { width: 40px; height: 40px; color: var(--orange); }
.quote blockquote { margin: 18px 0 0; font-size: 1.12rem; line-height: 1.6; }
.quote footer { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 14px; }
.quote__av { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-orange); color: #1b1305; font-family: var(--font-head); font-weight: 800; }
.quote cite { font-style: normal; font-family: var(--font-head); font-weight: 700; display: block; color: var(--forest-deep); }
.quote footer span span { font-size: .92rem; color: var(--muted); }
@media (min-width: 1100px) { .quote { flex-basis: calc((100% - 40px) / 3); } .testi__nav { display: none; } }

/* ---------- 16. Contact ---------- */
.contact__grid { display: grid; gap: 32px; }
.contact__list { display: grid; gap: 14px; margin-top: 8px; }
.c-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
a.c-row:hover { border-color: var(--orange); transform: translateX(4px); }
.c-row .chip { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--forest); color: #fff; }
.c-row--wa .chip { background: #1faa59; }
.c-row--mail .chip { background: var(--orange); }
.c-row--pin .chip { background: var(--wood); }
.c-row small { display: block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-row strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(.92rem, 4.2vw, 1.08rem); color: var(--forest-deep); overflow-wrap: anywhere; }
.c-row address { line-height: 1.5; color: var(--ink); margin-top: 2px; }
.contact .btn-row { margin-top: 22px; }

.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); border-top: 6px solid var(--orange); }
.form h3 { font-size: 1.5rem; }
.form > p { margin-top: 6px; color: var(--muted); }
.form__grid { display: grid; gap: 18px; margin-top: 24px; }
.field label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--forest-deep); }
.field label span { font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid #d8cdb6; background: var(--ivory);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3b2c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(78, 159, 61, .22); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
.field__err { display: none; margin-top: 6px; font-size: .9rem; color: #b3261e; font-weight: 600; }
.field [aria-invalid="true"] ~ .field__err { display: block; }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; margin-top: 22px; border: 0; }
.form__note { margin-top: 12px; font-size: .9rem; color: var(--muted); text-align: center; }
.form__status { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form__status.is-ok { display: block; background: var(--forest-soft); color: var(--forest); }
.form__status.is-err { display: block; background: #fdeceb; color: #8c1d18; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
@media (min-width: 960px) { .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }

.map { margin-top: 40px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--beige); }
.map iframe { width: 100%; height: clamp(280px, 40vw, 420px); border: 0; }

/* ---------- 17. Final CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; padding-block: clamp(72px, 10vw, 128px); background: linear-gradient(115deg, #072318 0%, #0e3b2c 42%, #b8570f 82%, #e9741b 100%); }
.cta__bg { position: absolute; inset: 0; z-index: -1; mix-blend-mode: overlay; opacity: .5; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta h2 { color: #fff; max-width: 820px; margin-inline: auto; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta p { margin: 18px auto 0; max-width: 560px; font-size: 1.2rem; color: rgba(255, 255, 255, .88); }
.cta .btn-row { margin-top: 34px; justify-content: center; }

/* ---------- 18. Footer ---------- */
.footer { background: #0a1712; color: rgba(255, 255, 255, .74); padding-top: clamp(56px, 8vw, 88px); font-size: 1rem; }
.footer__grid { display: grid; gap: 40px; }
/* the logo sits on a light plate so its original colours are untouched */
.footer__logo { display: inline-block; padding: 12px 16px; border-radius: 16px; background: var(--ivory); }
.footer__logo img { height: 84px; width: auto; }
.footer__tag { margin-top: 18px; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer__about { margin-top: 10px; max-width: 320px; }
.footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a { text-decoration: none; transition: color .15s ease; }
.footer a:hover { color: var(--amber); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--amber); margin-top: 4px; }
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 20px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.social:hover { background: var(--orange); border-color: var(--orange); color: #1b1305 !important; }
.footer__bottom { margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .92rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr .8fr .9fr 1.3fr; gap: 48px; } }

/* ---------- 19. Mobile action bar ---------- */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -14px rgba(7, 35, 24, .4); padding-bottom: env(safe-area-inset-bottom, 0px); }
.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-decoration: none; color: var(--forest-deep); }
.actionbar a + a { border-left: 1px solid var(--line); }
.actionbar .icon { width: 22px; height: 22px; }
.actionbar .ab-wa { color: #147a3e; }
.actionbar .ab-quote { background: var(--grad-orange); color: #1b1305; }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1120px) { .actionbar { display: none; } body { padding-bottom: 0; } }

/* ---------- 20. Scroll reveal (progressive: only when JS adds .js) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- 21. Small phones ---------- */
@media (max-width: 380px) {
  .btn { padding-inline: 20px; width: 100%; }
  .float-card--cut { display: none; }
  .hero__visual { padding-left: 12px; }
  .float-card--loc { bottom: 56px; }
}
@media print { .header, .actionbar, .drawer, .lightbox, .cta { display: none !important; } body { padding: 0; } }
