:root {
  /* Navy: backgrounds, from deepest to raised surfaces */
  --navy: #0a1931;
  --navy-alt: #0e2240;
  --navy-surface: #132a4d;
  /* Sky blue: buttons, labels, lines and accents */
  --sky: #7cc8f5;
  --sky-light: #b0e0fc;
  --sky-deep: #3d9fe0;
  --sky-gradient: linear-gradient(135deg, #bfe7fe 0%, #7cc8f5 45%, #45a6e6 100%);
  /* White: headings and text */
  --white: #ffffff;
  --white-muted: #c5d3e8;
  --line: rgba(124, 200, 245, 0.22);
  --line-light: rgba(124, 200, 245, 0.14);
  --header-h: 5.75rem;
  --shell: 74rem;
  --measure: 38rem;
  --serif: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 12px 30px rgba(3, 10, 24, 0.55);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.lock,
body.menu-open { overflow: hidden; }

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

figure { margin: 0; }

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

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

:where(#about, #services, #work, #process, #contact, #gallery) {
  scroll-margin-top: 0;
}

:focus { outline: none; }

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

.button-primary:focus-visible,
.contact-fab:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

::selection {
  background: var(--sky);
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.shell {
  width: min(var(--shell), calc(100% - 2rem));
  margin-inline: auto;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--sky);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--sky);
  flex: none;
}

.kicker.on-dark {
  color: var(--sky);
}

.work .kicker,
.contact .kicker {
  color: var(--white);
}

.kicker.on-dark::before { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  background: var(--sky);
  color: var(--navy);
  border-color: var(--sky-light);
}

.button-primary:hover {
  background: var(--sky-light);
  color: var(--navy);
}

.button-ghost {
  border-color: rgba(124, 200, 245, 0.72);
  color: var(--white);
}

.button-ghost:hover { border-color: var(--sky); color: var(--sky); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid var(--sky);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.brand img,
.footer img {
  width: auto;
  height: 4.5rem;
  max-width: min(70vw, 16rem);
  object-fit: contain;
  object-position: left center;
}

.menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(124, 200, 245, 0.45);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: currentColor;
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before { top: -0.32rem; }
.menu-lines::after { top: 0.32rem; }

.menu[aria-expanded="true"] .menu-lines { background: transparent; }
.menu[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }

.navlinks {
  display: none;
}

.navlinks.is-open {
  display: flex;
  position: fixed;
  z-index: 45;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--navy-alt);
  overflow: auto;
}

.navlinks a {
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-light);
}

.navlinks a[aria-current="true"] { color: var(--white); }

.navlinks a.nav-cta {
  margin-top: 1.25rem;
  align-self: flex-start;
  border: 1px solid var(--sky-light);
  background: var(--sky);
  color: var(--navy);
  padding: 0.9rem 1.1rem;
}

.navlinks a.nav-cta:hover { background: var(--sky-light); color: var(--navy); }

.header-cta { display: none; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - var(--header-h));
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero-media,
.media-cover {
  position: absolute;
  inset: 0;
}

.media img,
.media video,
.hero-media img,
.hero-media video,
.project img,
.project-image img,
.statement img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 36, 0.94) 0%, rgba(6, 17, 36, 0.72) 46%, rgba(6, 17, 36, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 17, 36, 0.28), transparent 28%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--shell), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero h1 {
  max-width: 16em;
  font-size: clamp(2.6rem, 6.4vw, 6.5rem);
  line-height: 0.96;
  color: var(--white);
}

.lead {
  max-width: 36rem;
  margin: 1.4rem 0 1.8rem;
  color: var(--white);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.location {
  margin: 1.5rem 0 0;
  color: var(--sky);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about { background: var(--sky); color: var(--navy); }

.two-col,
.project-intro-grid,
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
}

.two-col h2,
.heading h2,
.contact h2,
.project-intro h2,
.statement h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.25rem);
  max-width: 16em;
}

.copy p,
.heading-aside {
  max-width: var(--measure);
  color: var(--white-muted);
  font-size: 1.0625rem;
}

.about .copy p,
.about .kicker,
.process .kicker,
.project-intro .kicker,
.project-intro .copy p {
  color: var(--navy);
}

