/* ==========================================================================
   WEBIGI · css/site.css · theme "heritage"
   --------------------------------------------------------------------------
   Generated from the site's brand. :root tokens → brand (palette, accent,
   headFont, bodyFont); .wg-<type> → one Webigi section type; --fill / --c-head
   / --c-body / --c-eye on a section → data.fill / cHead / cBody / cEye.
   ========================================================================== */

:root {
  /* brand.palette[0..4] */
  --wg-ink: #0E1B2C;
  --wg-sea: #1C3550;
  --wg-brass: #C8923A;
  --wg-foam: #D6E1E4;
  --wg-sail: #F4F0E6;
  --wg-accent: #C8923A;
  --wg-accent-deep: #8C5E1C;
  --wg-brass-deep: var(--wg-accent-deep);   /* text-safe accent for light grounds */
  --wg-icon-light: #D6E1E4;
  --wg-nav: #0E1B2C;
  /* brand.headFont / brand.bodyFont */
  --wg-head: "IM Fell English", Georgia, serif;
  --wg-body: "Crimson Pro", Georgia, serif;
  --wg-logo-h: 62px;
  --wg-footer-logo-h: 96px;
  /* layout (Webigi device presets: desktop / tablet / mobile) */
  --wg-max: 1200px;
  --wg-px: 60px;
  --wg-py: 96px;
  --wg-nav-h: 74px;
  --wg-hero-size: 46px;
  --wg-h1-size: 38px;
  --wg-h2-size: 34px;
  --wg-wm-size: 200px;
  --wg-wm-track: 18px;
}
@media (max-width: 900px) { :root { --wg-px: 36px; --wg-py: 72px; --wg-nav-h: 68px; --wg-hero-size: 38px; --wg-h1-size: 32px; --wg-h2-size: 29px; --wg-wm-size: 130px; --wg-wm-track: 12px; } }
@media (max-width: 600px) { :root { --wg-px: 20px; --wg-py: 56px; --wg-nav-h: 60px; --wg-hero-size: 28px; --wg-h1-size: 25px; --wg-h2-size: 23px; --wg-wm-size: 74px; --wg-wm-track: 6px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 18px/1.6 var(--wg-body); color: #2A2A2A; background: var(--page-bg, var(--wg-sail)); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--wg-brass-deep); }
a:hover { color: var(--wg-ink); }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
.wg-skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--wg-ink); padding: 8px 14px; z-index: 100; }
.wg-skip:focus { left: 8px; }

