/* J. Isberg Bygg & Skogstjänst — "Årsringen"
   Local Trust, referenstrogen mot kundens mockup: grafit + logotypens orange, tung varm serif,
   organiska vågor, kundens egna bilder, handskrivna noter och årsringar. Mobil först. */

@font-face { font-family: "Young Serif"; src: url("/assets/fonts/young-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-variable.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --orange: #F6931E;
  --orange-hover: #FFA53D;
  --orange-deep: #9A4B08;
  --orange-soft: #FDEBD3;
  --graphite: #35363A;
  --graphite-deep: #1F2023;
  --ink: #2A2B2F;
  --stone: #EEECE7;
  --stone-2: #E4E1DA;
  --milk: #F8F7F4;
  --white: #FFFFFF;
  --muted: #5E5F64;
  --on-dark: rgba(255, 255, 255, .82);
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: 56px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --organic: 28px 72px 28px 28px;
  --organic-r: 72px 28px 28px 28px;
  --shadow: 0 1px 2px rgba(31, 32, 35, .06), 0 10px 28px -12px rgba(31, 32, 35, .22);
  --shadow-lift: 0 2px 4px rgba(31, 32, 35, .07), 0 22px 40px -16px rgba(31, 32, 35, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 760px) { :root { --sec: 80px; } }
@media (min-width: 1100px) { :root { --sec: 108px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--milk); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; text-rendering: optimizeLegibility; }
img, picture, svg { display: block; max-width: 100%; }
picture img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--graphite-deep); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--graphite-deep); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; border-radius: 6px; }
.band-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--orange); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.sm { width: 1em; height: 1em; }
.section { padding: var(--sec) 0; position: relative; }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 .9rem; }
.eyebrow .icon { width: 1.15em; height: 1.15em; }
.eyebrow.on-dark { color: var(--orange); }
.eyebrow.on-orange { color: var(--graphite-deep); }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; }
.hand { font-family: var(--hand); font-weight: 600; font-size: 1.75rem; line-height: 1.1; color: var(--orange-deep); transform: rotate(-4deg); display: inline-block; margin: .6rem 0 0; }
.hand.on-orange { color: var(--graphite-deep); }
.u-brush { position: relative; display: inline-block; white-space: nowrap; }
@media (max-width: 420px) { .u-brush { white-space: normal; } }
.brush { position: absolute; left: -2%; bottom: -.28em; width: 104%; height: .42em; overflow: visible; color: var(--orange); pointer-events: none; }
.brush path { fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: round; }
.brush .b2 { stroke-width: 4; opacity: .55; }
.js .brush path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s .35s var(--ease) forwards; }
.js .brush .b2 { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vline { display: block; width: 3px; border-radius: 3px; background: var(--orange); align-self: stretch; min-height: 48px; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--orange-deep); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 800 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s; white-space: nowrap; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--graphite-deep); box-shadow: 0 8px 20px -10px rgba(246, 147, 30, .9); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-light { background: var(--white); color: var(--graphite-deep); }
.btn-outline { background: transparent; color: var(--graphite-deep); border-color: var(--graphite); }
.btn-outline:hover { background: var(--graphite); color: var(--white); }
.btn-dark { background: var(--graphite-deep); color: var(--white); }
.btn-dark:hover { background: var(--graphite); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.round-arrow, .round-btn { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--white); color: var(--graphite-deep); border: 0; transition: transform .25s var(--ease), background-color .2s; flex: none; }
.round-btn { border: 2px solid var(--graphite); background: transparent; cursor: pointer; }
.round-btn:hover:not([disabled]) { background: var(--graphite); color: var(--white); }
.round-btn[disabled] { opacity: .35; cursor: default; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--graphite); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: block; background: var(--white); border-radius: 14px; padding: 4px 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); flex: none; transform: rotate(-1.2deg); transition: transform .25s var(--ease); }
.brand:hover { transform: rotate(0deg) scale(1.02); }
.brand img { width: 74px; height: auto; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; color: var(--white); text-decoration: none; font-weight: 700; font-size: .97rem; position: relative; border-radius: 8px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.h-phone { display: none; align-items: center; gap: 8px; background: var(--orange); color: var(--graphite-deep); padding: 0 18px; min-height: 46px; border-radius: 999px; font-weight: 800; text-decoration: none; flex: none; transition: background-color .2s, transform .2s var(--ease); }
.h-phone:hover { background: var(--orange-hover); transform: translateY(-1px); }
.h-phone:hover .icon { animation: wiggle .5s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }
.m-call { margin-left: auto; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--graphite-deep); }
.menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); border: 0; cursor: pointer; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { position: fixed; inset: 68px 0 0 0; background: var(--graphite); padding: 24px var(--gutter) 40px; overflow-y: auto; z-index: 49; }
.mobile-menu[hidden] { display: none; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font: 400 1.6rem/1.2 var(--serif); color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-menu li a .icon { color: var(--orange); }
.mobile-menu .m-cta { width: 100%; margin-top: 24px; }
.m-note { color: var(--on-dark); font-size: .9rem; margin-top: 16px; text-align: center; }
body.menu-open { overflow: hidden; }
@media (min-width: 1040px) {
  .header-inner { min-height: 92px; }
  .brand img { width: 100px; }
  .nav, .h-phone { display: flex; }
  .m-call, .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- waves & decor ---------- */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(46px, 7vw, 110px); z-index: 1; pointer-events: none; }
.wave .stripe { stroke: var(--orange); stroke-width: 5; stroke-linecap: round; }
.js .wave .stripe { transform: translateX(-3%); transition: transform 1.2s var(--ease); }
.js.is-ready .wave .stripe, .js .wave.is-visible .stripe { transform: none; }
.wave-top { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: clamp(36px, 6vw, 90px); transform: translateY(calc(-100% + 3px)); pointer-events: none; }
.rings { position: absolute; pointer-events: none; fill: none; stroke: var(--orange); stroke-width: 1.4; opacity: .16; }
.trees { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.sparks { position: absolute; width: 64px; height: 64px; right: 4%; top: -6px; fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; z-index: 2; }

/* ---------- hero (startsidan) ---------- */
.hero { position: relative; background: var(--graphite-deep); color: var(--white); isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture { width: 100%; height: 100%; }
.hero-media img { object-position: 46% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 32, 35, .35) 0%, rgba(31, 32, 35, .55) 38%, rgba(31, 32, 35, .92) 72%, var(--graphite-deep) 100%); }
.hero-inner { position: relative; padding-top: clamp(220px, 46vw, 320px); padding-bottom: clamp(96px, 14vw, 150px); }
.hero-text { max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero .lead { color: var(--on-dark); max-width: 56ch; margin-bottom: 1.6rem; }
.hero-note { position: relative; display: inline-block; margin: 28px 0 0; background: var(--white); color: var(--graphite-deep); font: 700 1.55rem/1.05 var(--hand); padding: 14px 18px 16px; border-radius: 6px 18px 6px 18px; transform: rotate(-5deg); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55); max-width: 240px; }
.hero-note::before { content: ""; position: absolute; top: -9px; left: 44%; width: 54px; height: 18px; background: rgba(246, 147, 30, .75); transform: rotate(4deg); border-radius: 2px; }
@media (min-width: 760px) {
  .hero-media { left: 26%; }
  .hero-media::after { background: linear-gradient(90deg, var(--graphite-deep) 0%, var(--graphite-deep) 7%, rgba(31, 32, 35, .84) 22%, rgba(31, 32, 35, .4) 50%, rgba(31, 32, 35, .08) 80%); }
  .hero-inner { padding-top: clamp(104px, 11vw, 150px); min-height: clamp(600px, 76vh, 740px); display: flex; align-items: center; }
  .hero-note { position: absolute; right: var(--gutter); bottom: clamp(110px, 12vw, 160px); margin: 0; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-media img { animation: hero-pan linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes hero-pan { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.04) translateY(7%); } }
  }
}