.about .kicker::before,
.process .kicker::before,
.project-intro .kicker::before {
  background: var(--navy);
}

.pillars {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pillars article {
  padding-top: 0.85rem;
  border-top: 1px solid var(--navy);
}

.pillars h3 {
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
}

.pillars p {
  color: var(--navy);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.statement {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: clamp(24rem, 62vw, 60rem);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.statement-caption {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.75rem, 5vw, 4.5rem) 0;
  background: linear-gradient(180deg, transparent, rgba(6, 17, 36, 0.88) 55%);
}

.statement h2 { color: var(--white); }

.services { background: var(--navy); color: var(--white); }

.heading { margin-bottom: clamp(2rem, 4vw, 3.25rem); }

.heading.split {
  display: grid;
  gap: 1.25rem;
}

.service-list { border-top: 1px solid var(--line-light); }

.service-list article {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.75rem 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-light);
}

.service-list .num {
  color: var(--sky);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-list h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.service-list p {
  max-width: 40rem;
  color: var(--white-muted);
  font-size: 1rem;
}

.work { background: var(--navy-alt); }

.gallery {
  display: grid;
  gap: 1rem;
}

.project,
.project-image {
  position: relative;
  display: block;
  width: 100%;
  min-height: 16rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--navy);
  color: var(--white);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
}

.project { aspect-ratio: 4 / 5; }

.project.wide { aspect-ratio: 3 / 2; }

.project-label {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 2.5rem 1.15rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(6, 17, 36, 0.9));
}

.project-label small,
.project-image + small {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}

.project-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1.1;
}

.project-label em {
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.process { background: var(--sky); color: var(--navy); }

.steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.steps article {
  position: relative;
  padding: 1.35rem 0 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.steps .num {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.steps h3 {
  margin-bottom: 0.55rem;
  font-size: 1.7rem;
}

.steps p {
  color: var(--navy);
  font-size: 0.975rem;
  max-width: 28rem;
}

.contact { background: var(--navy-alt); color: var(--white); }

.contact .copy,
.contact-intro > p {
  color: var(--white-muted);
  max-width: var(--measure);
}

.details {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--line-light);
}

.details a,
.details .detail {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-light);
}

.details a:hover .detail-value { color: var(--white); }

.detail-label {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-value {
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

.form {
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border: 1px solid var(--sky);
}

.form-row { display: grid; gap: 0 1.25rem; }

.field { margin-bottom: 1.15rem; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--sky);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgba(124, 200, 245, 0.65);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  caret-color: var(--sky);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--white-muted);
  opacity: 1;
}

.field option {
  background: var(--navy);
  color: var(--white);
}

.field input:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--sky);
  box-shadow: 0 0 0 1000px var(--navy) inset;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

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

.field input:user-invalid,
.field textarea:user-invalid {
  border-bottom-color: #ff9b9b;
}

.field select { cursor: pointer; }

.hp { display: none; }

.form .button { margin-top: 0.4rem; }

