/* AJS & Daughter Landscaping & Fencing
   Palette from materials: bark (wet green-black), moss, cedar (fresh-cut timber), stone (sandstone paving).
   Display: Young Serif. Body: Figtree. No mono anywhere. */

@font-face { font-family: 'Young Serif'; src: url('../fonts/young-serif.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../fonts/figtree-var.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../fonts/figtree-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bark: #161A15;
  --bark-2: #1F2620;
  --moss: #2E4A36;
  --moss-2: #253C2C;
  --cedar: #C2803E;
  --cedar-lt: #E2B27A;
  --cedar-dk: #9E6528;
  --stone: #E7E3DA;
  --stone-2: #D8D2C4;
  --stone-3: #C9C1B0;
  --ink: #161A15;
  --ink-soft: #454B44;
  --mist: #F3F1EC;
  --mist-soft: rgba(243,241,236,.72);

  --display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --sec: clamp(5rem, 9vw, 8.5rem);
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--cedar); outline-offset: 3px; }
::selection { background: var(--cedar); color: var(--mist); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec--stone { background: var(--stone); color: var(--ink); }
.sec--moss { background: var(--moss); color: var(--mist); }
.sec--bark { background: var(--bark); color: var(--mist); }

/* Type */
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 1.25rem;
}
.sec--moss .lead, .sec--bark .lead, .work .lead { color: var(--mist-soft); }
.sec__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec__head .lead { margin-top: 0; }
.prose p + p { margin-top: 1.1em; }
.prose { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.65; }

/* SplitText masks: padded so descenders and serifs are never cut */
.ln-mask { padding: .3em .14em .38em; margin: -.3em -.14em -.38em; }
.wd-mask { padding: .3em .12em .38em; margin: -.3em -.12em -.38em; display: inline-block; }

/* Buttons */
.btn {
  --bg: var(--bark); --fg: var(--mist); --bd: var(--bark);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .25s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn::after { content: ''; width: .55em; height: .55em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease); }
.btn:hover::after { transform: translateX(.25em) rotate(45deg); }
.btn--cedar { --bg: var(--cedar); --fg: var(--mist); --bd: var(--cedar); box-shadow: 0 12px 30px -14px rgba(194,128,62,.7); }
.btn--cedar:hover { --bg: var(--cedar-dk); --bd: var(--cedar-dk); }
.btn--ghost { --bg: transparent; --fg: var(--mist); --bd: rgba(243,241,236,.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(243,241,236,.12); --bd: var(--mist); }
.btn--bark:hover { --bg: var(--moss); --bd: var(--moss); }
.btn--lg { padding: 1.1em 2.1em; font-size: 1.05rem; }
.link-arrow { font-weight: 600; text-decoration: none; position: relative; padding-bottom: .15em; }
.link-arrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--cedar); transform-origin: left; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: scaleX(.4); }

/* Intro curtain */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none; }
.intro__panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--bark); }
.intro__panel--l { left: 0; }
.intro__panel--r { right: 0; }
.intro__mark { position: relative; width: clamp(80px, 12vw, 140px); height: auto; opacity: 0; }
html.no-js .intro, html.reduced .intro { display: none; }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { html.js:not(.reduced) .cursor { display: block; } }
.cursor__ring { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--cedar); border-radius: 50%; transition: transform .35s var(--ease), background .35s var(--ease), opacity .3s; mix-blend-mode: difference; }
.cursor__dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cedar); border-radius: 50%; }
.cursor.is-hover .cursor__ring { transform: scale(1.7); background: rgba(194,128,62,.12); }
html.cursor-on body { cursor: none; }
html.cursor-on a, html.cursor-on button { cursor: none; }

