:root {
  --navy: #0b5a7a;
  --navy-deep: #07344a;
  --teal: #10979a;
  --teal-soft: #e3f3f2;
  --ink: #12232e;
  --body: #3b4b55;
  --muted: #6b7a83;
  --line: #e2e7ea;
  --bg: #f7f9f8;
  --card: #ffffff;
  --radius: 14px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--teal); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

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

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75em;
}
.lede { font-size: 1.12rem; max-width: 60ch; }
.muted { color: var(--muted); font-size: 0.9rem; }
.meta { color: var(--muted); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4em; }

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 0.95rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-primary:disabled { opacity: 0.6; cursor: wait; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.1rem var(--serif); }
.brand img { width: 36px; height: 36px; border-radius: 8px; background: #fff; }
.site-header nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-header nav a {
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--body);
  font-size: 0.93rem;
  font-weight: 500;
}
.site-header nav a:hover { background: var(--teal-soft); color: var(--navy); }
.site-header nav a[aria-current='page'] { background: var(--teal-soft); color: var(--navy); }
@media (max-width: 560px) {
  .header-row { padding-top: 10px; padding-bottom: 8px; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .site-header nav a { padding: 6px 8px; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(16, 151, 154, 0.45), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(56px, 9vw, 110px) 0;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: #7fd6d3; }
.hero .eyebrow { color: #7fd6d3; }
.hero-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.5fr 1fr; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
@media (min-width: 900px) { .stats { grid-template-columns: 1fr; } }
.stats div { border-left: 2px solid rgba(127, 214, 211, 0.5); padding: 4px 0 4px 16px; }
.stats dt { font: 600 clamp(1.6rem, 4vw, 2.4rem)/1.1 var(--serif); color: #fff; }
.stats dd { margin: 0; font-size: 0.9rem; }

/* Subscribe band */
.subscribe { padding: clamp(48px, 7vw, 88px) 0; background: var(--card); border-bottom: 1px solid var(--line); }
.subscribe-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .subscribe-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.subscribe-art img { border-radius: var(--radius); box-shadow: 0 18px 40px -20px rgba(7, 52, 74, 0.45); }
.subscribe-form { display: grid; gap: 10px; margin-top: 8px; }
@media (min-width: 560px) { .subscribe-form { grid-template-columns: 1fr 1fr auto; } }
.subscribe-form input {
  width: 100%;
  min-width: 0;
  padding: 0.8em 1em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
}
.subscribe-form input:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-msg { min-height: 1.5em; margin: 10px 0; font-size: 0.92rem; }
.form-msg.ok { color: #0f7a55; }
.form-msg.err { color: #b42318; }

/* Offerings */
.offerings { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { margin-bottom: 36px; }
.cards { display: grid; gap: 24px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 90px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 20px 40px -24px rgba(7, 52, 74, 0.35); transform: translateY(-2px); }
.card:target { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.card-media { display: block; aspect-ratio: 16 / 9; background: var(--teal-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body ul { margin: 0 0 1em; padding-left: 1.2em; }
.card-body .text-link { margin-top: auto; }

/* Inner pages */
.page-head { background: var(--card); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); margin-bottom: clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.list { display: grid; gap: 24px; padding-bottom: 80px; }
.entry {
  display: grid;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
@media (min-width: 760px) { .entry { grid-template-columns: 320px 1fr; padding: 28px; gap: 32px; } }
.entry-media img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.entry h2 { font-size: 1.6rem; }
.entry h2 a { color: inherit; text-decoration: none; }
.entry h2 a:hover { color: var(--teal); }
.covers-label { font-weight: 600; color: var(--ink); margin-bottom: 0.4em; }
.covers { margin: 0 0 1.2em; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.covers li { background: var(--teal-soft); color: var(--navy); border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; font-weight: 500; }

.contact-grid { display: grid; gap: 24px; padding-bottom: 80px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card .label { display: inline-block; width: 70px; color: var(--muted); font-size: 0.85rem; }
.contact-card a { overflow-wrap: anywhere; }

.prose { max-width: 820px; padding-bottom: 80px; overflow-wrap: anywhere; }
.prose strong { color: var(--ink); }
.prose ol, .prose ul { padding-left: 1.3em; }

/* Social icons */
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  transition: background 0.15s;
}
.socials a:hover { background: var(--teal); color: #fff; }
.socials-lg a { background: var(--teal-soft); color: var(--navy); width: 46px; height: 46px; font-size: 1.2rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); padding: 56px 0 24px; font-size: 0.93rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #7fd6d3; }
.site-footer h4 { color: #fff; font: 600 0.8rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer p { margin-bottom: 0.4em; }
.site-footer .muted { color: rgba(255, 255, 255, 0.55); margin-top: 14px; }
.brand-light { color: #fff; margin-bottom: 4px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.store img { border-radius: 8px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