/* ---------- duo ---------- */
.duo-sec { position: relative; z-index: 2; margin-top: clamp(-70px, -6vw, -30px); }
.duo { display: grid; gap: 20px; }
.duo-card { position: relative; display: flex; align-items: flex-end; min-height: 300px; border-radius: var(--organic); overflow: hidden; color: var(--white); text-decoration: none; background: var(--graphite); box-shadow: var(--shadow-lift); isolation: isolate; }
.duo-card.d2 { border-radius: var(--organic-r); }
.duo-card > picture { position: absolute; inset: 0; z-index: -2; }
.duo-card > picture img { transition: transform .6s var(--ease); }
.duo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(31, 32, 35, .92) 0%, rgba(31, 32, 35, .72) 45%, rgba(31, 32, 35, .25) 100%); }
a.duo-card:hover > picture img { transform: scale(1.04); }
.duo-body { display: grid; gap: 6px; padding: 28px 84px 30px 28px; max-width: 520px; }
.duo-card.static .duo-body { padding-right: 28px; }
.ic-circle { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--graphite-deep); margin-bottom: 6px; }
.ic-circle .icon { width: 28px; height: 28px; }
.duo-t { font: 400 clamp(1.7rem, 2.8vw, 2.3rem)/1.05 var(--serif); color: var(--white); margin: 0; }
.duo-p { color: var(--on-dark); margin: 0; }
.duo-card .round-arrow { position: absolute; right: 22px; bottom: 22px; }
@media (max-width: 559px) { .duo-body { padding-right: 28px; padding-top: 84px; } .duo-card .round-arrow { top: 22px; bottom: auto; } .duo-card { min-height: 280px; } }
a.duo-card:hover .round-arrow { transform: translateX(4px); }
.duo-links { display: grid; gap: 2px; margin-top: 8px; }
.duo-links a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--white); text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.duo-links a .icon:first-child { color: var(--orange); }
.duo-links a .arrow { margin-left: auto; transition: transform .25s var(--ease); }
.duo-links a:hover .arrow { transform: translateX(4px); }
.duo-card.static { min-height: 420px; }
@media (min-width: 820px) { .duo { grid-template-columns: 1fr 1fr; gap: 28px; } .duo-card { min-height: 330px; } }

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { margin: 0; }
.sec-head .side { margin: 0; color: var(--muted); max-width: 58ch; }
.sec-head .vline { display: none; }
@media (min-width: 900px) { .sec-head { grid-template-columns: auto 3px minmax(0, 1fr); align-items: center; gap: 32px; } .sec-head .vline { display: block; } }
.sec-title { margin-bottom: clamp(24px, 3vw, 40px); }
.sec-title.on-dark { color: var(--white); }

