:root {
  --paper: #f6f4ed;
  --paper-strong: #ffffff;
  --ink: #102033;
  --muted: #60707f;
  --navy: #113b63;
  --ocean: #007f91;
  --copper: #c56a4c;
  --sage: #6e8d72;
  --line: #dbe2e6;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 28%, #eef3f1 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  width: 100%;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

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

[hidden] {
  display: none !important;
}

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

::selection {
  background: rgba(0, 127, 145, 0.22);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: white;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-nav {
  align-items: center;
  background: rgba(246, 244, 237, 0.9);
  border-bottom: 1px solid rgba(219, 226, 230, 0.9);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  min-height: 74px;
  padding: 0.85rem max(4vw, env(safe-area-inset-right)) 0.85rem max(4vw, env(safe-area-inset-left));
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 rgba(16, 32, 51, 0);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, min-height 240ms ease, padding 240ms ease;
}

.site-nav::after {
  background: linear-gradient(90deg, var(--ocean), var(--copper), var(--sage));
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  width: 100%;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(203, 213, 220, 0.86);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
  min-height: 64px;
  padding-bottom: 0.68rem;
  padding-top: 0.68rem;
}

.brand-mark {
  align-items: baseline;
  display: inline-flex;
  gap: 0.35rem;
  position: relative;
  text-transform: uppercase;
}

.brand-mark::after {
  background: var(--ocean);
  bottom: -0.35rem;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
  width: 100%;
}

.brand-mark:hover::after {
  transform: scaleX(1);
}

.brand-mark span {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-mark small {
  color: var(--ocean);
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  color: #31485d;
  font-size: 0.94rem;
  min-width: 0;
}

.nav-links a,
.text-link {
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.text-link:hover,
.nav-links a.is-active {
  border-color: currentColor;
  color: var(--ocean);
}

.nav-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.8rem;
}

.grotta-nav-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(203, 213, 220, 0.92);
  border-radius: 6px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 54px;
  justify-content: center;
  inline-size: 180px;
  padding: 0.42rem 0.68rem;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.grotta-nav-link img {
  height: 36px;
  max-width: none;
  object-fit: contain;
  width: 156px;
}

.grotta-nav-link:hover {
  background: white;
  border-color: rgba(0, 127, 145, 0.32);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.12);
  transform: translateY(-1px);
}

.button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1rem;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.button::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  content: "";
  inset: 0 auto 0 -75%;
  position: absolute;
  transform: skewX(-18deg);
  transition: left 520ms var(--ease-out);
  width: 56%;
}

.button:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 14px 32px rgba(16, 32, 51, 0.22);
  transform: translateY(-1px);
}

.button:hover::after {
  left: 120%;
}

.button-small {
  min-height: 38px;
  padding: 0.5rem 0.78rem;
}

.button-ghost,
.button-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.button-ghost-dark {
  background: transparent;
  border-color: rgba(16, 32, 51, 0.36);
  color: var(--ink);
}

.button-light {
  background: white;
  border-color: white;
  color: var(--ink);
}

.hero {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  min-height: 86svh;
  min-height: 86dvh;
  overflow: hidden;
  padding: 8.5rem max(4vw, env(safe-area-inset-right)) 4rem max(4vw, env(safe-area-inset-left));
  position: relative;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-media video,
.hero-scrim {
  inset: 0;
  position: absolute;
}

.hero-media picture {
  display: block;
  inset: 0;
  position: absolute;
}

.hero-media img,
.hero-media video {
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.035);
  transform-origin: center;
  transition: transform 800ms var(--ease-out);
  width: 100%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.84), rgba(16, 32, 51, 0.43) 54%, rgba(16, 32, 51, 0.16)),
    linear-gradient(0deg, rgba(16, 32, 51, 0.72), rgba(16, 32, 51, 0.02) 48%);
}

.hero::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 72%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 72%);
  opacity: 0.38;
  pointer-events: none;
  position: absolute;
  transform: translate3d(0, calc(var(--hero-shift, 0px) * -0.34), 0);
  z-index: 1;
}

