/* =========================================================
   NBR Group — Option B: "Clear Water" (glossy / glass)
   Frosted-glass panels floating over a softly blurred view
   of the lake. Brand colour: St Tropaz #274891.
   ========================================================= */

:root {
  /* Colour */
  --tropaz: #274891;      /* NBR brand — primary actions, accents */
  --tropaz-dk: #1b3470;
  --tropaz-lt: #8fb0ee;   /* accent on dark imagery */
  --ink: #0f1a33;         /* text on light glass */
  --muted: #4b5a7a;
  --sky: #e9eff9;         /* page base under the backdrop */

  /* Glass recipes */
  --glass-light: linear-gradient(140deg, rgba(255,255,255,.72), rgba(255,255,255,.38));
  --glass-light-edge: rgba(255,255,255,.75);
  --glass-dark: linear-gradient(140deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
  --glass-dark-edge: rgba(255,255,255,.3);
  --blur: blur(22px) saturate(160%);
  --lift: 0 24px 60px -24px rgba(15, 26, 51, .35);
  --sheen: inset 0 1px 0 rgba(255,255,255,.9);
  --sheen-dark: inset 0 1px 0 rgba(255,255,255,.35);

  /* Type */
  --font: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-sm: .8125rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.35rem, 1.1rem + .7vw, 1.75rem);
  --fs-xl: clamp(1.9rem, 1.2rem + 1.6vw, 2.75rem);
  --fs-2xl: clamp(2.5rem, 1.3rem + 3.6vw, 4.75rem);

  /* Layout */
  --gutter: clamp(1rem, 4vw, 4rem);
  --max: 1120px;          /* one centred content column: header, sections and footer share these edges */
  --section: clamp(3rem, 5vw, 4.5rem);
  --header-h: 88px;
  --top-space: calc(var(--header-h) + 1.5rem);   /* room under the floating header, so a section opened from the nav sits fully below it */
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--sky);
  font: 400 var(--fs-base)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* The continuous blurred lake that every glass panel sits on */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(143,176,238,.45), transparent 70%),
    linear-gradient(180deg, rgba(233,239,249,.55), rgba(233,239,249,.8)),
    url('assets/backdrop.jpg') center / cover no-repeat;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: var(--fs-xl); line-height: 1.04; }
