@font-face { font-family:"Manrope"; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/manrope-regular.ttf') format('truetype'); }
@font-face { font-family:"Manrope"; font-style:normal; font-weight:600; font-display:swap; src:url('/assets/manrope-semibold.ttf') format('truetype'); }
@font-face { font-family:"Manrope"; font-style:normal; font-weight:700 900; font-display:swap; src:url('/assets/manrope-bold.ttf') format('truetype'); }
:root {
  --ink: #020617;
  --ink-soft: #0f172a;
  --pine: #122d59;
  --accent: #22d3ee;
  --paper: #f4f7fc;
  --white: #ffffff;
  --line: rgba(2, 6, 23, 0.16);
  --line-light: rgba(255, 255, 255, 0.2);
  --muted: #64748b;
  --shell: min(1380px, calc(100vw - 64px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  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: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0));
  transition: background 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(14px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line-light);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  opacity: 0.7;
}

.brand-mark::before {
  width: 44px;
  height: 1px;
}

.brand-mark::after {
  width: 1px;
  height: 44px;
}

.brand-mark span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.18);
}

.brand-name {
  font-size: 0.91rem;
  font-weight: 750;
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 50px);
}

.main-nav a {
  position: relative;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: color 220ms ease, background 220ms ease;
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--white);
}

.menu-button {
  position: relative;
  z-index: 2;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
}

.menu-line {
  position: absolute;
  left: 10px;
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: transform 260ms var(--ease), top 260ms var(--ease);
}

.menu-line-one { top: 18px; }
.menu-line-two { top: 29px; }

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  height: 100svh;
  max-height: 1020px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.55) 44%, rgba(2, 6, 23, 0.12) 72%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.82) 0%, transparent 38%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.52) 0%, transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 62px;
  padding-bottom: 150px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.eyebrow-dark {
  color: var(--pine);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.section-heading h2,
.location h2,
.contact h2 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.hero h1 {
  max-width: 1020px;
  font-size: clamp(4.2rem, 8.3vw, 8.8rem);
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.hero-lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

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

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

.button-primary:hover {
  background: var(--accent);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
  background: rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

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

.hero-facts {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.25fr;
  border-top: 1px solid var(--line-light);
}

.hero-fact {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 32px;
  border-right: 1px solid var(--line-light);
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
}

.hero-fact:first-child {
  padding-left: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero-fact:last-child {
  border-right: 0;
}

.hero-fact-size {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
}

.fact-value {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 3.45rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.fact-unit,
.fact-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.fact-copy {
  margin-top: 7px;
  font-size: 0.98rem;
  font-weight: 520;
}

.video-toggle {
  position: absolute;
  z-index: 4;
  right: max(32px, calc((100vw - 1380px) / 2));
  bottom: 132px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.video-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.video-icon::before,
.video-icon::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 2px;
  height: 12px;
  background: var(--white);
}

.video-icon::before { left: 12px; }
.video-icon::after { right: 12px; }

.video-toggle[aria-pressed="true"] .video-icon::before {
  top: 9px;
  left: 13px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--white);
  background: transparent;
}

.video-toggle[aria-pressed="true"] .video-icon::after {
  display: none;
}

.section {
  padding: clamp(100px, 11vw, 176px) 0;
}

.section-heading h2,
.location h2 {
  font-size: clamp(3.25rem, 6.2vw, 6.7rem);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: clamp(60px, 10vw, 160px);
  margin-bottom: clamp(70px, 9vw, 130px);
}

.split-heading > p {
  max-width: 540px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1.08rem;
}

.space-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.65fr);
  align-items: stretch;
  gap: 0;
}

.image-frame {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #e2e8f0;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-index {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
}

.space-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 5vw, 86px);
  color: var(--white);
  background: var(--ink-soft);
}

