/* GGF theme — Eleven Dice Digital, Sep 2026
   Tokens from the 2026 GGF identity: marigold circle, royal-blue ગ, serif wordmark. */
:root {
  --ground: #ffffff;
  --ink: #131f3a;        /* deep navy, hero field + text */
  --field: #0f1b33;      /* hero background */
  --blue: #3b5fc4;       /* royal blue from the mark */
  --blue-d: #2a4ba6;
  --gold: #ffc72c;       /* marigold circle */
  --gold-d: #c9962c;     /* hairlines only */
  --surface: #f2f4f8;
  --line: #dde3ee;
  --head: 'Anek Gujarati', 'Hind Vadodara', sans-serif;
  --body: 'Hind Vadodara', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.kicker { font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; margin-bottom: 10px; }
.prose p + p { margin-top: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 4px; z-index: 99; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; font-size: 0.95rem; padding: 12px 22px; border-radius: 4px; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd45c; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: #fff; }

/* Header */
.site-head { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 181px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { color: var(--ink); font-weight: 500; font-size: 0.95rem; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--blue); transition: width 0.15s ease; }
.nav > a:not(.btn):hover::after { width: 100%; }
.btn-conf { background: var(--blue); color: #fff; padding: 9px 16px; }
.btn-conf:hover { background: var(--blue-d); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.lang a { padding: 5px 10px; font-size: 0.85rem; color: var(--ink); }
.lang a.on { background: var(--ink); color: #fff; }
.nav-toggle { display: none; }

/* Hero */
.hero { background: var(--field); color: #fff; position: relative; overflow: hidden; }
.hero-map { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0.95; }
.hero-map svg { width: 120%; min-width: 900px; height: auto; }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 120px; }
.hero-eyebrow { font-family: var(--head); color: var(--gold); font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; }
.hero-stat { margin-top: 22px; color: rgba(255,255,255,0.75); font-size: 1.02rem; }
.hero-stat strong { color: #fff; font-weight: 600; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Dot map */
.ggf-map .d { fill: rgba(255,255,255,0.13); }
.ggf-map .d.h { fill: var(--gold); opacity: 0; transform-origin: center; transform-box: fill-box; animation: ggf-glow 0.9s ease-out forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes ggf-glow { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ggf-map .d.h { animation: none; opacity: 1; } }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }

/* Conference band */
.conf-band { background: var(--blue); color: #fff; padding: 64px 0; }
.conf-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.conf-kicker { font-family: var(--head); color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.conf-band h2 { margin-bottom: 6px; }
.conf-venue { color: rgba(255,255,255,0.85); }
.conf-dates { display: flex; align-items: center; gap: 10px; }
.tile { background: var(--gold); color: var(--ink); border-radius: 4px; width: 74px; padding: 10px 0 8px; text-align: center; font-family: var(--head); }
.tile b { display: block; font-size: 2rem; line-height: 1; font-weight: 800; }
.tile i { font-style: normal; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.tile-year { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--gold); margin-left: 6px; }

/* Milestones */
.miles { list-style: none; margin-top: 40px; }
.mile { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); }
.mile:first-child { border-top: 0; }
.mile-year { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--blue); line-height: 1; }
.mile-next .mile-year { color: var(--gold-d); }
.mile p { max-width: 62ch; }

/* Awards band */
.awards { background: var(--surface); padding: 64px 0; }
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.award-stat { border-top: 2px solid var(--gold-d); padding-top: 16px; }
.award-stat b { font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: var(--ink); display: block; line-height: 1.1; }
.award-stat span { color: #46536e; font-size: 0.97rem; }

/* Presence */
.presence-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.presence-grid .btn { margin-top: 20px; }
.presence-map svg { width: 100%; height: auto; }
.presence-map .d { fill: #ccd5e6; }
.presence-map .d.h { fill: var(--blue); opacity: 1; animation: none; }

/* Footer */
.site-foot { background: var(--field); color: rgba(255,255,255,0.85); margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 64px 20px 40px; font-size: 0.95rem; }
.foot-name { font-family: var(--head); font-weight: 700; color: #fff; font-size: 1.1rem; }
.foot-gu { color: var(--gold); margin-top: 6px; font-family: var(--head); }
.foot-label { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.site-foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-base { border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 20px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* Single pages */
.page-single .page-head { margin-bottom: 24px; }

/* Mobile */
@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .about-grid, .presence-grid { grid-template-columns: 1fr; gap: 24px; }
  .mile { grid-template-columns: 90px 1fr; gap: 18px; padding: 24px 0; }
  .awards-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; padding-top: 48px; }
  .conf-inner { justify-content: flex-start; }
  .brand img { width: 150px; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .nav-toggle span:not(.sr) { width: 24px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 20px; gap: 18px; }
  .nav.open { display: flex; }
  .hero-inner { padding-top: 80px; padding-bottom: 80px; }
  .hero-map svg { min-width: 700px; opacity: 0.6; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .tile { width: 62px; }
}

/* ===== v0.2: playful layer — Gujarati patterns + motion scaffolding ===== */

/* Hero headline line masks + scribble */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .l { display: inline-block; }
.circled { position: relative; display: inline-block; }
.scribble { position: absolute; left: -7%; top: -16%; width: 114%; height: 132%; overflow: visible; pointer-events: none; }
.scribble path { stroke: var(--gold); stroke-width: 5; stroke-linecap: round; }

/* Floating bandhani clusters (pure CSS dot clusters) */
.float { position: absolute; width: 96px; height: 96px; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(circle at 50% 50%, var(--gold) 9px, transparent 10px),
    radial-gradient(circle at 18% 26%, var(--gold) 5px, transparent 6px),
    radial-gradient(circle at 82% 26%, var(--gold) 5px, transparent 6px),
    radial-gradient(circle at 18% 74%, var(--gold) 5px, transparent 6px),
    radial-gradient(circle at 82% 74%, var(--gold) 5px, transparent 6px);
  opacity: 0.85; }
.float-a { top: 12%; right: 6%; }
.float-b { bottom: 14%; right: 22%; transform: scale(0.6); opacity: 0.5; }

/* Kicker ornament: three bandhani dots */
.kicker { display: flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 26px; height: 8px; flex: 0 0 26px;
  background-image: radial-gradient(circle at 4px 4px, var(--gold) 3px, transparent 3.5px),
    radial-gradient(circle at 13px 4px, var(--blue) 3px, transparent 3.5px),
    radial-gradient(circle at 22px 4px, var(--gold) 3px, transparent 3.5px); }
.conf-kicker { display: flex; align-items: center; gap: 8px; }
.conf-kicker::before { content: ""; width: 26px; height: 8px; flex: 0 0 26px;
  background-image: radial-gradient(circle at 4px 4px, var(--gold) 3px, transparent 3.5px),
    radial-gradient(circle at 13px 4px, #fff 3px, transparent 3.5px),
    radial-gradient(circle at 22px 4px, var(--gold) 3px, transparent 3.5px); }

/* Bandhani wash behind the awards band */
.awards { background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='%233b5fc4' fill-opacity='0.05'%3E%3Ccircle cx='16' cy='16' r='5'/%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='26' cy='6' r='2.5'/%3E%3Ccircle cx='6' cy='26' r='2.5'/%3E%3Ccircle cx='26' cy='26' r='2.5'/%3E%3Ccircle cx='48' cy='48' r='5'/%3E%3Ccircle cx='38' cy='38' r='2.5'/%3E%3Ccircle cx='58' cy='38' r='2.5'/%3E%3Ccircle cx='38' cy='58' r='2.5'/%3E%3Ccircle cx='58' cy='58' r='2.5'/%3E%3C/g%3E%3C/svg%3E"); }

/* Patola diamond strips on the conference band */
.conf-band { position: relative; padding: 0; }
.conf-band .conf-inner { padding-top: 58px; padding-bottom: 58px; }
.patola { display: block; height: 14px; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14'%3E%3Cpath d='M18 1 L31 7 L18 13 L5 7 Z' fill='%23ffc72c'/%3E%3Cpath d='M18 4.5 L25.5 7 L18 9.5 L10.5 7 Z' fill='%232a4ba6'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 36px 14px; }

/* Date tiles: playful tilt, straighten on hover */
.tile { transition: transform 0.2s ease; }
.tile-1 { transform: rotate(-4deg); }
.tile-2 { transform: rotate(3deg); }
.tile-3 { transform: rotate(-2deg); }
.conf-dates:hover .tile { transform: rotate(0); }

/* Toran scallops above the footer */
.toran { display: flex; height: 26px; overflow: hidden; background: var(--ground); }
.home .toran { background: var(--ground); }
.toran span { flex: 1; position: relative; }
.toran span::before { content: ""; position: absolute; left: 6%; right: 6%; top: -46%; height: 100%;
  background: var(--gold); border-radius: 0 0 999px 999px; }
.toran span::after { content: ""; position: absolute; left: calc(50% - 3px); top: 56%; width: 6px; height: 6px;
  border-radius: 50%; background: var(--blue); }
.toran span:nth-child(even)::before { background: var(--blue); }
.toran span:nth-child(even)::after { background: var(--gold); }

/* About watermark */
.about { position: relative; overflow: hidden; }
.wm { position: absolute; top: 2%; right: -4%; font-family: var(--head); font-weight: 800;
  font-size: clamp(7rem, 20vw, 17rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 2px rgba(59, 95, 196, 0.09); pointer-events: none; user-select: none; }
.about .about-grid { position: relative; }

/* Map twinkle after the entrance glow */
.ggf-map .d.h { animation: ggf-glow 0.9s ease-out forwards, ggf-twinkle 2.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 90ms), calc(2.2s + var(--i) * 0.21s); }
@keyframes ggf-twinkle { from { opacity: 1; } to { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .ggf-map .d.h { animation: none; opacity: 1; } }

/* Award stats lift on hover */
.award-stat { transition: transform 0.2s ease; background: rgba(255,255,255,0.6); padding: 16px 18px 18px; border-radius: 4px; }
.award-stat:hover { transform: translateY(-4px); }

@media (max-width: 700px) {
  .float { display: none; }
  .wm { font-size: 7rem; opacity: 0.8; }
  .conf-band .conf-inner { padding-top: 44px; padding-bottom: 44px; }
}

/* Presence map stays static (override the hero twinkle) */
.presence-map .ggf-map .d.h { animation: none; opacity: 1; }

/* ===== v0.3: inner pages ===== */

/* Inner-page hero */
.page-hero { background: var(--field); color: #fff; position: relative; overflow: hidden; }
.page-hero-inner { position: relative; padding: 84px 0 72px; }
.page-hero h1 { max-width: 18ch; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero-sub { margin-top: 14px; color: rgba(255,255,255,0.78); max-width: 52ch; font-size: 1.05rem; }
.page-hero .patola { position: absolute; left: 0; right: 0; bottom: 0; }
.page-hero .float-a { top: 18%; right: 8%; opacity: 0.5; }
.wm-hero { top: auto; bottom: -10%; right: -2%; -webkit-text-stroke: 2px rgba(255,255,255,0.08); }

/* Notes (placeholder markers) */
.note { font-size: 0.88rem; color: #647190; background: var(--surface); border-left: 3px solid var(--gold); padding: 8px 12px; border-radius: 0 4px 4px 0; margin: 14px 0 8px; max-width: 62ch; }

/* About: story */
.story-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 56px; align-items: center; }
.story-photo img { border-radius: 6px; }
.story-photo figcaption { font-size: 0.85rem; color: #647190; margin-top: 8px; }

/* About: mission / vision */
.mv-band { background: var(--field); padding: 72px 0; color: #fff; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 30px 28px; }
.mv-card .kicker { color: var(--gold); }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.mv-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.mv-gold .kicker { color: var(--blue-d); }

/* Founder / president blocks */
.founder-band { background: var(--surface); padding: 80px 0; }
.founder-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.founder-flip { grid-template-columns: 5fr 7fr; }
.founder-card { background: #fff; border-radius: 6px; padding: 34px 32px 22px; position: relative; box-shadow: 0 2px 14px rgba(19,31,58,0.07); }
.founder-card blockquote p { font-family: var(--head); font-size: 1.18rem; line-height: 1.5; }
.founder-card cite { display: block; font-style: normal; margin-top: 14px; color: #46536e; font-size: 0.95rem; }
.founder-card .note { margin-bottom: 0; margin-top: 18px; }
.avatar { width: 74px; height: 74px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--head);
  font-weight: 800; font-size: 1.5rem; margin-bottom: 16px; }
.avatar-tba { background: var(--surface); color: var(--blue); border: 2px dashed var(--line); }

/* Leadership grid */
.team-band { background: var(--surface); padding: 80px 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.person { background: #fff; border-radius: 6px; padding: 26px 22px; text-align: center; transition: transform 0.2s ease; }
.person:hover { transform: translateY(-4px); }
.person .avatar { margin-bottom: 12px; }
.person h3 { font-size: 1.05rem; }
.person p { color: #647190; font-size: 0.9rem; }
.person-tba h3 { color: #46536e; }
.committee-note { max-width: 720px; }

/* Presence page */
.map-band { background: var(--field); color: #fff; padding: 72px 0 64px; overflow: hidden; }
.map-wide svg { width: 100%; height: auto; }
.map-band .presence-map .d { fill: rgba(255,255,255,0.14); }
.map-band .presence-map .d.h { fill: var(--gold); }
.map-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.map-band .award-stat { background: rgba(255,255,255,0.06); border-top-color: var(--gold); }
.map-band .award-stat b { color: #fff; }
.map-band .award-stat span { color: rgba(255,255,255,0.7); }
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.region { border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.region:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(19,31,58,0.08); }
.region h3 { margin-bottom: 12px; }
.region p { font-size: 0.94rem; color: #46536e; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chips span { background: var(--surface); color: var(--blue-d); font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

/* CTA band (marigold) */
.cta-band { background: var(--gold); color: var(--ink); padding: 64px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='%23ffffff' fill-opacity='0.28'%3E%3Ccircle cx='16' cy='16' r='5'/%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='26' cy='6' r='2.5'/%3E%3Ccircle cx='6' cy='26' r='2.5'/%3E%3Ccircle cx='26' cy='26' r='2.5'/%3E%3Ccircle cx='48' cy='48' r='5'/%3E%3Ccircle cx='38' cy='38' r='2.5'/%3E%3Ccircle cx='58' cy='38' r='2.5'/%3E%3Ccircle cx='38' cy='58' r='2.5'/%3E%3Ccircle cx='58' cy='58' r='2.5'/%3E%3C/g%3E%3C/svg%3E"); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { max-width: 52ch; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1d2c52; }
.btn-ghost-ink { color: var(--ink); border: 1px solid rgba(19,31,58,0.4); }
.btn-ghost-ink:hover { border-color: var(--ink); }

/* Past events */
.ev-list { margin-top: 26px; }
.ev { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.ev:first-child { border-top: 0; }
.ev figure img { border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; }
.ev-flip figure { order: 2; }
.ev-year { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--blue); line-height: 1; display: block; margin-bottom: 10px; }
.ev-meta { color: #647190; font-size: 0.92rem; margin: 4px 0 12px; }
.ev h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 0; }

/* Gallery */
.gfilter { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 26px; }
.gfilter button { font-family: var(--body); font-size: 0.9rem; font-weight: 600; padding: 8px 16px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease; }
.gfilter button:hover { border-color: var(--blue); color: var(--blue); }
.gfilter button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.gfilter button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gitem { position: relative; border-radius: 6px; overflow: hidden; margin: 0; }
.gitem img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.35s ease; }
.gitem:hover img { transform: scale(1.05); }
.gitem figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff;
  font-size: 0.82rem; background: linear-gradient(transparent, rgba(15,27,51,0.75)); opacity: 0; transition: opacity 0.25s ease; }
.gitem:hover figcaption { opacity: 1; }
.gitem.hide { display: none; }

/* Home: voices */
.voices { background: var(--surface); padding: 80px 0; }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 26px; }
.voice { background: #fff; border-radius: 6px; padding: 28px 26px; position: relative; }
.voice::before { content: "\201C"; font-family: var(--head); font-size: 3.4rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 2px; }
.voice p { font-size: 1rem; }
.voice cite { display: block; font-style: normal; margin-top: 16px; color: #647190; font-size: 0.88rem; }

/* Home: gallery strip */
.strip-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.strip-item { border-radius: 6px; overflow: hidden; display: block; transition: transform 0.25s ease; }
.strip-item img { aspect-ratio: 1 / 1; object-fit: cover; }
.strip-item:nth-child(odd):hover { transform: rotate(-2deg) scale(1.04); }
.strip-item:nth-child(even):hover { transform: rotate(2deg) scale(1.04); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
.cdl { margin-top: 20px; }
.cdl div { padding: 14px 0; border-top: 1px solid var(--line); }
.cdl div:first-child { border-top: 0; }
.cdl dt { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; font-weight: 600; color: #647190; margin-bottom: 3px; }
.map-embed { margin-top: 24px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }
.contact-form { background: var(--surface); border-radius: 6px; padding: 32px 30px; }
.contact-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--body); font-size: 0.98rem; color: var(--ink); background: #fff; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--blue); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fcheck { display: flex; gap: 9px; align-items: flex-start; font-weight: 500; }
.fcheck input { margin-top: 4px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form-ok, .form-err { border-radius: 4px; padding: 12px 14px; margin-bottom: 18px; font-size: 0.95rem; }
.form-ok { background: #e5f3e9; color: #1c5c31; }
.form-err { background: #fbe9e7; color: #8a2015; }

/* Nav current page */
.nav > a.on::after { width: 100%; }

/* Mobile for the v0.3 layer */
@media (max-width: 900px) {
  .page-hero-inner { padding: 60px 0 56px; }
  .story-grid, .founder-grid, .founder-flip, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .founder-flip .founder-card { order: 2; }
  .mv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .map-stats { grid-template-columns: 1fr; gap: 14px; }
  .region-grid { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .ev-flip figure { order: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .voices-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .frow { grid-template-columns: 1fr; gap: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
}