.hero::after {
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 48%, transparent 58%);
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  transform: translateX(-100%);
  z-index: 1;
  animation: heroSweep 7s 1.2s infinite;
}

.hero-content {
  color: white;
  justify-self: center;
  max-width: 780px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.hero-content > * {
  animation: riseIn 900ms var(--ease-out) both;
}

.hero-content > :nth-child(2) {
  animation-delay: 90ms;
}

.hero-content > :nth-child(3) {
  animation-delay: 180ms;
}

.hero-content > :nth-child(4) {
  animation-delay: 270ms;
}

.hero-content > :nth-child(5) {
  animation-delay: 360ms;
}

.eyebrow,
.section-kicker {
  color: var(--ocean);
  font-size: 0.78rem;
  font-weight: 850;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bceef3;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.96;
  margin: 0 auto;
  max-width: 820px;
  overflow-wrap: anywhere;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.hero-copy {
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  margin: 1.25rem auto 0;
  max-width: 690px;
}

.hero-signature {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  display: inline-flex;
  gap: 1rem;
  margin: 1.35rem auto 0;
  max-width: 100%;
  padding: 0.78rem 1rem;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}

.hero-signature:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.hero-signature span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-signature img {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
  height: 76px;
  object-fit: contain;
  width: 294px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.7rem;
}

.countdown-panel {
  align-self: end;
  background: rgba(246, 244, 237, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1rem;
  position: relative;
  z-index: 2;
  animation: floatIn 900ms 360ms var(--ease-out) both;
  overflow: hidden;
  text-align: center;
  transform: translateZ(0);
}

.countdown-panel::before {
  background: linear-gradient(90deg, var(--ocean), var(--copper), var(--sage));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.countdown-panel:hover {
  transform: translateY(-3px);
  transition: transform 220ms var(--ease-out);
}

.countdown-panel p {
  color: var(--ink);
  font-weight: 800;
  margin: 0 0 0.85rem;
}

.countdown-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.countdown-grid span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 0;
  padding: 0.75rem 0.4rem;
  position: relative;
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.countdown-grid span:hover {
  border-color: rgba(0, 127, 145, 0.34);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.1);
  transform: translateY(-2px);
}

.countdown-grid strong {
  color: var(--navy);
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.countdown-grid small {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.status-pill {
  border-top: 4px solid var(--sage);
  color: var(--muted);
  display: block;
  margin-top: 0.9rem;
  padding-top: 0.65rem;
}

main {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.process-grid.is-visible {
  --process-progress: 1;
}

.intro-section,
.work-section,
.media-section,
.technical-section,
.profile-section,
.location-section,
.cta-section {
  padding: 6rem max(4vw, env(safe-area-inset-right)) 6rem max(4vw, env(safe-area-inset-left));
  position: relative;
}

.intro-grid {
  display: grid;
  gap: 2.1rem;
  grid-template-columns: minmax(0, 1120px);
  justify-content: center;
  margin-top: 0.4rem;
  text-align: center;
}

.intro-section {
  padding-bottom: 5.4rem;
  padding-top: 4.8rem;
}

.intro-section > .section-kicker {
  text-align: center;
}

.intro-grid > div:first-child {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

.intro-grid h2 {
  font-size: clamp(2.25rem, 3.8vw, 3.55rem);
}

.intro-grid > div:last-child {
  border-bottom: 1px solid rgba(203, 213, 220, 0.82);
  border-top: 1px solid rgba(203, 213, 220, 0.82);
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
  padding: 1.45rem 0;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  line-height: 1.05;
  margin: 0;
  overflow-wrap: anywhere;
}

h3 {
  font-size: 1.18rem;
  margin: 0 0 0.55rem;
}

p {
  overflow-wrap: anywhere;
}

.intro-grid p,
.technical-copy p,
.process-item p,
.signal-strip p,
.media-card p,
.cta-section p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.intro-grid p + p {
  border-left: 1px solid rgba(203, 213, 220, 0.88);
  margin: 0;
  padding-left: 1.6rem;
}

.intro-grid p {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  text-align: left;
}

.intro-grid p:first-child {
  color: color-mix(in srgb, var(--ink) 70%, var(--muted));
  font-size: 1.08rem;
  font-weight: 720;
  line-height: 1.68;
}

.intro-grid p:last-child {
  line-height: 1.7;
}

.signal-strip {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-strip article {
  background: rgba(255, 255, 255, 0.04);
  min-height: 260px;
  padding: 2.2rem 4vw;
  position: relative;
  text-align: center;
  transition: background 220ms ease, transform 220ms var(--ease-out);
}

.signal-strip article::before {
  background: linear-gradient(180deg, var(--ocean), var(--copper));
  content: "";
  inset: 0 auto 0 0;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
  width: 3px;
}

.signal-strip article:hover {
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-4px);
}

.signal-strip article:hover::before {
  opacity: 1;
}

.signal-strip span {
  color: #9cdde4;
  display: block;
  font-weight: 850;
  margin-bottom: 3.4rem;
}

.signal-strip h3 {
  color: white;
}

.signal-strip p {
  color: rgba(255, 255, 255, 0.74);
  margin-left: auto;
  margin-right: auto;
  max-width: 340px;
}

.section-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.2rem;
  text-align: center;
}

.section-heading h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.process-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.process-grid::before {
  background: linear-gradient(90deg, var(--ocean), var(--copper), var(--sage));
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(var(--process-progress, 0));
  transform-origin: left;
  transition: transform 900ms var(--ease-out);
  width: 100%;
  z-index: 2;
}

.process-item {
  background: white;
  border: 1px solid var(--line);
  min-height: 260px;
  padding: 1.5rem;
  position: relative;
  text-align: center;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}

.process-item::after {
  background: linear-gradient(135deg, rgba(0, 127, 145, 0.16), transparent 62%);
  content: "";
  height: 100%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 220ms ease;
  width: 42%;
}

.process-item:hover {
  border-color: rgba(0, 127, 145, 0.28);
  box-shadow: 0 22px 58px rgba(16, 32, 51, 0.1);
  transform: translateY(-5px);
  z-index: 1;
}

.process-item:hover::after {
  opacity: 1;
}

.process-item span {
  color: var(--copper);
  display: block;
  font-weight: 850;
  margin-bottom: 4.8rem;
}

.process-item p {
  margin-left: auto;
  margin-right: auto;
  max-width: 320px;
}

.media-section {
  background:
    linear-gradient(140deg, #102033 0%, var(--navy) 52%, #005f6d 100%);
  color: white;
  isolation: isolate;
  overflow: hidden;
}

.media-section::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.media-heading {
  align-items: center;
  justify-content: center;
}

.media-heading > div {
  margin-left: auto;
  margin-right: auto;
}

.media-section .section-kicker {
  color: #a5eef5;
}

.media-carousel {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  position: relative;
}

.media-viewport {
  grid-column: 2;
  overflow: hidden;
  padding: 0.2rem 0;
}

.media-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.media-track::-webkit-scrollbar {
  display: none;
}

.media-slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
}

.media-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  cursor: zoom-in;
  overflow: hidden;
  transform: translateZ(0);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}

.media-card:hover,
.media-card:focus-visible,
.media-card.is-active {
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  transform: translateY(-6px);
  outline: none;
}

.media-card figure {
  margin: 0;
}

.media-card img,
.media-card video {
  aspect-ratio: 4 / 3;
  background: #0c2843;
  height: auto;
  object-fit: cover;
  transition: filter 260ms ease, transform 420ms var(--ease-out);
  width: 100%;
}

.media-card:hover img,
.media-card:hover video,
.media-card:focus-visible img,
.media-card:focus-visible video,
.media-card.is-active img,
.media-card.is-active video {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.media-card figcaption {
  padding: 1rem;
  text-align: center;
}

.media-card h3 {
  color: white;
}

.media-card p {
  color: rgba(255, 255, 255, 0.72);
  margin-left: auto;
  margin-right: auto;
  max-width: 360px;
}

.carousel-button,
.lightbox-nav,
.lightbox-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 46px;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.carousel-button {
  align-self: center;
  grid-row: 1;
  height: 56px;
  width: 46px;
  z-index: 1;
}

.carousel-button:hover,
.carousel-button:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.44);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.carousel-button::before,
.lightbox-nav::before {
  border-right: 2px solid white;
  border-top: 2px solid white;
  content: "";
  height: 12px;
  width: 12px;
}

.carousel-prev::before,
.lightbox-prev::before {
  transform: rotate(225deg);
}

.carousel-next::before,
.lightbox-next::before {
  transform: rotate(45deg);
}

.media-progress {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  grid-column: 2;
  height: 3px;
  overflow: hidden;
}

.media-progress span {
  background: linear-gradient(90deg, #a5eef5, var(--copper), #d6e7d8);
  display: block;
  height: 100%;
  transform-origin: left;
  transition: width 420ms var(--ease-out);
  width: 0;
}

.media-dots {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  grid-column: 2;
  justify-content: center;
}

.media-dot {
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background 180ms ease, transform 180ms ease, width 180ms ease;
  width: 8px;
}

.media-dot[aria-current="true"] {
  background: white;
  transform: translateY(-1px);
  width: 28px;
}

.media-lightbox {
  align-items: center;
  background: rgba(8, 18, 30, 0.88);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(44px, 0.08fr) minmax(0, 1fr) minmax(44px, 0.08fr);
  inset: 0;
  padding: 2rem;
  position: fixed;
  z-index: 50;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.media-lightbox[hidden] {
  display: none;
}

.carousel-button[hidden],
.media-dots[hidden],
.lightbox-nav[hidden] {
  display: none;
}

.has-lightbox {
  overflow: hidden;
}

.lightbox-frame {
  align-self: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  color: white;
  grid-column: 2;
  margin: 0;
  max-height: min(86svh, 860px);
  overflow: hidden;
}

.lightbox-media {
  align-items: center;
  background: rgba(3, 12, 22, 0.7);
  display: flex;
  justify-content: center;
}

.lightbox-media img,
.lightbox-media video {
  max-height: min(70svh, 700px);
  object-fit: contain;
  width: 100%;
}

.lightbox-frame figcaption {
  padding: 1rem 1.1rem;
  text-align: center;
}

.lightbox-frame h3 {
  color: white;
  margin: 0 0 0.3rem;
}

.lightbox-frame p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.lightbox-close {
  height: 46px;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 46px;
}

.lightbox-close::before,
.lightbox-close::after {
  background: white;
  content: "";
  height: 2px;
  position: absolute;
  width: 18px;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-nav {
  height: 58px;
  justify-self: center;
  width: 48px;
}

.technical-section {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
}

.technical-copy h2 {
  margin-bottom: 1rem;
}

.technical-copy {
  align-self: center;
  text-align: center;
}

.technical-copy h2,
.technical-copy p {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

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

.technical-list div {
  background: white;
  border: 1px solid var(--line);
  min-height: 120px;
  padding: 1.1rem;
  position: relative;
  text-align: center;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms var(--ease-out);
}

.technical-list div:hover {
  border-color: rgba(197, 106, 76, 0.35);
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
  transform: translateY(-3px);
}

.technical-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.technical-list dd {
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.profile-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7f4 100%);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.profile-content h2 {
  margin-bottom: 1rem;
}

.profile-content {
  align-self: center;
  text-align: center;
}

.profile-content > p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.profile-list {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 2.25rem 0 0;
}

.profile-list div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 247, 0.88));
  border: 1px solid rgba(203, 213, 220, 0.92);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.05);
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  justify-content: center;
  min-height: 118px;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}

.profile-list div:hover {
  border-color: rgba(0, 127, 145, 0.28);
  box-shadow: 0 16px 34px rgba(16, 32, 51, 0.08);
  transform: translateY(-2px);
}

.profile-list .profile-card-address {
  background:
    linear-gradient(135deg, rgba(0, 127, 145, 0.08), rgba(255, 255, 255, 0.96) 58%),
    white;
  grid-column: 1 / -1;
  min-height: 116px;
}

.profile-list .profile-card-address dd {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.profile-list .profile-wide {
  background:
    linear-gradient(135deg, rgba(17, 59, 99, 0.08), rgba(0, 127, 145, 0.07)),
    white;
  grid-column: 1 / -1;
  min-height: 132px;
}

.profile-list .profile-wide dd {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.profile-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 0.38rem;
  text-transform: uppercase;
}

.profile-list dd {
  font-weight: 850;
  margin: 0;
  overflow-wrap: anywhere;
}

.profile-visual {
  align-self: stretch;
  background:
    linear-gradient(135deg, rgba(17, 59, 99, 0.92), rgba(0, 127, 145, 0.8)),
    var(--navy);
  border: 1px solid rgba(17, 59, 99, 0.18);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(16, 32, 51, 0.18);
  color: white;
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  isolation: isolate;
  margin: 0;
  min-height: 460px;
  overflow: hidden;
  position: relative;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms var(--ease-out);
}

.profile-visual::before {
  background:
    linear-gradient(rgba(17, 59, 99, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 59, 99, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 22% 18%, rgba(0, 127, 145, 0.13), transparent 28%);
  background-position: 0 0, 0 0, center;
  background-size: 30px 30px, 30px 30px, 100% 100%;
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.profile-visual::after {
  animation: blueprintSweep 7s ease-in-out infinite;
  background:
    linear-gradient(108deg, transparent 22%, rgba(255, 255, 255, 0.08) 36%, rgba(0, 127, 145, 0.26) 49%, rgba(255, 255, 255, 0.14) 58%, transparent 74%);
  content: "";
  inset: -22% -45%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-58%) skewX(-10deg);
  z-index: 3;
}

.profile-visual img {
  background: #efe8da;
  filter: contrast(1.04) saturate(1.08);
  height: 100%;
  object-fit: contain;
  position: relative;
  transition: filter 260ms ease, transform 360ms var(--ease-out);
  width: 100%;
  z-index: 1;
}

.profile-visual:hover {
  border-color: rgba(0, 127, 145, 0.38);
  box-shadow: 0 34px 90px rgba(16, 32, 51, 0.24);
  transform: translateY(-4px);
}

.profile-visual:hover img {
  filter: contrast(1.09) saturate(1.14);
  transform: scale(1.012);
}

.profile-visual:hover::after {
  animation-duration: 3.8s;
}

.profile-placeholder {
  align-items: end;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 0.85fr 1.15fr 0.72fr;
  isolation: isolate;
  padding: 4rem 3rem 3rem;
  position: relative;
  z-index: 1;
}

.profile-placeholder::before,
.profile-placeholder::after {
  border: 1px solid rgba(255, 255, 255, 0.56);
  content: "";
  position: absolute;
  z-index: -1;
}

.profile-placeholder::before {
  height: 72%;
  left: 16%;
  top: 13%;
  transform: skewX(-7deg);
  width: 60%;
}

.profile-placeholder::after {
  height: 44%;
  right: 13%;
  top: 31%;
  transform: skewX(8deg);
  width: 34%;
}

.profile-placeholder span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.7);
  min-height: 170px;
}

.profile-placeholder span:nth-child(2) {
  min-height: 245px;
}

.profile-placeholder span:nth-child(3) {
  min-height: 128px;
}

.profile-visual figcaption {
  background: rgba(5, 14, 26, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  font-weight: 750;
  margin: 0;
  padding: 1rem;
  position: relative;
  text-align: center;
  z-index: 4;
}

.location-section {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(17, 59, 99, 0.06), rgba(0, 127, 145, 0.08)),
    #f8faf7;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
}

.location-copy {
  align-self: center;
  text-align: center;
}

.location-copy h2 {
  margin-bottom: 1rem;
}

.location-copy > p {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.location-address {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 213, 220, 0.9);
  border-radius: 8px;
  margin: 1.6rem auto 0;
  max-width: 560px;
  padding: 1rem;
  text-align: center;
}

.location-address span {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.location-address strong {
  display: block;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.map-frame {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.map-frame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.cta-section {
  align-items: center;
  background:
    linear-gradient(110deg, #eef3f1, #ffffff 54%, #e8eee9);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  background: linear-gradient(90deg, var(--ocean), var(--copper), var(--sage));
  content: "";
  height: 4px;
  left: 4vw;
  position: absolute;
  right: 4vw;
  top: 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroSweep {
  0%,
  42% {
    transform: translateX(-100%);
  }
  58%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes blueprintSweep {
  0%,
  34% {
    transform: translateX(-58%) skewX(-10deg);
  }
  58%,
  100% {
    transform: translateX(58%) skewX(-10deg);
  }
}

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

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

  .hero-media img,
  .hero-media video,
  .hero::before {
    transform: none;
  }
}

.cta-section h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.cta-logo {
  display: block;
  height: 96px;
  margin: 1.35rem auto 0;
  object-fit: contain;
  width: 360px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1.2rem max(4vw, env(safe-area-inset-right)) 1.2rem max(4vw, env(safe-area-inset-left));
}

.footer-project {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-office {
  color: color-mix(in srgb, var(--ink) 64%, var(--muted));
  display: grid;
  font-style: normal;
  gap: 0.18rem;
  line-height: 1.35;
  max-width: 520px;
  text-align: center;
}

.footer-office span {
  color: var(--ocean);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-office strong,
.footer-office a {
  font-size: 0.88rem;
}

.footer-office strong {
  font-weight: 750;
}

.footer-office a {
  color: inherit;
}

.footer-credit {
  align-items: center;
  color: color-mix(in srgb, var(--ink) 64%, var(--muted));
  display: inline-flex;
  gap: 0.7rem;
  min-height: 44px;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-credit span {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-credit img {
  background: #080b16;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
  display: block;
  height: 42px;
  object-fit: contain;
  padding: 0.22rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 42px;
}

.footer-credit:is(:hover, :focus-visible) {
  color: var(--ink);
  transform: translateY(-1px);
}

.footer-credit:is(:hover, :focus-visible) img {
  border-color: color-mix(in srgb, var(--navy) 36%, var(--line));
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
  transform: scale(1.04);
}

.admin-body {
  background: #eef2f1;
}

.admin-shell {
  min-height: 100svh;
}

.admin-login {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 2rem;
}

.admin-brand {
  left: 2rem;
  position: fixed;
  top: 2rem;
}

.admin-card,
.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(16, 32, 51, 0.08);
}

.admin-card {
  max-width: 520px;
  padding: 2rem;
  width: 100%;
}

.admin-card h1,
.panel-heading h1,
.panel-heading h2 {
  font-size: 2rem;
  line-height: 1.08;
  margin: 0 0 0.8rem;
}

.admin-card p {
  color: var(--muted);
}

.stack-form,
.admin-form {
  display: grid;
  gap: 1rem;
}

.stack-form {
  margin-top: 1.4rem;
}

label {
  color: #31485d;
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.4rem;
}

input,
textarea {
  background: #fbfcfc;
  border: 1px solid #cbd5dc;
  border-radius: 6px;
  color: var(--ink);
  min-height: 44px;
  padding: 0.72rem 0.8rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--ocean);
  outline: 3px solid rgba(0, 127, 145, 0.14);
}

.form-status {
  color: var(--muted);
  margin: 0;
  min-height: 1.5rem;
}

.admin-app {
  padding: 1.2rem;
}

.admin-topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 1.2rem;
  max-width: 1320px;
}

.admin-topbar > div {
  align-items: center;
  display: flex;
  gap: 0.9rem;
}

.admin-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  margin: 0 auto;
  max-width: 1320px;
}

.admin-panel {
  padding: 1.3rem;
}

.panel-heading {
  margin-bottom: 1.2rem;
}

.admin-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-2 {
  grid-column: 1 / -1;
}

.admin-form-group {
  border-top: 1px solid var(--line);
  margin-top: 0.4rem;
  padding-top: 1.1rem;
}

.admin-form-group:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.admin-form-group h3 {
  font-size: 1rem;
  margin: 0;
}

.admin-form-group p {
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

progress {
  accent-color: var(--ocean);
  height: 12px;
  max-width: 220px;
  width: 100%;
}

.media-admin-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.media-admin-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  padding: 0.65rem;
}

.media-admin-row img,
.media-admin-row video {
  aspect-ratio: 1;
  background: #e7ece8;
  border-radius: 6px;
  object-fit: cover;
  width: 82px;
}

.media-edit-fields {
  display: grid;
  gap: 0.55rem;
}

.media-edit-fields label {
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.28rem;
  text-transform: uppercase;
}

.media-edit-fields input,
.media-edit-fields textarea {
  font-size: 0.95rem;
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  text-transform: none;
}

.media-edit-fields textarea {
  min-height: 72px;
  resize: vertical;
}

.row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
  max-width: 520px;
}

.icon-button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  min-height: 36px;
  padding: 0.45rem 0.65rem;
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.danger-button {
  border-color: rgba(197, 106, 76, 0.36);
  color: #8b3523;
}

.primary-outline-button {
  border-color: rgba(51, 112, 129, 0.38);
  color: var(--ocean);
}

.media-order-control {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
}

.media-order-control span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.media-order-control input {
  min-height: 36px;
  padding: 0.35rem 0.45rem;
  text-align: center;
  width: 76px;
}

.toggle-label {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  min-height: 36px;
}

.toggle-label input {
  min-height: auto;
  width: auto;
}

@media (max-width: 980px) {
  .site-nav {
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 0.65rem;
  }

  .nav-links {
    border-top: 1px solid rgba(203, 213, 220, 0.72);
    gap: 0.45rem;
    margin-left: calc(max(4vw, env(safe-area-inset-left)) * -1);
    margin-right: calc(max(4vw, env(safe-area-inset-right)) * -1);
    order: 3;
    overflow-x: auto;
    padding: 0.65rem max(4vw, env(safe-area-inset-right)) 0.2rem max(4vw, env(safe-area-inset-left));
    scroll-padding-inline: max(4vw, env(safe-area-inset-left));
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(203, 213, 220, 0.76);
    border-radius: 6px;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0.48rem 0.72rem;
  }

  .nav-links a.is-active {
    background: rgba(0, 127, 145, 0.1);
    border-color: rgba(0, 127, 145, 0.26);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 10.25rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 10vw, 4rem);
  }

  .countdown-panel {
    margin-top: 2rem;
    max-width: 520px;
    width: 100%;
  }

  .intro-grid,
  .technical-section,
  .profile-section,
  .location-section,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .intro-grid > div:last-child {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .intro-grid p,
  .intro-grid p:first-child,
  .intro-grid p:last-child {
    text-align: center;
  }

  .intro-grid p + p {
    border-left: 0;
    border-top: 1px solid rgba(203, 213, 220, 0.88);
    padding-left: 0;
    padding-top: 1.25rem;
  }

  .signal-strip,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-slide {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .cta-section,
  .section-heading {
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-nav {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    padding: 0.68rem max(1rem, env(safe-area-inset-right)) 0.42rem max(1rem, env(safe-area-inset-left));
  }

  .brand-mark {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand-mark span {
    font-size: 0.98rem;
  }

  .brand-mark small {
    font-size: 0.68rem;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.83rem;
    min-height: 36px;
    padding: 0.42rem 0.62rem;
  }

  .nav-actions {
    display: none;
  }

  .nav-actions .text-link {
    display: none;
  }

  .grotta-nav-link {
    height: 40px;
    inline-size: 124px;
    padding: 0.24rem 0.36rem;
  }

  .grotta-nav-link img {
    height: 28px;
    width: 108px;
  }

  .hero {
    padding: 9.25rem max(1rem, env(safe-area-inset-right)) 2.4rem max(1rem, env(safe-area-inset-left));
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 2.65rem);
    max-width: 100%;
  }

  .hero-copy {
    font-size: 1.04rem;
    max-width: 26ch;
  }

  .hero-signature {
    align-items: center;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.66rem 0.72rem;
    width: 100%;
  }

  .hero-signature img {
    height: 52px;
    max-width: 100%;
    width: 214px;
  }

  .button {
    width: 100%;
  }

  .nav-actions .button {
    width: auto;
  }

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

  .intro-section,
  .work-section,
  .media-section,
  .technical-section,
  .profile-section,
  .location-section,
  .cta-section {
    padding: 4rem max(1rem, env(safe-area-inset-right)) 4rem max(1rem, env(safe-area-inset-left));
  }

  .profile-list {
    grid-template-columns: 1fr;
  }

  .profile-list div,
  .profile-list .profile-card-address,
  .profile-list .profile-wide {
    grid-column: 1 / -1;
  }

  .profile-visual {
    grid-template-rows: minmax(300px, 1fr) auto;
    min-height: 380px;
  }

  .profile-placeholder {
    padding: 3rem 2rem 2.4rem;
  }

  .map-frame {
    min-height: 340px;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.35rem);
  }

  .signal-strip,
  .process-grid,
  .technical-list,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .media-carousel {
    gap: 0.75rem;
    grid-template-columns: 1fr 1fr;
  }

  .media-viewport,
  .media-progress,
  .media-dots {
    grid-column: 1 / -1;
  }

  .media-viewport {
    grid-row: 1;
  }

  .carousel-button {
    grid-row: 2;
    height: 46px;
    width: 100%;
  }

  .carousel-prev {
    grid-column: 1;
  }

  .carousel-next {
    grid-column: 2;
  }

  .media-slide {
    flex-basis: 100%;
  }

  .media-lightbox {
    gap: 0.65rem;
    grid-template-columns: 1fr 1fr;
    padding: 4.5rem 1rem 1rem;
  }

  .lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: 78svh;
  }

  .lightbox-media img,
  .lightbox-media video {
    max-height: 58svh;
  }

  .lightbox-nav {
    grid-row: 2;
    height: 46px;
    width: 100%;
  }

  .lightbox-prev {
    grid-column: 1;
  }

  .lightbox-next {
    grid-column: 2;
  }

  .signal-strip article,
  .process-item {
    min-height: auto;
  }

  .process-item span,
  .signal-strip span {
    margin-bottom: 2.25rem;
  }

  .technical-list div,
  .process-item,
  .signal-strip article {
    padding: 1.15rem;
  }

  .cta-logo {
    height: auto;
    max-width: 280px;
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-project {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .footer-credit {
    justify-content: space-between;
    width: 100%;
  }

  .admin-login,
  .admin-app {
    padding: 1rem;
  }

  .admin-brand {
    left: 1rem;
    top: 1rem;
  }

  .admin-card {
    margin-top: 4rem;
    padding: 1.2rem;
  }

  .admin-topbar {
    align-items: flex-start;
    gap: 1rem;
    flex-direction: column;
  }

  .media-admin-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .media-admin-row img,
  .media-admin-row video {
    width: 64px;
  }

  .row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .site-nav {
    position: sticky;
  }

  .brand-mark {
    flex-direction: column;
    gap: 0;
    line-height: 1;
  }

  .grotta-nav-link img {
    width: 96px;
  }

  .grotta-nav-link {
    inline-size: 112px;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .hero-actions {
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .countdown-panel {
    padding: 0.85rem;
  }

  .countdown-grid {
    gap: 0.45rem;
  }

  .countdown-grid strong {
    font-size: 1.34rem;
  }

  .intro-grid {
    gap: 1.35rem;
  }

  .section-heading {
    gap: 0.65rem;
  }
}

@media (max-width: 360px) {
  .nav-links a {
    font-size: 0.78rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .grotta-nav-link img {
    width: 86px;
  }

  .grotta-nav-link {
    inline-size: 102px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-signature span {
    white-space: normal;
  }
}
