
:root {
  --bg: #f4f7f3; --fg: #15231a; --muted: #4a5b4f; --panel: #ffffff; --line: #d6e0d6; --chip: #e7efe6;
  --brand: #1f7a3a; --brand-ink: #ffffff; --deep: #0f3a24;
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0e1612; --fg: #e8efe9; --muted: #a3b3a8; --panel: #15211a; --line: #29392f; --chip: #1a271f; --brand: #6cc982; --brand-ink: #07160c; --deep: #0a2618; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #0e1612; --fg: #e8efe9; --muted: #a3b3a8; --panel: #15211a; --line: #29392f; --chip: #1a271f; --brand: #6cc982; --brand-ink: #07160c; --deep: #0a2618; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; }
.top .logo img { height: 54px; width: auto; background: #fff; padding: 4px 7px; border-radius: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 999px; padding: 13px 22px; transition: transform .15s ease, background .2s ease; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-line { border: 1.5px solid currentColor; padding: 11.5px 20px; }
.btn-sm { font-size: 14px; padding: 9px 16px; }
@media (max-width: 720px) { .top .logo img { height: 46px; } }

.top .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.tabs { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.tabs a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.tabs a:hover { color: var(--fg); background: var(--chip); }
.tabs a[aria-current="page"] { color: var(--brand); background: var(--chip); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.top-phone { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (max-width: 1060px) {
  .top .wrap { grid-template-columns: auto auto; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; }
  .tabs::-webkit-scrollbar { display: none; }
  .top-actions { justify-self: end; }
}
@media (max-width: 520px) { .top-phone { display: none; } }
.gr-float { position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; background: #fff; color: #1a1a1a; text-decoration: none; padding: 11px 16px 11px 13px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22); font-family: var(--font-body); transition: transform .25s ease, box-shadow .25s ease; }
.gr-float:hover { transform: scale(1.05); box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.gr-txt { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 14px; }
.gr-stars { color: #f5b400; font-size: 12px; letter-spacing: 1px; }

/* about + community */
.page-hero { position: relative; color: #fff; background: var(--deep); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,14,9,.25), rgba(5,14,9,.85)); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 140px 60px; display: flex; flex-direction: column; gap: 14px; }
.page-hero .eyebrow { color: #cfeed6; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 800; max-width: 18ch; }
.page-hero p { font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; opacity: .93; }
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.page-hero .btn-line { color: #fff; }
.block { padding-block: 72px; }
.block + .block { padding-top: 8px; }
.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.two > * { min-width: 0; }
.two img { border-radius: 18px; width: 100%; height: auto; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose p { color: var(--muted); font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 26px 18px; display: flex; flex-direction: column; gap: 4px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.stats span { color: var(--muted); font-size: 14.5px; }
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.crew figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--chip); }
.crew figure:first-child { grid-column: span 2; grid-row: span 2; }
.crew img { width: 100%; height: 100%; object-fit: cover; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards3 > div { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cards3 h3 { font-size: 20px; font-weight: 700; }
.cards3 p { color: var(--muted); font-size: 15.5px; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps4 > div { border-top: 3px solid var(--brand); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.steps4 small { font-family: var(--font-mono); color: var(--brand); letter-spacing: .12em; }
.steps4 h3 { font-size: 20px; font-weight: 700; }
.steps4 p { color: var(--muted); font-size: 15.5px; }
.cta-band { background: var(--deep); color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; max-width: 22ch; }
.cta-band p { opacity: .85; margin-top: 8px; max-width: 52ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-line { color: #fff; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } .stats, .crew, .steps4 { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .cards3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .stats, .steps4 { grid-template-columns: 1fr; } .stats div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* service page */
.svc-hero { position: relative; min-height: min(78svh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--deep); }
.svc-hero > img, .svc-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,14,9,.15) 0%, rgba(5,14,9,.25) 45%, rgba(5,14,9,.82) 100%); }
.svc-hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 120px 56px; display: flex; flex-direction: column; gap: 14px; }
.svc-hero .eyebrow { color: #cfeed6; }
.back { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; }
.back:hover { opacity: 1; text-decoration: underline; }
.svc-hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; max-width: 16ch; }
.svc-hero .lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; opacity: .93; }
.svc-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.svc-hero .btn-line { color: #fff; }
.svc-body { padding-block: 72px; }
.svc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.svc-grid > * { min-width: 0; }
.svc-copy { display: flex; flex-direction: column; gap: 22px; }
.svc-copy > p { font-size: 18px; color: var(--muted); max-width: 62ch; }
.svc-sec { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.svc-sec h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.svc-sec p { color: var(--muted); max-width: 62ch; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transform: translateY(3px); }
.facts { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.facts .btn { width: 100%; }
.facts .call { text-align: center; font-weight: 700; text-decoration: none; font-size: 18px; font-variant-numeric: tabular-nums; }
.action { padding-block: 8px 72px; }
.action-grid { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 40px; align-items: center; background: var(--deep); color: #fff; border-radius: 22px; padding: 28px; }
.action-grid video { width: 100%; border-radius: 14px; background: #000; max-height: 640px; object-fit: cover; }
.action-grid.landscape { grid-template-columns: 1.3fr 1fr; }
.action-grid h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; }
.action-grid p { opacity: .85; margin-top: 10px; max-width: 44ch; }
@media (max-width: 860px) { .svc-grid, .action-grid, .action-grid.landscape { grid-template-columns: 1fr; gap: 28px; } .facts { position: static; } }

/* carousels */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; }
.car-nav { display: flex; gap: 10px; align-items: center; }
.car-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--panel); color: var(--fg); font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; }
.car-btn:hover { border-color: var(--brand); color: var(--brand); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 78vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px; padding: 4px 2px 18px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.carousel > * { scroll-snap-align: start; min-width: 0; }
.svc-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--fg); transition: transform .25s ease, box-shadow .25s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,30,18,.14); }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--chip); }
.svc-media img, .svc-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.1,1); }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.badge { position: absolute; left: 12px; top: 12px; background: rgba(8,20,12,.72); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.svc-cbody { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-cbody .tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.svc-cbody h3 { font-size: 22px; font-weight: 700; }
.svc-cbody p { color: var(--muted); font-size: 15.5px; flex: 1; }
.svc-cbody .more { font-weight: 700; font-size: 15px; color: var(--brand); margin-top: 4px; }
.gal-card { position: relative; border-radius: 16px; overflow: hidden; background: var(--chip); aspect-ratio: 4 / 5; display: block; color: #fff; text-decoration: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.gal-card img, .gal-card video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.1,1); pointer-events: none; }
.gal-card:hover img { transform: scale(1.05); }
.gal-card .cap { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; background: linear-gradient(180deg, transparent, rgba(5,12,8,.78)); display: flex; flex-direction: column; gap: 2px; }
.gal-card .cap small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.gal-card .cap b { font-size: 16px; font-weight: 700; }
.play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.play::after { content: ""; border-left: 16px solid #1f4a35; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }

/* gallery page */
.gal-hero { padding-block: 64px 28px; display: flex; flex-direction: column; gap: 14px; }
.gal-hero h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 800; }
.gal-hero p { color: var(--muted); max-width: 56ch; font-size: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.filters button { font: inherit; font-weight: 600; font-size: 14.5px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); color: var(--fg); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding-bottom: 80px; }
.masonry .gal-card { aspect-ratio: 4 / 3; width: 100%; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(4,9,6,.94); display: grid; grid-template-rows: auto 1fr auto; padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); color: #fff; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lightbox .lb-stage { display: grid; place-items: center; min-height: 0; padding: 10px 0; }
.lightbox .lb-stage img, .lightbox .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox button { font: inherit; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-weight: 600; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-nav { display: flex; justify-content: center; gap: 12px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.foot img { height: 70px; width: auto; background: #fff; padding: 5px 8px; border-radius: 12px; margin-bottom: 10px; }
.foot h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; color: var(--fg); font-weight: 500; }
.foot a { color: var(--fg); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0 0 4px; }
.foot .legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; gap: 18px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
