/* Poole Fencing: seal blue from the logo, sunlit pine boards, white North Florida sand. */
:root {
  --blue: #34567C;
  --blue-dk: #1C324B;
  --blue-xdk: #142538;
  --pine: #E8CF85;
  --pine-dk: #7A5E14;
  --sand: #F1F1EC;
  --ink: #18202A;
  --ink-2: #4A5460;
  --line: #D7D9D2;
  --white: #FFFFFF;
  --head: "Vollkorn", Georgia, "Times New Roman", serif;
  --body: "Hind", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: max(16px, calc((100% - var(--wrap)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); color: var(--blue-dk); margin: 0; line-height: 1.08; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dk); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue-dk); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 8px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 26px; font-family: var(--body); font-weight: 600; font-size: 1.125rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; border-radius: 4px; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dk); color: #fff; }
.btn--line { background: transparent; color: var(--blue-dk); border-color: var(--blue-dk); }
.btn--line:hover { background: var(--blue-dk); color: #fff; }
.btn--pine { background: var(--pine); color: var(--blue-xdk); }
.btn--pine:hover { background: #F3DE9E; color: var(--blue-xdk); }
.btn--full { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-dk); margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.0625rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--pine); }
.top__phone { font-weight: 600; font-size: 1.125rem; color: var(--blue-dk); text-decoration: none; white-space: nowrap; }
.top__phone:hover { color: var(--blue); text-decoration: underline; }
.menu-btn { display: none; width: 48px; height: 48px; border: 2px solid var(--blue-dk); border-radius: 4px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--blue-dk); transition: transform .2s ease, opacity .2s ease; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.scrim { position: fixed; inset: 0; z-index: 44; background: rgba(20, 37, 56, .55); }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 45; width: min(86vw, 340px); background: var(--white); padding: 88px 24px 24px; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu[hidden], .scrim[hidden] { display: none; }
.mobile-menu a { color: var(--blue-dk); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.375rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mobile-menu__call { margin-top: 24px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; text-align: center; font-family: var(--body); font-weight: 600; font-size: 1.125rem; }
.menu-open .top { z-index: 46; }

/* Hero: the headline is split by a long fence line */
.hero { padding-top: clamp(20px, 2.6vw, 40px); }
.hero h1 { font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 5.2rem); line-height: .98; letter-spacing: -0.022em; }
.hero__l1, .hero__l2 { display: block; padding-inline: var(--gut); }
.hero__l2 { padding-left: calc(var(--gut) + clamp(0px, 9vw, 180px)); }
.hero__strip { position: relative; display: block; height: clamp(200px, 23vw, 440px); margin: .2em 0 .16em; background: #9DB9D6; overflow: hidden; }
.hero__strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__cap { position: absolute; right: var(--gut); bottom: 14px; font-family: var(--body); font-size: .875rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; color: var(--white); background: rgba(20, 37, 56, .78); padding: 6px 10px; border-radius: 3px; }
.hero__row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; padding-block: clamp(18px, 2vw, 30px) clamp(36px, 4vw, 60px); }
.hero__lead { margin: 0; font-size: 1.1875rem; max-width: 36em; color: var(--ink); }
.hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rating { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1rem; color: var(--ink-2); }
.rating strong { font-family: var(--head); font-size: 1.375rem; color: var(--blue-dk); font-weight: 800; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: #C9971C; }

/* Facts */
.facts { border-block: 1px solid var(--line); background: var(--sand); }
.facts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 20px 24px; border-left: 1px solid var(--line); font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 700; color: var(--blue-dk); margin-bottom: 2px; }

/* Section shell */
.sec { padding-block: clamp(64px, 7vw, 112px); }
.sec--sand { background: var(--sand); }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.head h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); letter-spacing: -0.015em; }
.head p { margin: 0; max-width: 40em; color: var(--ink-2); }

/* Fence rails: the 4-board line used as a divider */
.rails { position: relative; height: 27px; background:
  linear-gradient(var(--pine) 0 3px, transparent 3px 8px, var(--pine) 8px 11px, transparent 11px 16px, var(--pine) 16px 19px, transparent 19px 24px, var(--pine) 24px 27px); }
