/* Avery Finch website wireframe v0.9 (13 Nov 2026): shared layout, mobile first.
   Base styles are the phone (390 px); min-width queries add room at 720 px and 1080 px, never content.
   Colours and type come from ds/averyfinch/tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg-page); }
.wf { background: var(--bg-page); color: var(--text-body); font: 400 16px/26px var(--font-text); overflow-x: clip; }
.in { max-width: var(--container-max); margin: 0 auto; padding: 0 16px; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.sec { position: relative; padding: var(--space-7) 0; background: var(--bg-page); color: var(--text-body); border-top: 1px solid var(--border); }
.sec:is([data-theme],[class*="theme-"]), .ftr { border-top: 0; }

/* Type (phone sizes first) */
.eyebrow { font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); margin: 0 0 16px; }
.dxl { font: var(--text-display-xl); font-size: 52px; letter-spacing: -.045em; color: var(--text-primary); margin: 0; }
.dxl em, .t-h1 em, .t-h2 em { font-style: normal; color: var(--heading-accent); }
.t-h1 { font: var(--text-h1); font-size: 38px; letter-spacing: -.035em; color: var(--text-primary); margin: 0; }
.t-h2 { font: var(--text-h2); font-size: 30px; letter-spacing: -.03em; color: var(--text-primary); margin: 0; }
.t-h3 { font: var(--text-h3); font-size: 21px; line-height: 28px; letter-spacing: -.02em; color: var(--text-primary); margin: 0; }
.lead { font: var(--text-lead); font-size: 18px; line-height: 28px; color: var(--text-body); margin: 20px 0 0; max-width: var(--measure); }
.body-s { font: var(--text-body-s); margin: 0; }
.data-s { font: var(--text-data-s); color: var(--text-secondary); }
.mono { font-family: var(--font-data); }
.help { font: var(--text-caption); color: var(--text-secondary); margin: 0; }
p.prose { margin: 16px 0 0; max-width: var(--measure); }

/* Header: logo, Request a quote and Menu on the phone; full nav from 1080 px */
.hdr { position: sticky; top: 0; z-index: 5; background: var(--surface-raised); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-raised); }
.hdr .in { height: 64px; display: flex; align-items: center; gap: 12px; }
.hdr .logo { display: block; flex: none; margin-right: auto; }
.hdr .logo img { height: 22px; width: auto; display: block; }
.nav, .hdr > .in > .lang { display: none; }
.nav a { color: var(--text-body); text-decoration: none; font: 500 15px/24px var(--font-text); padding: 22px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text-primary); }
.nav a[aria-current="page"] { color: var(--text-primary); border-bottom-color: var(--rule-key); }
.lang { display: flex; gap: 8px; font: var(--text-data-s); color: var(--text-secondary); }
.lang a { color: var(--text-secondary); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--text-primary); text-decoration: underline; text-underline-offset: 4px; }
.mnav { position: static; }
.mnav summary { list-style: none; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-1); color: var(--text-primary); font: var(--text-label); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav .sm-close, .mnav[open] .sm-open { display: none; }
.mnav[open] .sm-close { display: inline; }
.mnav__panel { position: absolute; left: 0; right: 0; top: 64px; background: var(--surface-raised); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-raised); padding: 8px 16px 24px; display: grid; }
.mnav__panel a { color: var(--text-primary); text-decoration: none; font: 500 18px/24px var(--font-text); padding: 14px 0; border-bottom: 1px solid var(--border); }
.mnav__panel a[aria-current="page"] { color: var(--heading-accent); }
.mnav__panel .lang { padding-top: 16px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-1); font: 500 16px/1 var(--font-text); text-decoration: none; background: var(--action-primary); color: var(--on-action-primary); border: 1px solid var(--action-primary); white-space: nowrap; }
.btn:hover { background: var(--action-primary-hover); color: var(--on-action-primary); }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn--sec { background: transparent; color: var(--action-secondary); border-color: var(--action-secondary); }
.btn--sec:hover { background: var(--action-secondary-hover); color: var(--action-secondary); }
.arrow { font: 500 16px/24px var(--font-text); color: var(--link); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.actions .btn { flex: 1 1 auto; }

/* Layout */
.hero { padding: var(--space-7) 0 var(--space-7); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.shead { max-width: 760px; margin-bottom: 32px; }
.shead--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 8px 24px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--border); background: var(--card); color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--border-strong); color: inherit; }
a.card .go { margin-top: auto; padding-top: 8px; font: 500 15px/24px var(--font-text); color: var(--link); }
.card .k { font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.hl { background: var(--surface-highlight); border-color: var(--surface-highlight); }
.seg { border-top: 6px solid var(--c); }
.tag { align-self: flex-start; display: inline-block; font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-1); background: var(--bg); color: var(--fg); }
.often { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: grid; gap: 4px; font: var(--text-body-s); }
.often .k { font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }

/* Evidence row (home S02) */
.evid { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--rule-key); }
.evid :is(li,.x-li) { padding: 20px 0; border-bottom: 1px solid var(--border); display: grid; gap: 8px; }
.evid .k { font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.evid h3 { font: var(--text-h4); color: var(--text-primary); margin: 0; }

/* Anchor chips (Services) */
.anchors { display: flex; gap: 8px; overflow-x: auto; margin: 32px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
.anchors a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-1); text-decoration: none; color: var(--text-primary); font: 500 14px/20px var(--font-text); background: var(--surface); }

/* Service detail */
.svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 40px 0; border-top: 1px solid var(--border); scroll-margin-top: 80px; }
.svc:first-child { border-top: 2px solid var(--rule-key); }
.svc h3.sub { font: var(--text-h4); color: var(--text-primary); margin: 24px 0 4px; }
.svc :is(ul,.x-ul) { margin: 8px 0 0; padding-left: 20px; }
.svc :is(li,.x-li) { margin: 6px 0; }
.recv { margin-top: 24px; padding: 16px; background: var(--surface-highlight); border-left: 2px solid var(--rule-key); }
.recv .k { display: block; font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 4px; }
.recv p { margin: 0; color: var(--text-primary); }
.callout { margin-top: 16px; padding: 16px; border: 1px solid var(--border); background: var(--card); }
.callout b { color: var(--text-primary); }
.svc .contact { margin-top: 16px; font: var(--text-body-s); }

