/* less is more — site styles.
   Deliberately NO webfont: a privacy policy that fetches fonts from a third
   party undercuts its own claims, and the system stack renders as SF Pro on
   Apple devices anyway — which is the modern sans the design calls for. */

/* Italianno, self-hosted (SIL Open Font License). Served from this site so no
   request ever goes to a third party — the whole point, on a site whose privacy
   policy claims exactly that. */
@font-face {
  font-family: 'Italianno';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/italianno-latin.woff2') format('woff2');
}

:root {
  --ink:    #1D1D1F;
  --body:   #3F4147;
  --muted:  #6E7178;
  --blue:   #E1EBFA;
  --accent: #3B6BCC;
  --line:   #E6E7EA;
  --white:  #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:    #F2F3F5;
    --body:   #C4C7CE;
    --muted:  #8E939C;
    --blue:   #1B2436;
    --accent: #8AABEE;
    --line:   #2A2D34;
    --white:  #121419;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica,
               "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.wordmark {
  font-family: 'Italianno', 'Snell Roundhand', cursive;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav { display: flex; gap: 2.75rem; }

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.0625rem;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); }

/* ---------- hero (home) ---------- */

.hero {
  background: var(--blue);
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: var(--ink);
  font-weight: 400;
}

/* line 1 — the script wordmark, the dominant element */
.hero .script {
  font-family: 'Italianno', 'Snell Roundhand', cursive;
  font-size: clamp(4rem, 14vw, 9.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* line 2 — sans, deliberately much smaller and letter-spaced so it reads as
   a descriptor under the name rather than competing with it */
.hero .hero-sub {
  font-family: inherit;
  font-size: clamp(1.0625rem, 3vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--body);
}

/* ---------- page title ---------- */

.page-title {
  text-align: center;
  padding: 5rem 2rem 3.5rem;
}

.page-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-title .sub {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* ---------- panel (light blue block) ---------- */

.panel {
  background: var(--blue);
  padding: 5rem 2rem;
}

.panel-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.panel .label {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel .email {
  font-size: clamp(1.125rem, 3.5vw, 1.75rem);
  font-weight: 600;
  word-break: break-word;
}
.panel .email a { color: var(--ink); text-decoration: none; }
.panel .email a:hover { color: var(--accent); }

.panel .note {
  margin: 1.75rem auto 0;
  max-width: 34rem;
  color: var(--body);
}

/* ---------- prose (privacy) ---------- */

.prose {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.prose h2 {
  margin: 3rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.prose h2:first-of-type { margin-top: 0; }

.prose p  { margin: 0 0 1.1rem; }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--accent); text-underline-offset: 2px; }

.prose .lede {
  color: var(--ink);
  font-size: 1.1875rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 2.5rem 3rem;
  color: var(--muted);
  font-size: 0.9375rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: var(--muted); }

/* ---------- small screens ---------- */

@media (max-width: 40rem) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 0.85rem;
  }
  .wordmark { font-size: 2.125rem; }
  .site-nav { gap: 1.75rem; }
  .site-nav a { font-size: 1rem; }
  .hero { min-height: 56vh; padding: 4rem 1.5rem; }
  .page-title { padding: 3.5rem 1.5rem 2.5rem; }
  .panel { padding: 3.5rem 1.5rem; }
  .prose { padding: 0 1.5rem 4rem; }
  .site-footer { padding: 1.5rem 1.25rem 2.5rem; }
}