.rails::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -4px; background: repeating-linear-gradient(to right, transparent 0 calc(var(--post-gap, 232px) - 10px), #C9B064 calc(var(--post-gap, 232px) - 10px) var(--post-gap, 232px)); background-position: 40px 0; }

/* What's the fence for? */
.uses__jump { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.uses__jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--blue-dk); font-weight: 500; text-decoration: none; font-size: 1.0625rem; }
.uses__jump a:hover { border-color: var(--blue); color: var(--blue); }
.use { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); padding-top: 34px; margin-top: 46px; position: relative; }
.use::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--blue-dk); }
.use:first-of-type { margin-top: 0; }
.use__text { align-self: start; position: sticky; top: 100px; }
.use__text h3 { font-size: clamp(1.75rem, 2.6vw, 2.375rem); letter-spacing: -0.01em; margin-bottom: 14px; }
.use__text > p { color: var(--ink); }
.job { margin: 22px 0 0; padding: 0; }
.job div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.job div:last-child { border-bottom: 1px solid var(--line); }
.job dt { font-weight: 600; color: var(--ink-2); font-size: 1rem; padding-top: 2px; }
.job dd { margin: 0; font-size: 1.0625rem; line-height: 1.45; }
.use__note { margin: 18px 0 0; padding-left: 16px; border-left: 4px solid var(--pine); font-size: 1.0625rem; color: var(--ink); }
.use__note cite { display: block; margin-top: 6px; font-style: normal; font-size: .9375rem; color: var(--ink-2); }
.use__also { margin: 18px 0 0; font-size: 1rem; color: var(--ink-2); }
.use__photos { display: grid; gap: 10px; align-content: start; }
.use__photos figure { margin: 0; position: relative; overflow: hidden; background: var(--sand); border-radius: 3px; }
.use__photos img { width: 100%; height: 100%; object-fit: cover; }
.use__photos figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); font-size: .875rem; line-height: 1.3; color: #fff; background: rgba(20, 37, 56, .78); padding: 5px 9px; border-radius: 3px; }
.ph-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph-pair figure { aspect-ratio: 4 / 3; }
.ph-pair figure.is-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.ph-stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(420px, 44vw, 640px); }
.ph-stack figure.is-tall { grid-row: span 2; }

/* Reviews */
.reviews { background: var(--blue-dk); color: #E6EBF1; }
.reviews h2 { color: var(--white); }
.reviews__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.reviews__side { align-self: start; position: sticky; top: 110px; }
.score { margin: 28px 0 0; display: flex; align-items: baseline; gap: 14px; }
.score__num { font-family: var(--head); font-weight: 800; font-size: clamp(4.5rem, 8vw, 7rem); line-height: .9; color: var(--pine); }
.score__txt { font-size: 1.0625rem; line-height: 1.4; color: #C9D3DE; }
.reviews .stars svg { fill: var(--pine); width: 22px; height: 22px; }
.reviews__note { margin-top: 22px; font-size: 1rem; color: #AFBccA; max-width: 22em; }
.quotes { columns: 2; column-gap: 48px; }
.quote { break-inside: avoid; margin: 0 0 34px; }
.quote p { margin: 0 0 10px; font-size: 1.125rem; line-height: 1.6; color: #F2F5F8; }
.quote footer { font-size: .9375rem; color: #AFBCCA; }
.quote cite { font-style: normal; font-weight: 600; color: var(--white); }
.quote--lead { column-span: all; margin-bottom: 40px; padding-left: 22px; border-left: 4px solid var(--pine); }
.quote--lead p { font-family: var(--head); font-weight: 500; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.4; }
.quote--lead .quote__reply { margin-top: 16px; font-family: var(--body); font-weight: 400; font-size: 1.0625rem; line-height: 1.55; color: #C9D3DE; }

/* Gallery */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; gap: 10px; }
.shot { padding: 0; border: 0; margin: 0; cursor: zoom-in; background: var(--line); overflow: hidden; border-radius: 3px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.shot:hover img { transform: scale(1.03); }
.shot--big { grid-column: span 2; grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.shot--tall { grid-row: span 2; }
.op-low img { object-position: 50% 82%; }

/* Crew */
.crew__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.crew__photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.crew__photos figure { margin: 0; border-radius: 3px; overflow: hidden; }
.crew__photos figure:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.crew__photos figure:not(:first-child) { aspect-ratio: 4 / 3; }
.crew__photos img { width: 100%; height: 100%; object-fit: cover; }
.crew__text h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); margin-bottom: 20px; }
.people { list-style: none; margin: 24px 0 0; padding: 0; }
.people li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.people li:last-child { border-bottom: 1px solid var(--line); }
.people b { font-family: var(--head); font-weight: 700; color: var(--blue-dk); font-size: 1.125rem; }

/* Service area */
.area__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); }
.area h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); margin-bottom: 18px; }
.area__home { font-family: var(--head); font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; color: var(--blue-dk); line-height: 1.3; }
.area__sub { font-size: 1.375rem; margin: 6px 0 14px; }
.crew__more { margin-top: 22px; color: var(--ink-2); }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.log li:last-child { border-bottom: 1px solid var(--line); }
.log b { font-family: var(--head); font-weight: 700; font-size: 1.375rem; color: var(--blue-dk); line-height: 1.2; }
.log span { font-size: 1.0625rem; color: var(--ink-2); }

/* Quote */
.quote-sec__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-sec h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); margin-bottom: 12px; }
.form { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--white); border: 1.5px solid #A9AFB5; border-radius: 4px; padding: 12px 14px; min-height: 52px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--pine); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.form-err { grid-column: 1 / -1; margin: 0; min-height: 1.2em; color: #B3261E; font-weight: 600; font-size: 1rem; }
.form .btn { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .9375rem; color: var(--ink-2); }
.contact { background: var(--sand); border-top: 6px solid var(--blue-dk); padding: 28px 28px 30px; border-radius: 0 0 4px 4px; }
.contact h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact__phone { display: inline-block; font-family: var(--head); font-weight: 800; font-size: clamp(1.75rem, 2.6vw, 2.25rem); color: var(--blue-dk); text-decoration: none; line-height: 1.1; margin: 4px 0 6px; }
.contact__phone:hover { color: var(--blue); }
.contact p { font-size: 1.0625rem; }
.hours { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: 1.0625rem; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--blue-dk); }
.contact__sub { margin-top: 26px; }