h3 { font-size: var(--fs-lg); line-height: 1.15; font-weight: 400; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--tropaz); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.6rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s;
}
/* glossy top highlight */
.btn::before {
  content: ''; position: absolute; inset: 0 0 50% 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0));
  border-radius: inherit;
}
.btn-brick {
  background: var(--tropaz); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(39,72,145,.75), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-brick:hover { background: var(--tropaz-dk); transform: translateY(-1px); }
.btn-line-light {
  color: #fff; border-color: var(--glass-dark-edge); background: var(--glass-dark);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.btn-line-light:hover { border-color: rgba(255,255,255,.6); }
.btn-block { width: 100%; }
.btn-outline { color: var(--tropaz); border-color: rgba(39,72,145,.45); background: rgba(255,255,255,.55); }
.btn-outline:hover { background: #fff; border-color: var(--tropaz); }
.btn-glass {
  color: var(--ink); background: var(--glass-light); border-color: var(--glass-light-edge); box-shadow: var(--sheen), 0 10px 24px -14px rgba(15,26,51,.4);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.btn-glass:hover { color: var(--tropaz); background: #fff; }

.text-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--tropaz); }
.text-link::after { content: ''; width: 22px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.text-link:hover::after { width: 34px; }

.round-btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: var(--glass-light); border: 1px solid var(--glass-light-edge); box-shadow: var(--sheen), 0 8px 20px -12px rgba(15,26,51,.4);
  transition: background-color .25s, color .25s;
}
.round-btn:hover { background: var(--tropaz); color: #fff; border-color: var(--tropaz); }

/* ---------- Header: floating glass capsule ---------- */
.site-header {
  position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 2 * var(--gutter)), var(--max)); height: 62px;
  padding: 0 .5rem 0 1.5rem; border-radius: 999px;
  display: flex; align-items: center; gap: 1.5rem; color: #fff;
  background: var(--glass-dark); border: 1px solid var(--glass-dark-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--sheen-dark), 0 16px 40px -20px rgba(0,0,0,.45);
  transition: background .35s, color .35s, border-color .35s;
}
.site-header.scrolled { background: var(--glass-light); color: var(--ink); border-color: var(--glass-light-edge); box-shadow: var(--sheen), var(--lift); }
.brand { position: relative; display: inline-flex; align-items: center; line-height: 1; }
.brand img { display: block; height: 30px; width: auto; }
/* white logo over the hero and the open phone menu; blue logo once the bar turns light on scroll */
.brand .logo-blue { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .35s; }
.brand .logo-white { transition: opacity .35s; }
.site-header.scrolled .brand .logo-blue { opacity: 1; }
.site-header.scrolled .brand .logo-white { opacity: 0; }
body.menu-open .site-header .brand .logo-blue { opacity: 0; }
body.menu-open .site-header .brand .logo-white { opacity: 1; }

.desktop-nav { display: flex; gap: .25rem; margin-inline: auto; font-size: .9375rem; font-weight: 500; }
.desktop-nav a { padding: .5rem 1rem; border-radius: 999px; opacity: .85; transition: background-color .25s, opacity .25s; }
.desktop-nav a:hover { opacity: 1; background: rgba(255,255,255,.14); }
.desktop-nav a.active { opacity: 1; background: rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.site-header.scrolled .desktop-nav a.active { background: rgba(39,72,145,.1); color: var(--tropaz); box-shadow: none; }
.header-cta { min-height: 46px; padding-inline: 1.3rem; }

.menu-btn { display: none; width: 46px; height: 46px; margin-left: auto; position: relative; border-radius: 50%; }
.menu-btn i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i:first-child { top: 19px; }
.menu-btn i:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; color: #fff;
  background: rgba(15,26,51,.55); -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu nav { display: grid; gap: .25rem; }
.mobile-menu nav a { font-size: 2.1rem; font-weight: 300; letter-spacing: -.02em; padding-block: .45rem; border-bottom: 1px solid rgba(255,255,255,.12); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--glass-dark); color: #fff; border-color: var(--glass-dark-edge); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--ink); }
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: settle 2.4s var(--ease) both; }
.hero-shade { background: linear-gradient(0deg, rgba(15,26,51,.55) 0%, rgba(15,26,51,0) 55%), linear-gradient(180deg, rgba(15,26,51,.35) 0%, rgba(15,26,51,0) 25%); }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-inner { padding-bottom: clamp(1rem, 3vw, 2rem); }
.hero-title {
  font-size: var(--fs-2xl); line-height: .98; letter-spacing: -.035em; font-weight: 300;
  max-width: 13ch; margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  text-shadow: 0 2px 30px rgba(15,26,51,.35);
  animation: rise 1.2s .2s var(--ease) both;
}
/* The hero bar becomes one glass slab */
.hero-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem 2.5rem; flex-wrap: wrap;
  padding: 1rem 1rem 1rem 1rem; border-radius: var(--r-lg);
  background: var(--glass-dark); border: 1px solid var(--glass-dark-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--sheen-dark), 0 30px 60px -30px rgba(0,0,0,.5);
  animation: rise 1.2s .4s var(--ease) both;
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.btn-film { display: inline-flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .9375rem; }
.play { width: 46px; height: 46px; border-radius: 50%; position: relative; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); transition: background-color .25s; }
.play::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 9px solid #fff; border-block: 6px solid transparent; }
.btn-film:hover .play { background: rgba(255,255,255,.3); }
.hero-facts { display: flex; gap: .5rem; margin: 0; flex-wrap: wrap; }
.hero-facts div { padding: .6rem 1.1rem; border-radius: var(--r-sm); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.hero-facts dt { font-size: .75rem; opacity: .75; }
.hero-facts dd { margin: .05rem 0 0; font-weight: 600; }

/* ---------- Shared glass sheet for light sections ---------- */
.story-grid, .stories-grid {
  background: var(--glass-light); border: 1px solid var(--glass-light-edge); border-radius: var(--r-lg);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--sheen), var(--lift);
}

/* ---------- Story ---------- */
.story { padding-block: var(--top-space) 0; }
.story-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center;
  padding: clamp(1rem, 2vw, 1.25rem); padding-left: clamp(1.5rem, 5vw, 4.5rem);
  max-width: calc(var(--max)); margin-inline: auto; width: calc(100% - 2 * var(--gutter)); padding-right: clamp(1rem, 2vw, 1.25rem);
}
.story-copy { padding-block: .75rem; }
.story-copy h2 { max-width: 15ch; margin-bottom: 1rem; }
.story-copy p { max-width: 50ch; color: var(--muted); font-size: var(--fs-md); line-height: 1.6; margin-bottom: 1.25rem; }
.story-image { aspect-ratio: 1; max-height: calc(100vh - var(--top-space) - 13rem); width: 100%; justify-self: end; overflow: hidden; border-radius: calc(var(--r-lg) - 8px); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }

