/* ═══════════════════════════════════════════════════════════════
   Jeroma Smiles — public site
   One typeface (Alata), warm paper neutrals, the logo's red / yellow
   / blue used as small, deliberate accents.
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Alata'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/alata-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alata'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/alata-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fbfaf7;
  --paper: #f4f1ea;
  --card: #ffffff;
  --ink: #15171a;
  --ink-2: #464a51;
  --ink-3: #74787f;
  --line: #e6e1d8;
  --line-2: #d8d2c6;

  --red: #d7262d;
  --red-soft: #fdecec;
  --yellow: #f4c516;
  --yellow-soft: #fdf5d6;
  --blue: #1c5ba8;
  --blue-soft: #e8f0fa;

  --font: 'Alata', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* type scale (≈1.25) */
  --t-xs: .8125rem;   /* 13 */
  --t-sm: .9375rem;   /* 15 */
  --t-md: 1.0625rem;  /* 17 */
  --t-lg: 1.25rem;    /* 20 */
  --t-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --t-2xl: clamp(2rem, 1.4rem + 2.2vw, 2.875rem);
  --t-3xl: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(21, 23, 26, .04), 0 8px 24px -12px rgba(21, 23, 26, .12);
  --shadow-lg: 0 2px 4px rgba(21, 23, 26, .04), 0 24px 48px -20px rgba(21, 23, 26, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-md)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--t-3xl); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: var(--t-2xl); letter-spacing: -.03em; }