/* Footer */
.foot { background: var(--blue-xdk); color: #C9D3DE; padding: 0 0 44px; }
.foot { padding-top: 14px; }
.foot .rails::before { top: -9px; bottom: -6px; }
.foot .rails { margin-bottom: 40px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3.5fr)); gap: 32px; font-size: 1rem; }
.foot__brand { display: flex; gap: 14px; align-items: center; }
.foot__brand img { width: 64px; height: 64px; border-radius: 50%; }
.foot__name { font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--white); margin: 0; line-height: 1.1; }
.foot p { margin: 0 0 6px; }
.foot a { color: var(--white); }
.foot a:hover { color: var(--pine); }

.sticky-book { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 24, 36, .96); color: #fff; }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; padding-inline: 84px; text-align: center; font-size: 1.0625rem; color: #E3E8EE; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__btn:hover { background: #fff; color: var(--blue-dk); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Laptop */
@media (max-width: 1400px) {
  .hero__strip { height: clamp(200px, 21vw, 330px); }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav, .top__phone { display: none; }
  .menu-btn { display: inline-flex; }
  .hero__row { grid-template-columns: 1fr; gap: 22px; }
  .hero__side { justify-self: start; }
  .head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .use { grid-template-columns: 1fr; }
  .use__text, .reviews__side { position: static; }
  .reviews__in, .crew__in, .area__in, .quote-sec__in { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__in > :first-child { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 700px) {
  body { font-size: 1.0625rem; }
  .top__in { min-height: 64px; gap: 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 1.3125rem; }
  .hero { padding-top: 18px; }
  .hero h1 { font-size: clamp(2.25rem, 10.4vw, 2.75rem); line-height: 1.02; }
  .hero__l2 { padding-left: var(--gut); }
  .hero__strip { height: 54vw; min-height: 190px; margin: .28em 0 .22em; }
  .hero__cap { font-size: .8125rem; bottom: 10px; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__side { width: 100%; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .facts li { padding: 14px 12px; font-size: .9375rem; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(even) { padding-right: 0; }
  .facts b { font-size: 1.125rem; }
  .sec { padding-block: 56px; }
  .head h2, .crew__text h2, .area h2, .quote-sec h2 { font-size: 2.125rem; }
  .use { padding-top: 26px; margin-top: 36px; }
  .uses__jump { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .uses__jump a { width: 100%; font-size: 1rem; padding: 6px 10px; line-height: 1.25; }
  .job div { grid-template-columns: 6em minmax(0, 1fr); }
  .ph-stack { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ph-stack figure { aspect-ratio: 4 / 3; }
  .ph-stack figure.is-tall { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 3; }
  .ph-pair figure.is-wide { aspect-ratio: 16 / 10; }
  .use__photos figure, .ph-stack figure, .ph-pair figure, .ph-pair figure.is-wide, .ph-stack figure.is-tall { aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; }
  .use__photos img { aspect-ratio: 4 / 3; height: auto; border-radius: 3px; }
  .use__photos figure.is-wide img, .use__photos figure.is-tall img { aspect-ratio: 16 / 10; }
  .use__photos figcaption { position: static; max-width: none; background: none; color: var(--ink-2); padding: 6px 0 0; font-size: .875rem; }
  .use__photos { row-gap: 14px; }
  .quotes { columns: 1; }
  .quote--lead { padding-left: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 8px; }
  .shot--big { grid-column: span 2; grid-row: span 1; }
  .shot--tall { grid-row: span 1; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
  .form { grid-template-columns: 1fr; }
  .contact { padding: 22px 18px 24px; }
  .foot { padding-bottom: calc(44px + 78px); }
  .foot__in { grid-template-columns: 1fr; }
  .sticky-book { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -14px rgba(20, 37, 56, .6); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; min-height: 54px; padding-inline: 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 74px; transform: none; }
  .lightbox__cap { bottom: 16px; padding-inline: 16px; font-size: 1rem; }
  .lightbox img { max-height: 68vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
