:root {
  --ink: #15251f;
  --forest: #123f32;
  --forest-2: #1b5a46;
  --lime: #b9d432;
  --orange: #f47721;
  --cream: #f5f1e7;
  --paper: #fffdf8;
  --muted: #66736d;
  --line: rgba(21, 37, 31, .14);
  --shadow: 0 24px 70px rgba(16, 53, 41, .14);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; left: 1rem; top: -5rem; padding: .8rem 1rem; color: #fff; background: var(--forest); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(18, 63, 50, .96); box-shadow: 0 12px 40px rgba(0, 0, 0, .18); backdrop-filter: blur(12px); }
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: .76rem; letter-spacing: .02em; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; opacity: .82; }
.topbar a { font-weight: 700; }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 248px; flex: 0 0 auto; }
.brand img { filter: brightness(0) invert(1); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 650; }
.main-nav > a:not(.nav-cta) { padding: 10px 0; position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--lime); transition: right .2s ease; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a:not(.nav-cta):focus-visible::after { right: 0; }
.nav-cta { padding: 11px 18px; color: var(--forest); background: var(--lime); border-radius: 999px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; color: inherit; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: currentColor; }

.hero { min-height: 820px; position: relative; display: grid; align-items: end; color: #fff; background: var(--forest) url("/assets/images/hero.jpg") center/cover no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 34, 26, .93) 0%, rgba(12, 48, 37, .72) 48%, rgba(12, 48, 37, .18) 100%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: 80px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.035), 0 0 0 180px rgba(255,255,255,.025); }
.hero-content { position: relative; z-index: 2; padding-top: 200px; padding-bottom: 170px; }
.eyebrow { margin: 0 0 16px; color: var(--forest-2); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: var(--lime); }
.hero h1 { max-width: 840px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 7.5vw, 7rem); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
.hero h1 span { color: var(--lime); }
.hero-copy { max-width: 670px; margin: 28px 0 34px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--forest); background: var(--lime); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.button-light { color: var(--forest); background: #fff; }
.hero-facts { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow); }
.hero-facts div { padding: 28px 34px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border: 0; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { color: var(--forest); font-family: Georgia, serif; font-size: 1.8rem; }
.hero-facts span { color: var(--muted); font-size: .86rem; }

.section { padding: 110px 0; }
.split, .app-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.media-card { position: relative; padding: 36px; background: var(--cream); border-radius: 44% 44% var(--radius) var(--radius); }
.media-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 44% 44% var(--radius) var(--radius); }
.media-note { position: absolute; right: -28px; bottom: 30px; max-width: 230px; padding: 20px 22px; color: #fff; background: var(--forest); border-radius: 16px; box-shadow: var(--shadow); }
.media-note span, .media-note strong { display: block; }
.media-note span { margin-bottom: 4px; color: var(--lime); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.section h2 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.section-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.03rem; }
.check-list { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; left: 0; width: 22px; height: 22px; display: grid; place-items: center; color: var(--forest); background: var(--lime); border-radius: 50%; font-size: .75rem; }

.services { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.15fr .7fr; align-items: end; gap: 60px; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { position: relative; min-height: 470px; overflow: hidden; color: #fff; background: var(--forest); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(18,63,50,.1); }
.service-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .6s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(8,31,24,.92) 100%); }
.service-card > div { position: absolute; z-index: 2; inset: auto 28px 28px; }
.service-card:hover img { transform: scale(1.04); }
.service-card h3 { margin: 4px 0 8px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.service-card p { max-width: 520px; margin: 0; color: rgba(255,255,255,.78); }
.number { color: var(--lime); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.service-card-wide { grid-column: 1 / -1; min-height: 400px; }
.service-card-wide::after { background: linear-gradient(90deg, rgba(8,31,24,.94), rgba(8,31,24,.36)); }
.service-card-wide > div { inset: auto auto 44px 44px; max-width: 520px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--forest-2); font-weight: 800; }
.service-card .text-link { color: var(--lime); }

.membership { color: #fff; background: var(--forest); }
.membership-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); }
.membership .section-copy { position: sticky; top: 160px; align-self: start; }
.membership .section-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.requirements { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.requirements li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.requirements li > span { color: var(--lime); font-family: Georgia, serif; font-size: 1.4rem; }
.requirements strong { display: block; margin-bottom: 4px; font-size: 1.08rem; }
.requirements p { margin: 0; color: rgba(255,255,255,.65); }

.app-section { overflow: hidden; }
.app-visual { min-height: 650px; position: relative; display: grid; place-items: center; background: var(--cream); border-radius: 36px; }
.app-visual img { max-height: 610px; position: relative; z-index: 2; object-fit: contain; }
.app-orbit { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(18,63,50,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(185,212,50,.12), 0 0 0 140px rgba(244,119,33,.06); }
.app-features { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0; }
.app-features span { padding: 8px 13px; background: var(--cream); border-radius: 999px; font-size: .84rem; font-weight: 700; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; }
.store-links a { max-width: 165px; border-radius: 10px; transition: transform .2s ease; }
.store-links a:hover { transform: translateY(-2px); }

.articles { background: #f0f4ed; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { overflow: hidden; background: var(--paper); border-radius: var(--radius); box-shadow: 0 14px 35px rgba(18,63,50,.08); }
.article-card > a { display: block; overflow: hidden; }
.article-card img { width: 100%; aspect-ratio: 1.6; object-fit: cover; transition: transform .5s ease; }
.article-card:hover img { transform: scale(1.035); }
.article-card > div { padding: 25px; }
.article-card time { color: var(--orange); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.article-card h3 { margin: 8px 0 11px; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.16; }
.article-card p { margin: 0; color: var(--muted); }

.contact { color: #fff; background: var(--forest-2); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); }
.contact-intro p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.contact-list { border-top: 1px solid rgba(255,255,255,.2); }
.contact-list > * { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-list span { color: var(--lime); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-list strong { font-weight: 600; }
.contact-list b { font-size: 1.3rem; }

.site-footer { padding: 72px 0 24px; color: rgba(255,255,255,.76); background: #0c2d23; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .5fr .5fr; gap: 60px; }
.footer-grid > div:first-child { max-width: 420px; }
.footer-grid img { width: 280px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-grid h2 { margin: 0 0 16px; color: #fff; font: 700 .77rem/1.2 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { display: block; width: fit-content; margin: 8px 0; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Article pages */
.article-hero { padding: 190px 0 80px; color: #fff; background: var(--forest); }
.article-hero .eyebrow { color: var(--lime); }
.article-hero h1 { max-width: 900px; margin: 0 0 18px; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.article-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.1rem; }
.article-layout { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 110px; }
.article-cover { width: 100%; margin: -110px 0 55px; aspect-ratio: 1.75; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-body { font-size: 1.05rem; }
.article-body h2 { margin: 46px 0 15px; font-size: 2rem; }
.article-body p, .article-body li { color: #44524c; }
.article-body ol { padding-left: 1.25rem; }
.article-body li { margin: 13px 0; padding-left: .5rem; }
.article-body strong { color: var(--ink); }
.article-back { display: inline-flex; margin-top: 50px; color: var(--forest-2); font-weight: 800; }
.not-found { min-height: 100vh; display: grid; align-items: center; }
.not-found .button { margin-top: 24px; }

@media (max-width: 980px) {
  .topbar p { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 120px 20px auto; display: grid; gap: 0; padding: 24px; color: var(--ink); background: #fff; border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .2s ease; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 12px 4px !important; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }
  .article-nav { position: static; display: flex; width: auto; padding: 0; color: #fff; background: transparent; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .article-nav > a:not(.nav-cta) { display: none; }
  .article-nav .nav-cta { margin: 0; padding: 10px 16px !important; color: var(--forest); border: 0; }
  .split, .app-grid, .membership-grid, .contact-grid { grid-template-columns: 1fr; }
  .media-card { max-width: 660px; }
  .membership .section-copy { position: static; }
  .article-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  :root { --container: min(100% - 28px, 1180px); --radius: 17px; }
  .topbar { display: none; }
  .nav-wrap { min-height: 76px; }
  .brand { width: 190px; }
  .main-nav { inset: 88px 14px auto; }
  .article-nav { position: static; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 145px; padding-bottom: 220px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-shade { background: linear-gradient(90deg, rgba(7,34,26,.94), rgba(12,48,37,.55)); }
  .hero-facts { grid-template-columns: 1fr; border-radius: var(--radius) var(--radius) 0 0; }
  .hero-facts div { display: flex; align-items: baseline; gap: 12px; padding: 13px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts strong { font-size: 1.25rem; }
  .section { padding: 78px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .media-card { padding: 20px; }
  .media-note { right: 10px; bottom: 10px; }
  .service-grid, .article-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-wide { grid-column: auto; min-height: 430px; }
  .service-card-wide::after { background: linear-gradient(180deg, transparent 28%, rgba(8,31,24,.92) 100%); }
  .service-card-wide > div { inset: auto 25px 25px; }
  .app-visual { min-height: 520px; }
  .app-visual img { max-height: 490px; }
  .contact-list > * { grid-template-columns: 90px 1fr; gap: 12px; }
  .contact-list b { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom a { display: inline-block; margin-top: 10px; }
  .article-hero { padding-top: 140px; }
  .article-layout { padding-top: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
