/* ============================================
   Aqua Design — shared styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Saira+Condensed:wght@400;500;600&display=swap');

@font-face {
  font-family: 'Gealova';
  src: url('fonts/Gealova.otf') format('opentype');
  font-weight: 400 700;
}

@font-face {
  font-family: 'Departure Mono';
  src: url('fonts/DepartureMono-Regular.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: "Gealova";
  src: url("fonts/Gealova.otf'") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #d9d7d4;
  --ink: #1C1C1C;
  --muted: #666666;
  --accent: #aaaaaa;
  --line: #dddddd;

  --display: 'Gealova', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Departure Mono', 'Courier New', monospace;

  --gutter: 6vw;
  --max-w: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  cursor: url("images/cursor.png") 16 16, auto;
  background: var(--bg) url('images/background.png') center / cover no-repeat fixed;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}


/* ============================================
   Navigation
   ============================================ */

.site-nav {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  background: var(--bg);
  position: relative;
  z-index: 10;
}

.logo {
  display: block;
  transition: transform .25s ease;
}

.logo:hover {
  transform: scale(.90);
}

.logo img {
  height: 54px;
  width: auto;
  animation: title-fade-in 1.1s ease both;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 120px;
}

.nav-links a {
  font-size: 15px;
  color: var(--ink);
  padding: 12px 18px;
  margin: -12px -18px;
  transition: color .2s ease, transform .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.nav-links a:hover {
  transform: scale(.90);
}


/* ============================================
   Homepage Hero
   ============================================ */

.home-hero-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.home-hero-wrap .site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero {
  width: 100%;
  height: 100%;
  position: relative;
  background-image: url('images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero img,
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-liquid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.home-hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.5));
  pointer-events: none;
}

.hero-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 18px 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  font-family: var(--body);
  font-size: 16px;
  letter-spacing: .02em;
  z-index: 8;
  transition: background .25s ease, transform .25s ease;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%) scale(1.04);
}


/* ============================================
   Titles
   ============================================ */

.page-head {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 40px var(--gutter) 64px;
}

.page-head::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ink);
  margin-top: 12px;
}

.page-head h1,
h1.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 67px;
  letter-spacing: -.01em;
  position: relative;
  top: 30px;
  animation: title-fade-in 1.6s ease .35s both;
}

.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-meta {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 5px;
}

@keyframes title-fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   Coming soon
   ============================================ */

.coming-soon {
  width: 100%;
  text-align: center;
  font-family: var(--display);
  font-size: 110px;
  color: var(--ink);
  margin-top: 220px;
  margin-bottom: 220px;
  opacity: 0;
  animation: coming-soon-fade 10s ease forwards;
}

@keyframes coming-soon-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ============================================
   Legal pages (Privacy / Cookie Policy)
   ============================================ */

.legal-content {
  padding: 0 var(--gutter) 100px;
  max-width: 780px;
}

.legal-content h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  margin-top: 44px;
  margin-bottom: 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
  max-width: 68ch;
}

.legal-content ul {
  list-style: disc;
  margin: 0 0 16px 22px;
}

.legal-content li {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 8px;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content strong {
  color: var(--ink);
}


/* ============================================
   Cookie consent banner
   ============================================ */

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  z-index: 100;
  transform: translateY(140%);
  transition: transform .4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  flex: 1 1 260px;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.cookie-banner p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner-actions button {
  font-family: var(--body);
  font-size: 13px;
  padding: 10px 18px;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
}

.cookie-banner-actions .cookie-accept {
  background: var(--ink);
  color: var(--bg);
}

.cookie-banner-actions button:hover {
  opacity: 0.85;
}

@media (max-width: 500px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }
}


/* ============================================
   About
   ============================================ */

body.page-about .content-wrap {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 0 var(--gutter);
  min-height: 50vh;
}

body.page-about .about-col-bar {
  border-right: 1px solid var(--ink);
}

.about-content {
  padding: 40px var(--gutter) 60px;
  max-width: 780px;
}

/* ============================================
   Hello
   ============================================ */

.hello-content {
  width: 100%;
  padding: 0 var(--gutter);
}

