/* ---------------------------------------------------------------
   Giorgos Lagas — Web Developer + Creative Designer
   --------------------------------------------------------------- */

:root {
  --accent: #ef8b4b;
  --accent-glow: rgba(239, 139, 75, 0.5);
  --ink: #f4efe6;
  --ink-bright: #f7f2ea;
  --ink-dim: #b3aa9c;
  --ink-faint: #8b8378;
  --bg: #070605;
  --panel: #100d0b;
  --hairline: rgba(244, 239, 230, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(24px, 6vw, 88px);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }
html::-webkit-scrollbar { display: none; }
html { -ms-overflow-style: none; scrollbar-width: none; }

body {
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: rgba(239, 139, 75, 0.30); color: #fff; }

.mono, .rule-num, .rule-label { font-family: 'Space Mono', monospace; }
.accent { color: var(--accent); }
em.accent, .hero-lede em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

.root {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #0d0b09 0%, #090706 46%, var(--bg) 100%);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
}

/* --- animations ------------------------------------------------ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(8px); opacity: 0.35; }
}

/* --- skip link ------------------------------------------------- */

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: #0b0908;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 16px; }

/* --- nav -------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px var(--gutter);
  background: rgba(9, 7, 6, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 239, 230, 0.06);
  animation: fadeUp 0.9s var(--ease) both;
}

.nav-brand { display: flex; align-items: center; gap: 12px; }

.nav-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.nav-name {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8e1d5;
}

.nav-right { display: flex; align-items: center; gap: clamp(8px, 2vw, 32px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a89f92;
}
.nav-links a { padding: 8px 2px; transition: color 0.25s ease; }
.nav-links a:hover { color: var(--ink); }

/* --- buttons ---------------------------------------------------- */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 100px;
  font-size: 15px;
  padding: 16px 28px;
}

.btn-primary {
  background: var(--accent);
  color: #0b0908;
  font-weight: 600;
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px var(--accent-glow);
}

.btn-ghost {
  border: 1px solid rgba(244, 239, 230, 0.2);
  background: rgba(244, 239, 230, 0.02);
  color: var(--ink);
  font-weight: 500;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.btn-ghost:hover {
  border-color: rgba(244, 239, 230, 0.5);
  background: rgba(244, 239, 230, 0.06);
}

.btn-sm {
  padding: 11px 20px;
  gap: 9px;
  font-size: 13px;
  border-color: rgba(244, 239, 230, 0.18);
  background: rgba(244, 239, 230, 0.03);
}
.btn-sm:hover {
  border-color: rgba(244, 239, 230, 0.45);
  background: rgba(244, 239, 230, 0.07);
}

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.8s ease-in-out infinite;
  flex: none;
}

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

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: radial-gradient(150% 130% at 50% 2%, #1c1611 0%, #0d0b09 48%, var(--bg) 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-vignette,
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-vignette {
  background: radial-gradient(120% 92% at 50% 100%, rgba(7, 6, 5, 0) 38%, var(--bg) 92%);
}
.hero-scrim {
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.5) 0%, rgba(7, 6, 5, 0) 26%, rgba(7, 6, 5, 0) 64%, rgba(7, 6, 5, 0.72) 100%);
}

.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.hero-content { max-width: 1200px; pointer-events: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 8px 16px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 100px;
  background: rgba(244, 239, 230, 0.03);
  backdrop-filter: blur(6px);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8e1d5;
  animation: fadeUp 0.9s var(--ease) 0.08s both;
}

.hero-title {
  font-size: clamp(54px, 10.5vw, 176px);
  line-height: 0.86;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--ink-bright);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-in { display: block; }
.hero-title .line-1 { animation: fadeUp 1s var(--ease) 0.16s both; }
.hero-title .line-2 { animation: fadeUp 1s var(--ease) 0.26s both; }

.hero-lede {
  margin-top: 32px;
  max-width: 588px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-dim);
  text-wrap: pretty;
  animation: fadeUp 1s var(--ease) 0.42s both;
}
.hero-lede em { font-size: 1.14em; color: var(--ink); }

