/* Isle of Man Solar v2: "the island, seen by the sun". Tokens come from theme.json. */
:root {
	--night: var(--wp--preset--color--night);
	--deep: var(--wp--preset--color--deep);
	--ink: var(--wp--preset--color--ink);
	--ink-soft: var(--wp--preset--color--ink-soft);
	--sea: var(--wp--preset--color--sea);
	--paper: var(--wp--preset--color--paper);
	--mist: var(--wp--preset--color--mist);
	--sun: var(--wp--preset--color--sun);
	--ember: var(--wp--preset--color--ember);
	--yes: var(--wp--preset--color--yes);
	--no: var(--wp--preset--color--no);
	--display: var(--wp--preset--font-family--display);
	--accent: var(--wp--preset--font-family--accent);
	--mono: var(--wp--preset--font-family--mono);
	--radius: 20px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--gutter: clamp(1rem, 4vw, 2.5rem);
}
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--sun); color: var(--night); }
.wrap { max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }
/* Accent phrases in headings: same modern face, upright, lit in sun gold (no italic serif) */
:is(h1, h2, h3, .display, .display-2, .x-h, .x-h2, .ac-big) em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }

/* Accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--sun); color: var(--night); padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--sun); border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.motion-toggle { font: 600 .9rem/1 var(--display); color: #fff; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; min-height: 44px; padding: 0 1rem; cursor: pointer; }
.motion-toggle:hover { border-color: #fff; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; }
.motion-off [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Header ---------- */
/* Sticky on the template-part wrapper, otherwise the header can't stick beyond its own box */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.home header.wp-block-template-part, .x-page header.wp-block-template-part { position: static; }
.site-header { position: relative; z-index: 50; background: rgba(6, 18, 26, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(255,255,255,.08); padding-block: .85rem; color: #fff; transition: background .4s var(--ease), border-color .4s var(--ease); }
.home .site-header { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header.is-scrolled { background: rgba(6, 18, 26, .82); border-color: rgba(255,255,255,.08); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.brand { gap: .6rem; align-items: center; }
.brand__name, .brand__name a { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: #fff; text-decoration: none; margin: 0; }
.brand__name a::before { content: ""; display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE08A, var(--sun) 45%, var(--ember)); box-shadow: 0 0 18px rgba(255,184,28,.7); margin-right: .5em; vertical-align: -.02em; }
.site-nav a { color: rgba(255,255,255,.86); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1rem; padding: .45rem .2rem; transition: color .2s; }
.site-nav a:hover { color: var(--sun); }
.site-nav .wp-block-navigation__container { gap: 1.6rem; }
.site-nav .wp-block-navigation__responsive-container-open, .site-nav .wp-block-navigation__responsive-container-close { color: #fff; }
@media (max-width: 599px) { .site-nav .wp-block-navigation__responsive-container-open, .site-nav .wp-block-navigation__responsive-container-close { min-width: 48px; min-height: 48px; display: grid; place-items: center; border-radius: 999px; background: rgba(2,7,11,.85); } }
.site-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--night); color: #fff; padding: 2rem; }
.site-nav .wp-block-navigation__responsive-container.is-menu-open a { font-size: 1.6rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-decoration: none; border-radius: 999px; padding: .95rem 1.5rem; min-height: 48px; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn--sun { background: var(--sun); color: var(--night); border: 1.5px solid transparent; box-shadow: 0 10px 40px -10px rgba(255,184,28,.6); }
.btn--sun:hover { transform: translateY(-2px); background: #FFC94A; color: var(--night); box-shadow: 0 16px 50px -12px rgba(255,184,28,.8); }
.btn--sun::after { content: "\2192"; transition: transform .3s var(--ease); }
.btn--sun:hover::after { transform: translateX(4px); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Type helpers ---------- */
.display { font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 6.2vw, 6.2rem); line-height: .96; letter-spacing: -0.045em; margin: 0; color: #fff; }
.display .line { display: block; overflow: hidden; padding-bottom: .08em; }
.display .line > span { display: inline-block; }
.display em { color: var(--sun); }
.display-2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 5.2vw, 4.4rem); line-height: .98; letter-spacing: -0.04em; margin: 0 0 1.2rem; }
h1.kicker { font-weight: 500; line-height: 1.4; }
.kicker, .section-kicker { font-family: var(--mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 1.4rem; font-weight: 500; }
.kicker .dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 12px var(--sun); margin-right: .45rem; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Hero: from orbit to island ---------- */
.front-main { background: var(--night); color: #fff; }
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--night); isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero__planet { position: absolute; left: 62%; top: 52%; width: min(88vh, 70vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 0 120px 10px rgba(80,150,200,.18); will-change: transform; }
.hero__island { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__sunlight { position: absolute; inset: -150%; background: linear-gradient(105deg, rgba(6,18,26,.92) 0%, rgba(6,18,26,.9) 40%, rgba(6,18,26,.7) 45.5%, rgba(255,184,28,0) 48.5%, rgba(255,200,90,.3) 50.5%, rgba(255,184,28,0) 53%); will-change: transform; } /* oversized so its edges never show, even fully zoomed */
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(6,18,26,.85) 0%, rgba(6,18,26,.35) 45%, rgba(6,18,26,0) 70%), linear-gradient(to top, var(--night) 0%, rgba(6,18,26,0) 30%); }
.hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(3rem, 12vh, 8rem); max-width: 72rem; }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: rgba(255,255,255,.82); max-width: 36rem; margin: 1.6rem 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__cue { position: absolute; right: var(--gutter); bottom: 2rem; font-family: var(--mono); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); writing-mode: vertical-rl; margin: 0; }
.hero__cue::after { content: ""; display: block; width: 1px; height: 3.5rem; margin: .8rem auto 0; background: linear-gradient(var(--sun), transparent); animation: cue 2s infinite var(--ease); transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
	.hero__planet { left: 50%; top: 34%; width: 118vw; }
	.hero__vignette { background: linear-gradient(to top, var(--night) 8%, rgba(6,18,26,.75) 45%, rgba(6,18,26,.1) 75%); }
	.hero__cue { display: none; }
}

/* ---------- Smart meter readout ---------- */
.meter { padding-block: clamp(4rem, 10vw, 8rem); background: var(--night); }
.meter__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.readout { position: relative; background: linear-gradient(160deg, #0E2533, #081822); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; overflow: hidden; }
.readout::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); pointer-events: none; }
.readout__value { font-family: var(--mono); font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; color: var(--sun); text-shadow: 0 0 24px rgba(255,184,28,.45); margin: 0 0 .9rem; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.readout__value small { font-size: .38em; letter-spacing: 0; margin-left: .25em; color: rgba(255,184,28,.75); text-shadow: none; }
.readout__value small.pre { margin: 0 .1em 0 0; font-size: .6em; vertical-align: .35em; }
.readout__label { color: rgba(255,255,255,.72); margin: 0; font-size: 1rem; line-height: 1.45; }
.readout--warn .readout__value { color: #FF8A5B; text-shadow: 0 0 24px rgba(255,107,26,.45); }
.source { font-size: .9rem; color: rgba(255,255,255,.72); margin-top: 1.4rem; }

/* ---------- Rules: horizontal ---------- */
.rules { background: var(--paper); color: var(--ink); overflow: hidden; }
.rules__pin { display: flex; align-items: center; min-height: 100svh; padding: clamp(4rem, 8vw, 6rem) 0; }
.rules__row { display: flex; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-left: var(--gutter); will-change: transform; }
.rules__intro { flex: 0 0 min(30rem, 40vw); }
.rules__intro .display-2 { color: var(--ink); }
.rules__intro .display-2 em { color: var(--ember); }
.rules__intro p { font-size: 1.15rem; color: var(--ink-soft); }
.rules__track { display: flex; gap: 1.1rem; padding-right: var(--gutter); }
.rule { flex: 0 0 clamp(16rem, 24vw, 21rem); min-height: 22rem; background: #fff; border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(14,27,34,.06), 0 30px 60px -40px rgba(14,27,34,.35); position: relative; overflow: hidden; }
.rule::after { content: ""; position: absolute; right: -3rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%; opacity: .14; }
.rule--yes::after { background: var(--yes); } .rule--no::after { background: var(--no); } .rule--check::after { background: var(--sun); opacity: .35; }
.rule::before { font-family: var(--display); font-weight: 600; font-size: 5.5rem; line-height: 1; position: absolute; left: 1.4rem; top: 4.2rem; opacity: .9; }
.rule--yes::before { content: "\2713"; color: var(--yes); }
.rule--no::before { content: "\2715"; color: var(--no); }
.rule--check::before { content: "!"; color: var(--sun); left: 1.9rem; }
.rule__status { font-family: var(--mono); font-size: .88rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem; }
.rule__status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; }
.rule--yes .rule__status { color: var(--yes); } .rule--yes .rule__status::before { background: var(--yes); }
.rule--no .rule__status { color: var(--no); } .rule--no .rule__status::before { background: var(--no); }
.rule--check .rule__status { color: #8A5A00; } .rule--check .rule__status::before { background: var(--sun); }
.rule h3 { font-size: 1.6rem; line-height: 1.05; margin: 3rem 0 .7rem; }
.rule p:last-child { color: var(--ink-soft); margin: 0; font-size: 1rem; line-height: 1.5; }
@media (max-width: 900px) {
	.rules__pin { min-height: 0; }
	.rules__row { flex-direction: column; align-items: stretch; padding-right: var(--gutter); }
	.rule::before { font-size: 3rem; top: auto; bottom: 1.2rem; left: auto; right: 1.4rem; }
	.rules__intro { flex: none; }
	.rules__track { flex-direction: column; padding-right: 0; }
	.rule { flex: none; min-height: 0; }
	.rule h3 { margin-top: 1.5rem; }
}

/* ---------- Journey: the panel lights up ---------- */
.journey { background: var(--deep); padding-block: clamp(4rem, 10vw, 8rem); }
.journey__grid { display: grid; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (min-width: 900px) { .journey__grid { grid-template-columns: 1fr 1fr; } .journey__panel { position: sticky; top: 18vh; } }
.panel-svg { width: 100%; max-width: 30rem; display: block; margin-inline: auto; transform: perspective(900px) rotateX(18deg) rotateZ(-4deg); filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.panel-svg .frame { fill: #0A1A24; stroke: #5B6F79; stroke-width: 2; }
.panel-svg .cell { fill: #173446; transition: fill .25s; }
.panel-svg .cell.on { fill: var(--sun); }
.journey__meter { text-align: center; font-family: var(--mono); color: var(--sun); font-size: 1.4rem; margin-top: 1.8rem; text-shadow: 0 0 20px rgba(255,184,28,.4); font-variant-numeric: tabular-nums; }
.journey__steps .display-2 { color: #fff; }
.journey__steps .display-2 em { color: var(--sun); }
.journey__steps ol { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.journey__steps li { position: relative; padding: 0 0 2.6rem 4.2rem; min-height: 30vh; }
.journey__steps .n { position: absolute; left: 0; top: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; font-family: var(--mono); color: #fff; transition: background .4s, color .4s, border-color .4s; }
.journey__steps li.is-active .n { background: var(--sun); border-color: var(--sun); color: var(--night); }
.journey__steps h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: .2rem 0 .6rem; }
.journey__steps p { color: rgba(255,255,255,.72); margin: 0; }
.journey__steps a, .meter a { color: var(--sun); }

/* ---------- Harbour ---------- */
.harbour { position: relative; min-height: 92svh; display: grid; align-items: end; overflow: hidden; }
.harbour__img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.harbour::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6,18,26,.94) 5%, rgba(6,18,26,.35) 55%, rgba(6,18,26,.1)); }
.harbour__copy { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem); max-width: 50rem; }
.harbour__copy .display-2 { color: #fff; }
.harbour__copy p { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 34rem; margin-bottom: 2rem; }

/* ---------- Calculator ---------- */
.calc-band { background: var(--paper); color: var(--ink); padding-block: clamp(4rem, 10vw, 8rem); }
.calc-band .display-2 em, .rules__intro .display-2 em { color: #B8470F; }
.calc-band__lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36rem; margin-bottom: 2.5rem; }
.calc { background: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(1.2rem, 3vw, 2.2rem); display: grid; gap: 2rem; box-shadow: 0 50px 80px -60px rgba(14,27,34,.45); }
@media (min-width: 860px) { .calc { grid-template-columns: 1.1fr 1fr; } }
.calc fieldset, .calc .calc-field { border: 0; padding: 0; margin: 0 0 1.2rem; }
.calc label { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin-bottom: .45rem; color: var(--ink); }
.calc select, .calc input { box-sizing: border-box; width: 100%; font: inherit; padding: .8rem .9rem; border: 1.5px solid #6B7C83; border-radius: 12px; background: var(--paper); color: var(--ink); min-height: 50px; transition: border-color .2s; }
.calc select:hover, .calc input:hover { border-color: #B9C7C4; }
.calc .hint { font-size: .9rem; color: var(--ink-soft); margin: .35rem 0 0; }
.calc-out { background: radial-gradient(120% 80% at 80% 0%, #17394B 0%, var(--night) 60%); color: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); align-self: stretch; display: flex; flex-direction: column; }
.calc-out > p:first-child { font-family: var(--mono); font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin: 0; }
.calc-out .big { font-family: var(--mono); font-size: clamp(3.4rem, 8vw, 5.5rem); line-height: 1; color: var(--sun); text-shadow: 0 0 30px rgba(255,184,28,.45); margin: .6rem 0 1.2rem; letter-spacing: -0.05em; }
.calc-out dl { display: grid; grid-template-columns: 1fr auto; gap: .7rem 1rem; margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); }
.calc-out dt { color: rgba(255,255,255,.7); } .calc-out dd { margin: 0; font-family: var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.calc-out .small { font-size: .85rem; color: rgba(255,255,255,.55); margin: auto 0 0; padding-top: 1.4rem; }

/* ---------- Inner pages ---------- */
.page-main { background: var(--paper); color: var(--ink); padding-bottom: clamp(4rem, 8vw, 7rem); }
.page-head { position: relative; background: var(--night); color: #fff; padding: clamp(4rem, 10vw, 7.5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem) !important; margin: 0 0 clamp(2.5rem, 5vw, 4rem) !important; max-width: none !important; overflow: hidden; isolation: isolate; border-radius: 0 0 28px 28px; }
.page-head::before { content: ""; position: absolute; right: -8vw; top: -30%; width: min(60vw, 46rem); aspect-ratio: 1; border-radius: 50%; background: url(/wp-content/uploads/iom-temp/island-sat-1000.webp) center / cover; opacity: .38; z-index: -1; mask-image: radial-gradient(circle, #000 40%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%); }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--night) 35%, rgba(6,18,26,.4)); }
.page-head > * { max-width: 46rem; margin-left: auto !important; margin-right: auto !important; }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.page-head .eyebrow a, .page-head a { color: var(--sun); }
/* flex-wrap matters: on a phone "Published 26 September 2026 . updated 27 September 2026" is wider
   than the screen, and without wrapping it ran off the right edge inside .g-hero's overflow:hidden. */
.checked-stamp { display: flex; flex-wrap: wrap; row-gap: .25rem; gap: .5rem; align-items: center; font-family: var(--mono); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 1.4rem !important; }
.checked-stamp strong { color: #fff; font-weight: 500; }
.checked-stamp::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 10px #3DDC84; }
.eyebrow { font-family: var(--mono); font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.page-main h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 2.4em; }
.page-main h3 { font-size: 1.35rem; }
.lede { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; color: var(--ink); }

/* Signature highlighter, now a sunlight sweep */
.hl, mark.hl { background: linear-gradient(transparent 58%, rgba(255,184,28,.55) 58% 92%, transparent 92%); color: inherit; padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.display .hl, .page-head .hl { background: none; color: var(--sun); }

/* Status chips */
mark.chip { display: inline-block; font-family: var(--mono); font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; margin-right: .6rem; vertical-align: .15em; line-height: 1.2; background: var(--mist); color: var(--ink); }
mark.chip-yes { background: #DCF2E5; color: #125436; }
mark.chip-no { background: #FADCD8; color: #8E1C15; }
mark.chip-check { background: #FFEBB8; color: #6B4600; }

.status-list { background: #fff; border-radius: var(--radius); padding: .3rem 1.4rem; box-shadow: 0 30px 60px -45px rgba(14,27,34,.4); }
.status-list > p { margin: 0; padding: 1.05rem 0; border-bottom: 1px solid var(--mist); }
.status-list > p:last-child { border-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.6rem 3.6rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--night); color: var(--sun); font-family: var(--mono); display: grid; place-items: center; }
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 1.17rem; top: 2.5rem; bottom: .2rem; width: 2px; background: linear-gradient(var(--sun), var(--mist)); }
.steps strong { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

.callout { background: #fff; border-left: 4px solid var(--sun); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.4rem; box-shadow: 0 20px 50px -40px rgba(14,27,34,.4); }
.callout-warn { border-left-color: var(--no); }
.callout > :first-child { margin-top: 0; } .callout > :last-child { margin-bottom: 0; }

.route-cards { gap: 1rem; }
.route-cards > .wp-block-group { background: #fff; border-radius: var(--radius); padding: 1.5rem; flex: 1 1 15rem; }

.wp-block-table { overflow-x: auto; }
.wp-block-table table { background: #fff; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -45px rgba(14,27,34,.4); }
.wp-block-table th { background: var(--night); color: #fff; text-align: left; font-family: var(--display); font-weight: 600; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--mist); padding: .85rem 1rem; vertical-align: top; }
.wp-block-table figcaption { font-size: .85rem; color: var(--ink-soft); }
.ref, code { font-family: var(--mono); font-size: .85em; background: var(--mist); padding: .1em .4em; border-radius: 6px; }

.wp-block-details { background: #fff; border-radius: 14px; padding: 1.1rem 1.3rem; transition: box-shadow .3s; }
.wp-block-details[open] { box-shadow: 0 20px 50px -40px rgba(14,27,34,.45); }
.wp-block-details summary { font-family: var(--display); font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.wp-block-details summary::after { content: "+"; font-family: var(--mono); color: var(--sea); transition: transform .3s var(--ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details + .wp-block-details { margin-top: .6rem; }

.buy-link { display: inline-flex; gap: .5rem; background: var(--sun); color: var(--night); font-family: var(--display); font-weight: 600; text-decoration: none; border-radius: 999px; padding: .8rem 1.3rem; box-shadow: 0 10px 30px -12px rgba(255,184,28,.7); }
.buy-link::after { content: "\2192"; }
.buy-link:hover { background: var(--night); color: #fff; }
.page-main .disclosure { background: transparent; border: 1px dashed #BFCBC8; border-radius: 12px; padding: .8rem 1rem; color: var(--ink-soft); font-size: .92rem; }

.wp-block-buttons .wp-block-button__link { font-family: var(--display); }
.is-style-outline .wp-block-button__link { border: 1.5px solid currentColor; background: transparent; color: var(--ink); }

/* Reveal on scroll (set up by motion.js; content stays visible without JS) */
.js-motion [data-reveal] { opacity: 0; transform: translateY(28px); }

/* News */
.news-list > li { border-bottom: 1px solid var(--mist); padding: 1.3rem 0; }
.news-list h2 { font-size: 1.5rem; margin: .2rem 0; }
.news-list h2 a { color: var(--ink); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.8); padding-block: clamp(3.5rem, 8vw, 6rem) 2rem; margin-top: 0 !important; }
.site-footer a { color: #fff; }
.site-footer .brand__name { font-size: 1.6rem; }
.footer-heading { font-family: var(--mono) !important; font-size: .86rem !important; font-weight: 500 !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--sun) !important; margin-top: 0 !important; }
.footer-links { list-style: none; padding: 0; } .footer-links li { margin: .45rem 0; } .footer-links a { text-decoration: none; } .footer-links a:hover { color: var(--sun); }
.disclosure { font-size: .92rem; color: rgba(255,255,255,.6); }
.site-footer__legal { font-size: .82rem; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js-motion [data-reveal] { opacity: 1; transform: none; }
}

.aff-tag { display: inline-block; margin-left: .6rem; font-family: var(--mono); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); vertical-align: middle; }

/* =====================================================================
   Guide pages v2: cinematic hero, answer first, contents rail, visual blocks
   ===================================================================== */
.g-page { background: var(--paper); padding: 0 0 clamp(4rem, 8vw, 7rem) !important; margin-top: 0 !important; }
.g-hero { position: relative; background: radial-gradient(90% 120% at 85% 20%, #14384C 0%, var(--night) 55%); color: #fff; overflow: hidden; isolation: isolate; margin: 0 !important; max-width: none !important; }
.g-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 80% 40%, rgba(255,184,28,.18), transparent 70%); }
.g-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.6) 1px, transparent 1.2px); background-size: 120px 120px; opacity: .12; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.g-hero__inner { max-width: 80rem; margin: 0 auto !important; padding: clamp(6.5rem, 12vw, 9rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .g-hero__inner { grid-template-columns: 1.25fr 1fr; } }
.g-hero__text > * { margin-left: 0 !important; margin-right: 0 !important; max-width: 40rem; }
.g-hero .eyebrow { color: rgba(255,255,255,.7); }
.g-hero .eyebrow a { color: var(--sun); text-decoration: none; }
.g-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: .98; letter-spacing: -0.04em; margin: .6rem 0 0; text-wrap: balance; }
.g-visual { max-width: 30rem; width: 100%; justify-self: center; }
@media (max-width: 899px) { .g-visual { max-width: 18rem; order: -1; margin-bottom: -1rem; } }
.v-art { width: 100%; height: auto; overflow: visible; }
.v-art .draw { fill: none; stroke: var(--sun); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,184,28,.45)); }
.v-art .draw.thin { stroke-width: 1.4; opacity: .7; }
.v-art .draw.dash { stroke-dasharray: 3 9; }
.v-art .soft, .v-art .soft-fill { fill: rgba(255,184,28,.07); stroke: none; }
.v-art .glow { fill: rgba(255,184,28,.25); filter: blur(10px); }
.v-art .sun-dot { fill: #FFD36B; filter: drop-shadow(0 0 10px rgba(255,184,28,.9)); }
.v-art .v-label { fill: rgba(255,255,255,.75); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; }
.v-art .v-c { text-anchor: middle; }
.v-art .v-pound { fill: var(--sun); font-family: var(--display); font-size: 34px; font-weight: 600; text-anchor: middle; }

/* Body: contents rail + content column */
.g-body { max-width: 80rem; margin: 0 auto !important; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0; display: grid; gap: 2.5rem; }
@media (min-width: 1100px) { .g-body { grid-template-columns: 15rem minmax(0, 50rem); justify-content: center; gap: 4rem; } }
.g-content { min-width: 0; }
.g-content > * { max-width: 50rem; }
.g-content > h2 { scroll-margin-top: 6rem; }
.g-toc { display: none; }
@media (min-width: 1100px) {
	.g-toc { display: block; position: sticky; top: 6.5rem; align-self: start; font-size: .95rem; }
	.g-toc p { font-family: var(--mono); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .9rem; }
	.g-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--mist); }
	.g-toc a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
	.g-toc a:hover { color: var(--ink); }
	.g-toc a.is-active { color: var(--ink); border-left-color: var(--sun); font-weight: 600; }
}
.g-toc-mobile { margin: 0 0 2rem; }
@media (min-width: 1100px) { .g-toc-mobile { display: none; } }
.g-toc-mobile summary { font-family: var(--display); font-weight: 600; }

/* The short answer, first thing on every guide */
.answer-card { position: relative; background: var(--night); color: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem); overflow: hidden; margin-bottom: 2.5rem !important; box-shadow: 0 40px 70px -50px rgba(6,18,26,.8); }
.answer-card::before { content: ""; position: absolute; right: -4rem; top: -4rem; width: 14rem; height: 14rem; border-radius: 50%; background: radial-gradient(circle, rgba(255,184,28,.45), transparent 65%); }
.answer-card > * { position: relative; }
.answer-card .ac-label { font-family: var(--mono); font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin: 0 0 .6rem; }
.answer-card .ac-big { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .7rem; }
.answer-card .ac-big em { color: var(--sun); }
.answer-card p:last-child { margin-bottom: 0; color: rgba(255,255,255,.82); }
.answer-card a { color: var(--sun); }

/* Rule cards with icons */
.rule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: .9rem; margin: 1.5rem 0 1rem; }
.rcard { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; box-shadow: 0 1px 0 rgba(14,27,34,.05), 0 24px 50px -40px rgba(14,27,34,.45); position: relative; overflow: hidden; transition: box-shadow .35s var(--ease); }
.rcard:hover { box-shadow: 0 0 0 1.5px rgba(255,184,28,.55), 0 34px 60px -38px rgba(14,27,34,.5); }
.rcard svg { width: 2.6rem; height: 2.6rem; display: block; margin-bottom: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcard--yes { color: var(--yes); } .rcard--no { color: var(--no); } .rcard--check { color: #8A5A00; }
.rcard h3 { color: var(--ink); font-size: 1.15rem; margin: .5rem 0 .35rem; line-height: 1.15; }
.rcard p { color: var(--ink-soft); font-size: .98rem; margin: 0; line-height: 1.5; }
.rcard .rtag { font-family: var(--mono); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }

/* Step timeline (apply page and similar) */
.steps { position: relative; }
.steps > li { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.3rem 1.3rem 4.4rem; margin-bottom: .8rem; box-shadow: 0 20px 45px -40px rgba(14,27,34,.45); }
.steps > li::before { left: 1.2rem; top: 1.25rem; }
.steps > li:not(:last-child)::after { display: none; }
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 2.35rem; top: 1.5rem; bottom: 1.5rem; width: 2px; background: var(--mist); }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(var(--sun), var(--ember)); transform-origin: top; transform: scaleY(0); }

/* Kit cards */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.kcard { background: #fff; border-radius: calc(var(--radius) + 2px); overflow: hidden; box-shadow: 0 30px 60px -45px rgba(14,27,34,.5); display: flex; flex-direction: column; }
.kcard__art { background: radial-gradient(120% 120% at 80% 0%, #17394B, var(--night) 65%); padding: 1.2rem 1.2rem .6rem; }
.kcard__art svg { width: 100%; height: 7.5rem; display: block; }
.kcard__art .p { fill: rgba(255,184,28,.1); stroke: var(--sun); stroke-width: 1.6; stroke-linejoin: round; }
.kcard__art .g { stroke: rgba(255,184,28,.45); stroke-width: 1; fill: none; }
.kcard__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.kcard__body h3 { margin: 0; font-size: 1.25rem; }
.kcard__price { font-family: var(--mono); font-size: 1.5rem; color: var(--ink); letter-spacing: -0.03em; margin: 0; }
.kcard__price small { display: block; font-size: .86rem; color: var(--ink-soft); letter-spacing: .04em; margin-top: .3rem; }
.kcard__meta { list-style: none; padding: 0; margin: .2rem 0 .6rem; font-size: .95rem; color: var(--ink-soft); }
.kcard__meta li { padding: .25rem 0; border-bottom: 1px solid var(--mist); }
.kcard .buy-link { align-self: flex-start; margin-top: auto; }

/* How kits reach the island: a route map */
.route-map { background: var(--night); border-radius: calc(var(--radius) + 4px); padding: clamp(1rem, 3vw, 2rem); margin: 1.5rem 0 1rem; color: #fff; }
.route-map svg { width: 100%; height: auto; display: block; }
.route-map .land { fill: #13303F; stroke: rgba(255,255,255,.12); }
.route-map .iom { fill: #1E4A5E; stroke: var(--sun); stroke-width: 1.5; }
.route-map .r { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.route-map .r-ok { stroke: #3DDC84; } .route-map .r-maybe { stroke: var(--sun); stroke-dasharray: 5 7; } .route-map .r-no { stroke: #FF6B5B; stroke-dasharray: 2 8; }
.route-map text { fill: rgba(255,255,255,.85); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.route-map .t-dim { fill: rgba(255,255,255,.5); }
.route-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .8rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: rgba(255,255,255,.85); }
.route-legend li::before { content: ""; display: inline-block; width: 1.4rem; height: 3px; margin-right: .5rem; vertical-align: middle; border-radius: 2px; }
.route-legend .ok::before { background: #3DDC84; } .route-legend .maybe::before { background: var(--sun); } .route-legend .no::before { background: #FF6B5B; }

/* Month-by-month chart */
.month-chart { background: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(1.2rem, 3vw, 2rem); margin: 1.5rem 0; box-shadow: 0 30px 60px -45px rgba(14,27,34,.5); }
.month-chart h3 { margin: 0 0 .3rem; }
.month-chart .mc-sub { color: var(--ink-soft); margin: 0 0 1.4rem; font-size: .95rem; }
.mc-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: .4rem; align-items: end; height: 13rem; border-bottom: 1px solid var(--mist); }
.mc-col { position: relative; display: flex; gap: 2px; align-items: flex-end; height: 100%; }
.mc-bar { flex: 1; border-radius: 6px 6px 0 0; transform-origin: bottom; background: linear-gradient(var(--sun), var(--ember)); height: calc(var(--v) * 1%); }
.mc-bar.wall { background: #8FB8CC; }
.mc-bar:hover { filter: brightness(1.1); }
.mc-labels { display: grid; grid-template-columns: repeat(12, 1fr); gap: .4rem; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); text-align: center; margin-top: .5rem; }
.mc-key { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }
.mc-key span::before { content: ""; display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .4rem; vertical-align: -.1em; background: linear-gradient(var(--sun), var(--ember)); }
.mc-key span.wall::before { background: #8FB8CC; }

/* Section rhythm inside guides */
.g-content h2 { position: relative; padding-top: .2rem; }
.g-content h2::before { content: ""; display: block; width: 2.4rem; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--sun), var(--ember)); margin-bottom: 1rem; }

/* Island vs GB comparison: the island column is the one that matters */
.compare-table th[scope="row"] { background: #fff; color: var(--ink); font-family: var(--display); font-weight: 600; width: 26%; }
.compare-table thead th:last-child { background: linear-gradient(135deg, #1a3b4d, var(--night)); color: var(--sun); }
.compare-table td:last-child { background: #FFFBEF; }

/* Photography: additions alongside the line art, with a slow parallax drift */
.photo-band, .photo-duo { margin: 2.2rem 0; }
.pb-frame { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 4px); background: var(--night); box-shadow: 0 40px 70px -50px rgba(6,18,26,.7); }
.pb-frame img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1116; object-fit: cover; transform: scale(1.08); will-change: transform; }
.photo-band figcaption, .photo-duo figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .7rem; }
.photo-duo { display: grid; gap: .9rem; }
@media (min-width: 700px) { .photo-duo { grid-template-columns: 1fr 1fr; } .photo-duo figcaption { grid-column: 1 / -1; } }



/* =====================================================================
   Typography and spacing system (v3): balanced headings, one rhythm
   ===================================================================== */
/* No widows: headings balance their lines; paragraphs avoid a lone last word */
:is(h1, h2, h3, .display, .display-2, .x-h, .x-h2, .x-land-title, .ac-big, .x-sub, .answer-card p, .rcard h3, .kcard h3, .month-chart h3) { text-wrap: balance; }
:is(p, li, figcaption, td) { text-wrap: pretty; }
/* Headline measures, so big type never runs into awkward long lines */
.g-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.02; }
.x-h { max-width: 19ch; }
.x-h2 { max-width: 22ch; }
.x-ready .x-beat--right { max-width: 36rem; }
.x-ready .x-beat--right .x-h2 { margin-left: auto; }
.x-land-title { max-width: 18ch; }

/* Guide content rhythm: body copy 1.25rem apart, visual blocks get room to breathe */
.g-content > * { margin-block-start: 0; margin-block-end: 0; }
.g-content > * + * { margin-block-start: 1.25rem; }
.g-content > h2 { margin-block-start: clamp(3.5rem, 7vw, 5rem); margin-block-end: 1.25rem; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.08; }
.g-content > h3, .g-content > .wp-block-heading:where(h3) { margin-block-start: 2.25rem; margin-block-end: .5rem; }
.g-content > h2 + * { margin-block-start: 0; }
.g-content > :is(.answer-card, .rule-grid, .kit-grid, .photo-band, .photo-duo, .month-chart, .route-map, .wp-block-table, .callout, .steps-wrap, .calc, .g-toc-mobile, .aff-tag) { margin-block-start: 2.5rem; }
.g-content > h2 + :is(.rule-grid, .kit-grid, .photo-band, .photo-duo, .month-chart, .route-map, .wp-block-table, .steps-wrap, .calc) { margin-block-start: 1.75rem; }
.g-content > :is(.photo-band, .photo-duo) + *:not(h2) { margin-block-start: 2.5rem; }
.g-content > .answer-card { margin-block-start: 0; margin-bottom: 0 !important; }
/* Source lines and small print: clearly separated from what they cite */
.g-content > p.has-small-font-size { margin-block-start: 1.75rem; font-size: .92rem; color: var(--ink-soft); line-height: 1.6; }
.wp-block-table figcaption, .photo-band figcaption, .photo-duo figcaption { margin-top: 1rem !important; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.month-chart .mc-sub:last-child { margin-top: 1.5rem !important; }
.g-content .rule-grid, .g-content .kit-grid { margin-bottom: 0; }
/* Grids: equal-height cards on a shared baseline */
.rule-grid, .kit-grid { align-items: stretch; }
.rcard, .kcard { box-sizing: border-box; }
@media (max-width: 700px) { .g-content > h2 { margin-block-start: 3rem; } }

/* =====================================================================
   Layout QA fixes (v4), from reviews/layout-qa.md
   ===================================================================== */
/* 5. Buttons: padding inside the stated height */
.btn, .x-skip, .buy-link, .motion-toggle { box-sizing: border-box; }
.btn, .buy-link { text-wrap: balance; text-align: center; }
/* 2. One left edge: header, hero title, contents rail and footer all start together */
.g-hero__inner, .g-body { box-sizing: content-box; }
@media (min-width: 1100px) { .g-body { justify-content: start; } }
.g-body > .g-content { margin-block-start: 0 !important; }
/* 16. Guide titles: two lines, not three */
@media (min-width: 900px) { .g-hero__inner { grid-template-columns: 1.6fr 1fr; } }
.g-hero h1 { max-width: none; font-size: clamp(2.3rem, 4vw, 3.4rem); }
/* 10. Comfortable reading measure; visuals keep the full column */
.g-content > :is(p, ul, ol, h3) { max-width: 42rem; }
.g-content > p.has-small-font-size, .g-content > .disclosure { max-width: 40rem; }
/* 15. Heading and list rhythm */
.g-content > h3 { line-height: 1.2; }
.g-content > h3 + * { margin-block-start: .6rem; }
.g-content > :is(ul, ol) > li + li { margin-top: .55rem; }
/* 4. Notes that must not touch the block above */
.g-content > .kit-grid + .aff-tag { margin-block-start: 1rem; display: block; margin-left: 0; }
.buy-link + .aff-tag { display: block; margin: .6rem 0 0; }
/* 13. Table header without seams */
.wp-block-table thead tr { background: var(--night); }
.wp-block-table thead th { background: transparent; }
.compare-table thead th:last-child { background: linear-gradient(135deg, #1a3b4d, var(--night)); }
/* 1. Tables on phones: each row becomes a stacked card */
@media (max-width: 699px) {
	.g-content .wp-block-table:not(.is-plain-mobile) table, .g-content .wp-block-table:not(.is-plain-mobile) tbody, .g-content .wp-block-table:not(.is-plain-mobile) tr,
	.g-content .wp-block-table:not(.is-plain-mobile) td, .g-content .wp-block-table:not(.is-plain-mobile) th[scope="row"] { display: block; width: auto; }
		/* display:none, not clip-path: a clipped thead is still in the accessibility tree, so a screen
	   reader read every column heading once as loose text and again through each data-label. */
	.g-content .wp-block-table:not(.is-plain-mobile) thead { display: none; }
	.g-content .wp-block-table:not(.is-plain-mobile) tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--mist); }
	.g-content .wp-block-table:not(.is-plain-mobile) td, .g-content .wp-block-table:not(.is-plain-mobile) th[scope="row"] { border: 0; padding: .25rem 0; }
	.g-content .wp-block-table:not(.is-plain-mobile) th[scope="row"] { font-size: 1.1rem; padding-bottom: .4rem; background: transparent; }
	.g-content .wp-block-table:not(.is-plain-mobile) td[data-label]::before { content: attr(data-label); display: block; font: 500 .72rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .15rem; }
	.compare-table td:last-child { background: #FFFBEF; margin: .4rem -1.1rem -1rem; padding: .6rem 1.1rem; }
}
@media (max-width: 699px) { .is-plain-mobile th, .is-plain-mobile td { padding: .7rem .6rem; font-size: .95rem; } }
/* 3. Calculator: one column in the guide column, no clipped options, no dead zone */
.g-content .calc { grid-template-columns: 1fr; }
@media (min-width: 1100px) { .g-content .calc { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.calc select { text-overflow: ellipsis; }
.calc-out { align-self: start; }
.calc-out .small { margin-top: 1.6rem !important; }
.calc-out dt { white-space: nowrap; }
/* 7. Steps: clean cards, no broken connector stubs */
.steps-line { display: none; }
.steps > li { margin-bottom: 1rem; }
.steps strong { text-wrap: balance; }
@media (max-width: 599px) { .steps > li { padding: 1.1rem 1.1rem 1.2rem 3.6rem; } .steps > li::before { left: .9rem; width: 2rem; height: 2rem; } }
/* 8. Kit cards: rows line up across the grid */
.kcard__body h3 { min-height: 2.3em; }
.kcard__price--text { font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
/* 9. Rule cards: full rows on desktop, compact rows on phones */
@media (min-width: 1100px) { .g-content .rule-grid { grid-template-columns: repeat(4, 1fr); } .g-content .rule-grid:has(> .rcard:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) {
	.rcard { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .9rem; padding: 1.1rem; }
	.rcard svg { width: 2.2rem; height: 2.2rem; grid-row: span 3; margin: 0; }
	.rcard h3 { margin-top: .2rem; }
}
/* 14. Mobile contents: real navigation, big tap targets */
.g-toc-mobile ol { list-style: none; padding: 0; margin: .8rem 0 0; }
.g-toc-mobile a { display: block; padding: .7rem 0; text-decoration: none; color: var(--ink); border-top: 1px solid var(--mist); }
/* 17. Captions sit the same distance from every visual */
.photo-duo { row-gap: .9rem; }
.photo-duo figcaption { margin-top: .1rem !important; }
.route-map figcaption { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .8rem; }
/* Row headings (seller, rule name) are dark text on white, never the header's white-on-navy */
.wp-block-table tbody th[scope="row"] { background: #fff; color: var(--ink); font-family: var(--display); font-weight: 600; text-align: left; }
/* The question each short answer is answering */
.answer-card .ac-q { display: flex; gap: .7rem; align-items: baseline; font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 500; color: rgba(255,255,255,.88); margin: 0 0 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.answer-card .ac-q__mark { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--sun); color: var(--night); font-family: var(--mono); font-size: .88rem; font-weight: 600; transform: translateY(.15em); }
.g-content > .answer-card + * { margin-block-start: 2.5rem; }

/* Menu: the page you're on */
.site-nav .is-current > a, .site-nav a[aria-current="page"] { color: var(--sun) !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
/* Back to top */
.to-top { position: fixed; right: max(var(--gutter), calc((100vw - 80rem) / 2)); bottom: 1.4rem; z-index: 60; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--night); border: 1.5px solid rgba(255,184,28,.6); color: var(--sun); box-shadow: 0 12px 30px -12px rgba(6,18,26,.7); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--sun); color: var(--night); }
/* Section intros balance their lines */
.g-content > h2 + p, .x-sub, .hero__lede, .calc-band__lede, .answer-card p:last-child { text-wrap: balance; }

/* News: article and listing in the guide design */
.g-content-wrap { min-width: 0; }
.news-next { margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--mist); max-width: 50rem; }
.news-next ul { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; gap: .6rem; }
.news-next a { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.news-next ul a::after { content: " \2192"; color: var(--sun); }
.news-next a:hover { color: var(--sea); }
.news-back a { font-family: var(--mono); font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; }
.news-intro { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 36rem; margin-top: 1.2rem !important; text-wrap: balance; }
.news-wrap { max-width: 80rem; margin: 0 auto !important; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0; box-sizing: content-box; }
.news-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }
.news-card { background: #fff; border-radius: calc(var(--radius) + 2px); padding: 1.6rem 1.6rem 1.7rem; height: 100%; box-sizing: border-box; box-shadow: 0 30px 60px -45px rgba(14,27,34,.5); display: flex; flex-direction: column; gap: .6rem; transition: box-shadow .3s var(--ease); }
.news-card:hover { box-shadow: 0 0 0 1.5px rgba(255,184,28,.55), 0 30px 60px -45px rgba(14,27,34,.5); }
.news-card__date { font-family: var(--mono); font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.news-card__title { font-size: 1.45rem !important; line-height: 1.15; margin: 0 !important; text-wrap: balance; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a:hover { color: var(--sea); }
.news-card__excerpt { color: var(--ink-soft); margin: 0; }
.news-card__excerpt .wp-block-post-excerpt__more-link { font-weight: 600; color: var(--sea); }
.news-card__excerpt .wp-block-post-excerpt__more-text { margin-top: .8rem; }

.g-body > .g-content-wrap { margin-block-start: 0 !important; }
.g-content-wrap > .g-content { margin-block-start: 0 !important; }
.news-hero-img { margin: 0 0 2.5rem !important; max-width: 50rem; }
.news-hero-img img { width: 100%; height: auto; border-radius: calc(var(--radius) + 2px); display: block; }
.news-card__img { margin: -1.6rem -1.6rem .6rem !important; overflow: hidden; border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0; }
.news-card__img img { width: 100%; object-fit: cover; display: block; }

/* Keep the contact email on one line in the footer */
footer a[href^="mailto:"] { white-space: nowrap; font-size: .95em; }
.news-next .section-kicker { color: var(--ink-soft); }

/* News grid alignment: WordPress adds a top margin to every card but the first; remove it so all cards start level. */
.news-grid > li { margin: 0 !important; display: flex; }
.news-grid > li > .news-card { width: 100%; }
.news-card > * { margin-block: 0 !important; }
.news-card > .news-card__img { margin: -1.6rem -1.6rem .6rem !important; }
.news-card__img img { aspect-ratio: 16 / 9; height: auto; }
/* Excerpt fills the card so "Read the story" sits on one line across the row. */
.news-card__excerpt { flex: 1; display: flex; flex-direction: column; }
.news-card__excerpt .wp-block-post-excerpt__more-text { margin-top: auto !important; padding-top: .8rem; }

/* When logged in, keep the menu below the WordPress admin bar (visitors never see the bar). */
.admin-bar header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 0px); }
.admin-bar.home .site-header, .admin-bar.x-page .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part, .admin-bar.home .site-header, .admin-bar.x-page .site-header { top: 0; } }

/* Mobile menu: the header's frosted blur lives on a separate layer. A blur (backdrop-filter) on the header itself
   traps the full-screen menu inside the header's 75px strip, so it opened invisibly. */
.site-header, .home .site-header.is-scrolled, .x-page .site-header.is-scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.home .site-header:not(.is-scrolled)::before { display: none; }
.site-nav .wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; z-index: 100000; }
/* Paused: CSS pulses stop too. */
.motion-off .dot, .motion-off .x-hint { animation: none !important; }
/* Open mobile menu: dark full screen, large left-aligned links (overrides WordPress's white default). */
.site-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--night) !important; color: #fff !important; padding: 14px var(--gutter) 2.5rem !important; }
.site-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 5.5rem !important; }
.site-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.site-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; justify-content: flex-start !important; gap: 1.3rem !important; }
.site-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--display); font-size: 1.9rem !important; font-weight: 600; letter-spacing: -0.02em; color: #fff !important; padding: .2rem 0 !important; }
.site-nav .is-menu-open .is-current .wp-block-navigation-item__content, .site-nav .is-menu-open [aria-current="page"] { color: var(--sun) !important; }

/* Accessibility re-check fixes (25 Sept 2026) */
.x-new a, .x-how a, .site-footer .source a { color: var(--sun); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.g-content .source, .page-main .source { color: var(--ink-soft); }
.g-content .source a { color: var(--sea); }
.motion-toggle[aria-pressed="true"] { background: var(--sun); color: var(--night); border-color: var(--sun); }
.motion-off { scroll-behavior: auto; }
@media (max-height: 560px) { header.wp-block-template-part { position: static; } html { scroll-padding-top: 1rem; } }
@media (min-height: 561px) { html { scroll-padding-top: 8rem; } }
.rcard h3 { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: .45rem; }
.rcard h3 .rtag { display: block; line-height: 1.3; }
.contact-box { background: #fff; border-radius: calc(var(--radius) + 2px); padding: 1.4rem 1.6rem; box-shadow: 0 30px 60px -45px rgba(14,27,34,.5); display: grid; gap: .55rem; }
.contact-box p { margin: 0; }
.contact-box strong { display: inline-block; min-width: 7.5rem; font-family: var(--mono); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }

/* Rules page: a clear next step at the end */
.next-step { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: calc(var(--radius) + 4px); background: var(--night); color: #fff; }
.next-step .section-kicker { color: var(--sun); margin-bottom: .6rem; }
.next-step__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 0 0 1.4rem; color: #fff; }
.next-step__btns { display: flex; flex-wrap: wrap; gap: .7rem; align-items: stretch; }
.btn--ghost-dark { color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
/* The GB column has nothing for "island-only extras": hide its empty label on stacked phone tables */
@media (max-width: 699px) { .g-content .wp-block-table tr.island-only td:first-of-type { display: none; } }
/* Back to top never covers the end of the page */
@media (max-width: 760px) { .site-footer { padding-bottom: 5.5rem; } }
@media (max-width: 599px) { .next-step__btns { align-items: stretch; } .next-step__btns .btn { width: 100%; justify-content: center; text-align: center; text-wrap: balance; } }
@media (max-width: 599px) { .contact-box strong { display: block; min-width: 0; margin-bottom: .15rem; } .contact-box { gap: .9rem; } }
/* Inner pages on phones: no empty band above the drawing (the header isn't fixed there) */
@media (max-width: 899px) { .g-hero__inner { padding-top: 1.5rem; gap: 1.25rem; /* minmax(0,1fr) stops a grid item's intrinsic minimum forcing the column wider than the screen, which clipped the news headline inside .g-hero's overflow:hidden */ grid-template-columns: minmax(0, 1fr); } .g-hero__text { min-width: 0; } .g-visual { max-width: 15rem; margin-bottom: 0; } }
