/* POWER website v2 — components */

/* ---------- Floating pill header ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.header-bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1180px; margin-inline: auto; padding: .45rem .5rem .45rem 1rem;
  background: rgba(8, 14, 25, .55); border: 1px solid var(--glass-line); border-radius: var(--pill);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled .header-bar { background: rgba(6, 11, 20, .82); box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.site-header.on-light .header-bar { background: rgba(255, 255, 255, .78); border-color: var(--line); }
/* Logo: approved artwork only, never recoloured. It always sits on a light surface
   (the light header bar, or a white badge on dark areas) so its navy stays legible. */
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { display: block; height: 52px; width: auto; }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; padding: .55rem .7rem; background: #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.site-footer .brand img { height: 84px; }
.tile-badge { align-self: flex-start; flex: none; margin-bottom: .35rem; }
.tile-badge img { display: block; height: 56px; width: auto; }
.site-header.on-light .header-bar { background: rgba(255, 255, 255, .92); box-shadow: 0 10px 34px rgba(4, 7, 13, .16); }
@media (max-width: 1000px) {
  .brand img { height: 46px; }
  .site-header.on-light .nav-toggle { border: 1px solid var(--line); }
}
.tile-logo { display: block; align-self: flex-start; flex: none; height: 52px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: .35rem; }
.group-lockup { display: block; height: clamp(56px, 8vw, 84px); width: auto; margin: 0 auto 1.75rem; }
.site-nav { display: flex; align-items: center; gap: .5rem; }
.site-nav ul { display: flex; gap: .15rem; margin: 0; padding: .25rem; list-style: none; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--pill); }
.site-nav ul a { display: block; padding: .45rem .95rem; font-size: .92rem; font-weight: 500; color: var(--on-night); text-decoration: none; border-radius: var(--pill); transition: background-color .2s, color .2s; }
.site-nav ul a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.site-nav ul a[aria-current="page"] { color: var(--ink); background: var(--white); }
.site-header.on-light .site-nav ul { background: var(--card); border-color: var(--line); }
.site-header.on-light .site-nav ul a { color: var(--text); }
.site-header.on-light .site-nav ul a[aria-current="page"] { color: var(--white); background: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .site-header { top: 10px; padding-inline: 10px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    background: var(--white); border: 0; border-radius: 50%; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 76px 10px auto 10px; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem;
    background: rgba(6, 11, 20, .96); border: 1px solid var(--glass-line); border-radius: var(--radius-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top center;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul, .site-header.on-light .site-nav ul { flex-direction: column; padding: 0; background: none; border: 0; border-radius: 0; }
  .site-nav ul a, .site-header.on-light .site-nav ul a { padding: .9rem 1rem; font-size: 1.1rem; color: var(--on-night); }
  .site-header.on-light .site-nav ul a[aria-current="page"], .site-nav ul a[aria-current="page"] { color: var(--ink); background: var(--white); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 52px; }
}

/* ---------- Framed dark hero ---------- */
.hero-frame { padding: 10px; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(920px, 100svh); display: grid; align-items: center;
  padding-block: 130px 3rem; border-radius: var(--radius-lg);
  color: var(--on-night); background: var(--night);
}
.hero::before { /* spectral glow */
  content: ""; position: absolute; inset: -20% -10% auto; height: 90%; z-index: -2;
  background: radial-gradient(40% 50% at 50% 40%, rgba(29, 91, 216, .45), transparent 70%),
              radial-gradient(28% 36% at 68% 30%, rgba(82, 214, 255, .22), transparent 70%),
              radial-gradient(22% 30% at 34% 52%, rgba(255, 138, 61, .14), transparent 70%);
  filter: blur(10px);
}
.hero::after { /* fine grid, fading out */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
}
.hero h1 { color: var(--white); }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.7); }
.hero .lead { color: #d6e0ec; }
.hero-media video { opacity: 0; filter: none; transition: opacity .6s ease; }
.now-playing {
  position: absolute; top: 96px; right: clamp(16px, 3vw, 32px); z-index: 2; margin: 0;
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .8rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--white);
  background: rgba(4, 7, 13, .5); border: 1px solid var(--glass-line); border-radius: var(--pill);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.now-playing .dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: orb-breathe 1.6s ease-in-out infinite; }