body.page-hello .content-wrap {
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.hello-liquid-canvas {
  display: block;
  width: 100%;
  height: 40vh;
}

.about-content p {
  color: var(--muted);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 68ch;
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-list li {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  width: fit-content;
}


/* ============================================
   Works / Lab Grid
   ============================================ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 100%;
  padding: 0 var(--gutter);
}

body.page-lab .work-grid {
  grid-template-columns: repeat(3, 1fr);
}

.work-tile {
  position: relative;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
  display: block;
  background: #000;
  border-radius: 120px;
  transition: transform .3s ease;
}

.work-tile:hover {
  transform: scale(1.05);
  z-index: 3;
}

.work-tile img,
.work-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-tile .tile-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  background: #000;
  transition: background .5s ease;
}

.work-tile .tile-label .name {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 34px);
  color: white;
  transition: opacity .4s ease;
}

.work-tile:hover .tile-label {
  background: transparent;
}

.work-tile:hover .tile-label .name {
  opacity: 0;
}


/* ============================================
   Works page — tile overlays (number, name, arrow)
   ============================================ */

body.page-works .work-tile {
  border-radius: 30px;
  aspect-ratio: 16 / 10;
}

body.page-works .work-tile:hover {
  transform: none;
}



body.page-works .work-tile img {
  filter: grayscale(100%);
  transition: transform .4s ease, filter .4s ease;
  will-change: transform, filter;
}

body.page-works .work-tile:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

body.page-works .work-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 40%);
  pointer-events: none;
}

.tile-num,
.tile-tags,
.tile-arrow {
  position: absolute;
  z-index: 4;
  font-family: var(--body);
  pointer-events: none;
  color: #ffffff;
}

.tile-num {
  top: 14px;
  left: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
}

.tile-tags {
  top: 14px;
  right: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.5;
}

.tile-arrow {
  bottom: 14px;
  right: 16px;
  font-size: 20px;
  transition: transform .2s ease;
}

body.page-works .work-tile:hover .tile-arrow {
  transform: translate(2px, -2px);
}




.project-video {
  position: relative;
  width: calc(100% - (var(--gutter) * 2));
  margin: 0 var(--gutter);
  background: #000;
  border-radius: 18px;
}

.project-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.project-matterport {
  width: calc(100% - (var(--gutter) * 2));
  margin: 0 var(--gutter);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
}

.project-matterport iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.project-info {
  width: calc(100% - (var(--gutter) * 2));
  margin: 0 var(--gutter);
  padding: 24px 0 16px;
}

.project-info p {
  color: var(--muted);
  font-size: 16px;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .2s ease, transform .2s ease, opacity .3s ease;
}

.video-play-btn:hover {
  background: rgba(255,255,255,.7);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--ink);
  margin-left: 4px;
}

.video-play-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}


/* ============================================
   Contact Page
   ============================================ */

body.page-contact .content-wrap {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 0 var(--gutter);
  min-height: 50vh;
}

body.page-contact .about-col-bar {
  border-right: 1px solid var(--ink);
}

.contact-content {
  padding: 40px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-tagline {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.2;
}

.contact-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 34ch;
}

.contact-detail {
  margin-bottom: 22px;
}

.contact-detail-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

a.contact-detail-value:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

form.contact-form {
  max-width: 520px;
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 26px;
}

.field label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  padding: 6px 0;
  outline: none;
}

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

.field.message {
  margin-bottom: 34px;
}

.field textarea {
  resize: none;
  height: 60px;
}

.submit-btn {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  padding: 14px 34px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.submit-btn:hover {
  background: var(--ink);
  color: var(--bg);
}


/* ============================================
   Footer
   ============================================ */

.site-footer {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 64px var(--gutter) 60px;
}

.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ink);
  margin-bottom: 30px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.site-footer .copyright {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .03em;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal .dot {
  color: var(--muted);
}

.social-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-row a {
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}

.social-row a:hover {
  opacity: 1;
  color: var(--ink);
}

.social-row svg {
  width: 28px;
  height: 28px;
}

.social-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 28px;
  display: flex;
  align-items: center;
}


/* ============================================
   Subpage — sidebar brand + spacing
   ============================================ */

.sidebar-brand {
  position: absolute;
  left: 22px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--muted);
  z-index: 5;
  pointer-events: none;
}

.content-wrap {
  position: relative;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

body.subpage:not(.page-hello):not(.page-contact) .page-head {
  padding-top: 18px;
  padding-bottom: 40px;
}

body.subpage:not(.page-hello):not(.page-contact) .site-footer {
  padding-top: 40px;
}

body.page-hello .page-head,
body.page-contact .page-head {
  padding-top: 18px;
  padding-bottom: 40px;
}

body.page-hello .site-footer,
body.page-contact .site-footer {
  padding-top: 40px;
}


/* ============================================
   Lab — Stride experiment
   ============================================ */

.stride {
  position: relative;
  width: 100%;
  height: 533vh;
}

.stride-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.stride-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.stride-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, transparent 22%, transparent 78%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}