/* ---------- services ---------- */
.services { padding-top: calc(var(--sec) * .9); }
.svc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .svc-grid { grid-template-columns: repeat(5, 1fr); } }
.svc-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc-card > picture { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card > picture img { transition: transform .6s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc-card:hover > picture img { transform: scale(1.05); }
.svc-card .badge { position: relative; z-index: 1; margin: -28px 0 0 20px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--orange-deep); box-shadow: 0 6px 16px -6px rgba(31, 32, 35, .35); }
.svc-card .badge .icon { width: 28px; height: 28px; }
.svc-t { font: 400 1.35rem/1.15 var(--serif); color: var(--graphite-deep); padding: 12px 20px 4px; }
.svc-p { color: var(--muted); font-size: .97rem; padding: 0 20px 14px; flex: 1; }
.svc-more { display: flex; align-items: center; gap: 6px; justify-content: flex-end; padding: 0 20px 18px; font-weight: 800; color: var(--orange-deep); font-size: .95rem; }
.svc-more .arrow { transition: transform .25s var(--ease); }
.svc-card:hover .svc-more .arrow { transform: translateX(4px); }
.svc-grid li:nth-child(even) .svc-card { border-radius: 28px 28px 48px 28px; }

/* ---------- about ---------- */
.about { background: var(--white); overflow: hidden; }
.about-trees { position: absolute; right: -20px; bottom: 0; width: 360px; color: var(--stone-2); opacity: .9; }
.about-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.portrait { position: relative; max-width: 380px; }
.portrait picture { aspect-ratio: 4 / 5; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; overflow: hidden; box-shadow: var(--shadow-lift); }
.portrait::before { content: ""; position: absolute; inset: 10% -6% -4% 8%; background: var(--orange-soft); border-radius: 58% 42% 54% 46% / 44% 56% 44% 56%; z-index: 0; }
.portrait picture { position: relative; z-index: 1; }
.portrait.sm { max-width: 220px; }
.about-text p { color: var(--ink); max-width: 60ch; }
.about-checks { display: flex; gap: 24px; }
.about-checks .vline { min-height: 100%; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist .icon { color: var(--orange-deep); width: 26px; height: 26px; margin-top: 1px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(260px, 360px) minmax(0, 1.2fr) minmax(220px, .8fr); gap: 48px; } }

/* ---------- projects ---------- */
.projects { overflow: hidden; }
.pr-grid { display: grid; gap: 28px; }
.pr-text p { color: var(--muted); max-width: 46ch; }
.pr-nav { display: flex; gap: 10px; margin-top: 8px; }
.gallery { position: relative; min-width: 0; }
.g-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; overscroll-behavior-x: contain; }
.g-item { flex: 0 0 clamp(220px, 68vw, 290px); scroll-snap-align: start; }
.g-item figure { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.g-item:nth-child(3n+2) figure { border-radius: 28px 64px 28px 28px; }
.g-item figure picture { height: 100%; }
.g-item figure img { transition: transform .6s var(--ease); }
.g-item figure:hover img { transform: scale(1.05); }
.chip { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--graphite-deep); font-weight: 800; font-size: .9rem; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.chip .icon { color: var(--orange-deep); }
@media (min-width: 960px) { .pr-grid { grid-template-columns: minmax(240px, 1fr) minmax(0, 2.6fr); align-items: center; gap: 48px; } }

/* ---------- dark band / process ---------- */
.band-dark { position: relative; background: var(--graphite); color: var(--white); margin-top: clamp(36px, 6vw, 90px); }
.band-inner { padding: calc(var(--sec) * .8) 0 calc(var(--sec) * .8 + clamp(30px, 5vw, 80px)); }
.band-dark h2, .band-dark h3 { color: var(--white); }
.ps-grid { display: grid; gap: 36px; }
.ps-head h2 { margin: 0; }
.steps { display: grid; gap: 22px; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
.steps .num { grid-row: span 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--graphite-deep); font: 400 1.35rem/1 var(--serif); }
.steps .step-ic { width: 30px; height: 30px; color: var(--orange); margin-bottom: 6px; }
.steps h3 { font-size: 1.3rem; margin: 0 0 4px; }
.steps p { color: var(--on-dark); margin: 0; font-size: .98rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 56px; bottom: -18px; width: 2px; background: rgba(246, 147, 30, .4); }
@media (min-width: 1000px) {
  .ps-grid { grid-template-columns: minmax(240px, 1fr) minmax(0, 2.8fr); align-items: start; gap: 48px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { grid-template-columns: 1fr; }
  .steps .num { grid-row: auto; margin-bottom: 14px; }
  .steps li:not(:last-child)::after { left: 62px; right: -10px; top: 23px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, rgba(246, 147, 30, .55) 0 8px, transparent 8px 14px); }
}
.steps.compact { grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps.compact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps.compact { grid-template-columns: repeat(4, 1fr); } .steps.compact li { grid-template-columns: 1fr; } .steps.compact .num { grid-row: auto; margin-bottom: 12px; } }
.band-dark.compact .wave .stripe { display: none; }

/* ---------- areas ---------- */
.areas { background: var(--stone); overflow: hidden; }
.areas-rings { width: 520px; right: -140px; top: -80px; }
.ar-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.ar-grid p { max-width: 54ch; color: var(--ink); }
.pills-wrap { display: grid; gap: 20px; justify-items: start; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--white); color: var(--graphite-deep); text-decoration: none; font-weight: 800; box-shadow: var(--shadow); transition: transform .2s var(--ease), background-color .2s; }
.pill .icon { color: var(--orange-deep); }
.pill small { font: 600 .85rem/1 var(--sans); opacity: .8; }
.pill.is-base { background: var(--orange); }
.pill.is-base .icon { color: var(--graphite-deep); }
.pill:hover { transform: translateY(-2px); }
@media (min-width: 900px) { .ar-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

/* ---------- trust ---------- */
.trust { background: var(--white); }
.tr-grid { display: grid; gap: 0; align-items: center; }
.tr-media picture { aspect-ratio: 4 / 3; border-radius: var(--organic); overflow: hidden; box-shadow: var(--shadow); }
.tr-panel { position: relative; background: var(--milk); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); margin: -40px 12px 0; box-shadow: var(--shadow-lift); }
.tr-panel > p { color: var(--muted); }
.tr-points { display: grid; gap: 16px; margin-top: 8px; }
.tr-points li { display: flex; gap: 14px; align-items: flex-start; }
.tr-points strong { display: block; font-weight: 800; color: var(--graphite-deep); }
.ic-soft { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); flex: none; }
.ic-soft .icon { width: 24px; height: 24px; }
@media (min-width: 900px) { .tr-grid { grid-template-columns: 1.05fr 1fr; } .tr-panel { margin: 0 0 0 -64px; } }