.hero-actions {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  animation: fadeUp 1s var(--ease) 0.54s both;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9186;
}

.scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  bottom: 28px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.25s ease;
  animation: fadeUp 1s var(--ease) 0.95s both;
}
.scroll-cue:hover { color: var(--ink); }

.scroll-line {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.45), rgba(244, 239, 230, 0));
  animation: float 2.4s ease-in-out infinite;
}

/* --- hero stage: interactive 3D stack ---------------------------- */

.hero-stage {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(var(--gutter) + 24px);
  width: clamp(360px, 32vw, 520px);
  align-items: center;
  pointer-events: auto;
  touch-action: none;
}

.stage-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  animation: fadeUp 1.1s var(--ease) 0.68s both;
}

.stage-inner canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}
.hero-stage.dragging .stage-inner canvas { cursor: grabbing; }

.stage-hint {
  position: absolute;
  left: 4%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.stage-hint::before {
  content: '';
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(239, 139, 75, 0));
}
.hero-stage.dragging .stage-hint { opacity: 0.2; }

@media (min-width: 1180px) {
  .hero-stage { display: flex; }
}

/* --- shared section chrome -------------------------------------- */

.section {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 9vh, 120px) var(--gutter);
}

#home { scroll-margin-top: 0; }
#about { scroll-margin-top: 56px; padding-top: clamp(100px, 16vh, 200px); padding-bottom: clamp(60px, 8vh, 110px); }
#work { scroll-margin-top: 56px; }
#contact { scroll-margin-top: 56px; padding-top: clamp(80px, 12vh, 160px); padding-bottom: clamp(48px, 6vh, 90px); }

.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 60px);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
#about .rule { margin-bottom: clamp(44px, 6vw, 72px); }
#contact .rule { margin-bottom: clamp(40px, 5vw, 60px); }

.rule-num { color: var(--accent); }
.rule-label { color: var(--ink-faint); }
.rule-line { flex: 1; height: 1px; background: rgba(244, 239, 230, 0.12); }

/* --- about ------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about-title {
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-bright);
  text-wrap: balance;
}

.about-body { display: flex; flex-direction: column; gap: 34px; }

.prose {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-dim);
  text-wrap: pretty;
}

.prose-greek {
  font-style: italic;
  font-size: clamp(14px, 1.2vw, 16px);
  opacity: 0.75;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  list-style: none;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
}
.services li { background: var(--panel); padding: 24px 22px; }
.services-num {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 12px;
}
.services-name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #ece5da;
  line-height: 1.35;
}

.meta-line {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* --- work ------------------------------------------------------- */

.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.work-title {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-bright);
}

.work-note {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-wrap: pretty;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.35s var(--ease);
}
.work-card:hover { transform: translateY(-4px); }

.work-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--panel);
  transition: border-color 0.35s ease;
}
.work-card:hover .work-thumb { border-color: rgba(239, 139, 75, 0.4); }

/* Placeholder shown through the image while a screenshot is missing. */
.work-thumb::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6c645b;
  background: repeating-linear-gradient(45deg, #100d0b 0 12px, #14100d 12px 24px);
  pointer-events: none;
}
.work-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-index {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #cfc7ba;
  background: rgba(9, 7, 6, 0.6);
  backdrop-filter: blur(6px);
  padding: 6px 11px;
  border-radius: 100px;
  border: 1px solid rgba(244, 239, 230, 0.12);
}

.work-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.work-meta h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.work-url {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #9a9186;
  margin-top: 7px;
}
.work-arrow {
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.work-card:hover .work-arrow { transform: translate(3px, -3px); }

.work-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px dashed rgba(244, 239, 230, 0.18);
  border-radius: 18px;
  background: rgba(244, 239, 230, 0.015);
  aspect-ratio: 4 / 3;
}
.work-more-tag {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-more h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.work-more p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
  text-wrap: pretty;
}

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

