:root {
  --ink: #0b1720;
  --paper: #fbfcfa;
  --paper-cool: #eef5f3;
  --snow: #fff;
  --fjord: #426f83;
  --fjord-deep: #163c50;
  --pine: #264f47;
  --cabin: #cb5d52;
  --muted: #68767c;
  --line: rgba(17, 39, 51, 0.14);
  --display: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(17, 39, 51, 0.12);
}

.nav {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links .nav-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.journal-hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 106px;
  background:
    radial-gradient(circle at 16% 18%, rgba(171, 218, 210, 0.8), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(179, 205, 238, 0.74), transparent 35%),
    linear-gradient(145deg, #eef7f3 0%, #f4f5fa 52%, #fbf8f4 100%);
}

.journal-hero::after {
  position: absolute;
  right: -100px;
  bottom: -195px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(22, 60, 80, 0.13);
  border-radius: 50%;
  content: "";
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.aurora-one {
  top: -330px;
  right: 10%;
  width: 720px;
  height: 520px;
  background: linear-gradient(135deg, rgba(168, 223, 207, 0.62), rgba(175, 205, 239, 0.58), rgba(234, 199, 214, 0.4));
  transform: rotate(-10deg);
}

.aurora-two {
  bottom: -360px;
  left: -260px;
  width: 700px;
  height: 620px;
  background: linear-gradient(145deg, rgba(159, 203, 214, 0.48), rgba(255, 255, 255, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 90px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.65fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--fjord-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 2px;
  background: var(--cabin);
  content: "";
}

.journal-hero h1 {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(56px, 6.8vw, 92px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.97;
}

.journal-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--fjord-deep), var(--fjord), var(--pine));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lede {
  margin: 0;
  color: #40515b;
  font-size: 19px;
}

.journal-index {
  padding: 108px 0 122px;
  background: var(--paper-cool);
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
}

.section-heading h2 {
  margin: 15px 0 0;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 62px);
  letter-spacing: -0.065em;
  line-height: 1;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.entry-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(13, 36, 47, 0.08);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border-bottom: 1px solid var(--line);
}

.entry-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.entry-card:last-child {
  border-bottom: 0;
}

.entry-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 45%, rgba(66, 111, 131, 0.07));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.entry-card:hover::after,
.entry-card:focus-visible::after {
  opacity: 1;
}

.app-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--fjord);
}

