/* Symphony Spaces online brochure (/brochure/). First-party only, so the site CSP stays
   style-src 'self'. Poppins is self-hosted from /assets/fonts/ (no third-party font host). */

@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-2019, U+201C-201D, U+2020-2022, U+2026, U+2039-203A, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-2019, U+201C-201D, U+2020-2022, U+2026, U+2039-203A, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root{
  --ring:#79A682;
  --bg:#F6FAF9; --bg-glow:rgba(182,210,173,.55); --ink:#101418; --ink-soft:#4B5F5B;
  --btn:#FFFFFF; --btn-ink:#1C4E4F; --btn-line:rgba(28,78,79,.18);
  --accent:#1C4E4F; --accent-ink:#F6FAF9; --ring:#79A682; --shadow:rgba(20,40,40,.28);
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#101418; --bg-glow:rgba(28,78,79,.55); --ink:#F6FAF9; --ink-soft:#9DB8B0;
    --btn:#142828; --btn-ink:#D7E7E1; --btn-line:rgba(182,210,173,.2);
    --accent:#B6D2AD; --accent-ink:#142828; --shadow:rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"]{
  --bg:#101418; --bg-glow:rgba(28,78,79,.55); --ink:#F6FAF9; --ink-soft:#9DB8B0;
  --btn:#142828; --btn-ink:#D7E7E1; --btn-line:rgba(182,210,173,.2);
  --accent:#B6D2AD; --accent-ink:#142828; --shadow:rgba(0,0,0,.6);
}
*,*::before,*::after{box-sizing:inherit}
html{height:100%;scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;height:100%;background:var(--bg);color:var(--ink);
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:400;
  background-image:radial-gradient(60% 55% at 50% 48%,var(--bg-glow),transparent 70%);
  overflow:hidden}
.app{display:flex;flex-direction:column;height:100%}
header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px clamp(16px,3vw,32px)}
.title{display:flex;flex-direction:column;line-height:1.25}
.title strong{font-weight:500;font-size:1rem}
.title span{font-size:.8rem;color:var(--ink-soft)}
.actions{display:flex;gap:8px;align-items:center}
.btn{font:inherit;font-size:.85rem;font-weight:500;border:1px solid var(--btn-line);background:var(--btn);color:var(--btn-ink);
  border-radius:999px;padding:9px 16px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;white-space:nowrap}
.btn:hover{border-color:var(--accent)}
.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:transparent}
.btn.icon{width:40px;height:40px;padding:0;justify-content:center}
.btn:focus-visible,.thumb:focus-visible,.stage:focus-visible{outline:2px solid var(--ring,var(--accent));outline-offset:3px}
.btn[disabled]{opacity:.35;cursor:default}
.btn svg{width:18px;height:18px}

.stage{flex:1;display:flex;align-items:center;justify-content:center;min-height:0;position:relative;touch-action:pan-y}
.book{position:relative;perspective:2800px;transition:transform .7s cubic-bezier(.3,.1,.2,1)}
.shadowbase{position:absolute;top:0;height:100%;box-shadow:0 30px 60px -20px var(--shadow),0 10px 20px -10px var(--shadow);border-radius:2px;
  transition:left .7s cubic-bezier(.3,.1,.2,1),width .7s cubic-bezier(.3,.1,.2,1)}
.leaf{position:absolute;top:0;height:100%;transform-origin:left center;transform-style:preserve-3d;
  transition:transform .9s cubic-bezier(.35,.05,.2,1);cursor:pointer}
