/* built2spark landing — ported from the .dc.html artboards in design/.
   Colours, spacing and type follow the artboards' inline styles one to one;
   the artboards' hover and focus pseudo-attributes became :hover/:focus-visible. */

/* ---------- Fonts (self-hosted, latin subset; OFL licences next to the files) ---------- */

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin.woff2) format('woff2');
}

/* ---------- Tokens ---------- */

:root {
  --greige: #EDE8E0;
  --paper: #F7F4EF;
  --ink: #24251F;
  --woad: #35464E;
  --flax: #C9AE86;
  --granite: #6E6F68;
  --muted: #C9C4B8;
  --stone: #A9A399;
  --rule: #DCD5C9;
  --rule-dark: #3A3B33;
  --text-2: #35362F;
  --text-3: #45463F;
  --text-4: #57584F;
  --mist: #DDE3E4;
  --photo-bg: #DED7CB;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
}

/* ---------- Base ---------- */

body { margin: 0; background: var(--greige); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
@media (max-width: 640px) { body { font-size: 16px; } }
a { color: var(--woad); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--woad); outline-offset: 2px; }

@keyframes b2sRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes b2sFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 60; background: var(--ink); color: var(--paper); padding: 14px 20px; font-size: 16px; text-decoration: none; }
.skip-link:focus { left: 12px; top: 12px; color: var(--paper); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.page { overflow-x: hidden; }

.logo { display: block; height: 36px; width: auto; }

/* ---------- Buttons and photos ---------- */

.btn { display: inline-flex; align-items: center; font: inherit; font-weight: 600; background: var(--woad); color: var(--paper); text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn--nav { font-size: 16px; padding: 0 22px; min-height: 44px; }
.btn--nav:focus-visible { outline-color: var(--woad); }
.btn--lg { font-size: 17px; padding: 0 28px; min-height: 52px; }
.btn--md { font-size: 17px; padding: 0 26px; min-height: 48px; }

.link-button { font: inherit; color: var(--woad); background: none; border: 0; padding: 0; min-height: 44px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--ink); }

.photo { display: block; width: 100%; object-fit: cover; background: var(--photo-bg); }
.photo--hero { height: 100%; min-height: 320px; max-height: 720px; object-position: 55% center; }
.photo--wide { height: auto; aspect-ratio: 21 / 9; min-height: 260px; object-position: center 42%; filter: saturate(0.88); }
.photo--portugal { height: 100%; min-height: 300px; max-height: 640px; object-position: 46% 6%; filter: saturate(0.72) contrast(0.96); }
.photo--split { height: 100%; min-height: 300px; max-height: 640px; }
.photo--tall { height: 100%; min-height: 280px; }

/* ---------- Landing: header ---------- */

/* The announcement, centred, with the language menu at the right end of the
   same bar. The empty first column keeps the text centred while there is room. */
.topbar { background: var(--ink); color: var(--greige); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(12px, 3vw, 28px); }
.announce { grid-column: 2; margin: 0; font-size: 15px; padding: 11px 8px; text-align: center; line-height: 1.4; }
.topbar .lang { grid-column: 3; justify-self: end; }
.topbar .lang__current { color: var(--greige); }
/* The ring sits inside: the bar is the first thing on the page, and a ring
   outside the summary would be cut off by the top of the window. */
.topbar .lang__current:focus-visible { outline-color: var(--flax); outline-offset: -3px; }
/* On a phone the language's name would take a third of the bar from the
   announcement; its code does not. The accessible name stays the label. */
@media (max-width: 480px) {
  .topbar .lang__name { display: none; }
  .topbar .lang__code { display: inline; }
}

/* ---------- Language menu (partials/lang_menu.html) ---------- */

/* A <details>: it opens without JavaScript. The list hangs below the current
   language, right-aligned, over whatever comes next. */
.lang { position: relative; font-size: 15px; line-height: 1.4; }
.lang__current { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: var(--ink); white-space: nowrap; cursor: pointer; }
.lang__current::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang[open] .lang__current::after { transform: translateY(2px) rotate(225deg); }
.lang__code { display: none; text-transform: uppercase; letter-spacing: 0.04em; }
/* Above the consent banner (50) and the sticky bar (40), below the skip link
   (60): on a small phone the banner reaches up to the menu, and a visitor
   must be able to pick a language before answering a banner written in one. */
.lang__list { position: absolute; right: 0; top: 100%; z-index: 55; margin: 0; padding: 6px 0; min-width: 100%; list-style: none; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(36, 37, 31, 0.12); }
.lang__link { display: flex; align-items: center; min-height: 44px; padding: 0 18px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang__link:hover { background: var(--greige); }
.lang__link:focus-visible { outline-offset: -3px; }
.lang__link[aria-current] { font-weight: 600; }

.site-header { border-bottom: 1px solid var(--rule); }
.site-header__inner { max-width: 1200px; margin: 0 auto; padding: 14px clamp(20px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.site-header__logo { display: block; flex: 0 0 auto; padding: 14px 0; line-height: 0; text-decoration: none; }
.site-nav { flex: 1 1 240px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 22px; }
.site-nav__link { font-size: 16px; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.site-nav__link:hover { border-bottom-color: var(--ink); }

/* ---------- Landing: sections ---------- */

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: stretch; border-bottom: 1px solid var(--rule); }
.hero__copy { padding: clamp(48px, 6vw, 104px) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 720px; }
.hero__title { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; margin: 0 0 24px; max-width: 20ch; text-wrap: pretty; }
.hero__lead { margin: 0 0 32px; max-width: 60ch; font-size: 1.06em; color: var(--text-2); text-wrap: pretty; }
.hero__cta { margin: 0; }

.quote { margin: 0 0 36px; border-top: 2px solid var(--flax); padding-top: 18px; max-width: 34ch; }
.quote__text { margin: 0; font-family: var(--serif); font-size: clamp(23px, 2.1vw, 29px); line-height: 1.2; }
.quote__by { margin-top: 10px; font-size: 16px; color: var(--text-3); }

.promise { background: var(--woad); color: var(--paper); padding: clamp(44px, 5.5vw, 76px) var(--gutter); }
.promise__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(28px, 3.5vw, 52px); }
.promise__item { border-top: 2px solid var(--flax); padding-top: 18px; }
.promise__title { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 33px); line-height: 1.12; display: block; }
.promise__sub { display: block; margin-top: 10px; font-size: 17px; color: var(--mist); }

.section { padding: clamp(64px, 8vw, 128px) var(--gutter); }
.section--flush-bottom { padding-bottom: 0; }
.section--paper { background: var(--paper); }
.container { max-width: 1200px; margin: 0 auto; }

.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; margin: 0; text-wrap: pretty; }
.prose { margin: 0 0 20px; max-width: 68ch; text-wrap: pretty; }
.prose--lead { font-size: 1.06em; color: var(--text-2); }
.prose--narrow { max-width: 60ch; }
.prose--last { margin-bottom: 0; }

.fabric__title { margin-bottom: 28px; max-width: 24ch; }
.fabric__last { margin-bottom: clamp(40px, 5vw, 64px); }
.wide-figure { margin: 0; }
.wide-figure__caption { max-width: 1200px; margin: 14px auto 0; padding: 0 var(--gutter); font-size: 15px; color: var(--text-4); }

.cert { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 72px); align-items: start; }
.cert__title { max-width: 18ch; }

