:root {
  --hue: 194;
  --hue-cool: 218;
  --hue-warm: 28;
  --hue-leaf: 112;
  --hue-rose: 348;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: hsla(var(--hue), 36%, 97%, 1);
  --page-quiet: hsla(var(--hue-warm), 42%, 94%, 1);
  --ink: hsla(var(--hue), 42%, 12%, 1);
  --ink-soft: hsla(var(--hue), 28%, 23%, 1);
  --muted: hsla(var(--hue), 16%, 42%, 1);
  --line: hsla(var(--hue), 24%, 24%, 0.14);
  --accent: hsla(var(--hue-warm), 72%, 40%, 1);
  --accent-strong: hsla(var(--hue-warm), 82%, 32%, 1);
  --accent-soft: hsla(var(--hue-warm), 76%, 50%, 0.12);
  --leaf: hsla(var(--hue-leaf), 42%, 35%, 1);
  --cool-soft: hsla(var(--hue-cool), 58%, 44%, 0.1);
  --focus: hsla(var(--hue-cool), 82%, 46%, 0.34);
  --radius: 0.75rem;
  --section-space: clamp(3.25rem, 7vw, 6.75rem);
  --container-pad: clamp(1.1rem, 3.8vw, 2.4rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(180deg, hsla(var(--hue), 35%, 98%, 1) 0%, var(--page) 42%, var(--page-quiet) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 0.22rem solid var(--focus);
  outline-offset: 0.2rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 30;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-wrap {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.site-nav {
  padding-block: clamp(1rem, 2vw, 1.5rem);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(0.85rem, 1.8vw, 1.15rem);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.65rem, 2vw, 1.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  overflow: clip;
  padding-block: clamp(2.5rem, 7vw, 5.75rem) clamp(2.75rem, 7vw, 5.25rem);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.25rem);
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-grid > *,
.section-grid > *,
.work-item > *,
.footer-inner > * {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 100%;
  margin-bottom: 1rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero h1,
.section-title,
.item-title,
.footer-title {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.25rem, 11vw, 7.4rem);
  font-weight: 700;
  line-height: 0.92;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-lede {
  max-width: 43rem;
  margin: clamp(1.1rem, 2.4vw, 1.55rem) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions,
.item-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: clamp(1.35rem, 3vw, 2rem);
  width: 100%;
}

.btn-soft,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  max-width: 100%;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.btn-soft {
  border: 1px solid transparent;
  background: var(--accent);
  color: hsla(var(--hue-warm), 80%, 98%, 1);
}

.btn-soft:hover {
  background: var(--accent-strong);
  color: hsla(var(--hue-warm), 80%, 98%, 1);
}

.btn-line {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-line:hover {
  border-color: hsla(var(--hue), 24%, 20%, 0.3);
  color: var(--ink);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100vw, 48rem);
  isolation: isolate;
  touch-action: none;
}

.hero-vector {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  aspect-ratio: 640 / 588;
  mix-blend-mode: multiply;
  pointer-events: none;
  overflow: visible;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 0;
}

.hero-vector-base {
  opacity: 0.56;
  transition: opacity 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-vector-green {
  fill: hsla(var(--hue), 4%, 42%, 0.075);
}

.hero-vector-blue {
  fill: hsla(var(--hue), 5%, 36%, 0.055);
}

.hero-vector-flow {
  filter: url("#hero-vector-glow-filter");
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.hero-media.is-flowing .hero-vector-flow {
  opacity: var(--hero-vector-flow-opacity, 0.62);
  transition: none;
}

.hero-media.is-flowing .hero-vector-base {
  opacity: 0.72;
}

.portrait-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  justify-items: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.portrait-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(31rem, 42vw, 38rem);
  max-width: none;
  isolation: isolate;
  overflow: visible;
}

.portrait {
  position: relative;
  z-index: 2;
  width: min(72vw, 17.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  padding: 0.42rem;
  background: hsla(var(--hue), 42%, 92%, 1);
  border: 1px solid var(--line);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.portrait-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.caption-dot {
  color: var(--accent);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(9rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3.25rem);
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}

.section-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 650;
  line-height: 1.02;
  text-wrap: balance;
}

.copy-block {
  max-width: 48rem;
}

.copy-block p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.13rem);
}

.copy-block p + p {
  margin-top: 1rem;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 0.42rem 0.72rem;
  font-size: 0.88rem;
  font-weight: 900;
}

.item-list {
  display: grid;
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding-block: clamp(1.2rem, 2.8vw, 1.75rem);
  border-top: 1px solid var(--line);
}

.work-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.item-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  font-weight: 650;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.item-copy {
  max-width: 43rem;
  margin: 0.45rem 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  max-width: 43rem;
  margin: 0.85rem 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  list-style: none;
}

.material-list li {
  position: relative;
  min-width: 0;
  padding-left: 1rem;
  overflow-wrap: anywhere;
}

.material-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 900;
}

.item-actions {
  justify-content: flex-end;
  min-width: max-content;
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-strong);
  font-weight: 900;
  text-decoration: none;
}

.link-action:hover {
  color: var(--ink);
}

.writing-list .work-item:nth-child(even) .item-meta {
  color: hsla(var(--hue-cool), 44%, 42%, 1);
}

.footer {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
}

.footer-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.05;
}

.footer p {
  max-width: 34rem;
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.made-with {
  margin-top: 1.25rem;
  color: hsla(var(--hue), 16%, 42%, 0.86);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    width: 100%;
  }

  .hero-vector {
    inset: 50% auto auto 50%;
    width: 100%;
  }

  .portrait-stage {
    width: min(118vw, 34rem);
  }

  .hero-vector-base {
    opacity: 0.48;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .work-item,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .work-item {
    display: grid;
  }

  .item-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .footer-inner {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 15vw, 4rem);
    line-height: 0.96;
  }

  .material-list {
    grid-template-columns: 1fr;
  }

  .btn-soft,
  .btn-line {
    width: 100%;
  }

  .topic-list li {
    max-width: 100%;
  }
}

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

  .hero-vector-flow {
    transition: opacity 0.01ms linear;
  }

}
