:root {
  --ink: #0b0d0c;
  --ink-soft: #171a18;
  --paper: #f4f2eb;
  --paper-bright: #fffef9;
  --muted: #6d716d;
  --line: rgba(11, 13, 12, 0.15);
  --acid: #dfff48;
  --mint: #b8f7df;
  --violet: #a99dff;
  --orange: #ff714c;
  --radius: 28px;
  --shadow: 0 30px 80px rgba(11, 13, 12, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 99px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 16px 0;
  transition: padding 180ms ease;
}

.site-header.is-scrolled {
  padding: 8px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  color: #fff;
  background: rgba(11, 13, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

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

.wordmark > span {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  font-weight: 900;
  letter-spacing: -0.08em;
  place-items: center;
}

.wordmark small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links > a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.72);
  transition: color 150ms ease;
}

.nav-links > a:hover {
  color: #fff;
}

.nav-cta {
  padding: 11px 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
  transition: transform 180ms ease;
}

.hero {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  align-items: center;
  gap: 64px;
  min-height: 860px;
  padding-top: 150px;
  padding-bottom: 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(4.15rem, 6.8vw, 7.7rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.hero-role {
  display: inline-block;
  margin: 24px 0 0;
  padding: 8px 13px;
  background: var(--acid);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 700px;
  margin: 28px 0 0;
  color: #4d524e;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.55;
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin-top: 26px;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.hero-summary p {
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--acid);
  box-shadow: 0 10px 30px rgba(173, 208, 31, 0.25);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.text-link {
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-profile {
  position: relative;
  min-height: 650px;
  isolation: isolate;
}

.hero-profile::before {
  position: absolute;
  z-index: -3;
  inset: 5% 0 3% 1%;
  background: var(--ink);
  border-radius: 48% 52% 34px 34px;
  content: "";
  transform: rotate(-3deg);
}

.hero-profile::after {
  position: absolute;
  z-index: -2;
  right: -7%;
  bottom: 4%;
  width: 48%;
  aspect-ratio: 1;
  background: var(--acid);
  border-radius: 50%;
  content: "";
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  inset: 7% 8% 5% 7%;
  background: #d9d8cf;
  border: 8px solid var(--paper-bright);
  border-radius: 48% 48% 28px 28px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
  transform: rotate(2deg);
}

.hero-portrait::before {
  position: absolute;
  z-index: 2;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: inherit;
  content: "";
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.03);
}

.profile-note {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 13px 17px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 13, 12, 0.09);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.profile-note > span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-note strong {
  font-size: 0.82rem;
}

.profile-note-top {
  top: 7%;
  right: -2%;
}

.profile-note-stack {
  right: -4%;
  bottom: 23%;
}

.profile-note-status {
  bottom: 8%;
  left: -2%;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  font-size: 0.76rem;
}

.profile-note-status strong {
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #57d682;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(87, 214, 130, 0.14);
}

.signal-strip {
  color: #fff;
  background: var(--ink);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid > div {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 36px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  justify-content: center;
}

.signal-grid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-grid strong {
  color: var(--acid);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.signal-grid span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-section,
.expertise-section {
  padding-top: 140px;
  padding-bottom: 140px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 56px;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 6.2rem);
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter {
  flex: 0 0 auto;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 38px;
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.project-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.project-card.is-filtered,
.archive-row.is-filtered {
  display: none;
}

.project-hit {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.project-card .project-copy {
  position: relative;
  z-index: 2;
  max-width: 48%;
  pointer-events: none;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-meta span {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(11, 13, 12, 0.08);
  border-radius: 99px;
}

.project-card h3 {
  margin: 22px 0 12px;
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.project-card p {
  margin: 0;
  line-height: 1.55;
}

.project-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-card--hero {
  min-height: 660px;
}

.project-card--flex {
  background: var(--mint);
}

.project-card--hydra {
  background: #ffe34f;
}

.project-stage {
  position: absolute;
  top: 2%;
  right: 1%;
  bottom: -22%;
  width: 55%;
}

.stage-phone {
  position: absolute;
  width: 56%;
  border: 7px solid #111;
  border-radius: 26px;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.2);
}

.stage-phone-a {
  z-index: 2;
  top: 18%;
  right: 38%;
  transform: rotate(-7deg);
}

.stage-phone-b {
  z-index: 1;
  top: 5%;
  right: -1%;
  transform: rotate(7deg);
}

.project-card--hydra .stage-phone-b {
  top: 14%;
}

.project-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  min-height: 370px;
  background: var(--violet);
}

.project-card--wide.project-card--hero {
  min-height: 580px;
}

.project-card--wide .project-copy {
  max-width: 670px;
}

.project-card--wide.project-card--hero .project-copy {
  max-width: 48%;
}

.project-card--compact {
  min-height: 420px;
}

.project-card--compact h3 {
  margin-top: 18px;
}

.project-card--compact p {
  max-width: 330px;
}

.project-card--qantas {
  color: #fff;
  background: #d7252d;
}

.project-card--tripgo {
  background: #b9daf4;
}

.project-card--money .project-stage {
  width: 48%;
}

.project-card--qantas .stage-phone,
.project-card--tripgo .stage-phone {
  border-color: rgba(11, 13, 12, 0.92);
}

.archive {
  margin-top: 92px;
}

.archive-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}

.archive-heading h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.archive-heading span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.archive-list {
  display: flex;
  flex-direction: column;
}

.archive-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr 28px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px 10px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding 180ms ease, background 180ms ease;
}

.archive-row:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: var(--paper-bright);
}

.archive-row strong {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.archive-row > span:not(.archive-year) {
  color: var(--muted);
  font-size: 0.88rem;
}

.archive-year {
  font-size: 0.76rem;
  font-weight: 850;
}

.archive-row i {
  font-style: normal;
  font-size: 1.2rem;
}

.about-section {
  padding: 140px 0;
  color: #fff;
  background: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: center;
  gap: 100px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--acid);
  border-radius: 200px 200px 30px 30px;
}

.portrait-frame::before {
  position: absolute;
  z-index: 1;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: inherit;
  content: "";
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
}

.about-portrait > p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 750;
}

.about-copy .eyebrow {
  color: var(--acid);
}

.about-copy h2 {
  max-width: 800px;
}

.about-lede {
  max-width: 760px;
  margin: 38px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.4;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  color: rgba(255, 255, 255, 0.58);
}

.about-columns p {
  margin: 0;
}

.about-copy .button {
  margin-top: 38px;
  color: var(--ink);
  background: var(--acid);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.expertise-card {
  min-height: 310px;
  padding: 38px;
  background: var(--paper-bright);
  border: 1px solid rgba(11, 13, 12, 0.08);
  border-radius: 24px;
}

.expertise-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 28px;
  background: var(--acid);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 900;
}

.expertise-card h3 {
  margin: 64px 0 16px;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.expertise-card p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
}

.tech-ribbon {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  overflow: hidden;
}

.tech-ribbon span {
  flex: 0 0 auto;
  padding: 10px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-section {
  padding: 130px 0;
  background: var(--acid);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 80px;
}

.contact-section .eyebrow {
  color: #4f5c00;
}

.contact-section h2 span {
  display: block;
  font-style: italic;
  font-weight: 450;
}

.contact-email {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 50px 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.contact-email span {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-email strong {
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.contact-email i {
  position: absolute;
  top: 50%;
  right: 4px;
  font-size: 2rem;
  font-style: normal;
  transform: translateY(-50%);
}

.contact-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  font-size: 0.86rem;
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.58);
  background: var(--ink);
  font-size: 0.74rem;
}

.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer a {
  color: #fff;
}

.project-dialog {
  width: min(1160px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  color: var(--ink);
  background: var(--paper-bright);
  border: 0;
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}

.project-dialog::backdrop {
  background: rgba(5, 7, 6, 0.76);
  backdrop-filter: blur(10px);
}

.dialog-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  min-height: 700px;
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: #fff;
  background: rgba(11, 13, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.dialog-close span {
  font-size: 1.1rem;
  line-height: 1;
}

.dialog-copy {
  padding: 70px 46px 42px;
}

.dialog-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dialog-copy h2 {
  margin: 24px 0 22px;
  font-size: clamp(3rem, 5vw, 5.7rem);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.dialog-description {
  color: #4f544f;
  font-size: 1.02rem;
}

.dialog-facts {
  margin: 34px 0 0;
}

.dialog-facts > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.dialog-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dialog-facts dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 720;
}

.dialog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.dialog-links a {
  padding: 10px 15px;
  background: var(--acid);
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 850;
}

.dialog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-items: start;
  gap: 14px;
  max-height: calc(100dvh - 32px);
  padding: 78px 24px 24px;
  overflow-y: auto;
  background: #e5e2d9;
}

.dialog-gallery:empty::before {
  display: grid;
  grid-column: 1 / -1;
  min-height: 100%;
  color: var(--muted);
  content: "Project imagery coming soon";
  place-items: center;
}

.dialog-gallery figure {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(11, 13, 12, 0.08);
}

.dialog-gallery img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.dialog-gallery[data-project="hydrabuddy"] {
  gap: 28px;
  padding-right: 32px;
  padding-left: 32px;
}

.dialog-gallery[data-project="hydrabuddy"] figure {
  position: relative;
  width: min(92%, 500px);
  padding: 8px;
  justify-self: center;
  overflow: hidden;
  background: #101211;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 38px;
  box-shadow:
    0 24px 50px rgba(11, 13, 12, 0.18),
    0 0 0 1px rgba(11, 13, 12, 0.08);
}

.dialog-gallery[data-project="hydrabuddy"] img {
  border-radius: 29px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 180px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-profile {
    width: min(600px, 100%);
    min-height: 650px;
    margin: 0 auto;
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-grid > div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .signal-grid > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-portrait {
    max-width: 500px;
  }

  .dialog-inner {
    grid-template-columns: 1fr;
  }

  .dialog-gallery {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    padding: 8px 0;
  }

  .nav {
    min-height: 58px;
    padding: 7px 8px 7px 12px;
  }

  .wordmark small {
    display: none;
  }

  .wordmark > span {
    width: 40px;
    height: 40px;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: #fff;
    background: rgba(11, 13, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a {
    padding: 13px 14px;
  }

  .nav-cta {
    margin-top: 6px;
    color: var(--ink);
    text-align: center;
  }

  .hero {
    gap: 30px;
    padding-top: 132px;
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.5rem);
    letter-spacing: -0.05em;
    line-height: 1.04;
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 1.06rem;
  }

  .hero-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
  }

  .text-link {
    font-size: 0.72rem;
  }

  .hero-profile {
    min-height: 520px;
  }

  .hero-profile::before {
    inset: 6% 1% 4%;
  }

  .hero-portrait {
    inset: 8% 8% 6%;
    border-width: 6px;
  }

  .profile-note-top {
    top: 4%;
    right: 0;
  }

  .profile-note-stack {
    right: 0;
    bottom: 20%;
  }

  .profile-note-status {
    bottom: 3%;
    left: 0;
  }

  .signal-grid > div {
    min-height: 130px;
    padding: 24px 16px;
  }

  .signal-grid strong {
    font-size: 1.65rem;
  }

  .signal-grid span {
    font-size: 0.64rem;
  }

  .work-section,
  .expertise-section,
  .about-section,
  .contact-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-section h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .project-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 390px;
    padding: 26px;
    border-radius: 22px;
  }

  .project-card--hero {
    min-height: 600px;
  }

  .project-card .project-copy {
    max-width: 100%;
  }

  .project-card--hero .project-copy {
    max-width: 85%;
  }

  .project-card h3 {
    font-size: 3rem;
  }

  .project-card--hero .project-stage {
    top: 46%;
    right: -2%;
    bottom: -20%;
    width: 76%;
  }

  .project-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 540px;
  }

  .project-card--wide.project-card--hero .project-copy {
    max-width: 85%;
  }

  .project-card--wide.project-card--hero {
    min-height: 600px;
  }

  .project-card--wide.project-card--hero .project-stage {
    width: 76%;
  }

  .archive {
    margin-top: 68px;
  }

  .archive-row {
    grid-template-columns: 60px 1fr 22px;
    gap: 10px;
    padding: 19px 4px;
  }

  .archive-row > span:not(.archive-year) {
    display: none;
  }

  .archive-row strong {
    font-size: 1.02rem;
  }

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

  .expertise-card {
    min-height: 280px;
    padding: 28px;
  }

  .contact-links,
  .site-footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-dialog {
    width: 100%;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
  }

  .dialog-copy {
    padding: 76px 24px 36px;
  }

  .dialog-gallery {
    grid-template-columns: 1fr;
    padding: 24px 12px;
  }

  .dialog-gallery[data-project="hydrabuddy"] {
    gap: 22px;
    padding: 28px 16px;
  }

  .dialog-gallery[data-project="hydrabuddy"] figure {
    width: min(88%, 430px);
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
