:root {
  color-scheme: light;
  --accent: #f8c84d;
  --accent-2: #75d5d1;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --surface-2: #f1f2ef;
  --surface-3: #e6e8e2;
  --ink: #111317;
  --muted: #666d75;
  --faint: #8d949c;
  --line: #e6e8e2;
  --line-strong: #d5d8d0;
  --shadow: 0 18px 44px rgba(21, 24, 29, 0.08);
  --radius: 12px;
  --container: 1180px;
  --narrow: 760px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

:root.dark {
  color-scheme: dark;
  --accent: #f8c84d;
  --accent-2: #77d8d2;
  --paper: #151617;
  --surface: #1c1d1f;
  --surface-2: #24262a;
  --surface-3: #303239;
  --ink: #f4f2eb;
  --muted: #b8b5ad;
  --faint: #8d8b86;
  --line: #2d3035;
  --line-strong: #3c4148;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.2px;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.cover-art {
  position: fixed;
  inset: 0 0 auto 0;
  height: 340px;
  opacity: .86;
  pointer-events: none;
  z-index: -1;
}

.cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  width: min(var(--container), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .03em;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(18px);
}

.site-nav a {
  font-size: 14px;
  font-weight: 550;
  color: var(--muted);
  transition: color .2s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.button,
.button-small,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 650;
  line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.button {
  min-height: 48px;
  padding: 0 24px;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.button:hover,
.button-small:hover,
.icon-button:hover {
  background: var(--accent);
  color: #141414;
  text-decoration: none;
  transform: translateY(-1px);
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle span:not(.sr-only) {
  width: 16px;
  height: 2px;
  margin: 3px auto;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  width: min(var(--narrow), calc(100% - 40px));
  min-height: 560px;
  margin: 44px auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-avatar {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 28px;
  border: 10px solid color-mix(in srgb, var(--surface) 76%, transparent);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
}

h1 {
  margin-bottom: 18px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(64px, 10vw, 112px);
  line-height: .86;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-pronunciation {
  margin: -4px auto 18px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
  color: var(--muted);
}

.hero-copy {
  max-width: 660px;
  margin: 0 auto 24px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: var(--muted);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.hero-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.section {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.section-head-center {
  justify-content: center;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  font-weight: 650;
}

.section-head p {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feature-card,
.writing-card {
  min-width: 0;
}

.media-frame,
.article-image,
.work-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  transform: translateZ(0);
}

.media-frame {
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
}

.media-frame img,
.article-image img,
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.feature-card:hover img,
.work-item:hover img,
.writing-card:hover img {
  transform: scale(1.04);
}

.label {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--faint);
}

.card-body h3,
.work-item h3,
.writing-card h3,
.focus-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 650;
}

.card-body p:last-child,
.work-item p:last-child,
.writing-card p:last-child,
.focus-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-list {
  width: min(920px, calc(100% - 40px));
}

.work-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.work-thumb {
  aspect-ratio: 4 / 3;
}

.trust-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.logo-rail {
  display: flex;
  gap: 12px;
  overflow: hidden;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.logo-rail span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--muted);
  font-weight: 650;
  white-space: nowrap;
}

.quote-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.quote-panel blockquote {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(25px, 3.5vw, 42px);
  line-height: 1.12;
  font-weight: 500;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.focus-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 1px 16px 18px -14px rgba(0, 0, 0, .16);
}

.focus-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--accent);
  color: #161616;
}

.focus-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.focus-card a {
  display: inline-flex;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
}

.writing-section {
  width: min(920px, calc(100% - 40px));
}

.view-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}

.view-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.writing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.writing-grid[data-view="list"] {
  grid-template-columns: 1fr;
}

.writing-grid[data-view="list"] .writing-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: start;
}

.article-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}

.writing-grid[data-view="list"] .article-image {
  margin-bottom: 0;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 650;
}

.site-footer {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 34px;
}

.subscribe {
  width: min(920px, 100%);
  margin: 0 auto 42px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.subscribe img {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--surface);
}

.subscribe h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
}

.subscribe p {
  margin-bottom: 0;
  color: var(--muted);
}

.subscribe form {
  display: flex;
  gap: 10px;
}

.subscribe input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  outline: 0;
  color: var(--ink);
  background: var(--surface);
}

.subscribe input:focus {
  border-color: var(--ink);
}

.footer-bottom {
  width: min(920px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 14px;
  color: var(--ink);
  font-weight: 650;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 980px) {
  .feature-grid,
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    gap: 16px;
  }

  .site-nav {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 14px;
    left: auto;
    width: min(220px, calc(100% - 28px));
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
    color: var(--ink);
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: var(--surface-2);
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: auto;
    margin-top: 48px;
    padding-bottom: 24px;
  }

  .hero-avatar {
    width: 132px;
    height: 132px;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .feature-grid,
  .focus-grid,
  .writing-grid {
    grid-template-columns: 1fr;
  }

  .work-item,
  .writing-grid[data-view="list"] .writing-card {
    grid-template-columns: 112px 1fr;
    gap: 16px;
  }

  .work-item h3,
  .writing-card h3 {
    font-size: 19px;
  }

  .subscribe {
    grid-template-columns: 1fr;
  }

  .subscribe form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .section,
  .split-list,
  .writing-section,
  .site-footer {
    width: min(100% - 28px, var(--container));
  }

  .cover-art {
    height: 280px;
  }

  h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-links {
    gap: 8px 14px;
  }

  .work-item,
  .writing-grid[data-view="list"] .writing-card {
    grid-template-columns: 1fr;
  }

  .work-thumb {
    max-width: 220px;
  }

  .quote-panel,
  .subscribe {
    padding: 24px;
  }
}