/* Activities index */
.acts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.acts > div { border-top: 2px solid var(--rule-key); padding-top: 16px; }
.acts h3 { font: var(--text-h4); color: var(--text-primary); margin: 0; }
.acts .svcref { display: block; font: var(--text-caption); color: var(--text-secondary); margin: 2px 0 8px; }
.acts .svcref a { color: var(--link); }
.acts :is(ul,.x-ul) { list-style: none; margin: 0; padding: 0; }
.acts :is(li,.x-li) { font: var(--text-body-s); padding: 10px 0; border-bottom: 1px solid var(--border); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; counter-reset: s; }
.steps :is(li,.x-li) { border-top: 1px solid var(--border-strong); padding: 16px 0 20px; display: grid; gap: 6px; }
.steps .n { font: var(--text-data); color: var(--text-secondary); }
.steps h3 { font: var(--text-h4); color: var(--text-primary); margin: 0; }
.steps .who { font: var(--text-data-s); color: var(--text-secondary); }

/* Two blocks side by side on desktop */
.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.pair > div { border-top: 2px solid var(--rule-key); padding-top: 20px; }

/* Feature list (Brazil Desk, working with your team) */
.feat { list-style: none; margin: 0; padding: 0; display: grid; }
.feat :is(li,.x-li) { padding: 20px 0; border-top: 1px solid var(--border); display: grid; gap: 6px; }
.feat :is(li,.x-li):last-child { border-bottom: 1px solid var(--border); }
.feat h3 { font: var(--text-h4); color: var(--text-primary); margin: 0; }

/* Tables: stacked rows on the phone (each row a block, labels from data-l), a table from 720 px */
.tbl { width: 100%; border-collapse: collapse; font: var(--text-body-s); }
.tbl thead { display: none; }
.tbl tr { display: block; padding: 16px 0; border-top: 1px solid var(--border); }
.tbl tbody tr:first-child { border-top: 2px solid var(--rule-key); }
.tbl td { display: block; padding: 4px 0; }
.tbl td[data-l]::before { content: attr(data-l); display: block; font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); margin: 8px 0 2px; }
.tbl td:first-child { font: var(--text-h4); color: var(--text-primary); }
.tbl td:first-child::before { display: none; }

/* Safety statement */
.safety .t-h1 { max-width: 14ch; }

