* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--nz-midnight); color: var(--nz-mist); font: 1rem/1.65 Inter, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { color: var(--muted); margin: 0 0 1rem; max-width: 70ch; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.12; overflow-wrap: break-word; }
h1 { font-size: clamp(2.45rem, 6vw, 4.875rem); letter-spacing: -.043em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); letter-spacing: -.037em; }
h3 { font-size: 1.4rem; }
:focus-visible { outline: 2px solid var(--nz-cyan); outline-offset: 4px; }
.wrap { width: min(86%, 76.25rem); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 5; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 2; background: #0c1624f5; border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--nz-white); font-size: 1.4rem; font-weight: 750; line-height: 1; letter-spacing: -.04em; }
.brand small { display: block; margin-top: .3rem; font-size: .75rem; letter-spacing: .24em; color: var(--nz-silver); }
.accent, .eyebrow, .label, .nav a:hover, .nav a[aria-current] { color: var(--nz-cyan); }
.nav { display: flex; gap: .5rem; align-items: center; }
.nav a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: clamp(.8rem, 1.5vw, 1.3rem);
  color: var(--nz-silver);
  font-size: .875rem;
  font-weight: 650;
}
.nav a::before, .nav a::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 3px 0;
  border-radius: 5px;
  transform: skewX(-12deg);
}
.nav a::before {
  border: 1px solid transparent;
  background:
    linear-gradient(155deg, #172d3e, #101b2a) padding-box,
    linear-gradient(145deg, #315064a6, #233c4d40 52%, transparent 90%) border-box;
}
.nav a::after {
  background:
    linear-gradient(90deg, transparent, #67d7ed, transparent) bottom / 76% 1px no-repeat,
    radial-gradient(ellipse at 50% 100%, #4abddd48, transparent 77%);
  opacity: 0;
}
.nav a[aria-current]::after { opacity: .85; }
.nav a:hover::after, .nav a:focus-visible::after { opacity: 1; }
.nav .nav-home { min-width: 44px; justify-content: center; padding-inline: .5rem; }
.nav .nav-home::before, .nav .nav-home::after { content: none; }
.nav-toggle { display: none; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .nav a { transition: color 220ms ease, transform 220ms ease; }
  .nav a::after { transition: opacity 220ms ease; }
  .nav a:hover, .nav a:focus-visible { transform: translateY(-1px); }
}
.hero, .innerhero, .contact {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 65% 32%, #15384e99, transparent 65%);
}
.hero::before, .innerhero::before, .contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, #61b4cb38 1px, transparent 1px) 0 0 / 22px 22px;
  mask-image: radial-gradient(ellipse at 68% 32%, #000, transparent 65%);
  pointer-events: none;
}
.hero { overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 35rem; gap: 1rem; padding-block: 4rem; }
.hero-art { width: 100%; height: auto; opacity: .8; filter: drop-shadow(0 0 28px #00cfff55); }
.innerhero, .section { padding-block: clamp(3rem, 6.5vw, 5.4rem); }
.alt { background: var(--surface); }
.eyebrow, .label, .category { font-size: .875rem; text-transform: uppercase; letter-spacing: .10em; font-weight: 700; }
.eyebrow { margin-bottom: 1.3rem; }
.eyebrow::before { content: ''; display: inline-block; width: 1.5em; border-top: 1px solid; margin: 0 .7em .26em 0; }
.lead { color: var(--nz-silver); font-size: 1.125rem; max-width: 57ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 1rem; border: 1px solid var(--nz-cyan); border-radius: 5px; background: var(--nz-cyan); color: #051621; font-weight: 750; font-size: .9rem; }
.button.secondary { background: #0b2635; color: var(--nz-mist); border-color: #50728a; }
.button:hover { filter: brightness(1.16); }
.two, .cards, .topics, .gallery, .values { display: grid; gap: 1.25rem; }
.two, .cards, .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.two { align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.founder-profile { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.founder-portrait {
  width: min(100%, 18rem);
  height: auto;
  justify-self: center;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.values, .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.values { margin: 1.5rem 0 0; }
.values div { border-left: 2px solid var(--nz-cyan); padding-left: .75rem; }
.values dt { color: var(--nz-white); font-weight: 700; }
.values dd { margin: 0; color: var(--muted); }
figure { margin: 0; }
.diagram, .card, .topic { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--panel); }
.diagram img { width: 100%; aspect-ratio: 1.8; object-fit: contain; background: radial-gradient(circle, #17445d, #0c1c2b 73%); }
.lab-art img { height: auto; aspect-ratio: auto; }
figcaption { padding: .55rem 1rem; color: var(--muted); font-size: .875rem; }
.headrow { display: flex; gap: 1.5rem; justify-content: space-between; align-items: end; margin-bottom: 1.25rem; }
.headrow > p { max-width: 44ch; }
.card { display: flex; flex-direction: column; }
.card > img { width: 100%; aspect-ratio: 2; object-fit: cover; background: #143445; }
.gallery-media { display: block; aspect-ratio: 4 / 3; background: var(--nz-midnight); }
.gallery-media img { width: 100%; height: 100%; object-fit: contain; }
.gallery-media:focus-visible { outline-offset: -4px; }
html:has(.gallery-viewer[open]) { overflow: hidden; }
.gallery-viewer {
  width: min(74rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--nz-mist);
}
.gallery-viewer[open] { display: grid; grid-template-rows: auto minmax(5rem, 1fr) auto; gap: .65rem; }
.gallery-viewer::backdrop { background: rgb(4 10 18 / .88); }
.gallery-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.gallery-viewer-bar h2 { margin: 0; font-size: clamp(.9rem, 2vw, 1.15rem); }
.gallery-viewer-bar button {
  min-height: 44px;
  padding-inline: .7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: inherit;
  font: inherit;
  font-size: .875rem;
  white-space: nowrap;
  cursor: pointer;
}
.gallery-viewer-bar button:hover { border-color: var(--nz-cyan); }
.gallery-viewer-bar button span { color: var(--nz-cyan); }
.gallery-viewer-image { display: grid; place-items: center; min-height: 0; background: var(--nz-midnight); border-radius: 8px; }
.gallery-viewer-image img { width: 100%; height: min(68dvh, 48rem); max-height: 100%; object-fit: contain; }
.gallery-viewer-count { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.card-brand { display: grid; place-items: center; aspect-ratio: 2; background: radial-gradient(ellipse, #1a4651, #102b2c); }
.project-logo { width: min(100%, 14rem); height: auto; border-radius: 6px; justify-self: center; }
.card-brand .project-logo { width: min(43%, 13rem); }
.project-logo--wide { width: min(100%, 26rem); }
.card-brand--wide .project-logo { width: min(90%, 28rem); }
.card-body { padding: clamp(1rem, 2.4vw, 1.65rem); display: flex; flex-direction: column; flex: 1; }
.category { color: #a0deeb; }
.card h3 { margin: .35rem 0 .65rem; }
.card-caption { font-size: .875rem; }
.card-action { margin-top: auto; padding-top: .35rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgb(160 222 235 / .05);
  color: var(--nz-mist);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link span { color: #a0deeb; font-size: 1.15em; line-height: 1; }
.text-link:hover, .text-link:focus-visible {
  border-color: #6397a5;
  background: rgb(160 222 235 / .12);
  color: var(--nz-white);
}
.topic { padding: 1.1rem; }
.topic h3 { font-size: 1rem; color: var(--nz-cyan); margin-bottom: .35rem; }
.topic p { margin: 0; }
.topic-heading { margin-top: 3rem; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2.25rem, 7vw, 6rem);
}
.contact-intro h1 { max-width: 12ch; }
.contact-intro .lead { max-width: 35ch; }
.contact p:last-child { margin-bottom: 0; }
.contact a { color: var(--nz-cyan); text-decoration: underline; }
.contact-form, .contact-fields { display: grid; gap: 1.25rem; }
.contact-form { min-width: 0; }
.contact-form h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.contact-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.contact-form label { display: grid; gap: .4rem; font-size: .875rem; font-weight: 650; }
.contact-control { display: block; position: relative; }
.contact-form :is(input, textarea) {
  display: block;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem .75rem 2.75rem;
  border: 1px solid transparent;
  border-bottom-color: #4d687c;
  border-radius: 14px;
  background: linear-gradient(110deg, #0c1624df, #102337c2);
  color: var(--nz-mist);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.contact-form :is(input, textarea)::placeholder { color: #9cb3c6; }
.contact-form :is(input, textarea):focus { border-color: #4eb5cb; }
.field-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 16px;
  height: 16px;
  color: #9fcfdf;
  pointer-events: none;
}
.contact-control:focus-within .field-icon { color: var(--nz-cyan); }
.field-icon::before, .field-icon::after { content: ''; position: absolute; }
.field-icon--person::before { inset: 0 5px 10px; border: 1px solid; border-radius: 50%; }
.field-icon--person::after { inset: 8px 2px 0; border: 1px solid; border-radius: 7px 7px 3px 3px; }
.field-icon--email::before { inset: 2px 0; border: 1px solid; border-radius: 3px; }
.field-icon--email::after { inset: 2px 4px auto; height: 7px; border: solid; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.field-icon--subject::before { top: 3px; width: 14px; height: 1px; background: currentColor; box-shadow: 0 5px currentColor; }
.field-icon--subject::after { top: 13px; width: 9px; height: 1px; background: currentColor; }
.field-icon--message::before { inset: 1px 0 3px; border: 1px solid; border-radius: 4px; }
.field-icon--message::after { inset: auto auto 1px 4px; width: 4px; height: 4px; border: solid; border-width: 0 0 1px 1px; transform: skewY(-35deg); background: #101e2c; }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; gap: .75rem; padding-inline: 1.25rem; border-radius: 999px; cursor: pointer; }
.contact-form button:disabled { opacity: .55; cursor: default; }
.contact-status:empty { margin-top: -1rem; }
.footer { border-top: 1px solid var(--border); padding-block: 1.25rem; font-size: .75rem; line-height: 1.5; }
.footer .wrap { display: flex; justify-content: space-between; gap: 1rem 2rem; }
.footer-brand, .footer-legal { display: grid; align-content: start; gap: .2rem; }
.footer-legal { text-align: right; }
.footer p { margin: 0; }
.footer strong { color: var(--nz-mist); font-weight: 650; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--muted); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nz-cyan); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  html { scroll-padding-top: 1rem; }
  .site-header { position: static; }
  .wrap { width: 90%; }
  .header-inner { flex-wrap: wrap; gap: .35rem; padding-block: .65rem; }
  .nav-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--nz-mist);
    cursor: pointer;
  }
  .nav-toggle span {
    position: relative;
    width: 20px;
    height: 2px;
    background: currentColor;
  }
  .nav-toggle span::before, .nav-toggle span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
  }
  .nav-toggle span::before { transform: translateY(-6px); }
  .nav-toggle span::after { transform: translateY(6px); }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
  .nav-toggle:not([hidden])[aria-expanded="false"] + .nav { display: none; }
  .nav {
    display: grid;
    width: 100%;
    gap: 0;
    margin-top: .45rem;
    border-top: 1px solid var(--border);
  }
  .nav a { padding-inline: .75rem; }
  .nav .nav-home { justify-content: flex-start; padding-inline: .75rem; }
  .nav a::before, .nav a::after { content: none; }
  .nav a:hover, .nav a[aria-current] { background: var(--surface); }
  .hero-inner, .two, .cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .founder-portrait { justify-self: start; }
  .hero-inner { padding-block: 3rem 1.5rem; gap: .5rem; }
  .hero-art { width: min(100%, 19rem); margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .headrow { display: block; }
  .footer .wrap { flex-direction: column; }
  .footer-legal { text-align: left; }
}
@media (max-width: 480px) {
  .values, .topics, .gallery { grid-template-columns: 1fr; }
}