.form-note {
  margin: 0.9rem 0 0;
  color: var(--white-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer {
  background: var(--navy);
  color: var(--white-muted);
  padding: 2.5rem 0 calc(5.5rem + env(safe-area-inset-bottom));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}

.footer p { margin-top: 0.75rem; font-size: 0.9375rem; }

.footer a {
  color: var(--white);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}

.footer a:hover { color: var(--sky); }

.contact-fab {
  position: fixed;
  z-index: 40;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1rem 0 0.85rem;
  border: 1px solid var(--sky-light);
  border-radius: 2px;
  background: var(--sky);
  color: var(--navy);
  box-shadow: var(--shadow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-fab svg { display: block; }

.contact-fab:hover { background: var(--sky-light); }

.contact-fab.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.media.is-fallback,
.project.is-fallback,
.project-image.is-fallback,
.hero-media:not(:has(img)):not(:has(video)),
.statement:not(:has(img)) {
  background:
    linear-gradient(var(--sky), var(--sky)) 12% 72% / 22% 1px no-repeat,
    linear-gradient(rgba(124, 200, 245, 0.75), rgba(124, 200, 245, 0.75)) 18% 22% / 1px 48% no-repeat,
    linear-gradient(rgba(124, 200, 245, 0.8), rgba(124, 200, 245, 0.8)) 30% 36% / 28% 1px no-repeat,
    var(--navy);
}

.project-fallback {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-fallback a { text-decoration: underline; text-underline-offset: 0.2em; }

.project-fallback[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 4rem 1rem 1.5rem;
  background: rgba(6, 17, 36, 0.96);
}

.lightbox.is-open { display: grid; }

.lightbox img,
.lightbox video {
  width: auto;
  max-width: min(68rem, 100%);
  max-height: 78vh;
  margin-inline: auto;
  object-fit: contain;
}

.lightbox video { display: block; background: #000; }

.lightbox p {
  margin-top: 0.85rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.25rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(124, 200, 245, 0.55);
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.project-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(78vh, 46rem);
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.project-hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.project-back {
  position: absolute;
  z-index: 2;
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0 0.95rem 0 0.75rem;
  border: 1px solid var(--sky);
  border-radius: 2px;
  background: rgba(6, 17, 36, 0.78);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.project-back span {
  font-size: 1.15rem;
  line-height: 1;
}

.project-back:hover {
  background: var(--sky);
  color: var(--navy);
}

.project-missing .project-back {
  position: static;
  margin-bottom: 0.5rem;
}

.project-hero h1 {
  max-width: 10em;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
  color: var(--white);
}

.project-hero-copy > a {
  color: var(--sky);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-intro { background: var(--sky); color: var(--navy); }

.project-meta { margin: 1.75rem 0 0; }

.project-meta div {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.project-meta div:last-child { border-bottom: 1px solid var(--line); }

.project-meta dt {
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  color: var(--navy);
}

.project-gallery-page {
  padding-top: 0;
  background: var(--navy-alt);
  color: var(--white);
}

.project-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}

.project-grid-col {
  flex: 0 1 calc((100% - (var(--cols, 1) - 1) * 1rem) / var(--cols, 1));
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-grid .project-image {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
}

.media-tag {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.9rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(6, 17, 36, 0.78));
  color: var(--sky);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
  pointer-events: none;
}

.play-badge {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--sky);
  border-radius: 50%;
  background: rgba(6, 17, 36, 0.28);
  pointer-events: none;
}

.play-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.5rem 0 0.5rem 0.85rem;
  border-color: transparent transparent transparent var(--sky);
}

.project-next {
  background: var(--sky);
  color: var(--navy);
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.project-next p {
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-next h2 {
  margin: 0.8rem auto 1.5rem;
  max-width: 10em;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.project-missing {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 3rem 1.25rem;
  text-align: center;
}

.project-missing h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }

.project-missing a { text-decoration: underline; text-underline-offset: 0.2em; }

.page-thanks {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.page-thanks main { max-width: 36rem; }

.page-thanks img {
  width: auto;
  height: 5.5rem;
  margin: 0 auto 1.75rem;
}

.page-thanks h1 {
  font-size: clamp(3rem, 8vw, 4.75rem);
  color: var(--white);
}

.page-thanks p {
  margin: 1rem 0 1.75rem;
  color: var(--white-muted);
}

@media (min-width: 720px) {
  .shell { width: min(var(--shell), calc(100% - 3rem)); }
  .hero-copy { width: min(var(--shell), calc(100% - 3rem)); }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .project.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .details a,
  .details .detail { grid-template-columns: 10.5rem 1fr; gap: 1rem; align-items: baseline; }
  .project-meta div { grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}

@media (min-width: 960px) {
  :root { --header-h: 6.75rem; }
  .brand img { height: 5.5rem; max-width: none; }
  .menu { display: none; }
  .navlinks,
  .navlinks.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    overflow: visible;
  }
  .navlinks a {
    padding: 0.35rem 0;
    border-bottom: 0;
    font-size: 0.8125rem;
    color: var(--white);
  }
  .nav-cta { display: none; }
  .header-cta { display: inline-flex; }
  .two-col,
  .project-intro-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .heading.split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); align-items: end; }
  .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }
  .steps article {
    padding: 1.5rem 1.15rem 0 0;
    border-bottom: 0;
  }
  .steps article::before {
    content: "";
    display: block;
    width: 1.75rem;
    height: 1px;
    margin-bottom: 1rem;
    background: var(--navy);
  }
  .steps .num { margin-bottom: 0.85rem; }
}

@media (max-width: 389px) {
  .hero h1 { font-size: 2.35rem; }
  .service-list article { grid-template-columns: 2.6rem 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 0.7s var(--ease); }
  .project img,
  .project-image img { transition: transform 0.6s var(--ease); }
  .project:hover img,
  .project-image:hover img { transform: scale(1.02); }
  .button,
  .contact-fab,
  .navlinks a,
  .details a { transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
}

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

@keyframes rise {
  from { transform: translateY(8px); }
  to { transform: none; }
}


/* ---------- Navy, sky blue and white theme ---------- */

/* Accent-filled sections become navy with sky blue detailing */
.about,
.process,
.project-intro,
.project-next {
  background: var(--navy-alt);
  color: var(--white);
}

.about { border-top: 1px solid var(--line-light); }
.process { background: var(--navy); }
.project-next { border-top: 1px solid var(--line-light); }

.about .copy p,
.project-intro .copy p,
.pillars p,
.steps p,
.project-meta dd,
.project-next p {
  color: var(--white-muted);
}

.about .kicker,
.process .kicker,
.project-intro .kicker,
.work .kicker,
.contact .kicker,
.project-meta dt,
.steps .num,
.service-list .num,
.project-next p {
  color: var(--sky);
}

.about .kicker::before,
.process .kicker::before,
.project-intro .kicker::before,
.steps article::before {
  background: var(--sky);
}

.pillars article { border-top-color: var(--sky); }

.steps .num,
.service-list .num {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.875rem;
}

/* Headings: light Montserrat, bold for small titles */
.pillars h3,
.steps h3,
.service-list h3 {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-title { font-weight: 300; letter-spacing: -0.01em; }

.accent-text {
  background: var(--sky-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Sky blue gradient buttons */
.button-primary,
.navlinks a.nav-cta,
.contact-fab {
  background: var(--sky-gradient);
  background-size: 160% 160%;
  background-position: 0% 50%;
  border-color: var(--sky);
  color: var(--navy);
  transition: background-position 0.5s var(--ease), box-shadow 0.3s var(--ease);
}

.button-primary:hover,
.navlinks a.nav-cta:hover,
.contact-fab:hover {
  background: var(--sky-gradient);
  background-size: 160% 160%;
  background-position: 100% 50%;
  color: var(--navy);
  box-shadow: 0 0 0 1px var(--sky-light), 0 10px 30px rgba(124, 200, 245, 0.22);
}

.button-ghost {
  border-color: var(--sky);
  color: var(--sky);
}

.button-ghost:hover {
  background: rgba(124, 200, 245, 0.1);
  border-color: var(--sky-light);
  color: var(--sky-light);
}

/* Header and footer hairlines */
.header { border-bottom-color: var(--line); }
.footer { border-top: 1px solid var(--line-light); }

/* Cards and form */
.project,
.project-image { border-color: var(--line-light); background: var(--navy-surface); }
.project:hover,
.project-image:hover { border-color: var(--sky); }

.form { background: var(--navy-surface); border-color: var(--line); }
.field input,
.field select,
.field textarea { font-weight: 300; }
.field option { background: var(--navy-surface); }
.field input:-webkit-autofill,
.field textarea:-webkit-autofill { box-shadow: 0 0 0 1000px var(--navy-surface) inset; }

.detail-label { color: var(--sky); }
.details a:hover .detail-value { color: var(--sky-light); }

.project-back { border-color: var(--sky); color: var(--sky); }
.project-back:hover { background: var(--sky-gradient); color: var(--navy); }

::selection { background: var(--sky); color: var(--navy); }

/* Montserrat runs wider than the old serif: tune heading sizes and spacing */
.two-col h2,
.heading h2,
.contact h2,
.project-intro h2,
.statement h2 {
  font-size: clamp(2.1rem, 4vw, 3.75rem);
}

.contact-intro h2 { margin-bottom: 1.25rem; }

@media (min-width: 720px) {
  .details a,
  .details .detail { grid-template-columns: 12rem 1fr; }
}