/* Form */
.form { display: grid; gap: 24px; }
.addmore { display: block; }
.addmore__body { display: grid; gap: 24px; margin-top: 24px; }
.addmore > summary { list-style: none; width: fit-content; cursor: pointer; }
.addmore > summary::-webkit-details-marker { display: none; }
.addmore .sm-less, .addmore[open] .sm-more { display: none; }
.addmore[open] .sm-less { display: inline; }
fieldset { border: 1px solid var(--border); padding: 20px 16px; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
legend { font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-primary); padding: 0 8px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f label, .f .lbl { font: 500 14px/20px var(--font-text); color: var(--text-primary); }
.f input, .f select, .f textarea { font: var(--text-body-s); min-height: 48px; border: 1px solid var(--border-strong); border-radius: var(--radius-1); background: var(--surface-sunken); color: var(--text-primary); padding: 10px 12px; width: 100%; }
.f textarea { min-height: 128px; resize: vertical; }
.lrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; }
.need { font: 500 12px/16px var(--font-text); color: var(--text-secondary); white-space: nowrap; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding-top: 10px; font: var(--text-body-s); color: var(--text-body); }
.f .check input, .radios input, .chipset input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 1px 0 0; flex: none; border: 0; accent-color: var(--action-primary); }
.radios { display: grid; gap: 0; }
.radios label { display: flex; gap: 12px; align-items: center; min-height: 44px; font: var(--text-body-s); color: var(--text-body); }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipset label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-1); font: var(--text-body-s); color: var(--text-body); background: var(--surface); }
.chipset label:has(input:checked) { border-color: var(--action-primary); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--action-primary); }
.chipset .more-t { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chipset .is-extra { display: none; }
.chipset:has(.more-t:checked) .is-extra { display: inline-flex; }
.chipset label.more-l { order: 2; border: 0; background: transparent; padding: 0 12px; color: var(--link); font: 600 14px/20px var(--font-text); cursor: pointer; box-shadow: none; }
.chipset .sm-less, .chipset:has(.more-t:checked) .sm-more { display: none; }
.chipset:has(.more-t:checked) .sm-less { display: inline; }
.chipset:has(.more-t:checked) .more-l { flex-basis: 100%; }
/* Conditional questions: shown when their trigger is ticked */
.condq { display: none; border-left: 2px solid var(--rule-key); padding: 4px 0 4px 16px; gap: 12px; }
.form:has(#w-prs:checked) .condq--prs, .form:has(#w-frt:checked) .condq--frt { display: grid; }
.loc-one { display: none; }
.form:has(#w-one:checked) .loc-one { display: flex; }
.form:has(#w-one:checked) .loc-two { display: none; }
.cond { font: var(--text-caption); color: var(--text-secondary); font-style: italic; margin: 0; }
.items { display: grid; gap: 12px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; border: 1px solid var(--border); padding: 12px; }
.item .f:first-child { grid-column: 1 / -1; }
.item .f label { font: 500 12px/16px var(--font-text); color: var(--text-secondary); }
.item .rm { grid-column: 1 / -1; justify-self: start; }
.linkbtn { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--link); font: 600 14px/20px var(--font-text); cursor: pointer; justify-self: start; }
.drop { border: 1px dashed var(--border-strong); padding: 16px; display: grid; gap: 8px; justify-items: start; background: var(--surface); }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.files :is(li,.x-li) { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; border: 1px solid var(--border); padding: 0 0 0 12px; font: var(--text-body-s); }
.files .linkbtn { padding: 0 12px; border-left: 1px solid var(--border); }
.form .send { display: grid; gap: 12px; }
.form .send .btn { justify-self: stretch; }

/* Panels and data tables */
.panel { border: 1px solid var(--border); background: var(--surface); }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px; border-bottom: 2px solid var(--rule-key); }
.panel__head h2 { font: var(--text-h4); color: var(--text-primary); margin: 0; }
.panel__body { padding: 16px; display: grid; gap: 16px; }
.panel__foot { padding: 12px 16px; border-top: 1px solid var(--border); font: var(--text-caption); color: var(--text-secondary); }
.dt { width: 100%; border-collapse: collapse; font: var(--text-body-s); }
.dt td { padding: 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.dt td:first-child { color: var(--text-secondary); width: 38%; padding-right: 12px; }
.dt td:last-child { color: var(--text-primary); overflow-wrap: anywhere; }

/* Next steps and contacts */
.next { list-style: none; margin: 0; padding: 0; display: grid; }
.next :is(li,.x-li) { border-top: 1px solid var(--border-strong); padding: 14px 0; display: grid; gap: 4px; }
.next .n { font: var(--text-data); color: var(--text-secondary); }
.next h3 { font: var(--text-h4); color: var(--text-primary); margin: 0; }
.contacts { list-style: none; margin: 0; padding: 0; }
.contacts :is(li,.x-li) { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--border); font: var(--text-body-s); }
.contacts .mono { color: var(--text-primary); }
.contacts .help { margin-top: 4px; }
.prepath { padding: 16px; border: 1px solid var(--border); background: var(--card); font: var(--text-body-s); }

/* CTA band */
.cta .in { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
.cta .actions { margin-top: 0; }

/* Footer */
.ftr { padding: 48px 0 24px; background: var(--bg-page); color: var(--text-body); }
.ftr .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 16px; }
.ftr .brand { grid-column: 1 / -1; }
.ftr .brand img { height: 32px; width: auto; display: block; margin-bottom: 16px; }
.ftr .brand p { font: var(--text-body-s); margin: 0 0 8px; max-width: 36ch; }
.ftr h2 { font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); margin: 0 0 12px; }
.ftr :is(ul,.x-ul) { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr :is(ul,.x-ul) a { color: var(--text-body); text-decoration: none; font: var(--text-body-s); display: inline-flex; align-items: center; min-height: 36px; }
.ftr :is(ul,.x-ul) a:hover { color: var(--text-primary); text-decoration: underline; }
.ftr .mail { display: block; font: var(--text-data-s); color: var(--text-secondary); margin-top: -6px; }
.ftr .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: var(--text-data-s); color: var(--text-secondary); }

/* Figures (fx): an illustrative record that fills in, same mould as the home hero */
.fx { margin: 0; border: 1px solid var(--border); background: var(--surface-highlight); color: var(--text-primary); display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.fx__draw { width: 100%; height: auto; display: block; padding: 12px 12px 0; }
.fx__base * { fill: none; stroke: var(--border-strong); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.fx__base .dash { stroke-dasharray: 2 5; }
.fx__base .fill { fill: var(--border); stroke: none; }
.fx__dims .d { fill: none; stroke: var(--measure-line); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.fx__dims .dot { fill: var(--measure-line); stroke: none; }
.fx__dims text { font: 500 12px var(--font-data); fill: var(--measure-line); }
.fx__dims text.mut { fill: var(--text-secondary); }
@media (max-width: 719px) { .fx__dims text { font-size: 16px; } }
.fx__rows { margin: 0; padding: 8px 16px 4px; display: grid; }
.fx__rows > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 32px; padding: 4px 0; border-top: 1px solid var(--border); }
.fx__rows :is(dt,.x-dt) { font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.fx__rows :is(dd,.x-dd) { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font: 400 13px/18px var(--font-data); color: var(--text-primary); min-width: 0; }
.fx__v { display: inline-block; }
.fx__chip { font: 500 11px/16px var(--font-text); padding: 1px 8px; border-radius: var(--radius-1); background: var(--accent); color: var(--on-accent); }
.fx__chip--n { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.fx__foot { padding: 8px 16px 12px; font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }

/* 720 px and up: tablet */
@media (min-width: 720px) {
  .in { padding: 0 32px; }
  .wf { font-size: 17px; line-height: 28px; }
  .sec { padding: var(--space-8) 0; }
  .hero { padding: var(--space-8) 0; }
  .dxl { font-size: 72px; }
  .t-h1 { font-size: 46px; }
  .t-h2 { font-size: 34px; }
  .lead { font: var(--text-lead); }
  .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding: 24px; }
  .f--full, fieldset > .help, .condq { grid-column: 1 / -1; }
  .item { grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)); align-items: end; }
  .item .f:first-child { grid-column: auto; }
  .item .rm { grid-column: 1 / -1; }
  .form .send .btn { justify-self: start; }
  .contacts :is(li,.x-li) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
  .contacts .help { grid-column: 2; }
  .ftr .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .anchors { flex-wrap: wrap; overflow: visible; margin: 32px 0 0; padding: 0; }
  .actions .btn { flex: 0 0 auto; }
  .cta .in { flex-direction: row; justify-content: space-between; align-items: end; flex-wrap: wrap; }
  .tbl thead { display: table-header-group; }
  .tbl tr { display: table-row; padding: 0; border: 0; }
  .tbl td { display: table-cell; padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
  .tbl td[data-l]::before { display: none; }
  .tbl td:first-child { padding-left: 0; }
  .tbl th { font: var(--text-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); text-align: left; padding: 12px; border-bottom: 2px solid var(--rule-key); vertical-align: bottom; }
  .tbl th:first-child { padding-left: 0; }
  .fx__rows > div { grid-template-columns: 140px minmax(0, 1fr); }
}

/* 1080 px and up: desktop */
@media (min-width: 1080px) {
  .in { padding: 0 40px; }
  .sec { padding: var(--space-9) 0; }
  .hero { padding: var(--space-10) 0; }
  .hero--inner { padding: var(--space-9) 0 var(--space-8); }
  .dxl { font-size: 96px; }
  .t-h1 { font: var(--text-h1); letter-spacing: -.035em; }
  .t-h2 { font: var(--text-h2); letter-spacing: -.03em; }
  .hdr .in { height: var(--header-height); gap: 32px; }
  .hdr .logo { margin-right: 0; }
  .hdr .logo img { height: 30px; }
  .nav { display: flex; gap: 28px; margin-left: auto; }
  .hdr > .in > .lang { display: flex; }
  .mnav { display: none; }
  .btn--sm { padding: 0 16px; font-size: 15px; }
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; }
  .split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--text { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .split--top { align-items: start; }
  .shead { margin-bottom: 48px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .evid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; }
  .evid :is(li,.x-li) { border-bottom: 0; padding: 24px 24px 0 0; }
  .evid :is(li,.x-li) + :is(li,.x-li) { padding-left: 24px; border-left: 1px solid var(--border); }
  .svc { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: 56px 0; }
  .acts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
  .steps :is(li,.x-li) { padding-bottom: 0; }
  .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .ftr { padding: 64px 0 32px; }
  .ftr .cols { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
  .ftr .brand { grid-column: auto; }
  .ftr .brand img { height: 40px; }
  .ftr :is(ul,.x-ul) a { min-height: 32px; }
  .side { display: grid; gap: 48px; align-content: start; }
}

/* Figure animation (fx), same mould as the home hero: one 11 s loop, parts appear in slots of 0.42 s,
   all held until 10.5 s, a short fade, then it starts again. Reduced motion shows the final frame. */
.fx .fo, .fx .fw, .fx .fd { animation-duration: 11s; animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: ease-out; }
@keyframes fo0 { 0%, 2.73% { opacity: 0; } 5.45%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw0 { 0%, 3.82% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 8.36%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd0 { 0%, 2.73% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 10.91%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s0 { animation-name: fo0; } .fx .fw.s0 { animation-name: fw0; } .fx .fd.s0 { animation-name: fd0; }
@keyframes fo1 { 0%, 6.55% { opacity: 0; } 9.27%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw1 { 0%, 7.64% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 12.18%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd1 { 0%, 6.55% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 14.73%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s1 { animation-name: fo1; } .fx .fw.s1 { animation-name: fw1; } .fx .fd.s1 { animation-name: fd1; }
@keyframes fo2 { 0%, 10.36% { opacity: 0; } 13.09%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw2 { 0%, 11.45% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 16.0%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd2 { 0%, 10.36% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 18.55%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s2 { animation-name: fo2; } .fx .fw.s2 { animation-name: fw2; } .fx .fd.s2 { animation-name: fd2; }
@keyframes fo3 { 0%, 14.18% { opacity: 0; } 16.91%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw3 { 0%, 15.27% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 19.82%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd3 { 0%, 14.18% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 22.36%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s3 { animation-name: fo3; } .fx .fw.s3 { animation-name: fw3; } .fx .fd.s3 { animation-name: fd3; }
@keyframes fo4 { 0%, 18.0% { opacity: 0; } 20.73%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw4 { 0%, 19.09% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 23.64%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd4 { 0%, 18.0% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 26.18%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s4 { animation-name: fo4; } .fx .fw.s4 { animation-name: fw4; } .fx .fd.s4 { animation-name: fd4; }
@keyframes fo5 { 0%, 21.82% { opacity: 0; } 24.55%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw5 { 0%, 22.91% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 27.45%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd5 { 0%, 21.82% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 30.0%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s5 { animation-name: fo5; } .fx .fw.s5 { animation-name: fw5; } .fx .fd.s5 { animation-name: fd5; }
@keyframes fo6 { 0%, 25.64% { opacity: 0; } 28.36%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw6 { 0%, 26.73% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 31.27%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd6 { 0%, 25.64% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 33.82%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s6 { animation-name: fo6; } .fx .fw.s6 { animation-name: fw6; } .fx .fd.s6 { animation-name: fd6; }
@keyframes fo7 { 0%, 29.45% { opacity: 0; } 32.18%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw7 { 0%, 30.55% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 35.09%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd7 { 0%, 29.45% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 37.64%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s7 { animation-name: fo7; } .fx .fw.s7 { animation-name: fw7; } .fx .fd.s7 { animation-name: fd7; }
@keyframes fo8 { 0%, 33.27% { opacity: 0; } 36.0%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw8 { 0%, 34.36% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 38.91%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd8 { 0%, 33.27% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 41.45%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s8 { animation-name: fo8; } .fx .fw.s8 { animation-name: fw8; } .fx .fd.s8 { animation-name: fd8; }
@keyframes fo9 { 0%, 37.09% { opacity: 0; } 39.82%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw9 { 0%, 38.18% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 42.73%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd9 { 0%, 37.09% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 45.27%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s9 { animation-name: fo9; } .fx .fw.s9 { animation-name: fw9; } .fx .fd.s9 { animation-name: fd9; }
@keyframes fo10 { 0%, 40.91% { opacity: 0; } 43.64%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw10 { 0%, 42.0% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 46.55%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd10 { 0%, 40.91% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 49.09%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s10 { animation-name: fo10; } .fx .fw.s10 { animation-name: fw10; } .fx .fd.s10 { animation-name: fd10; }
@keyframes fo11 { 0%, 44.73% { opacity: 0; } 47.45%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw11 { 0%, 45.82% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 50.36%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd11 { 0%, 44.73% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 52.91%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s11 { animation-name: fo11; } .fx .fw.s11 { animation-name: fw11; } .fx .fd.s11 { animation-name: fd11; }
@keyframes fo12 { 0%, 48.55% { opacity: 0; } 51.27%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw12 { 0%, 49.64% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 54.18%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd12 { 0%, 48.55% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 56.73%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s12 { animation-name: fo12; } .fx .fw.s12 { animation-name: fw12; } .fx .fd.s12 { animation-name: fd12; }
@keyframes fo13 { 0%, 52.36% { opacity: 0; } 55.09%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw13 { 0%, 53.45% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 58.0%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd13 { 0%, 52.36% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 60.55%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s13 { animation-name: fo13; } .fx .fw.s13 { animation-name: fw13; } .fx .fd.s13 { animation-name: fd13; }
@keyframes fo14 { 0%, 56.18% { opacity: 0; } 58.91%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw14 { 0%, 57.27% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 61.82%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd14 { 0%, 56.18% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 64.36%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s14 { animation-name: fo14; } .fx .fw.s14 { animation-name: fw14; } .fx .fd.s14 { animation-name: fd14; }
@keyframes fo15 { 0%, 60.0% { opacity: 0; } 62.73%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw15 { 0%, 61.09% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 65.64%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd15 { 0%, 60.0% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 68.18%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s15 { animation-name: fo15; } .fx .fw.s15 { animation-name: fw15; } .fx .fd.s15 { animation-name: fd15; }
@keyframes fo16 { 0%, 63.82% { opacity: 0; } 66.55%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw16 { 0%, 64.91% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 69.45%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd16 { 0%, 63.82% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 72.0%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s16 { animation-name: fo16; } .fx .fw.s16 { animation-name: fw16; } .fx .fd.s16 { animation-name: fd16; }
@keyframes fo17 { 0%, 67.64% { opacity: 0; } 70.36%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw17 { 0%, 68.73% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 73.27%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd17 { 0%, 67.64% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 75.82%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s17 { animation-name: fo17; } .fx .fw.s17 { animation-name: fw17; } .fx .fd.s17 { animation-name: fd17; }
@keyframes fo18 { 0%, 71.45% { opacity: 0; } 74.18%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw18 { 0%, 72.55% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 77.09%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd18 { 0%, 71.45% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 79.64%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s18 { animation-name: fo18; } .fx .fw.s18 { animation-name: fw18; } .fx .fd.s18 { animation-name: fd18; }
@keyframes fo19 { 0%, 75.27% { opacity: 0; } 78.0%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw19 { 0%, 76.36% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 80.91%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd19 { 0%, 75.27% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 83.45%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s19 { animation-name: fo19; } .fx .fw.s19 { animation-name: fw19; } .fx .fd.s19 { animation-name: fd19; }
@keyframes fo20 { 0%, 79.09% { opacity: 0; } 81.82%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw20 { 0%, 80.18% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 84.73%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd20 { 0%, 79.09% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 87.27%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s20 { animation-name: fo20; } .fx .fw.s20 { animation-name: fw20; } .fx .fd.s20 { animation-name: fd20; }
@keyframes fo21 { 0%, 82.91% { opacity: 0; } 85.64%, 95.45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fw21 { 0%, 84.0% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 88.55%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes fd21 { 0%, 82.91% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 91.09%, 95.45% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fx .fo.s21 { animation-name: fo21; } .fx .fw.s21 { animation-name: fw21; } .fx .fd.s21 { animation-name: fd21; }
@media (prefers-reduced-motion: reduce) {
  .fx .fo, .fx .fw, .fx .fd { animation: none !important; opacity: 1; clip-path: none; stroke-dashoffset: 0; }
}

/* ===== v0.10 (17 Nov 2026): port conditions strip, editorial feed, gallery and single posts ===== */

/* Port conditions strip (above the header). Forecast data, updated hourly, source and time shown.
   Phone: a row the visitor scrolls with a finger, no automatic movement.
   From 720 px: moves slowly, with a Pause button; stops for reduced motion. */
.tick { background: var(--bg-page); color: var(--text-body); border-bottom: 1px solid var(--border); font: 400 12px/16px var(--font-data); }
.tick__in { max-width: var(--container-max); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 12px; min-height: 36px; }
.tick__k { flex: none; margin: 0; font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.tick__k span { display: none; }
.tick__vp { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; display: flex; mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.tick__list { list-style: none; margin: 0; padding: 0 0 0 16px; display: flex; gap: 28px; flex: none; }
.tick__list[aria-hidden="true"] { display: none; }
.tick__list :is(li,.x-li) { white-space: nowrap; color: var(--text-primary); }
.tick__list :is(li,.x-li) b { font-weight: 500; color: var(--accent); margin-right: 8px; letter-spacing: .04em; text-transform: uppercase; }
.tick__list :is(li,.x-li).src { color: var(--text-secondary); }
.tick__t { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick__pause { display: none; flex: none; min-height: 32px; align-items: center; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-1); font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-primary); cursor: pointer; }
.tick__pause .pl, .tick__t:checked ~ .tick__pause .pa { display: none; }
.tick__t:checked ~ .tick__pause .pl { display: inline; }
.tick__t:focus-visible ~ .tick__pause { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
@media (min-width: 720px) {
  .tick__in { padding: 0 32px; }
  .tick__k span { display: inline; text-transform: none; letter-spacing: 0; }
  .tick__vp { overflow: hidden; }
  .tick__list[aria-hidden="true"] { display: flex; }
  .tick__list { animation: tick-move 180s linear infinite; }
  .tick__t:checked ~ .tick__vp .tick__list { animation-play-state: paused; }
  .tick__pause { display: inline-flex; }
}
@media (min-width: 1080px) { .tick__in { padding: 0 40px; } }
@keyframes tick-move { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .tick__list { animation: none !important; }
  .tick__list[aria-hidden="true"] { display: none !important; }
  .tick__vp { overflow-x: auto !important; }
  .tick__pause { display: none !important; }
}

/* Footer with a fourth link column (News) */
@media (min-width: 720px) { .ftr .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .ftr .cols { grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); } }

/* Photo placeholder (until photographs exist): ratio, wireframe cross, crop label */
.photo { position: relative; margin: 0; background: var(--surface-highlight); border: 1px solid var(--border); overflow: hidden;
  background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--border) 50%, transparent calc(50% + .5px)), linear-gradient(to bottom right, transparent calc(50% - .5px), var(--border) 50%, transparent calc(50% + .5px)); }
.photo::after { content: attr(data-label); position: absolute; left: 8px; bottom: 8px; font: 500 11px/16px var(--font-data); letter-spacing: .04em; text-transform: uppercase; color: var(--text-secondary); background: var(--surface-highlight); padding: 2px 6px; }
.photo--169 { aspect-ratio: 16 / 9; }
.photo--32 { aspect-ratio: 3 / 2; }
.photo--45 { aspect-ratio: 4 / 5; }
.photo--11 { aspect-ratio: 1 / 1; }
.credit { font: var(--text-caption); color: var(--text-secondary); margin: 8px 0 0; }

/* Labels */
.kind { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.kind b { font-weight: 500; color: var(--heading-accent); }
.sample { display: inline-block; font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); border: 1px dashed var(--border-strong); padding: 2px 8px; border-radius: var(--radius-1); }

/* Filters */
.filters { display: grid; gap: 12px; margin-top: 32px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
.chips a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-1); text-decoration: none; color: var(--text-primary); font: 500 14px/20px var(--font-text); background: var(--surface); }
.chips a[aria-current="page"] { background: var(--action-primary); border-color: var(--action-primary); color: var(--on-action-primary); }
.selects { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.selects select { font: var(--text-body-s); min-height: 44px; border: 1px solid var(--border-strong); border-radius: var(--radius-1); background: var(--surface-sunken); color: var(--text-primary); padding: 8px 10px; width: 100%; }
.viewswitch { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.viewswitch .views { display: flex; gap: 4px; }
.viewswitch .views a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; font: 500 13px/20px var(--font-text); color: var(--text-body); text-decoration: none; border-bottom: 2px solid transparent; }
.viewswitch .views a[aria-current="page"] { color: var(--text-primary); border-bottom-color: var(--rule-key); }
.count { font: var(--text-data-s); color: var(--text-secondary); }

/* Feed */
.feature { display: grid; gap: 20px; padding-bottom: 32px; border-bottom: 2px solid var(--rule-key); color: inherit; text-decoration: none; }
.feature h2 { font: var(--text-h2); font-size: 28px; line-height: 34px; letter-spacing: -.03em; color: var(--text-primary); margin: 8px 0 0; }
.feature p { margin: 12px 0 0; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; }
.posts > :is(li,.x-li) { border-bottom: 1px solid var(--border); }
.post { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 20px 0; color: inherit; text-decoration: none; align-items: start; }
.post h3 { font: var(--text-h4); color: var(--text-primary); margin: 6px 0 0; }
.post p { font: var(--text-body-s); margin: 6px 0 0; display: none; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font: 400 12px/18px var(--font-data); color: var(--text-primary); }
.facts span + span::before { content: "·"; margin-right: 12px; color: var(--text-secondary); }
a.post:hover h3, a.feature:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; }

/* Gallery */
.year { font: var(--text-h3); color: var(--text-primary); margin: 40px 0 16px; padding-top: 16px; border-top: 2px solid var(--rule-key); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.gallery a { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.gallery .kind { font-size: 10px; }
.gallery h3 { font: 500 14px/20px var(--font-text); color: var(--text-primary); margin: 0; }

/* Single posts */
.crumbs { font: var(--text-data-s); color: var(--text-secondary); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.crumbs a { color: var(--text-secondary); }
.article-head h1 { margin-top: 12px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 20px; font: var(--text-body-s); color: var(--text-secondary); }
.byline b { color: var(--text-primary); font-weight: 500; }
.dateline { font: 500 15px/24px var(--font-text); color: var(--text-primary); }
.article { display: grid; gap: 40px; }
.prose-body { max-width: 68ch; }
.prose-body h2 { font: var(--text-h3); font-size: 22px; line-height: 30px; color: var(--text-primary); margin: 40px 0 8px; letter-spacing: -.02em; }
.prose-body h2:first-child { margin-top: 0; }
.prose-body p { margin: 12px 0 0; }
.prose-body :is(ul,.x-ul), .prose-body :is(ol,.x-ol) { margin: 12px 0 0; padding-left: 22px; }
.prose-body :is(li,.x-li) { margin: 6px 0; }
.prose-body figure { margin: 24px 0 0; }
.aside { display: grid; gap: 24px; align-content: start; }
.recordcard { border: 1px solid var(--border); background: var(--surface-highlight); }
.recordcard h2 { margin: 0; padding: 12px 16px; border-bottom: 2px solid var(--rule-key); font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.recordcard :is(dl,.x-dl) { margin: 0; padding: 4px 16px 12px; }
.recordcard :is(dl,.x-dl) > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.recordcard :is(dl,.x-dl) > div:last-child { border-bottom: 0; }
.recordcard :is(dt,.x-dt) { font: 500 11px/18px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.recordcard :is(dd,.x-dd) { margin: 0; font: 400 13px/18px var(--font-data); color: var(--text-primary); }
.recordcard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.recordcard .tags a { font: 500 12px/16px var(--font-text); padding: 2px 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-1); text-decoration: none; color: var(--text-primary); }
.share { display: flex; gap: 16px; flex-wrap: wrap; font: var(--text-body-s); }
.inshort { border-left: 2px solid var(--rule-key); background: var(--surface-highlight); padding: 16px; }
.inshort p { margin: 4px 0 0; color: var(--text-primary); }
.toc { border-top: 1px solid var(--border); padding-top: 12px; }
.toc :is(ol,.x-ol) { margin: 8px 0 0; padding-left: 20px; font: var(--text-body-s); }
.toc :is(li,.x-li) { margin: 6px 0; }
.boiler { border-top: 2px solid var(--rule-key); padding-top: 16px; margin-top: 40px; }
.boiler h2:first-child { margin-top: 0 !important; }
.boiler p + h2 { margin-top: 24px !important; }
.faq :is(dt,.x-dt) { font: var(--text-h4); color: var(--text-primary); margin-top: 20px; }
.faq :is(dd,.x-dd) { margin: 6px 0 0; }
.sources { font: var(--text-body-s); }
.related { display: grid; gap: 16px; }
.jobfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.jobfacts div { border-top: 1px solid var(--border); padding-top: 8px; }
.jobfacts :is(dt,.x-dt) { font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.jobfacts :is(dd,.x-dd) { margin: 4px 0 0; font: var(--text-body-s); color: var(--text-primary); }
.empty { border: 1px dashed var(--border-strong); padding: 20px; font: var(--text-body-s); }

@media (min-width: 720px) {
  .chips { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
  .selects { grid-template-columns: repeat(3, minmax(0, 220px)); }
  .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 32px; }
  .post { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .post p { display: block; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
  .related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jobfacts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .feature h2 { font-size: 36px; line-height: 44px; }
  .post { grid-template-columns: 240px minmax(0, 1fr) 200px; }
  .post .facts { grid-column: 3; grid-row: 1; flex-direction: column; margin-top: 4px; }
  .post .facts span + span::before { display: none; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; }
  .aside { position: sticky; top: calc(var(--header-height) + 24px); }
}

/* ===== v0.10.1 (17 Nov 2026): editorial layout for galleries and single posts ===== */

/* Gallery: no year headings. A cover story, then a mosaic with headline-sized titles. */
.year { display: none; }
.cover { display: grid; gap: 20px; color: inherit; text-decoration: none; }
.cover h2 { font: var(--text-display-l); font-size: 34px; line-height: 1.06; letter-spacing: -.04em; color: var(--text-primary); margin: 12px 0 0; }
.cover p { margin: 16px 0 0; color: var(--text-body); max-width: 52ch; }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.mosaic a { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.mosaic h3 { font: var(--text-h2); font-size: 24px; line-height: 30px; letter-spacing: -.025em; color: var(--text-primary); margin: 0; }
.mosaic .m-big h3 { font-size: 28px; line-height: 34px; }
.mosaic p { margin: 0; font: var(--text-body-s); color: var(--text-body); }
.mosaic .m-small a { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
.mosaic .m-small h3 { font-size: 20px; line-height: 26px; margin-top: 6px; }
.mosaic .m-small p { display: none; }
a.cover:hover h2, .mosaic a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.more { display: flex; justify-content: center; margin-top: 48px; }

/* Single posts: editorial header bands */
.ehead { padding: 32px 0 48px; }
.ehead .crumbs { margin-bottom: 32px; }
.ehead .crumbs a, .ehead .crumbs { color: var(--text-secondary); }
.ehead h1 { font: var(--text-display-l); font-size: 40px; line-height: 1.04; letter-spacing: -.045em; color: var(--text-primary); margin: 16px 0 0; max-width: 18ch; }
.ehead .lead { color: var(--text-body); }
.ehead--overlap { padding-bottom: 96px; }
.overlap { position: relative; transform: translateY(-72px); margin-bottom: -72px; }
.ehead--split .in { display: grid; gap: 32px; }
.photo--219 { aspect-ratio: 21 / 9; }

/* Key figures band */
.keyfigs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.keyfigs :is(li,.x-li) { border-top: 2px solid var(--rule-key); padding-top: 12px; }
.keyfigs b { display: block; font: 500 34px/1 var(--font-data); letter-spacing: -.03em; color: var(--heading-accent); }
.keyfigs span { display: block; margin-top: 10px; font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }

/* Pull quote */
.pull { margin: 40px 0; padding: 20px 0 0; border-top: 2px solid var(--rule-key); font: 500 24px/32px var(--font-text); letter-spacing: -.02em; color: var(--heading-accent); }
.pull cite { display: block; margin-top: 12px; font: 500 11px/16px var(--font-data); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--text-secondary); }

/* Figure panel and numbered steps */
.figpanel { display: grid; gap: 24px; align-items: center; }
.figpanel .fx { margin: 0; background: var(--bg-page); }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: st; }
.steps3 :is(li,.x-li) { counter-increment: st; border-top: 1px solid var(--border-strong); padding-top: 16px; }
.steps3 :is(li,.x-li)::before { content: counter(st, decimal-leading-zero); display: block; font: 500 40px/1 var(--font-data); color: var(--heading-accent); letter-spacing: -.03em; margin-bottom: 12px; }
.steps3 h3 { font: var(--text-h4); color: var(--text-primary); margin: 0 0 6px; }
.steps3 p { margin: 0; font: var(--text-body-s); }

/* Panels and dark cards */
.panel { background: var(--surface-highlight); padding: 24px 20px; margin-top: 40px; }
.panel h2:first-child { margin-top: 0 !important; }
.recordcard:is([data-theme],[class*="theme-"]) { background: var(--surface-highlight); color: var(--text-body); border-color: transparent; }
.recordcard:is([data-theme],[class*="theme-"]) a { color: var(--text-link, var(--heading-accent)); }

/* In short as a band; numbered questions */
.inshort--band { border: 0; background: none; padding: 0; }
.inshort--band p { font: 500 22px/31px var(--font-text); letter-spacing: -.015em; color: var(--text-primary); margin: 12px 0 0; max-width: 40ch; }
.qnum { counter-reset: q; }
.qnum h2.q { counter-increment: q; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.qnum h2.q::before { content: counter(q, decimal-leading-zero); font: 500 18px/1 var(--font-data); color: var(--heading-accent); }
.qnum h2.q + p, .qnum h2.q + :is(ul,.x-ul) { margin-left: 56px; }

/* Guides feed: lead guide and larger titles */
.gfeature { display: grid; gap: 20px; padding: 28px 24px; color: inherit; text-decoration: none; }
.gfeature h2 { font: var(--text-display-l); font-size: 32px; line-height: 1.08; letter-spacing: -.04em; color: var(--text-primary); margin: 12px 0 0; }
.gfeature p { margin: 12px 0 0; }
.gcards .card { border: 0; border-top: 2px solid var(--rule-key); background: none; padding: 16px 0 0; }
.gcards .card h3 { font-size: 22px; line-height: 28px; letter-spacing: -.02em; }
.related .card { border: 0; background: none; padding: 0; }
.related .card h3 { font-size: 22px; line-height: 28px; }

/* Job header facts on a band */
.ehead .jobfacts div { border-top-color: var(--rule-key); }

@media (min-width: 720px) {
  .cover h2 { font-size: 44px; }
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; }
  .mosaic .m-big { grid-column: span 8; }
  .mosaic .m-tall { grid-column: span 4; }
  .mosaic .m-small { grid-column: span 4; }
  .mosaic .m-small a { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mosaic .m-small h3 { font-size: 22px; line-height: 28px; margin-top: 0; }
  .mosaic .m-big h3 { font-size: 36px; line-height: 42px; letter-spacing: -.035em; }
  .mosaic .m-tall h3 { font-size: 26px; line-height: 32px; }
  .ehead { padding: 48px 0 72px; }
  .ehead h1 { font-size: 56px; }
  .ehead--overlap { padding-bottom: 160px; }
  .overlap { transform: translateY(-128px); margin-bottom: -128px; }
  .mosaic .m-big .photo { aspect-ratio: 5 / 3; }
  .keyfigs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .keyfigs b { font-size: 48px; }
  .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .pull { font-size: 30px; line-height: 38px; }
  .gfeature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: 40px; align-items: end; }
  .gfeature h2 { font-size: 44px; }
  .panel { padding: 32px; }
}
@media (min-width: 1080px) {
  .cover { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
  .cover h2 { font-size: 56px; }
  .ehead h1 { font-size: 72px; }
  .ehead--split .in { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: end; }
  .ehead--split h1 { font-size: 60px; }
  .figpanel { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
  .inshort--band { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; align-items: start; }
  .inshort--band p { font-size: 30px; line-height: 40px; margin: 0; }
}

/* v0.10.2: feeds on Home, Services, Brazil Desk and About */
.hfeed { display: grid; gap: 32px; }
.hfeed a { color: inherit; text-decoration: none; }
.hfeed__lead { display: grid; gap: 16px; }
.hfeed__lead h3 { font: var(--text-h2); font-size: 26px; line-height: 32px; letter-spacing: -.03em; color: var(--text-primary); margin: 8px 0 0; }
.hfeed__lead p { margin: 10px 0 0; color: var(--text-body); }
.hfeed__list { list-style: none; margin: 0; padding: 0; }
.hfeed__list :is(li,.x-li) { border-top: 1px solid var(--border-strong); }
.hfeed__list :is(li,.x-li):last-child { border-bottom: 1px solid var(--border-strong); }
.hfeed__list a { display: block; padding: 20px 0; }
.hfeed__list h3 { font: var(--text-h3); font-size: 20px; line-height: 27px; letter-spacing: -.02em; color: var(--text-primary); margin: 8px 0 0; }
.hfeed a:hover h3, .pc__item:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.pc { display: grid; gap: 56px; }
.pc__item { display: block; margin-top: 24px; padding: 20px 0; border-top: 2px solid var(--rule-key); border-bottom: 1px solid var(--border-strong); color: inherit; text-decoration: none; }
.pc__item h3 { font: var(--text-h3); font-size: 22px; line-height: 28px; letter-spacing: -.02em; color: var(--text-primary); margin: 8px 0 0; }
.pc .contacts { margin-top: 24px; }
@media (min-width: 1080px) {
  .hfeed { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
  .hfeed__lead h3 { font-size: 34px; line-height: 40px; }
  .hfeed__list a { padding: 24px 0; }
  .hfeed__list h3 { font-size: 22px; line-height: 29px; }
  .pc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
}

/* Services, named (20 Nov 2026, memo 20h) */
.svc :is(ul,.x-ul).incl { list-style: none; padding-left: 0; }
.svc :is(ul,.x-ul).incl :is(li,.x-li) { margin: 0; padding: 8px 0; border-top: 1px solid var(--border); }
.svc :is(ul,.x-ul).incl :is(li,.x-li) b { color: var(--text-primary); }
.path { margin-top: 0; padding-top: 32px; border-top: 1px solid var(--border); display: grid; gap: 16px; }
.path .cap { margin: 0; font: var(--text-caption); color: var(--text-secondary); }
.pathline { list-style: none; margin: 0; padding: 0; display: grid; }
.pathline > :is(li,.x-li) { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 20px; }
.pathline > :is(li,.x-li)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--measure-line); }
.pathline > :is(li,.x-li):last-child::before { display: none; }
.pathline .stop { position: relative; z-index: 1; width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--measure-line); background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font: 500 12px/1 var(--font-data); }
.pathline b { display: block; font: var(--text-h4); color: var(--text-primary); }
.pathline .of { display: block; font: var(--text-caption); color: var(--text-secondary); }
@media (min-width: 720px) {
  .pathline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pathline > :is(li,.x-li) { grid-template-columns: minmax(0, 1fr); padding: 0 24px 0 0; }
  .pathline > :is(li,.x-li)::before { left: 28px; right: 0; top: 13px; bottom: auto; width: auto; height: 2px; }
}
.pkgs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pkgs :is(li,.x-li) { font: var(--text-body-s); color: var(--text-primary); padding: 6px 12px; border: 1px solid var(--rule-key); border-radius: var(--radius-1); }
@media (min-width: 1080px) {
  .svc :is(ul,.x-ul).incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

/* ===== v0.10.11 (23 Nov 2026, Tiago): illustrative "drawing to steel" images on segment and service cards ===== */
.seg-img { margin: -20px -20px 6px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.seg-img img, .svc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-img { margin: 20px 0 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.ill-note { margin: 16px 0 24px; font: var(--text-body-s); color: var(--text-secondary); }
/* v0.10.13 (23 Nov 2026, Tiago): the number, the title and the image stay together while the service scrolls */
@media (min-width: 1080px) { .svc > div:first-child { position: sticky; top: 96px; align-self: start; } }


/* ===== v0.10.13 (23 Nov 2026): Privacy notice page (11), the approved text v1.0 ===== */
.prose-body h3 { font: var(--text-h4); color: var(--text-primary); margin: 24px 0 4px; }
.prose-body .tbl { margin-top: 16px; }
