/* Fonts are self-hosted (SIL Open Font License): no third-party request, so a visit sends
   nothing to Google. Latin subset only — the site is English. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/fraunces-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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/inter-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; }

:root {
  --ink: #16211c;
  --ink-soft: #4a5a52;
  --line: #dfe5e1;
  --canvas: #fbfaf7;
  --surface: #ffffff;
  --brand: #1f4d3a;
  --brand-deep: #133327;
  --accent: #c8963e;
  --on-brand: #f4f1ea;
  --accent-text: #8a6420;   /* gold for TEXT on the light canvas: 5.1:1 (the #c8963e accent is 2.55:1) */
  --focus: var(--brand);    /* 9.2:1 on the canvas */
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1ee;
    --ink-soft: #a9b5ae;
    --line: #2a3530;
    --canvas: #0f1512;
    --surface: #161e1a;
    --brand: #7cc4a2;         /* text-only token: 8.3:1 on surface, 9.0:1 on canvas (#2e6b52 was 2.7:1) */
    --brand-deep: #0b1a14;
    --accent: #d9ab58;
    --on-brand: #f4f1ea;
    --accent-text: var(--accent);
    --focus: var(--accent);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 22px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }
.nav-cta { color: var(--brand) !important; font-weight: 600; }

/* Hero */
.hero { background: var(--brand-deep); color: var(--on-brand); padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.hero .eyebrow { color: var(--accent); }
.hero p.lede { font-size: 1.2rem; max-width: 620px; opacity: .9; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--brand); margin-bottom: 14px; display: block; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.btn-primary { background: var(--accent); color: #1a1406; }
.btn-ghost { border: 1px solid color-mix(in srgb, var(--on-brand) 40%, transparent); color: var(--on-brand); margin-left: 10px; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.actions .btn-ghost { margin-left: 0; }

/* Sections */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card p { color: var(--ink-soft); }
.card .tag { font-size: .78rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.card .link { margin-top: auto; font-weight: 600; color: var(--brand); text-decoration: none; }
.card .link:hover { text-decoration: underline; }

.principle { padding-left: 18px; border-left: 3px solid var(--accent); }
.principle p { color: var(--ink-soft); margin: 0; }

.cities { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.cities li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .95rem; }

.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.contact dl { display: grid; gap: 18px; margin: 0; }
@media (min-width: 760px) { .contact dl { grid-template-columns: repeat(2, 1fr); } }
.contact dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 600; }
.contact dd { margin: 4px 0 0; font-size: 1.05rem; }
.contact dd a { color: var(--brand); font-weight: 600; }

/* Footer */
.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--ink-soft); }

/* Prose pages */
.prose { max-width: 720px; padding: 64px 0 88px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-soft); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible { outline-color: var(--accent); }  /* the hero is always dark green: gold is 5.1:1 there */

/* Brand cards */
.card .domain { font-size: .9rem; color: var(--ink-soft); margin: -4px 0 14px; }
.card.soon { background: transparent; border-style: dashed; }
.card.soon .tag { color: var(--accent-text); }
.badge { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1a1406; background: var(--accent); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.cities-note { color: var(--ink-soft); font-size: .95rem; margin-top: 18px; }
