/* ==========================================================================
   Pomme Bleue — studio site
   1. Faces & tokens
   2. Reset & base
   3. Header
   4. Hero
   5. Featured release
   6. Studio
   7. Press
   8. Footer
   9. Lightbox
   10. Motion & utilities
   ========================================================================== */

/* 1. Faces & tokens ------------------------------------------------------- */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f0e8;
  --paper-2: #eae5d8;
  --ink: #101318;
  --ink-70: rgba(16, 19, 24, 0.72);
  --ink-55: rgba(16, 19, 24, 0.62);
  --bleu: #1b3fd6;
  --bleu-deep: #0b1c6b;
  --bleu-tint: #e8ebfa;
  --deep: #06100d;
  --deep-2: #0a1712;
  --green: #3be06b;
  --bone: #eaf2ec;
  --rule: rgba(16, 19, 24, 0.14);
  --rule-strong: rgba(16, 19, 24, 0.28);
  --rule-dark: rgba(234, 242, 236, 0.14);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --head-h: 74px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Reset & base --------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--bleu);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 1px;
}

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--bleu);
  color: #fff;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* 3. Header --------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--head-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-head.is-stuck {
  border-bottom-color: var(--rule);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 26px;
  height: 26px;
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.19rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}

.nav a {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-70);
  transition: color 0.2s ease;
}

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

.nav a.nav-steam {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bleu);
}

.nav a.nav-steam:hover {
  color: var(--bleu-deep);
}

/* 4. Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6.6vw, 88px) clamp(48px, 7vw, 92px);
}

.hero-mark {
  position: absolute;
  right: -3vw;
  top: 4%;
  width: min(40vw, 520px);
  rotate: -6deg;
  opacity: 1;
  pointer-events: none;
}


.hero-mark img {
  width: 100%;
  height: auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--bleu);
}

.hero h1 {
  margin-top: clamp(20px, 3vw, 32px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.15rem, 11.4vw, 10.6rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--bleu);
  font-style: normal;
}

.lede {
  max-width: 47ch;
  margin-top: clamp(30px, 3.6vw, 46px);
  font-size: clamp(1.03rem, 1.35vw, 1.19rem);
  line-height: 1.62;
  color: var(--ink-70);
  text-wrap: pretty;
}

.lede strong {
  color: var(--ink);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 3vw, 36px);
}

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--btn-bg);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s var(--ease);
}

.btn svg {
  flex: none;
}

.btn .price {
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  letter-spacing: 0.06em;
}

.btn--primary {
  --btn-bg: var(--bleu);
  border-color: var(--bleu);
  color: #fff;
}

.btn--primary:hover {
  --btn-bg: var(--bleu-deep);
  border-color: var(--bleu-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--rule-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: rgba(16, 19, 24, 0.05);
  border-color: var(--ink);
}

.btn--quiet {
  padding-inline: 4px;
  color: var(--ink-70);
  border-color: transparent;
}

.btn--quiet:hover {
  color: var(--ink);
}

.btn--quiet svg {
  transition: translate 0.25s var(--ease);
}

.btn--quiet:hover svg {
  translate: 2px -2px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.hero-meta div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-meta dt {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.hero-meta dd {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-meta .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--bleu);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}

/* 5. Featured release ----------------------------------------------------- */

.feature {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--bone);
  padding-block: clamp(56px, 7vw, 100px) clamp(64px, 8vw, 112px);
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 46% at 12% -6%, rgba(59, 224, 107, 0.13), transparent 68%),
    radial-gradient(40% 40% at 92% 8%, rgba(59, 224, 107, 0.05), transparent 70%);
  pointer-events: none;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(234, 242, 236, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 242, 236, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 55%);
  mask-image: linear-gradient(to bottom, #000, transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.feature > .shell {
  position: relative;
  z-index: 1;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.section-label .num {
  color: var(--bleu);
}

.section-label .rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.feature .section-label {
  color: rgba(234, 242, 236, 0.5);
}

.feature .section-label .num {
  color: var(--green);
}

.feature .section-label .rule {
  background: var(--rule-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.feature-art img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--deep-2);
}

.feature-art figcaption {
  margin-top: 12px;
  font: 400 10.5px/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(234, 242, 236, 0.56);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(59, 224, 107, 0.42);
  border-radius: 999px;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--green);
}

.pill .dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 3px rgba(59, 224, 107, 0.16);
}

.feature h2 {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.95rem, 3.7vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
  color: #f4f9f3;
  text-wrap: balance;
}

.feature h2 .sub {
  display: block;
  font-size: 0.62em;
  color: rgba(234, 242, 236, 0.64);
  letter-spacing: -0.01em;
}

.feature-lede {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.62;
  color: rgba(234, 242, 236, 0.74);
}

.feature-list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(234, 242, 236, 0.62);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--green);
  opacity: 0.8;
}

.feature-list strong {
  color: #eef6ec;
  font-weight: 600;
}

.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-dark);
}

.spec dt {
  font: 500 9.5px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(234, 242, 236, 0.56);
}

.spec dd {
  margin-top: 7px;
  font: 400 12px/1.35 var(--mono);
  letter-spacing: 0.03em;
  color: rgba(234, 242, 236, 0.86);
}

.feature .btn--ghost {
  border-color: rgba(234, 242, 236, 0.26);
  color: var(--bone);
}

.feature .btn--ghost:hover {
  background: rgba(234, 242, 236, 0.08);
  border-color: rgba(234, 242, 236, 0.55);
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(36px, 4.5vw, 56px);
}

