/* CGL Stone — home page design (light / dark / mixed) */

/* ---------- Palettes ---------- */
/* Each section is a .zone. In light/dark themes every zone takes that palette.
   In the mixed theme, .z-dark zones are dark and .z-light zones are light. */
:root {
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
}

[data-theme="light"] .zone,
[data-theme="mixed"] .zone.z-light {
  --bg: #f5f2ec;
  --bg2: #ebe5da;
  --ink: #16130f;
  --ink2: #4b453d;
  --muted: #7b7367;
  --line: rgba(22, 19, 15, .14);
  --accent: #94703f;
  --accent-ink: #ffffff;
  --card: #fffdf9;
  --shade: 245, 242, 236;
  --map-dot: rgba(22, 19, 15, .22);
  color-scheme: light;
}

[data-theme="dark"] .zone,
[data-theme="mixed"] .zone.z-dark {
  --bg: #0d0c0b;
  --bg2: #151311;
  --ink: #f3eee6;
  --ink2: #cfc7bb;
  --muted: #988f82;
  --line: rgba(243, 238, 230, .14);
  --accent: #c9a66d;
  --accent-ink: #120f0b;
  --card: #1a1815;
  --shade: 13, 12, 11;
  --map-dot: rgba(243, 238, 230, .2);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: #0d0c0b;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
[data-theme="light"] body { background: #f5f2ec; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.zone { background: var(--bg); color: var(--ink); position: relative; }
.zone.alt { background: var(--bg2); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.h1, .h2, .hero-title { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.01em; }
.h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); }
.h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.h1 em, .h2 em, .hero-title em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--ink2); max-width: 34em; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--accent); transition: transform .4s var(--ease-out), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; background: transparent;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .4s; }
.site-header.scrolled { background: rgba(var(--shade), .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .header-inner { height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b { font-family: var(--serif); font-weight: 600; font-size: 29px; letter-spacing: .1em; }
.wordmark i { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: 9.5px; letter-spacing: .62em; margin-top: 3px; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 8px; cursor: pointer; }
.nav-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: 120px; }
.hero-media { position: absolute; inset: 0; clip-path: inset(50% 0 50% 0); animation: slabCut 1.8s var(--ease) .15s forwards; }
.hero-img { position: absolute; inset: -4%; background-size: cover; background-position: center; transform: scale(1.18); animation: slabSettle 2.6s var(--ease-out) .15s forwards, drift 26s ease-in-out 2.8s infinite alternate; }
.hero-img { background-image: var(--hero); }
@media (max-width: 700px) { .hero-img { background-image: var(--hero-m, var(--hero)); } }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .7) 38%, rgba(var(--shade), .08) 75%),
    linear-gradient(0deg, rgba(var(--shade), .95) 0%, rgba(var(--shade), 0) 40%);
}
.hero-shade::after { /* film grain */
  content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-content { position: relative; padding-bottom: 48px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 26px; }
.hero-title { font-size: clamp(3.2rem, 9.4vw, 9.6rem); margin-bottom: 30px; }
.hero-title > span { display: block; }
.hero-sub { font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--ink2); max-width: 36em; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats { display: flex; gap: clamp(28px, 6vw, 88px); }
.hero-stats dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-stats dd { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; }
.scroll-cue { width: 26px; height: 44px; border: 1px solid var(--line); border-radius: 14px; position: relative; flex: none; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px; background: var(--accent); border-radius: 2px; animation: cue 2s ease-in-out infinite; }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.3s var(--ease-out) forwards; }
.hero-title .reveal-line:nth-child(1) > span { animation-delay: 1.1s; }
.hero-title .reveal-line:nth-child(2) > span { animation-delay: 1.25s; }
.eyebrow.reveal-line > span { animation-delay: .95s; }
.reveal-fade { opacity: 0; transform: translateY(18px); animation: fadeUp 1.2s var(--ease-out) 1.55s forwards; }
.hero-foot.reveal-fade { animation-delay: 1.8s; }