.stats { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stats li {
  padding: 1.1rem 1.5rem; border-radius: var(--r-md);
  background: var(--glass-light); border: 1px solid var(--glass-light-edge); box-shadow: var(--sheen);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.stats strong { display: block; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--tropaz); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: .5rem; color: var(--muted); font-weight: 500; }

/* ---------- Section heading ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(1rem, 1.8vw, 1.5rem); }
.section-head p { color: var(--muted); max-width: 46ch; justify-self: end; font-weight: 500; }
.head-side { justify-self: end; display: grid; gap: .6rem; justify-items: start; }
.head-side p { justify-self: start; }

/* ---------- Projects: glass carousel ---------- */
.projects {
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2));   /* lines slides up with .wrap */
  --peek: clamp(40px, 13vw, 240px);                              /* how much of the next slide shows */
  --slide-gap: clamp(1rem, 2vw, 2rem);
  padding-block: var(--top-space) var(--section);
}
.proj-carousel { position: relative; }
.proj-viewport {
  display: flex; gap: var(--slide-gap); padding: 0 0 1rem var(--pad); scroll-padding-left: var(--pad);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.proj-viewport::-webkit-scrollbar { display: none; }
.proj-viewport::after { content: ''; flex: 0 0 calc(var(--peek) - var(--slide-gap)); }   /* lets the last slide snap to the start */
.proj-viewport:focus-visible { outline-offset: -2px; }

.proj-slide {
  flex: 0 0 calc(100% - var(--peek)); scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: clamp(400px, calc(100vh - var(--top-space) - 10rem), 520px); padding: .75rem; border-radius: var(--r-lg);
  background: var(--glass-light); border: 1px solid var(--glass-light-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sheen), var(--lift);
  opacity: .5; transition: opacity .5s var(--ease);
}
.proj-slide.is-active { opacity: 1; }

.slide-media { position: relative; overflow: hidden; border-radius: calc(var(--r-lg) - 8px); background: var(--ink); }
.slide-media img, .slide-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.slide-panel { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 1.6vw, 1.6rem) clamp(1.25rem, 3vw, 2.75rem); }
.slide-tag { padding: .35rem .85rem; border-radius: 999px; background: rgba(39,72,145,.1); color: var(--tropaz); font-size: .8125rem; font-weight: 600; margin-bottom: .6rem; }
.slide-panel h3 { font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.25rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.02; margin-bottom: .6rem; }
.slide-loc { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-weight: 500; }
.slide-loc svg { font-size: 1.1rem; flex: none; color: var(--tropaz); }
.slide-price { margin-top: .35rem; font-weight: 700; font-size: 1.0625rem; }
.slide-price sup { color: var(--tropaz); }
.slide-avail { display: inline-flex; align-items: center; gap: .85rem; margin-top: .6rem; font-size: .9375rem; font-weight: 500; }
.slide-avail span { padding: .35rem .8rem; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid rgba(15,26,51,.08); font-weight: 600; }

.slide-specs {
  align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem;
  margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid rgba(15,26,51,.1);
}
.slide-specs dt { font-size: .875rem; color: var(--muted); font-weight: 500; }
.slide-specs dd { margin: .2rem 0 0; font-weight: 700; font-size: 1.0625rem; }
.slide-rera { margin-top: 1.75rem; font-size: .875rem; font-weight: 500; }

.slide-actions { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: auto; padding-top: 1.1rem; }
.slide-actions .btn { min-height: 46px; }