/* Header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease); }
.hdr::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(22,26,21,.72), rgba(22,26,21,0)); pointer-events: none; opacity: 1; transition: opacity .45s; }
.hdr.is-scrolled { background: rgba(22,26,21,.92); backdrop-filter: blur(12px); box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.hdr.is-scrolled::before { opacity: 0; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar { position: relative; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 96px; transition: height .4s var(--ease); }
.hdr.is-scrolled .hdr__bar { height: 76px; }
.hdr__logo { display: block; flex: 0 0 auto; position: relative; z-index: 70; }
.hdr__logo img { width: clamp(200px, 20vw, 290px); height: auto; transition: width .4s var(--ease); }
.hdr.is-scrolled .hdr__logo img { width: clamp(180px, 16vw, 240px); }

.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav__list { display: flex; align-items: center; gap: .2rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .6em .85em; border: 0; background: none; border-radius: 999px;
  color: var(--mist); font-weight: 500; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: rgba(243,241,236,.1); }
.nav__chev { transition: transform .3s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.sub {
  position: absolute; left: 0; top: calc(100% + 10px); min-width: 260px;
  background: var(--mist); color: var(--ink); border-radius: 10px; padding: .6rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(22,26,21,.06);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub::after { content: ''; position: absolute; left: 28px; top: -6px; width: 12px; height: 12px; background: var(--mist); transform: rotate(45deg); border-radius: 2px; }
.nav__item.is-open > .sub { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.sub__list a { display: flex; align-items: center; gap: .6em; padding: .7em .9em; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: .96rem; transition: background .25s, color .25s; }
.sub__list a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cedar); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .25s var(--ease); }
.sub__list a:hover { background: var(--stone); }
.sub__list a:hover::before { opacity: 1; transform: scale(1); }
.nav__cta { font-size: .92rem; padding: .8em 1.4em; }

.burger { display: none; width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; cursor: pointer; position: relative; z-index: 70; }
.burger span { position: absolute; left: 12px; width: 24px; height: 2px; background: var(--mist); border-radius: 2px; transition: transform .35s var(--ease), opacity .3s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 30px; }
.hdr.is-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.hdr.is-open .burger span:nth-child(2) { opacity: 0; }
.hdr.is-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .hdr__bar { height: 80px; }
  .hdr.is-scrolled .hdr__bar { height: 68px; }
  .nav {
    position: fixed; inset: 0; z-index: 65; background: var(--bark); color: var(--mist);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 100px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-2%);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
  }
  .hdr.is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid rgba(243,241,236,.12); }
  .nav__item { border-bottom: 1px solid rgba(243,241,236,.12); }
  .nav__link { width: 100%; justify-content: space-between; padding: 1.05em .2em; font-family: var(--display); font-size: 1.5rem; font-weight: 400; border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: none; color: var(--cedar-lt); }
  .nav__chev { width: 18px; height: 18px; }
  .sub { position: static; min-width: 0; background: none; color: var(--mist); box-shadow: none; padding: 0 0 .6rem .4rem; border-radius: 0;
    transform: none; opacity: 1; visibility: visible; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .sub::before, .sub::after { display: none; }
  .sub__list { overflow: hidden; min-height: 0; }
  .nav__item.is-open > .sub { grid-template-rows: 1fr; }
  .sub__list a { padding: .55em .4em; font-size: 1.05rem; color: var(--mist-soft); }
  .sub__list a:hover { background: none; color: var(--mist); }
  .nav__cta { margin-top: 1.6rem; align-self: flex-start; font-size: 1rem; padding: 1em 1.8em; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--mist); background: var(--bark); overflow: clip; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
html.no-js .hero__video, html.reduced .hero__video { display: none; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(22,26,21,.92) 0%, rgba(22,26,21,.55) 38%, rgba(22,26,21,.15) 70%, rgba(22,26,21,.35) 100%); }
.hero__inner { position: relative; padding-top: 140px; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.9rem, 1.2rem + 7.2vw, 8rem);
  line-height: .98; letter-spacing: -.02em; text-wrap: balance;
  max-width: 14ch;
}
.hero__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.hero__lead { font-size: clamp(1.05rem, .95rem + .55vw, 1.35rem); line-height: 1.55; color: var(--mist-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
.hero__trust { position: relative; display: flex; flex-wrap: wrap; gap: .5rem 2.4rem; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding: 1.2rem 0 clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid rgba(243,241,236,.18); font-size: .95rem; font-weight: 500; color: var(--mist-soft); }
.hero__trust li { display: flex; align-items: center; gap: .6em; }
.hero__trust li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cedar); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(1.6rem, 3vw, 2.4rem); width: 1px; height: 64px; background: rgba(243,241,236,.2); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--cedar-lt); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
@media (max-width: 900px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__cta { justify-content: flex-start; }
  .hero__title { max-width: none; }
  .hero__scroll { display: none; }
  .hero__video, .hero__poster { object-position: 35% 55%; }
}

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); perspective: 1400px; }
.card { position: relative; transform-style: preserve-3d; }
.card__link { display: block; position: relative; overflow: hidden; border-radius: 10px; background: var(--bark); color: var(--mist); text-decoration: none; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(22,26,21,.55); transform-style: preserve-3d; isolation: isolate; }
.card__media { position: absolute; inset: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); transform: scale(1.02); }
.card__link:hover .card__media img { transform: scale(1.09); }
.card__link::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(22,26,21,.97) 0%, rgba(22,26,21,.78) 32%, rgba(22,26,21,.35) 58%, rgba(22,26,21,0) 82%); transition: opacity .5s; }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.2rem, 2vw, 1.8rem); transform: translateZ(30px); text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.card__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; }
.card__body p { margin-top: .6rem; color: var(--mist-soft); font-size: .98rem; line-height: 1.5; transform: translateY(6px); transition: transform .6s var(--ease), color .4s; }
.card__link:hover .card__body p, .card__link:focus-visible .card__body p { transform: none; color: var(--mist); }
.card__more { display: inline-flex; align-items: center; gap: .5em; margin-top: .9rem; font-weight: 600; font-size: .9rem; color: var(--cedar-lt); }
.card__more::after { content: ''; width: .5em; height: .5em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease); }
.card__link:hover .card__more::after { transform: translateX(.3em) rotate(45deg); }
.card__glare { position: absolute; inset: -40%; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), rgba(255,255,255,0) 40%); opacity: 0; transition: opacity .4s; pointer-events: none; mix-blend-mode: screen; }
.card.is-tilting .card__glare { opacity: 1; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card__link { aspect-ratio: 4 / 4.4; } }
@media (max-width: 900px) { .sec__head { grid-template-columns: 1fr; align-items: start; } }

/* Before / after signature */
.ba { background: var(--bark); color: var(--mist); }
.ba__pin { position: relative; }
.ba__stage { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.ba__layer { position: absolute; inset: 0; margin: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ba__layer--after { clip-path: inset(0 0 0 0); }
html.js:not(.reduced) .ba.is-live .ba__layer--after { clip-path: inset(0 100% 0 0); }
.ba__tag { position: absolute; top: clamp(1.2rem, 4vw, 2.5rem); padding: .5em 1em; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; background: rgba(22,26,21,.7); color: var(--mist); backdrop-filter: blur(6px); }
.ba__tag--before { left: var(--gutter); }
.ba__tag--after { right: var(--gutter); background: var(--cedar); }
.ba__seam { position: absolute; top: 0; bottom: 0; left: 0%; width: 3px; margin-left: -1.5px; background: var(--mist); box-shadow: 0 0 24px rgba(0,0,0,.5); display: none; }
html.js:not(.reduced) .ba.is-live .ba__seam { display: block; }
.ba__handle { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--mist); box-shadow: 0 10px 30px rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; gap: 8px; }
.ba__handle i { width: 8px; height: 8px; border-left: 2px solid var(--bark); border-bottom: 2px solid var(--bark); transform: rotate(45deg); }
.ba__handle i:last-child { transform: rotate(-135deg); }
.ba__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(6rem, 12vw, 9rem) 0 clamp(2rem, 4vw, 3.5rem); background: linear-gradient(to top, rgba(22,26,21,.9), rgba(22,26,21,.55) 55%, rgba(22,26,21,0)); }
.ba__copy .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.ba__title { font-size: clamp(2rem, 1.3rem + 3vw, 4rem); }
.ba__text { font-size: clamp(1rem, .95rem + .35vw, 1.2rem); color: var(--mist-soft); line-height: 1.55; }
.ba__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(243,241,236,.15); }
.ba__progress i { display: block; height: 100%; width: 0; background: var(--cedar); }
html.no-js .ba__stage, html.reduced .ba__stage { height: auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; }
html.no-js .ba__layer, html.reduced .ba__layer { position: relative; }
html.no-js .ba__copy, html.reduced .ba__copy { position: relative; grid-column: 1 / -1; background: none; padding: 3rem 0; }
html.no-js .ba__progress, html.reduced .ba__progress { display: none; }
@media (max-width: 900px) {
  .ba__copy .wrap { grid-template-columns: 1fr; gap: 1rem; }
  .ba__stage { min-height: 560px; }
  html.no-js .ba__stage, html.reduced .ba__stage { grid-template-columns: 1fr; }
}

