/* ============================================================
   Simon Courtois — simoncourtois.com
   Styles extraits de la maquette (Portfolio Simon Courtois.zip)
   Palette : fond #0A0A0C · encre #E9E9E4 · accent #D84122 / #E8532F
   ============================================================ */

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0A0A0C;
  --ink: #E9E9E4;
  --accent: #D84122;
  --accent-hover: #E8532F;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-hover); }

html { scrollbar-width: thin; scrollbar-color: #26262B var(--bg); }

@keyframes ffade {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .2; }
}
@keyframes fil {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.fade { animation: ffade 0.9s var(--ease-out) both; }
.d-1 { animation-delay: .1s; }
.d-15 { animation-delay: .15s; }
.d-22 { animation-delay: .22s; }
.d-25 { animation-delay: .25s; }
.d-34 { animation-delay: .34s; }
.d-4 { animation-delay: .4s; }
.d-45 { animation-delay: .45s; }
.d-46 { animation-delay: .46s; }
.d-55 { animation-delay: .55s; }
.d-58 { animation-delay: .58s; }
.d-7 { animation-delay: .7s; }
.d-100 { animation-delay: 1s; }

@media (prefers-reduced-motion: reduce) {
  .fade { animation: none; }
  * { animation-duration: 0.01ms !important; }
}

/* ---- Fond animé + voiles ---------------------------------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg canvas {
  position: absolute;
  left: -5%;
  top: -5%;
  width: 110%;
  height: 110%;
  display: block;
}
.bg .veil-a, .bg .veil-b { position: absolute; inset: 0; }

.bg--home .veil-a { background: radial-gradient(ellipse 80% 62% at 50% 40%, rgba(10,10,12,0) 0%, rgba(10,10,12,0.5) 62%, rgba(10,10,12,0.9) 100%); }
.bg--home .veil-b { background: linear-gradient(180deg, rgba(10,10,12,0.85) 0%, rgba(10,10,12,0) 20%, rgba(10,10,12,0) 60%, rgba(10,10,12,0.9) 100%); }

.bg--journal .veil-a { background: radial-gradient(ellipse 85% 65% at 50% 30%, rgba(10,10,12,0) 0%, rgba(10,10,12,0.6) 60%, rgba(10,10,12,0.94) 100%); }
.bg--journal .veil-b { background: linear-gradient(180deg, rgba(10,10,12,0.8) 0%, rgba(10,10,12,0.1) 24%, rgba(10,10,12,0.55) 58%, rgba(10,10,12,0.96) 100%); }

.bg--contact .veil-a { background: radial-gradient(ellipse 80% 62% at 50% 45%, rgba(10,10,12,0) 0%, rgba(10,10,12,0.55) 60%, rgba(10,10,12,0.92) 100%); }
.bg--contact .veil-b { background: linear-gradient(180deg, rgba(10,10,12,0.85) 0%, rgba(10,10,12,0.15) 24%, rgba(10,10,12,0.5) 64%, rgba(10,10,12,0.95) 100%); }

.bg--post .veil-a { background: radial-gradient(ellipse 85% 65% at 50% 20%, rgba(10,10,12,0.2) 0%, rgba(10,10,12,0.75) 55%, rgba(10,10,12,0.97) 100%); }
.bg--post .veil-b { background: linear-gradient(180deg, rgba(10,10,12,0.85) 0%, rgba(10,10,12,0.4) 24%, rgba(10,10,12,0.75) 58%, rgba(10,10,12,0.98) 100%); }

/* Grain fixe (SVG inline, aucune requête réseau) */
.grain {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.06;
  background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'180'%20height%3D'180'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.8'%20numOctaves%3D'2'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20type%3D'saturate'%20values%3D'0'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'180'%20height%3D'180'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E");
}

/* ---- Header ------------------------------------------------ */

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 40px;
  border-bottom: 1px solid rgba(233,233,228,0.1);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
}
.site-header .brand { font-weight: 700; letter-spacing: 0.2em; }
.site-header nav { display: flex; gap: 36px; }
.site-header nav a { color: rgba(233,233,228,0.5); }
.site-header nav a:hover { color: var(--ink); }
.site-header nav a.active {
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header nav a.active::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.site-header .right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  color: rgba(233,233,228,0.5);
}
.site-header .clock { min-width: 132px; text-align: right; }

/* ---- Footer ------------------------------------------------ */

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid rgba(233,233,228,0.1);
  padding: 24px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(233,233,228,0.4);
}
.site-footer .socials { display: flex; gap: 24px; }
.site-footer a { color: rgba(233,233,228,0.4); }
.site-footer a:hover { color: var(--ink); }
.site-footer .top-link { display: flex; justify-content: flex-end; }

/* ---- Utilitaires maquette ---------------------------------- */

.kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(233,233,228,0.4);
}
.wrap { max-width: 1360px; margin: 0 auto; }
.mono-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 2.2s ease-in-out infinite;
}
.btn-outline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(233,233,228,0.6);
  border: 1px solid rgba(233,233,228,0.22);
  padding: 12px 20px;
  border-radius: 2px;
  transition: all 0.25s;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}

/* ---- Accueil : hero ---------------------------------------- */

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 63px);
  display: flex;
  flex-direction: column;
}
.hero .hero-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(233,233,228,0.4);
}
.hero .hero-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.hero .title-wrap {
  position: relative;
  height: min(58vh, 620px);
  min-height: 330px;
}
.hero .title-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
  touch-action: none;
}
.hero .hint {
  text-align: center;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: rgba(233,233,228,0.32);
}
.hero .hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 40px;
  padding: 0 40px 36px;
}
.hero .avail { max-width: 400px; }
.hero .avail-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(233,233,228,0.55);
  margin-bottom: 14px;
}
.hero .avail p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233,233,228,0.72);
  text-wrap: pretty;
}
.hero .scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero .scroll-cue span:first-child {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: rgba(233,233,228,0.4);
}
.hero .scroll-cue .fil {
  width: 1px;
  height: 44px;
  background: rgba(233,233,228,0.45);
  display: block;
  animation: fil 2.4s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
.hero .coords {
  justify-self: end;
  text-align: right;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  line-height: 2;
  color: rgba(233,233,228,0.4);
}

/* ---- Accueil : section journal ----------------------------- */

.home-journal {
  position: relative;
  z-index: 1;
  padding: 150px 40px 130px;
  background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(10,10,12,0.92) 16%, #0A0A0C 34%);
}
.home-journal .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.home-journal h2 {
  margin: 20px 0 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.home-journal .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 90px;
  margin-top: 64px;
}
.col-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(233,233,228,0.45);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(233,233,228,0.3);
}