/* ── Nav (Webigi: brand + pages[] where !footerOnly; ext isButton page = CTA) ── */
.wg-nav { position: sticky; top: 0; z-index: 50; background: var(--wg-ink); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.wg-nav-in { max-width: var(--wg-max); margin: 0 auto; padding: 0 var(--wg-px); height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wg-logo img { height: var(--wg-logo-h); width: auto; }
.wg-menu { display: flex; align-items: center; gap: 30px; }
.wg-menu a:not(.wg-btn) { color: rgba(255,255,255,.82); text-decoration: none; font-size: 18px; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.wg-menu a:not(.wg-btn):hover { color: #fff; border-bottom-color: color-mix(in srgb, var(--wg-brass) 60%, transparent); }
.wg-menu a[aria-current="page"] { color: #fff; border-bottom-color: var(--wg-brass); }
.wg-burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.wg-burger span { display: block; height: 2px; background: #fff; }
@media (max-width: 900px) {
  .wg-nav-in { height: 72px; }
  .wg-logo img { height: calc(var(--wg-logo-h) * .84); }
  .wg-burger { display: flex; }
  .wg-menu { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--wg-ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--wg-px) 24px; border-top: 1px solid rgba(255,255,255,.08); }
  .wg-menu.is-open { display: flex; }
  .wg-menu a:not(.wg-btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 20px; }
  .wg-menu .wg-btn { margin-top: 18px; justify-content: center; }
}

/* ── Shared section primitives ── */
.wg { position: relative; background: var(--fill, #fff); color: var(--c-body, #4E5B69); overflow: hidden; }
.wg-in { position: relative; max-width: var(--wg-max); margin: 0 auto; padding: var(--wg-py) var(--wg-px); }
.wg h1, .wg h2, .wg h3 { font-family: var(--wg-head); font-weight: 400; color: var(--c-head, var(--wg-ink)); text-wrap: balance; }
.wg h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.01em; }
.wg-h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.08; }
.wg-eyebrow { font: 600 13px/1.3 var(--wg-body); letter-spacing: .22em; text-transform: uppercase; color: var(--c-eye, var(--wg-brass-deep)); }
.wg-lede { font-size: 21px; line-height: 1.6; max-width: 620px; text-wrap: pretty; }
.wg-body { font-size: 19px; line-height: 1.65; text-wrap: pretty; }
.wg-stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.wg-stack--lg { gap: 34px; }
.wg-two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.wg-two--top { align-items: start; }
@media (max-width: 900px) { .wg-two { grid-template-columns: 1fr; gap: 40px; } }
.wg-ico { fill: var(--c-eye, var(--wg-brass)); flex: none; }

.wg-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 28px; font: 600 15px var(--wg-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 0; border-radius: 0; transition: background .2s, color .2s; }
.wg-btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.wg-btn--solid { background: var(--wg-ink); color: #F6EFDF; box-shadow: inset 0 0 0 3px var(--wg-ink), inset 0 0 0 4px rgba(246,239,223,.55); }
.wg-btn--solid:hover { background: var(--wg-brass-deep); color: #fff; box-shadow: inset 0 0 0 3px var(--wg-brass-deep), inset 0 0 0 4px rgba(246,239,223,.55); }
.wg-btn--ghost { border: 1.5px solid var(--wg-ink); color: var(--wg-ink); }
.wg-btn--ghost:hover { background: color-mix(in srgb, var(--wg-ink) 7%, transparent); color: var(--wg-ink); }
.wg-btn--brass { background: var(--wg-brass); color: var(--wg-ink); }
.wg-btn--brass:hover { background: color-mix(in srgb, var(--wg-brass), #fff 20%); color: var(--wg-ink); }
.wg-btn--light { background: #F6EFDF; color: var(--wg-ink); }
.wg-btn--light:hover { background: #fff; color: var(--wg-ink); }
.wg-btn--outline-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.wg-btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.wg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wg-link { font: 600 16px var(--wg-body); letter-spacing: .06em; color: var(--c-eye, var(--wg-brass-deep)); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.wg-media { overflow: hidden; background: #d9d1bf; }
.wg-media { width: var(--img-w, 100%); justify-self: center; }
.wg-media img { width: 100%; height: 100%; object-fit: var(--img-fit, cover); }
.wg-media--framed { aspect-ratio: var(--img-ratio, 4 / 3); padding: 10px; background: #FBF6EA; border: 1px solid rgba(92,62,28,.16); box-shadow: 0 24px 48px -24px rgba(48,30,10,.45); }
.wg-media--tall { aspect-ratio: var(--img-ratio, 4 / 5); }
@media (max-width: 900px) { .wg-media { width: min(100%, max(var(--img-w, 100%), 420px)); } }

/* ── hero · layout "print" (Webigi: hero, data.layout = "print") ── */
.wg-hero--print { background:
  radial-gradient(ellipse 70% 60% at 18% 12%, rgba(255,252,240,.7), transparent 70%),
  radial-gradient(ellipse 60% 55% at 92% 95%, rgba(122,82,36,.16), transparent 70%),
  radial-gradient(ellipse 50% 40% at 0% 100%, rgba(122,82,36,.1), transparent 70%),
  var(--fill); }
.wg-paper { position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(92,62,28,.035) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(92,62,28,.02) 0 1px, transparent 1px 7px); }
.wg-paper::before, .wg-paper::after { content: ""; position: absolute; border: 1px solid rgba(92,62,28,.22); inset: 14px; }
.wg-paper::after { inset: 19px; border-color: rgba(92,62,28,.12); }
.wg-hero--print .wg-in { padding-top: 110px; padding-bottom: 110px; }
.wg-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: 72px; align-items: center; }
.wg-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.wg-eyebrow--ruled { padding: 7px 14px 6px; border-top: 1.5px solid var(--c-eye); border-bottom: 1.5px solid var(--c-eye); margin-bottom: 24px; }
.wg-hero--print h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; }
.wg-double-rule { display: flex; flex-direction: column; gap: 3px; width: 92px; margin: 26px 0 22px; }
.wg-double-rule span { height: 1.5px; background: var(--c-eye); }
.wg-double-rule span + span { height: 1px; opacity: .55; }
.wg-hero--print .wg-lede { max-width: 520px; margin-bottom: 32px; }
.wg-print-wrap { position: relative; padding: 10px 6px 20px; }
.wg-print { position: relative; background: #FBF6EA; padding: 16px 16px 58px; border: 1px solid rgba(92,62,28,.16); transform: rotate(1.4deg); box-shadow: 0 34px 60px -24px rgba(48,30,10,.55), 0 8px 18px -8px rgba(48,30,10,.25); }
.wg-print-photo { position: relative; aspect-ratio: var(--print-ratio, 1302 / 880); background: #3a2c1e; filter: sepia(.42) contrast(1.06) brightness(.97) saturate(.9); }
.wg-print-photo img { width: 100%; height: 100%; object-fit: cover; }
.wg-print-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(58,34,10,.5); }
.wg-corner { position: absolute; width: 30px; height: 30px; background: #2B2016; }
.wg-corner.tl { left: 5px; top: 5px; clip-path: polygon(0 0,100% 0,0 100%); }
.wg-corner.tr { right: 5px; top: 5px; clip-path: polygon(0 0,100% 0,100% 100%); }
.wg-corner.bl { left: 5px; bottom: 47px; clip-path: polygon(0 0,0 100%,100% 100%); }
.wg-corner.br { right: 5px; bottom: 47px; clip-path: polygon(100% 0,100% 100%,0 100%); }
.wg-print figcaption { position: absolute; left: 0; right: 0; bottom: 15px; text-align: center; font: italic 400 20px var(--wg-head); color: #5A4630; }
.wg-stamp { position: absolute; right: -38px; bottom: -30px; width: 160px; height: 160px; transform: rotate(-11deg); filter: drop-shadow(0 12px 16px rgba(40,24,8,.45)); pointer-events: none; }
@media (max-width: 900px) {
  .wg-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .wg-print-wrap { order: -1; max-width: 640px; margin-right: 40px; }
  .wg-hero--print .wg-in { padding-top: 80px; padding-bottom: 80px; }
}
@media (max-width: 600px) {
  .wg-print-wrap { margin-right: 18px; }
  .wg-stamp { width: 104px; height: 104px; right: -6px; bottom: -10px; }
}

/* ── hero · photo background (Webigi: hero, data.bgImage + overlay) ── */
.wg-hero--photo, .wg-banner.has-bg { background: var(--bg-image) var(--bg-pos, center) / cover no-repeat, var(--fill); }
.wg-hero-center { min-height: var(--hero-h, 480px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; }
.wg-hero-center .wg-lede { margin-bottom: 12px; }

/* ── banner ── */
.wg-banner:not(.wg-banner--side) .wg-in { min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.wg-banner h1 { max-width: 860px; }

/* ── banner · layout "side" (Webigi: banner, data.layout = "side") — for portrait photos ── */
.wg-banner--side { background: radial-gradient(ellipse 60% 70% at 85% 50%, color-mix(in srgb, var(--wg-brass) 12%, transparent), transparent 70%), var(--fill); }
.wg-banner-side-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 64px; align-items: center; }
.wg-banner-copy { display: flex; flex-direction: column; align-items: flex-start; }
.wg-banner--side h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.wg-banner--side .wg-lede { font-size: 19px; max-width: 520px; }
.wg-side-print { justify-self: center; width: 100%; max-width: 400px; background: #FBF6EA; padding: 12px; border: 1px solid rgba(92,62,28,.2); transform: rotate(-1.4deg); box-shadow: 0 30px 60px -22px rgba(0,0,0,.6), 0 8px 18px -8px rgba(0,0,0,.35); }
.wg-side-photo { position: relative; aspect-ratio: 4 / 5; background: #3a2c1e; filter: sepia(.3) contrast(1.05) saturate(.9); }
.wg-side-photo img { width: 100%; height: 100%; object-fit: cover; }
.wg-side-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 70px rgba(58,34,10,.45); }
@media (max-width: 900px) { .wg-banner-side-layout { grid-template-columns: 1fr; gap: 40px; } .wg-side-print { order: -1; max-width: 340px; } }
@media (max-width: 600px) { .wg-side-print { max-width: 280px; } }

/* ── sectors strip ── */
.wg-sectors .wg-in { padding-top: 40px; padding-bottom: 40px; }
.wg-sectors-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.wg-sector { display: flex; align-items: center; gap: 16px; font-size: 20px; color: var(--c-head); }
.wg-sector .wg-ico { fill: var(--c-eye); }
@media (max-width: 900px) { .wg-sectors-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ── split ── */
.wg-checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.wg-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; font-weight: 600; color: var(--c-head); }
.wg-checks li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; border: 1.5px solid var(--c-eye); transform: rotate(45deg); background: linear-gradient(var(--c-eye),var(--c-eye)) center / 6px 6px no-repeat; }

/* ── cards ── */
.wg-head-center { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin: 0 auto 52px; max-width: 760px; }
.wg-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.wg-card { background: #fff; border: 1px solid color-mix(in srgb, var(--wg-ink) 10%, transparent); padding: 30px 28px 34px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .25s, transform .25s; }
.wg-card:hover { box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--wg-ink) 30%, transparent); transform: translateY(-2px); }
.wg-card h3 { font-size: 24px; line-height: 1.2; }
.wg-card p { font-size: 17px; line-height: 1.6; }
.wg-card-photo { height: 230px; margin: -30px -28px 6px; overflow: hidden; background: #d9d1bf; }
.wg-card-photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.92); }
.wg-more { display: flex; justify-content: center; margin-top: 44px; }
@media (max-width: 900px) { .wg-cards-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .wg-cards-grid { grid-template-columns: 1fr; } }

/* ── stats ── */
.wg-stats .wg-in { padding-top: 64px; padding-bottom: 64px; }
.wg-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
.wg-stat { display: flex; flex-direction: column; gap: 6px; border-left: 1.5px solid color-mix(in srgb, var(--wg-brass) 50%, transparent); padding-left: 18px; }
.wg-stat strong { font: 400 56px/1 var(--wg-head); color: var(--c-head); }
.wg-stat span { font-size: 17px; }
@media (max-width: 900px) { .wg-stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ── features ── */
.wg-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 40px; }
.wg-feature { display: flex; flex-direction: column; gap: 12px; }
.wg-feature-title { display: flex; align-items: center; gap: 12px; }
.wg-feature h3 { font-size: 24px; line-height: 1.2; }
.wg-feature p { font-size: 17px; line-height: 1.65; }
@media (max-width: 600px) { .wg-feature-grid { grid-template-columns: 1fr; } }

/* ── cta ── */
.wg-cta .wg-in { padding-top: 72px; padding-bottom: 72px; }
.wg-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wg-cta-row .wg-body { margin-top: 10px; max-width: 600px; }
@media (max-width: 900px) { .wg-cta-row { flex-direction: column; align-items: flex-start; } }

/* ── vision ── */
.wg-vision-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; align-items: start; }
.wg-bar { width: 46px; height: 3px; background: var(--c-eye); }
.wg-vision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 32px; border-top: 1px solid rgba(255,255,255,.16); }
.wg-vision-item { padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.wg-vision-item h3 { font-size: 22px; line-height: 1.3; color: var(--c-eye); }
.wg-vision-item p { font-size: 17px; line-height: 1.6; }
/* vision · layout "stack" (Webigi: vision, data.layout = "stack") — heading on top, items full width */
.wg-vision-layout--stack { grid-template-columns: 1fr; gap: 30px; }
.wg-vision-layout--stack > .wg-stack:first-child { max-width: 760px; }
.wg-vision-layout--stack .wg-vision-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .wg-vision-layout { grid-template-columns: 1fr; gap: 28px; } .wg-vision-layout--stack .wg-vision-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .wg-vision-layout--stack .wg-vision-grid { grid-template-columns: 1fr; } }

/* ── detail ── */
.wg-prose { display: flex; flex-direction: column; gap: 16px; font-size: 19px; line-height: 1.7; max-width: 560px; }
.wg-tracks { list-style: none; padding: 0; margin-top: 8px; counter-reset: t; border-top: 1px solid color-mix(in srgb, var(--wg-ink) 14%, transparent); }
.wg-tracks li { counter-increment: t; display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--wg-ink) 14%, transparent); font: italic 400 21px var(--wg-head); color: var(--c-head); }
.wg-tracks li::before { content: counter(t, decimal-leading-zero); font: 600 13px var(--wg-body); letter-spacing: .12em; color: var(--c-eye); font-style: normal; }

/* ── contact ── */
.wg-facts { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.wg-facts dt { font: 600 12px var(--wg-body); letter-spacing: .18em; text-transform: uppercase; color: var(--c-eye); }
.wg-facts dd { font-size: 19px; color: var(--c-head); }
.wg-form { background: #fff; border: 1px solid color-mix(in srgb, var(--wg-ink) 12%, transparent); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 48px -30px rgba(48,30,10,.4); }
.wg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wg-form label { display: flex; flex-direction: column; gap: 6px; font: 600 13px var(--wg-body); letter-spacing: .08em; text-transform: uppercase; color: var(--wg-ink); }
.wg-form input, .wg-form select, .wg-form textarea { font: 400 18px var(--wg-body); color: var(--wg-ink); background: #FDFBF6; border: 1px solid color-mix(in srgb, var(--wg-ink) 20%, transparent); border-radius: 0; padding: 11px 12px; text-transform: none; letter-spacing: 0; width: 100%; }
.wg-form input:focus, .wg-form select:focus, .wg-form textarea:focus { outline: 2px solid var(--wg-brass); outline-offset: 0; border-color: transparent; }
.wg-form .wg-btn { justify-content: center; margin-top: 4px; }
.wg-form-note { font-size: 16px; color: #2E6B3A; }
@media (max-width: 600px) { .wg-form { padding: 22px; } .wg-form-row { grid-template-columns: 1fr; } }

/* contact · layout "button" (Webigi: contact, data.layout = "button") — mailto button instead of a form */
.wg-contact-card { align-self: center; background: #fff; border: 1px solid color-mix(in srgb, var(--wg-ink) 12%, transparent); padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; box-shadow: 0 24px 48px -30px rgba(48,30,10,.4); }
.wg-contact-card .wg-double-rule { margin: 0; }
.wg-contact-email { font: italic 400 clamp(18px, 2vw, 24px)/1.3 var(--wg-head); color: var(--c-head); text-decoration: none; overflow-wrap: break-word; }
.wg-contact-email:hover { color: var(--wg-brass-deep); }
@media (max-width: 600px) { .wg-contact-card { padding: 28px 22px; } }

/* ── legal ── */
.wg-legal-layout { max-width: 820px; display: flex; flex-direction: column; gap: 14px; }
.wg-legal-layout h1 { font-size: clamp(36px, 4.4vw, 52px); }
.wg-legal-list { list-style: none; padding: 0; margin-top: 18px; display: flex; flex-direction: column; gap: 26px; counter-reset: l; }
.wg-legal-list li { counter-increment: l; display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; }
.wg-legal-list li::before { content: counter(l, decimal-leading-zero); grid-row: span 2; font: 600 14px var(--wg-body); color: var(--c-eye); padding-top: 6px; }
.wg-legal-list h2 { font-size: 24px; }

/* ── footer ── */
.wg-footer .wg-in { padding-top: 72px; padding-bottom: 28px; }
.wg-footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.09); }
.wg-footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.wg-footer-brand img { height: var(--wg-footer-logo-h); width: auto; align-self: flex-start; }
.wg-footer-brand p { font-size: 16px; line-height: 1.65; }
.wg-footer-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.wg-footer-cols h2 { font: 600 15px var(--wg-body); letter-spacing: .14em; text-transform: uppercase; color: var(--c-eye); margin-bottom: 12px; }
.wg-footer-cols ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.wg-footer a { color: var(--c-body); text-decoration: none; }
.wg-footer a:hover { color: #fff; }
.wg-footer-legal { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 15px; }
.wg-footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; font-size: 14px; color: rgba(255,255,255,.4); }
.wg-credit { display: inline-flex; align-items: center; gap: 8px; }
.wg-credit img { height: 14px; width: auto; opacity: .75; }
@media (max-width: 900px) { .wg-footer-top { flex-direction: column; } }

/* ── cookie (Webigi: cookie section → fixed bar) ── */
.wg-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--fill); color: var(--c-body); box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
.wg-cookie .wg-in { padding-top: 18px; padding-bottom: 18px; }
.wg-cookie-row { display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.wg-cookie strong { color: var(--c-head); font-size: 17px; }
.wg-cookie p { font-size: 15px; }
@media (max-width: 600px) { .wg-cookie-row { flex-direction: column; align-items: flex-start; } }

/* ── Reveal animation (Webigi: section anim = "fade", content only) ── */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--reveal-dur, .8s) ease, transform var(--reveal-dur, .8s) ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* A card's icon repeated in a row (item.icoCount 2–5), e.g. review stars. */
.wg-card-icons { display: flex; flex-wrap: wrap; gap: 6px; }

/* Video sections: header above a framed, responsive video. */
.wg-video-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.wg-video-head { max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wg-video-head .wg-h2, .wg-video-head .wg-body { margin: 0; }
.wg-video-frame { width: 100%; max-width: 1040px; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55); }
.wg-video-player { display: block; width: 100%; height: auto; max-height: 80vh; background: #000; }
.wg-video-frame--ph { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(255, 255, 255, .8); font: 700 16px system-ui, sans-serif; }
.wg-video-frame--ph small { font-weight: 500; font-size: 12px; opacity: .7; }

/* Lists with audio players (detail sections, trackMode 'audio'). js/site.js
   swaps each <audio> for Webigi's player (.wg-player); without JavaScript the
   browser's own controls show. Colours: --wg-player-bg (default white),
   --wg-player-fg (text + icons; the section's heading colour) and
   --wg-player-bar (progress + play button; the section's accent). */
.wg-tracks--audio li { flex-wrap: wrap; }
.wg-tracks--audio .wg-track-audio {
  flex: 1 0 100%; width: 100%; max-width: 640px; height: 56px; margin: 14px 0 6px;
  border-radius: 999px; background: var(--wg-player-bg, #fff);
}
.wg-track-audio--enhanced { display: none; }
.wg-player {
  --wg-pb: var(--wg-player-bar, var(--c-eye, var(--wg-accent, var(--wg-brass, #c8923a))));
  flex: 1 0 100%; box-sizing: border-box; max-width: 640px; height: 56px; margin: 14px 0 6px;
  display: flex; align-items: center; gap: 14px; padding: 0 22px 0 8px; border-radius: 999px;
  background: var(--wg-player-bg, #fff); color: var(--wg-player-fg, var(--c-head, var(--wg-ink, #17202b)));
  box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 16%, transparent), 0 10px 24px -14px rgba(0, 0, 0, .45);
  font: normal 600 13px/1 var(--wg-body, system-ui, sans-serif); letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.wg-player-play {
  flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: var(--wg-pb); color: var(--wg-player-bg, #fff);
}
.wg-player-play svg { width: 20px; height: 20px; fill: currentColor; }
.wg-player-play:focus-visible, .wg-player-bar:focus-visible { outline: 2px solid var(--wg-pb); outline-offset: 3px; }
.wg-player-time, .wg-player-dur { flex: none; min-width: 34px; }
.wg-player-bar {
  flex: 1; position: relative; height: 6px; border-radius: 999px; cursor: pointer; overflow: hidden;
  background: color-mix(in srgb, currentColor 18%, transparent);
}
.wg-player-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--wg-pb); }
/* ── spacing overrides (data.pt / pb, desktop px scaled by the device preset) ── */
.wg[style*="--pt"] > .wg-in { padding-top: calc(var(--pt) * var(--wg-py) / 74); }
.wg[style*="--pb"] > .wg-in { padding-bottom: calc(var(--pb) * var(--wg-py) / 74); }

/* ── reveal variants (data.anim / animDir) ── */
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="up"] { transform: translateY(46px); }
.js [data-reveal="down"] { transform: translateY(-46px); }
.js [data-reveal="zoom"] { transform: scale(.965); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── text styles (data.tsHead / tsBody / tsEye) ── */
.wg-ts-head-b :is(h1,h2,h3,.wg-stat strong,.wg-checks li,.wg-sector span,.wg-facts dd,.wg-tracks li) { font-weight: 800; }
.wg-ts-head-i :is(h1,h2,h3,.wg-stat strong,.wg-checks li,.wg-sector span,.wg-facts dd,.wg-tracks li) { font-style: italic; }
.wg-ts-head-u :is(h1,h2,h3,.wg-stat strong,.wg-checks li,.wg-sector span,.wg-facts dd) { text-decoration: underline; }
.wg-ts-head-k :is(h1,h2,h3,.wg-stat strong,.wg-checks li,.wg-sector span,.wg-facts dd) { text-decoration: line-through; }
.wg-ts-head-u.wg-ts-head-k :is(h1,h2,h3,.wg-stat strong,.wg-checks li,.wg-sector span,.wg-facts dd) { text-decoration: underline line-through; }
.wg-ts-head-hl :is(h1,h2,h3) { background: var(--hl-head); box-shadow: 0 0 0 7px var(--hl-head); width: fit-content; }
.wg-ts-body-b :is(.wg-lede,.wg-body,.wg-prose p,.wg-card p,.wg-feature p,.wg-vision-item p,.wg-stat span,.wg-footer-brand p,.wg-cookie p) { font-weight: 800; }
.wg-ts-body-i :is(.wg-lede,.wg-body,.wg-prose p,.wg-card p,.wg-feature p,.wg-vision-item p,.wg-stat span,.wg-footer-brand p,.wg-cookie p) { font-style: italic; }
.wg-ts-body-u :is(.wg-lede,.wg-body,.wg-prose p,.wg-card p,.wg-feature p,.wg-vision-item p,.wg-stat span,.wg-footer-brand p,.wg-cookie p) { text-decoration: underline; }
.wg-ts-body-k :is(.wg-lede,.wg-body,.wg-prose p,.wg-card p,.wg-feature p,.wg-vision-item p,.wg-stat span,.wg-footer-brand p,.wg-cookie p) { text-decoration: line-through; }
.wg-ts-body-u.wg-ts-body-k :is(.wg-lede,.wg-body,.wg-prose p,.wg-card p,.wg-feature p,.wg-vision-item p,.wg-stat span,.wg-footer-brand p,.wg-cookie p) { text-decoration: underline line-through; }
.wg-ts-body-hl :is(.wg-lede,.wg-body,.wg-prose p) { background: var(--hl-body); box-shadow: 0 0 0 7px var(--hl-body); width: fit-content; }
.wg-ts-eye-b :is(.wg-eyebrow,.wg-facts dt) { font-weight: 800; }
.wg-ts-eye-i :is(.wg-eyebrow,.wg-facts dt) { font-style: italic; }
.wg-ts-eye-u :is(.wg-eyebrow,.wg-facts dt) { text-decoration: underline; }
.wg-ts-eye-k :is(.wg-eyebrow,.wg-facts dt) { text-decoration: line-through; }
.wg-ts-eye-u.wg-ts-eye-k :is(.wg-eyebrow,.wg-facts dt) { text-decoration: underline line-through; }
.wg-ts-eye-hl .wg-eyebrow { background: var(--hl-eye); box-shadow: 0 0 0 7px var(--hl-eye); width: fit-content; }

/* ── eyebrow chip (hero: data.eyeShape / eyeFill / eyeAlign) ── */
.wg .wg-eyebrow { background-color: var(--eye-fill, transparent); }
.wg-eye-pill .wg-hero-center .wg-eyebrow { border-radius: 20px; }
.wg-eye-round .wg-hero-center .wg-eyebrow { border-radius: 6px; }
.wg-eye-square .wg-hero-center .wg-eyebrow { border-radius: 0; }
.wg-eye-none .wg-hero-center .wg-eyebrow { border: 0; padding: 0; border-radius: 0; }
.wg-eye-left .wg-eyebrow { align-self: flex-start; text-align: left; }
.wg-eye-center .wg-eyebrow { align-self: center; text-align: center; }
.wg-eye-right .wg-eyebrow { align-self: flex-end; text-align: right; }

/* ── text-and-picture section without a picture: the text alone ── */
.wg-two.wg-two--solo { grid-template-columns: minmax(0, 760px); }

/* ── background image on any section (data.bgImage + overlay) ── */
.wg.has-bg { background: var(--bg-image) var(--bg-pos, center) / cover no-repeat, var(--fill, var(--df, #fff)); }

/* ── logo stamp on a framed print photo (data.stamp) ──
   The stamp only ever overhangs the photo's own column: at most 38px sideways
   into the 72px column gap (desktop), and 30px vertically into the hero
   padding or the 48px gap above/below the text (tablet) — never onto text. */
.wg-stamp { object-fit: contain; z-index: 2; }
.wg-stamp--bottom-left { right: auto; left: -38px; transform: rotate(11deg); }
.wg-stamp--top-right { bottom: auto; top: -30px; transform: rotate(11deg); }
.wg-stamp--top-left { right: auto; bottom: auto; left: -38px; top: -30px; }
@media (max-width: 900px) {
  .wg-stamp--bottom-left, .wg-stamp--top-left { left: -20px; }
}
/* The site script lines the caption up away from the stamp (and grows its
   strip) if the stamp would cover its words — the stamp never leaves its corner. */
@media (max-width: 600px) {
  .wg-stamp--bottom-left, .wg-stamp--top-left { left: -6px; }
  .wg-stamp--top-right, .wg-stamp--top-left { top: -10px; }
}

/* ── images (data.imgAlign / imgFull / imgZoom) ── */
.wg-media { justify-self: var(--img-align, center); }
.wg-media img { transform: scale(var(--img-zoom, 1)); }
.wg-media--full { grid-column: 1 / -1; }
.wg-media--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; aspect-ratio: var(--img-ratio, 1.33); background: linear-gradient(140deg, #dbe7f2, #b9cee2); font: 600 12px system-ui, sans-serif; color: rgba(14,58,107,.5); }
.wg-media--ph small { font-weight: 500; font-size: 10.5px; opacity: .7; }

/* ── hero backgrounds without a photo (data.bg) ── */
.wg-hero-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wg-hero-fx--photo { background: repeating-radial-gradient(circle at center, rgba(255,255,255,.055) 0 1px, transparent 1px 26px) center / 900px 900px no-repeat; }
.wg-hero-fx--mesh::before, .wg-hero-fx--mesh::after { content: ""; position: absolute; inset: -15%; filter: blur(28px); }
.wg-hero-fx--mesh::before { background: radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--wg-brass) 55%, transparent), transparent 55%); animation: wg-blob-a 11s ease-in-out infinite; }
.wg-hero-fx--mesh::after { background: radial-gradient(circle at 70% 60%, color-mix(in srgb, var(--wg-sea) 50%, transparent), transparent 52%); animation: wg-blob-b 14s ease-in-out infinite; }
.wg-hero-fx--grid { background-image: linear-gradient(color-mix(in srgb, var(--wg-brass) 16%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--wg-brass) 16%, transparent) 1px, transparent 1px); background-size: 52px 52px; }
.wg-hero-fx--grid::after { content: ""; position: absolute; left: 0; right: 0; height: 130px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--wg-brass) 16%, transparent), transparent); animation: wg-scan 5.5s linear infinite; }
.wg-hero-fx canvas { width: 100%; height: 100%; display: block; }
@keyframes wg-blob-a { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(9%,-7%) scale(1.18); } }
@keyframes wg-blob-b { 0%, 100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-11%,8%) scale(.9); } }
@keyframes wg-scan { from { transform: translateY(-130px); } to { transform: translateY(900px); } }
@media (prefers-reduced-motion: reduce) { .wg-hero-fx *, .wg-hero-fx::before, .wg-hero-fx::after { animation: none !important; } }
.wg-wordmark { display: var(--wg-wordmark, flex); }

/* ── nav dropdowns (pages[].kids) ── */
.wg-menu-group { position: relative; display: flex; align-items: center; gap: 4px; }
.wg-sub-toggle { width: 18px; height: 18px; border: 0; padding: 0; background: none; cursor: pointer; color: inherit; opacity: .7; }
.wg-sub-toggle::before { content: "▾"; color: #fff; font-size: 10px; }
.wg-submenu { display: none; position: absolute; top: 100%; left: -14px; min-width: 212px; flex-direction: column; gap: 1px; z-index: 20; }
.wg-menu-group:hover .wg-submenu, .wg-menu-group:focus-within .wg-submenu, .wg-menu-group.is-open .wg-submenu { display: flex; }
@media (max-width: 900px) { .wg-menu-group { flex-wrap: wrap; } .wg-submenu { position: static; width: 100%; } .wg-menu-group:hover .wg-submenu { display: none; } .wg-menu-group.is-open .wg-submenu { display: flex; } }

/* ── footer base alignment (data.creditAlign) ── */
.wg-footer-base--left { justify-content: flex-start; gap: 26px; }
.wg-footer-base--center { justify-content: center; gap: 26px; }
.wg-footer-base--right { justify-content: flex-end; gap: 26px; }
.wg-logo-text { font-family: var(--wg-head); }

.wg-wordmark { --wg-wordmark: none; }