.shot {
  position: relative;
  display: block;
  border: 1px solid rgba(234, 242, 236, 0.13);
  padding: 0;
  border: 0;
  background: var(--deep-2);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 16 / 9;
}

.shot picture {
  display: contents;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: scale 0.6s var(--ease), opacity 0.3s ease;
}

.shot::after {
  content: "Expand";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(6, 16, 13, 0.7);
  color: var(--green);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  translate: 0 4px;
  transition: opacity 0.25s ease, translate 0.25s var(--ease);
}

.shot:hover img {
  scale: 1.025;
}

.shot:hover::after,
.shot:focus-visible::after {
  opacity: 1;
  translate: none;
}

/* 6. Studio --------------------------------------------------------------- */

.studio {
  padding-block: clamp(64px, 9vw, 128px);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
}

.studio-statement {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.9vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.studio-statement em {
  font-style: normal;
  color: var(--bleu);
}

.studio-copy p {
  max-width: 44ch;
  color: var(--ink-70);
}

.studio-copy p + p {
  margin-top: 16px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.facts li {
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.facts li span {
  color: var(--ink);
}

/* 7. Press ---------------------------------------------------------------- */

.press {
  padding-bottom: clamp(64px, 9vw, 120px);
}

.press-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(26px, 4vw, 52px);
  background: var(--bleu-tint);
  border: 1px solid rgba(27, 63, 214, 0.18);
}

.press-card h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

.press-card p {
  max-width: 40ch;
  margin-top: 14px;
  color: rgba(16, 19, 24, 0.7);
  font-size: 0.95rem;
}

.press-card .actions {
  margin-top: 26px;
}

.press-card .btn--primary .meta {
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.press-card .btn--ghost {
  border-color: rgba(27, 63, 214, 0.32);
  color: var(--bleu-deep);
}

.press-card .btn--ghost:hover {
  background: rgba(27, 63, 214, 0.07);
  border-color: var(--bleu);
}

.factsheet {
  display: grid;
  gap: 0;
  align-self: start;
  border-top: 1px solid rgba(27, 63, 214, 0.2);
}

.factsheet div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(27, 63, 214, 0.14);
}

.factsheet dt {
  flex: none;
  font: 500 9.5px/1.4 var(--mono);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(16, 19, 24, 0.62);
}

.factsheet dd {
  text-align: right;
  font: 400 12px/1.45 var(--mono);
  color: var(--ink);
}

/* 8. Footer --------------------------------------------------------------- */

.site-foot {
  position: relative;
  overflow: hidden;
  background: var(--bleu-deep);
  color: rgba(234, 242, 252, 0.8);
  padding-top: clamp(48px, 6vw, 76px);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand--light {
  color: #f3f0e8;
}

.brand--light .brand-name {
  color: #f3f0e8;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.foot-links a {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(234, 242, 252, 0.72);
  transition: color 0.2s ease;
}

.foot-links a:hover {
  color: #fff;
}

.foot-word {
  margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 15.2vw, 14rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: #f3f0e8;
  white-space: nowrap;
  font-optical-sizing: auto;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-block: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font: 400 10.5px/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(234, 242, 252, 0.55);
}

.foot-base a {
  text-decoration: none;
  color: inherit;
}

.foot-base a:hover {
  color: #fff;
}

/* 9. Lightbox ------------------------------------------------------------- */

.lightbox {
  width: min(94vw, 1440px);
  max-width: none;
  max-height: 92vh;
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--deep);
  color: var(--bone);
}

.lightbox::backdrop {
  background: rgba(4, 9, 7, 0.88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: var(--deep-2);
}

.lightbox-cap {
  padding: 12px 16px;
  font: 400 10.5px/1.4 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(234, 242, 236, 0.55);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(6, 16, 13, 0.72);
  color: var(--bone);
  font: 400 18px/1 var(--mono);
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(6, 16, 13, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
}

/* 10. Motion & utilities -------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 980px) {
  .feature-grid,
  .studio-grid,
  .press-card {
    grid-template-columns: 1fr;
  }

  .feature-art {
    order: -1;
  }

  .studio-statement {
    max-width: 22ch;
  }

  .hero-mark {
    top: 30%;
    right: -22vw;
    width: 76vw;
  }
}

@media (max-width: 700px) {
  :root {
    --head-h: 62px;
  }

  body {
    font-size: 16px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .brand-name {
    font-size: 1.06rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 13.5vw, 4.2rem);
  }

  .hero-meta {
    gap: 14px 28px;
  }

  .shots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .shots::-webkit-scrollbar {
    display: none;
  }

  .shot {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .spec {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .spec div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }

  .spec dd {
    margin-top: 0;
    text-align: right;
  }

  .factsheet div {
    flex-direction: column;
    gap: 4px;
  }

  .factsheet dd {
    text-align: left;
  }

  .press-card .actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .nav a:not(.nav-steam) {
    display: none;
  }
}

/* 11. 404 ---------------------------------------------------------------- */

.error-shell {
  min-height: calc(100svh - var(--head-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(48px, 10vw, 120px);
}

.error-code {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(5.5rem, 20vw, 13rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--bleu);
  font-optical-sizing: auto;
}

.error-shell h1 {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
}

.error-shell p {
  max-width: 38ch;
  margin: 14px auto 0;
  color: var(--ink-70);
}

.error-shell .actions {
  justify-content: center;
}
