.wrap { width: min(calc(100% - var(--gutter) * 2), var(--max-w)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 16px; padding-block: 8px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-ink); font: 600 1.65rem/1.15 "Newsreader", Georgia, serif; text-decoration: none; white-space: nowrap; }
.desktop-nav, .header-inner .header-cta { display: none; }
.lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.header-inner > .lang-switch { grid-column: 1 / -1; grid-row: 2; }
.lang-switch a { display: flex; align-items: center; justify-content: center; padding: 9px 4px 6px; border-bottom: 3px solid transparent; min-width: 44px; min-height: 44px; color: var(--c-muted); font-size: .875rem; text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--c-ink); border-color: var(--c-accent); }
.lang-switch a:hover { background: var(--c-tint); }
.menu-toggle { grid-column: 2; grid-row: 1; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 10px; width: 48px; height: 48px; border: 1px solid var(--c-line); background: transparent; color: var(--c-ink); }
.icon-button:hover { background: var(--c-tint); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 24px; border: 1.5px solid var(--c-accent); background: var(--c-accent); color: var(--c-accent-ink); font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; transition: background 150ms ease; }
.button:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); }
.secondary, .secondary-link { color: var(--c-ink); background: transparent; border: 1.5px solid var(--c-ink); }
.secondary:hover, .secondary-link:hover { color: var(--c-ink); border-color: var(--c-ink); background: var(--c-tint); }
.secondary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; font-size: var(--fs-0); font-weight: 500; text-align: center; text-decoration: none; }
.hero { padding-block: 40px 56px; display: grid; gap: 36px; }
.hero-copy { align-self: center; animation: hero-type 520ms var(--ease) both; }
.kicker { color: var(--c-muted); font-size: var(--fs-0); margin-bottom: 20px; }
.hero h1 { max-width: 13ch; }
html:not([data-lang="en"]) .hero h1 { max-width: 18ch; }
.hero-subline { margin-top: 24px; color: var(--c-muted); max-width: 43ch; }
.hero-actions { display: grid; gap: 12px; margin-top: 28px; align-items: start; justify-items: start; }
.fact-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.fact-chips li { padding: 5px 10px; border: 1px solid var(--c-line); background: var(--c-tint); font-size: .75rem; }
@media (max-width: 767px) {
  /* Reserve the final four lines/two chip rows while Sinhala fonts arrive.
     Minimums allow narrower screens and larger text to grow without clipping. */
  html[data-lang="si"] .hero-subline { min-block-size: calc(4em * var(--lh-body)); }
  html[data-lang="si"] .fact-chips { min-block-size: 75.2px; align-content: start; }
}
.hero-figure { align-self: center; min-width: 0; }
.bay-window { position: relative; }
.bay-window picture { clip-path: polygon(0 24px,31.75% 24px,31.75% 0,68.25% 0,68.25% 24px,100% 24px,100% 100%,0 100%); }
.bay-window img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.window-bars { position: absolute; inset: 0; pointer-events: none; display: grid; grid-template-columns: 1fr 1.15fr 1fr; }
.window-bars span { border-bottom: 8px solid var(--c-accent); margin-top: 24px; position: relative; }
.window-bars span:nth-child(2) { margin-top: 0; }
.window-bars span:not(:first-child)::before { content: ""; position: absolute; width: 8px; inset-block: 0; left: -4px; background: var(--c-accent); transform-origin: left; animation: window-draw 520ms var(--ease) both; }
.window-bars span:nth-child(3)::before { animation-delay: 120ms; }
.image-note { margin-top: 10px; color: var(--c-muted); font-size: .75rem; }
.hero-figure .image-note { text-align: right; }
.section { padding-block: 64px; }
.about-section, .gallery-section, .contact-section { background: var(--c-surface); }
.about-grid { display: grid; gap: 32px; align-items: center; }
.prose { margin-top: 24px; max-width: 62ch; }
.prose p + p { margin-top: 16px; }
.about-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.highlights { margin-top: 36px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.highlights > div { border-top: 3px solid var(--c-accent); background: var(--c-tint); padding: 20px 16px; }
.highlights dt { color: var(--c-muted); font-size: .8rem; }
.highlights dd { font-size: 1rem; font-weight: 600; margin-top: 8px; overflow-wrap: anywhere; }
.services-section { display: grid; gap: 24px; }
.section-intro > p { margin-top: 20px; color: var(--c-muted); max-width: 32ch; }
.section-intro .services-note { font-size: .875rem; }
.service-list { max-width: 40rem; }
.service-list li { padding: 24px 0; border-bottom: 1px solid var(--c-line); }
.service-list li:first-child { padding-top: 0; }
.service-list h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; line-height: 1.6; }
.service-list p { margin-top: 8px; color: var(--c-muted); }
.gallery-heading { display: grid; gap: 24px; margin-bottom: 32px; }
.gallery-heading p { max-width: 54ch; color: var(--c-muted); font-size: var(--fs-0); }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.gallery-link { display: block; position: relative; background: var(--c-tint); }
.gallery-link picture, .gallery-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sample-badge { position: absolute; top: 6px; left: 6px; right: 6px; width: fit-content; max-width: calc(100% - 12px); background: rgb(26 43 34 / .88); color: white; padding: 3px 6px; font-size: 11px; line-height: 1.7; pointer-events: none; }
.gallery-expand { position: absolute; bottom: 8px; right: 8px; width: 26px; height: 26px; text-align: center; line-height: 26px; color: white; background: rgb(26 43 34 / .88); }
.gallery-link:hover .gallery-expand { background: var(--c-accent); }
.trust-section { text-align: center; }
.trust-section h2 { max-width: 24ch; margin-inline: auto; }
.trust-score { font: 600 clamp(3.2rem, 8vw, 5.2rem)/1.1 "Newsreader", Georgia, serif; color: var(--c-accent); margin-top: 32px; }
.trust-source { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-weight: 600; color: var(--c-ink); }
.trust-detail { color: var(--c-muted); font-size: .875rem; }
.trust-disclaimer { font-size: .75rem; color: var(--c-muted); max-width: 60ch; margin: 24px auto 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; }
.contact-intro { margin-top: 20px; max-width: 45ch; color: var(--c-muted); }
.contact-details { margin-top: 28px; }
.contact-details > div { padding-block: 12px; border-bottom: 1px solid var(--c-line); }
.contact-details dt, .hours dt { font-size: .875rem; color: var(--c-muted); }
.contact-details dd { margin-top: 4px; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; }
.hours { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.hours dd { margin-top: 6px; font-size: .9375rem; }
.map-column h3 { margin-bottom: 20px; }
.map-card { width: 100%; aspect-ratio: 4/3; min-height: 300px; display: grid; background: var(--c-tint); }
.map-placeholder { padding: 28px 24px; display: flex; flex-direction: column; gap: 20px; align-items: center; justify-content: center; text-align: center; }
.map-placeholder > p { max-width: 26ch; font-size: .9rem; }
.map-pin { width: 44px; height: 44px; stroke-width: 1.5; color: var(--c-muted); }
.map-card iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }
.maps-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin-top: 8px; font-size: .875rem; }
.site-footer { padding-block: 40px calc(40px + var(--sticky-cta-h)); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; }
.footer-top p { font-size: .875rem; color: var(--c-muted); margin-top: 8px; }
.back-top { display: inline-flex; align-items: center; min-height: 44px; gap: 24px; font-size: .875rem; }
.footer-bottom { border-top: 1px solid var(--c-line); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .75rem; color: var(--c-muted); }
.preview-notice { border-top: 1px solid var(--c-line); padding-top: 20px; font-size: .75rem; color: var(--c-muted); }
.preview-notice p { max-width: 100ch; }
.offer-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }
.sticky-cta { position: fixed; z-index: 25; bottom: 0; left: 0; right: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--c-surface); border-top: 1px solid var(--c-line); }
.sticky-cta .button { width: 100%; }
body:has(dialog[open]) { overflow: hidden; }
body:has(dialog[open]) .sticky-cta { visibility: hidden; }
dialog { border: 0; color: var(--c-ink); background: var(--c-surface); box-shadow: var(--shadow-1); padding: 0; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(26 43 34 / .65); }
.drawer { inset: 0 0 0 auto; width: min(100%, 420px); max-width: 100%; height: 100dvh; max-height: 100%; margin: 0; padding: 20px var(--gutter) max(24px,env(safe-area-inset-bottom)); overflow-y: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-nav { display: grid; padding-block: 28px; gap: 8px; }
.drawer-nav a { color: var(--c-ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--c-line); min-height: 48px; }
.drawer .lang-switch { margin-bottom: 28px; }
.drawer > .button { width: 100%; }
.lightbox { width: min(1050px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; overflow-y: auto; }
.viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 8px 16px; font-size: .75rem; }
.viewer-image { background: var(--c-tint); }
.viewer-image picture { width: 100%; }
.viewer-image img { width: 100%; height: min(54dvh,620px); object-fit: contain; }
.viewer-bottom { padding: 16px; }
#viewer-caption { font-size: .875rem; line-height: 1.65; }
.viewer-controls { display: flex; gap: 16px; align-items: center; justify-content: flex-end; margin-top: 16px; }
.viewer-count { font-size: .875rem; font-variant-numeric: tabular-nums; }
.image-unavailable { position: relative; min-height: 100px; background: var(--c-tint); }
.image-unavailable img { visibility: hidden; }
.image-unavailable::after { content: attr(data-fallback-label); position: absolute; inset: 0; padding: 20px; display: grid; place-items: center; color: var(--c-muted); font-size: .875rem; }
@keyframes hero-type { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes window-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 600px) {
  .header-inner { display: flex; gap: 20px; padding-block: 12px; }
  .header-inner > .lang-switch { margin-left: auto; }
  .hero { padding-block: 56px 64px; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-copy { max-width: 600px; }
  .highlights { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .section { padding-block: 80px; }
  .viewer-bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
  .viewer-controls { margin: 0; }
}
@media (min-width: 768px) {
  .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; min-height: 620px; }
  .hero h1 { max-width: 13ch; }
  .bay-window img { aspect-ratio: 16 / 9; }
  .about-grid { grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 48px; }
  .services-section { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; }
  .gallery-heading { grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
  .gallery-heading h2 { max-width: 20ch; }
  .contact-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: start; }
  .map-column { padding-top: 12px; }
  .footer-bottom { font-size: .8125rem; }
}
@media (min-width: 1024px) {
  :root { --sticky-cta-h: 0px; }
  .hero { gap: 40px; padding-block: 64px 80px; }
  .section { padding-block: 88px; }
  .gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .sticky-cta { display: none; }
  .highlights { gap: 24px; margin-top: 48px; }
  .highlights > div { padding: 24px; }
  .highlights dd { font-size: 1.125rem; }
  .trust-section { padding-block: 80px; }
}
@media (min-width: 1200px) {
  .desktop-nav { display: flex; gap: 20px; align-items: center; margin-left: auto; font-size: .8125rem; }
  .desktop-nav a { min-width: 44px; min-height: 44px; display: flex; align-items: center; color: var(--c-ink); text-decoration: none; }
  .desktop-nav a:hover { text-decoration: underline; }
  .header-inner { gap: 24px; }
  .header-inner > .lang-switch { margin-left: 0; gap: 8px; }
  .header-cta { display: none; }
  .menu-toggle { display: none; }
  .hero { min-height: 680px; }
}
@media (min-width: 1500px) { .header-inner .header-cta { display: inline-flex; padding: 10px 16px; font-size: .875rem; } .header-inner { width: min(calc(100% - var(--gutter) * 2), 1400px); } }