/* Rangée compacte (accueil) */
.mini-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 25px 8px 25px 0;
  border-bottom: 1px solid rgba(233,233,228,0.1);
  transition: padding 0.35s var(--ease-out), color 0.25s, border-color 0.3s, background 0.3s;
}
.mini-row:hover {
  padding-left: 16px;
  color: var(--accent-hover);
  border-color: rgba(232,83,47,0.45);
  background: linear-gradient(90deg, rgba(216,65,34,0.06), rgba(216,65,34,0));
}
.mini-row .num {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(233,233,228,0.35);
}
.mini-row .title {
  display: block;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.mini-row .meta {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(233,233,228,0.4);
}
.mini-row .side {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(233,233,228,0.4);
}

/* ---- Journal : page ---------------------------------------- */

.page-head {
  position: relative;
  z-index: 1;
  padding: 88px 40px 0;
}
.page-head .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.page-head h1 {
  margin: 22px 0 0;
  font-size: clamp(70px, 10.5vw, 150px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.page-head .head-info {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 2;
  color: rgba(233,233,228,0.42);
  padding-bottom: 14px;
  text-align: right;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
}
.chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 11px 18px;
  border: 1px solid rgba(233,233,228,0.22);
  border-radius: 2px;
  background: transparent;
  color: rgba(233,233,228,0.55);
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
}
.chip:hover { color: var(--ink); border-color: rgba(233,233,228,0.5); }
.chip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.search-input {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 11px 18px;
  border: 1px solid rgba(233,233,228,0.22);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  width: 230px;
  margin-left: auto;
  text-transform: uppercase;
}
.search-input::placeholder { color: rgba(233,233,228,0.35); }
.search-input:focus { outline: none; border-color: rgba(233,233,228,0.55); }

.journal-list {
  position: relative;
  z-index: 1;
  padding: 34px 40px 130px;
}
.article-row {
  display: grid;
  grid-template-columns: 110px 1fr 230px;
  gap: 28px;
  align-items: start;
  padding: 30px 10px 30px 0;
  border-bottom: 1px solid rgba(233,233,228,0.1);
  transition: padding 0.35s var(--ease-out), color 0.25s, border-color 0.3s, background 0.3s;
}
.article-row:hover {
  padding-left: 18px;
  color: var(--accent-hover);
  border-color: rgba(232,83,47,0.45);
  background: linear-gradient(90deg, rgba(216,65,34,0.05), rgba(216,65,34,0));
}
.article-row .left {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(233,233,228,0.38);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-row .left .idx { font-size: 13px; color: rgba(233,233,228,0.5); }
.article-row .title {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.article-row .excerpt {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(233,233,228,0.5);
  max-width: 620px;
  text-wrap: pretty;
}
.article-row .side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(233,233,228,0.42);
}
.article-row .side .cat { display: flex; align-items: center; gap: 7px; }
.article-row .side .arrow { font-size: 13px; }
.article-row.hidden { display: none; }

.no-result {
  padding: 60px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(233,233,228,0.4);
  display: none;
}

/* ---- Contact ----------------------------------------------- */

.contact-hero {
  position: relative;
  z-index: 1;
  padding: 96px 40px 40px;
}
.contact-hero h1 {
  margin: 26px 0 0;
  font-size: clamp(60px, 9.5vw, 132px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.contact-hero .lead {
  margin: 30px 0 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233,233,228,0.65);
  text-wrap: pretty;
}
.contact-hero .email-block { margin-top: 72px; }
.contact-hero .email-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(233,233,228,0.42);
  margin-bottom: 16px;
}
.contact-hero .email-link {
  font-size: clamp(28px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  transition: color 0.25s;
}
.contact-hero .email-link span { font-size: 0.5em; }
.contact-hero .info-grid {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid rgba(233,233,228,0.12);
  padding-top: 26px;
}
.contact-hero .info-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(233,233,228,0.38);
  margin-bottom: 12px;
}
.contact-hero .info-value {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(233,233,228,0.75);
}

.networks {
  position: relative;
  z-index: 1;
  padding: 70px 40px 130px;
}
.net-row {
  display: grid;
  grid-template-columns: 46px 1fr auto 40px;
  gap: 24px;
  align-items: baseline;
  padding: 22px 8px 22px 0;
  border-bottom: 1px solid rgba(233,233,228,0.1);
  transition: padding 0.35s var(--ease-out), color 0.25s, border-color 0.3s, background 0.3s;
}
.net-row:hover {
  padding-left: 16px;
  color: var(--accent-hover);
  border-color: rgba(232,83,47,0.45);
  background: linear-gradient(90deg, rgba(216,65,34,0.06), rgba(216,65,34,0));
}
.net-row .num { font-family: var(--mono); font-size: 10px; color: rgba(233,233,228,0.35); }
.net-row .name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.net-row .handle { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: rgba(233,233,228,0.4); }
.net-row .arrow { text-align: right; color: rgba(233,233,228,0.4); }

/* ---- Article ----------------------------------------------- */

.post-hero {
  position: relative;
  z-index: 1;
  padding: 88px 40px 0;
}
.post-hero .top-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(233,233,228,0.4);
}
.post-hero .top-row a { color: rgba(233,233,228,0.4); }
.post-hero .top-row a:hover { color: var(--ink); }
.post-hero h1 {
  margin: 26px 0 0;
  max-width: 1100px;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.post-hero .post-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(233,233,228,0.45);
}
.post-hero .post-meta .cat { display: flex; align-items: center; gap: 7px; }
.post-hero .post-excerpt {
  margin: 26px 0 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(233,233,228,0.6);
  text-wrap: pretty;
}

.post-body {
  position: relative;
  z-index: 1;
  padding: 72px 40px 60px;
}
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(233,233,228,0.78);
}
.prose p { margin: 0 0 1.5em; }
.prose h2 {
  margin: 56px 0 18px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.prose h3 {
  margin: 40px 0 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.prose a { color: var(--accent-hover); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--ink); }
.prose code {
  font-family: var(--mono);
  font-size: 13.5px;
  background: #16161A;
  padding: 2px 6px;
  border-radius: 2px;
}
.prose pre {
  background: #101014;
  border: 1px solid rgba(233,233,228,0.08);
  padding: 20px 22px;
  border-radius: 2px;
  overflow-x: auto;
  line-height: 1.6;
  margin: 0 0 1.6em;
}
.prose pre code { background: none; padding: 0; font-size: 13px; }
.prose blockquote {
  margin: 0 0 1.5em;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  color: rgba(233,233,228,0.55);
}
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 24px; }
.prose li { margin-bottom: 0.4em; }
.prose img { max-width: 100%; border-radius: 2px; }
.prose hr {
  border: none;
  border-top: 1px solid rgba(233,233,228,0.1);
  margin: 48px 0;
}

.like-box {
  max-width: 720px;
  margin: 40px auto 0;
  border-top: 1px solid rgba(233,233,228,0.12);
  padding: 40px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.like-box .like-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: rgba(233,233,228,0.42);
}
.like-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 14px 26px;
  border: 1px solid rgba(233,233,228,0.3);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.like-btn .heart { color: var(--accent-hover); transition: color 0.25s; }
.like-btn:hover { border-color: var(--accent-hover); color: var(--accent-hover); }
.like-btn.liked {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.like-btn.liked .heart { color: var(--bg); }
.like-btn:disabled { opacity: 0.5; cursor: default; }

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

.error-page {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
}
.error-page h1 {
  margin: 22px 0 0;
  font-size: clamp(70px, 10vw, 140px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.error-page .lead {
  margin: 26px 0 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233,233,228,0.65);
}
.error-page .btn-outline { margin-top: 40px; display: inline-block; width: fit-content; }