/* ---------- faq ---------- */
.faq-sec { background: var(--milk); }
.faq-grid { display: grid; gap: 28px; }
.faq-head p:not(.eyebrow) { color: var(--muted); }
.faq-head a { color: var(--orange-deep); font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--white); border-radius: var(--r); box-shadow: 0 1px 2px rgba(31, 32, 35, .06); border: 1px solid var(--stone); transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: rgba(246, 147, 30, .55); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font: 400 1.14rem/1.3 var(--serif); color: var(--graphite-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-deep); }
.faq .pm { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); flex: none; transition: transform .25s var(--ease), background-color .2s; }
.faq[open] .pm { transform: rotate(45deg); background: var(--orange); color: var(--graphite-deep); }
.faq .answer { padding: 0 20px 18px; color: var(--ink); }
.faq .answer p { margin: 0; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; } .faq-head { position: sticky; top: 110px; } }

/* ---------- contact ---------- */
.contact { background: var(--milk); padding-bottom: calc(var(--sec) + clamp(20px, 3vw, 40px)); }
.ct-grid { display: grid; gap: 24px; align-items: stretch; }
.offer-panel { position: relative; overflow: hidden; background: var(--orange); color: var(--graphite-deep); border-radius: 40px 120px 40px 40px; padding: clamp(28px, 4vw, 52px); }
.offer-panel h2 { color: var(--graphite-deep); }
.offer-panel > p { max-width: 46ch; }
.panel-rings { width: 360px; right: -120px; bottom: -120px; stroke: var(--graphite-deep); opacity: .14; }
.panel-trees { width: 200px; color: rgba(31, 32, 35, .35); margin-top: 18px; }
.ct-lines { display: grid; gap: 10px; margin: 18px 0 4px; font-weight: 800; }
.ct-lines li { display: flex; align-items: center; gap: 10px; }
.ct-lines a { text-decoration: none; border-bottom: 2px solid rgba(31, 32, 35, .35); overflow-wrap: anywhere; }
.ct-lines a:hover { border-bottom-color: currentColor; }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-lift); }
.fgrid { display: grid; gap: 16px; }
.f { display: grid; gap: 6px; }
.f label { font-weight: 800; font-size: .95rem; color: var(--graphite-deep); }
.f label small { font-weight: 600; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--milk); border: 1.5px solid var(--stone-2); border-radius: var(--r-sm); padding: 13px 14px; min-height: 52px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.f textarea { resize: vertical; min-height: 130px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--orange-deep); box-shadow: 0 0 0 3px rgba(246, 147, 30, .3); background: var(--white); }
[aria-invalid="true"] { border-color: #B3261E !important; }
.field-error { color: #A11F17; font-size: .88rem; font-weight: 700; min-height: 0; }
.f-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.f-consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange-deep); flex: none; }
.f-consent a { color: var(--orange-deep); font-weight: 700; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-foot small { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.form-status { margin: 0; padding: 12px 16px; border-radius: var(--r-sm); font-weight: 700; }
.form-status--ok { background: #E7F4EA; color: #1E5B2C; }
.form-status--error { background: #FBE9E7; color: #8E1C14; }
.form-status--info { background: var(--orange-soft); color: var(--graphite-deep); }
[data-sending="true"] button[type="submit"] { opacity: .7; cursor: progress; }
@media (min-width: 620px) { .fgrid { grid-template-columns: 1fr 1fr; } .span2 { grid-column: span 2; } }
@media (min-width: 980px) { .ct-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--graphite-deep); color: var(--on-dark); padding: 40px 0 0; margin-top: clamp(36px, 6vw, 90px); overflow-x: clip; }
.f-grid { display: grid; gap: 32px; padding-bottom: 32px; }
.f-grid h2 { font: 800 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.f-grid h2 a { text-decoration: none; }
.logo-plate { display: inline-block; background: var(--white); border-radius: 16px; padding: 6px 12px; transform: rotate(-1.5deg); margin-bottom: 16px; }
.logo-plate img { width: 150px; height: auto; }
.f-brand p { max-width: 36ch; font-size: .97rem; }
.f-links { display: grid; gap: 8px; }
.f-links a, .f-contact a, .f-bottom a { color: var(--white); text-decoration: none; transition: color .2s; }
.f-links a:hover, .f-contact a:hover, .f-bottom a:hover { color: var(--orange); }
.f-contact { display: grid; gap: 12px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.f-contact .icon { color: var(--orange); margin-top: 3px; }
.f-trees { width: min(300px, 60%); margin-left: auto; margin-right: var(--gutter); color: var(--orange); opacity: .85; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.f-bottom ul { display: flex; gap: 18px; }
@media (min-width: 760px) { .f-grid { grid-template-columns: 1.4fr 1.2fr 1fr 1fr; } .f-grid > div:last-child { grid-column: 3 / span 2; } }
@media (min-width: 1100px) { .f-grid { grid-template-columns: 1.5fr 1.3fr 1fr 1fr 1fr; } .f-grid > div:last-child { grid-column: auto; } }

/* ---------- inner hero ---------- */
.inner-hero { position: relative; background: var(--stone); padding: clamp(28px, 4vw, 56px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.ih-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.ih-text .lead { color: var(--ink); max-width: 58ch; }
.ih-text .actions { margin-top: 1.4rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; margin-bottom: 18px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--orange-deep); }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--orange-deep); }
.ih-media { position: relative; justify-self: center; width: min(100%, 440px); }
.ih-media picture { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 36px 120px 36px 36px; overflow: hidden; box-shadow: var(--shadow-lift); max-height: 560px; }
.ih-media .blob { position: absolute; inset: 8% -5% -5% 10%; border-radius: 52% 48% 40% 60% / 46% 52% 48% 54%; background: var(--orange); opacity: .9; }
.ih-media.accent-graphite .blob { background: var(--graphite); }
.ih-media.accent-graphite picture { border-radius: 120px 36px 36px 36px; }
@media (min-width: 860px) { .ih-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; } }
.ih-grid.no-img { grid-template-columns: 1fr; }
.ih-grid.no-img .ih-text { max-width: 760px; }

/* ---------- statement ---------- */
.statement { background: var(--milk); overflow: hidden; }
.st-rings { width: 460px; left: -160px; top: -60px; opacity: .13; }
.st-grid { position: relative; display: grid; gap: 20px; }
.big { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 18ch; }
.st-grid p { max-width: 60ch; }
@media (min-width: 900px) { .st-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- area hub ---------- */
.areas-list { background: var(--white); }
.area-grid { display: grid; gap: 22px; }
.area-card { display: grid; background: var(--milk); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.area-card:nth-child(odd) { border-radius: 28px 64px 28px 28px; }
.ac-media picture { aspect-ratio: 16 / 9; }
.ac-media img { transition: transform .6s var(--ease); }
.area-card:hover .ac-media img { transform: scale(1.04); }
.ac-body { padding: 22px 24px 26px; }
.ac-body h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: .3em; }
.ac-body h3 a { text-decoration: none; }
.ac-body h3 a:hover { color: var(--orange-deep); }
.mini-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.mini-links a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--stone-2); font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--graphite-deep); transition: border-color .2s, color .2s; }
.mini-links a:hover { border-color: var(--orange-deep); color: var(--orange-deep); }
@media (min-width: 860px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card.is-base { grid-column: span 2; grid-template-columns: 1.15fr 1fr; }
  .area-card.is-base .ac-media picture { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .area-card.is-base .ac-body { padding: 36px 40px; align-self: center; }
}
.elsewhere { background: var(--milk); }
.el-grid { display: grid; gap: 28px; align-items: center; }
.el-grid p { max-width: 56ch; }
@media (min-width: 760px) { .el-grid { grid-template-columns: 220px 1fr; gap: 48px; } }

/* ---------- matrix pages ---------- */
.scope { background: var(--milk); }
.mini-cards { display: grid; gap: 16px; }
.mini-cards li { background: var(--white); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.mini-cards li:nth-child(even) { border-radius: 20px 20px 40px 20px; }
.mini-cards h3 { margin: 14px 0 6px; font-size: 1.25rem; }
.mini-cards p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 640px) { .mini-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .mini-cards.n4 { grid-template-columns: repeat(4, 1fr); } .mini-cards.n3 { grid-template-columns: repeat(3, 1fr); } }
.prep { background: var(--white); }
.prep-grid { display: grid; gap: 28px; }
.prep-grid p:not(.hand) { color: var(--muted); max-width: 48ch; }
.prep .checklist { background: var(--milk); border-radius: var(--organic); padding: clamp(22px, 3vw, 34px); }
@media (min-width: 900px) { .prep-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; } }
.local { background: var(--stone); }
.lc-grid { display: grid; gap: 0; align-items: center; }
.lc-media picture { aspect-ratio: 4 / 3; border-radius: var(--organic); overflow: hidden; box-shadow: var(--shadow); }
.lc-panel { position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3.6vw, 40px); margin: -36px 12px 0; box-shadow: var(--shadow-lift); }
.lc-panel .checklist { margin-top: 16px; gap: 10px; }
.lc-panel .checklist li { font-size: .98rem; }
@media (min-width: 900px) {
  .lc-grid { grid-template-columns: 1fr 1fr; }
  .lc-panel { margin: 0 0 0 -56px; }
  .lc-grid.flip .lc-media { order: 2; }
  .lc-grid.flip .lc-panel { margin: 0 -56px 0 0; }
  .lc-grid.flip .lc-media picture { border-radius: var(--organic-r); }
}
.rot-sec { background: var(--milk); padding-bottom: 0; }
.rot-note { display: grid; gap: 18px; background: var(--orange-soft); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 36px); border-left: 6px solid var(--orange); }
.rot-note h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: .4em; }
.rot-note p { max-width: 72ch; }
.rot-note a:not(.text-link) { color: var(--orange-deep); font-weight: 700; }
@media (min-width: 700px) { .rot-note { grid-template-columns: auto 1fr; gap: 24px; align-items: start; } }
.links-sec { background: var(--white); }
.links-grid { display: grid; gap: 36px; }
.links-grid h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.chips { display: grid; gap: 10px; margin-bottom: 18px; }
.chip-link { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--milk); border: 1.5px solid var(--stone); color: var(--graphite-deep); font-weight: 700; text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.chip-link .icon:first-child { color: var(--orange-deep); }
.chip-link .arrow { margin-left: auto; transition: transform .25s var(--ease); }
.chip-link:hover { border-color: var(--orange); }
.chip-link:hover .arrow { transform: translateX(4px); }
@media (min-width: 900px) { .links-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.other-areas { background: var(--white); }
.oa-grid { display: grid; gap: 18px; justify-items: start; }

/* ---------- CTA band ---------- */
.cta-band { padding: calc(var(--sec) * .6) 0 0; background: inherit; }
.cta-inner { position: relative; overflow: hidden; display: grid; gap: 20px; background: var(--orange); border-radius: 40px 110px 40px 40px; padding: clamp(28px, 4vw, 52px); color: var(--graphite-deep); }
.cta-inner h2 { color: var(--graphite-deep); margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 52ch; }
.cta-rings { width: 380px; right: -120px; top: -150px; stroke: var(--graphite-deep); opacity: .14; }
.cta-text, .cta-inner .actions { position: relative; }
.cta-inner .btn-primary { background: var(--white); box-shadow: none; }
.cta-inner .btn-primary:hover { background: var(--milk); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }

/* ---------- policy / 404 ---------- */
.policy { background: var(--milk); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose a { color: var(--orange-deep); font-weight: 700; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.not-found { min-height: 50vh; }

/* ---------- reveal (motion-quality canonical pattern) ---------- */
.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out, transform .45s var(--ease); }
.js [data-reveal].is-visible, .js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-visible > *:nth-child(2) { transition-delay: .07s; }
.js [data-reveal-group].is-visible > *:nth-child(3) { transition-delay: .14s; }
.js [data-reveal-group].is-visible > *:nth-child(4) { transition-delay: .21s; }
.js [data-reveal-group].is-visible > *:nth-child(5) { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
  .js .brush path { stroke-dashoffset: 0; }
  .js .wave .stripe { transform: none; }
  .btn:hover, .svc-card:hover, .pill:hover, .brand:hover { transform: none; }
}
