@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --black: #050505;
  --black-soft: #101110;
  --white: #ffffff;
  --white-64: rgba(255, 255, 255, 0.64);
  --white-32: rgba(255, 255, 255, 0.32);
  --white-16: rgba(255, 255, 255, 0.16);
  --primary: #07c42c;
  --paper: #e9e9e5;
  --ink: #080908;
  --shell: min(1360px, calc(100% - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main,
.site-footer { position: relative; z-index: 1; }
::selection { color: var(--black); background: var(--primary); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.shell { width: var(--shell); margin-inline: auto; }
.eyebrow {
  color: var(--white-64);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 94px;
  padding-top: 16px;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0));
}
.header-inner {
  height: 62px;
  padding: 0 128px 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.section-title h2 span,
.statement h2 span { color: var(--primary); }
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  color: var(--white-64);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.site-header nav a,
.nav-kpo summary { transition: color 180ms ease; }
.site-header nav a:hover,
.nav-kpo summary:hover { color: var(--white); }
.site-header nav span { margin-right: 6px; color: var(--primary); }
.nav-kpo { position: relative; }
.nav-kpo summary {
  color: var(--white-64);
  list-style: none;
  cursor: pointer;
}
.nav-kpo summary::-webkit-details-marker { display: none; }
.nav-kpo summary::after {
  content: "+";
  margin-left: 8px;
  color: var(--primary);
}
.nav-kpo[open] summary::after { content: "−"; }
.nav-kpo summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 5px;
  border-radius: 2px;
}
.nav-kpo-menu {
  width: 260px;
  padding: 12px;
  position: absolute;
  top: 30px;
  right: 0;
  display: grid;
  gap: 2px;
  border: 1px solid var(--white-16);
  border-radius: 18px;
  background: rgba(7, 9, 8, 0.94);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}
.nav-kpo-menu a {
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 11px;
}
.nav-kpo-menu a:hover { background: rgba(255, 255, 255, 0.06); }
.nav-kpo-menu a span { margin: 0; }

.wave-controls {
  position: fixed;
  top: 26px;
  right: max(64px, calc((100vw - 1360px) / 2 + 24px));
  z-index: 60;
}
.wave-controls-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(5, 7, 6, 0.58);
  border: 1px solid var(--white-16);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.wave-controls-toggle:hover,
.wave-controls.is-open .wave-controls-toggle {
  color: var(--white);
  background: rgba(5, 7, 6, 0.9);
  border-color: rgba(7, 196, 44, 0.62);
  transform: translateY(-1px);
}
.wave-controls-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.sliders-icon {
  width: 21px;
  height: 17px;
  display: grid;
  align-content: space-between;
}
.sliders-icon i {
  width: 100%;
  height: 1.5px;
  position: relative;
  display: block;
  background: currentColor;
}
.sliders-icon i::after {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 50%;
  border: 1.5px solid #071009;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(7, 196, 44, 0.52);
  transform: translateY(-50%);
}
.sliders-icon i:first-child::after { left: 4px; }
.sliders-icon i:nth-child(2)::after { right: 3px; }
.sliders-icon i:last-child::after { left: 8px; }
.wave-controls-panel {
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 104px);
  padding: 20px;
  position: absolute;
  top: 54px;
  right: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(7, 9, 8, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  backdrop-filter: blur(20px) saturate(1.12);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(7, 196, 44, 0.6) rgba(255, 255, 255, 0.08);
}
.wave-controls-panel[hidden] { display: none; }
.wave-controls-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.wave-controls-heading strong,
.wave-controls-heading span { display: block; }
.wave-controls-heading strong { font-size: 15px; font-weight: 650; }
.wave-controls-heading span {
  margin-top: 2px;
  color: var(--white-64);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.wave-controls-heading button {
  padding: 5px 0;
  color: var(--white-64);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.wave-controls-heading button:hover { color: var(--primary); }
.wave-control-list { display: grid; gap: 16px; }
.wave-control {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}
.wave-control > label { min-width: 0; }
.wave-control output {
  min-width: 44px;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.wave-control input {
  width: 100%;
  height: 18px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  accent-color: var(--primary);
}
.wave-control > input { grid-column: 1 / -1; }
.wave-mod-toggle {
  padding: 3px 6px;
  color: rgba(255, 255, 255, 0.46);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.wave-mod-toggle:hover { color: var(--white); border-color: var(--white-32); }
.wave-mod-toggle.is-active {
  color: var(--black);
  border-color: var(--primary);
  background: var(--primary);
}
.wave-mod-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.wave-modulation {
  margin-top: 3px;
  padding: 10px 0 1px 12px;
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border-left: 1px solid rgba(7, 196, 44, 0.5);
}
.wave-modulation[hidden] { display: none; }
.wave-modulation label {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px 12px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wave-modulation output { min-width: 54px; font-size: 10px; }
.wave-modulation input { grid-column: 1 / -1; }
.wave-control input::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}
.wave-control input::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -6px;
  appearance: none;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.wave-control input::-moz-range-track {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}
.wave-control input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--primary);
}

.hero {
  min-height: 760px;
  height: min(860px, 100svh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 58%, rgba(16, 76, 42, 0.12), transparent 44%),
    linear-gradient(135deg, rgba(5, 5, 5, 0.36) 0%, rgba(9, 11, 10, 0.08) 54%, rgba(5, 5, 5, 0.2) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.42) 0%, rgba(5, 5, 5, 0.16) 34%, transparent 64%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.26) 0%, transparent 48%, rgba(5, 5, 5, 0.05) 100%);
}
.wave-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.wave-terrain {
  position: absolute;
  inset: -5%;
  background: url("./images/hero-wave-terrain.webp") center 58% / cover no-repeat;
  transform-origin: 54% 66%;
  will-change: opacity;
  transition: opacity 900ms ease;
}
.wave-terrain-back {
  opacity: 0.22;
  filter: blur(18px) saturate(1.24);
  transform: scale(1.1);
}
.wave-terrain-front {
  opacity: 0.76;
  filter: saturate(0.94) contrast(1.05);
  transform: scale(1.03);
}
.wave-motion {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(76, 225, 178, 0.16));
  transition: opacity 900ms ease;
}
.terrain-motion-ready .wave-motion { opacity: 0.96; }
.terrain-motion-ready .wave-terrain { opacity: 0; }
.wave-sheen {
  position: absolute;
  inset: -28% -12%;
  opacity: 0.26;
  background:
    radial-gradient(ellipse at 72% 62%, rgba(115, 105, 255, 0.2), transparent 34%),
    radial-gradient(ellipse at 49% 58%, rgba(14, 219, 148, 0.2), transparent 31%);
  mix-blend-mode: screen;
  filter: blur(46px);
}
.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 760px;
  padding: 122px 0 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-topline {
  display: block;
}
.hero-tags {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white-64);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-bottom {
  display: block;
}
.hero-copy {
  max-width: 580px;
  display: grid;
  gap: 46px;
}
.hero h1 {
  margin-left: -0.045em;
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: uppercase;
}
.hero h1 > span { display: block; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-intro {
  display: grid;
  gap: 28px;
}
.hero-intro p {
  max-width: 380px;
  color: var(--white-64);
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.45;
}
.button,
.profile-links a {
  width: max-content;
  min-height: 44px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  color: var(--black);
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.button:hover,
.profile-links a:hover {
  color: var(--white);
  background: transparent;
  transform: translateY(-2px);
}

.statement {
  position: relative;
  isolation: isolate;
  padding: 110px 0 80px;
  background: transparent;
}
.statement::before,
.work::before,
.about::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.statement::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.52) 62%, rgba(5, 5, 5, 0.34)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.48), transparent 42%, rgba(5, 5, 5, 0.3));
}
.statement .shell,
.work .shell,
.about .shell,
.site-footer .shell {
  position: relative;
  z-index: 1;
}
.statement-head {
  display: grid;
  grid-template-columns: 0.28fr 1fr;
  align-items: start;
  gap: 64px;
}
.statement h2 {
  max-width: 1000px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.areas {
  margin-top: 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--white-32);
  border-bottom: 1px solid var(--white-16);
}
.areas article {
  min-height: 230px;
  padding: 24px 24px 32px;
  border-right: 1px solid var(--white-16);
}
.areas article:last-child { border-right: 0; }
.areas article > span {
  display: block;
  margin-bottom: 76px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}
