:root{--sinhala-font:"Noto Serif Sinhala",serif}
html[lang="si"] .content-page{font-family:var(--sinhala-font)}
.language-name:lang(si),.language-code:lang(si),.sinhala-prompt:lang(si){font-family:"Noto Sans Sinhala",sans-serif}
.language-landing{min-height:100svh;color:#fff3ce;background:#123c2a;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center}
.language-landing:before{content:'';position:fixed;inset:0;z-index:-2;background:linear-gradient(90deg,#092d22ed,#123b2acd 55%,#123b2a66),url('/assets/tropical-waterfall.png') center 58%/cover}
.language-landing:after{content:'';position:fixed;inset:22px;border:1px solid #dcc27644;z-index:-1;pointer-events:none}
.language-welcome{padding:50px 7% 35px;max-width:1030px;width:100%;margin:auto}.landing-logo{display:inline-block;margin-bottom:22px}.landing-logo img{width:104px;height:104px;object-fit:contain;border-radius:50%;box-shadow:0 8px 40px #0003}.language-welcome .eyebrow{margin-bottom:16px}.language-welcome h1{font-size:clamp(44px,5.7vw,80px);margin-bottom:24px;letter-spacing:-1.5px}.language-welcome h1 em{color:#d5db9e}.language-prompt{font-size:18px;color:#eee8cc;margin:0 0 3px}.sinhala-prompt{font-size:18px;color:#d2dcbd;margin-bottom:27px}.language-options{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:650px}.language-option{display:flex;gap:18px;align-items:center;padding:23px;border:1px solid #c9b66a88;border-radius:5px;background:#faf2d70d;backdrop-filter:blur(12px);transition:background .2s,transform .2s}.language-option:hover{background:#e2c67a;color:#163e28;transform:translateY(-3px)}.language-code{font:700 14px var(--sans);padding:10px;border:1px solid #d5c17977;border-radius:50%;width:46px;height:46px;display:grid;place-items:center}.language-name{font:600 31px var(--serif);flex:1}.language-name small{display:block;font:12px/1.7 var(--sans);margin-top:7px;letter-spacing:.3px}.language-option[lang="si"] .language-name small{font-family:var(--sinhala-font)}.landing-origin{font-size:11px;letter-spacing:2.5px;color:#d1c293;margin:35px 0 0}.landing-credit{padding:18px 7% 30px;display:flex;justify-content:space-between;gap:20px;color:#c2cfb8;font-size:12px}.landing-credit a{color:#edd78d}
.language-switch{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px;border:1px solid #d8c17b66;border-radius:25px;white-space:nowrap}
.language-switch a{position:relative;z-index:1;padding:6px 10px;border-radius:22px;text-align:center;font-size:13px;font-weight:700}
.language-switch a[aria-current]{color:#143e2a}
.language-thumb{position:absolute;inset:3px auto 3px 3px;width:calc(50% - 3px);border-radius:22px;background:#e6c875;pointer-events:none}
.language-switch:has(a[lang="si"][aria-current]) .language-thumb{inset-inline-start:50%}
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  .language-thumb{view-transition-name:site-language-thumb}
  ::view-transition-group(site-language-thumb){animation-duration:220ms}
  ::view-transition-old(root),::view-transition-new(root){animation:none}
}
body:has(> .branch-whatsapp) footer .footer-bottom{margin-bottom:3.5rem}
.language-switch a[lang="si"]{font-family:"Noto Sans Sinhala",sans-serif}.header nav{gap:22px}.translation-notice{padding:11px 6%;background:#d7ba69;color:#173d29;font-family:var(--sinhala-font);font-size:14px;line-height:1.8}.translation-notice span{font-family:inherit;font-size:12px;margin-left:10px}
.branches-section{background:#e4c575}.directory-heading{display:flex;justify-content:space-between;align-items:center;gap:45px;margin-bottom:35px}.directory-heading>p{max-width:370px;color:#365337}.directory-heading h2{max-width:650px}.branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.branch-card{display:flex;flex-direction:column;align-items:flex-start;position:relative;min-height:260px;padding:28px;border:1px solid #62733e66;border-radius:6px;background:#fff2bc69;overflow:hidden;transition:background .2s,transform .2s}.branch-card:hover{background:#fff0b1;transform:translateY(-3px)}.branch-number{font-size:12px;font-weight:700;letter-spacing:2px;color:#536641}.card-leaf{position:absolute;right:12px;top:10px;font:90px var(--serif);color:#34644122;pointer-events:none}.branch-card h3{font-size:32px;line-height:1.2;margin:18px 0 12px;position:relative}.branch-card p{font-size:14px;line-height:1.8;color:#426043}.card-action{display:flex;justify-content:space-between;gap:20px;width:100%;margin-top:auto;padding-top:16px;font-size:13px;font-weight:700;border-top:1px solid #667c4155}.content-page{background:#f1dfaa}.content-page main>section{min-height:0;padding:60px 8%}.content-page .header{margin:0}.directory-hero{background:#1c5036;color:#ffefbd;padding-top:80px!important;padding-bottom:60px!important}.directory-hero h1{font-size:clamp(43px,5vw,70px);max-width:900px}.directory-hero h1 em{color:#d5db9e}.directory-hero>p{max-width:700px}.directory-hero .eyebrow{color:#d2c483}.content-note{font-size:13px;line-height:1.8;padding:12px 17px;border-left:2px solid #c2a555;background:#ffffff0c}.content-page .directory-list{padding-top:35px}.page-footer{min-height:0!important;display:block;padding:55px 8% 25px}.page-footer>.brand{justify-content:center}.page-footer>div:first-child>.brand{justify-content:center}.page-footer>div:first-child>p{text-align:center;color:#bfd0b5;margin:20px 0 35px}.page-footer .footer-bottom{display:flex;justify-content:space-between;align-items:center}.page-footer .brand>span{font-family:var(--serif)}
.branch-intro{background:#e3bb63}.back-link{display:inline-flex;align-items:center;gap:.35rem;font-size:14px;margin-bottom:20px;font-weight:600}.branch-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center}.branch-intro h1{font-size:clamp(45px,5vw,70px);margin:0}.branch-intro p{max-width:490px}.branch-real-photo{width:100%;height:auto;max-height:580px;object-fit:cover;border-radius:6px}.photo-placeholder{min-height:250px;padding:35px;border:1px dashed #5d784b88;border-radius:6px;background:#56773b0c;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:18px;color:#456141}.photo-placeholder p{font-size:15px;max-width:380px;margin:0}.placeholder-symbol{font:60px/1 var(--serif);color:#597847}.branch-detail-section{display:grid;grid-template-columns:1fr}.branch-detail-section h2{font-size:42px;margin:0}.branch-detail-section .branch-map{margin-top:20px}.branch-details{margin:0}.branch-details>div{padding:20px 0;border-bottom:1px solid #b4b887}.branch-details dt{font-weight:700;font-size:15px}.branch-details dd{margin:5px 0 0;font-size:17px;overflow-wrap:anywhere}.unconfirmed{font-size:15px;color:#687152}.branch-services{background:#2b6844;color:#fff0bf}.branch-services .eyebrow{color:#ddd08e}.branch-services p{color:#dde8c9}.branch-services li{margin:10px 0}.branch-staff{background:#c3d78e}.staff-placeholder{min-height:210px}.staff-grid,.real-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.staff-grid img{width:100%;aspect-ratio:1;object-fit:cover}.staff-grid h3{font-size:28px;margin:20px 0 10px}.staff-grid p{font-size:15px}.real-gallery img{width:100%;aspect-ratio:1.25;object-fit:cover;border-radius:5px}.branch-gallery h3{font-size:32px;margin-top:45px}.group-placeholder{min-height:190px}.branch-qr{background:#21583d;color:#ffefbc;display:grid;grid-template-columns:1fr 300px;gap:45px;align-items:center}.branch-qr .eyebrow{color:#d1ce95}.branch-qr h2{font-size:42px}.branch-qr img{display:block;width:100%;height:auto;max-width:300px;border:12px solid white;background:white;border-radius:5px}.branch-qr .text-link{color:#ffefbd;border-color:#c8c081}
.qr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.qr-card{background:#fffdf3;border:1px solid #b7bf9b;border-radius:6px;text-align:center;padding:25px}.qr-card h2{font-family:var(--sans);font-size:18px;letter-spacing:0;line-height:1.5;margin-bottom:18px}.qr-card img{width:100%;height:auto;max-width:280px}.qr-destination{display:block;font-size:12px;overflow-wrap:anywhere;line-height:1.7;color:#556c46;margin-top:15px}.qr-downloads{display:flex;justify-content:center;gap:30px;font-size:14px;font-weight:700;margin-top:20px}.qr-actions{display:flex;gap:20px;flex-wrap:wrap;margin:28px 0}.qr-actions .outline{color:#ffedbc}.print-button{cursor:pointer}
@media(max-width:1100px){.header>.menu{display:block;border:0;background:none;color:#ffe9b2;font-size:14px}.header>#navigation{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;background:#103e2c;padding:24px 7%;max-height:calc(100svh - 100px);overflow:auto}.header>#navigation.open{display:flex}.header .language-switch{align-self:flex-start}.header .submenu{position:static;width:100%;max-height:40svh;margin-top:10px}.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-intro-grid{gap:5%}.qr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.language-welcome{padding:35px 8% 25px}.language-landing:after{inset:12px}.landing-logo img{width:80px;height:80px}.language-welcome h1{font-size:43px}.language-options{grid-template-columns:1fr;gap:13px}.language-option{padding:18px}.language-name{font-size:29px}.language-prompt,.sinhala-prompt{font-size:16px}.landing-origin{font-size:9px;margin-top:26px}.landing-credit{flex-direction:column;align-items:center;text-align:center;padding-bottom:28px;font-size:10px;gap:7px}.directory-heading{display:block}.directory-heading h2{font-size:38px}.branch-grid{grid-template-columns:1fr}.branch-card{min-height:230px}.branches-section.section{padding-right:76px}.content-page main>section{padding:42px 7%}.content-page .directory-hero{padding-top:50px!important;padding-bottom:40px!important}.branch-intro-grid{grid-template-columns:1fr;gap:28px}.branch-intro h1{font-size:43px}.photo-placeholder{min-height:210px;padding:25px}.content-page h2{font-size:34px}.branch-qr{grid-template-columns:1fr;gap:25px}.branch-qr img{max-width:260px}.staff-grid,.real-gallery{grid-template-columns:1fr}.qr-grid{grid-template-columns:1fr}.page-footer .footer-bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px}.page-footer .footer-bottom>span{grid-column:1/-1}.page-footer{padding-inline:7%}.translation-notice{padding-inline:7%;font-size:12px}.translation-notice span{display:block;margin-left:0;font-size:11px}.qr-card h2{font-size:18px}.qr-actions .button{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.language-option,.branch-card{transition:none}}
@media print{.content-page .header,.page-footer,.qr-actions,.translation-notice{display:none!important}.content-page main>section{padding:10px}.directory-hero{color:#173d29;background:white}.directory-hero h1{font-size:28px}.directory-hero p{font-size:12px}.qr-grid{grid-template-columns:repeat(2,1fr);gap:15px}.qr-card{break-inside:avoid;border:1px solid #aaa}.qr-card img{max-width:180px}.qr-downloads{display:none}.qr-card h2{font-size:14px}.qr-destination{font-size:10px}.qr-grid a{color:#173d29}}

/* Finish each branch with a compact sharing panel and adjoining footer. */
.branch-page .branch-qr {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 5vw, 4rem);
  padding: clamp(1.75rem, 5vh, 3.5rem) 8%;
}
.branch-page .branch-qr h2 {font-size:clamp(1.7rem, 4vw, 2.65rem)}
.branch-page .branch-qr img {width:clamp(10rem, 20vw, 15rem);border-width:0}
.branch-page #footer {min-height:0;padding:1.75rem 8% 1.25rem}
.branch-page #footer > p {margin:1rem auto 1.25rem;text-align:center;text-align-last:center}
.branch-page #footer .footer-bottom {margin-bottom:0;padding-top:1rem}
@media (max-width:520px) {
  .branch-page .branch-qr {grid-template-columns:1fr;justify-items:start}
}

.branch-ending {
  display:grid;
  grid-template-rows:1fr auto;
  min-height:calc(100svh - var(--header-height, 94px));
}
.branch-page #footer {padding-bottom:5rem}

.staff-credentials { margin: .75rem 0 0; padding-inline-start: 1.25rem; }
.staff-credentials li + li { margin-top: .35rem; }