.split-section { border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: stretch; }
.split-section__copy { padding: clamp(56px, 7vw, 112px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.portugal__title { margin-bottom: 24px; max-width: 20ch; }

.price__title { margin-bottom: 24px; max-width: 22ch; }

.how__title { margin-bottom: clamp(36px, 4vw, 60px); max-width: 22ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(32px, 4vw, 56px); }
.steps__num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--flax); display: block; }
.steps__title { font-size: 24px; line-height: 1.15; margin: 12px 0 10px; }
.steps__text { margin: 0; max-width: 44ch; text-wrap: pretty; }

.cta { background: var(--ink); color: var(--greige); padding: clamp(56px, 7vw, 112px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.cta__title { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.06; margin: 0 0 22px; max-width: 18ch; }
.cta__text { margin: 0 0 32px; max-width: 54ch; color: var(--muted); text-wrap: pretty; }

.faq { max-width: 860px; margin: 0 auto; }
.faq__title { margin-bottom: clamp(28px, 3.5vw, 48px); }
.faq__item { border-top: 1px solid var(--rule); }
.faq__item:last-of-type { border-bottom: 1px solid var(--rule); }
.faq__q { list-style: none; cursor: pointer; padding: 20px 0; min-height: 44px; font-size: 1.06em; font-weight: 500; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.faq__a { padding: 0 0 24px; }
.faq__a p { margin: 0; max-width: 68ch; color: var(--text-2); text-wrap: pretty; }
.plus { flex: 0 0 auto; width: 22px; height: 22px; position: relative; align-self: center; transition: transform 220ms ease; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--woad); }
.plus::before { top: 50%; left: 0; width: 22px; height: 1.5px; margin-top: -0.75px; }
.plus::after { left: 50%; top: 0; height: 22px; width: 1.5px; margin-left: -0.75px; }
details[open] > summary .plus { transform: rotate(45deg); }

/* ---------- Landing: footer ---------- */

.site-footer { background: var(--ink); color: var(--muted); padding: clamp(48px, 6vw, 88px) var(--gutter) 32px; }
.site-footer__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(32px, 4vw, 64px); }
.logo--footer { height: 40px; margin: 0 0 20px; filter: brightness(0) invert(1) opacity(0.92); }
.site-footer__about { margin: 0; max-width: 34ch; font-size: 16px; }
.site-footer__heading { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--greige); margin: 0 0 12px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.site-footer__contact { margin: 0; }
.site-footer__link { color: var(--muted); font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer__link:hover { color: var(--paper); }
.site-footer__link:focus-visible { outline-color: var(--flax); }
.site-footer__copy { max-width: 1200px; margin: clamp(36px, 5vw, 64px) auto 0; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 15px; }

/* ---------- Join form (partials/form_join.html) ---------- */

.join { max-width: 460px; }
.join__label { display: block; font-size: 15px; font-weight: 500; margin: 0 0 8px; }
.join__row { display: flex; flex-wrap: wrap; gap: 10px; }
.join__input { flex: 1 1 200px; min-width: 0; font: inherit; font-size: 17px; padding: 13px 14px; min-height: 48px; background: var(--paper); color: var(--ink); border: 1px solid var(--stone); border-radius: 0; }
.join__button { flex: 0 0 auto; font: inherit; font-size: 17px; font-weight: 600; min-height: 48px; padding: 0 26px; border: 0; cursor: pointer; }
.join__note { margin: 12px 0 0; font-size: 15px; }
.join__note + .join__note { margin-top: 6px; }
.join__link { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.join__status { margin: 0; padding: 20px 22px; font-size: 17px; animation: b2sRise 320ms ease-out both; }
.join__status:empty { display: none; }
.join.is-done .join__fields { display: none; }
/* "resend" sits inside a sentence, so it keeps the line height (WCAG 2.5.8 inline exception). */
.join__resend { min-height: 0; }
.join__resend:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.join__resend:disabled { cursor: progress; opacity: 0.7; }
.join__resent { display: block; margin-top: 8px; font-size: 15px; }
.join--dark .join__resend { color: var(--paper); }
.join--dark .join__resend:hover { color: var(--flax); }

/* on ink (landing CTA) */
.join--dark .join__input:focus-visible { outline: 3px solid var(--flax); outline-offset: 1px; }
.join--dark .join__button { background: var(--greige); color: var(--ink); }
.join--dark .join__button:hover { background: var(--flax); }
.join--dark .join__button:focus-visible { outline: 3px solid var(--flax); outline-offset: 2px; }
.join--dark .join__note { color: var(--muted); }
/* Without these two the base a:hover (ink) and :focus-visible (woad) rules
   apply, and both disappear on the ink background. */
.join--dark .join__link:hover { color: var(--flax); }
.join--dark .join__link:focus-visible { outline: 3px solid var(--flax); outline-offset: 2px; }
.join--dark .join__status { background: var(--woad); color: var(--paper); border-left: 3px solid var(--flax); }

/* on greige (404 and the other single-column pages) */
.join--light .join__input:focus-visible { outline: 3px solid var(--woad); outline-offset: 1px; border-color: var(--woad); }
.join--light .join__button { background: var(--woad); color: var(--paper); }
.join--light .join__button:hover { background: var(--ink); }
.join--light .join__button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.join--light .join__note { color: var(--text-4); }
.join--light .join__status { background: var(--paper); border-left: 3px solid var(--woad); }

/* compact, in the sticky bar */
.join--sticky { max-width: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.join--sticky .join__fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 520px; max-width: 100%; }
.join--sticky.is-done .join__fields { display: none; }
.join--sticky .join__row { flex: 1 1 100%; gap: 8px; align-items: center; }
.join--sticky .join__input { flex: 1 1 140px; min-width: 0; box-sizing: border-box; font-size: 16px; padding: 0 12px; height: 46px; min-height: 0; background: #FFFFFF; }
.join--sticky .join__input:focus-visible { outline: 3px solid var(--woad); outline-offset: 1px; }
.join--sticky .join__button { box-sizing: border-box; font-size: 16px; height: 46px; min-height: 0; padding: 0 20px; background: var(--woad); color: var(--paper); }
.join--sticky .join__button:hover { background: var(--ink); }
.join--sticky .join__button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.join--sticky .join__consent { flex: 1 1 100%; margin: 0; font-size: 13px; line-height: 1.35; color: var(--text-4); }
.join--sticky .join__status { padding: 0; font-size: 16px; font-weight: 500; line-height: 1.35; max-width: 520px; }

/* ---------- Sticky bar ---------- */

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid #C9C2B5; box-shadow: 0 -1px 0 rgba(36, 37, 31, 0.04); animation: b2sRise 260ms ease-out both; }
/* A grid, so the dismiss button always shares a row with the form: narrow,
   the text takes the first row; wide, all three sit in one. The button is
   level with the input and submit (46px, the form's first row). */
.sticky__inner { max-width: 1200px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "text text" "form dismiss"; align-items: start; gap: 8px 12px; }
.sticky__text { grid-area: text; margin: 0; font-size: 16px; line-height: 1.35; }
.sticky__inner > .join { grid-area: form; min-width: 0; }
.sticky__dismiss { grid-area: dismiss; margin-top: 1px; width: 44px; height: 44px; font: inherit; font-size: 20px; line-height: 1; background: transparent; color: var(--text-3); border: 1px solid transparent; cursor: pointer; }
@media (min-width: 960px) {
  .sticky__inner { grid-template-columns: minmax(0, 1fr) auto 44px; grid-template-areas: "text form dismiss"; column-gap: 24px; }
  .sticky__text { min-height: 46px; display: flex; align-items: center; }
}
.sticky__dismiss:hover { border-color: #C9C2B5; }

/* ---------- Consent banner (partials/consent_banner.html) ---------- */

.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); color: var(--greige); animation: b2sRise 300ms ease-out both; }
.consent form { margin: 0; }
.consent :focus-visible { outline: 3px solid var(--flax); outline-offset: 2px; }
.consent__bar { max-width: 1200px; margin: 0 auto; padding: clamp(18px, 3vw, 28px) clamp(16px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px 40px; align-items: center; }
.consent__text { margin: 0; max-width: 62ch; font-size: 16px; text-wrap: pretty; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: flex-start; }
.consent__btn { font: inherit; font-size: 16px; font-weight: 600; min-height: 48px; padding: 0 24px; cursor: pointer; }
.consent__btn--accept { background: var(--greige); color: var(--ink); border: 1px solid var(--greige); }
.consent__btn--accept:hover { background: var(--flax); border-color: var(--flax); }
.consent__btn--reject { background: var(--greige); color: var(--ink); border: 1px solid var(--greige); }
.consent__btn--reject:hover { background: var(--flax); border-color: var(--flax); }
.consent__link { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consent__link:hover { color: var(--flax); }
.consent__btn--save { background: var(--woad); color: var(--paper); border: 1px solid var(--woad); }
.consent__btn--save:hover { background: var(--greige); color: var(--ink); }
.consent__manage { font: inherit; font-size: 16px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent__manage:hover { color: var(--paper); }
.consent__panel { border-top: 1px solid var(--rule-dark); animation: b2sFade 200ms ease-out both; }
.consent__panel-grid { max-width: 1200px; margin: 0 auto; padding: clamp(18px, 3vw, 28px) clamp(16px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px 40px; }
.consent__heading { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.consent__note { margin: 0; font-size: 15px; color: var(--muted); }
.consent__note--spaced { margin-bottom: 12px; }
.consent__toggle { font: inherit; font-size: 16px; min-height: 44px; padding: 0 18px; background: transparent; color: var(--greige); border: 1px solid var(--granite); cursor: pointer; }
.consent__toggle:hover { border-color: var(--greige); }
.consent__save-wrap { display: flex; align-items: flex-end; }

/* ---------- Single-column pages (404, 500, expired, check-inbox, unsubscribe) ---------- */

.page-min { min-height: 100vh; display: flex; flex-direction: column; }
/* The logo and the language menu share a row while there is room, and the
   menu drops under the logo, still at the right, when there is not. */
.header-min { padding: 20px var(--gutter) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.header-min .lang { margin-left: auto; }
.header-min__logo { display: inline-block; padding: 14px 0; line-height: 0; }

.error-main { flex: 1 1 auto; padding: clamp(48px, 7vw, 112px) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; gap: clamp(40px, 5vw, 80px); justify-content: center; }
.error-main__copy { max-width: 720px; }
.error-main__title { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.04; margin: 0 0 24px; max-width: 20ch; }
.error-main__text { margin: 0 0 36px; max-width: 62ch; color: var(--text-2); text-wrap: pretty; }
.error-main__text + .error-main__text { margin-top: -20px; }
.error-main__back { margin: 40px 0 0; font-size: 17px; }
/* The plain "Back to home" link stands alone, so it gets the 44px target:
   padding the margin takes back, which leaves the layout where it was. */
.error-main__back a:not(.btn) { display: inline-block; padding: 9px 0; margin: -9px 0; }

.mark { display: flex; flex-direction: column; align-items: flex-start; justify-self: center; max-width: 100%; }
.mark__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--granite); margin: 0 0 10px 4px; }
.mark__digits { position: relative; display: block; line-height: 0.82; }
.mark__shadow, .mark__outline { font-family: var(--serif); font-size: clamp(120px, 17vw, 260px); line-height: 0.82; display: block; }
.mark__shadow { position: absolute; left: 0.06em; top: 0.055em; color: var(--flax); }
.mark__outline { position: relative; color: transparent; -webkit-text-stroke: 1.5px var(--woad); }
.mark__rule { display: block; width: 100%; height: 2px; background: var(--woad); margin-top: 22px; }
.mark__caption { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.9vw, 25px); color: var(--text-3); margin-top: 12px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }
.actions__secondary { font-size: 17px; min-height: 44px; display: inline-flex; align-items: center; }

.footer-min { padding: 14px var(--gutter) 22px; font-size: 15px; color: var(--text-4); border-top: 1px solid var(--rule); }
.footer-min p { margin: 0; }
/* 44px targets: a line that holds a link is 44px tall (the padding above is
   10px less than the artboard's on each side to make up for it), so links on
   wrapped lines never overlap. */
.footer-min a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-min--plain { border-top: 0; }

/* ---------- Thank-you page (confirmed.html) ---------- */

.split-page { min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); align-items: stretch; }
.split-page__col { display: flex; flex-direction: column; }
.split-page__main { flex: 1 1 auto; padding: clamp(48px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 720px; }
.split-page__title { font-size: clamp(38px, 5vw, 66px); line-height: 1.04; margin: 0 0 22px; }
.split-page__lead { margin: 0 0 32px; max-width: 60ch; font-size: 1.1em; color: var(--text-2); text-wrap: pretty; }
.split-page__text { margin: 0 0 40px; max-width: 62ch; color: var(--text-3); text-wrap: pretty; }
.split-page__back { margin: 44px 0 0; }

.interest { border-top: 1px solid var(--rule); padding-top: 28px; max-width: 560px; }
.interest__set { border: 0; margin: 0; padding: 0; }
.interest__legend { padding: 0; margin: 0 0 6px; font-size: 1.02em; font-weight: 500; }
.interest__hint { margin: 0 0 16px; font-size: 15px; color: var(--text-4); }
.interest__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.interest__choice { font: inherit; font-size: 16px; min-height: 48px; padding: 0 24px; background: var(--paper); color: var(--ink); border: 1px solid var(--stone); cursor: pointer; }
.interest__choice:hover { border-color: var(--woad); background: #FFFFFF; }

.notice { margin: 0; padding: 18px 22px; background: var(--paper); border-left: 3px solid var(--woad); font-size: 17px; animation: b2sRise 300ms ease-out both; }

/* ---------- Privacy ---------- */

.legal { max-width: 760px; margin: 0 auto; }
.legal__title { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; margin: 0 0 12px; }
.legal__meta { margin: 0 0 32px; font-size: 15px; color: var(--text-4); }
.legal__h2 { font-size: clamp(26px, 2.4vw, 33px); line-height: 1.12; margin: 48px 0 16px; }
.legal__h3 { font-family: var(--sans); font-size: 1em; font-weight: 600; letter-spacing: 0; margin: 24px 0 8px; }
.legal__list { margin: 0 0 20px; padding-left: 1.2em; max-width: 68ch; }
.legal__list li + li { margin-top: 8px; }
.legal__table-wrap { overflow-x: auto; margin: 0 0 20px; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.legal__table th { font-weight: 600; }
.legal code { font-family: var(--mono); font-size: 0.9em; }

/* The cookie choice form in the privacy page's Cookies section. It repeats
   the banner's two buttons on a light background, so it needs its own
   colours; the banner's own .consent__btn--* are greige on ink. */
.cookie-form { margin: 0 0 20px; padding: clamp(18px, 3vw, 24px); max-width: 68ch; background: var(--paper); border: 1px solid var(--rule); }
.cookie-form__state { margin: 0 0 8px; font-weight: 600; }
.cookie-form__text { margin: 0 0 18px; font-size: 16px; color: var(--text-2); text-wrap: pretty; }
.cookie-form__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.cookie-form__btn { font: inherit; font-size: 16px; font-weight: 600; min-height: 48px; padding: 0 24px; cursor: pointer; }
.cookie-form__btn--accept { background: var(--woad); color: var(--paper); border: 1px solid var(--woad); }
.cookie-form__btn--accept:hover { background: var(--ink); border-color: var(--ink); }
.cookie-form__btn--reject { background: var(--woad); color: var(--paper); border: 1px solid var(--woad); }
.cookie-form__btn--reject:hover { background: var(--ink); border-color: var(--ink); }
