/* Option F: Interactive x Hometown. Loaded after theme-e.css.
   Hometown's navy + red and condensed uppercase type over E's interactive layout. */
:root {
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Barlow, system-ui, sans-serif;
  --navy: #0a2350;
  --ink: #0b1d3d;
  --red: #d7263d;
  --red-d: #b51c31;
  --red-soft: #ff6b7d;
  --blue: var(--red);          /* E's primary-action colour becomes Hometown red */
  --sun: var(--red);           /* selected / live highlights */
  --sky: #edf1f7;
  --sky-2: #d9e2ef;
  --cloud: #f5f7fb;
  --muted: #55627a;
  --r: 10px;
}
.v-f h1, .v-f h2, .v-f h3, .v-f .picker__ask { text-transform: uppercase; letter-spacing: .005em; font-weight: 800; }
.v-f h2 { font-size: clamp(38px, 5vw, 62px); line-height: .98; }
.v-f h3 { font-size: clamp(26px, 2.6vw, 34px); }
.v-f .eyebrow { color: var(--red); font-weight: 600; letter-spacing: .02em; }

/* buttons: squarer, uppercase */
.v-f .btn { border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; }
.v-f .btn--blue:hover { background: var(--navy); }
.v-f .btn--white { color: var(--navy); }
.v-f .btn--white:hover { background: var(--red); color: #fff; }
.v-f .nav a { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; border-radius: 6px; }
.v-f .nav a:hover { color: var(--red); }
.v-f :focus-visible { outline-color: var(--red); }

/* top bar in red, like Hometown */
.v-f .topbar { background: var(--red); }
.v-f .topbar .open.is-closed i { background: #fff; }

/* hero: navy panel, headline + house picker */
.v-f .hero__panel { background: radial-gradient(1100px 620px at 85% 0%, #17407f 0%, var(--navy) 62%); border-radius: var(--r); }
.v-f .hero__panel::before { display: none; }
.v-f .hero h1 { font-size: clamp(50px, 6.6vw, 92px); line-height: .92; text-shadow: 0 2px 18px rgba(10,35,80,.6); }
.v-f .chip { background: rgba(255,255,255,.1); border-radius: 6px; letter-spacing: .03em; }
.v-f .star { color: var(--red-soft); }
.v-f .picker { border-radius: var(--r); border-top: 6px solid var(--red); }

/* owner: small portrait, used as a personal sign-off */
.owner-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); text-decoration: none; color: #fff; transition: background .2s; }
.owner-card:hover { background: rgba(255,255,255,.14); }
.owner-card img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px var(--red); }
.owner-card span { display: flex; flex-direction: column; line-height: 1.2; }
.owner-card b { font: 800 19px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.owner-card small { font-size: 13.5px; color: rgba(255,255,255,.72); letter-spacing: .02em; }

.v-f .stats { margin-top: 0; gap: 0; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); }
.v-f .stat { border-radius: 0; align-items: center; text-align: center; padding: 24px 16px; }
.v-f .stat + .stat { border-left: 1px solid var(--line); }
.v-f .stat b { color: var(--red); font-size: clamp(40px, 5vw, 58px); }
.v-f .stat span { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.v-f .stat--vet { background: var(--navy); border-radius: 0 0 var(--r) 0; }
.v-f .stat--vet b { color: #fff; }

/* house picker */
.v-f .room .hit { fill: var(--sky); }
.v-f .room[data-k="repair"] .hit { fill: #1a3f7a; }
.v-f .room:hover .hit, .v-f .room:focus-visible .hit { fill: var(--sky-2); }
.v-f .room[data-k="repair"]:hover .hit { fill: #24519a; }
.v-f .room.on .hit, .v-f .room[data-k="repair"].on .hit { fill: var(--red); }
.v-f .room.on text { fill: #fff; }
.v-f .room.on .h-ink { stroke: #fff; }
.v-f .room text { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.v-f .h-roof, .v-f .h-chim { fill: var(--navy); }

/* services: tabs, compare */
.v-f .tab { border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.v-f .tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); }
.v-f .panel { border-radius: var(--r); }
.v-f .compare, .v-f .shot { border-radius: 8px; }
.v-f .compare, .v-f .compare .plan, .v-f .plan--photo { background-color: #0f3270; }
.v-f .handle::after { background: var(--red); color: #fff; }
.v-f .compare__tag--r { background: var(--red); }
.v-f .note { background: var(--red); color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.v-f .tblock__keys b { background: var(--red); color: #fff; }
.v-f .dimlabel { background: #0f3270; }
.v-f .tags li { border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; font-size: 13.5px; font-weight: 700; }

/* about */
.v-f .promises li { border-radius: var(--r); text-transform: uppercase; letter-spacing: .02em; }
.v-f .promises li::before { background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.v-f .spec { border-radius: var(--r); border-top: 6px solid var(--navy); }

/* estimate (navy block) */
.v-f .estimate { border-radius: var(--r); }
.v-f .estimate .eyebrow { color: var(--red-soft); }
.v-f .reach li { border-radius: 8px; }
.v-f .wiz { border-radius: var(--r); border-top: 6px solid var(--red); }
.v-f .svc-pick button { border-radius: 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 19px; }
.v-f .svc-pick button[aria-pressed="true"] { border-color: var(--red); background: #fdecee; }
.v-f .opts button { border-radius: 6px; }
.v-f .opts button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.v-f .wiz__steps li.done { background: var(--red); }
.v-f .fields input, .v-f .fields textarea, .v-f .check input, .v-f .search input { border-radius: 6px; }
.v-f .fields input:focus, .v-f .fields textarea:focus, .v-f .check input:focus, .v-f .search input:focus { border-color: var(--red); }

/* areas, faq, cta, footer */
.v-f .map { border-radius: var(--r); }
.v-f .town.on circle { fill: var(--red); stroke: #fff; }
.v-f .town--home circle { fill: var(--navy); }
.v-f .town--home text { fill: var(--navy); }
.v-f .q { border-radius: 8px; }
.v-f .q summary { font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.v-f .q summary::after { border-radius: 50%; color: var(--red);
  background: linear-gradient(currentColor, currentColor) center / 12px 2.5px no-repeat, linear-gradient(currentColor, currentColor) center / 2.5px 12px no-repeat, var(--sky); }
.v-f .q[open] summary::after { color: #fff;
  background: linear-gradient(currentColor, currentColor) center / 12px 2.5px no-repeat, linear-gradient(currentColor, currentColor) center / 2.5px 12px no-repeat, var(--red); }
.v-f .q mark { background: #ffd6dc; }
.v-f .cta__panel { background: var(--red); border-radius: var(--r); }
.v-f .cta__panel .btn--white:hover { background: var(--navy); }
.v-f .ft { border-top: 6px solid var(--red); }
.v-f .mbar { border-radius: 10px; }
.v-f .mbar a { border-radius: 8px; text-transform: uppercase; letter-spacing: .05em; }
.v-f .mbar a:nth-child(2) { background: var(--red); color: #fff; }

@media (max-width: 1080px) {
}
@media (max-width: 860px) {
  .v-f .stats { grid-template-columns: 1fr 1fr; }
  .v-f .stat:nth-child(3) { border-left: 0; }
  .v-f .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .v-f .stat--vet { border-radius: 0 0 var(--r) 0; }
}
@media (max-width: 600px) {
  .owner-card { margin-top: 22px; }
  .owner-card img { width: 48px; height: 48px; }
}

/* blueprint drawings that draw and un-draw themselves (hero + behind Robert) */
.draw-loop .ln { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw-loop .ln.cl { stroke-dashoffset: 0; opacity: 0; }

/* hero */
.v-f .hero__panel { position: relative; isolation: isolate; }
.v-f .hero__copy, .v-f .picker { position: relative; z-index: 1; }
.bp-anim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bp-anim .c { stroke: rgba(255,255,255,.16); stroke-width: 1; }
.bp-anim .cl { stroke: rgba(255,255,255,.16); stroke-width: 1; }
.bp-anim .k { stroke: rgba(255,255,255,.5); stroke-width: 2.6; }
.bp-anim .s { stroke: rgba(130,180,255,.6); stroke-width: 1.6; }
.bp-anim .arc { stroke: rgba(255,255,255,.22); stroke-width: 1.2; }
.bp-anim .dim { stroke: rgba(255,107,125,.9); stroke-width: 1.6; }

/* behind Robert: an architectural floor plan, fading out at the edges */
.orbit { position: relative; isolation: isolate; }
.orbit__plan { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(780px, 72%); height: auto; transform: translate(-50%, -50%); overflow: visible; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 96%); mask-image: radial-gradient(closest-side, #000 50%, transparent 96%); }
.orbit__plan .ax { stroke: rgba(10,35,80,.28); stroke-width: 1; stroke-dasharray: 18 5 3 5 !important; }
.orbit__plan .ext { stroke: rgba(10,35,80,.35); stroke-width: 1; }
.orbit__plan .wall { stroke: rgba(10,35,80,.62); stroke-width: 7; stroke-linecap: square; }
.orbit__plan .wall2 { stroke: rgba(10,35,80,.5); stroke-width: 4.5; stroke-linecap: square; }
.orbit__plan .win { stroke: rgba(10,35,80,.45); stroke-width: 1.2; }
.orbit__plan .door { stroke: rgba(10,35,80,.45); stroke-width: 1.3; }
.orbit__plan .stair { stroke: rgba(10,35,80,.42); stroke-width: 1.2; }
.orbit__plan .dim { stroke: rgba(215,38,61,.7); stroke-width: 1.3; }
.orbit__plan .tag circle { fill: var(--cloud); stroke: rgba(10,35,80,.45); stroke-width: 1.2; }
.orbit__plan .tag text { font: 600 13px var(--body); fill: rgba(10,35,80,.6); letter-spacing: .04em; }
.orbit__center img { position: relative; z-index: 1; }

/* about: Robert at the centre, promises and services around him */
.about--f .head--center { text-align: center; margin-inline: auto; }
.about--f .head--center .eyebrow { justify-content: center; }
.orbit { display: grid; grid-template-columns: 1fr minmax(280px, 360px) 1fr; gap: 56px; align-items: center; margin: 12px 0 40px; }
.orbit > * { min-width: 0; }
.orbit__side { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.orbit__side li { position: relative; }
.orbit__side li::after { content: ""; position: absolute; top: 50%; width: 44px; height: 2px; }
.orbit__side--l li::after { right: -50px; background: linear-gradient(90deg, var(--red), rgba(215,38,61,0)); }
.orbit__side--r li::after { left: -50px; background: linear-gradient(270deg, var(--navy), rgba(10,35,80,0)); }
.orbit__side--l li { background: var(--navy); color: #fff; border-radius: var(--r); padding: 20px 22px 20px 64px; font: 800 clamp(19px, 1.7vw, 23px)/1.12 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.orbit__side--l li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.orbit__side--r a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; padding: 14px 18px; text-decoration: none; color: var(--navy); font: 700 18px/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; transition: transform .2s, border-color .2s; }
.orbit__side--r a:hover { transform: translateX(4px); border-color: var(--red); }
.orbit__side--r a span { color: var(--red); }
.orbit__center { margin: 0; position: relative; aspect-ratio: 1 / 1.08; display: flex; justify-content: center; align-items: flex-end; }
.orbit__center img { position: relative; z-index: 1; width: 76%; height: auto; }
.orbit__center figcaption { position: absolute; z-index: 2; bottom: 6%; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font: 600 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 6px; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.orbit__center figcaption b { font-weight: 800; }
.about--f .about__text { columns: 2; column-gap: 48px; color: var(--muted); max-width: 1000px; margin: 0 auto; }
.about--f .about__text p { break-inside: avoid; }
.about--f .sig a { color: var(--navy); font-weight: 700; }
@media (max-width: 960px) {
  .orbit { grid-template-columns: 1fr; gap: 20px; }
  .orbit__center { order: -1; width: min(360px, 100%); margin: 0 auto; }
  .orbit__plan { top: 0; width: min(560px, 140%); transform: translate(-50%, -6%); }
  .orbit__side li::after { display: none; }
  .about--f .about__text { columns: 1; }
}
/* specialties as their own section after services (F) */
.about--f { overflow-x: clip; }

/* section heads: title left, intro right, so the right half isn't empty */
.v-f .services .head, .v-f .specialties-f .head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 32px; }
.v-f .services .head > .eyebrow, .v-f .specialties-f .head > .eyebrow { grid-column: 1; }
.v-f .services .head > h2, .v-f .specialties-f .head > h2 { grid-column: 1; margin-bottom: 0; }
.v-f .services .head > p:not(.eyebrow), .v-f .specialties-f .head > p:not(.eyebrow) { grid-column: 2; grid-row: 2; margin: 0; padding-top: .35em; font-size: 16.5px; line-height: 1.65; }
.v-f .specialties-f .head--small { margin-top: 0; }
@media (max-width: 860px) {
  .v-f .services .head, .v-f .specialties-f .head { grid-template-columns: 1fr; }
  .v-f .services .head > p:not(.eyebrow), .v-f .specialties-f .head > p:not(.eyebrow) { grid-column: 1; grid-row: auto; margin-top: 16px; }
}

/* specialty cards: the original counters on top, navy middle card, staggered rise, hover lift */
.v-f .specs { gap: 16px; align-items: stretch; }
.spec--f { position: relative; display: flex; flex-direction: column; border-top: 0 !important; padding: 28px 28px 30px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px rgba(10,35,80,.5);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, opacity .7s ease calc(var(--d) * .16s), translate .7s cubic-bezier(.2,.7,.2,1) calc(var(--d) * .16s); }
.spec--f::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: var(--r) var(--r) 0 0; background: var(--navy); transition: background .3s; }
.spec--f:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -30px rgba(10,35,80,.55); }
.spec--f:hover::before { background: var(--red); }
.spec__stat { display: flex; align-items: baseline; gap: 12px; }
.spec__stat b { font: 800 clamp(52px, 5.4vw, 72px)/.9 var(--display); color: var(--red); letter-spacing: -.01em; }
.spec__stat > span { font: 600 13px/1.3 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); max-width: 120px; }
.spec__rule { display: block; height: 2px; margin: 20px 0 18px; background: linear-gradient(90deg, var(--red) 0 48px, var(--line) 48px); transform-origin: left; transform: scaleX(1); transition: transform 1s cubic-bezier(.2,.7,.2,1) calc(var(--d) * .16s + .3s); }
.spec--f h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 12px; }
.spec--f p { font-size: 15.5px; line-height: 1.65; }
.spec--f:nth-child(2) { background: var(--navy); }
.spec--f:nth-child(2)::before { background: var(--red); }
.spec--f:nth-child(2) h3, .spec--f:nth-child(2) .spec__stat b { color: #fff; }
.spec--f:nth-child(2) p, .spec--f:nth-child(2) .spec__stat > span { color: rgba(255,255,255,.72); }
.spec--f:nth-child(2) .spec__rule { background: linear-gradient(90deg, var(--red) 0 48px, rgba(255,255,255,.18) 48px); }
.specs-js .spec--f:not(.in) { opacity: 0; translate: 0 28px; }
.specs-js .spec--f:not(.in) .spec__rule { transform: scaleX(0); }
.v-f .about--f .about__text p:last-child { margin-bottom: 0; }

/* section divider: a drafting line with end ticks, drawn outward from a small red roof */
.sep { display: flex; align-items: center; gap: 14px; height: 24px; }
.sep__line { flex: 1; height: 1px; background: rgba(10,35,80,.22); position: relative; transform: scaleX(1); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .15s; }
.sep__line:first-child { transform-origin: right; }
.sep__line:last-child { transform-origin: left; }
.sep__line::after { content: ""; position: absolute; top: -7px; width: 1px; height: 15px; background: rgba(10,35,80,.45); transform: rotate(45deg); }
.sep__line:first-child::after { left: 0; }
.sep__line:last-child::after { right: 0; }
.sep__mark { width: 44px; height: 24px; flex: none; overflow: visible; }
.sep__mark path { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .8s ease; }
.sep__mark .sep__thin { stroke: var(--navy); stroke-width: 1.5; }
.seps-js .sep:not(.in) .sep__line { transform: scaleX(0); }
.seps-js .sep:not(.in) .sep__mark path { stroke-dashoffset: 1; }

/* equal space above and below every divider */
.v-f main > section:not(.hero):not(.cta):not(.estimate) { padding-block: clamp(36px, 4.5vw, 60px); }
.v-f .estimate { margin-block: clamp(36px, 4.5vw, 60px); }
.v-f .answer:empty { min-height: 0; margin-top: 0; }
.v-f .services__hint { margin-bottom: 0; }

/* closing call-to-action: two columns, contact panel on the right, faint blueprint grid on the red */
.cta__panel--f { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); row-gap: 8px; align-items: start; position: relative; overflow: hidden; isolation: isolate;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 32px 32px; }
.cta__panel--f > h2 { grid-column: 1; grid-row: 1; margin-bottom: 18px; text-wrap: balance; }
.cta__panel--f .cta__body { grid-column: 1; grid-row: 2; margin: 0; max-width: none; font-size: 16.5px; line-height: 1.7; }
.cta__card { grid-column: 2; grid-row: 1 / span 2; align-self: center; background: var(--navy); border-radius: var(--r); padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.cta__label { margin: 0; font: 600 13px/1.3 var(--body); text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.cta__phone { display: block; margin: 6px 0 14px; font: 800 clamp(38px, 4vw, 54px)/1 var(--display); color: #fff; text-decoration: none; letter-spacing: .01em; }
.cta__phone:hover { color: #ffd6dc; }
.cta__open { margin: 0 0 14px; color: #fff; }
.cta__hours { list-style: none; margin: 0 0 22px; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.16); display: grid; gap: 6px; color: rgba(255,255,255,.8); font-size: 15px; }
.cta__hours li { display: flex; justify-content: space-between; gap: 12px; }
.cta__card .btn--white:hover { background: var(--red); color: #fff; }
@media (max-width: 860px) {
  .cta__panel--f { grid-template-columns: 1fr; row-gap: 24px; }
  .cta__card { grid-column: 1; grid-row: auto; }
}

.cta__card .btn { width: 100%; }

/* project gallery: mosaic of mixed tile sizes, filters, show more, full-screen viewer */
.gallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.gallery__head h2 { margin: 0; }
.gfilters { display: flex; flex-wrap: wrap; gap: 8px; }
.gf { font: 700 14px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 11px 16px; border-radius: 6px; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.gf:hover { border-color: var(--red); }
.gf[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ggrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; }
.gtile { position: relative; border: 0; padding: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--navy); isolation: isolate; animation: gin .45s ease both; }
.ggrid:not(.is-filtered) .gtile:nth-child(10n+1) { grid-column: 1 / span 2; grid-row: span 2; }
.ggrid:not(.is-filtered) .gtile:nth-child(10n+6) { grid-column: 3 / span 2; grid-row: span 2; }
.gtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gtile:hover img { transform: scale(1.06); }
.gtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,35,80,.75)); opacity: .9; transition: opacity .3s; z-index: 1; }
.gtile__tag { position: absolute; left: 14px; bottom: 12px; z-index: 2; font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--red); padding: 7px 10px; border-radius: 5px; }
.gtile--ph { background-color: #12336e; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 24px 24px; transition: background-color .3s; }
.gtile--ph:hover { background-color: #17407f; }
.gph { position: absolute; inset: 0; display: grid; place-items: center; }
.gph svg, .lb__ph svg { width: 54px; height: auto; fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.6; stroke-linejoin: round; transition: transform .4s; }
.gtile--ph:hover .gph svg { transform: scale(1.12); }
.gtile__ph { position: absolute; right: 14px; bottom: 14px; z-index: 2; font: 500 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.gtile:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@keyframes gin { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.gmore { display: flex; justify-content: center; margin-top: 22px; }
.gmore [hidden] { display: none; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6,20,48,.94); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 12px; padding: 56px 16px 32px; animation: lbin .25s ease; }
.lb[hidden] { display: none; }
@keyframes lbin { from { opacity: 0; } }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lb__media { width: min(1100px, 100%); aspect-ratio: 3 / 2; max-height: 76vh; display: grid; place-items: center; }
.lb__media img { max-width: 100%; max-height: 76vh; border-radius: 8px; object-fit: contain; }
.lb__ph { width: 100%; height: 100%; border-radius: 10px; display: grid; place-content: center; justify-items: center; gap: 14px; color: rgba(255,255,255,.65); font: 600 14px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  background-color: #12336e; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 32px 32px; }
.lb__ph svg { width: 90px; }
.lb figcaption { display: flex; gap: 16px; align-items: center; color: #fff; font: 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.lb__count { color: rgba(255,255,255,.6); font-family: var(--body); font-weight: 500; }
.lb__nav, .lb__close { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s; }
.lb__nav:hover, .lb__close:hover { background: var(--red); }
.lb__close { position: absolute; top: 14px; right: 14px; font-size: 28px; line-height: 1; }
@media (max-width: 860px) {
  .ggrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .ggrid:not(.is-filtered) .gtile:nth-child(10n+6) { grid-column: 1 / span 2; }
}
@media (max-width: 600px) {
  .lb { grid-template-columns: 1fr; padding: 64px 12px 24px; }
  .lb__nav { position: absolute; bottom: 18px; }
  .lb__prev { left: 18px; } .lb__next { right: 18px; }
  .gtile__ph { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gtile, .lb { animation: none; } }

/* reviews: original text left, Google rating card right; stars fill in one by one */
.reviews-f__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.reviews-f__in > * { min-width: 0; }
.reviews-f h2 { margin-bottom: 16px; }
.reviews-f__body { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 0; }
.rate { background: #fff; border-radius: var(--r); border-top: 6px solid var(--red); padding: 34px 28px 30px; text-align: center; box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px rgba(10,35,80,.55); }
.rate__g { width: 44px; height: 44px; display: block; margin: 0 auto 12px; }
.rate__label { margin: 0; font: 700 14px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.rate__score { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 6px; flex-wrap: wrap; }
.rate__score b { font: 800 clamp(64px, 7vw, 92px)/.9 var(--display); color: var(--navy); }
.rate__stars { display: flex; gap: 4px; }
.rate__stars i { width: 34px; height: 34px; display: block; }
.rate__stars svg { width: 100%; height: 100%; fill: #fbbc05; }
.rate__src { margin: 0; color: var(--muted); font-size: 14px; }
.stars-js .rate:not(.in) .rate__stars i { transform: scale(.2); opacity: 0; }
.stars-js .rate__stars i { transition: transform .5s cubic-bezier(.3,1.6,.5,1) calc(var(--s) * .14s + .2s), opacity .3s ease calc(var(--s) * .14s + .2s); }
@media (max-width: 860px) { .reviews-f__in { grid-template-columns: 1fr; } .rate { max-width: 420px; } }

/* small galleries (fewer than 5 photos): photos side by side at their own proportions, equal height */
.ggrid--few { display: flex; gap: 12px; }
.ggrid--few .gtile { grid-column: auto !important; grid-row: auto !important; min-width: 0; height: auto; }
.ggrid--few .gtile[hidden] { display: none; }

/* gallery: justified rows. Every photo keeps its proportions; rows share one height and fill the width. */
.ggrid { display: flex !important; flex-wrap: wrap; gap: 12px; --rh: 260px; }
.ggrid .gtile { grid-column: auto !important; grid-row: auto !important; flex: none; width: calc(var(--r) * var(--rh)); height: var(--rh); max-width: 100%; min-width: 0; }
.ggrid .gtile[hidden] { display: none; }
@media (max-width: 860px) { .ggrid { --rh: 180px; } }
@media (max-width: 480px) { .ggrid { --rh: 130px; gap: 8px; } }

/* gallery carousel ("All"): single row, glides left, loops; arrows on the sides, soft fade at the edges */
.gstage { position: relative; }
.ggrid.is-carousel { flex-wrap: nowrap !important; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); }
.ggrid.is-carousel::-webkit-scrollbar { display: none; }
.ggrid.is-carousel:active { cursor: grabbing; }
.ggrid.is-carousel .gtile { flex: none; animation: none; }
.ggrid.is-carousel img { -webkit-user-drag: none; user-select: none; }
.gcar-nav { display: none; }
.gstage.is-carousel .gcar-nav { display: grid; place-items: center; position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(10,35,80,.5); transition: background .2s, color .2s, transform .2s; }
.gstage.is-carousel .gcar-nav:hover { background: var(--red); color: #fff; transform: scale(1.06); }
.gcar-nav--prev { left: -12px; }
.gcar-nav--next { right: -12px; }
@media (max-width: 600px) { .gstage.is-carousel .gcar-nav { width: 40px; height: 40px; margin-top: -20px; } .gcar-nav--prev { left: 4px; } .gcar-nav--next { right: 4px; } }