.areas strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.areas p { color: var(--white-64); font-size: 13px; }

.work {
  position: relative;
  isolation: isolate;
  padding: 80px 0;
  color: var(--white);
  background: transparent;
}
.work::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.58), rgba(5, 5, 5, 0.78) 58%, rgba(5, 5, 5, 0.5)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.46), transparent 36%, rgba(5, 5, 5, 0.4));
}
.work .eyebrow { color: var(--white-64); }
.section-title {
  display: grid;
  grid-template-columns: 0.28fr 1fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 72px;
}
.section-title h2 {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}
.work-actions {
  margin: -38px 0 20px;
  display: flex;
  justify-content: flex-end;
}
.work-actions button {
  min-height: 38px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--white-64);
  background: transparent;
  border: 1px solid var(--white-16);
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.work-actions button:hover,
.work-actions button:focus-visible {
  color: var(--white);
  border-color: rgba(7, 196, 44, 0.7);
  background: rgba(7, 196, 44, 0.08);
}
.work-actions button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.work-actions button i {
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}
.work-actions button[aria-expanded="true"] i { transform: translateY(2px) rotate(225deg); }
.work-list { border-top: 1px solid var(--white-32); }
.work-item { border-bottom: 1px solid var(--white-16); }
.work-item summary {
  min-height: 118px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 28px;
  list-style: none;
  cursor: pointer;
  transition: background 180ms ease;
}
.work-item summary::-webkit-details-marker { display: none; }
.work-item summary::marker { content: ""; }
.work-item summary:hover { background: rgba(255, 255, 255, 0.025); }
.work-item summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.work-index {
  align-self: start;
  padding-top: 5px;
  color: var(--white-64);
  font-size: 12px;
  font-weight: 700;
}
.work-heading { min-width: 0; }
.work-area {
  margin-bottom: 7px;
  color: var(--white-64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.work-list h3 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
  transition: color 180ms ease;
}
.work-item[open] h3,
.work-item summary:hover h3 { color: var(--primary); }
.work-meta {
  color: var(--white-64);
  font-size: 12px;
  font-weight: 650;
}
.work-toggle {
  width: 24px;
  height: 24px;
  position: relative;
  display: block;
  border: 1px solid var(--white-16);
  border-radius: 50%;
}
.work-toggle i {
  width: 8px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}
.work-toggle i:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.work-item[open] .work-toggle i:last-child { transform: translate(-50%, -50%) rotate(0); }
.work-panel {
  padding: 0 58px 30px 74px;
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}
.work-media {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--white-16);
  border-radius: 22px;
  background: #181a18;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.work-media::after {
  content: "";
  position: absolute;
  inset: 30px 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.28));
}
.work-framebar {
  height: 30px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-32);
  border-bottom: 1px solid var(--white-16);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.work-frame-dots { display: flex; gap: 4px; }
