/* Service pages (views/nd/service.ejs) in the homepage's design: photo hero with the headline bottom-left, 72 px
   centred display headings, white cards on #f2f2f2, a dark band with white tiles, a photo band at the end.
   Same tokens and measures as the financing page (public/nd/css/financing.css). Scoped under .svc. */
.svc { --ink: #151515; --ink-2: #3d3d3d; --muted: #5c5c5c; --line: #dcdcdc; --stone: #f2f2f2; --ease: cubic-bezier(.16, 1, .3, 1); --pad: clamp(16px, 4vw, 40px);
  color: var(--ink); font-size: 16px; line-height: 24px; letter-spacing: -.32px; background: #fff; overflow-x: clip; }
.svc *, .svc *::before, .svc *::after { box-sizing: border-box; }
:where(.svc) img { max-width: 100%; display: block; }
:where(.svc) a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.svc :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
/* resets carry zero specificity so every spacing rule below wins (they used to zero all margins) */
:where(.svc) :where(h1, h2, h3) { margin: 0; text-wrap: balance; }
:where(.svc) :where(p) { margin: 0; text-wrap: pretty; }
:where(.svc) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.svc-wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.svc-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--pad); }
.svc-display { font-size: clamp(36px, 4.4vw + 8px, 72px); line-height: 1; font-weight: 600; letter-spacing: clamp(-1.8px, -.025em, -.88px); text-align: center; }
.svc-sub { margin: 28px auto 0; max-width: 900px; text-align: center; }
.svc-sec { padding: clamp(64px, 8vw, 120px) 0; }
.svc-stone { background: var(--stone); }
.svc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.svc .svc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 500 16px/20px 'Inter', sans-serif; letter-spacing: -.32px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.svc .svc-btn:active { transform: scale(.98); }
.svc .svc-btn-white { background: #fff; color: var(--ink); }
.svc .svc-btn-white:hover { background: #ececec; }
.svc .svc-btn-line-w { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.svc .svc-btn-line-w:hover { box-shadow: inset 0 0 0 2px #fff; }

/* hero: photo, headline bottom-left (as on the homepage and the other content pages) */
.svc-hero { position: relative; overflow: hidden; background: #1f2121; color: #fff; min-height: clamp(520px, 72vh, 760px); display: flex; align-items: flex-end; }
.svc-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,21,21,.85) 0%, rgba(21,21,21,.45) 45%, rgba(21,21,21,.12) 75%), linear-gradient(90deg, rgba(21,21,21,.45) 0%, rgba(21,21,21,0) 60%); }
.svc-hero-in { position: relative; padding: 0 16px 28px; width: 100%; }
.svc-hero h1 { font-size: clamp(38px, 4.4vw + 12px, 80px); line-height: .98; font-weight: 500; letter-spacing: -.025em; max-width: 18ch; }
.svc-hero-text { margin: 16px 0 28px; max-width: 620px; text-wrap: balance; font-size: 15px; line-height: 22px; font-weight: 500; }
@media (min-width: 1024px) { .svc-hero-in { padding: 0 clamp(40px, 5.5vw, 120px) 56px; } .svc-hero-text { font-size: 17px; line-height: 24px; } }

/* intro */
.svc-lead { padding-bottom: clamp(48px, 6vw, 80px); }
.svc-lead p { font-size: clamp(18px, .6vw + 15px, 22px); line-height: 1.45; letter-spacing: -.4px; color: var(--ink-2); }
.svc-lead p + p { margin-top: 18px; }
.svc-lead strong { color: var(--ink); font-weight: 600; }
.svc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.svc-facts li { background: var(--stone); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.svc-facts b { font-size: 22px; line-height: 26px; font-weight: 600; letter-spacing: -.6px; }
.svc-facts span { font-size: 14px; line-height: 20px; color: var(--muted); }

/* dark band with white tiles */
.svc-ink { background: var(--ink); color: #fff; }
.svc-ink .svc-sub { color: #e6e6e6; }
.svc-ink .svc-sub strong { color: #fff; }
.svc-tiles { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-tiles-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .svc-tiles-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .svc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.svc-tile { background: #fff; color: var(--ink); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 168px; }
.svc-tile b { font-size: 22px; line-height: 26px; font-weight: 600; letter-spacing: -.5px; }
.svc-tile span { font-size: 15px; line-height: 22px; color: var(--ink-2); }
.svc-tile em { margin-top: auto; font-style: normal; font-size: 13px; line-height: 16px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.svc-note { margin: 28px auto 0; max-width: 70ch; text-align: center; color: #cfcfcf; font-size: 15px; line-height: 22px; }
.svc-note-dark { color: var(--muted); }

/* price cards */
.svc-prices { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 900px; background: #fff; border-radius: 20px; padding: 6px clamp(18px, 3vw, 32px); }
.svc-price { padding: 14px 0; min-height: 68px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; }
.svc-price:last-child { border-bottom: 0; }
.svc-price div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svc-price b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.4px; }
.svc-price span { font-size: 14px; line-height: 20px; color: var(--muted); }
.svc-price strong { font-size: 17px; line-height: 22px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc .svc-price a { font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink); }
.svc .svc-price a:hover { background: var(--ink); color: #fff; }

/* three columns: why us, steps */
.svc-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); text-align: center; }
.svc-cols3 h3 { font-size: clamp(20px, .6vw + 16px, 24px); line-height: 1.17; font-weight: 600; letter-spacing: -.5px; }
.svc-cols3 p { margin-top: 12px; color: var(--ink-2); }
.svc-why li { background: var(--stone); border-radius: 16px; padding: clamp(24px, 2.4vw, 32px); text-align: left; }
.svc-why h3 { font-size: 22px; line-height: 28px; }
.svc-n { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.svc-cost { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 760px; background: #fff; border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.svc-sec:not(.svc-stone) .svc-cost { background: var(--stone); }
.svc-cost h3 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 8px; }
.svc-cost p { color: var(--ink-2); }

/* gallery */
.svc-gallery { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svc-gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin-left: auto; margin-right: auto; }
.svc-gallery li { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--stone); }
.svc-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* questions */
.svc-faq { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.svc-faq details { border-bottom: 1px solid var(--line); }
.svc-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.5px; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 1.7px solid var(--ink); border-bottom: 1.7px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.svc-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.svc-faq details p { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 68ch; }

/* photo band */
.svc-band { position: relative; min-height: clamp(520px, 56vw, 760px); display: grid; place-items: end center; text-align: center; color: #fff; overflow: hidden; background: #1f2121; }
.svc-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.svc-band-in h2 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.svc-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,21,21,.25) 0%, rgba(21,21,21,.35) 40%, rgba(21,21,21,.82) 72%, rgba(21,21,21,.9) 100%); }
.svc-band-in { position: relative; z-index: 1; padding: 96px var(--pad) clamp(56px, 6vw, 88px); }
.svc-band-in > p { margin: 20px auto 28px; max-width: 56ch; font-size: 17px; line-height: 24px; font-weight: 500; }
.svc-band .svc-row { justify-content: center; }
.svc-band-in .svc-band-more { margin: 28px auto 0; font-size: 15px; line-height: 22px; font-weight: 400; color: rgba(255,255,255,.88); max-width: 52ch; }

@media (max-width: 900px) {
  .svc-cols3 { grid-template-columns: 1fr; gap: 36px; }
  .svc-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .svc-facts { grid-template-columns: 1fr; }
  .svc-facts li { padding: 14px 18px; gap: 2px; }
  .svc-facts b { font-size: 19px; line-height: 24px; }
  .svc-price { padding: 14px 0; grid-template-columns: 1fr auto; gap: 2px 14px; }
  .svc-price div { grid-column: 1; grid-row: 1; }
  .svc-price strong { grid-column: 1; grid-row: 2; font-weight: 500; }
  .svc .svc-price a { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .svc-price b, .svc-price strong { font-size: 15px; line-height: 20px; }
  .svc-price span { font-size: 13px; line-height: 18px; }
  .svc .svc-price a { padding: 7px 12px; font-size: 13px; }
  .svc-gallery, .svc-gallery-2, .svc-gallery-4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc-gallery li { border-radius: 12px; }
  .svc-hero-in .svc-row { flex-direction: column; align-items: stretch; }
  .svc-band .svc-row { flex-direction: column; align-items: stretch; }
  .svc-band { min-height: 760px; }
  .svc-band-sep { display: none; }
  .svc-band-hours { display: block; }
  .svc-band > img { object-position: 28% 20%; height: 62%; }
  .svc-band { background: #151515; }
  .svc-faq summary { font-size: 18px; line-height: 25px; }
}
@media (prefers-reduced-motion: reduce) { .svc * { transition: none !important; } }
/* phones: one tile per row, name and label on one line (kept last so it wins over the base tile rules) */
@media (max-width: 560px) {
  .svc-tiles, .svc-tiles-8 { grid-template-columns: 1fr; gap: 10px; }
  .svc-tile { min-height: 0; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; }
  .svc-tile b { font-size: 19px; line-height: 24px; }
  .svc-tile { grid-template-columns: 1fr; }
  .svc-tile em { margin: 4px 0 0; font-size: 11px; line-height: 14px; }
  .svc-tile span { grid-column: 1 / -1; font-size: 14px; line-height: 20px; }
}

/* Photo wall (owner, 2026-11-26): 4 columns (2 on phones), portrait tiles 4:5, landscape tiles span two columns at the same
   height. Collapsed to three rows (four on phones) until "See all"; each photo opens in the viewer below. */
.svc .svc-btn-ink { background: var(--ink); color: #fff; }
.svc .svc-btn-ink:hover { background: var(--ink-2); }
.svc-wall-box { container-type: inline-size; margin-top: clamp(40px, 5vw, 64px); }
/* every row is as tall as a 4:5 portrait tile, so two landscape tiles can share a row */
.svc-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row dense; gap: 12px; grid-auto-rows: calc((100cqw - 36px) / 4 * 1.25); }
.svc-wall li { border-radius: 16px; overflow: hidden; background: var(--stone); min-width: 0; }
.svc-wall li.is-wide { grid-column: span 2; }
.svc-wall li.is-big { grid-column: span 2; grid-row: span 2; }
.svc-wall li.is-tall { grid-row: span 2; }
.svc-wall-btn { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; border-radius: inherit; overflow: hidden; }
.svc-wall-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.svc-wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .svc-wall-btn:hover img { transform: scale(1.04); } }
.svc-wall.is-collapsed li:nth-child(n+12) { display: none; } /* four full rows */
.svc-wall-more { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 36px); }
.svc-wall-more[hidden] { display: none; }
@media (max-width: 899px) {
  .svc-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; grid-auto-rows: calc((100cqw - 8px) / 2 * 1.25); }
  .svc-wall li { border-radius: 12px; }
  .svc-wall.is-collapsed li:nth-child(n+8) { display: none; } /* six full rows */
}
@media (prefers-reduced-motion: reduce) { .svc-wall img { transition: none; } .svc-wall-btn:hover img { transform: none; } }
/* viewer */
.svc-lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #0a0a0a; color: #fff; }
.svc-lb::backdrop { background: rgba(10, 10, 10, .94); }
.svc-lb[open] { display: grid; place-items: center; }
.svc-lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 32px); }
.svc-lb-fig img { max-width: min(1200px, calc(100vw - 160px)); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 12px; display: block; }
.svc-lb-fig figcaption { font-size: 15px; line-height: 22px; color: #d6d6d6; text-align: center; max-width: 60ch; padding: 0 16px; }
.svc-lb-x, .svc-lb-nav { position: fixed; display: grid; place-items: center; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12);
  border-radius: 50%; font: 400 30px/1 Inter, system-ui, sans-serif; transition: background-color .2s; }
.svc-lb-x:hover, .svc-lb-nav:hover { background: rgba(255, 255, 255, .24); }
.svc-lb-x { top: 16px; right: 16px; width: 48px; height: 48px; }
.svc-lb-nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 40px; padding-bottom: 4px; }
.svc-lb-prev { left: 20px; }
.svc-lb-next { right: 20px; }
@media (max-width: 899px) {
  .svc-lb-fig img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 160px); }
  .svc-lb-nav { top: auto; bottom: 20px; transform: none; width: 52px; height: 52px; }
  .svc-lb-prev { left: calc(50% - 64px); }
  .svc-lb-next { right: calc(50% - 64px); }
}

/* Section order follows the booking form (owner, 2026-11-26), so a section can land on either background: cards flip to
   white on a stone band and to stone on a white one. */
.svc-stone .svc-why li { background: #fff; }
.svc-stone .svc-wall li { background: #e6e6e6; }
/* Why cards sit as one set, spaced like the page's other card grids, at the gallery's heading distance */
.svc-cols3.svc-why { gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .svc-cols3.svc-why { gap: 12px; } }