h3 { font-size: var(--t-lg); letter-spacing: -.01em; line-height: 1.25; }
h4 { font-size: var(--t-md); letter-spacing: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-paper { background: var(--paper); }
.center { text-align: center; }
.muted { color: var(--ink-3); }

/* ─── Type helpers ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--red)); }
.eyebrow.blue { --dot: var(--blue); }
.eyebrow.yellow { --dot: var(--yellow); }
.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.sec-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { color: var(--ink-2); margin: 16px 0 0; font-size: var(--t-md); }
.sec-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-row .sec-head { margin-bottom: 0; }
.mark { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .04em; }

/* ─── Buttons & links ─── */
.btn {
  --b: var(--ink); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--c); font-size: var(--t-sm); letter-spacing: .01em; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(21, 23, 26, .5); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i-arrow, .link:hover .i-arrow { transform: translateX(3px); }
.btn-dark { --b: var(--ink); --c: #fff; }
.btn-dark:hover { --b: #000; }
.btn-line { --b: var(--line-2); --c: var(--ink); background: transparent; }
.btn-line:hover { --b: var(--ink); background: var(--ink); color: #fff; }
.btn-yellow { --b: var(--yellow); --c: var(--ink); }
.btn-yellow:hover { --b: #ffd22e; }
.btn-light { --b: #fff; --c: var(--ink); }
.btn-ghost-light { --b: rgba(255, 255, 255, .35); --c: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); --b: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: var(--t-sm); gap: 8px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .25s var(--ease); }
.link:hover { border-color: var(--ink); }

/* ─── Header ─── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: auto; }
.brand b { display: block; font-weight: 400; font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.1; }
.brand small { display: block; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.btn) { position: relative; padding: 8px 14px; font-size: var(--t-sm); color: var(--ink-2); border-radius: 999px; transition: color .2s var(--ease), background .2s var(--ease); }
.nav-links > a:not(.btn):hover { color: var(--ink); background: rgba(21, 23, 26, .05); }
.nav-links > a[aria-current] { color: var(--ink); }
.nav-links > a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.nav-cta { margin-left: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; }
.burger .i { width: 20px; height: 20px; }
.burger .i-close { display: none; }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links > a:not(.btn) { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: var(--t-lg); color: var(--ink); }
  .nav-links > a:not(.btn):hover { background: none; }
  .nav-links > a[aria-current]::after { left: auto; right: 6px; top: 50%; margin: -2px 0 0; }
  .nav-cta { margin: 20px 0 0; height: 52px; }
  body.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  body.menu-open .burger .i-open { display: none; }
  body.menu-open .burger .i-close { display: block; }
  body.menu-open .nav { border-color: var(--line); background: var(--bg); }
}

/* ─── Reveal on scroll ─── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ─── Hero ─── */
.hero { padding: clamp(40px, 6vw, 88px) 0 var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--t-sm); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .i { color: var(--ink-3); }

.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage .ph { position: absolute; overflow: hidden; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.collage .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease), transform 6s linear; transform: scale(1.04); }
.collage .ph img.on { opacity: 1; transform: scale(1); }
.ph-a { inset: 0 0 18% 14%; }
.ph-b { left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--bg); }
.collage-tag {
  position: absolute; right: 6%; bottom: 4%; display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 999px; padding: 10px 18px 10px 10px; box-shadow: var(--shadow);
  font-size: var(--t-sm); max-width: 62%;
}
.collage-tag img { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); padding: 6px; object-fit: contain; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; width: 100%; margin: 8px auto 0; }
}

/* ─── About / Vision rows ─── */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .sec-head { margin-bottom: 28px; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row-n { font-size: var(--t-sm); color: var(--ink-3); padding-top: 4px; }
.row h3 { margin-bottom: 8px; }
.row p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .row { grid-template-columns: 44px 1fr; } }

/* ─── Values (logo with six values around it) ─── */
.values-stage { position: relative; display: grid; grid-template-columns: 1fr minmax(200px, 260px) 1fr; gap: 48px 64px; align-items: center; }
.values-col { display: grid; gap: 20px; }
.values-col.left { justify-items: end; }
.values-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.values-lines path { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 5; }
.values-logo { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; padding: 18%; }
.values-logo img { width: 100%; height: auto; }
.values-logo::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--line); }
.value {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; width: 100%; max-width: 340px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px 16px 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.value:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.value .vi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--tint); color: var(--tone); }
.value .vi .i { width: 20px; height: 20px; }
.value b { display: block; font-weight: 400; font-size: var(--t-md); line-height: 1.25; }
.value span { display: block; font-size: var(--t-sm); color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.t-red { --tone: var(--red); --tint: var(--red-soft); }
.t-yellow { --tone: #a77d00; --tint: var(--yellow-soft); }
.t-blue { --tone: var(--blue); --tint: var(--blue-soft); }
@media (max-width: 960px) {
  .values-stage { grid-template-columns: 1fr 1fr; gap: 16px; }
  .values-logo { grid-column: 1 / -1; grid-row: 1; width: 180px; justify-self: center; margin-bottom: 24px; }
  .values-col { gap: 16px; }
  .values-col.left { justify-items: stretch; }
  .value { max-width: none; }
  .values-lines { display: none; }
}
@media (max-width: 600px) { .values-stage { grid-template-columns: 1fr; } .values-logo { width: 156px; } }

/* ─── Photo band (motto) ─── */
.band { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.band-bg { position: absolute; inset: 0; z-index: -2; background: center 35% / cover no-repeat; background-attachment: fixed; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(15, 16, 18, .58); }
.band .wrap { padding-top: clamp(100px, 14vw, 180px); padding-bottom: clamp(100px, 14vw, 180px); text-align: center; }
.band h2 { font-size: var(--t-3xl); max-width: 14em; margin: 0 auto 20px; letter-spacing: -.035em; }
.band p { max-width: 34em; margin: 0 auto; color: rgba(255, 255, 255, .82); font-size: var(--t-lg); }
.band .eyebrow { color: rgba(255, 255, 255, .7); --dot: var(--yellow); }
@media (hover: none), (max-width: 900px) { .band-bg { background-attachment: scroll; } }

/* ─── Gallery ─── */
.grid-photos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 220px); gap: 12px; }
.grid-photos .tile:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.grid-photos .tile:nth-child(6n + 4) { grid-row: span 2; }
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry .tile { margin-bottom: 14px; break-inside: avoid; }
.masonry .tile img { height: auto; aspect-ratio: var(--ar, 4 / 3); }
.tile { position: relative; display: block; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--paper); cursor: zoom-in; width: 100%; padding: 0; border: 0; text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s var(--ease); }
.tile:hover img { transform: scale(1.035); }
.tile figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .94); color: var(--ink); font-size: var(--t-sm); line-height: 1.35;
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .tile figcaption { opacity: 1; transform: none; } }
.grid-empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r); }
@media (max-width: 760px) {
  .grid-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 8px; }
  .grid-photos .tile:nth-child(6n + 4) { grid-row: span 1; }
  .masonry { columns: 2; column-gap: 8px; } .masonry .tile { margin-bottom: 8px; }
  .tile figcaption { display: none; }
}

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(12, 13, 15, .94); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lb.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); color: rgba(255, 255, 255, .7); font-size: var(--t-sm); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 96px); }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; transition: opacity .3s var(--ease); }
.lb-cap { text-align: center; color: #fff; padding: 16px var(--gutter) 28px; min-height: 64px; font-size: var(--t-md); }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; display: inline-grid; place-items: center; cursor: pointer; transition: background .2s var(--ease); }
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-btn .i { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; }
.lb-prev { left: var(--gutter); } .lb-next { right: var(--gutter); }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: -64px; margin: 0; } .lb-cap { padding-bottom: 84px; } }

/* ─── Dark support block ─── */
.dark { background: var(--ink); color: #fff; }
.dark .eyebrow { color: rgba(255, 255, 255, .6); --dot: var(--yellow); }
.dark .sec-head p, .dark .lead { color: rgba(255, 255, 255, .72); }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); overflow: hidden; }
.way { background: var(--ink); padding: 28px; transition: background .3s var(--ease); }
.way:hover { background: #1d2024; }
.way .i { width: 26px; height: 26px; color: var(--yellow); margin-bottom: 20px; }
.way h3 { margin-bottom: 8px; }
.way p { margin: 0; color: rgba(255, 255, 255, .66); font-size: var(--t-sm); }
.support-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } .way { padding: 24px; } }

