/* ==========================================================================
   ASTERGATE — main stylesheet
   1. Tokens   2. Base   3. Layout & type   4. Buttons   5. Header
   6. Hero     7. Sections   8. Footer   9. Pages   10. Animations   11. Responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--bg: #050807;
	--bg-deep: #03100a;
	--surface: #0c1210;
	--surface-2: #0a0f0d;
	--text: #eef2f0;
	--text-2: #cdd6d2;
	--text-3: #b7c2bd;
	--muted: #a3afaa;
	--muted-2: #8a9892;
	--dim: #6f7d77;
	--faint: #4a5651;
	--green: #4fd39f;
	--green-line: #3cc48f;
	--green-light: #8fe8c3;
	--green-pale: #bff0da;
	--green-mid: #22b07d;
	--green-deep: #0f7a55;
	--green-tag: #0b4a33;
	--line: rgba(238, 242, 240, .08);
	--line-2: rgba(238, 242, 240, .12);
	--rule: linear-gradient(to right, transparent, var(--line-2) 48px, var(--line-2) calc(100% - 48px), transparent);
	--radius: 10px;
	--radius-lg: 20px;
	--container: 1240px;
	--gutter: 20px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--section-y: clamp(72px, 12vw, 120px);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font); }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--font); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s, background-color .2s, box-shadow .2s, padding .25s; }
a:hover { color: var(--green-light); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--green-line); outline-offset: 3px; }
::selection { background: rgba(60, 196, 143, .3); }
ul.menu { list-style: none; margin: 0; padding: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--text); color: var(--bg); }
.skip-link:focus { left: 8px; }
.site { position: relative; overflow: hidden; background: var(--bg); }

/* 3. Layout & type ------------------------------------------------------ */
.container { position: relative; max-width: var(--container); margin: 0 auto; }
.section { position: relative; padding: var(--section-y) var(--gutter); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 48px) clamp(48px, 7vw, 96px); }
.two-col-end { align-items: end; }
.two-col-center { align-items: center; }
.stack { display: grid; gap: 16px; text-wrap: pretty; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.eyebrow-num { font-variant-numeric: tabular-nums; color: var(--dim); }
.eyebrow-light { color: var(--green-light); }
.eyebrow-light .eyebrow-num { color: #9fb0a8; }

.h-xl { font-size: clamp(34px, 6vw, 88px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.h-lg { font-size: clamp(32px, 5.4vw, 76px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.h-md { font-size: clamp(32px, 4.8vw, 68px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.lead-xl { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; letter-spacing: -.015em; text-wrap: pretty; }
.text-lead { color: var(--text); font-size: 19px; }
.text-muted { color: var(--muted); }
.c-green { color: var(--green); }
.c-dim { color: var(--dim); }
.c-text { color: var(--text); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px 64px; margin-bottom: 56px; }
.section-head-text { max-width: 380px; color: var(--muted); text-wrap: pretty; }

/* 4. Buttons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: var(--radius); font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-light { padding: 14px 14px 14px 22px; gap: 12px; background: var(--text); color: var(--bg); }
.btn-light:hover { background: var(--green-pale); color: var(--bg); }
.btn-chip { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--bg); color: var(--green); }
.btn-glass { padding: 14px 22px; border-color: rgba(238, 242, 240, .18); color: var(--text); background: rgba(5, 8, 7, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(238, 242, 240, .08); color: var(--text); }
.btn-outline { border-color: var(--green-line); color: var(--green); padding: 9px 16px; font-size: 14px; border-radius: 9px; gap: 8px; }
.btn-outline:hover { background: rgba(60, 196, 143, .12); color: var(--green-light); }
.btn-outline.btn-lg { padding: 13px 20px; font-size: 15px; border-radius: var(--radius); }
.btn-block { display: flex; width: 100%; padding: 14px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* 5. Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 30; padding: 12px 16px; display: flex; justify-content: center; }
.admin-bar .site-header { top: 32px; }
.site-nav {
	position: relative; width: 100%; max-width: var(--container);
	display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 18px; border-radius: 14px;
	background: rgba(8, 12, 10, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgba(0, 0, 0, .45);
}
.brand, .custom-logo-link { display: flex; align-items: center; margin-right: auto; }
.brand img, .custom-logo { height: 22px; width: auto; }
.nav-links .menu { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(238, 242, 240, .04); font-size: 14px; }
.nav-links a { display: block; padding: 6px 14px; border-radius: 7px; color: var(--text-3); }
.nav-links a:hover { color: var(--text); background: rgba(238, 242, 240, .06); }
.nav-links .current-menu-item > a { color: var(--text); background: rgba(238, 242, 240, .08); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 1px solid rgba(238, 242, 240, .14); background: rgba(238, 242, 240, .04); color: var(--text); place-items: center; font-size: 22px; cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }
.mobile-menu {
	display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 10px; border-radius: 14px;
	background: rgba(8, 12, 10, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	box-shadow: 0 0 0 1px rgba(238, 242, 240, .1), 0 20px 40px rgba(0, 0, 0, .6);
}
.mobile-menu .menu { display: grid; gap: 4px; font-size: 17px; }
.mobile-menu .menu a { display: block; padding: 14px; border-radius: 9px; color: var(--text-2); }
.mobile-menu .menu .current-menu-item > a, .mobile-menu .menu a:hover { color: var(--text); background: rgba(238, 242, 240, .06); }
.mobile-menu .btn-block { margin-top: 6px; }

/* 6. Hero --------------------------------------------------------------- */
.hero { position: relative; margin-top: -82px; padding: clamp(130px, 18vw, 170px) var(--gutter) 0; min-height: 100vh; }
.hero-field {
	position: absolute; inset: 0; background: right top / cover no-repeat; opacity: .55;
	-webkit-mask-image: radial-gradient(90% 80% at 85% 20%, #000 20%, transparent 75%);
	mask-image: radial-gradient(90% 80% at 85% 20%, #000 20%, transparent 75%);
}
.hero-grid-lines {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(238, 242, 240, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 242, 240, .035) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
	mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
}
.hero-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 48px; align-items: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 36px; padding: 5px 14px 5px 6px; border-radius: 999px; background: rgba(238, 242, 240, .05); box-shadow: 0 0 0 1px rgba(238, 242, 240, .1); font-size: 13px; color: var(--text-2); }
.pill-badge-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--green-tag); color: var(--green-pale); font-size: 12px; }
.pill-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero-title { font-size: clamp(40px, 7vw, 104px); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.grad-white { background: linear-gradient(180deg, #fff 20%, #a9b8b1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-green { background: linear-gradient(100deg, var(--green-light) 0%, var(--green-mid) 55%, var(--green-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { display: grid; gap: 14px; max-width: 540px; margin-top: 36px; color: var(--text-3); font-size: 17px; text-wrap: pretty; }
.hero-text-sub { color: var(--muted-2); font-size: 15px; }

.gate { position: relative; height: clamp(380px, 46vw, 600px); display: grid; place-items: center; perspective: 1200px; }
.gate > * { grid-area: 1 / 1; }
.gate-ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(60, 196, 143, .14); }
.gate-ring-dashed { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(60, 196, 143, .28); animation: ag-spin 60s linear infinite; }
.gate-glow { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 176, 125, .45), rgba(34, 176, 125, .08) 60%, transparent); filter: blur(10px); animation: ag-pulse 6s ease-in-out infinite; }
.gate-panel { position: absolute; width: 44%; height: 72%; border-radius: 28px; box-shadow: 0 0 0 1px rgba(238, 242, 240, .1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gate-panel-left { transform: rotateY(-28deg) translateX(-38%) translateZ(-60px); background: linear-gradient(160deg, rgba(238, 242, 240, .07), rgba(238, 242, 240, .01)); }
.gate-panel-right { transform: rotateY(28deg) translateX(38%) translateZ(-60px); background: linear-gradient(200deg, rgba(238, 242, 240, .07), rgba(238, 242, 240, .01)); }
.gate-core {
	position: relative; width: 46%; height: 76%; border-radius: 30px; overflow: hidden; display: grid; place-items: center;
	background: linear-gradient(180deg, rgba(18, 30, 25, .85), rgba(6, 10, 9, .9));
	box-shadow: 0 0 0 1px rgba(60, 196, 143, .4), 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
	animation: ag-float 7s ease-in-out infinite;
}
.gate-beam { position: absolute; left: 50%; top: 0; width: 1px; height: 30%; background: linear-gradient(transparent, var(--green), transparent); animation: ag-beam 3.6s ease-in infinite; }
.gate-core-glow { position: absolute; inset: auto 0 0 0; height: 60%; background: radial-gradient(80% 70% at 50% 100%, rgba(34, 176, 125, .35), transparent); }
.gate-tile {
	position: relative; width: 46%; aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center;
	background: linear-gradient(160deg, #16231e, #08100d);
	box-shadow: 0 0 0 1px rgba(238, 242, 240, .14), 0 0 60px rgba(34, 176, 125, .45), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.gate-tile img { width: 58%; filter: drop-shadow(0 0 14px rgba(79, 211, 159, .6)); }
.gate-label { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--green-light); }
.float-chip {
	position: absolute; display: flex; align-items: center; gap: 10px; white-space: nowrap;
	padding: clamp(7px, 1.8vw, 10px) clamp(10px, 2.6vw, 14px); border-radius: 12px; font-size: clamp(11px, 3vw, 13px);
	background: rgba(10, 16, 14, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(238, 242, 240, .1);
}
.float-chip i { color: var(--green); font-size: 18px; }
.float-chip-1 { top: 14%; left: 2%; animation: ag-float 8s ease-in-out infinite; }
.float-chip-2 { top: 44%; right: 0; animation: ag-float 9s ease-in-out -3s infinite; }
.float-chip-3 { bottom: 10%; left: 8%; animation: ag-float 10s ease-in-out -5s infinite; }

.marquee {
	position: relative; margin-top: 72px; padding: 22px 0; overflow: hidden;
	background: var(--rule) no-repeat top / 100% 1px, var(--rule) no-repeat bottom / 100% 1px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 56px; animation: ag-marquee 40s linear infinite; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.02em; color: var(--dim); white-space: nowrap; }
.marquee .star { color: var(--green-line); }

/* 7. Sections ----------------------------------------------------------- */
/* About */
.section-about { padding-top: clamp(88px, 14vw, 160px); }
.about-cols { margin-top: 72px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.quote { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.quote i { color: var(--green); font-size: 22px; line-height: 1.2; }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); margin-top: clamp(48px, 8vw, 96px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.mv-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 5vw, 48px); min-height: clamp(220px, 30vw, 300px); }
.mv-card-mission { background: linear-gradient(150deg, #0d1a15, #060908 70%); }
.mv-card-vision { background: var(--surface-2); box-shadow: inset 1px 0 0 var(--line); }
.mv-ring { position: absolute; border-radius: 50%; }
.mv-ring-lg { right: -40px; top: -40px; width: 240px; height: 240px; border: 1px solid rgba(60, 196, 143, .18); }
.mv-ring-sm { right: 20px; top: 20px; width: 120px; height: 120px; border: 1px solid rgba(60, 196, 143, .28); }
.mv-label { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-light); }
.mv-label i { font-size: 20px; }
.mv-text { position: relative; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.02em; text-wrap: pretty; }

/* Bento cards */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, #0f1714, #070a09); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s; }
.card:hover { box-shadow: 0 0 0 1px rgba(60, 196, 143, .5), 0 24px 60px rgba(0, 0, 0, .6); }
.card-body { display: grid; gap: 12px; align-content: start; }
.card-body p { color: var(--muted); font-size: 15px; text-wrap: pretty; }
.card-body .card-kicker { color: var(--green); font-weight: 500; font-size: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-head h3 { font-size: 26px; letter-spacing: -.025em; }
.card-num { font-size: 13px; color: var(--dim); }
.card-mobile { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(180deg, #0c1512, #060908); }
.card-body-foot { position: relative; padding: 32px; background: linear-gradient(180deg, rgba(6, 9, 8, .6), #060908); box-shadow: 0 -1px 0 rgba(238, 242, 240, .06); }
.card-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; padding: 32px; }

.phone-stage { position: relative; flex: 1; min-height: clamp(280px, 40vw, 340px); display: grid; justify-items: center; align-items: end; overflow: hidden; padding-top: 40px; }
.phone-glow { position: absolute; width: 420px; height: 420px; bottom: -200px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 176, 125, .3), transparent); }
.phone { position: relative; width: 190px; height: 360px; margin-bottom: -90px; padding: 10px; border-radius: 34px; background: linear-gradient(160deg, #1a2622, #0a100e); box-shadow: 0 0 0 1px rgba(238, 242, 240, .16), 0 30px 60px rgba(0, 0, 0, .6); }
.phone-screen { position: relative; height: 100%; display: grid; gap: 10px; align-content: start; padding: 34px 14px 14px; border-radius: 26px; background: linear-gradient(180deg, #0c1d16, #060a09); box-shadow: inset 0 0 0 1px rgba(238, 242, 240, .06); }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 2px; background: rgba(238, 242, 240, .2); }
.phone-hero { height: 64px; border-radius: 14px; background: linear-gradient(120deg, #118c5f, var(--green-tag)); box-shadow: 0 0 30px rgba(34, 176, 125, .35); }
.phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-row div { height: 56px; border-radius: 12px; background: rgba(238, 242, 240, .06); }
.phone-line { height: 10px; border-radius: 5px; background: rgba(238, 242, 240, .1); }
.phone-line-dim { background: rgba(238, 242, 240, .07); }

.browser-stage { position: relative; min-height: 200px; display: grid; place-items: center; }
.browser { width: 100%; max-width: 260px; border-radius: 12px; overflow: hidden; background: #0a110e; box-shadow: 0 0 0 1px rgba(238, 242, 240, .12), 0 20px 40px rgba(0, 0, 0, .5); }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: rgba(238, 242, 240, .04); }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(238, 242, 240, .2); }
.browser-bar span.on { background: var(--green-line); }
.browser-body { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; }
.browser-side { display: grid; gap: 8px; align-content: start; }
.browser-side div { height: 8px; border-radius: 4px; background: rgba(238, 242, 240, .1); }
.browser-side div.on { background: var(--green-line); }
.browser-chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.browser-chart div { flex: 1; border-radius: 4px 4px 0 0; background: rgba(238, 242, 240, .1); }
.browser-chart div.on { background: linear-gradient(var(--green), var(--green-deep)); box-shadow: 0 0 20px rgba(60, 196, 143, .4); }
.browser-icon { position: absolute; top: 0; right: 8px; font-size: 30px; color: var(--green); }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; width: 100%; max-width: 240px; margin: 0 auto; }
.tile { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: rgba(238, 242, 240, .04); box-shadow: 0 0 0 1px var(--line); color: var(--muted-2); font-size: 22px; }
.tile-on { background: linear-gradient(160deg, #16231e, #08100d); box-shadow: 0 0 0 1px rgba(60, 196, 143, .5), 0 0 30px rgba(34, 176, 125, .35); }
.tile-on img { width: 50%; }

/* Ecosystem */
.eco { position: relative; border-radius: 28px; overflow: hidden; background: #03120c; box-shadow: 0 0 0 1px rgba(60, 196, 143, .25); }
.eco-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.eco-shade { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(3, 10, 7, .96) 0%, rgba(3, 10, 7, .82) 42%, rgba(3, 10, 7, .2) 100%); }
.eco-inner { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: center; padding: clamp(40px, 6vw, 88px); }
.eco-text { margin: 28px 0 36px; color: var(--text-2); max-width: 500px; gap: 14px; }
.eco-note { margin-top: 18px; font-size: 13px; font-style: italic; color: #9fb0a8; }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; margin: 0 auto; display: grid; place-items: center; }
.orbit-ring { position: absolute; border-radius: 50%; }
.orbit-ring-1 { inset: 0; border: 1px solid rgba(238, 242, 240, .12); }
.orbit-ring-2 { inset: 16%; border: 1px dashed rgba(143, 232, 195, .35); animation: ag-spin 80s linear infinite; }
.orbit-ring-3 { inset: 32%; border: 1px solid rgba(143, 232, 195, .25); }
.orbit-core { position: relative; width: 24%; aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(160deg, #16231e, #08100d); box-shadow: 0 0 0 1px rgba(143, 232, 195, .5), 0 0 70px rgba(34, 176, 125, .6); }
.orbit-core img { width: 56%; }
.orbit-pill {
	position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap;
	padding: clamp(6px, 1.6vw, 9px) clamp(9px, 2.4vw, 14px); border-radius: 999px; font-size: clamp(11px, 2.9vw, 13px);
	background: rgba(5, 10, 8, .85); box-shadow: 0 0 0 1px rgba(143, 232, 195, .3);
}
.orbit-pill i { color: var(--green); }
.orbit-pill-1 { top: 6%; left: 50%; transform: translateX(-50%); }
.orbit-pill-2 { top: 58%; left: -4%; }
.orbit-pill-3 { bottom: 4%; right: -4%; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.why-item { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px); min-height: clamp(220px, 26vw, 280px); background: var(--bg); transition: background-color .25s; }
.why-item:hover { background: #0b1411; }
.why-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.why-top i { font-size: 30px; color: var(--green); }
.why-top span { font-size: 13px; color: var(--faint); }
.why-item h3 { margin-top: 48px; font-size: 22px; letter-spacing: -.02em; }
.why-item p { color: var(--muted); font-size: 15px; text-wrap: pretty; }

/* Approach */
.section-approach { overflow: hidden; padding-top: clamp(80px, 13vw, 140px); padding-bottom: clamp(80px, 13vw, 140px); }
.approach-glow { position: absolute; left: 50%; top: 50%; width: 1100px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(17, 140, 95, .2), transparent); pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: clamp(48px, 7vw, 88px); }
.step { position: relative; overflow: hidden; display: grid; gap: 56px; padding: 32px; border-radius: var(--radius-lg); }
.step-1 { background: rgba(238, 242, 240, .03); box-shadow: 0 0 0 1px var(--line); }
.step-2 { background: rgba(238, 242, 240, .04); box-shadow: 0 0 0 1px rgba(238, 242, 240, .1); }
.step-3 { background: linear-gradient(160deg, #0f3a29, #071410 70%); box-shadow: 0 0 0 1px rgba(60, 196, 143, .45), 0 20px 60px rgba(17, 140, 95, .2); }
.step-top { display: flex; justify-content: space-between; align-items: center; }
.step-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.step-1 .step-icon { box-shadow: 0 0 0 1px rgba(238, 242, 240, .2); color: var(--muted-2); }
.step-2 .step-icon { box-shadow: 0 0 0 1px rgba(60, 196, 143, .4); color: var(--green); }
.step-3 .step-icon { background: var(--green); color: var(--bg); }
.step-num { font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.step-1 .step-num { color: rgba(238, 242, 240, .1); }
.step-2 .step-num { color: rgba(238, 242, 240, .14); }
.step-3 .step-num { color: rgba(143, 232, 195, .25); }
.step-text { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; }
.step-1 .step-text { color: var(--muted-2); }
.step-2 .step-text { color: var(--text-2); }
.step-3 .step-text { color: #fff; }

/* Subscriptions */
.section-sub { padding-top: clamp(48px, 8vw, 80px); }
.sub-visual { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: 520px; display: grid; place-items: center; }
.sub-card { position: absolute; width: 72%; height: 62%; border-radius: var(--radius-lg); }
.sub-card-back2 { transform: rotate(-8deg) translate(-8%, -6%); background: rgba(238, 242, 240, .03); box-shadow: 0 0 0 1px var(--line); }
.sub-card-back1 { transform: rotate(-3deg) translate(-3%, -2%); background: rgba(238, 242, 240, .04); box-shadow: 0 0 0 1px rgba(238, 242, 240, .1); }
.sub-card-front { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 4vw, 28px); background: linear-gradient(150deg, #123d2c, #07120e 75%); box-shadow: 0 0 0 1px rgba(60, 196, 143, .45), 0 30px 70px rgba(0, 0, 0, .6); }
.sub-card-top { display: flex; justify-content: space-between; align-items: center; }
.sub-card-top img { height: 28px; width: auto; }
.sub-card-top i { font-size: 22px; color: var(--green-light); transform: rotate(90deg); }
.sub-card-bottom { display: grid; gap: 6px; }
.sub-card-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--green-light); }
.sub-card-title { font-size: clamp(16px, 3.6vw, 22px); font-weight: 500; letter-spacing: -.02em; }

/* Contact */
.section-contact { padding-bottom: clamp(88px, 13vw, 140px); }
.section-contact .h-xl { font-size: clamp(36px, 6.4vw, 96px); line-height: .98; letter-spacing: -.05em; }
.contact-list { display: grid; margin-top: 72px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: 32px 8px; color: var(--text); background: var(--rule) no-repeat top / 100% 1px; }
.contact-row:hover { color: var(--green); padding-left: 20px; }
.contact-row > i { font-size: 36px; }
.contact-meta { display: grid; gap: 6px; }
.contact-label { display: block; font-size: 13px; color: var(--dim); }
.contact-value { font-size: clamp(19px, 3.6vw, 52px); letter-spacing: -.035em; font-weight: 500; line-height: 1.05; word-break: break-word; }
.contact-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding: 32px 8px; background: var(--rule) no-repeat top / 100% 1px, var(--rule) no-repeat bottom / 100% 1px; }
.contact-item { display: flex; align-items: center; gap: 14px; color: var(--text); font-size: 17px; }
.contact-item > i { font-size: 22px; color: var(--green); }
.contact-item > span { display: grid; }
a.contact-item:hover { color: var(--green); }

/* 8. Footer ------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 88px) var(--gutter) 0; background: linear-gradient(180deg, var(--bg), var(--bg-deep) 60%, #04140d); }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url("../images/green-field.png") center bottom / cover no-repeat; opacity: .22; pointer-events: none; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.footer-brand { flex: 2 1 320px; max-width: 460px; }
.footer-tagline { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.footer-about { margin-top: 14px; font-size: 14px; color: var(--muted-2); text-wrap: pretty; }
.footer-col { flex: 1 1 150px; font-size: 14px; }
.footer-col h4 { margin-bottom: 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.footer-col .menu { display: grid; gap: 12px; }
.footer-col a { color: var(--text-3); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; font-size: 13px; color: var(--dim); background: var(--rule) no-repeat top / 100% 1px; }
.back-top { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-2); }
.back-top:hover { color: var(--green); }
.footer-wordmark { margin-top: 48px; margin-bottom: -3.5%; opacity: .9; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%); mask-image: linear-gradient(180deg, #000 20%, transparent 95%); }
.footer-wordmark img { width: 100%; }

/* 9. Inner pages (page.php / index.php / 404) --------------------------- */
.page-main { padding: clamp(80px, 12vw, 140px) var(--gutter); min-height: 60vh; }
.container-narrow { max-width: 820px; }
.entry + .entry { margin-top: 48px; padding-top: 48px; background: var(--rule) no-repeat top / 100% 1px; }
.entry-title { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 32px; text-wrap: balance; }
.entry-card .entry-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.entry-title a { color: var(--text); }
.entry-title a:hover { color: var(--green); }
.entry-content, .entry-excerpt { color: var(--text-3); font-size: 17px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { color: var(--text); letter-spacing: -.02em; line-height: 1.2; margin-top: 1.8em; }
.entry-content h2 { font-size: 30px; }
.entry-content h3 { font-size: 22px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--green-line); color: var(--text); }
.entry-content input, .entry-content textarea, .entry-content select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }
.entry-content input:focus, .entry-content textarea:focus { outline: none; border-color: var(--green-line); }
.entry-content button, .entry-content input[type="submit"] { width: auto; padding: 13px 20px; border-radius: 10px; border: 1px solid var(--green-line); background: transparent; color: var(--green); font-weight: 500; cursor: pointer; }
.entry-content button:hover, .entry-content input[type="submit"]:hover { background: rgba(60, 196, 143, .12); }
.nav-links .page-numbers, .pagination .page-numbers { display: inline-block; padding: 6px 12px; margin-right: 4px; border-radius: 8px; color: var(--text-3); box-shadow: 0 0 0 1px var(--line); }
.pagination { margin-top: 48px; }
.pagination .current { color: var(--green); box-shadow: 0 0 0 1px var(--green-line); }

/* 10. Animations -------------------------------------------------------- */
@keyframes ag-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ag-spin { to { transform: rotate(360deg); } }
@keyframes ag-pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes ag-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ag-beam { 0% { transform: translateY(-100%); } 100% { transform: translateY(400%); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* 11. Responsive -------------------------------------------------------- */
@media (max-width: 879px) {
	.nav-links, .nav-cta { display: none; }
	.nav-toggle { display: grid; }
	.site-header.is-open .mobile-menu { display: block; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
	.card-body-foot, .card-split { padding: 24px; }
	.card-head h3 { font-size: 22px; }
	.btn-row .btn { flex: 1 1 auto; }
	.contact-row > i { font-size: 28px; }
}