.now-playing .bar { position: relative; width: 44px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.now-playing .bar i { position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
@media (max-width: 700px) { .now-playing { display: none !important; } }
.hero-media video.is-playing { opacity: 1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(4, 7, 13, .45), rgba(4, 7, 13, .15) 70%),
    linear-gradient(180deg, rgba(4, 7, 13, .55) 0%, rgba(4, 7, 13, .1) 30%, rgba(4, 7, 13, .35) 70%, var(--night) 100%);
}
/* Home hero: video is the star, so tone down the decorative glow and grid over it. */
.hero.has-video::before { opacity: .35; }
.hero.has-video::after { opacity: .4; }
.hero.has-video h1, .hero.has-video .lead { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero-center { text-align: center; }
.hero-center .lead { max-width: 42rem; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2.2rem; }
.hero-left .hero-actions { justify-content: flex-start; }
.wordmark { /* giant faded brand word behind content */
  position: absolute; left: 50%; bottom: -.18em; z-index: -1; transform: translateX(-50%);
  font-size: clamp(7rem, 24vw, 22rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; white-space: nowrap; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 75%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 700px) { .hero { padding-block: 110px 2.5rem; border-radius: 22px; } .hero-actions .btn { flex: 1 1 100%; } }

/* ---------- Energy orb ---------- */
.orb { position: relative; width: clamp(180px, 26vw, 320px); aspect-ratio: 1; margin: 0 auto 2rem; }
.orb canvas { position: absolute; inset: -30%; width: 160%; height: 160%; }
.orb-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95) 0 6%, rgba(160, 225, 255, .75) 16%, transparent 42%),
              conic-gradient(from var(--orb-angle, 0deg), #1d5bd8, #52d6ff, #ffffff, #ff8a3d, #1d5bd8 60%, #0a1c4a, #1d5bd8);
  filter: blur(2px) saturate(1.2);
  box-shadow: 0 0 80px rgba(82, 214, 255, .35), 0 0 160px rgba(29, 91, 216, .35), inset 0 0 40px rgba(0, 0, 0, .55);
  animation: orb-spin 14s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 58%, rgba(0, 0, 0, .6) 68%, transparent 71%); mask-image: radial-gradient(circle, #000 58%, rgba(0, 0, 0, .6) 68%, transparent 71%);
}
.orb-core::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 60% 65%, rgba(4, 7, 13, .0), rgba(4, 7, 13, .55) 70%); mix-blend-mode: multiply; }
.orb-ring { position: absolute; inset: -9%; border-radius: 50%; border: 1px solid rgba(82, 214, 255, .22); animation: orb-breathe 5s ease-in-out infinite; }
.orb-ring.two { inset: -20%; border-color: rgba(255, 255, 255, .08); animation-delay: -2.5s; }
@property --orb-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orb-spin { to { --orb-angle: 360deg; } }
@keyframes orb-breathe { 0%, 100% { transform: scale(.97); opacity: .6; } 50% { transform: scale(1.03); opacity: 1; } }