/* ─── Cards ─── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint, var(--paper)); color: var(--tone, var(--ink)); margin-bottom: 22px; }
.card .ci .i { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); line-height: 1.6; }
@media (max-width: 960px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards.four, .cards.two { grid-template-columns: 1fr; } }

/* ─── Subscribe strip ─── */
.join { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; background: var(--yellow-soft); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); }
.join h2 { font-size: var(--t-xl); margin-bottom: 8px; }
.join p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* ─── Forms ─── */
.form { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: var(--t-sm); color: var(--ink-2); }
.field .opt { color: var(--ink-3); }
.input, .inline-form input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card);
  font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); appearance: none;
}
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.input:hover, .inline-form input:hover { border-color: #bdb6a8; }
.input:focus, .inline-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 23, 26, .08); }
.input::placeholder, .inline-form input::placeholder { color: #a3a6ab; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; height: 50px; }
.inline-form .btn { height: 50px; }
.join .inline-form { flex-wrap: wrap; }
.join .inline-form input { flex: 1 1 180px; }
.form-msg { margin: 10px 0 0; font-size: var(--t-sm); min-height: 1.4em; }
.form-msg.ok { color: #1e7a46; } .form-msg.err { color: var(--red); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: var(--t-xl); margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); margin-bottom: 24px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; font-size: var(--t-sm); transition: all .2s var(--ease); }
.choice span:hover { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ─── Page hero (inner pages) ─── */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { max-width: 14em; margin-bottom: 20px; }
.page-hero .lead { margin: 0; }
.wide-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 700px) { .wide-photo { aspect-ratio: 4 / 3; } }

/* About: story */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story blockquote { margin: 0; font-size: var(--t-xl); line-height: 1.3; letter-spacing: -.02em; position: sticky; top: 110px; }
.story blockquote .i { display: block; width: 32px; height: 32px; color: var(--yellow); margin-bottom: 20px; fill: var(--yellow); stroke: none; }
.story blockquote cite { display: block; font-style: normal; font-size: var(--t-sm); color: var(--ink-3); margin-top: 20px; letter-spacing: 0; }
.prose p { color: var(--ink-2); font-size: var(--t-md); line-height: 1.7; }
.prose h2 { margin-bottom: 24px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story blockquote { position: static; } }

.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); }
.feature h2 { font-size: var(--t-xl); line-height: 1.25; }
.feature .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: var(--t-xs); color: var(--ink-2); }
.tag .i { width: 14px; height: 14px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact .i { width: 22px; height: 22px; color: var(--ink-3); margin-bottom: 18px; }
.fact h3 { margin-bottom: 8px; }
.fact p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { padding: 24px 16px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .fact:nth-child(even) { padding-left: 0; border-left: 0; } }

.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.value-list .value { max-width: none; }
@media (max-width: 860px) { .value-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-list { grid-template-columns: 1fr; } }

/* CTA panel */
.cta { background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { max-width: 16em; }
.cta p { margin: 12px 0 0; color: rgba(255, 255, 255, .8); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.info { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 28px; }
.info a, .info div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: color .2s var(--ease); }
.info a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.info .ii { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--tone); }
.info small { display: block; color: var(--ink-3); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; }
.info b { font-weight: 400; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Simple legal / text page */
.doc { max-width: 720px; }
.doc h2 { font-size: var(--t-xl); margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.7; }

/* ─── Footer ─── */
.foot { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 0; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.foot-brand img { width: 112px; height: auto; margin-bottom: 18px; }
.foot-brand p { color: var(--ink-2); font-size: var(--t-sm); max-width: 22em; margin: 0; }
.foot h4 { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.foot-grid > div > a { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--ink-2); padding: 5px 0; transition: color .2s var(--ease); width: fit-content; }
.foot-grid > div > a:hover { color: var(--ink); }
.foot-grid > div > a .i { color: var(--ink-3); }
.foot-news p { color: var(--ink-2); font-size: var(--t-sm); margin-bottom: 14px; }
.foot-news .inline-form input, .foot-news .inline-form .btn { height: 44px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-3); }
.foot-base span:last-child { display: flex; gap: 20px; }
.foot-base a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s var(--ease); }
.foot-base a:hover { color: var(--ink); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ─── Toast ─── */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; font-size: var(--t-sm); box-shadow: var(--shadow-lg); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: var(--yellow); }
.toast.err .i { color: #ff8b8f; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(5rem, 16vw, 10rem); letter-spacing: -.06em; line-height: 1; color: var(--line-2); margin-bottom: 12px; }