.proj-arrow {
  position: absolute; top: calc(50% - 1.25rem); z-index: 2; width: 60px; height: 60px; margin-top: -30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; color: var(--ink);
  background: var(--glass-light); border: 1px solid var(--glass-light-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sheen), var(--lift);
  transition: opacity .3s, background-color .25s, color .25s;
}
.proj-arrow:hover { background: var(--tropaz); color: #fff; border-color: var(--tropaz); }
.proj-arrow.next { left: calc(100% - var(--peek) - 30px); }
.proj-arrow.prev { left: calc(var(--pad) - 30px); }
.proj-arrow:disabled { opacity: 0; pointer-events: none; }

.proj-dots {
  display: flex; justify-content: center; gap: .15rem; width: max-content; margin: 0 auto; padding: .4rem .7rem; border-radius: 999px;
  background: var(--glass-light); border: 1px solid var(--glass-light-edge); box-shadow: var(--sheen);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.proj-dots button { width: 22px; height: 22px; display: grid; place-items: center; }
.proj-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: rgba(15,26,51,.22); transition: width .3s var(--ease), background-color .3s; }
.proj-dots button[aria-selected="true"] { width: 40px; }
.proj-dots button[aria-selected="true"]::before { width: 30px; background: var(--tropaz); }

/* ---------- Lifestyle ---------- */
.lifestyle { position: relative; height: 400vh; background: var(--ink); color: #fff; }
.life-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.life-media, .life-shade { position: absolute; inset: 0; z-index: -2; }
.life-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.life-media img.active { visibility: visible; }
.life-shade { z-index: -1; background-image: linear-gradient(0deg, rgba(15,26,51,.6) 0%, rgba(15,26,51,0) 50%), linear-gradient(180deg, rgba(15,26,51,.35) 0%, rgba(15,26,51,0) 30%); transition: background-color .6s; }
.life-shade[data-t="0"] { background-color: rgba(255,196,120,.05); }
.life-shade[data-t="1"] { background-color: transparent; }
.life-shade[data-t="2"] { background-color: rgba(255,150,90,.12); }
.life-shade[data-t="3"] { background-color: rgba(10,24,60,.35); }

.sun-path { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 8vh); height: 24vh; color: rgba(255,255,255,.75); pointer-events: none; filter: drop-shadow(0 1px 2px rgba(15,26,51,.5)); }
.sun-path svg { width: 100%; height: 100%; overflow: visible; }
.sun { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #ffd59a 60%); box-shadow: 0 0 0 10px rgba(255,217,160,.2), 0 0 44px 12px rgba(255,196,120,.5); transition: box-shadow .6s; }
.sun.moon { background: radial-gradient(circle at 35% 35%, #fff, #dfe8f5 60%); box-shadow: 0 0 0 10px rgba(232,238,245,.14), 0 0 34px 8px rgba(200,215,235,.35); }

.life-inner { position: absolute; inset: auto 0 0; padding-bottom: clamp(1rem, 3vw, 2rem); display: grid; gap: 1rem; }
.life-copy {
  max-width: 34rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg);
  background: var(--glass-dark); border: 1px solid var(--glass-dark-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sheen-dark);
}
.life-time { display: inline-block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: .8rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(255,255,255,.16); }
.life-copy h3 { font-size: var(--fs-xl); font-weight: 300; letter-spacing: -.03em; line-height: 1.02; margin-bottom: .9rem; }
.life-copy p:last-child { font-size: var(--fs-md); color: rgba(255,255,255,.85); max-width: 42ch; }

.life-nav {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; padding: .35rem; border-radius: 999px;
  background: var(--glass-dark); border: 1px solid var(--glass-dark-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sheen-dark);
}
.life-tab { display: flex; align-items: baseline; justify-content: center; gap: .5rem; padding: .8rem 1rem; border-radius: 999px; color: rgba(255,255,255,.7); transition: background-color .3s, color .3s; }
.life-tab:hover { color: #fff; }
.life-tab.active { background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); }
.life-tab b { font-weight: 600; }
.life-tab small { font-size: var(--fs-sm); opacity: .7; }

/* ---------- Stories ---------- */
.stories { padding-block: var(--top-space) 0; }
.stories-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding: clamp(1rem, 2vw, 1.25rem); padding-right: clamp(1.5rem, 5vw, 4.5rem); width: calc(100% - 2 * var(--gutter)); max-width: var(--max); }
.stories-img { aspect-ratio: 1; max-height: calc(100vh - var(--top-space) - 3rem); overflow: hidden; border-radius: calc(var(--r-lg) - 8px); }
.stories-img img { width: 100%; height: 100%; object-fit: cover; }
.testimonial h2 { font-size: var(--fs-md); font-weight: 600; letter-spacing: 0; color: var(--tropaz); margin-bottom: 1.5rem; }
.testimonial blockquote { margin: 0; min-height: 11rem; }
.testimonial blockquote p { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 300; line-height: 1.28; letter-spacing: -.02em; text-indent: -.4em; margin-bottom: 1.5rem; }
.testimonial blockquote p::before { content: '“'; }
.testimonial blockquote p::after { content: '”'; }
.testimonial footer { display: grid; gap: .1rem; }
.testimonial footer strong { font-weight: 700; }
.testimonial footer span { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.test-controls { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; }
.test-controls span { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; min-width: 3.5rem; text-align: center; }

/* ---------- News & recognition: tabs + card rails ---------- */
.news { padding-block: var(--top-space) 0; }
.news-head { align-items: center; }
.news-tabs {
  justify-self: end; display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px;
  background: var(--glass-light); border: 1px solid var(--glass-light-edge); box-shadow: var(--sheen);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.news-tab { padding: .6rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--muted); transition: background-color .25s, color .25s; white-space: nowrap; }
.news-tab:hover { color: var(--ink); }
.news-tab[aria-selected="true"] { background: var(--tropaz); color: #fff; box-shadow: 0 8px 18px -10px rgba(39,72,145,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.news-rail {
  --gap: clamp(1rem, 1.6vw, 1.5rem);
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); column-gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: .25rem .1rem 1.5rem; margin: -.25rem -.1rem 0;
}
.news-rail::-webkit-scrollbar { display: none; }
.news-card { scroll-snap-align: start; min-width: 0; }
.news-card .post-link { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; }
.news-card .post-img { min-height: 0; aspect-ratio: 16 / 10; }
.news-card .post-body { padding: 1rem .6rem .5rem; }
.news-card h3 { font-size: clamp(1.05rem, .95rem + .3vw, 1.2rem); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .post-meta > span + span::before { content: '·'; margin-right: .6rem; }
.news-card .post-meta .post-cat + span::before, .news-card .post-meta > span:first-child::before { content: none; }
.news-card .post-img.no-img {
  display: grid; place-items: center; padding: 1rem; text-align: center;
  background: radial-gradient(70% 90% at 20% 10%, rgba(143,176,238,.55), transparent 70%), linear-gradient(140deg, #2c5099, var(--tropaz) 55%, #1b3470);
}
.news-card .post-img.no-img::after { content: attr(data-label); color: #fff; font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); font-weight: 300; letter-spacing: -.02em; }
.post-sub { font-size: var(--fs-sm); font-weight: 600; color: var(--tropaz); margin: -.2rem 0 .35rem; }
.news-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .25rem; }
.news-arrows { display: flex; gap: .6rem; }
.news-arrows .round-btn:disabled { opacity: .35; pointer-events: none; }
.news-foot > .text-link:only-child { margin-left: auto; }

/* ---------- Blog preview ---------- */
.blog { padding-block: var(--top-space) 0; }
.blog-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: clamp(1rem, 1.6vw, 1.5rem); }
.post-feature { grid-row: 1 / 3; }
.post-link {
  height: 100%; padding: .75rem; border-radius: var(--r-lg); color: var(--ink);
  background: var(--glass-light); border: 1px solid var(--glass-light-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sheen), var(--lift);
  display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 0 1.25rem; align-items: stretch;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-link:hover { transform: translateY(-3px); }
.post-img { position: relative; overflow: hidden; border-radius: calc(var(--r-lg) - 8px); min-height: 150px; }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-link:hover .post-img img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; align-items: flex-start; padding: .6rem .5rem .6rem 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; margin-bottom: .6rem; }
.post-meta > time::before, .post-meta > span:not(.post-cat)::before { content: '·'; margin-right: .6rem; }
.post-meta > time:first-child::before { content: none; }
.post-cat { padding: .25rem .7rem; border-radius: 999px; background: rgba(39,72,145,.1); color: var(--tropaz); font-weight: 600; }
.post-meta .post-cat + time::before { content: none; }
.post h3 { font-size: clamp(1.1rem, 1rem + .3vw, 1.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-bottom: .6rem; }
.post-excerpt { color: var(--muted); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--tropaz); }
.post-more::after { content: ''; width: 22px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.post-link:hover .post-more::after { width: 34px; }

/* Featured post: image on top, larger type */
.post-feature .post-link { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
.post-feature .post-img { min-height: 220px; }
.post-feature .post-body { padding: 1.1rem .75rem .75rem; }
.post-feature h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.08; }
.post-feature .post-excerpt { font-size: 1rem; }


/* ---------- Forms ---------- */
.lead-form {
  color: var(--ink); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1rem; border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(255,255,255,.82), rgba(255,255,255,.6)); border: 1px solid var(--glass-light-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sheen), 0 40px 80px -30px rgba(0,0,0,.5);
}
.seg { border: 0; margin: 0 0 .25rem; padding: .3rem; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; border-radius: 999px; background: rgba(15,26,51,.07); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: .65rem .5rem; border-radius: 999px; font-size: .875rem; font-weight: 600; cursor: pointer; color: var(--muted); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: #fff; color: var(--tropaz); box-shadow: 0 4px 12px -6px rgba(15,26,51,.35); }
.seg input:focus-visible + span { outline: 2px solid var(--tropaz); outline-offset: 1px; }
.field { display: grid; gap: .35rem; }
.field > span { font-size: var(--fs-sm); font-weight: 600; }
.field em { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 1rem; border-radius: var(--r-sm);
  background: rgba(255,255,255,.75); border: 1px solid rgba(15,26,51,.12); box-shadow: inset 0 1px 2px rgba(15,26,51,.06);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:focus, .field select:focus { outline: none; background: #fff; border-color: var(--tropaz); box-shadow: 0 0 0 4px rgba(39,72,145,.15); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1a33' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; padding-right: 2.5rem; }
.form-error { color: #b3261e; font-size: var(--fs-sm); font-weight: 500; }
.form-error:empty { display: none; }
.form-note { font-size: .75rem; color: var(--muted); }
.form-done h3 { margin-bottom: .5rem; font-weight: 500; }
.form-done p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate; color: rgba(255,255,255,.82);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background:
    radial-gradient(40% 60% at 8% 20%, rgba(143,176,238,.28), transparent 70%),
    radial-gradient(35% 55% at 92% 85%, rgba(143,176,238,.22), transparent 70%),
    linear-gradient(160deg, #2c5099 0%, var(--tropaz) 45%, #1b3470 100%);
}
/* soft glossy bubbles, echoing the glass panels above */
.site-footer::before, .site-footer::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 65%); }
.site-footer::before { width: 420px; height: 420px; left: -120px; bottom: -160px; }
.site-footer::after { width: 300px; height: 300px; right: 18%; top: -120px; }

.f-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 2.5rem 3rem; align-items: start; }
.f-col h3 { display: inline-block; font-size: .875rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #fff; padding-bottom: .55rem; margin-bottom: 1.25rem; border-bottom: 1.5px solid rgba(255,255,255,.75); }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.f-col a { font-size: .9375rem; font-weight: 500; transition: color .2s, opacity .2s; }
.f-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.f-contact li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: .9375rem; font-weight: 500; }
.f-contact svg { font-size: 20px; margin-top: .1rem; color: #fff; }
.f-contact address { font-style: normal; line-height: 1.5; }
.f-follow { margin-top: 2rem; }
.socials { display: flex; flex-wrap: wrap; gap: .4rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s, color .2s;
}
.socials a:hover { background: #fff; color: var(--tropaz); text-decoration: none; }

.f-brand-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 1.25rem;
  background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.f-logo { display: inline-block; line-height: 0; }
.f-logo img { height: 38px; width: auto; }
.f-badges { display: flex; gap: .6rem; flex-wrap: wrap; }
.f-badge-img { height: 44px; width: auto; }
.f-badge { padding: .5rem .95rem; border-radius: 999px; font-size: .8125rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.footer-base { display: flex; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; padding-block: 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); font-size: .875rem; font-weight: 500; }
.footer-base a { text-decoration: underline; text-underline-offset: 4px; }
.footer-base a:hover { color: #fff; }

/* ---------- FAQs ---------- */
.faq { padding-block: var(--top-space) var(--section); }
.faq-wrap { max-width: calc(64rem + var(--gutter) * 2); }
.faq h2 { text-align: center; margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.faq-list {
  padding: .5rem clamp(1rem, 3vw, 2.25rem); border-radius: var(--r-lg);
  background: var(--glass-light); border: 1px solid var(--glass-light-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sheen), var(--lift);
}
.faq-item + .faq-item { border-top: 1px solid rgba(15,26,51,.1); }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center;
  padding: .95rem .25rem; font-size: clamp(1rem, .95rem + .2vw, 1.0625rem); font-weight: 500; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { color: var(--tropaz); font-weight: 700; font-variant-numeric: tabular-nums; }
.faq-item summary:hover .faq-q { color: var(--tropaz); }
.faq-icon {
  position: relative; width: 40px; height: 40px; margin-left: 1rem; border-radius: 12px; flex: none;
  background: rgba(255,255,255,.8); border: 1px solid rgba(15,26,51,.14); box-shadow: inset 0 1px 0 #fff;
  transition: background-color .25s, border-color .25s;
}
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; margin: -.875px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), background-color .25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--tropaz); border-color: var(--tropaz); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 3.5rem 1.6rem 1.9rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.faq-a p + p, .faq-a ul + p, .faq-a ol + p, .faq-a p + ul { margin-top: .6rem; }
.faq-a ul, .faq-a ol { margin: .5rem 0 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.faq-a li::marker { color: var(--tropaz); }
.faq-item[open] .faq-a { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,26,51,.35); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.modal-panel {
  position: relative; width: min(100%, 34rem); max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(255,255,255,.72)); border: 1px solid var(--glass-light-edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sheen), 0 50px 100px -30px rgba(15,26,51,.55);
  transform: translateY(16px) scale(.98); transition: transform .4s var(--ease);
}
.modal.wide .modal-panel { width: min(100%, 56rem); }
.modal.open .modal-panel { transform: none; }
.modal-close { position: absolute; right: .9rem; top: .9rem; width: 42px; height: 42px; display: grid; place-items: center; font-size: 20px; border-radius: 50%; background: rgba(15,26,51,.06); z-index: 1; }
.modal-close:hover { background: rgba(15,26,51,.12); }
.modal-panel h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: .6rem; padding-right: 2.5rem; }
.modal-panel .lead { color: var(--muted); margin-bottom: 1.25rem; }
.modal-media { aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 1.25rem; border-radius: var(--r-md); background: var(--ink); }
.modal-media img, .modal-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-video { aspect-ratio: 1 / 1; max-height: 62vh; margin-inline: auto; }
.modal-panel .lead-form { padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
.modal-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.25rem; }
.modal-facts div { padding: .8rem 1rem; border-radius: var(--r-sm); background: rgba(39,72,145,.07); }
.modal-facts dt { font-size: var(--fs-sm); color: var(--muted); }
.modal-facts dd { margin: .1rem 0 0; font-weight: 600; }
body.modal-open { overflow: hidden; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 80;
  width: 50px; height: 50px; border-radius: 50%; font-size: 20px; display: grid; place-items: center; color: var(--ink);
  background: var(--glass-light); border: 1px solid var(--glass-light-edge); box-shadow: var(--sheen), var(--lift);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, visibility .3s, transform .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* Fallback when backdrop-filter is unsupported: make glass more opaque */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass-light: rgba(255,255,255,.92); --glass-dark: rgba(15,26,51,.72); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .news-rail { grid-auto-columns: calc((100% - var(--gap)) / 2); }
  .proj-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .desktop-nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; --r-lg: 22px; --r-md: 16px; }
  .site-header { top: 10px; height: 56px; padding-left: 1.2rem; }
  .brand img { height: 26px; }
  .hero-title { max-width: 11ch; }
  .hero-bar { flex-direction: column; align-items: stretch; }
  .hero-actions { justify-content: space-between; }
  .hero-facts div { flex: 1; }

  .story-grid, .stories-grid { grid-template-columns: 1fr; padding: .75rem; }
  .story-copy { padding: .75rem .75rem 1rem; order: 2; }
  .story-image { aspect-ratio: 4 / 3; max-height: none; }
  .testimonial { padding: .5rem .75rem 1rem; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p, .head-side { justify-self: start; }
  .stats { grid-template-columns: 1fr; gap: .6rem; }
  .stats li { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 1.25rem; }
  .stats span { margin: 0; }

  .projects { --peek: 24px; }
  .proj-slide { grid-template-columns: 1fr; height: auto; min-height: 0; padding: .6rem; }
  .slide-media { aspect-ratio: 4 / 3; }
  .slide-panel { padding: 1.4rem .9rem 1rem; }
  .slide-specs { gap: 1.1rem 1.25rem; }
  .slide-actions { grid-template-columns: 1fr; gap: .7rem; padding-top: 1.75rem; }
  .proj-arrow { display: none; }

  .sun-path { height: 16vh; top: calc(var(--header-h) + 4vh); }
  .life-inner { padding-bottom: 5rem; }
  .life-nav { grid-template-columns: repeat(4, 1fr); border-radius: var(--r-md); }
  .life-tab { padding: .7rem .25rem; flex-direction: column; align-items: center; gap: 0; border-radius: 12px; }
  .life-tab b { font-size: .8125rem; }
  .life-tab small { display: none; }

  .stories-img { aspect-ratio: 4 / 3; max-height: none; }
  .testimonial blockquote { min-height: 0; }

  .blog-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .news-head { grid-template-columns: 1fr; }
  .news-tabs { justify-self: start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .news-tab { padding: .55rem .9rem; font-size: .875rem; }
  .news-rail { grid-auto-columns: 84%; }
  .post-feature { grid-row: auto; }
  .post-link { grid-template-columns: 1fr; }
  .post-img { min-height: 0; aspect-ratio: 16 / 10; }
  .post-feature .post-img { min-height: 0; }
  .post-body { padding: 1.1rem .5rem .5rem; }

  .f-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .f-brand-row { flex-direction: column; align-items: flex-start; }
  .footer-base { flex-direction: column; }
  .faq-item summary { padding: 1.2rem 0; align-items: start; }
  .faq-icon { width: 34px; height: 34px; margin-left: .5rem; border-radius: 10px; }
  .faq-a { padding: 0 0 1.3rem 1.6rem; }
  .modal-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}


/* =========================================================
   Opener (Option G): NBR logo draws, fills, then the blue screen
   collapses into the menu bar as the logo lands in it
   ========================================================= */
.opener { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; pointer-events: auto; }
.no-opener .opener, .opener.op-done { display: none; }
.op-panel {
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 20% 10%, rgba(143,176,238,.35), transparent 70%), linear-gradient(150deg, #2c5099, var(--tropaz) 50%, #1b3470);
}
.op-mark { position: relative; width: min(38vw, 520px); height: auto; overflow: visible; transform-origin: 0 0; }
.op-s path { fill: none; stroke: #fff; stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.op-f { fill: #fff; opacity: 0; }
.op-skip {
  position: absolute; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom));
  min-height: 40px; padding: 0 16px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .875rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); opacity: 0; transition: opacity .4s;
}
.opener.op-play .op-skip { opacity: .85; }
.opener.op-play .op-s path { animation: op-draw 1.2s cubic-bezier(.6,0,.3,1) both; animation-delay: calc(.2s + var(--i) * .12s); }
.opener.op-play .op-f { animation: op-in .45s ease 1.6s both; }
.opener.op-play .op-s { animation: op-out .4s ease 1.85s both; }
.opener.op-fly .op-panel { animation: op-collapse 1.05s cubic-bezier(.76,0,.24,1) both, op-out .45s ease 1.05s both; }
.opener.op-fly .op-mark { animation: op-fly 1.05s cubic-bezier(.76,0,.24,1) both; }
.opener.op-fly .op-skip { opacity: 0; }
.opener.op-fly { pointer-events: none; }
.opener.op-fade { animation: op-out .45s ease both; pointer-events: none; }
@keyframes op-draw { to { stroke-dashoffset: 0; } }
@keyframes op-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes op-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes op-collapse { from { clip-path: inset(0 0 0 0 round 0); } to { clip-path: inset(var(--it) var(--ir) var(--ib) var(--il) round 999px); } }
@keyframes op-fly { to { transform: translate(var(--tx), var(--ty)) scale(var(--sc)); } }
/* while the opener plays: no scrolling, header logo waits for the flying logo, hero waits to rise */
html.opening { overflow: hidden; }
html.opening .site-header .brand { opacity: 0; }
html.opening .hero-media img, html.opening .hero-title, html.opening .hero-bar { animation-play-state: paused; }
.site-header .brand { transition: opacity .2s; }
@media (max-width: 760px) { .op-mark { width: 64vw; } }