/* ---------- Stats row (glass) ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 0; list-style: none; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.stat-row li { padding: 1.4rem 1.5rem; text-align: left; }
.stat-row li + li { border-left: 1px solid var(--glass-line); }
.stat-row strong { display: block; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-row span { display: block; margin-top: .45rem; font-size: .88rem; color: var(--on-night-muted); }
@media (max-width: 760px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row li + li { border-left: 0; }
  .stat-row li:nth-child(even) { border-left: 1px solid var(--glass-line); }
  .stat-row li:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
}
.stat-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .stat-row-3 { grid-template-columns: 1fr 1fr; }
  .stat-row-3 li:nth-child(3) { border-left: 0; }
}

/* ---------- Page hero (inner pages): compact framed dark ---------- */
.page-hero { min-height: 0; padding-block: 150px clamp(3.5rem, 8vw, 6rem); align-items: end; }
.page-hero .hero-media img { opacity: .38; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { max-width: 44rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { color: var(--on-night) !important; text-decoration: none; }

/* ---------- Spotlight cards (cursor-following glow) ---------- */
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(25, 163, 224, .16), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.dark .spot::before, .spot.on-dark::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(82, 214, 255, .16), transparent 45%); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bento > * { grid-column: span 2; }
.bento .w3 { grid-column: span 3; }
.bento .w4 { grid-column: span 4; }
.bento .w6 { grid-column: span 6; }
.bento .tall { grid-row: span 2; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento > *, .bento .w3, .bento .w4 { grid-column: span 1; } .bento .w6, .bento .wide-m { grid-column: span 2; } .bento .tall { grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento .w6, .bento .wide-m { grid-column: auto; } }

.tile {
  display: flex; flex-direction: column; gap: .7rem; min-height: 100%;
  padding: clamp(1.4rem, 2.6vw, 2rem); background: var(--card); border: 1px solid transparent; border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, border-color .3s;
}
a.tile:hover, .tile.lift:hover { transform: translateY(-4px); background: var(--white); border-color: var(--line); box-shadow: 0 24px 60px rgba(9, 17, 30, .08); color: var(--text); }
.tile h3 { margin: 0; }
.tile > .tag { align-self: flex-start; }
.tile p { margin: 0; color: var(--muted); font-size: .98rem; }
.tile .kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile .icon { width: 44px; height: 44px; padding: 10px; color: var(--blue-ink); background: var(--white); border-radius: 12px; box-shadow: 0 1px 0 var(--line); }
.tile .more { margin-top: auto; padding-top: .6rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.tile .more::after { content: " →"; }
.tile-media { position: relative; overflow: hidden; margin: .4rem -.2rem -.2rem; border-radius: calc(var(--radius) - 6px); }
.tile-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile.dark-tile { background: var(--night-2); color: var(--on-night); }
.tile.dark-tile h3 { color: var(--white); }
.tile.dark-tile p { color: var(--on-night-muted); }
.dark .tile { background: var(--night-2); border-color: var(--glass-line); color: var(--on-night); }
.dark .tile p { color: var(--on-night-muted); }
.dark .tile .icon { color: var(--cyan); background: var(--glass); box-shadow: none; }
.dark a.tile:hover, .dark .tile.lift:hover { background: var(--night-3); border-color: rgba(82, 214, 255, .3); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 0; padding: 0; list-style: none; }
.chips li { padding: .3rem .7rem; font-size: .8rem; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--pill); }
.dark .chips li { color: var(--on-night); background: var(--glass); border-color: var(--glass-line); }

/* Photo tile with overlaid caption */
.photo-tile { position: relative; display: block; min-height: 320px; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; background: var(--night); }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 7, 13, 0) 35%, rgba(4, 7, 13, .88)); }
.photo-tile:hover img { transform: scale(1.06); }
.photo-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4rem 1.5rem; }
.photo-tile .cap h3 { margin: .35rem 0 0; color: var(--white); font-size: 1.2rem; }
.photo-tile .cap .kicker { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.photo-tile:hover { color: var(--white); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 2.75rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee-item { display: inline-flex; align-items: center; gap: .7rem; flex: none; font-size: 1rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.marquee-item img { height: 38px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee-item:hover img { filter: none; opacity: 1; }
.marquee-item::before { content: "✦"; font-size: .7rem; color: var(--blue); }
.marquee-item.logo::before { content: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Photo frame ---------- */
.frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--card); }
.frame img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.float-card {
  position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .9rem; padding: .8rem 1.1rem .8rem .8rem;
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(9, 17, 30, .18);
}
.float-card .badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 600; font-size: .9rem; }
.float-card strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.2; }
.float-card span { font-size: .82rem; color: var(--muted); }
.float-card.top { top: 1rem; right: 1rem; left: auto; bottom: auto; }

/* ---------- Check list ---------- */
.checks { display: grid; gap: .7rem; margin: 1.4rem 0 2rem; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.2 3 3 6-6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.dark .checks li { color: var(--on-night); }
.dark .checks li::before { background-color: var(--blue); }

/* ---------- CTA panel ---------- */
.cta-panel { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; border-radius: var(--radius-lg); background: var(--night); color: var(--on-night); }
.cta-panel::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(29, 91, 216, .55), rgba(82, 214, 255, .15) 45%, transparent 70%); }
.cta-panel h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.cta-panel .lead { max-width: 36rem; margin-inline: auto; color: #d6e0ec; }
.cta-panel .tag { color: var(--on-night); background: var(--glass); border-color: var(--glass-line); }
.cta-panel .hero-actions { margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { margin: 10px; padding-top: clamp(3.5rem, 7vw, 5rem); border-radius: var(--radius-lg); background: var(--night); color: var(--on-night-muted); font-size: .95rem; overflow: hidden; position: relative; isolation: isolate; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { margin-bottom: 1.1rem; }
.site-footer p { max-width: 24rem; }
.site-footer h2 { margin-bottom: 1rem; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night); }
.site-footer ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer address { margin-bottom: 1rem; line-height: 1.6; }
.footer-certs { display: flex; flex-wrap: wrap; gap: .4rem; }
.footer-certs span { padding: .25rem .6rem; font-family: var(--mono); font-size: .7rem; color: var(--on-night); border: 1px solid var(--glass-line); border-radius: var(--pill); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3.5rem; padding-block: 1.4rem; border-top: 1px solid var(--glass-line); font-size: .86rem; }
.footer-base p { margin: 0; max-width: none; }
.footer-word { display: block; margin: 1rem 0 -.22em; text-align: center; font-size: clamp(5rem, 22vw, 19rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- Project lightbox ---------- */
.is-zoomable { position: relative; cursor: zoom-in; }
.is-zoomable:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.is-zoomable.has-more::after { content: "⤢"; position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 2rem; height: 2rem; font-size: 1rem; color: var(--white); background: rgba(4, 7, 13, .62); border-radius: 50%; opacity: 0; transition: opacity .25s var(--ease); }
.is-zoomable:hover.has-more::after, .is-zoomable:focus-visible.has-more::after { opacity: 1; }
html.lb-open { overflow: hidden; }
/* The stage is centred on its own, so hiding the arrows on a single-photo
   project never shifts the image off centre. */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(.75rem, 3vw, 2rem); background: rgba(4, 7, 13, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox[hidden] { display: none; }
.lb-stage { display: grid; gap: .8rem; margin: 0; justify-items: center; max-width: min(100%, 1400px); }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; border-radius: var(--radius); }
.lb-stage video { background: #000; }
.lb-stage [hidden] { display: none; }
.lb-stage figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .25rem 1rem; color: var(--on-night); font-size: .9rem; text-align: center; }
.lb-count { font-family: var(--mono); font-size: .78rem; color: var(--on-night-muted); }
.lb-nav, .lb-close { display: grid; place-items: center; color: var(--white); background: rgba(255, 255, 255, .1); border: 1px solid var(--glass-line); border-radius: 50%; cursor: pointer; transition: background-color .25s var(--ease); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: clamp(2.6rem, 6vw, 3.4rem); height: clamp(2.6rem, 6vw, 3.4rem); font-size: 1.9rem; line-height: 1; padding-bottom: .2rem; }
.lb-prev { left: clamp(.75rem, 3vw, 2rem); }
.lb-next { right: clamp(.75rem, 3vw, 2rem); }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .22); }
.lb-close { position: absolute; top: clamp(.75rem, 3vw, 1.5rem); right: clamp(.75rem, 3vw, 1.5rem); width: 2.6rem; height: 2.6rem; font-size: 1.5rem; line-height: 1; padding-bottom: .15rem; }
@media (max-width: 700px) {
  .lb-stage img { max-height: calc(100vh - 12rem); }
  .lb-nav { top: auto; bottom: clamp(.75rem, 3vw, 1.5rem); transform: none; }
}


/* ---------- Content protection ----------
   Text and images are not selectable or draggable. Contact details, form fields
   and anything marked .allow-select stay normal, because clients copy those. */
body { -webkit-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable], .allow-select, address,
a[href^="tel:"], a[href^="mailto:"] { -webkit-user-select: text; -ms-user-select: text; user-select: text; -webkit-touch-callout: default; }
img, video { -webkit-user-drag: none; user-select: none; }