.leaf.flipped{transform:rotateY(-180deg)}
.face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;background-size:100% 100%;background-color:#1C4E4F;overflow:hidden}
.face.back{transform:rotateY(180deg)}
.face::after{content:"";position:absolute;inset:0;pointer-events:none}
.spread .face.front::after{background:linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,.06) 4%,transparent 9%)}
.spread .face.back::after{background:linear-gradient(270deg,rgba(0,0,0,.28),rgba(0,0,0,.06) 4%,transparent 9%)}
.single .face.back{background:linear-gradient(135deg,#1C4E4F,#142828)}
.single .leaf.flipped{opacity:0;transition:transform .8s cubic-bezier(.35,.05,.2,1),opacity .25s ease .5s}
.single .leaf{transition:transform .8s cubic-bezier(.35,.05,.2,1),opacity .2s ease}
/* hint of a turnable corner */
.leaf:not(.flipped) .face.front::before{content:"";position:absolute;right:0;bottom:0;width:0;height:0;
  background:linear-gradient(315deg,transparent 50%,rgba(255,255,255,.55) 50%,rgba(210,230,245,.9));transition:width .25s,height .25s;z-index:2;
  box-shadow:-3px -3px 8px rgba(0,0,0,.25)}
.leaf.top:not(.flipped):hover .face.front::before{width:38px;height:38px}
.vid{container-type:size;position:absolute;z-index:3;background:#000;border-radius:2px;overflow:hidden;cursor:default}
.vid video{width:100%;height:100%;display:block;object-fit:cover}
.vid .play{position:absolute;inset:0;margin:auto;width:76px;height:76px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(28,78,79,.92);color:#F6FAF9;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.35);transition:transform .15s}
.vid .play:hover{transform:scale(1.06)}
.vid .play svg{width:30px;height:30px;margin-left:4px}
.vid.playing .play{display:none}
.vid .tag{position:absolute;left:10px;bottom:10px;background:rgba(16,20,24,.72);color:#F6FAF9;font-size:12px;padding:4px 10px;border-radius:999px;pointer-events:none}
.vid.playing .tag{display:none}
@container (max-width:420px){.vid .tag{display:none}.vid .play{width:44px;height:44px}.vid .play svg{width:18px;height:18px;margin-left:3px}}
.vid .tag{white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.controls{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 16px 6px}
.indicator{min-width:150px;text-align:center;font-size:.85rem;color:var(--ink-soft)}
.thumbs{display:flex;gap:8px;justify-content:safe center;padding:6px 16px 18px;overflow-x:auto}
.thumb{flex:0 0 auto;width:64px;aspect-ratio:1.7778;border:0;padding:0;border-radius:3px;background-size:cover;cursor:pointer;opacity:.5;
  outline:2px solid transparent;transition:opacity .2s,outline-color .2s}
.thumb:hover{opacity:.85}
.thumb.on{opacity:1;outline:2px solid var(--ring);outline-offset:2px}
@media (max-width:760px){
  header{padding:12px 16px}
  .title span{display:none}
  .btn.primary .long{display:none}
  .thumb{width:48px}
}
@media (prefers-reduced-motion: reduce){
  .book,.leaf,.shadowbase,.single .leaf.flipped{transition:none !important}
  .rotate .rotate__icon{animation:none}
}

/* Full screen on a phone or tablet (html.immersive, set by brochure.js): the brochure alone. */
.imm-exit,.rotate{display:none}
html.immersive,html.immersive body{background:#101418;background-image:none}
html.immersive .app{height:100vh;height:100dvh;padding:0 env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px)}
html.immersive header,html.immersive .controls,html.immersive .thumbs{display:none}
html.immersive .imm-exit{display:inline-flex;position:fixed;z-index:20;
  top:calc(env(safe-area-inset-top,0px) + 10px);right:calc(env(safe-area-inset-right,0px) + 10px);
  background:rgba(16,20,24,.55);color:#F6FAF9;border-color:rgba(246,250,249,.35);backdrop-filter:blur(4px)}
/* Portrait: ask the reader to turn the phone. Disappears on rotation, or on "Continue anyway". */
@media (orientation: portrait){
  html.immersive:not(.rotate-ok) .rotate{display:flex;position:fixed;inset:0;z-index:10;align-items:center;justify-content:center;
    padding:24px;background:rgba(16,20,24,.82);backdrop-filter:blur(3px)}
}
.rotate__card{max-width:300px;text-align:center;color:#F6FAF9}
.rotate__icon{width:64px;height:64px;color:#B6D2AD;margin-bottom:12px;animation:rotate-hint 2.4s ease-in-out infinite}
.rotate__title{margin:0 0 6px;font-weight:500;font-size:1.1rem}
.rotate__text{margin:0 0 18px;font-size:.9rem;line-height:1.5;color:#D7E7E1}
@keyframes rotate-hint{0%,20%{transform:rotate(0)}45%,75%{transform:rotate(-90deg)}100%{transform:rotate(0)}}

/* Home link in the header title. */
.title a{color:inherit;text-decoration:none}

/* Cookie consent banner (analytics). Injected by analytics.js, styled here so there are no inline
   styles and the CSP stays script-src / style-src 'self' plus the allowed Google origins. */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 760px;
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem 1.25rem;
  background: #101418;
  color: #F6FAF9;
  border: 1px solid rgba(214, 231, 225, 0.18);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(16, 20, 24, 0.35);
  font-size: 0.95rem;
  line-height: 1.5;
}
.cookie-consent__text { margin: 0; flex: 1 1 300px; }
.cookie-consent__link { color: #B6D2AD; text-decoration: underline; }
.cookie-consent__link:hover { color: #F6FAF9; }
.cookie-consent__actions { display: flex; gap: 0.6rem; flex: 0 0 auto; }
.cookie-consent__btn {
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.cookie-consent__btn--accept { background: #79A682; color: #101418; }
.cookie-consent__btn--accept:hover { background: #B6D2AD; }
.cookie-consent__btn--decline { background: transparent; color: #F6FAF9; border-color: rgba(246, 250, 249, 0.4); }
.cookie-consent__btn--decline:hover { border-color: #F6FAF9; }
@media (max-width: 560px) {
  .cookie-consent { flex-direction: column; align-items: stretch; }
  /* Stacked, the 300px flex-basis would become a 300px height: size the text to its content. */
  .cookie-consent__text { flex: 0 0 auto; }
  .cookie-consent__actions { justify-content: flex-end; }
}