.space-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.space-number {
  margin: 10px 0 42px;
  color: var(--accent);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(5rem, 7vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.space-number span {
  font-size: 0.27em;
  letter-spacing: -0.02em;
}

.space-card h3 {
  margin: 0 0 18px;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.space-card > p:not(.space-kicker, .space-number) {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 740;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  color: var(--accent);
  font-size: 1.1rem;
  transition: transform 220ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 74px;
  border-top: 1px solid var(--line);
}

.feature {
  position: relative;
  min-height: 310px;
  padding: 34px 42px 34px 0;
  border-right: 1px solid var(--line);
}

.feature:not(:first-child) {
  padding-left: 42px;
}

.feature:last-child {
  border-right: 0;
}

.feature-number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature h3 {
  margin: 76px 0 16px;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 550;
  letter-spacing: -0.03em;
}

.feature p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.film-section {
  position: relative;
  display: grid;
  min-height: min(78vw, 900px);
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.film-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.72)),
    url("/assets/maailmannapa-toimitilat-kehatien-varrella.webp") center / cover no-repeat;
  transform: scale(1.01);
}

.film-copy {
  position: relative;
  z-index: 1;
}

.film-statement {
  max-width: 1020px;
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3.1rem, 6.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.film-statement span {
  color: rgba(255, 255, 255, 0.64);
}

.gallery {
  background: var(--white);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 54px;
}

.gallery-heading p:last-child {
  margin: 0 0 8px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 310px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item,
.map-card {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: #e2e8f0;
  cursor: zoom-in;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 500ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 6, 23, 0.66));
  pointer-events: none;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.gallery-caption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 18px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}

.gallery-caption::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 300;
}

.location {
  color: var(--white);
  background: var(--ink);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(70px, 9vw, 140px);
}

.location-copy {
  padding-block: 22px;
}

.location-lead {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
}

.location-list {
  margin: 52px 0 46px;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.location-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}

.location-list li > span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.location-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
}

.location-list p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.91rem;
}

.map-card {
  min-height: 690px;
  background: #e2e8f0;
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: 690px;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.map-card:hover img,
.map-card:focus-visible img {
  transform: scale(1.025);
}

.map-zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-zoom span {
  font-size: 1.2rem;
  font-weight: 350;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--pine);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 44%, rgba(34, 211, 238, 0.16), transparent 26%);
}

.contact-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -220px;
  right: -170px;
  width: 820px;
  height: 820px;
}

.orbit-two {
  right: 30px;
  bottom: -350px;
  width: 620px;
  height: 620px;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.6fr);
  align-items: center;
  gap: clamp(70px, 9vw, 140px);
}

.contact h2 {
  font-size: clamp(3.45rem, 6.8vw, 7.2rem);
}

.contact h2 span {
  color: var(--accent);
}

