:root {
  --forest: #06301f;
  --leaf: #1a5f33;
  --green: #1b7a3a;
  --green-hover: #16662f;
  --gold: #cda562;
  --gold-hover: #dcb978;
  --mint: #e4eeea;
  --white: #fff;
  --ink: #10231a;
  --ink-soft: #46574d;
  --ghost: #76877d;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-lg: 32px;
  --r-md: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 "Hanken Grotesk", system-ui, sans-serif; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.hero :focus-visible, .site-header :focus-visible, .contact-card :focus-visible { outline-color: var(--gold); }
.soft { color: var(--ghost); }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--white); }
.skip:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Buttons */
.disc { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--leaf); }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 24px 6px 6px;
  border: 1px solid transparent; border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap;
  touch-action: manipulation; transition: background-color .2s, border-color .2s;
}
.btn .disc .icon { transition: transform .3s var(--ease); }
.btn:hover .disc .icon { transform: rotate(-14deg) scale(1.12); }
.btn:active { opacity: .88; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-hover); }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { border-color: rgba(255, 255, 255, .65); color: var(--white); }
.btn-line:hover { background: rgba(255, 255, 255, .14); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: fixed; inset: 24px 0 auto; z-index: 50; }
.pill {
  position: relative; display: flex; align-items: center; gap: 16px; width: min(1160px, 100% - 56px); margin-inline: auto;
  padding: 8px 8px 8px 10px; border-radius: 999px; color: var(--white);
  background: rgba(6, 40, 25, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background-color .3s;
}
.scrolled .pill { background: rgba(6, 40, 25, .95); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.brand-name { font-weight: 700; font-size: 1.125rem; line-height: 1.2; }
.brand-name span { display: block; font-weight: 500; font-size: .875rem; color: #dce8df; }
.nav a { font-weight: 500; text-decoration: none; }
.header-call { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 20px; border-radius: 999px; background: var(--gold); color: var(--forest); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.header-call:hover { background: var(--gold-hover); }
.menu-btn { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-btn span { width: 22px; height: 2px; background: currentColor; color: var(--white); transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; }
  .nav a:hover { background: rgba(255, 255, 255, .14); }
}

/* Hero */
.hero .wrap { width: min(1100px, 100% - 64px); }
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: min(880px, calc(100dvh - 24px)); margin: 12px; overflow: hidden;
  border-radius: 40px 40px 0 0; background: var(--forest); color: var(--white); isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -1; transform-origin: 50% 40%; will-change: transform; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero-slides img.on { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3, 28, 17, .86) 0%, rgba(3, 28, 17, .62) 45%, rgba(3, 28, 17, .12) 78%),
              linear-gradient(0deg, rgba(3, 28, 17, .6), transparent 45%);
}
.hero-in { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 150px 0 44px; }
.hero-copy { margin-block: auto; }
.hero h1 { max-width: 12em; font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem); line-height: 1.04; letter-spacing: -.04em; }
.hero .dot { color: var(--gold); font-family: Arial, sans-serif; }
.hero .soft { display: block; color: rgba(255, 255, 255, .72); }
.hero-copy > p { max-width: 42ch; margin: 22px 0 30px; font-size: 1.1875rem; color: #e6efe8; }
.hero-foot { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.hero-area { display: flex; align-items: center; gap: 14px; font-weight: 500; line-height: 1.4; }
.hero-area .disc { width: 48px; height: 48px; background: var(--gold); color: var(--forest); }
.thumbs { display: flex; gap: 12px; }
.thumbs button { width: 92px; height: 92px; padding: 0; overflow: hidden; border: 3px solid transparent; border-radius: 16px; background: none; cursor: pointer; transition: border-color .25s; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; opacity: .82; transition: opacity .25s, transform .5s var(--ease); }
.thumbs button:hover img { opacity: 1; transform: scale(1.06); }
.thumbs [aria-pressed="true"] { border-color: var(--white); }
.thumbs [aria-pressed="true"] img { opacity: 1; }
.js .hero-copy > * , .js .hero-foot { animation: rise .9s var(--ease) both; }
.js .hero-copy > p { animation-delay: .12s; }
.js .hero-copy .actions { animation-delay: .22s; }
.js .hero-foot { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* Photos & reveal */
.photo { overflow: hidden; border-radius: var(--r-md); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path 1s var(--ease); }
.js .photo.reveal, .js .ba.reveal { transform: none; opacity: 1; clip-path: inset(100% 0 0 0 round var(--r-md)); }
.js .reveal.in { opacity: 1; transform: none; }
.js .photo.reveal.in, .js .ba.reveal.in { clip-path: inset(0 0 0 0 round var(--r-md)); }
.reveal:nth-child(2) { transition-delay: .12s; }
.reveal:nth-child(3) { transition-delay: .24s; }

/* About */
.about { padding-block: clamp(80px, 10vw, 140px); }
.about h2 { max-width: 17em; margin-bottom: clamp(40px, 5vw, 72px); }
.js .w { color: #a9b6ae; transition: color .35s; }
.js .w.lit { color: var(--ink); }
.about-grid { display: grid; gap: 24px; }
.about-grid > .photo { aspect-ratio: 5 / 6; }
.about-side { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.about-side p { max-width: 44ch; margin-bottom: 26px; font-size: 1.25rem; color: var(--ink-soft); }
.photo.wide { aspect-ratio: 4 / 3; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* Services: each stripe is mown as you scroll */
.services { padding-block: clamp(72px, 9vw, 128px); background: var(--mint); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.services .soft { color: #5f7267; }
.stripes { overflow: hidden; border-radius: var(--r-lg); background: #d2e0d4; }
.stripes li { --mow: 1; position: relative; display: grid; gap: 6px; padding: 28px clamp(22px, 4vw, 48px); color: var(--white); background: #32553f; isolation: isolate; }
.stripes li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #1a5f33; transform: scaleX(var(--mow)); transform-origin: 0 50%; }
.stripes li:nth-child(even)::before { background: #24763f; transform-origin: 100% 50%; }
.stripes h3 { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.375rem); }
.stripes p { color: #f0f7f1; }
@media (min-width: 800px) { .stripes li { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; } }

/* Before / after */
.results { padding-block: clamp(72px, 9vw, 128px); }
.ba-grid { display: grid; gap: 24px; }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-md); background: var(--mint); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; inset: 0 auto 0 var(--pos); width: 56px; margin-left: -28px; display: grid; place-items: center; }
.ba-handle::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 3px; margin-left: -1.5px; background: var(--white); }
.ba-handle span { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--forest); border: 3px solid var(--white); transition: transform .25s var(--ease); }
.ba-handle .icon { width: 24px; height: 24px; }
.ba.dragging span.tag { opacity: 0; }
.ba.dragging .ba-handle span { transform: scale(1.14); }
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible span { outline: 3px solid var(--forest); outline-offset: 2px; }
.tag { position: absolute; top: 18px; padding: 6px 16px; border-radius: 999px; font-weight: 600; pointer-events: none; transition: opacity .25s; }
.tag-b { left: 18px; background: var(--white); }
.tag-a { right: 18px; background: var(--green); color: var(--white); }
.hide-before .tag-b, .hide-after .tag-a { opacity: 0; }
@media (min-width: 800px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.gallery { display: grid; gap: 24px; margin-top: 24px; }
.gallery .photo { aspect-ratio: 4 / 3; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Contact: card straddles into the footer */
.contact { background: linear-gradient(var(--white) 55%, var(--mint) 55%); }
.contact-card { position: relative; display: grid; gap: 40px; overflow: hidden; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); background: var(--forest); color: var(--white); isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.contact-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 34, 21, .94), rgba(4, 34, 21, .78) 60%, rgba(4, 34, 21, .5)); }
.contact .soft { color: rgba(255, 255, 255, .72); }
.contact-main > p { max-width: 46ch; margin-top: 16px; font-size: 1.125rem; color: #e6efe8; }
.big-phone { display: inline-block; margin: 24px 0; font-weight: 700; font-size: clamp(2.5rem, 1.4rem + 5vw, 5rem); line-height: 1.1; letter-spacing: -.04em; color: var(--gold); text-decoration: none; white-space: nowrap; }
.big-phone:hover { color: var(--gold-hover); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.area { align-self: end; padding: 28px; border-radius: var(--r-md); background: var(--white); color: var(--ink); }
.area .disc { width: 48px; height: 48px; background: var(--mint); margin-bottom: 16px; }
.area h3 { font-size: 1.5rem; margin-bottom: 8px; }
.area .note { margin-top: 12px; color: var(--ink-soft); }
@media (min-width: 900px) { .contact-card { grid-template-columns: 1.8fr 1fr; } }

/* Footer */
.site-footer { padding-block: 64px 56px; background: var(--mint); }
.footer-grid { display: grid; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 20px; align-self: start; }
.footer-brand img { border-radius: 50%; flex: none; width: 112px; }
.footer-name { font-weight: 700; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 6px; }
.site-footer h2 { font-size: 1.1875rem; letter-spacing: -.01em; margin-bottom: 14px; }
.site-footer li { padding: 2px 0; }
.footer-phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; text-decoration: none; }
.footer-links { display: flex; gap: 24px; margin-bottom: 8px; }
.footer-links a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; font-weight: 600; color: var(--leaf); text-underline-offset: 4px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; } }

@media (max-width: 999px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; inset: calc(100% + 8px) 0 auto; padding: 10px 24px; border-radius: 24px; background: var(--forest); }
  .nav.open { display: grid; }
  .nav a { padding: 13px 0; font-size: 1.125rem; }
}
@media (max-width: 599px) {
  .site-header { inset: 16px 0 auto; }
  .pill { width: calc(100% - 32px); gap: 4px; padding: 6px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: .9375rem; }
  .brand-name span { max-width: 9em; font-size: .75rem; line-height: 1.2; }
  .header-call { padding: 8px 12px; min-height: 44px; font-size: .875rem; }
  .header-call .icon { display: none; }
  .menu-btn { width: 44px; height: 44px; margin-right: -4px; }
  .hero { margin: 8px; border-radius: 30px 30px 0 0; min-height: calc(100dvh - 16px); }
  .hero .wrap { width: calc(100% - 40px); }
  .hero-in { padding: 116px 0 24px; gap: 32px; }
  .hero::after { background: linear-gradient(180deg, rgba(3, 28, 17, .62), rgba(3, 28, 17, .8) 70%); }
  .actions .btn { flex: 1 1 100%; }
  .thumbs { width: 100%; gap: 8px; }
  .thumbs button { flex: 1; min-width: 0; height: 68px; }
}
@media (max-width: 359px) { .brand-name span { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .progress { display: none; }
  .js .reveal { opacity: 1; transform: none; clip-path: none !important; }
}