.app-letter {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 5px;
  color: white;
  background: var(--fjord);
  font-family: var(--display);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.app-letter-vern,
.app-letter-bro {
  background: var(--pine);
}

.entry-saga .app-dot,
.article-saga .app-dot {
  border-radius: 50%;
  background: var(--cabin);
}

.entry-studio .app-dot,
.article-studio .app-dot {
  background: var(--cabin);
}

.entry-number {
  margin-top: 28px;
  color: var(--fjord);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entry-card strong {
  max-width: 470px;
  margin-top: 9px;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.entry-card > span:nth-of-type(3) {
  max-width: 470px;
  margin-top: 14px;
  color: var(--muted);
}

.entry-card .read-link {
  margin-top: auto;
  padding-top: 30px;
  color: var(--fjord-deep);
  font-size: 13px;
  font-weight: 800;
}

.read-link i {
  margin-left: 7px;
  font-style: normal;
}

.article-section {
  padding: 125px 0;
  scroll-margin-top: 0;
}

.article-section + .article-section {
  border-top: 1px solid var(--line);
}

.article-saga {
  background: #f7f7f2;
}

.article-skue {
  background: #edf4f2;
}

.article-vern {
  background:
    radial-gradient(circle at 82% 12%, rgba(56, 90, 82, 0.13), transparent 28rem),
    #f7f7f2;
}

.article-bro {
  background:
    radial-gradient(circle at 82% 12%, rgba(66, 111, 131, 0.16), transparent 28rem),
    #f3f7f6;
}

.article-studio {
  background:
    radial-gradient(circle at 85% 12%, rgba(159, 203, 214, 0.18), transparent 28rem),
    var(--paper);
}

.article-layout {
  display: grid;
  align-items: start;
  gap: 90px;
  grid-template-columns: 190px minmax(0, 720px);
  justify-content: center;
}

.article-meta {
  position: sticky;
  top: 38px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.article-meta .app-label {
  margin-bottom: 10px;
  color: var(--ink);
}

.article-meta a {
  width: fit-content;
  margin-top: 12px;
  color: var(--fjord-deep);
  font-weight: 800;
  letter-spacing: 0;
}

.article-meta a:hover,
.article-meta a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-copy header {
  margin-bottom: 54px;
}

.article-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(45px, 6vw, 72px);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.article-deck {
  margin: 25px 0 0;
  color: var(--fjord-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 29px);
  font-style: italic;
  line-height: 1.45;
}

.article-copy > p {
  margin: 0 0 1.4em;
}

.article-copy h3 {
  margin: 2.2em 0 0.7em;
  font-family: var(--display);
  font-size: 31px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.article-copy blockquote {
  margin: 2em 0;
  padding: 0 0 0 26px;
  border-left: 4px solid var(--cabin);
  color: var(--fjord-deep);
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.icon-showcase {
  display: grid;
  gap: 12px;
  margin: 48px 0 54px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-panel {
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.icon-image-wrap {
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  place-items: center;
  padding: 12px;
  background:
    radial-gradient(circle at 50% 34%, rgba(159, 203, 214, 0.18), transparent 58%),
    linear-gradient(145deg, #fff, #f1f5f3);
}

.journal-icon {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(28, 48, 57, 0.15));
}

.journal-icon-saga {
  scale: 0.86;
}

.journal-lettermark {
  display: grid;
  width: 81.5%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 22.4%;
  color: #fff;
  background: var(--fjord-deep);
  box-shadow: 0 16px 18px rgba(28, 48, 57, 0.15);
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 112px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.icon-panel figcaption {
  display: grid;
  gap: 2px;
  padding: 15px 16px 17px;
  border-top: 1px solid var(--line);
}

.icon-panel figcaption strong {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.035em;
}

.icon-panel figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.collection-link {
  border-bottom: 1px solid currentColor;
}

.collection-link:hover,
.collection-link:focus-visible {
  color: var(--cabin);
}

.article-closing {
  color: var(--fjord-deep);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
}

.journal-closing {
  padding: 92px 0;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(11, 23, 32, 0.92), rgba(17, 53, 66, 0.84)),
    url("/assets/verkheim-workshop.png") center 47% / cover;
}

.closing-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.78);
}

.journal-closing h2 {
  margin: 15px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.button-light {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--cabin);
}

.site-footer {
  padding: 65px 0;
  color: #fff;
  background: #071018;
}

.footer-grid {
  display: grid;
  align-items: end;
  gap: 30px;
  grid-template-columns: 1fr auto;
}

.footer-grid > div:first-child p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.53);
}

.footer-links {
  display: flex;
  gap: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
  color: #fff;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 12px;
}

a:focus-visible {
  outline: 3px solid var(--cabin);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 1120px);
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a:not(.nav-current) {
    display: none;
  }

  .journal-hero {
    padding: 132px 0 76px;
  }

  .hero-grid,
  .section-heading {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .journal-hero h1 {
    font-size: clamp(49px, 14vw, 72px);
  }

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

  .entry-card,
  .entry-card:nth-child(odd),
  .entry-card:nth-last-child(-n + 2) {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .entry-card:last-child {
    border-bottom: 0;
  }

  .article-section {
    padding: 84px 0;
  }

  .article-layout {
    gap: 44px;
    grid-template-columns: 1fr;
  }

  .article-meta {
    position: static;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }

  .article-copy header {
    margin-bottom: 38px;
  }

  .article-copy h2 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .icon-showcase {
    grid-template-columns: 1fr;
  }

  .icon-panel {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 0.62fr);
  }

  .icon-panel figcaption {
    align-content: end;
    align-self: stretch;
    padding: 24px 18px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

  .nav-links a::after,
  .entry-card::after {
    transition: none;
  }
}