.contact-card {
  padding: clamp(38px, 4vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(8px);
}

.contact-label {
  margin: 0 0 44px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.71rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 530;
  letter-spacing: -0.03em;
}

.contact-card > p:not(.contact-label) {
  margin: 3px 0 34px;
  color: rgba(255, 255, 255, 0.58);
}

.contact-phone,
.contact-email {
  display: block;
  width: fit-content;
  color: var(--white);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-phone {
  margin-bottom: 10px;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 540;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.contact-email {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.contact-address {
  display: flex;
  flex-direction: column;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.contact-address span:first-child {
  margin-bottom: 5px;
  color: var(--white);
  font-weight: 650;
}

.site-footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #020617;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.brand-footer {
  color: var(--white);
}

.footer-inner p {
  margin: 0;
  font-size: 0.78rem;
}

.footer-company {
  justify-self: end;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(2, 6, 23, 0.97);
}

.lightbox::backdrop {
  background: rgba(2, 6, 23, 0.94);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr;
}

.lightbox-toolbar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line-light);
}

.lightbox-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-arrow {
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.lightbox-close {
  min-height: 44px;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close span {
  margin-left: 10px;
  font-size: 1.45rem;
  font-weight: 300;
  vertical-align: -2px;
}

.lightbox-stage {
  display: grid;
  min-height: 0;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
}

.lightbox-stage figure {
  display: grid;
  min-height: 0;
  height: calc(100vh - 76px);
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  margin: 0;
  padding: 26px;
}

.lightbox-stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  object-fit: contain;
}

.lightbox-stage figcaption {
  min-height: 38px;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  text-align: center;
}

.lightbox-arrow {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: auto;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-size: 1.35rem;
  transition: color 180ms ease, background 180ms ease;
}

.lightbox-arrow:hover {
  color: var(--ink);
  background: var(--white);
}

@media (max-width: 1080px) {
  :root { --shell: min(100% - 44px, 1380px); }

  .main-nav { gap: 22px; }
  .main-nav a { font-size: 0.75rem; }

  .space-showcase {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .image-frame { min-height: 580px; }

  .location-layout,
  .contact-layout {
    gap: 60px;
  }

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

  .footer-inner > p:nth-child(2) { display: none; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 36px, 1380px); }

  .header-inner { min-height: 76px; }

  .menu-button { display: block; }

  .menu-button[aria-expanded="true"] .menu-line-one {
    top: 24px;
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-line-two {
    top: 24px;
    transform: rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 110px 36px 50px;
    visibility: hidden;
    background: var(--ink);
    opacity: 0;
    transform: translateY(-20px);
    transition: visibility 260ms, opacity 260ms ease, transform 260ms var(--ease);
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    font-size: 2.4rem;
    font-weight: 520;
    letter-spacing: -0.035em;
    text-transform: none;
  }

  .main-nav .nav-cta {
    min-height: 54px;
    margin-top: 14px;
    padding: 0 20px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero-content {
    padding-top: 72px;
    padding-bottom: 210px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 15vw, 6.4rem);
  }

  .hero-lead {
    max-width: 540px;
    margin-top: 26px;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .hero-fact {
    min-height: 94px;
    padding: 14px 18px;
  }

  .hero-fact:first-child {
    padding-left: 0;
  }

  .hero-fact:last-child {
    display: none;
  }

  .fact-value { font-size: 2.9rem; }
  .fact-copy { font-size: 0.86rem; }

  .video-toggle {
    right: 18px;
    bottom: 112px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 36px;
  }

  .space-showcase {
    grid-template-columns: 1fr;
  }

  .image-frame { min-height: min(78vw, 580px); }

  .space-card { min-height: 520px; }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:not(:first-child) {
    min-height: 0;
    padding: 28px 0 38px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature h3 { margin-top: 38px; }

  .film-section { min-height: 720px; }

  .gallery-grid {
    grid-auto-rows: 300px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-tall { grid-row: span 1; }

  .location-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .map-card,
  .map-card img {
    min-height: min(94vw, 680px);
  }

  .contact-card { max-width: 520px; }

  .lightbox-stage {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }

  html { scroll-padding-top: 76px; }

  .brand-name {
    font-size: 0.76rem;
    letter-spacing: 0.17em;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-mark::before { width: 38px; }
  .brand-mark::after { height: 38px; }

  .hero {
    min-height: 720px;
    max-height: none;
  }

  .hero-media video { object-position: 62% center; }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.24)),
      linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 52%),
      linear-gradient(180deg, rgba(2, 6, 23, 0.58), transparent 30%);
  }

  .hero-content {
    padding-top: 64px;
    padding-bottom: 198px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 17vw, 5.1rem);
    line-height: 0.94;
  }

  .hero h1 br { display: none; }

  .hero-lead {
    font-size: 0.97rem;
    line-height: 1.58;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .button {
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.72rem;
  }

  .hero-fact {
    min-height: 88px;
    padding-right: 10px;
    padding-left: 14px;
  }

  .hero-fact-size { gap: 8px; }
  .fact-value { font-size: 2.55rem; }
  .fact-unit { max-width: 46px; line-height: 1.3; }
  .fact-copy { font-size: 0.72rem; }
  .fact-label { font-size: 0.62rem; }

  .video-toggle {
    right: 14px;
    bottom: 99px;
  }

  .video-label { display: none; }

  .section { padding: 86px 0; }

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

  .split-heading { margin-bottom: 54px; }

  .space-card {
    min-height: 0;
    padding: 48px 28px;
  }

  .space-number { margin-bottom: 34px; }

  .feature-grid { margin-top: 48px; }

  .film-section { min-height: 620px; }

  .film-statement {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
  }

  .gallery-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 36px;
  }

  .gallery-heading > p:last-child { display: none; }

  .gallery-grid {
    grid-auto-rows: 255px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gallery-wide { grid-column: span 1; }

  .location-layout,
  .contact-layout { gap: 48px; }

  .location-list { margin-top: 38px; }

  .map-card,
  .map-card img {
    min-height: 520px;
  }

  .map-card img { object-position: center; }

  .contact-card { padding: 38px 26px; }
  .contact-phone { font-size: 1.7rem; }

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

  .footer-company { justify-self: auto; }

  .lightbox-toolbar { padding: 0 16px; }

  .lightbox-stage {
    position: relative;
    display: block;
  }

  .lightbox-stage figure {
    height: calc(100vh - 76px);
    padding: 18px 14px 82px;
  }

  .lightbox-stage img { max-height: calc(100vh - 180px); }

  .lightbox-arrow {
    position: absolute;
    z-index: 2;
    bottom: 22px;
  }

  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .hero h1 span { color: currentColor; -webkit-text-stroke: 0; }
  .brand-mark span { forced-color-adjust: none; }
}

/* Tilavalinta, mobiilikartta ja selkeä tietosisältö. */
.selector-layout,.faq-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(40px,7vw,110px); }
.selector-intro { max-width:510px; font-size:1.16rem; margin:32px 0 20px; }
.selector-note { max-width:510px; color:var(--muted); font-size:.94rem; }
.space-selector { background:#eaf0fa; }
.selector-card { padding:clamp(24px,3.8vw,58px); color:var(--white); background:var(--ink-soft); }
.size-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 20px; }
.size-heading label { font-size:.85rem; }
#size-output { color:var(--accent); font-size:clamp(2.7rem,4vw,4rem); letter-spacing:-.05em; line-height:1.2; font-variant-numeric:tabular-nums; }
#size-output span { font-size:1.4rem; }
#space-size { width:100%; min-height:48px; margin:22px 0 0; accent-color:var(--accent); cursor:pointer; }
.range-limits { display:flex; justify-content:space-between; color:#cbd5e1; font-size:.78rem; }
.size-presets { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:24px 0 12px; }
.size-presets button,.purpose-options span { min-height:46px; padding:10px 7px; border:1px solid #64748b; color:white; background:transparent; cursor:pointer; text-align:center; font-size:.86rem; }
.size-presets button[aria-pressed="true"],.purpose-options input:checked+span { color:var(--ink); background:var(--accent); border-color:var(--accent); }
.field-help { color:#cbd5e1; font-size:.8rem; margin:12px 0 0; }
.purpose-field { padding:0; margin:30px 0 0; border:0; }
.purpose-field legend { padding:0; margin-bottom:12px; font-size:.85rem; }
.purpose-options { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.purpose-options label { position:relative; }
.purpose-options input { position:absolute; inset:0; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.purpose-options span { display:grid; place-items:center; height:100%; }
.purpose-options input:focus-visible+span { outline:3px solid white; outline-offset:3px; }
.selection-summary { min-height:115px; margin:28px 0 18px; padding-top:24px; border-top:1px solid var(--line-light); }
.selection-summary strong { font-size:1.35rem; font-weight:550; }
.selection-summary p { color:#cbd5e1; font-size:.9rem; margin:8px 0 0; }
.inquiry-button { width:100%; color:var(--ink); background:var(--accent); text-align:center; }
.copy-inquiry { display:block; width:100%; min-height:44px; margin-top:10px; border:0; color:white; background:transparent; text-decoration:underline; text-underline-offset:4px; cursor:pointer; font-size:.86rem; }
.copy-status { color:var(--accent); font-size:.86rem; margin:8px 0 0; }
.map-panel { min-width:0; }
.map-card { width:100%; min-height:0; aspect-ratio:1400/933; overflow:hidden; }
.map-card img { width:100%; height:auto; min-height:0; object-fit:contain; }
.map-card:hover img,.map-card:focus-visible img { transform:none; }
.map-zoom { right:12px; bottom:12px; min-height:44px; }
.map-places { display:flex; flex-wrap:wrap; gap:12px 26px; margin-top:22px; color:#cbd5e1; }
.map-places strong { color:var(--accent); }
.map-note { color:#cbd5e1; font-size:.8rem; margin:16px 0 8px; }
.map-route { display:inline-flex; align-items:center; min-height:44px; color:white; text-underline-offset:5px; }
.map-dialog { width:min(1200px,100% - 24px); max-width:none; max-height:calc(100dvh - 24px); padding:0; border:1px solid #64748b; color:white; background:var(--ink); }
.map-dialog::backdrop { background:rgb(2 6 23 / .88); }
.map-dialog[open] { display:flex; flex-direction:column; }
.map-dialog-header { display:flex; gap:16px; align-items:flex-start; justify-content:space-between; padding:20px 24px 12px; }
.map-dialog-header h2 { margin:0; font-size:1.2rem; font-weight:550; }
.map-dialog-header p { color:#cbd5e1; font-size:.8rem; margin:6px 0 0; }
.map-dialog button { min-width:44px; min-height:44px; border:1px solid #64748b; color:white; background:var(--ink-soft); cursor:pointer; padding:8px 14px; }
.map-dialog button:disabled { opacity:.4; cursor:default; }
#close-map { flex-shrink:0; }
.map-tools { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:0 24px 16px; }
#map-scale { width:60px; text-align:center; font-size:.85rem; }
#map-reset { margin-left:8px; font-size:.8rem; }
.map-viewport { min-height:0; overflow:auto; overscroll-behavior:contain; background:#dbeafe; touch-action:pan-x pan-y pinch-zoom; }
.map-zoom-image { height:auto; max-width:none; display:block; }
.map-zoom-image.zoom-1 { width:100%; }
.map-zoom-image.zoom-2 { width:150%; }
.map-zoom-image.zoom-3 { width:200%; }
.map-zoom-image.zoom-4 { width:300%; }
.map-dialog-footer { padding:12px 24px; margin:0; font-size:.8rem; color:#cbd5e1; }
.map-dialog-footer a { display:inline-flex; align-items:center; min-height:44px; margin-left:6px; color:white; }
.faq { background:white; }
.faq details { border-top:1px solid var(--line); }
.faq details:last-child { border-bottom:1px solid var(--line); }
.faq summary { padding:22px 30px 22px 0; cursor:pointer; font-weight:600; line-height:1.5; }
.faq details p { color:var(--muted); margin:0 0 26px; }
.site-footer a { text-underline-offset:4px; }
.site-footer p a { display:inline-flex; min-height:44px; align-items:center; }
@media(min-width:821px) and (max-width:1100px) { .location-layout,.contact-layout { grid-template-columns:1fr; } .contact-card { max-width:600px; } }
@media(max-width:820px) {
  .selector-layout,.faq-layout { grid-template-columns:1fr; gap:36px; }
  .main-nav a { font-size:1.9rem; }
  .hero h1 { overflow-wrap:normal; }
  .hero { height:auto; min-height:100svh; max-height:none; padding-top:76px; }
  .hero-content { padding-top:55px; padding-bottom:190px; }
  .hero-facts { width:var(--shell); }
  .map-card,.map-card img { min-height:0; }
}
@media(max-width:560px) {
  .hero h1 { font-size:clamp(2.8rem,13vw,4.4rem); line-height:1; }
  .hero h1 span { display:block; }
  .hero-content { padding-top:52px; padding-bottom:178px; }
  .hero-actions { flex-direction:column; align-items:flex-start; }
  .hero-facts { grid-template-columns:.8fr 1.2fr; }
  .hero-fact { padding:14px 8px; }
  .fact-copy { font-size:.78rem; }
  .fact-value { font-size:2.5rem; }
  .hero-fact-size { gap:8px; }
  .section { padding:76px 0; }
  .section-heading h2,.location h2 { font-size:clamp(2.8rem,11vw,4rem); }
  .contact h2 { font-size:clamp(2.7rem,11vw,4rem); }
  .space-card { min-height:0; padding:40px 28px; }
  .space-number { margin-bottom:30px; }
  .split-heading { margin-bottom:42px; }
  .feature-grid { margin-top:44px; }
  .film-section { min-height:440px; }
  .film-statement { font-size:2.7rem; }
  .size-presets { grid-template-columns:repeat(2,1fr); }
  .purpose-options { grid-template-columns:1fr; }
  .purpose-options span { min-height:46px; }
  .map-zoom { position:static; justify-content:space-between; display:flex; width:100%; font-size:.7rem; padding:0 12px; }
  .map-card { aspect-ratio:auto; }
  .map-dialog { width:calc(100% - 12px); max-height:calc(100dvh - 12px); }
  .map-dialog-header { padding:14px 12px 12px; }
  .map-dialog-header h2 { font-size:1rem; }
  .map-tools { padding:0 12px 12px; }
  #map-reset { margin-left:0; padding-inline:8px; }
  .map-dialog-footer { padding:8px 12px; }
  .contact-card { padding:28px 22px; }
  .contact-layout { gap:32px; }
  .lightbox { height:100dvh; }
  .lightbox-stage figure { height:calc(100dvh - 76px); }
}
@media(prefers-reduced-motion:reduce) { .hero-media video { visibility:hidden; } .hero-media { background:url('/assets/maailmannapa-toimitilat-kehatien-varrella.webp') center/cover; } }
.hero-media { background:url('/assets/maailmannapa-toimitilat-kehatien-varrella.webp') center/cover no-repeat; }
.hero-media video:not(.is-playing) { visibility:hidden; }
@media(max-width:560px) { .hero-media { background-position:62% center; } .hero h1 span { color:#e2e8f0; -webkit-text-stroke:0; } }
.inquiry-text { width:100%; margin-top:14px; padding:14px; border:1px solid #64748b; border-radius:0; font:inherit; font-size:.9rem; color:var(--ink); background:var(--paper); resize:vertical; }
[hidden] { display:none !important; }
@media(max-width:820px) and (max-height:600px) {
  .main-nav { justify-content:flex-start; overflow-y:auto; padding:88px 28px 24px; gap:10px; }
  .main-nav a { font-size:1.4rem; min-height:44px; display:flex; align-items:center; }
  .main-nav .nav-cta { margin-top:0; }
}
/* Selkeä sijaintikaavio ja pelkkä puhelinyhteystieto. */
.map-card { aspect-ratio:720/660; background:#f4f7fc; padding-bottom:58px; }
.map-card img { background:#f4f7fc; }
.map-zoom { right:0; bottom:0; width:100%; padding:0 22px; min-height:58px; justify-content:space-between; background:#fff; }
.map-viewport { background:#f4f7fc; }
.contact-card .contact-label { margin-bottom:20px; }
.contact-card .contact-phone { font-size:clamp(1.8rem,3vw,2.5rem); min-height:48px; }
@media(max-width:560px) { .map-card { aspect-ratio:auto; padding-bottom:0; } .map-zoom { min-height:50px; padding:0 16px; } }
.map-card { aspect-ratio:auto; padding:0; }
.map-card .map-zoom { position:static; display:flex; }
/* Alkuperäinen laivastonsininen–sininen–syaani-paletti ja Manrope. */
:root { --blue:#2563eb; --cyan:#22d3ee; --slate:#94a3b8; }
.hero h1 { max-width:1100px; font-size:clamp(3.2rem,6vw,6.3rem); font-weight:600; line-height:1.07; letter-spacing:-.055em; }
.hero h1 span { color:#a5eaf6; -webkit-text-stroke:0; }
.section-heading h2,.location h2 { font-size:clamp(2.8rem,4.5vw,4.9rem); font-weight:600; line-height:1.12; letter-spacing:-.05em; }
.contact h2 { font-size:clamp(2.7rem,4.8vw,5.3rem); font-weight:600; line-height:1.12; }
.hero-shade { background:linear-gradient(90deg,rgba(2,6,23,.92),rgba(2,6,23,.53) 55%,rgba(2,6,23,.18)),linear-gradient(0deg,rgba(2,6,23,.92),transparent 50%); }
.space-card { background:linear-gradient(145deg,#0f172a,#122d59); }
.contact { background:linear-gradient(130deg,#0f172a,#163b76); }
.button-primary,.button-light { color:#fff; background:var(--blue); }
.button-primary:hover,.button-light:hover { color:#020617; background:var(--cyan); }
.space-number { font-weight:600; }
.film-statement { font-size:clamp(2.7rem,4.8vw,5.2rem); font-weight:600; line-height:1.15; }
.google-map-panel { overflow:hidden; background:#fff; color:var(--ink); border:1px solid #cbd5e1; }
.map-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px; }
.map-heading h3 { margin:6px 0 0; font-size:1.15rem; line-height:1.4; }
.map-kicker { font-size:.72rem; font-weight:700; letter-spacing:.1em; color:#475569; text-transform:uppercase; }
.map-heading button { flex-shrink:0; min-height:44px; padding:8px 14px; border:1px solid #cbd5e1; background:#fff; color:#1d4ed8; font-size:.8rem; font-weight:700; cursor:pointer; }
.map-view-tabs { display:flex; gap:8px; padding:0 24px 18px; }
.map-view-tabs button { min-height:44px; flex:1; padding:10px; border:1px solid #cbd5e1; border-radius:0; color:#334155; background:#f8fafc; font-size:.8rem; font-weight:600; cursor:pointer; }
.map-view-tabs button[aria-pressed="true"] { border-color:var(--blue); background:var(--blue); color:#fff; }
.google-map-frame { display:block; width:100%; height:500px; border:0; background:#e2e8f0; }
.map-address-row { display:flex; flex-direction:column; gap:5px; padding:24px 24px 10px; font-size:.85rem; line-height:1.6; }
.map-address-row strong { color:#0f172a; font-size:1rem; }
.map-address-row span { color:#475569; }
.google-map-panel .map-route { margin:0 24px 18px; color:#1d4ed8; font-weight:700; font-size:.85rem; }
.map-dialog { width:min(1200px,100% - 24px); height:min(860px,100dvh - 24px); }
.map-dialog[open] { display:flex; }
.google-map-large { min-height:0; height:100%; flex:1; }
.map-dialog-header,.map-dialog-footer { flex-shrink:0; }
@media(max-width:820px) { .hero h1 { font-size:clamp(2.8rem,8vw,4.8rem); } .map-heading { padding:20px; } .map-view-tabs { padding:0 20px 16px; } }
@media(max-width:560px) {
 .hero h1 { font-size:clamp(2.45rem,10.8vw,3.6rem); line-height:1.12; }
 .hero h1 span { color:#a5eaf6; }
 .hero-content { padding-top:42px; padding-bottom:180px; }
 .hero-lead { font-size:.94rem; }
 .section-heading h2,.location h2 { font-size:clamp(2.35rem,9vw,3.2rem); }
 .contact h2 { font-size:clamp(2.3rem,8.8vw,3.2rem); }
 .film-statement { font-size:2.25rem; }
 .map-heading { align-items:flex-start; gap:8px; padding:18px 14px; }
 .map-heading h3 { font-size:1rem; }
 .map-heading button { padding:8px; font-size:.72rem; }
 .map-view-tabs { padding:0 14px 14px; gap:6px; }
 .map-view-tabs button { font-size:.73rem; padding:8px 4px; }
 .google-map-frame { height:460px; }
 .google-map-large { height:100%; }
 .map-address-row { padding:20px 14px 8px; }
 .google-map-panel .map-route { margin:0 14px 14px; }
 .map-dialog { width:calc(100% - 12px); height:calc(100dvh - 12px); }
}
.contact-card .contact-phone { font-size:clamp(1.5rem,2.1vw,2rem); white-space:nowrap; }
.contact-email { display:flex; align-items:center; min-height:44px; }
.size-presets .size-more { grid-column:1 / -1; min-height:50px; padding:12px; border-color:var(--accent); color:var(--accent); font-weight:600; }
.size-presets .size-more[aria-pressed="true"] { color:var(--ink); }
.selector-contacts { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:0 24px; margin-top:12px; }
.selector-contacts a { display:flex; min-height:44px; align-items:center; color:#e2e8f0; font-size:.9rem; text-decoration-thickness:1px; text-underline-offset:5px; overflow-wrap:anywhere; }
.selector-contacts a:hover { color:var(--accent); }

/* Puhelimet: luettavuus, iPhonen turva-alueet ja nopea yhteydenotto. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.mobile-contact { display:none; }
.site-header.is-scrolled { -webkit-backdrop-filter:blur(14px); }
@media (max-width:820px), (max-width:1024px) and (max-height:500px) {
  :root { --shell:calc(100% - 40px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)); }
  html { scroll-padding-top:calc(88px + env(safe-area-inset-top,0px)); scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px)); }
  body { padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
  .site-header { padding-top:env(safe-area-inset-top,0px); background:rgba(2,6,23,.94); }
  .header-inner { min-height:72px; gap:16px; }
  .menu-button { display:block; flex-shrink:0; }
  .menu-button[aria-expanded="true"] .menu-line-one { top:24px; transform:rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-line-two { top:24px; transform:rotate(-45deg); }
  .main-nav { position:fixed; inset:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:14px; height:100vh; height:100dvh; overflow-y:auto; padding:calc(96px + env(safe-area-inset-top,0px)) calc(24px + env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) calc(24px + env(safe-area-inset-left,0px)); background:var(--ink); visibility:hidden; opacity:0; transform:translateY(-20px); }
  .main-nav.is-open { visibility:visible; opacity:1; transform:translateY(0); }
  .main-nav a { display:flex; align-items:center; min-height:48px; font-size:1.65rem; text-transform:none; }
  .main-nav .nav-cta { margin-top:8px; font-size:.875rem; }
  .mobile-contact { position:fixed; z-index:90; right:0; bottom:0; left:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:10px calc(16px + env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px)); border-top:1px solid #475569; color:white; background:#020617; }
  .mobile-contact a { display:flex; align-items:center; justify-content:center; min-height:48px; padding:10px; border:1px solid #94a3b8; font-size:1rem; font-weight:700; text-decoration:none; }
  .mobile-contact .mobile-call { color:#020617; background:var(--accent); border-color:var(--accent); }
  body.menu-open .mobile-contact,body.lightbox-open .mobile-contact { display:none; }
  .selector-note { color:#475569; font-size:1rem; }
  .selector-card { min-width:0; }
  .size-heading label,.purpose-field legend { font-size:1rem; }
  .size-presets button,.purpose-options span { min-height:50px; font-size:.95rem; }
  .field-help { font-size:.9rem; }
  .range-limits { font-size:.875rem; }
  .selection-summary p { font-size:1rem; }
  .selector-contacts { gap:0 20px; }
  .selector-contacts a { min-height:48px; font-size:1rem; }
  .contact-card .contact-email { max-width:100%; font-size:1rem; color:#f1f5f9; }
  .map-heading button,.map-view-tabs button { min-height:48px; font-size:.875rem; }
  .map-heading { flex-wrap:wrap; }
  .google-map-frame { height:380px; height:clamp(300px,55svh,420px); }
  .map-address-row,.google-map-panel .map-route { font-size:1rem; }
  .map-route { min-height:48px; }
  .map-dialog { width:calc(100% - 16px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)); height:calc(100vh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); max-height:none; }
  .google-map-large { height:100%; }
  .map-dialog-header { padding:16px; }
  .map-dialog-header h2 { font-size:1rem; }
  .map-dialog-footer { padding:8px 16px; font-size:.875rem; }
  .map-dialog-footer a { margin-left:0; min-height:48px; }
  .lightbox-toolbar { padding-top:env(safe-area-inset-top,0px); padding-inline:calc(16px + env(safe-area-inset-left,0px)) calc(16px + env(safe-area-inset-right,0px)); }
  .lightbox-stage figure { height:calc(100dvh - 76px - env(safe-area-inset-top,0px)); padding-bottom:calc(82px + env(safe-area-inset-bottom,0px)); }
  .lightbox-stage img { max-height:calc(100dvh - 180px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); }
  .lightbox-arrow { bottom:calc(22px + env(safe-area-inset-bottom,0px)); }
}
@media (max-width:560px) {
  .hero { display:block; min-height:0; height:auto; padding-top:calc(72px + env(safe-area-inset-top,0px)); }
  .hero-content { padding-top:30px; padding-bottom:28px; }
  .hero-content .eyebrow { min-height:44px; padding-right:48px; margin-bottom:14px; font-size:.7rem; letter-spacing:.1em; gap:8px; }
  .hero-content .eyebrow::before { width:20px; flex-shrink:0; }
  .hero h1 { font-size:clamp(2.2rem,10vw,3rem); line-height:1.12; }
  .hero-lead { margin-top:22px; font-size:1rem; line-height:1.65; color:#f1f5f9; }
  .hero-shade { background:linear-gradient(90deg,rgba(2,6,23,.91),rgba(2,6,23,.62)),linear-gradient(0deg,rgba(2,6,23,.88),transparent 70%); }
  .hero-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:24px; }
  .hero-actions .button { width:100%; min-height:52px; padding:12px 8px; font-size:.74rem; letter-spacing:.04em; }
  .hero-facts { position:relative; min-height:90px; }
  .hero-fact { min-height:90px; }
  .fact-copy { font-size:.875rem; }
  .video-toggle { top:calc(102px + env(safe-area-inset-top,0px)); right:calc(20px + env(safe-area-inset-right,0px)); bottom:auto; width:44px; height:44px; }
  .selector-card { padding:24px 20px; }
  #size-output { font-size:clamp(2rem,9vw,2.7rem); }
  .purpose-options { grid-template-columns:1fr; }
  .contact-card { padding:28px 20px; }
  .contact-card .contact-phone { font-size:clamp(1.4rem,6.3vw,1.8rem); max-width:100%; }
}
@media (max-width:1024px) and (max-height:500px) {
  .main-nav { padding-top:calc(78px + env(safe-area-inset-top,0px)); gap:8px; }
  .main-nav a { min-height:44px; font-size:1.25rem; }
}