.stride-intro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 3;
  pointer-events: none;
}

.stride-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(112px, 18vw, 280px);
  color: #ffffff;
  text-align: center;
}

.stride-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.stride-scroll-text {
  font-family: var(--body);
  font-size: 22px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ffffff;
}

.stride-outro-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - (var(--gutter) * 2));
  max-width: 720px;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.stride-outro {
  color: #ffffff;
  font-family: 'Saira Condensed', var(--body);
  font-size: 29px;
  line-height: 1.4;
  text-align: left;
}

.stride-back {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: auto;
}

.stride-outro-wrap--arrow-only {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stride-back--arrow-only {
  margin-top: 0;
}

.stride-back--arrow-only .stride-arrow-left {
  width: 112px;
  height: 34px;
}

.stride-arrow-left {
  transition: transform .2s ease;
}

.stride-back:hover .stride-arrow-left {
  transform: translateX(-4px);
}

.stride-progress {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
  z-index: 3;
  height: 1px;
  background: rgba(255,255,255,.3);
}

.stride-progress-fill {
  height: 100%;
  width: 100%;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
}

.stride-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  z-index: 3;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}

.lab-note {
  width: calc(100% - (var(--gutter) * 2));
  margin: 0 var(--gutter);
  padding: 24px 0 48px;
  color: var(--muted);
  font-size: 16px;
}

.lab-note::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ink);
  margin-top: 28px;
}


/* ============================================
   Responsive
   ============================================ */

/* 4 columns — 1600px and up */
@media (min-width: 1600px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  body.page-lab .work-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 3 columns — 960px to 1599px (default, already set above) */

/* 2 columns — 640px to 959px */
@media (max-width: 959px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-lab .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 column + misc mobile — 0 to 639px */
@media (max-width: 639px) {
  :root {
    --gutter: 24px;
  }

  .nav-links {
    gap: 18px;
  }

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

  body.page-lab .work-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-info {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-content {
    padding-left: var(--gutter);
  }

  .sidebar-brand {
    display: none;
  }

  body.page-about .content-wrap,
  body.page-contact .content-wrap {
    grid-template-columns: 1fr;
    padding: 0;
  }

  body.page-about .about-col-bar,
  body.page-contact .about-col-bar {
    display: none;
  }

  .page-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-meta {
    gap: 16px;
  }

  .stride {
    height: 400vh;
  }
}

/* Keep non-grid mobile fixes at 860px */
@media (max-width: 860px) {
  :root {
    --gutter: 24px;
  }

  .nav-links {
    gap: 18px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-info {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-content {
    padding-left: var(--gutter);
  }

  .sidebar-brand {
    display: none;
  }

  body.page-about .content-wrap,
  body.page-contact .content-wrap {
    grid-template-columns: 1fr;
    padding: 0;
  }

  body.page-about .about-col-bar,
  body.page-contact .about-col-bar {
    display: none;
  }

  .page-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-meta {
    gap: 16px;
  }

  .stride {
    height: 400vh;
  }
}

@media (max-width: 500px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }
}

body.page-404 .content-wrap {
  display: grid;
  grid-template-columns: 0px 1fr;
  padding: 0 var(--gutter);
  min-height: 50vh;
}

body.page-404 .error-content {
  grid-column: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 404 PAGE */

body.page-404 .content-wrap {
  display: grid;
  grid-template-columns: 0px 1fr;
  padding: 0 var(--gutter);
  min-height: 50vh;
}

body.page-404 .error-content {
  grid-column: 2;
  width: 100%;
  min-height: 50vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 4rem;
}



body.page-404 .error-content p {
  max-width: 420px;
  margin: 0 0 2.5rem;
}

body.page-404 .error-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

body.page-404 .error-actions a {
  text-decoration: none;
}

body.page-404 .error-message {
  position: absolute;
  bottom: 200px;
}

body.page-404 .error-buttons {
  position: absolute;
  bottom: 180px;
}

body.page-404 .error-buttons a {
  font-size: 15px;
  color: var(--ink);
  transition: color .2s ease, transform .25s ease;
}

body.page-404 .error-buttons a:hover {
  transform: scale(.90);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.back-link {
  display: inline-block;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 18px;
  margin: -12px -18px;
  transition: color .2s ease, transform .25s ease;
}

.back-link:hover {
  transform: scale(.90);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}