@keyframes slabCut { to { clip-path: inset(0 0 0 0); } }
@keyframes slabSettle { to { transform: scale(1.04); } }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; white-space: nowrap; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1px var(--ink2); font-style: italic; }
.marquee i { font-style: normal; font-size: 14px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.makers, .materials, .sectors, .global, .process { padding: clamp(80px, 11vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }

/* Makers */
.makers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.makers-copy .h2 { margin-bottom: 28px; }
.makers-copy .lead { margin-bottom: 44px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.features li { display: flex; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.features span, .steps span, .slab-txt span, .panel-txt span { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 18px; }
.features h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.features p { font-size: 14px; color: var(--ink2); }
.makers-media { position: relative; aspect-ratio: 4 / 5; }
.makers-media figure { position: absolute; overflow: hidden; }
.mm-main { inset: 0 18% 14% 0; }
.mm-sub { right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); outline: 10px solid var(--bg); }
.pimg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.mm-badge { position: absolute; left: -4%; bottom: 6%; background: var(--accent); color: var(--accent-ink); padding: 20px 26px; display: flex; flex-direction: column; }
.mm-badge b { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1; }
.mm-badge span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }

/* Materials */
.slabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.slab { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--card); cursor: default; }
.slab:nth-child(3n+2) { top: 40px; }
.slab-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); transition: transform 1.4s var(--ease-out); }
.slab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 9, 8, .85) 0%, rgba(10, 9, 8, .1) 50%, rgba(10, 9, 8, 0) 100%); transition: opacity .6s; }
.slab-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; color: #f3eee6; }
.slab-txt span { color: #d9b77e; }
.slab-txt h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.05; margin: 2px 0 8px; }
.slab-txt p { font-size: 14px; color: rgba(243, 238, 230, .82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease-out), opacity .5s; }
.slab:hover .slab-img { transform: scale(1.1); }
.slab:hover .slab-txt p, .slab:focus-within .slab-txt p { max-height: 6em; opacity: 1; }

/* Stats */
.stats { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 10px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: 1; color: var(--ink); }
.stat b em { font-style: normal; }
.stat span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Sectors */
.panels { display: flex; gap: 14px; height: clamp(440px, 62vh, 640px); }
.panel { position: relative; flex: 1; overflow: hidden; text-decoration: none; color: #f3eee6; transition: flex 1s var(--ease-out); }
.panel:hover { flex: 1.9; }
.panel-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 1.6s var(--ease-out); }
.panel:hover .panel-img { transform: scale(1.12); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 9, 8, .82) 0%, rgba(10, 9, 8, .05) 55%); }
.panel-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; z-index: 1; }
.panel-txt span { color: #d9b77e; }
.panel-txt h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.05; margin: 4px 0 10px; }
.panel-txt p { font-size: 14.5px; color: rgba(243, 238, 230, .85); max-width: 26em; }

/* Global */
.global-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.global-copy .h2 { margin-bottom: 26px; }
.global-copy .lead { margin-bottom: 36px; }
.regions li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.regions li:last-child { border-bottom: 1px solid var(--line); }
.regions b { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.regions span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: right; }
.map-wrap { position: relative; }
.map { width: 100%; height: auto; display: block; overflow: visible; }
.map .dot { fill: var(--map-dot); }
.map .dots { fill: none; stroke: var(--map-dot); stroke-width: 3.8; stroke-linecap: round; }
.map .arc { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.map-wrap.in .arc { transition: stroke-dashoffset 2.2s var(--ease) var(--d, 0s); stroke-dashoffset: 0; }
.map .pin { fill: var(--accent); }
.map .pulse { fill: none; stroke: var(--accent); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.map .label { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); }
.map .label-sub { font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; fill: var(--muted); }
.map .pin-g { opacity: 0; transition: opacity .8s var(--ease-out) var(--d, 0s); }
.map-wrap.in .pin-g { opacity: 1; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.process-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.process .h2 { margin-bottom: 44px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 34px; counter-reset: s; }
.steps li { padding-top: 22px; border-top: 1px solid var(--line); position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--accent); transition: width 1.4s var(--ease-out) .3s; }
.steps li.in::before { width: 100%; }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.1; margin: 4px 0 8px; }
.steps p { font-size: 14.5px; color: var(--ink2); }

