/* ==========================================================================
   Ecello Labs — public site
   Design tokens and layout carried over from the Tailwind build, written out
   by hand so the site has no build step.
   ========================================================================== */

:root {
  --orange: #e9631b;
  --tangerine: #f5813c;
  --melon: #f89b62;
  --peach: #f8b58d;

  --mist: #fce7d7;
  --paper: #fffaf6;
  --ink: #121212;
  --muted: rgba(18, 18, 18, 0.6);
  --line: rgba(233, 99, 27, 0.22);

  --brand: linear-gradient(90deg, #e9631b 0%, #f5813c 42%, #f89b62 74%, #f8b58d 100%);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", var(--font-sans);
  --font-wordmark: "Baloo 2", var(--font-display);

  --shell: 1180px;
  --gutter: 26px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

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

.section {
  padding-block: 96px;
}

.section-white {
  background: #fff;
}

.section-paper {
  background: var(--paper);
}

.page-top {
  padding-top: 128px;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.accent {
  color: var(--orange);
}

.text-gradient {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover {
  background: var(--tangerine);
}

.underline-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.underline-link:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}

/* ---- header ------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
}

.brand img {
  width: 80px;
  height: 40px;
  object-fit: cover;
  object-position: left;
}

.nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: #33405a;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: #0b1f3a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.nav a:hover {
  color: #0b1f3a;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #0b1f3a;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px var(--gutter) 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

/* display:flex above outranks the UA [hidden] rule, so restate it. */
.nav-drawer[hidden] {
  display: none;
}

.nav-drawer a {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: #33405a;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .nav-drawer {
    display: none !important;
  }
}

/* ---- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(233, 99, 27, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233, 99, 27, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(100% 80% at 30% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(100% 80% at 30% 40%, #000 10%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -128px;
  right: 0;
  width: 520px;
  height: 520px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 181, 141, 0.2), transparent 65%);
  filter: blur(48px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 144px;
  padding-bottom: 80px;
}

.hero-cols {
  display: grid;
  gap: 40px;
  align-items: start;
}

.hero-title {
  font-size: clamp(44px, 6.4vw, 80px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero-title span {
  display: block;
}

.hero-title .accent {
  color: var(--orange);
}

.hero-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .hero-inner {
    padding-top: 176px;
    padding-bottom: 112px;
  }

  .hero-cols {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .hero-copy {
    padding-top: 8px;
  }
}

/* ---- research areas ----------------------------------------------------- */

.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 48px;
}

.area {
  max-width: 360px;
}

.area h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.area p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

@media (min-width: 640px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---- team --------------------------------------------------------------- */

.team {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.team-row {
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid var(--line);
  padding-block: 56px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.team-portrait {
  position: relative;
  flex-shrink: 0;
  width: 210px;
  height: 240px;
}

.team-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: rgba(233, 99, 27, 0.11);
  transition: background-color 0.5s ease;
}

.team-row:hover .team-portrait::before {
  background: rgba(233, 99, 27, 0.15);
}

.team-portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.team-text h3 {
  margin-top: 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.team-bio {
  margin-top: 16px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
}

.team-links a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.team-links a:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}

@media (min-width: 768px) {
  .team-row.flipped {
    justify-content: flex-end;
  }

  .team-card {
    flex-direction: row;
    width: 72%;
    gap: 48px;
  }

  .team-row.flipped .team-card {
    flex-direction: row-reverse;
    text-align: right;
  }

  .team-row.flipped .team-links {
    justify-content: flex-end;
  }

  .team-portrait {
    width: 240px;
    height: 290px;
  }

  .team-text {
    flex: 1;
    min-width: 0;
    padding-top: 8px;
  }
}

/* ---- writing teaser ----------------------------------------------------- */

.teaser-head {
  display: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  margin-top: 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.teaser-head > div {
  display: flex;
  gap: 40px;
  white-space: nowrap;
}

.date-col {
  width: 72px;
  text-align: right;
}

.teaser-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.teaser-list li {
  border-bottom: 1px solid var(--line);
}

.teaser {
  display: grid;
  gap: 8px;
  padding-block: 24px;
}

.teaser h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

.teaser:hover h3 {
  color: var(--orange);
}

.teaser-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.teaser-cta {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .teaser-head {
    display: flex;
  }

  .teaser-list {
    margin-top: 0;
    border-top: 0;
  }

  .teaser {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 40px;
  }

  .teaser-meta {
    gap: 40px;
  }
}

.empty-writing {
  margin-top: 48px;
  padding-block: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty-writing p + p {
  max-width: 420px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---- contact ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  gap: 48px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.contact-intro {
  max-width: 360px;
}

.contact-intro p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.contact-form {
  max-width: 620px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 40px;
}

.field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding-block: 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.field textarea {
  resize: none;
  line-height: 1.7;
}

.field select {
  appearance: none;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(18, 18, 18, 0.38);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-actions {
  margin-top: 40px;
}

.form-note {
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.form-note.is-success {
  background: rgba(233, 99, 27, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
}

.form-note.is-error {
  background: rgba(198, 40, 40, 0.07);
  border: 1px solid rgba(198, 40, 40, 0.3);
  color: #8c2f2f;
}

@media (min-width: 640px) {
  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-wide {
    grid-column: span 2;
  }
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
  }
}

/* ---- writing index ------------------------------------------------------ */

.page-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-lede {
  margin-top: 20px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.chip.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.post-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.post-list li {
  border-bottom: 1px solid var(--line);
}

.post-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
  padding-block: 32px;
}

.post-row-main {
  min-width: 0;
}

.post-row-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.post-row h2 {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.post-row:hover h2 {
  color: var(--orange);
}

.post-row-main > p {
  margin-top: 12px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.post-row-authors {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.post-row-aside {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.post-row-date {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.post-row-thumb {
  display: none;
}

@media (min-width: 768px) {
  .post-row {
    grid-template-columns: 1fr auto;
  }

  .post-row-aside {
    flex-direction: column;
    align-items: flex-end;
  }

  .post-row-thumb {
    display: block;
    width: 168px;
    height: 104px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--mist);
  }

  .post-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ---- article ------------------------------------------------------------ */

.back-link {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--orange);
}

.article-head {
  margin-top: 40px;
  max-width: 720px;
}

.article-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.article-head h1 {
  margin-top: 16px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.article-excerpt {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.article-authors {
  color: var(--ink);
}

.article-cover {
  margin-top: 48px;
  max-width: 860px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}

.article-cover img {
  width: 100%;
  height: auto;
}

.author-notes {
  margin-top: 64px;
  max-width: 720px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.author-note {
  padding-block: 16px;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
}

.author-title,
.author-bio {
  font-size: 13px;
  color: var(--muted);
}

.author-bio {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.related {
  margin-top: 72px;
  max-width: 720px;
}

.related-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.related .teaser-list {
  margin-top: 16px;
}

/* ---- article typography (post bodies) ----------------------------------- */

.prose-research {
  margin-top: 56px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.prose-research > * + * {
  margin-top: 1.5rem;
}

.prose-research p {
  color: rgba(18, 18, 18, 0.82);
}

.prose-research h2,
.prose-research h3,
.prose-research h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.prose-research h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  margin-top: 3.25rem;
}

.prose-research h3 {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  margin-top: 2.5rem;
}

.prose-research h4 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 2rem;
}

.prose-research a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}

.prose-research a:hover {
  opacity: 0.72;
}

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

.prose-research ul,
.prose-research ol {
  padding-left: 1.35rem;
  color: rgba(18, 18, 18, 0.82);
}

.prose-research ul {
  list-style: disc;
}

.prose-research ol {
  list-style: decimal;
}

.prose-research li::marker {
  color: var(--orange);
}

.prose-research li + li {
  margin-top: 0.5rem;
}

.prose-research blockquote {
  margin: 0;
  border-left: 2px solid var(--orange);
  padding-left: 1.25rem;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}

.prose-research code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.875em;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.12em 0.4em;
}

.prose-research pre {
  background: #1a1210;
  color: #f8e9df;
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.65;
}

.prose-research pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.prose-research hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

.prose-research table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.prose-research th,
.prose-research td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.85rem;
  text-align: left;
}

.prose-research th {
  background: var(--mist);
  font-weight: 600;
}

.prose-research figure {
  margin: 2.5rem 0;
}

.prose-research figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--mist);
}

.prose-research figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- footer ------------------------------------------------------------- */

.site-footer {
  background: #fff;
  padding-block: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-links {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--orange);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 64px;
  }
}

/* ---- 404 ---------------------------------------------------------------- */

.notfound {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
}

.notfound-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fffaf6 0%, #fff4ec 45%, #fce7d7 100%);
}

.notfound-glow {
  position: absolute;
  top: -160px;
  right: 0;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 181, 141, 0.22), transparent 65%);
  filter: blur(48px);
}

.notfound-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  padding: 96px var(--gutter);
  text-align: center;
}

.notfound-code {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-size: clamp(110px, 20vw, 190px);
}

.notfound-inner p {
  max-width: 520px;
  margin: 32px auto 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.notfound-inner a {
  display: inline-block;
  margin-top: 40px;
}

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

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