/* Alaska Domain — styles.css */
:root {
  --navy-950: #071423;
  --navy-900: #0a1b2e;
  --navy-800: #10283f;
  --navy-700: #16405f;
  --page: #f5f8fb;
  --surface: #ffffff;
  --ice: #e8f0f6;
  --line: #d6e0ea;
  --ink: #142231;
  --muted: #4b5b6c;
  --link: #0a6680;
  --link-hover: #064b5f;
  --aurora: #34c29a;
  --aurora-soft: #8fe3c9;
  --gold: #e3b04b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 27, 46, .06), 0 10px 28px rgba(10, 27, 46, .08);
  --wrap: 1140px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--link-hover); }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--aurora);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--navy-900); }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); margin: .2em 0 .35em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.1rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--surface); color: var(--navy-900);
  padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header { background: var(--navy-950); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.2rem/1 var(--serif); letter-spacing: .01em; }
.brand:hover { color: #fff; }
.logo-mark { flex: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: #d7e5f1; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #fff; border-bottom-color: var(--aurora-soft); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--aurora); }

/* Hero */
.hero, .page-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 340px at 78% -8%, rgba(52, 194, 154, .32), transparent 62%),
    radial-gradient(700px 260px at 18% 0%, rgba(120, 180, 255, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
  overflow: hidden;
}
.hero-inner { padding: clamp(48px, 8vw, 96px) 0 clamp(96px, 12vw, 150px); max-width: 860px; margin-left: max(16px, calc((100% - var(--wrap)) / 2)); }
.page-hero .wrap { padding: clamp(28px, 5vw, 56px) 0 clamp(80px, 10vw, 120px); }
.hero h1, .page-hero h1 { color: #fff; }
.page-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); max-width: 22ch; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--aurora-soft); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: #d3e2ee; max-width: 62ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-art { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 130px); }

.button {
  display: inline-block; padding: 11px 18px; border-radius: 10px;
  background: var(--navy-800); color: #fff; font-weight: 700; text-decoration: none;
  border: 2px solid var(--navy-800);
}
.button:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.button-light { background: #fff; color: var(--navy-900); border-color: #fff; }
.button-light:hover { background: var(--aurora-soft); border-color: var(--aurora-soft); color: var(--navy-950); }
.button-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.button-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 8px; padding: 0; font-size: .9rem; color: #b9cfe0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #7f9bb2; }
.crumbs a { color: #d7e5f1; }

/* Stats */
.stats ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 8px auto 0; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stats strong { display: block; font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1.1 var(--serif); color: var(--navy-900); }
.stats span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: clamp(40px, 6vw, 64px) 0 0; }
.section-head { max-width: 760px; margin-bottom: 22px; }
.section-head p { margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(10, 27, 46, .08), 0 16px 36px rgba(10, 27, 46, .12); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

.shot, .profile-media {
  position: relative; background: var(--ice);
  border-bottom: 1px solid var(--line);
  padding-top: 18px;
}
.shot::before, .profile-media::before {
  content: ""; position: absolute; top: 6px; left: 10px; width: 42px; height: 7px;
  background:
    radial-gradient(circle at 3.5px 3.5px, #e27d6f 3px, transparent 3.5px),
    radial-gradient(circle at 19px 3.5px, #e3b04b 3px, transparent 3.5px),
    radial-gradient(circle at 34.5px 3.5px, #57b98d 3px, transparent 3.5px);
}
.shot img, .profile-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 20px; flex: 1; }
.tag { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; font-weight: 800; color: var(--link); }
.card h3 { margin: 0; font-size: 1.32rem; }
.card h3 a { color: var(--navy-900); text-decoration: none; }
.card h3 a:hover { color: var(--link); text-decoration: underline; }
.domain { margin: 0; font: 500 .88rem/1.3 var(--mono); color: var(--muted); }
.blurb { margin: 4px 0 0; color: #34414f; font-size: 1rem; }
.card-more { margin: auto 0 0; padding-top: 10px; font-weight: 700; font-size: .95rem; }
.card-more a { text-decoration: none; }
.card-more a:hover { text-decoration: underline; }

/* Approach + FAQ */
.band { margin-top: clamp(40px, 6vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pillars div { border-top: 3px solid var(--aurora); padding-top: 14px; }
.pillars p { margin: 0; color: var(--muted); }

.faq-list { display: grid; gap: 4px; max-width: 820px; }
.faq-list > div { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-list h3 { font-size: 1.15rem; }
.faq-list p { margin: 0; color: var(--muted); }

/* Category pages */
.page-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 32px 0 8px; align-items: start; }
.toc { position: sticky; top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: .95rem; }
.toc-title { margin: 0 0 8px; font-weight: 800; color: var(--navy-900); }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.subgroup { font-size: 1.1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 28px 0 0; }
.subgroup:first-child { margin-top: 0; }

.profile {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start;
  padding: 28px; margin: 0 0 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  scroll-margin-top: 16px;
}
.profile-media { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; position: sticky; top: 20px; }
.profile-body h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin: 4px 0 4px; }
.profile-body > p { margin: 0 0 12px; }
.profile-body .domain { margin-bottom: 12px; }
.profile-body h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 800; margin: 18px 0 8px; color: var(--navy-900); }
.best-for { color: var(--muted); }
.link-list { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.link-list-big { font-size: 1.15rem; gap: 10px; }
.profile-cta { margin: 18px 0 0 !important; }
.next-link { margin: 8px 0 0; color: var(--muted); }

/* About / prose */
.prose { max-width: 780px; padding: 32px 0 8px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.site-list { columns: 1; }

/* Footer */
.site-footer { margin-top: clamp(48px, 7vw, 80px); background: var(--navy-950); color: #c3d4e3; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 44px 0 28px; }
.footer-about p { margin: 12px 0 0; max-width: 34ch; }
.footer-heading { margin: 0 0 10px; color: #fff; font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #c3d4e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.brand-footer { font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0 28px; }
.footer-bottom p { margin: 0; color: #93abbf; font-size: .88rem; }

/* Responsive */
@media (max-width: 900px) {
  .page-body { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; }
  .toc ul { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .profile { grid-template-columns: 1fr; padding: 20px; }
  .profile-media { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .stats ul { grid-template-columns: 1fr; }
  .stats li { display: flex; align-items: baseline; gap: 10px; }
  .stats strong { display: inline; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { margin-left: 16px; margin-right: 16px; }
}
