:root {
  color-scheme: light;
  --ink: #15253b;
  --night: #172a43;
  --muted: #515d6a;
  --paper: #faf9f6;
  --tint: #e9edf0;
  --line: #cbd2d8;
  --orange: #ff8456;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Golos Text', Arial, sans-serif;
  --edge: clamp(20px, 4.7vw, 88px);
  --head-height: 76px;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-height) + 10px); }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button { background: none; border: 0; }
button, summary, a { outline-offset: 4px; }
:focus-visible { outline: 3px solid #ad421d; }
.hero :focus-visible, .contact-section :focus-visible, #gallery :focus-visible { outline-color: var(--orange); }
::selection { color: var(--ink); background: var(--orange); }
input, textarea { caret-color: #9e3816; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: default; }
.wrap { width: min(1540px, 100%); margin-inline: auto; padding-inline: var(--edge); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon, .service-icon { width: 21px; height: 21px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 20; top: -80px; left: 16px; padding: 14px; background: var(--orange); }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }
.header { position: sticky; z-index: 5; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.head-inner { min-height: var(--head-height); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.identity { display: inline-flex; align-items: center; gap: 11px; }
.identity img { width: 44px; height: 44px; }
.identity span { font: 600 21px/.95 var(--display); text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(15px,2.4vw,39px); }
.desktop-nav a, .header-phone { font-size: .91rem; font-weight: 500; }
.desktop-nav a, .mobile-nav a { padding-block: 10px; text-underline-offset: 5px; }
.desktop-nav a:hover, .mobile-nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.header-phone { display: flex; align-items: center; gap: 9px; white-space: nowrap; border: 1px solid var(--ink); padding: 11px 15px; border-radius: 4px; }
.header-phone:hover, .more:hover { background: var(--ink); color: var(--paper); }
.header-phone svg { width: 15px; height: 15px; }
.menu-button, .mobile-nav { display: none; }
.hero { background: var(--night); color: var(--paper); }
.hero-intro { text-align: center; padding-block: clamp(22px,4vh,48px) clamp(24px,4.2vh,51px); }
.location { display: inline-flex; align-items: center; gap: 7px; color: #e0e7f0; font-size: .875rem; margin-bottom: 15px; }
.location svg { width: 16px; height: 16px; stroke: var(--orange); }
h1,h2,h3,p { margin: 0; }
h1,h2,.contact-section h2 { font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(3.35rem,5.75vw,6rem); line-height: 1.055; text-transform: uppercase; letter-spacing: -.033em; }
h1 em { font-style: normal; color: var(--orange); }
.hero h1 { font-size: clamp(3.25rem,5vw,5.55rem); line-height: 1.04; }
.hero-aside { margin-top: clamp(16px,2.1vh,24px); }
.hero-aside > p { max-width: 63ch; margin-inline: auto; font-size: clamp(1rem,1.24vw,1.23rem); line-height: 1.48; color: #e2e8ef; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 16px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 49px; padding: 12px 21px; border-radius: 4px; font-size: .95rem; line-height: 1.35; font-weight: 600; transition: background .16s ease,color .16s ease; }
.button.primary { background: var(--orange); color: var(--ink); }
.button.primary:hover { background: #ffab86; }
.button.dark { background: var(--ink); color: var(--paper); }
.button.dark:hover { background: #304a68; }
.button svg { width: 18px; height: 18px; }
.secondary-link, .inline-link { padding: 7px 0; display: inline-flex; align-items: center; gap: 7px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #9cabbc; font-size: .89rem; font-weight: 500; }
.secondary-link svg { width: 17px; height: 17px; }
.secondary-link:hover { color: var(--orange); }
.panorama { --cut: clamp(18px,2.8vw,50px); display: flex; isolation: isolate; overflow: hidden; background: var(--night); }
.panorama button { flex: 1 1 0; min-width: 0; position: relative; display: block; padding: 0; overflow: hidden; color: white; clip-path: polygon(var(--cut) 0,100% 0,calc(100% - var(--cut)) 100%,0 100%); }
.panorama button + button { margin-left: calc(3px - var(--cut)); }
.panorama button:first-child { clip-path: polygon(0 0,100% 0,calc(100% - var(--cut)) 100%,0 100%); }
.panorama button:last-child { clip-path: polygon(var(--cut) 0,100% 0,100% 100%,0 100%); }
.panorama button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(9,20,37,.82),transparent 40%); pointer-events: none; }
.mobile-panorama,.panorama-nav { display: none; }
.panorama img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.15,.7,.25,1); }
.panorama button:nth-child(1) { flex-grow: .98; }
.panorama button:nth-child(2) { flex-grow: 1.12; }
.panorama button:nth-child(3) { flex-grow: 1; }
.panorama button:nth-child(4) { flex-grow: 1.18; }
.panorama button:nth-child(5) { flex-grow: 1; }
.panorama button:nth-child(1) img { object-position: 54% 46%; }
.panorama button:nth-child(2) img { object-position: 80% 47%; }
.panorama button:nth-child(3) img { object-position: 50% 37%; }
.panorama button:nth-child(4) img { object-position: 88% 55%; }
.panorama button:nth-child(5) img { object-position: 50% 42%; }
.panorama button span { position: absolute; z-index: 1; left: max(24px, 12%); right: 12px; bottom: 17px; text-align: left; font-weight: 500; font-size: clamp(.85rem,1.15vw,1.16rem); line-height: 1.2; text-shadow: 0 1px 5px #122139; }
.panorama button:first-child span { left: max(var(--edge),calc((100vw - 1540px)/2 + var(--edge))); }
@media (hover:hover) { .panorama button:hover img { transform: scale(1.05); } }
.panorama button:focus-visible { outline: 0; }
.panorama button:focus-visible::after { box-shadow: inset 0 0 0 5px var(--orange); }
.contact-strip { background: var(--tint); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 69px; }
.strip-heading { font-weight: 600; }
.strip-inner a,.strip-inner button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 0; font-size: .93rem; }
.strip-inner .icon { width: 18px; height: 18px; }
.strip-inner a:hover,.strip-inner button:hover { text-decoration: underline; text-underline-offset: 4px; }
.section { padding-block: clamp(62px,6.6vw,112px); }
h2 { font-size: clamp(2.4rem,4.25vw,4.6rem); line-height: 1.09; letter-spacing: -.028em; text-transform: uppercase; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 35px; }
.section-head p,.terms-intro p,.docs-grid p,.contact-section p { color: var(--muted); line-height: 1.55; }
.section-head p { font-size: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line); }
.service { min-width: 0; padding: 0 clamp(14px,1.75vw,30px); border-right: 1px solid var(--line); }
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; padding-right: 0; }
.service summary { list-style: none; cursor: pointer; position: relative; padding: 23px 0; display: flex; align-items: flex-start; flex-direction: column; gap: 30px; }
.service summary::-webkit-details-marker { display:none; }
.service-icon { width: 37px; height: 37px; stroke-width: 1.5; }
.service h3 { font-family: var(--display); font-size: clamp(1.48rem,2.04vw,2.1rem); line-height: 1.15; font-weight: 500; letter-spacing: -.012em; }
.expand { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #abb7c3; border-radius: 50%; position: absolute; right: 0; top: 27px; color: var(--ink); }
.expand::before,.expand::after { content: ''; position: absolute; background: currentColor; width: 11px; height: 1.5px; }
.expand::after { transform: rotate(90deg); }
.service[open] .expand::after { display: none; }
.service summary:hover .expand,.service[open] .expand { background: var(--orange); border-color: var(--orange); }
.service-content { padding-bottom: 24px; }
.service-content p { line-height: 1.5; color: var(--muted); margin: 0 0 12px; }
.objects { background: var(--tint); }
.albums { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 33px 22px; }
.album { display: block; width: 100%; padding: 0; text-align: left; }
.album-image { position: relative; aspect-ratio: 1.55; overflow: hidden; background: #ced7de; border-radius: 3px; }
.album-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease-out; }
@media (hover:hover) { .album:hover img { transform: scale(1.035); } }
.album-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 13px; }
.album-label strong { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem,1.8vw,1.8rem); line-height: 1.22; }
.album-label small { font-size: .84rem; color: var(--muted); white-space: nowrap; }
.more { display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--ink); border-radius: 4px; min-height: 46px; padding: 9px 18px; margin: 36px auto 0; font-weight: 500; }
.more .icon { width: 16px; height: 16px; }
.terms-grid,.docs-grid,.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10%; }
.terms-intro p,.docs-grid p,.contact-section p { margin-top: 20px; max-width: 43ch; font-size: 1.04rem; }
.terms-intro .button { margin-top: 25px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 39px 1fr; gap: 15px; border-top: 1px solid var(--line); padding-block: 20px; }
.steps li:first-child { padding-top: 12px; }
.steps li::before { content: counter(step,decimal-leading-zero); font: 500 1.2rem/1.5 var(--display); color: var(--muted); }
.steps h3 { font: 500 1.62rem/1.2 var(--display); }
.steps p { line-height: 1.5; color: var(--muted); margin: 6px 0 0; max-width: 52ch; }
.docs { background: var(--tint); padding-block: clamp(52px,5.5vw,88px); }
.doc-list button { width: 100%; display: flex; align-items: center; text-align: left; gap: 13px; border-bottom: 1px solid #b8c2cd; min-height: 56px; padding: 12px 0; }
.doc-list button:first-child { border-top: 1px solid #b8c2cd; }
.doc-list small { margin-left: auto; font-size: .8rem; color: var(--muted); }
.doc-list button:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contact-section,footer { background: var(--night); color: var(--paper); }
.contact-section { padding-block: clamp(63px,7vw,115px); }
.contact-section h2 { font-size: clamp(3.1rem,5.2vw,5.55rem); }
.contact-section h2 span { color: var(--orange); }
.contact-section p { color: #d7e0e9; }
.contact-details { display: flex; align-items: flex-start; flex-direction: column; }
.big-phone { color: var(--orange); font: 500 clamp(2.2rem,4vw,4.2rem)/1.2 var(--display); }
.email { font-size: clamp(1.12rem,1.65vw,1.55rem); margin-top: 10px; }
.messengers { display: flex; flex-wrap: wrap; gap: 19px; margin: 20px 0 28px; }
.messengers a,.messengers button { padding: 3px 0; font-size: .94rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #98a9ba; }
.messengers a:hover,.messengers button:hover,.email:hover { color: var(--orange); }
.footer-inner { min-height: 62px; display: flex; align-items: center; gap: 22px; color: #cad4df; font-size: .88rem; position: relative; }
.footer-inner::before { content: ''; height: 1px; background: #4c6078; position: absolute; top: 0; left: var(--edge); right: var(--edge); }
.footer-inner a { margin-left: auto; }
.floating-call { display: none; }
dialog { padding: 0; border: 0; max-height: 90dvh; max-width: calc(100vw - 28px); border-radius: 8px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(8,19,34,.78); }
.icon-button { padding: 9px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; }
.icon-button svg { width: 18px; height: 18px; }
.dialog-body { padding: clamp(25px,4vw,43px); position: relative; }
#contact-dialog { width: 525px; }
.dialog-close { position: absolute; top: 14px; right: 14px; }
.dialog-body h2 { padding: 12px 32px 0 0; font-size: clamp(1.9rem,3vw,2.6rem); }
#dialog-content > p { margin: 15px 0 20px; color: var(--muted); line-height: 1.5; }
.channel-links { display: grid; gap: 9px; }
.channel-links > * { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--tint); border-radius: 4px; font-weight: 500; text-align: left; min-height: 45px; }
.channel-links > :hover { background: #d6e1ea; }
.contact-form { display: grid; gap: 13px; margin-top: 19px; }
.contact-form label { display: grid; gap: 5px; font-size: .88rem; font-weight: 500; }
.contact-form input,.contact-form textarea { width: 100%; background: white; border: 1px solid #acb8c5; border-radius: 3px; padding: 10px; font-size: 1rem; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form small { color: var(--muted); font-size: .83rem; line-height: 1.4; }
.dialog-direct { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; }
.dialog-direct > * { padding: 4px 0; font-size: .91rem; text-decoration: underline; text-underline-offset: 3px; }
.max-number { font: 500 2rem var(--display); margin-block: 13px; user-select: all; }
.copy-state { font-size: .85rem; min-height: 22px; margin-top: 8px; }
#gallery {
  width: min(1200px, calc(100vw - 32px)); max-width: none;
  height: min(900px, calc(100dvh - 32px)); max-height: none;
  overflow: hidden; overscroll-behavior: contain; background: #17263a; color: var(--paper);
}
.gallery-shell { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr) auto; gap: 12px; height: 100%; min-height: 0; padding: 14px clamp(12px,2vw,24px); }
.gallery-top,.gallery-bottom,.gallery-navigation { display: flex; align-items: center; gap: 13px; }
.gallery-top h2 { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 600 clamp(1rem,1.8vw,1.42rem)/1.2 var(--body); text-transform: none; letter-spacing: -.015em; }
.gallery-top .icon-button,.gallery-arrow { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #8797aa; border-radius: 50%; color: white; }
#gallery-fit { min-height: 44px; padding: 6px 8px; color: #e8edf2; font-size: .88rem; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.gallery-stage { position: relative; min-width: 0; min-height: 0; background: #0e1929; }
.gallery-stage img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow:hover,.gallery-top button:hover { color: var(--orange); }
.gallery-bottom { justify-content: space-between; line-height: 1.4; }
.gallery-navigation { justify-content: center; gap: 9px; flex: none; }
#gallery-count { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; color: #cbd5e1; }
@media (max-width: 1080px) {
  .desktop-nav { gap: 18px; }
  .service h3 { font-size: clamp(1.32rem,2.2vw,1.55rem); }
}
@media (max-width: 920px) {
  :root { --head-height: 64px; }
  .desktop-nav { display: none; }
  .header-phone { margin-left: auto; }
  .head-inner { gap: 14px; }
  .menu-button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 4px; }
  .mobile-nav:not([hidden]) { display: grid; padding: 9px var(--edge) 18px; border-top: 1px solid var(--line); background: var(--paper); position: absolute; width: 100%; }
}
@media (max-width: 820px) {
  h1 { font-size: clamp(2.8rem,5.95vw,3.7rem); }
  .strip-inner { flex-wrap: wrap; justify-content: flex-start; gap: 0 23px; padding-block: 11px; }
  .strip-heading { flex-basis: 100%; margin-bottom: 2px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(3) { padding-left: 0; }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service h3 { font-size: 1.6rem; }
  .service:last-child,.service:nth-child(2) { padding-right: 0; }
  .terms-grid,.docs-grid,.contact-grid { gap: 6%; }
  .albums { gap: 24px 12px; }
  .album-label { display: block; }
  .album-label small { display: block; margin-top: 3px; }
  .doc-list small { display: none; }
}
@media (max-width: 640px) {
  :root { --edge: 20px; --head-height: 62px; }
  main, .mobile-nav { text-align: center; }
  main :is(h1, h2, h3) { text-wrap: balance; }
  main p { text-wrap: pretty; }
  .identity { gap: 8px; }
  .identity img { width: 34px; height: 34px; }
  .identity span { font-size: 16px; }
  .head-inner { gap: 8px; }
  .header-phone { border: 0; font-size: .84rem; padding: 11px 2px; gap: 5px; }
  .header-phone svg { display: none; }
  .menu-button { width: 38px; height: 38px; }
  .location { font-size: .84rem; margin-bottom: 12px; }
  h1 { font-size: clamp(2.56rem,9.3vw,3.85rem); line-height: 1.06; }
  .hero-aside > p { font-size: 1rem; max-width: 46ch; }
  .strip-inner { display: grid; grid-template-columns: repeat(5,1fr); padding: 13px var(--edge) 10px; gap: 4px 0; }
  .strip-heading { grid-column: 1/-1; font-size: .9rem; }
  .strip-inner a,.strip-inner button { flex-direction: column; gap: 5px; font-size: .76rem; padding: 6px 0; }
  .strip-inner .icon { width: 19px; height: 19px; }
  .section { padding-block: 52px; }
  .section-head { display: block; margin-bottom: 21px; }
  h2 { font-size: clamp(2.05rem,7.8vw,3.05rem); }
  .section-head p { margin-top: 10px; font-size: .94rem; }
  .section-head p br { display: none; }
  .service summary { padding-block: 15px 18px; gap: 16px; }
  .service h3 { font-size: clamp(1.22rem,4.85vw,1.55rem); }
  .service-icon { width: 31px; height: 31px; }
  .expand { width: 23px; height: 23px; top: 18px; }
  .service { padding-inline: 12px; }
  .service-content p { font-size: .93rem; }
  .albums { grid-template-columns: 1fr 1fr; gap: 24px 11px; }
  .album:first-child { grid-column: 1/-1; }
  .album-image { aspect-ratio: 1.35; }
  .album:first-child .album-image { aspect-ratio: 1.9; }
  .album-label { margin-top: 8px; }
  .album-label strong { font-size: 1.25rem; }
  .album-label small { font-size: .79rem; }
  .more { margin-top: 24px; }
  .terms-grid,.docs-grid,.contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .terms-intro h2 br { display: none; }
  .terms-intro p,.docs-grid p,.contact-section p { margin: 12px auto 0; font-size: 1rem; }
  .steps li,.steps li:first-child { grid-template-columns: minmax(0,1fr); justify-items: center; gap: 6px; padding-block: 17px; }
  .steps li::before { color: #9e411f; line-height: 1.1; }
  .steps h3 { font-size: 1.45rem; }
  .steps p { margin-inline: auto; max-width: 42ch; }
  .docs { padding-block: 46px; }
  .doc-list button { justify-content: center; text-align: center; }
  .contact-section { padding-block: 49px; }
  .contact-details { align-items: center; }
  .messengers { justify-content: center; }
  .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 9px 16px; padding-block: 16px; font-size: .78rem; }
  .footer-inner a { flex-basis: 100%; margin: 0; }
  .gallery-bottom { font-size: .88rem; }
}
@media (max-width: 365px) {
  :root { --edge: 14px; }
  .service h3 { font-size: 1.15rem; }
  .head-inner { gap: 5px; }
  .strip-inner a,.strip-inner button { font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

@media (min-width: 921px) {
  .hero-screen { display: flex; flex-direction: column; min-height: calc(100svh - var(--head-height) - 1px); }
  .hero { display: flex; flex: 1; flex-direction: column; }
  .panorama { flex: 1; min-height: clamp(180px,26svh,300px); }
  .panorama img { position: absolute; inset: 0; }
  .panorama button:first-child span { left: var(--edge); }
}
@media (min-width: 921px) and (max-height: 780px) {
  .hero h1 { font-size: clamp(3rem,4.7vw,4.65rem); }
  .hero-intro { padding-block: 23px 26px; }
  .hero-intro .location { margin-bottom: 10px; }
}
@media (max-width: 920px) {
  .hero {
    position: relative; isolation: isolate; display: flex; flex-direction: column;
    min-height: max(440px, calc(100svh - var(--head-height) - 83px)); touch-action: pan-y pinch-zoom;
  }
  .hero-intro { position: relative; z-index: 2; margin-block: auto; padding-block: clamp(28px,7svh,72px) clamp(46px,12svh,120px); }
  .hero .location { color: white; }
  .hero h1 { font-size: clamp(2.28rem,7.9vw,4.25rem); }
  .hero-aside { margin-top: 15px; }
  .hero-aside > p { color: white; font-size: 1rem; }
  .hero-actions { gap: 9px 15px; margin-top: 21px; }
  .hero-actions .secondary-link { min-height: 46px; padding-inline: 16px; justify-content: center; border: 1px solid #bdd0e087; border-radius: 4px; color: white; background: #12223883; text-decoration: none; }
  .hero-actions .secondary-link:hover { color: var(--orange); border-color: var(--orange); }
  .panorama { display: none; }
  .mobile-panorama { position: absolute; inset: 0; display: block; isolation: isolate; pointer-events: none; }
  .mobile-panorama::after {
    content: ''; position: absolute; z-index: 2; inset: 0;
    background: linear-gradient(180deg,#0a1727a8 0%,#0b192bdd 32%,#0b192bcf 53%,#0b192b68 80%,#0b192be0 100%);
  }
  .mobile-panorama > div { position: absolute; inset: 0; background-size: cover; opacity: 0; transition: opacity .75s ease-in-out; }
  .mobile-panorama > .is-current { z-index: 1; opacity: 1; }
  [data-mobile-photo="97"] { background-image: url(assets/photos/97.webp); background-position: center; }
  [data-mobile-photo="26"] { background-image: url(assets/photos/26.webp); background-position: 25% 52%; }
  [data-mobile-photo="91"] { background-image: url(assets/photos/91.webp); background-position: 53% 50%; }
  [data-mobile-photo="96"] { background-image: url(assets/photos/hero-96.webp); background-position: 56% 50%; }
  .panorama-nav { position: relative; z-index: 2; display: flex; justify-content: center; padding: 0 var(--edge) 12px; color: white; }
  .panorama-controls { display: flex; align-items: center; width: min(100%, 335px); border: 1px solid #bdd0e060; border-radius: 5px; background: #0c192bc9; }
  .panorama-controls button { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; padding: 0; }
  .panorama-controls button:hover { background: #ffffff19; }
  .panorama-controls .icon { width: 18px; height: 18px; }
  .panorama-controls #hero-open { display: flex; flex: 1; align-items: center; gap: 7px; justify-content: center; width: auto; min-width: 0; padding-inline: 6px; font-size: .85rem; }
  #hero-count { color: #d2dfed; font-variant-numeric: tabular-nums; white-space: nowrap; }
  #hero-photo-name { color: white; text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 540px) {
  .hero-intro { padding-block: 26px clamp(38px,9svh,78px); }
  .hero h1 { font-size: clamp(1.96rem,8.7vw,2.94rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions > * { width: min(100%,375px); }
}
@media (max-width: 640px), (max-width: 920px) and (orientation: landscape) and (pointer: coarse) {
  :root {
    --call-height: 50px;
    --call-bottom: max(16px, env(safe-area-inset-bottom));
    --call-clearance: calc(var(--call-height) + var(--call-bottom) + 10px);
    scroll-padding-bottom: var(--call-clearance);
  }
  .floating-call {
    display: inline-flex;
    position: fixed;
    z-index: 4;
    right: max(var(--edge), env(safe-area-inset-right));
    bottom: var(--call-bottom);
    min-height: var(--call-height);
    border: 1px solid #8f371c;
    border-radius: 999px;
    box-shadow: 0 3px 12px #0e20334d;
  }
  footer { padding-bottom: var(--call-clearance); }
}
@media (max-width: 640px) {
  .hero { min-height: max(400px,calc(100svh - var(--head-height) - 99px - var(--call-clearance))); }
}
@media (max-width: 540px) and (max-height: 650px) {
  .hero-intro { padding-block: 19px 23px; }
}
@media (max-width: 640px) and (max-height: 610px) and (orientation: portrait) {
  /* Let the shortcut sit beside the contact heading while the links remain reachable. */
  .hero-screen .strip-inner { padding-top: calc(var(--call-clearance) - 12px); }
}
@media (max-width: 920px) and (max-height: 510px) and (orientation: landscape) and (pointer: coarse) {
  .floating-call { width: var(--call-height); padding: 0; }
  .floating-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 920px) and (max-height: 510px) {
  .hero { min-height: 0; }
  .hero-intro { padding-block: 22px; }
  .hero h1 { font-size: clamp(1.96rem,6.4vw,3.15rem); }
  .hero-intro .location { margin-bottom: 7px; }
  .hero-aside { margin-top: 9px; }
  .hero-actions { margin-top: 12px; }
}
@media (max-width: 640px) {
  #gallery { width: 100vw; height: 100dvh; margin: 0; border-radius: 0; }
  .gallery-shell { gap: 8px; padding: max(8px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom)); }
  .gallery-top { gap: 6px; }
  .gallery-bottom { display: grid; grid-template-columns: 1fr; gap: 4px; }
  #gallery-caption { padding: 2px 3px; text-align: center; }
}
@media (max-height: 460px) {
  #gallery { width: 100vw; height: 100dvh; margin: 0; border-radius: 0; }
  .gallery-shell { gap: 4px; padding: 4px 12px; }
  .gallery-bottom { display: flex; }
}
