.approved-template{background:var(--paper);color:var(--ink);position:relative;min-height:100vh}.approved-template .brand{max-width:36%;white-space:normal;overflow-wrap:anywhere}.approved-template .brand>img{width:42px;height:42px;object-fit:contain;flex:none}.approved-template .brand svg{max-width:110px;max-height:45px}.approved-template .brand-mark{flex:none}.approved-template .site-nav nav{gap:20px}.approved-template .template-language{font-size:11px;white-space:nowrap}.approved-template h1,.approved-template h2,.approved-template h3{overflow-wrap:anywhere;white-space:pre-line;text-wrap:balance}.approved-template .hero-intro{white-space:pre-line}.approved-template .action{display:inline-flex;gap:30px;align-items:center;justify-content:center;background:var(--accent,var(--ink));color:var(--button-ink,var(--paper));padding:15px 23px;border:0;border-radius:var(--action-radius,3px);font:500 13px/1.5 'Segoe UI','Microsoft YaHei',sans-serif;cursor:pointer;text-align:center;max-width:100%;overflow-wrap:anywhere}.approved-template.aurelia .hero .action{background:#f1eee4;color:#30382e}.approved-template.nocturne .action,.approved-template.solenne .action,.approved-template.riviera .action,.approved-template.elan .action{border-radius:30px}.approved-template .visual-placeholder{min-height:230px;height:100%;background:#c8d3c4;display:grid;place-items:center;color:#435e4a;padding:30px}.approved-template .photo-stamp{overflow:hidden;font-size:12px}.approved-template .section-top{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:35px}.approved-template .section-top h2{font-size:44px}.approved-template .section-top p{max-width:350px;font-size:13px;opacity:.7}.approved-template .album-nav{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.approved-template .album-nav a{font-size:12px;padding:8px 13px;border:1px solid currentColor;border-radius:25px}.approved-template .album-section{margin:35px 0}.approved-template .album-section h3{font-size:25px;margin-bottom:12px}.approved-template .album-section>p{font-size:13px;margin-bottom:20px}.approved-template .work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.approved-template .work-grid figure{height:350px}.approved-template .work-grid figcaption{max-width:90%;font-size:10px}.approved-template .inquiry-section{padding:90px 7%;display:grid;grid-template-columns:1fr 1fr;gap:8%}.approved-template .inquiry-section>div>p{margin:25px 0;font-size:15px}.approved-template #inquiry-form{display:grid;gap:18px;min-width:0}.approved-template #inquiry-form label{display:grid;gap:8px;font-size:12px}.approved-template #inquiry-form input,.approved-template #inquiry-form textarea,.approved-template #inquiry-form select{width:100%;min-width:0;padding:12px;border:1px solid #879b8866;background:transparent;color:inherit;border-radius:5px;resize:vertical}.approved-template #inquiry-form .form-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.approved-template .fine{font-size:11px;opacity:.75}.approved-template .honeypot{position:absolute;left:-9999px;visibility:hidden}.approved-template .template-card-link{padding:40px 7% 0}.approved-template .template-contacts{display:flex;flex-wrap:wrap;gap:18px;opacity:1;font-size:13px;margin:20px 0}.approved-template .template-footer-note{margin-top:35px;font-size:10px}.approved-template.long-headline .hero h1{font-size:clamp(42px,6vw,90px)}.approved-template.aurelia.long-headline .hero{height:auto;max-height:none}.approved-template .hero .hero-photo{min-width:0}.approved-template .inner-opening h1{font-size:clamp(44px,5.4vw,78px)}.approved-template footer>.brand{max-width:none}.approved-template .corporate-rule{gap:12px;flex-wrap:wrap}.approved-template .night-bottom>div{overflow-wrap:anywhere}
@media(max-width:700px){.approved-template .brand{max-width:72%;font-size:18px}.approved-template .site-nav{gap:12px!important;flex-wrap:wrap}.approved-template .template-language{font-size:10px}.approved-template .brand>img{width:32px;height:32px}.approved-template .brand-mark{font-size:22px}.approved-template .site-nav nav{font-size:13px}.approved-template .inquiry-section{padding:60px 7%;grid-template-columns:1fr;gap:35px}.approved-template .work-grid{grid-template-columns:1fr}.approved-template .work-grid figure{height:300px}.approved-template #inquiry-form input,.approved-template #inquiry-form textarea,.approved-template #inquiry-form select{font-size:16px}.approved-template #inquiry-form .form-pair{grid-template-columns:1fr}.approved-template .section-top{align-items:start;flex-direction:column}.approved-template .section-top h2{font-size:37px}.approved-template.long-headline .hero h1{font-size:44px}.approved-template .template-contacts{flex-direction:column;gap:12px}.approved-template.aurelia .hero{height:auto;min-height:800px;max-height:none}.approved-template .inner-opening h1{font-size:43px}.approved-template .night-title h1{font-size:clamp(46px,17vw,76px)}.approved-template .opal-top h1{font-size:clamp(45px,17vw,65px)}}

.public-whatsapp-lines{display:grid;gap:10px;font-size:14px;line-height:1.6;margin:16px 0;overflow-wrap:anywhere}.public-whatsapp-lines a{display:block;color:inherit;text-underline-offset:4px}

.public-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.public-album-card{display:block;color:inherit;text-decoration:none;min-width:0}.public-album-card>img{width:100%;aspect-ratio:1.4;object-fit:cover}.public-album-card>div:not(.album-empty-cover){display:flex;justify-content:space-between;align-items:baseline;gap:12px}.public-album-card h3{font-size:21px;line-height:1.4}.public-album-card span{font-size:12px;white-space:nowrap}.public-album-card p{font-size:14px}.album-empty-cover{aspect-ratio:1.4;background:#dce4df;display:grid;place-items:center;font-size:13px}.website-update-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.website-update-grid article{min-width:0}.website-update-grid img{width:100%;height:auto;aspect-ratio:.8;object-fit:contain;background:#e7ede8}.website-update-grid h3{font-size:26px;line-height:1.3}.website-update-grid p{font-size:15px;line-height:1.7}.update-kind,.update-terms{font-size:12px!important}.update-price strong{font-size:28px}.update-price del{opacity:.6}.website-update-grid .subtle{display:inline-block;margin-top:16px}@media(max-width:700px){.public-album-grid,.website-update-grid{grid-template-columns:minmax(0,1fr);gap:30px}.public-album-card h3{font-size:23px}}

/* Readable, non-overlapping bilingual layouts. */
.approved-template .hero-intro,.approved-template .story p,.approved-template .service-grid p{font-size:17px;line-height:1.7;overflow-wrap:anywhere}.approved-template .site-nav nav{font-size:14px}.approved-template.nocturne .night-title{display:block;margin-bottom:32px}.approved-template.nocturne .night-title>p,.approved-template.nocturne .night-bottom>div:first-child{display:none}.approved-template.nocturne .night-title h1{font-size:clamp(44px,6.5vw,100px);line-height:1.12;max-width:17ch}.approved-template:lang(zh) h1,.approved-template:lang(zh) h2,.approved-template:lang(zh) h3{font-family:'Microsoft YaHei UI','PingFang SC','Noto Sans CJK SC',sans-serif;letter-spacing:0;line-height:1.3;font-weight:500}.approved-template:lang(zh) .night-title h1{max-width:16em;font-size:clamp(36px,5.5vw,76px)}.work-grid a{display:block;height:100%}.public-album-view>.action{margin-top:32px}.artwork-lightbox{padding:12px;background:#16231e;border:0;max-width:100vw;max-height:100dvh}.artwork-lightbox::backdrop{background:#000d}.artwork-lightbox img{display:block;max-width:calc(100vw - 32px);max-height:calc(100dvh - 80px);object-fit:contain}.artwork-lightbox button{display:block;margin:0 0 10px auto;color:white;background:transparent;border:1px solid #aaa;padding:8px 15px}.approved-template figcaption:empty{display:none}

.approved-template.nocturne .night-bottom{grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center}.approved-template.nocturne .night-bottom .hero-intro{max-width:600px}.approved-template.nocturne .night-bottom .action{justify-self:end}.public-album-card>img{display:block;height:auto!important;aspect-ratio:1.4;object-fit:cover}.approved-template .template-language,.approved-template .section-label,.approved-template .section-heading>p{font-size:14px}.approved-template #inquiry-form label{font-size:15px}.approved-template .fine{font-size:13px}@media(max-width:700px){.approved-template.nocturne .night-bottom{grid-template-columns:1fr}.approved-template.nocturne .night-bottom .action{justify-self:start}}

/* Long headlines (src/headline-fit.ts): shrink so whole words fit; short headlines keep each template's size. */
body .approved-template h1[class*="hl-"],body .visual-hero h1[class*="hl-"]{line-height:1.06;overflow-wrap:break-word;hyphens:manual}
@media(min-width:701px){body .approved-template h1.hl-d8,body .visual-hero h1.hl-d8{font-size:clamp(34px,8vw,116px)}body .approved-template h1.hl-d7,body .visual-hero h1.hl-d7{font-size:clamp(34px,7vw,101px)}body .approved-template h1.hl-d6,body .visual-hero h1.hl-d6{font-size:clamp(34px,6vw,87px)}body .approved-template h1.hl-d5,body .visual-hero h1.hl-d5{font-size:clamp(34px,5vw,72px)}body .approved-template h1.hl-d4,body .visual-hero h1.hl-d4{font-size:clamp(34px,4vw,58px)}}
@media(max-width:700px){body .approved-template h1.hl-m20,body .visual-hero h1.hl-m20{font-size:min(20vw,88px)}body .approved-template h1.hl-m17,body .visual-hero h1.hl-m17{font-size:min(17vw,75px)}body .approved-template h1.hl-m15,body .visual-hero h1.hl-m15{font-size:min(15vw,66px)}body .approved-template h1.hl-m14,body .visual-hero h1.hl-m14{font-size:min(14vw,62px)}body .approved-template h1.hl-m12,body .visual-hero h1.hl-m12{font-size:min(12vw,53px)}body .approved-template h1.hl-m11,body .visual-hero h1.hl-m11{font-size:min(11vw,48px)}body .approved-template h1.hl-m10,body .visual-hero h1.hl-m10{font-size:min(10vw,44px)}body .approved-template h1.hl-m9,body .visual-hero h1.hl-m9{font-size:min(9vw,40px)}body .approved-template h1.hl-m8,body .visual-hero h1.hl-m8{font-size:min(8vw,35px)}}

/* Header logo (uploaded or AI): shown alone and larger. Multiply lets a white logo background disappear on light headers;
   dark headers (nocturne, aurelia home over the photo) get a white plate instead. */
.approved-template .site-nav .brand.has-logo{max-width:62%}
.approved-template .site-nav .brand.has-logo>img{width:auto;height:84px;max-width:260px;object-fit:contain;mix-blend-mode:multiply}
.approved-template.nocturne .site-nav .brand.has-logo>img,.approved-template.aurelia.page-home .site-nav .brand.has-logo>img{mix-blend-mode:normal;background:#fff;border-radius:14px;padding:6px 12px;height:76px}
@media(max-width:700px){.approved-template .site-nav .brand.has-logo>img{height:64px;max-width:190px}.approved-template.nocturne .site-nav .brand.has-logo>img,.approved-template.aurelia.page-home .site-nav .brand.has-logo>img{height:58px}}
/* Curated colour palettes (src/palettes.ts). The template tokens are re-set inline; these rules re-colour the few
   spots each template paints with a fixed colour, so a palette never leaves an off-palette block behind. */
[data-palette] .inquiry input,[data-palette] .inquiry textarea{border-bottom-color:color-mix(in srgb,var(--ink) 45%,transparent)}
[data-palette] footer{border-top-color:color-mix(in srgb,var(--ink) 22%,transparent)}
[data-palette].aurelia .hero-tail .cta{background:var(--paper);color:var(--ink)}
[data-palette].aurelia .section{border-bottom-color:color-mix(in srgb,var(--ink) 16%,transparent)}
[data-palette].vellum .site-nav,[data-palette].monogram .site-nav{border-bottom-color:color-mix(in srgb,var(--ink) 20%,transparent)}
[data-palette] .night-dot{background:var(--accent)}
[data-palette].nocturne .story{border-top-color:color-mix(in srgb,var(--ink) 25%,transparent)}
[data-palette] .photo-stamp{background:var(--panel);color:var(--ink)}
[data-palette].monogram .corporate-image>div{background:var(--accent);color:var(--button-ink,var(--paper));box-shadow:15px 15px 0 var(--panel)}
[data-palette] .corporate-rule{border-top-color:color-mix(in srgb,var(--ink) 20%,transparent)}
[data-palette].monogram .story,[data-palette].elan .story{background:var(--panel)}
[data-palette].elan .elan-photo>span{background:var(--accent);color:var(--button-ink,var(--paper))}
[data-palette].opal .opal-side>div{background:var(--panel)}
@media(max-width:700px){[data-palette].monogram .corporate-image>div{box-shadow:8px 8px 0 var(--panel)}}
