:root {
  --ink: #0e1620;
  --paper: #f4f7f8;
  --foam: #ffffff;
  --cyan: #1aa6e0;
  --navy: #123047;
  --mist: #4d6272;
  --line: #d5e0e8;
  --card: 1.25rem;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--cyan); color: var(--ink); }
section[id] { scroll-margin-top: 5.5rem; }

.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.kicker { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--cyan); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
h1 { margin: 1rem 0 0; font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { margin: 0.5rem 0 0; font-size: clamp(1.875rem, 3vw, 2.25rem); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { border: 1px solid rgba(244, 247, 248, 0.3); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo { height: 2rem; width: auto; }
.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-desktop a { color: rgba(244, 247, 248, 0.8); text-decoration: none; font-size: 0.875rem; font-weight: 500; }
.nav-desktop a:hover { color: var(--paper); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
}
.nav-button span, .nav-button span:before, .nav-button span:after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--paper);
  position: relative;
}
.nav-button span:before, .nav-button span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-button span:before { top: -6px; }
.nav-button span:after { top: 6px; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile a { text-decoration: none; min-height: 2.75rem; display: flex; align-items: center; }
.nav-toggle:checked ~ .wrap .nav-mobile { display: flex; }

.hero {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background: var(--ink);
  min-height: 36rem;
  display: flex;
  align-items: flex-end;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 32, 0.82);
  z-index: -1;
}
.hero-copy { padding: 4rem 0 5rem; }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--cyan); display: inline-block; margin-right: 0.5rem; }
.lede { max-width: 40rem; font-size: 1.125rem; line-height: 1.6; color: rgba(244, 247, 248, 0.85); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.section { padding: 5rem 0; }
.narrow { max-width: 40rem; }
.mist { color: var(--mist); }
.cards-3, .cards-2 { display: grid; gap: 1rem; margin-top: 2.5rem; }
.card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--card);
  padding: 1.5rem;
}
.card h3 { margin: 1rem 0 0; font-size: 1.25rem; }
.card p, .prose p { color: var(--mist); line-height: 1.65; }
.icon { width: 1.5rem; height: 1.5rem; color: var(--cyan); }

.band { background: var(--navy); color: var(--paper); }
.split { display: grid; gap: 2.5rem; align-items: center; }
.split p { color: rgba(244, 247, 248, 0.85); line-height: 1.65; }
.figure { overflow: hidden; border-radius: var(--card); margin: 0; }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption { background: var(--ink); color: rgba(244, 247, 248, 0.7); padding: 1rem 1.25rem; font-size: 0.875rem; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.rating { display: none; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin: 0; }
.star { width: 1rem; height: 1rem; color: var(--cyan); }
blockquote { margin: 0; }
blockquote p { font-family: var(--serif); font-size: 1.125rem; color: var(--ink); line-height: 1.65; }
.who { margin: 1.25rem 0 0; font-size: 0.875rem; font-weight: 600; }
.role { margin: 0.15rem 0 0; color: var(--mist); font-size: 0.875rem; font-weight: 400; }

.offer {
  display: grid;
  overflow: hidden;
  border-radius: var(--card);
  background: var(--ink);
  color: var(--paper);
}
.offer img { width: 100%; height: 14rem; object-fit: cover; }
.offer-copy { padding: 2rem 1.5rem; }
.offer-copy p { color: rgba(244, 247, 248, 0.8); }

.story-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.story { overflow: hidden; padding: 0; text-decoration: none; color: inherit; display: block; }
.story img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story div { padding: 1.25rem; }
.eyebrow { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cyan); }
.story h3 { margin: 0.5rem 0 0; font-size: 1.125rem; }
.story:hover h3 { color: var(--navy); }
.link { color: var(--navy); font-weight: 600; text-decoration: none; }

.contact { border-top: 1px solid var(--line); background: var(--foam); }
.contact-grid { display: grid; gap: 3rem; }
dl { margin: 2rem 0 0; }
dt { font-weight: 600; }
dd { margin: 0.15rem 0 0; color: var(--mist); }
dd a { color: var(--navy); }
.hours { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); padding: 0.5rem 0; color: var(--mist); font-size: 0.875rem; }
form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--card); padding: 1.5rem; }
label { display: block; margin-top: 1rem; font-size: 0.875rem; font-weight: 500; }
label:first-child { margin-top: 0; }
input, textarea {
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid var(--line);
  background: var(--foam);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  outline: none;
}
textarea { border-radius: 1rem; resize: vertical; }
input:focus, textarea:focus { border-color: var(--cyan); }
.form-note { color: var(--mist); font-size: 0.875rem; }

.site-footer { background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
.site-footer p { color: rgba(244, 247, 248, 0.7); }
.site-footer a { color: rgba(244, 247, 248, 0.7); }
.site-footer a:hover { color: var(--paper); }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.legal p { margin: 0; padding: 1rem 0; font-size: 0.75rem; color: rgba(244, 247, 248, 0.5); }

.post { width: min(46rem, calc(100% - 2.5rem)); margin: 3rem auto 4rem; }
.post-cover { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--card); margin-top: 2rem; }
.prose p { font-size: 1.0625rem; }
.aside { margin-top: 3rem; background: var(--navy); color: var(--paper); border-radius: var(--card); padding: 1.5rem; }
.aside p { color: rgba(244, 247, 248, 0.8); }

.blog-list { display: grid; gap: 1.5rem; margin-top: 3rem; }
.blog-item { display: grid; overflow: hidden; padding: 0; }
.blog-item img { width: 100%; height: 13rem; object-fit: cover; }
.blog-item div { padding: 1.5rem; }
.meta { color: var(--mist); font-size: 0.875rem; margin: 0; }

@media (min-width: 768px) {
  .nav-button { display: none; }
  .nav-desktop { display: flex; }
  .nav-mobile { display: none !important; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .rating { display: inline-flex; }
  .offer { grid-template-columns: 2fr 3fr; }
  .offer img { height: 100%; }
  .offer-copy { padding: 3rem 2.5rem; }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-item { grid-template-columns: 2fr 3fr; }
  .blog-item img { height: 100%; }
  .logo { height: 2.25rem; }
}

@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