/* Frames for standalone images */
.frame { position: relative; border-radius: 6px; overflow: hidden; background: var(--stone-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--offset { aspect-ratio: 7 / 5; }
.frame--offset::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(243,241,236,.55); border-radius: 3px; pointer-events: none; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--tall::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(243,241,236,.55); border-radius: 3px; pointer-events: none; }

/* About */
.about { overflow: clip; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__copy .prose { margin-top: 1.6rem; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.about__media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.about__media .frame { box-shadow: 0 40px 80px -40px rgba(22,26,21,.5); }
.about__media::before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border: 2px solid var(--cedar); border-radius: 6px; z-index: 0; }
.about__media .frame { position: relative; z-index: 1; }
.about__mark { position: absolute; right: -6%; bottom: -4%; width: clamp(110px, 14vw, 180px); opacity: .12; z-index: 2; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .about__media { padding-left: 1.5rem; padding-bottom: 1.5rem; } }

/* Built properly */
.built { overflow: clip; isolation: isolate; }
.built__bg { position: absolute; inset: -12% 0; z-index: -1; opacity: .16; }
.built__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6); }
.built::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 80% 0%, rgba(194,128,62,.18), transparent 60%); }
.built__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.built__head .lead { margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.stat { padding: clamp(1.4rem, 2vw, 2rem); border-radius: 10px; background: rgba(22,26,21,.35); border: 1px solid rgba(243,241,236,.1); backdrop-filter: blur(4px); }
.stat__num { display: flex; align-items: baseline; gap: .1em; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 1; color: var(--cedar-lt); }
.stat__num small { font-size: .38em; font-family: var(--body); font-weight: 600; color: var(--mist-soft); }
.stat__label { display: block; margin-top: .6rem; font-weight: 700; font-size: 1rem; }
.stat p { margin-top: .5rem; color: var(--mist-soft); font-size: .95rem; line-height: 1.5; }
.ticks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 2rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.6rem; border-top: 1px solid rgba(243,241,236,.15); font-weight: 500; }
.ticks li { display: flex; align-items: flex-start; gap: .7em; }
.ticks li::before { content: ''; flex: 0 0 auto; width: 1em; height: 1em; margin-top: .3em; border-radius: 50%; background: var(--cedar); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23F3F1EC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 70%; background-position: center; background-repeat: no-repeat; }
@media (max-width: 1000px) { .stats, .ticks { grid-template-columns: repeat(2, 1fr); } .built__head { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .ticks { grid-template-columns: 1fr; } }

/* Work stage */
.work { background: var(--bark); color: var(--mist); padding-top: var(--sec); }
.work__intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.work__intro .lead { margin-top: 0; }
.work__pin { position: relative; }
.work__stage { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--bark); }
.work__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; }
.work__slide.is-active { opacity: 1; visibility: visible; }
.work__slide img { width: 100%; height: 100%; object-fit: cover; }
.work__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,26,21,.85), rgba(22,26,21,.2) 45%, rgba(22,26,21,.1)); }
.work__slide figcaption { display: none; }
.work__caption { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 80px); bottom: clamp(2.5rem, 6vw, 4.5rem); z-index: 3; }
.work__tag { display: inline-block; padding: .4em .9em; border-radius: 999px; background: var(--cedar); color: var(--mist); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.work__title { margin-top: .8rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.05; text-wrap: balance; }
.work__count { position: absolute; left: var(--gutter); top: clamp(1.5rem, 4vw, 2.5rem); z-index: 3; display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.1rem; }
.work__count i { width: 40px; height: 1px; background: rgba(243,241,236,.5); }
.work__count span:last-child { color: var(--mist-soft); }
.work__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: rgba(243,241,236,.15); }
.work__progress i { display: block; height: 100%; width: 0; background: var(--cedar); }
.work__dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; gap: 14px; }
.work__dots button { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(243,241,236,.7); background: transparent; padding: 0; cursor: pointer; transition: background .3s, transform .3s var(--ease), border-color .3s; position: relative; }
.work__dots button::after { content: attr(aria-label); position: absolute; right: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .8rem; font-weight: 600; opacity: 0; transition: opacity .3s; pointer-events: none; }
.work__dots button:hover::after, .work__dots button:focus-visible::after { opacity: 1; }
.work__dots button.is-active { background: var(--cedar); border-color: var(--cedar); transform: scale(1.35); }
.work__foot { padding: clamp(2rem, 4vw, 3.5rem) 0 var(--sec); display: flex; justify-content: center; }
/* stacked fallback */
html.no-js .work__stage, html.reduced .work__stage { height: auto; min-height: 0; display: grid; gap: 1rem; padding: 0 var(--gutter); }
html.no-js .work__slide, html.reduced .work__slide { position: relative; inset: auto; height: auto; opacity: 1; visibility: visible; overflow: visible; }
html.no-js .work__slide img, html.reduced .work__slide img { height: auto; aspect-ratio: 16 / 9; border-radius: 8px; }
html.no-js .work__slide::after, html.reduced .work__slide::after { display: none; }
html.no-js .work__slide figcaption, html.reduced .work__slide figcaption { display: block; padding: 1rem 0 1.4rem; }
html.no-js .work__slide figcaption span, html.reduced .work__slide figcaption span { color: var(--cedar-lt); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; display: block; }
html.no-js .work__slide figcaption strong, html.reduced .work__slide figcaption strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
html.no-js .work__caption, html.no-js .work__count, html.no-js .work__progress, html.no-js .work__dots,
html.reduced .work__caption, html.reduced .work__count, html.reduced .work__progress, html.reduced .work__dots { display: none; }
@media (max-width: 900px) { .work__intro { grid-template-columns: 1fr; } .work__dots { right: 14px; gap: 10px; } .work__dots button::after { display: none; } .work__caption { right: 48px; } }