/* CTA */
.cta { padding: clamp(110px, 15vw, 220px) 0; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-bg .pimg { opacity: .32; }
[data-theme="light"] .cta-bg .pimg { opacity: .55; }
[data-theme="mixed"] .cta-bg .pimg { opacity: .45; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(var(--shade), .55) 0%, rgba(var(--shade), .92) 75%); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-inner .kicker::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.cta .h1 { margin-bottom: 26px; }
.cta .lead { margin-bottom: 40px; }

/* Footer */
.site-footer { padding: 80px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-note { color: var(--muted); font-size: 14px; max-width: 26em; margin-top: 22px; }
.site-footer h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 700; }
.site-footer .footer-grid a:not(.brand) { display: block; text-decoration: none; color: var(--ink2); font-size: 14.5px; margin-bottom: 8px; }
.site-footer .footer-grid a:not(.brand):hover { color: var(--ink); }
.site-footer address { font-style: normal; color: var(--ink2); font-size: 14.5px; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.footer-base a { text-decoration: none; }

/* Theme switcher (design review only) */
.theme-switch {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 80;
  display: flex; padding: 5px; gap: 4px; border-radius: 999px;
  background: rgba(20, 18, 16, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .12);
}
.theme-switch button {
  border: 0; background: transparent; color: #d9d2c7; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s;
}
.theme-switch button[aria-pressed="true"] { background: #c9a66d; color: #120f0b; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .section-head, .makers-grid, .global-grid, .process-grid { grid-template-columns: 1fr; }
  .makers-media { max-width: 560px; }
  .process-img { aspect-ratio: 16 / 10; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0; height: 100vh; flex-direction: column; justify-content: center; gap: 28px; background: var(--bg); transform: translateY(-100%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s linear .6s; }
  .nav a:not(.btn) { font-size: 18px; }
  .nav-open .nav { transform: none; visibility: visible; transition: transform .6s var(--ease); }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .slabs { grid-template-columns: repeat(2, 1fr); }
  .slab:nth-child(3n+2) { top: 0; }
  .slab-txt p { max-height: 6em; opacity: 1; }
  .panels { flex-direction: column; height: auto; }
  .panel { height: 340px; flex: none; }
  .panel:hover { flex: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .header-inner { height: 72px; }
  .brand-mark { width: 36px; height: 36px; }
  .wordmark b { font-size: 24px; }
  .hero-shade { background: linear-gradient(0deg, rgba(var(--shade), .96) 0%, rgba(var(--shade), .75) 55%, rgba(var(--shade), .35) 100%); }
  .hero-stats { gap: 22px; }
  .hero-stats dt { font-size: 9.5px; letter-spacing: .14em; }
  .scroll-cue { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .slabs { grid-template-columns: 1fr; }
  .slab { aspect-ratio: 4 / 3; }
  .regions li { flex-direction: column; gap: 2px; }
  .regions span { text-align: left; }
  .mm-badge { left: 0; }
  .footer-base { flex-direction: column; }
  .theme-switch button { padding: 10px 13px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-media { clip-path: none; }
  .reveal-line > span, .reveal-fade { transform: none; opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- WordPress ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.page { padding: 170px 0 120px; min-height: 70vh; }
.page-wrap { max-width: 860px; }
.page-article .h2 { margin-bottom: 30px; }
.page-content { color: var(--ink2); font-size: 1.05rem; }
.page-content > * + * { margin-top: 1.1em; }
.page-content a, .page .lead a { color: var(--accent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Lazy-loaded backgrounds fade in once their image has arrived */
[data-bg] { opacity: 0; transition: opacity .8s var(--ease-out); }
[data-bg].bg-ready { opacity: 1; }
.cta-bg .pimg[data-bg].bg-ready { opacity: .45; }
