:root {
  --navy: #0a1f52;
  --navy-d: #071640;
  --navy-l: #14306f;
  --blue: #1b4fa8;
  --gold: #f5b301;
  --gold-h: #ffc62e;
  --text: #0b1530;
  --muted: #4e5b78;
  --line: #dde4f0;
  --paper: #eef3fa;
  --on-dark: #c7d4ee;
  --r: 22px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.55 var(--font); color: var(--text); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); margin: 0; }
h1, h2 { font-stretch: 125%; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.03; max-width: 17em; }
h2.small { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 64px); }
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sub { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); margin-top: 18px; max-width: 34em; }
.ico { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; color: var(--text); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 0 34px; border: 0; border-radius: 999px; font: 600 18px var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.btn .ico:last-child { transition: transform .2s; }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--navy-d); }
.btn-gold:hover { background: var(--gold-h); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-l); }
.btn-ghost { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { background: rgba(10, 31, 82, .08); }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-sm { min-height: 48px; padding: 0 24px; font-size: 16px; }
.btn-full { width: 100%; }

.draft { background: var(--gold); color: var(--navy-d); font-size: 13.5px; line-height: 1.35; text-align: center; padding: 7px 16px; }

.site { --head: 80px; position: sticky; top: 0; z-index: 50; margin-bottom: calc(-1 * var(--head)); transition: background-color .25s, box-shadow .25s; }
.site.solid { background: var(--navy-d); box-shadow: 0 10px 30px -18px rgba(5, 15, 40, .9); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.brand { flex: none; }
.brand img { width: 222px; height: auto; }
.links { display: flex; gap: 30px; }
.links a { color: #e6edfa; font-weight: 500; font-size: 16px; text-decoration: none; transition: color .2s; }
.links a:hover { color: var(--gold); }
.head-cta { display: flex; align-items: center; gap: 18px; }
.head-tel { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.head-tel .ico { color: var(--gold); width: 18px; height: 18px; }
.round { display: none; place-items: center; position: relative; width: 48px; height: 48px; padding: 0; color: #fff; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 50%; cursor: pointer; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .25s, opacity .2s, top .25s; }
.burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 22px; } .burger i:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-d); padding: 4px 32px 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.menu[hidden] { display: none; }
.menu a { display: block; padding: 14px 0; color: #fff; font-stretch: 125%; font-weight: 700; font-size: 22px; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu a:last-child { border-bottom: 0; }

.hero { position: relative; display: flex; flex-direction: column; min-height: min(100svh, 980px); color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-film { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease, transform 0s linear 1.4s; }
.slide.on { opacity: 1; transform: scale(1.07); transition: opacity 1.4s ease, transform 7s linear; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 22, 64, .62) 0%, rgba(7, 22, 64, .16) 22%, rgba(7, 22, 64, .2) 62%, rgba(7, 22, 64, .94) 100%), linear-gradient(90deg, rgba(7, 22, 64, .88) 0%, rgba(7, 22, 64, .66) 42%, rgba(7, 22, 64, 0) 74%); }
.anim .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); pointer-events: none; animation: wash 1.8s ease .1s both; }
@keyframes wash { from { opacity: 1; } to { opacity: 0; } }
.hero-in { margin-block: auto; padding: calc(var(--head, 80px) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 5vw, 64px); }
@media (max-width: 900px) {
  .hero::after { background: linear-gradient(180deg, rgba(7, 22, 64, .5) 0%, rgba(7, 22, 64, .74) 34%, rgba(7, 22, 64, .8) 70%, rgba(7, 22, 64, .96) 100%); }
}
h1 { font-size: clamp(50px, 7.6vw, 104px); line-height: .98; letter-spacing: -.035em; max-width: 9.4em; }
.ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.ln > span { display: inline-block; }
.ul { position: relative; white-space: nowrap; }
.ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: .03em; height: .065em; background: var(--gold); transform-origin: left; }
.anim .ln > span { animation: rise .95s cubic-bezier(.2, .75, .2, 1) .25s both; }
.anim .ln + .ln > span { animation-delay: .4s; }
.anim .ul::after { animation: draw .8s cubic-bezier(.65, 0, .2, 1) 1.15s both; }
.anim .lead, .anim .hero .cta { animation: up .7s ease .85s both; }
.anim .hero .cta { animation-delay: 1s; }
.anim .facts { animation: up .7s ease 1.2s both; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lead { color: #e6edfa; font-size: clamp(18px, 1.75vw, 22px); line-height: 1.45; margin: 28px 0 34px; max-width: 31em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.tel-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 19px; }
.tel-link .ico { color: var(--gold); width: 24px; height: 24px; }
.tel-link b { font-weight: 600; }
.tel-link:hover span { text-decoration: underline; }
.film-pause { position: absolute; right: max(32px, calc((100% - 1240px) / 2)); bottom: 92px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: rgba(7, 22, 64, .35); border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 50%; cursor: pointer; }
.film-pause i { display: block; width: 12px; height: 14px; border-inline: 4px solid #fff; }
.film-pause[aria-pressed="true"] i { width: 0; height: 0; border-block: 8px solid transparent; border-inline: 13px solid #fff; border-right: 0; margin-left: 3px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.facts li { padding: 22px 16px 24px 0; font-weight: 500; }

.film { padding: clamp(40px, 5vw, 60px) 0 clamp(44px, 5vw, 64px); background: #fff; overflow: hidden; }
.film-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.film-head small { display: block; margin-top: 4px; font-family: var(--font); font-stretch: 100%; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.film-toggle { flex: none; padding: 8px 18px; background: transparent; border: 1.5px solid #b7c3da; border-radius: 999px; font: 500 15px var(--font); color: var(--text); cursor: pointer; transition: border-color .2s; }
.film-toggle:hover { border-color: var(--navy); }
.film-view { overflow: hidden; }
.film-track { display: flex; width: max-content; gap: 16px; animation: film 96s linear infinite; }
.film-dup { display: flex; gap: 16px; }
.film-view:hover .film-track, .film-track.paused { animation-play-state: paused; }
@keyframes film { to { transform: translateX(calc(-50% - 8px)); } }
.shot { flex: none; position: relative; width: clamp(240px, 26vw, 360px); margin: 0; border-radius: 18px; overflow: hidden; background: var(--navy); }
.shot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.shot figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 11px; font-size: 14px; color: #fff; background: rgba(7, 22, 64, .78); border-radius: 999px; }

.paper { background: var(--paper); }

.navy { background: var(--navy-d); color: #fff; }
.navy-2 { background: var(--navy); color: #fff; }
.navy .sub, .navy-2 .sub { color: var(--on-dark); }

.signs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: clamp(32px, 4vw, 48px) 0 36px; }
.sign { padding: 24px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); }
.sign p { color: var(--on-dark); margin-top: 10px; font-size: 17px; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(32px, 4vw, 48px); }
.w { padding: 26px 24px; background: var(--paper); border-radius: var(--r); }
.w p { color: var(--muted); margin-top: 10px; font-size: 17px; }

.blue { background: var(--blue); color: #fff; }
.blue .sub { color: #e6edfa; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.tel-big { display: flex; width: fit-content; align-items: center; gap: 12px; margin-top: 26px; color: #fff; text-decoration: none; font-size: 19px; }
.tel-big .ico { color: var(--gold); }
.tel-big b { font-weight: 600; }
.tel-big:hover span { text-decoration: underline; }
.quote { background: #fff; color: var(--text); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -36px rgba(5, 15, 40, .9); }
.quote fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.quote legend, .f { font-weight: 600; font-size: 16px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pill span { display: block; padding: 11px 18px; border: 1.5px solid #c5cfe2; border-radius: 999px; font-size: 16px; font-weight: 500; transition: background-color .15s, border-color .15s, color .15s; }
.pill:hover span { border-color: var(--navy); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.err { color: #b3261e; font-size: 15px; margin-top: 8px; }
.f { display: block; margin-bottom: 20px; }
.f small { font-weight: 400; color: var(--muted); font-size: 15px; }
.f input, .f textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; font: 400 17px var(--font); color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .15s, background-color .15s; }
.f textarea { resize: vertical; min-height: 96px; }
.f input:focus, .f textarea:focus { outline: 0; border-color: var(--blue); background: #fff; }
.fine { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 12px; }

.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 16px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; list-style: none; cursor: pointer; font-weight: 600; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--blue); font-size: 28px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

.end { background: var(--gold); color: var(--navy-d); padding: clamp(56px, 7vw, 88px) 0; }
.end-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; }
.end h2 { max-width: 12em; }

footer { background: var(--navy-d); color: var(--on-dark); padding: 60px 0 26px; font-size: 16.5px; }
.foot { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 36px; padding-bottom: 42px; }
.foot img { width: 280px; height: auto; }
.foot div { display: grid; gap: 7px; align-content: start; }
.foot b { color: #fff; font-weight: 600; margin-bottom: 4px; }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: #fff; }
.legal { display: grid; grid-template-columns: auto 1fr; gap: 8px 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; line-height: 1.5; color: #93a4c6; }
.legal a { color: inherit; }
.credits { text-align: right; }

.dock { display: none; }

.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 1280px) {
  .links, .head-tel { display: none; }
  .round { display: grid; }
  .signs, .why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > img { grid-column: 1 / -1; }
  .legal { grid-template-columns: 1fr; }
  .credits { text-align: left; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 14px 10px 14px 0; font-size: 16.5px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap, .narrow { width: calc(100% - 40px); }
  html { scroll-padding-top: 78px; }
  .site { --head: 68px; }
  .bar { height: 68px; gap: 8px; }
  .brand img { width: min(47vw, 180px); }
  .head-cta { gap: 8px; }
  .head-cta .btn { display: none; }
  .round { width: 44px; height: 44px; }
  .burger i { left: 12px; right: 12px; }
  .burger i:nth-child(1) { top: 14px; } .burger i:nth-child(2) { top: 20px; } .burger i:nth-child(3) { top: 26px; }
  .burger[aria-expanded="true"] i:nth-child(1), .burger[aria-expanded="true"] i:nth-child(3) { top: 20px; }
  .menu { padding-inline: 20px; }
  h1 { font-size: clamp(32px, 13vw, 56px); }
  .hero-in { padding-top: calc(var(--head, 68px) + 74px); }
  .btn { min-height: 58px; padding: 0 22px; font-size: 17px; }
  .hero .btn, .end .btn { width: 100%; }
  .signs, .why { grid-template-columns: 1fr; }
  .end-in .cta { width: 100%; }
  .dock { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 0 max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left, 0px)); background: var(--navy-d); }
  .dock .btn { min-height: 48px; padding: 0 10px; font-size: 16px; }
}

/* Services: list beside one big photo */
.sx { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; margin-top: clamp(36px, 5vw, 56px); }
.sx-i { border-top: 1px solid #cdd7e8; }
.sx-i:last-child { border-bottom: 1px solid #cdd7e8; }
.sx-i h3 { font-size: inherit; }
.sx-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 0; background: none; border: 0; color: #5f6c8a; font: 700 clamp(25px, 2.7vw, 34px)/1.1 var(--font); font-stretch: 125%; letter-spacing: -.02em; text-align: left; cursor: pointer; transition: color .2s; }
.sx-h:hover, .sx-i.open .sx-h { color: var(--navy); }
.sx-a { flex: none; display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy); background: #fff; border-radius: 50%; box-shadow: inset 0 0 0 1px #cdd7e8; transition: transform .25s, background-color .25s, color .25s; }
.sx-i.open .sx-a { transform: rotate(90deg); background: var(--navy); color: #fff; }
.sx-b { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s ease, visibility .32s; }
.js .sx-i:not(.open) .sx-b { grid-template-rows: 0fr; visibility: hidden; }
.sx-in { min-height: 0; overflow: hidden; }
.sx-in p { color: var(--muted); margin-bottom: 18px; }
.sx-in .btn { margin-bottom: 26px; }
.sx-ph { display: none; width: 100%; height: auto; margin-bottom: 16px; border-radius: 16px; }
.sx-phw { position: relative; }
.sx-name { display: none; position: absolute; left: 12px; bottom: 28px; padding: 4px 12px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(7, 22, 64, .82); border-radius: 999px; }
.sx-media { position: sticky; top: 104px; aspect-ratio: 5 / 4.6; overflow: hidden; background: var(--navy); border-radius: 50% 50% 18px 18px / 20% 20% 18px 18px; box-shadow: 0 34px 60px -38px rgba(10, 31, 82, .7); }
.sx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.sx-media img.on { opacity: 1; }
.sx-tag { position: absolute; left: 14px; bottom: 14px; padding: 4px 12px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(7, 22, 64, .8); border-radius: 999px; }
.also { margin-top: 28px; color: var(--muted); }
.also b { color: var(--navy); font-weight: 600; }

/* How it works: plays as you scroll */
.story { background: var(--navy-d); color: #fff; }
.story .sub { color: var(--on-dark); }
.story-g { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(72px, 9vw, 110px); }
.story h2 { font-size: clamp(32px, 4vw, 52px); }
.story-bar { display: none; height: 3px; background: rgba(255, 255, 255, .16); border-radius: 3px; overflow: hidden; }
.story-bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(.25); }
.rail { list-style: none; margin: 26px 0; padding: 0 0 0 22px; border-left: 2px solid rgba(169, 195, 234, .22); }
.st { position: relative; padding: 9px 0; }
.st::before { content: ""; position: absolute; left: -29px; top: 15px; width: 12px; height: 12px; background: #3a5590; border-radius: 50%; transition: background-color .25s, box-shadow .25s; }
.st.on::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(245, 179, 1, .22); }
.st button { display: block; width: 100%; padding: 0; color: inherit; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.st small { display: block; font-size: 14px; color: #8fa6cf; }
.st b { display: block; font-stretch: 125%; font-weight: 700; font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; color: #7388b0; transition: color .25s; }
.st.on b { color: #fff; }
.st p { color: var(--on-dark); font-size: 17px; margin-top: 8px; max-width: 30em; }
.pinned .st:not(.on) p { display: none; }
.art { position: relative; aspect-ratio: 640 / 460; overflow: hidden; background: var(--navy-l); border-radius: var(--r); }
.stage-gate { position: absolute; inset: 0; width: 100%; height: 100%; padding: clamp(12px, 2.4vw, 30px); }
.l-frame, .l-bars { stroke: #fff; }
.l-spark { opacity: 0; }
.art-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.art-count, .art-tag { position: absolute; padding: 4px 12px; font-size: 14px; color: #fff; background: rgba(7, 22, 64, .8); border-radius: 999px; }
.art-count { right: 14px; top: 14px; }
.art-tag { right: 14px; bottom: 14px; }
.story.static .art-photo { display: none; }
.pinned { height: 320vh; }
.pinned .pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.pinned .story-g { padding-block: 92px 28px; width: min(1240px, 100% - 64px); }

/* Reviews carousel */
.rev-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 20px; }
.rev-nav { display: flex; flex: none; gap: 10px; }
.rev-nav button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--navy); background: #fff; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #b7c3da; cursor: pointer; transition: opacity .2s, box-shadow .2s; }
.rev-nav button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--navy); }
.rev-nav button:disabled { opacity: .4; cursor: default; }
.rev-prev svg { transform: rotate(180deg); }
.rev-track { display: flex; gap: 18px; margin-top: clamp(28px, 4vw, 44px); padding-bottom: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rev-track::-webkit-scrollbar { display: none; }
.rev { flex: none; width: clamp(270px, 29vw, 390px); overflow: hidden; background: #fff; border-radius: var(--r); scroll-snap-align: start; box-shadow: 0 1px 2px rgba(11, 21, 48, .06); }
.rev img { width: 100%; height: auto; aspect-ratio: 3 / 1.7; object-fit: cover; }
.rev-b { padding: 20px 22px 22px; }
.rev-job { margin-top: 2px; color: var(--muted); font-size: 15px; }
.rev-note { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Gates that swing open on scroll, with real jobs behind */
.gx-head { margin-top: clamp(72px, 9vw, 110px); }
.gx { margin-top: clamp(26px, 3vw, 40px); }
.gx-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-d); border-radius: var(--r); perspective: 1500px; perspective-origin: 50% 45%; box-shadow: 0 40px 70px -44px rgba(3, 10, 30, .95); }
.gx-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .55s ease, transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.gx-photos img.on { opacity: 1; transform: none; }
/* smaller photos sit at close to their real size on a soft blurred backdrop, so they stay sharp */
.gx-photos .gx-frame { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .55s ease; }
.gx-photos .gx-frame.on { opacity: 1; }
.gx-photos .gx-frame img { opacity: 1; transition: none; }
.gx-photos .gx-frame .gx-bg { filter: blur(26px) brightness(.45) saturate(1.1); transform: scale(1.15); }
.gx-photos .gx-frame .gx-fg { inset: auto; left: 50%; top: 50%; width: min(60%, 720px); height: auto; aspect-ratio: 16 / 9; transform: translate(-50%, -50%); border-radius: 14px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85); }
@media (max-width: 900px) { .gx-photos .gx-frame .gx-fg { width: 86%; } }
.gx-dim { position: absolute; inset: 0; background: #071640; opacity: 0; pointer-events: none; }
.gx-leaf { position: absolute; top: 0; bottom: 0; width: 47%; display: none; pointer-events: none; will-change: transform; backface-visibility: visible; }
.gx-leaf svg { width: 100%; height: 100%; overflow: visible; }
.gx-l { left: 3%; transform-origin: left center; }
.gx-r { right: 3%; transform-origin: right center; }
.gx-r svg { transform: scaleX(-1); }
.gx-post { position: absolute; top: 4%; bottom: 0; width: 3.2%; display: none; background: linear-gradient(90deg, #0d1a3c, #24386a 50%, #0d1a3c); border-top: 5px solid var(--gold); pointer-events: none; }
.gx-pl { left: 0; } .gx-pr { right: 0; }
.js .gx-leaf, .js .gx-post { display: block; }
.gx-hint { position: absolute; left: 50%; bottom: 7%; display: none; padding: 6px 15px; transform: translateX(-50%); color: var(--navy-d); background: var(--gold); border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none; animation: nudge 1.6s ease-in-out infinite; }
.js .gx-hint { display: block; }
@keyframes nudge { 50% { transform: translate(-50%, 5px); } }
.gx-cap { position: absolute; left: 5%; bottom: 14px; padding: 4px 12px; font-size: 14px; color: #fff; background: rgba(7, 22, 64, .82); border-radius: 999px; opacity: 0; transition: opacity .3s; }
.gx.open .gx-cap { opacity: 1; }
.gx-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px clamp(24px, 4vw, 56px); align-items: start; margin-top: 22px; }
.gx-panel { display: grid; gap: 8px; min-width: 0; }
.gx-name { font-stretch: 125%; font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.02em; color: #fff; }
.gx-sub { color: var(--gold); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.gx-desc { color: var(--on-dark); max-width: 36em; }
.gx-tag { color: #fff; font-style: italic; font-weight: 600; }
.gx-cta { justify-self: start; margin-top: 8px; }
.gx-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gx-th { width: 96px; padding: 0; overflow: hidden; background: none; border: 2px solid rgba(255, 255, 255, .25); border-radius: 10px; cursor: pointer; opacity: .75; transition: border-color .2s, opacity .2s; }
.gx-th img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gx-th:hover { opacity: 1; }
.gx-th[aria-pressed="true"] { border-color: var(--gold); opacity: 1; }
@media (max-width: 900px) { .gx-foot { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 17px; color: #fff; background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 999px; font: 500 16px var(--font); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { color: var(--navy-d); background: var(--gold); border-color: var(--gold); }

/* Quote steps */
.q-prog { height: 5px; background: var(--paper); border-radius: 5px; overflow: hidden; }
.q-prog i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(.34); transition: transform .3s ease; }
.q-count { margin: 12px 0 20px; color: var(--muted); font-size: 15px; }
.q-step > fieldset:last-child, .q-step > .f:last-child { margin-bottom: 0; }
.q-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.q-next, .q-send { flex: 1 1 auto; }
.q-fine { margin-top: 12px; }

/* shorter laptop screens: keep the whole pinned section, button included, inside the window */
@media (min-width: 901px) and (max-height: 900px) {
  .pinned .story-g { padding-block: 86px 22px; }
  .story h2 { font-size: clamp(28px, 3.1vw, 40px); }
  .story .sub { margin-top: 10px; font-size: 17px; }
  .rail { margin: 16px 0 18px; }
  .st { padding: 5px 0; }
  .st::before { top: 11px; }
  .st b { font-size: 20px; }
  .st p { font-size: 16px; margin-top: 4px; }
}
@media (min-width: 901px) and (max-height: 720px) {
  .story .sub { display: none; }
  .rail { margin-top: 12px; }
  .pinned .story-g { padding-block: 80px 16px; }
}
@media (max-width: 900px) {
  .sx { grid-template-columns: 1fr; }
  .sx-media { display: none; }
  .sx-ph { display: block; }
  .sx-name { display: block; }
  .story-g { grid-template-columns: 1fr; gap: 20px; }
  .story-r { order: -1; }
  .story.pinned .story-g { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-block: 80px 96px; }
  .story.pinned .story-l { display: contents; }
  .story.pinned h2 { order: -2; font-size: clamp(27px, 7.4vw, 40px); }
  .story.pinned .story-r { order: -1; }
  .story.pinned .sub, .story.pinned .story-cta { display: none; }
  .story.pinned .story-bar { display: block; }
  .story.pinned .rail { margin: 0; padding: 0; border: 0; }
  .story.pinned .st { padding: 0; }
  .story.pinned .st:not(.on), .story.pinned .st::before { display: none; }
  .story.pinned .art { aspect-ratio: 16 / 10; max-height: 34svh; width: 100%; }
  .story:not(.pinned) .story-r { order: 0; }
  .film-pause { bottom: auto; top: calc(var(--head, 68px) + 16px); right: 20px; width: 42px; height: 42px; }
}
@media (max-width: 620px) {
  .pinned { height: 300vh; }
  .pinned .story-g { width: calc(100% - 40px); }
  .rev { width: 82vw; }
  .rev-nav button { width: 44px; height: 44px; }
  .gx-stage { aspect-ratio: 16 / 10; perspective: 900px; }
  .gx-cta { width: 100%; justify-self: stretch; }
  .chip { padding: 9px 14px; font-size: 15px; }
  .q-nav .btn { padding: 0 16px; }
}

/* Family-run intro */
.about { background: #fff; padding-block: clamp(56px, 7vw, 96px) clamp(16px, 2vw, 24px); }
.about-g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 72px); align-items: start; }
.about h2 { font-size: clamp(30px, 3.8vw, 48px); }
.about-b { display: grid; gap: 14px; color: var(--muted); font-size: clamp(18px, 1.5vw, 20px); max-width: 34em; }
.about .motto { color: var(--navy); font-weight: 700; font-style: italic; }
@media (max-width: 900px) { .about-g { grid-template-columns: 1fr; } }

/* Customer quotes */
.rev-mark { display: block; height: 34px; font: 800 64px/1 var(--font); color: var(--gold); }
.rev-q { margin-top: 6px; font-size: 18px; font-style: italic; color: var(--muted); }
.rev-who { margin-top: 14px; font-weight: 600; font-size: 16px; }

/* Quote form: town and Eircode side by side */
.f2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 12px; }
@media (max-width: 420px) { .f2 { grid-template-columns: 1fr; } }
.tel-2 { margin-top: 10px; }
#eircode { text-transform: uppercase; }

/* Section labels */
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.paper .eyebrow { color: #9a6c00; }
.gates-sec .gx-head { margin-top: 0; }

/* Railings: photo beside the style panel, light version of the gates panel */
.rx { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(26px, 3vw, 40px); }
.rx-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); border-radius: var(--r); box-shadow: 0 34px 60px -40px rgba(10, 31, 82, .7); }
.rx-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.rx-photos img.on { opacity: 1; }
.rx-side { display: grid; gap: 18px; min-width: 0; }
.rx .chip { color: var(--navy); background: #fff; border-color: #c5cfe2; }
.rx .chip:hover { border-color: var(--navy); }
.rx .chip[aria-pressed="true"] { color: var(--navy-d); background: var(--gold); border-color: var(--gold); }
.rx .gx-name { color: var(--navy); }
.rx .gx-sub { color: #9a6c00; }
.rx .gx-desc { color: var(--muted); }
.rx .gx-tag { color: var(--navy); }
.rx .gx-th { border-color: #c5cfe2; }
.rx .gx-th[aria-pressed="true"] { border-color: var(--gold); }

/* Structural steel */
.st-g { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.st-g h2 { font-size: clamp(32px, 4vw, 52px); }
.st-g > * { min-width: 0; }
.st-g .btn { margin-top: 26px; max-width: 100%; white-space: normal; text-align: center; }
.st-soon { display: grid; place-items: center; gap: 12px; min-height: 260px; padding: 32px; text-align: center; color: var(--on-dark); border: 1.5px dashed rgba(255, 255, 255, .28); border-radius: var(--r); }
.st-soon svg { width: 56px; height: 56px; color: var(--gold); }
.st-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); }
.st-list li { display: flex; align-items: center; gap: 14px; padding: 18px 4px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.st-list li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }

@media (max-width: 900px) {
  .rx, .st-g { grid-template-columns: 1fr; }
  .st-soon { min-height: 180px; }
}

/* The Lab: workshop photo wall */
.lab { background: #070f26; color: #fff; }
.lab .sub { color: var(--on-dark); }
.lab-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 12px; margin-top: clamp(26px, 3vw, 40px); }
.lab-i { position: relative; margin: 0; overflow: hidden; background: var(--navy); border-radius: 14px; }
.lab-i:first-child { grid-column: span 2; grid-row: span 2; }
.lab-i.wide { grid-column: span 2; }
.lab-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lab-i:hover img { transform: scale(1.04); }
.lab-i figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 14px; font-weight: 500; background: linear-gradient(180deg, transparent, rgba(5, 12, 32, .85)); }
@media (max-width: 900px) { .lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }

/* Structural case study: before and after as one piece */
.cs { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(48px, 6vw, 80px); padding: clamp(14px, 2vw, 22px); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: calc(var(--r) + 8px); }
.cs-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cs-shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--navy-d); }
.cs-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.cs-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 12, 32, .35), transparent 30%); pointer-events: none; }
.cs-tag { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 5px 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(5, 12, 32, .72); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; }
.cs-tag-after { color: var(--navy-d); background: var(--gold); border-color: var(--gold); }
.cs-arrow { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; transform: translate(-50%, -50%); color: var(--navy-d); background: var(--gold); border: 4px solid var(--navy); border-radius: 50%; }
.cs-arrow svg { width: 22px; height: 22px; }
.cs-copy { display: grid; gap: 14px; min-width: 0; padding-right: clamp(0px, 2vw, 18px); }
.cs-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cs h3 { font-stretch: 125%; font-weight: 800; font-size: clamp(25px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.cs-steps { display: grid; gap: 0; margin: 4px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.cs-steps div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.cs-steps dt { font-weight: 700; font-size: 15px; color: var(--gold); }
.cs-steps dd { margin: 0; font-size: 16.5px; color: var(--on-dark); }
.cs-detail { display: flex; align-items: center; gap: 14px; margin: 6px 0 0; }
.cs-detail img { flex: none; width: 76px; height: 76px; object-fit: cover; border-radius: 12px; }
.cs-detail figcaption { font-size: 15px; color: var(--on-dark); }
@media (max-width: 900px) {
  .cs { grid-template-columns: 1fr; }
  .cs-copy { padding-right: 0; }
}
@media (max-width: 420px) {
  .cs-steps div { grid-template-columns: 1fr; gap: 2px; }
  .cs-arrow { width: 42px; height: 42px; }
}

/* The Lab: a slow showcase reel instead of a grid */
.lx { margin-top: clamp(26px, 3vw, 40px); }
.lx-stage { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; background: #050c20; border-radius: calc(var(--r) + 6px); box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .9); }
.lx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 1.1s ease, transform 0s linear 1.1s; }
.lx-img.on { opacity: 1; transform: scale(1.09); transition: opacity 1.1s ease, transform 7s linear; }
.lx-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 12, 32, .15) 0%, rgba(5, 12, 32, 0) 40%, rgba(5, 12, 32, .82) 100%); pointer-events: none; }
.lx-cap { position: absolute; left: clamp(18px, 3vw, 36px); right: 180px; bottom: clamp(22px, 3vw, 36px); display: grid; gap: 6px; }
.lx-num { font-size: 14px; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.lx-num b { color: var(--gold); font-weight: 700; }
.lx-text { font-stretch: 125%; font-weight: 700; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.lx-cap.swap .lx-text, .lx-cap.swap .lx-num { animation: lx-in .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lx-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.lx-ctrl { position: absolute; right: clamp(16px, 2.5vw, 30px); bottom: clamp(22px, 3vw, 34px); display: flex; gap: 8px; }
.lx-btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; color: #fff; background: rgba(5, 12, 32, .45); border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 50%; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s; }
.lx-btn:hover { background: rgba(5, 12, 32, .7); border-color: var(--gold); }
.lx-btn svg { width: 20px; height: 20px; }
.lx-next svg { transform: rotate(180deg); }
.lx-play i { display: block; width: 11px; height: 13px; border-inline: 3.5px solid #fff; }
.lx-play[aria-pressed="true"] i { width: 0; height: 0; border-block: 7px solid transparent; border-inline: 11px solid #fff; border-right: 0; margin-left: 3px; }
.lx-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.lx-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.lx-bar i.run { animation: lx-bar var(--lx-time, 5.5s) linear forwards; }
@keyframes lx-bar { to { transform: none; } }
.lx-rail { display: flex; gap: 10px; margin-top: 14px; padding: 4px 2px 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.lx-rail::-webkit-scrollbar { display: none; }
.lx-th { flex: none; width: clamp(84px, 9vw, 112px); padding: 0; overflow: hidden; background: none; border: 2px solid transparent; border-radius: 10px; opacity: .45; cursor: pointer; transition: opacity .3s, border-color .3s, transform .3s; }
.lx-th img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lx-th:hover { opacity: .8; }
.lx-th[aria-pressed="true"] { opacity: 1; border-color: var(--gold); transform: translateY(-2px); }
@media (max-width: 900px) {
  .lx-stage { aspect-ratio: 4 / 3.4; }
  .lx-cap { left: auto; right: clamp(18px, 3vw, 36px); bottom: 34px; }
  .lx-shade { background: linear-gradient(180deg, rgba(5, 12, 32, .1) 0%, rgba(5, 12, 32, .25) 35%, rgba(5, 12, 32, .9) 100%); }
  .lx-ctrl { left: clamp(16px, 2.5vw, 30px); right: auto; bottom: 22px; }
  .lx-btn { width: 42px; height: 42px; }
}

/* The Lab reel: photos only, the caption stays for screen readers */
.lx-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lx-shade { background: linear-gradient(180deg, rgba(5, 12, 32, 0) 60%, rgba(5, 12, 32, .55) 100%) !important; }

/* Less writing: the design story sits behind a tap */
.gx-cap { display: none; }
.gx-more { margin-top: 2px; }
.gx-more summary { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-weight: 600; font-size: 15px; color: var(--gold); cursor: pointer; list-style: none; }
.gx-more summary::-webkit-details-marker { display: none; }
.gx-more summary::after { content: "+"; font-size: 20px; line-height: 1; }
.gx-more[open] summary::after { content: "\2212"; }
.gx-more .gx-desc { margin-top: 8px; }
.rx .gx-more summary { color: #9a6c00; }

/* Full photo on tap */
.zoom-btn { position: absolute; right: 14px; top: 14px; z-index: 6; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: #fff; background: rgba(5, 12, 32, .55); border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 50%; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s; }
.zoom-btn:hover { border-color: var(--gold); background: rgba(5, 12, 32, .75); }
.zoom-btn svg { width: 18px; height: 18px; }
.gx-stage .zoom-btn { opacity: 0; pointer-events: none; transition: opacity .3s; }
.gx.open .gx-stage .zoom-btn { opacity: 1; pointer-events: auto; }
.gx-photos, .rx-photos, .lx-img { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(3, 8, 22, .96); }
.lb[hidden] { display: none; }
.lb-track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; display: grid; place-items: center; margin: 0; padding: calc(72px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); scroll-snap-align: center; scroll-snap-stop: always; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lb-count { position: absolute; left: max(20px, env(safe-area-inset-left, 0px)); top: calc(28px + env(safe-area-inset-top, 0px)); z-index: 2; font-size: 14px; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .75); }
.lb-close { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(16px + env(safe-area-inset-top, 0px)); z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; color: #fff; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; cursor: pointer; }
.lb-close svg { width: 22px; height: 22px; }
.lb-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; padding: 0; color: #fff; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; cursor: pointer; transition: background-color .2s, opacity .2s; }
.lb-nav:hover { background: rgba(255, 255, 255, .2); }
.lb-nav:disabled { opacity: .25; cursor: default; }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: max(18px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(18px, env(safe-area-inset-right, 0px)); }
.lb-next svg { transform: rotate(180deg); }
@media (max-width: 620px) { .lb-nav { display: none; } }
body.lb-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .film-view { overflow-x: auto; }
  .slide.on { transform: none; }
  .lx-img.on { transform: none; }
  .lx-play { display: none; }
  .gx-leaf, .gx-post, .gx-hint, .js .gx-leaf, .js .gx-post, .js .gx-hint { display: none; }
  .gx-cap { opacity: 1; }
  .anim .hero::before { display: none; }
  .film-pause { display: none; }
}