.work-frame-dots i {
  width: 4px;
  height: 4px;
  display: block;
  border-radius: 50%;
  background: var(--white-32);
}
.work-media img {
  width: 100%;
  height: calc(100% - 30px);
  display: block;
  object-fit: cover;
}
.work-expanded-copy { min-width: 0; }
.work-summary { max-width: 720px; color: var(--white-64); font-size: 15px; }
.work-link {
  margin-top: 24px;
  min-height: 40px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--white-32);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.work-link:hover { color: var(--black); border-color: var(--primary); background: var(--primary); }

.about {
  position: relative;
  isolation: isolate;
  padding: 80px 0;
  background: transparent;
  overflow: hidden;
}
.about::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.46), rgba(5, 5, 5, 0.82) 68%, rgba(5, 5, 5, 0.72)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.46), transparent 45%, rgba(5, 5, 5, 0.3));
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(70px, 10vw, 150px);
}
.about-media {
  width: 70%;
  max-width: 340px;
  position: relative;
  justify-self: center;
  border: 1px solid var(--white-16);
  border-radius: 36px;
  background: #1a1a1a;
  overflow: hidden;
}
.about-media img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center center;
}
.about-copy .eyebrow { margin-bottom: 32px; }
.bio > p {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--white-64);
  font-size: 17px;
  line-height: 1.58;
}
.bio > p:first-child {
  color: var(--white);
  font-size: clamp(20px, 1.8vw, 23px);
  line-height: 1.42;
  letter-spacing: -0.02em;
}
.profile-links {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.profile-links a {
  color: var(--white);
  background: transparent;
}
.profile-links a:hover { color: var(--black); background: var(--primary); }

.site-footer {
  isolation: isolate;
  padding: 80px 0 44px;
  background: transparent;
}
.site-footer::before {
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.48));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 100px;
}
.email {
  margin-top: 28px;
  min-height: 56px;
  padding: 15px 21px;
  display: inline-flex;
  align-items: center;
  gap: 46px;
  color: var(--black);
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}
.email:hover { color: var(--white); background: transparent; }
.footer-meta {
  min-width: 310px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  color: var(--white-64);
  font-size: 12px;
}
.footer-meta a { color: var(--white); }
.footer-meta strong { color: var(--white); font-weight: 650; }
.footer-meta a:hover { color: var(--primary); }
.footer-meta > span { margin-top: auto; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 48px, 820px); }
  .hero { min-height: 760px; }
  .hero-inner { min-height: 760px; }
  .hero h1 { font-size: clamp(31px, 4.2vw, 36px); }
  .hero-copy { gap: 34px; }
  .hero-intro { max-width: 360px; }
  .wave-terrain { inset: -3% -16%; background-position: 56% 58%; }
  .statement-head, .section-title { grid-template-columns: 1fr; gap: 24px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .areas article:nth-child(2) { border-right: 0; }
  .areas article:nth-child(-n+2) { border-bottom: 1px solid var(--white-16); }
  .work-item summary { grid-template-columns: 36px minmax(0, 1fr) auto 28px; }
  .header-inner { padding-right: 110px; }
  .about-grid { gap: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-meta { padding-top: 0; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  .site-header { height: 80px; padding-top: 12px; }
  .header-inner { height: 56px; padding: 0 64px 0 16px; }
  .wave-controls { top: 19px; right: 23px; }
  .wave-controls-panel { top: 50px; right: -7px; }
  .site-header nav { gap: 16px; }
  .site-header nav span { display: none; }
  .site-header nav > a:nth-of-type(2),
  .site-header nav > a:nth-of-type(3) { display: none; }
  .nav-kpo-menu { width: min(260px, calc(100vw - 48px)); right: -14px; }
  .hero { min-height: 780px; height: auto; }
  .hero-inner { min-height: 780px; padding: 104px 0 34px; }
  .hero-topline { grid-template-columns: 1fr; }
  .hero-tags { flex-wrap: wrap; gap: 6px 14px; }
  .hero h1 { margin-left: -0.03em; font-size: clamp(28px, 8vw, 32px); line-height: 0.9; }
  .hero-copy { gap: 26px; }
  .hero-intro { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .wave-terrain { inset: -2% -58%; background-position: 58% 58%; }
  .wave-terrain-back { opacity: 0.18; }
  .wave-terrain-front { opacity: 0.68; }
  .terrain-motion-ready .wave-motion { opacity: 0.9; }
  .statement { padding: 88px 0 78px; }
  .statement h2 { font-size: 27px; }
  .areas { grid-template-columns: 1fr; margin-top: 62px; }
  .areas article,
  .areas article:nth-child(2) {
    min-height: 0;
    padding: 20px 0 24px;
    display: grid;
    grid-template-columns: 40px 0.7fr 1.3fr;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--white-16);
  }
  .areas article > span { margin: 5px 0 0; }
  .areas strong { font-size: 18px; }
  .work { padding: 86px 0 96px; }
  .section-title { margin-bottom: 44px; }
  .section-title h2 { font-size: 34px; }
  .work-actions { margin: -18px 0 18px; }
  .work-item summary {
    min-height: 100px;
    padding: 20px 0;
    grid-template-columns: 28px minmax(0, 1fr) 26px;
    gap: 14px;
  }
  .work-meta { display: none; }
  .work-panel {
    padding: 0 0 24px 42px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work-link { width: max-content; }
  .work-list h3 { font-size: 32px; }
  .about { padding: 88px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-media { max-width: 300px; }
  .profile-links { flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 86px 0 36px; }
  .email { width: 100%; justify-content: space-between; }
}

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