/* Process */
.process__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.process__media { position: sticky; top: 110px; }
.process__media .frame { box-shadow: 0 40px 80px -40px rgba(22,26,21,.5); }
.steps { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 1px; background: var(--stone-3); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; padding: 1.4rem 0; }
.step__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bark); color: var(--mist); font-family: var(--display); font-size: 1.4rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--stone); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; padding-top: .55rem; }
.step p { margin-top: .5rem; color: var(--ink-soft); }
@media (max-width: 900px) { .process__grid { grid-template-columns: 1fr; } .process__media { position: relative; top: auto; } .process__media .frame { aspect-ratio: 16 / 11; } }

/* Areas */
.areas { position: relative; background: var(--bark); color: var(--mist); overflow: clip; isolation: isolate; padding-bottom: var(--sec); }
.areas__bg { position: absolute; inset: -10% 0; z-index: -1; }
.areas__bg img { width: 100%; height: 100%; object-fit: cover; }
.areas::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(22,26,21,.62), rgba(22,26,21,.74) 40%, rgba(22,26,21,.9) 70%, rgba(22,26,21,.97)); }
.areas__marquee { overflow: hidden; padding: 1.4rem 0; border-block: 1px solid rgba(243,241,236,.14); background: rgba(22,26,21,.35); backdrop-filter: blur(4px); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--display); font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); white-space: nowrap; display: flex; align-items: center; gap: 3.5rem; }
.marquee__track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cedar); }
@keyframes marquee { to { transform: translateX(-50%); } }
html.reduced .marquee__track { animation: none; }
.areas__inner { padding-top: var(--sec); }
.areas .h2 { text-shadow: 0 2px 6px rgba(0,0,0,.35), 0 12px 40px rgba(0,0,0,.45); }
.areas__cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.areas__col h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(243,241,236,.2); margin-bottom: 1rem; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.areas__list { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; font-weight: 500; color: var(--mist); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.areas__list li { display: flex; align-items: center; gap: .55em; }
.areas__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cedar); }
.areas__note { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: 10px; background: rgba(243,241,236,.07); border: 1px solid rgba(243,241,236,.12); align-self: start; }
.areas__note p { font-size: 1.05rem; line-height: 1.55; }
.areas__note .btn { margin-top: 1.4rem; }
@media (max-width: 1000px) { .areas__cols { grid-template-columns: 1fr 1fr; } .areas__note { grid-column: 1 / -1; } }
@media (max-width: 600px) { .areas__cols { grid-template-columns: 1fr; } }