.contact-title {
  font-size: clamp(42px, 8vw, 124px);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink-bright);
  text-wrap: balance;
  max-width: 1000px;
}

.contact-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}

.contact-direct { display: flex; flex-direction: column; gap: 24px; }

.contact-email {
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  width: fit-content;
  transition: color 0.25s ease;
}
.contact-email:hover { color: var(--accent); }

.contact-tel {
  font-family: 'Space Mono', monospace;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-dim);
  width: fit-content;
  transition: color 0.25s ease;
}
.contact-tel:hover { color: var(--ink); }

.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 100px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: rgba(244, 239, 230, 0.02);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.socials a:hover { border-color: var(--accent); color: #fff; }

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

.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(244, 239, 230, 0.07);
  margin-top: 20px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.footer-inner a { color: #a89f92; transition: color 0.25s ease; }
.footer-inner a:hover { color: var(--ink); }

/* --- reveal ----------------------------------------------------- */

.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal-in { opacity: 1; transform: none; }

/* --- cursor follower -------------------------------------------- */

.cursor-follower {
  position: fixed;
  z-index: 9999;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.35s var(--ease), background 0.35s ease;
  will-change: transform, left, top;
}
.cursor-hover {
  transform: translate(-50%, -50%) scale(2.2);
  background: #fff;
}

/* --- scroll progress -------------------------------------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow), 0 0 40px var(--accent-glow);
  transition: width 0.1s linear;
  will-change: width;
}

/* --- parallax helper -------------------------------------------- */

[data-parallax] { will-change: transform; }

/* --- tilt on work cards ----------------------------------------- */

.work-card {
  perspective: 800px;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease);
}
.work-card.tilt-active {
  transform: translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.08s linear;
}
.work-card:hover { transform: translateY(-4px); }

/* --- magnetic buttons ------------------------------------------- */

.btn-primary, .btn-ghost {
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform 0.4s var(--ease), border-color 0.25s ease, background 0.25s ease, box-shadow 0.28s ease;
}
.btn-primary.magnetic-active,
.btn-ghost.magnetic-active {
  transition: transform 0.08s linear;
}

/* --- floating particles ----------------------------------------- */

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  animation: particleFloat 8s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.6; }
  50% { transform: translateY(-80px) scale(1.4); opacity: 0.8; }
  80% { opacity: 0.4; }
}

/* --- section counter -------------------------------------------- */

.section-counter {
  position: fixed;
  right: calc(var(--gutter) - 8px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.section-counter .current { color: var(--accent); font-size: 15px; font-weight: 600; }
.section-counter .sep { font-size: 11px; color: rgba(244, 239, 230, 0.2); }
.section-counter .total { color: var(--ink-faint); }

/* --- section nav arrows (snap) ---------------------------------- */

.section-nav {
  position: fixed;
  right: calc(var(--gutter) - 8px);
  bottom: 32px;
  z-index: 75;
  display: flex;
  gap: 2px;
  pointer-events: none;
}
.snap-arrow {
  pointer-events: auto;
  appearance: none;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(9, 7, 6, 0.55);
  backdrop-filter: blur(8px);
  color: var(--ink-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  font-family: 'Space Mono', monospace;
}
.snap-arrow:not(:disabled):hover {
  color: var(--accent);
  border-color: var(--accent);
}
.snap-arrow:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

/* --- responsive / motion ---------------------------------------- */

@media (max-width: 820px) {
  .desktop-only { display: none !important; }

  .section-counter { display: none; }
  .section-nav { display: none; }

  .hero-title { font-size: clamp(40px, 14vw, 64px); }
  .hero-lede { font-size: 16px; margin-top: 20px; }
  .hero-actions { margin-top: 28px; gap: 10px; }
  .hero { min-height: 100vh; height: 100dvh; }

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

  .about-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-title { font-size: clamp(32px, 10vw, 52px); }
  .contact-grid { grid-template-columns: 1fr; }

  .nav { padding: 12px var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