/* Quote form */
.quote__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.quote__media { margin-top: clamp(2rem, 4vw, 3rem); box-shadow: 0 40px 80px -40px rgba(22,26,21,.5); }
.quote__direct { margin-top: 1.6rem; font-size: 1.05rem; }
.quote__direct a { font-weight: 600; color: var(--cedar-dk); }
.form { background: var(--mist); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2.6rem); box-shadow: 0 40px 80px -40px rgba(22,26,21,.35), 0 0 0 1px rgba(22,26,21,.05); display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; padding: .85em 1em; border-radius: 6px; border: 1.5px solid var(--stone-3); background: #fff; font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cedar); box-shadow: 0 0 0 4px rgba(194,128,62,.18); }
.field textarea { resize: vertical; min-height: 120px; }
.field.is-invalid input, .field.is-invalid select { border-color: #B0412E; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__small { font-size: .85rem; color: var(--ink-soft); }
.form__notice { padding: 1em 1.2em; border-radius: 6px; font-weight: 500; }
.form__notice--ok { background: #DDEBD9; color: #1E4D2B; }
.form__notice--err { background: #F3DAD5; color: #7A2A1C; }
@media (max-width: 900px) { .quote__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* Footer */
.ftr { background: var(--bark); color: var(--mist); padding-top: var(--sec); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid rgba(243,241,236,.14); }
.ftr__brand img { width: clamp(180px, 16vw, 230px); }
.ftr__brand p { margin-top: 1.4rem; color: var(--mist-soft); max-width: 40ch; }
.ftr__col h4 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; margin-bottom: .9rem; }
.ftr__col h4 + ul + h4 { margin-top: 1.8rem; }
.ftr__col li { margin-bottom: .5rem; color: var(--mist-soft); }
.ftr__col a { text-decoration: none; transition: color .25s; }
.ftr__col a:hover { color: var(--cedar-lt); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 2rem; font-size: .9rem; color: var(--mist-soft); }
.ftr__samson a { color: var(--cedar-lt); font-weight: 600; text-decoration: none; }
.ftr__samson a:hover { text-decoration: underline; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr__grid { grid-template-columns: 1fr; } }

/* Reduced motion: everything visible, nothing pinned */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
