/* ANJU v4b. Heavy Chivo capitals, full-bleed port photography, flat colour chapters, one container-red for actions.
   Tokens first, then base, then each part of the page in reading order. */




@font-face { font-family: Archivo; src: url("/assets/fonts/archivo-wdth.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  --navy: #0f171c;       /* port at night */
  --ink: #14181b;
  --paper: #e6e8e7;      /* dock stone */
  --paper-cool: #dce5e0;
  --paper-warm: #f1f3f2;
  --teal-deep: #0c3a40;  /* petrol water */
  --teal: #12565e;       /* lit sea */
  --pale: #eef3f1;
  --pale-soft: #b4c4c4;
  --muted: #4c5a54;
  --accent: #b5281f;     /* container red: actions only */
  --accent-hover: #cf3126;
  --accent-ink: #fff;

  --shell: 1320px;
  --mx: clamp(20px, 4.5vw, 76px);
  --pad: clamp(52px, 6.2vw, 92px);
  --head-gap: clamp(26px, 3.2vw, 44px);

  --s-small: clamp(0.8125rem, 0.79rem + 0.12vw, 0.9rem);
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.08rem + 0.72vw, 1.6rem);
  --s-sub: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  --s-head: clamp(2rem, 1rem + 3.5vw, 3.8rem);
  --s-hero: clamp(2.5rem, 0.4rem + 7.2vw, 6.4rem);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--navy); }
body { font-family: var(--font-text); font-size: var(--s-body); line-height: 1.6; font-weight: 500; color: var(--ink); background: var(--navy); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.on-navy :focus-visible, .on-teal-deep :focus-visible, .on-teal :focus-visible { outline-color: #ff6a5a; }
::selection { background: var(--accent); color: #fff; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent); color: #fff; padding: 12px 18px; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ic { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; flex: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 0.92; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
p { text-wrap: pretty; }
.chapter-h { font-size: var(--s-head); }
.lead { font-size: var(--s-lead); line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch; }
.nums { font-variant-numeric: tabular-nums; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--mx); width: 100%; }
.chapter { padding-block: var(--pad); position: relative; }
.chapter-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 48px; margin-bottom: var(--head-gap); }
.chapter-head .lead { margin-bottom: 0.15em; }

.on-navy { background: var(--navy); color: var(--pale); }
.on-paper { background: var(--paper); color: var(--ink); }
.on-paper-cool { background: var(--paper-cool); color: var(--ink); }
.on-teal-deep { background: var(--teal-deep); color: var(--pale); }
.on-teal { background: var(--teal); color: var(--pale); }
.on-navy .muted, .on-teal-deep .muted, .on-teal .muted { color: var(--pale-soft); }
.on-paper .muted, .on-paper-cool .muted { color: var(--muted); }

/* ---------- buttons and links ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; font-weight: 800; letter-spacing: 0; padding: 0.95em 1.6em; background: var(--accent); color: var(--accent-ink); transition: transform 220ms var(--ease-out), box-shadow 220ms ease; white-space: nowrap; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); transition: transform 380ms var(--ease-out); }
.btn:active { transform: scale(0.96); }
.btn-sm { padding: 0.62em 1.1em; font-size: var(--s-small); }
.btn-lg { font-size: var(--s-lead); padding: 0.85em 1.5em; }
.link { display: inline-block; font-weight: 800; background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat; padding-bottom: 4px; transition: background-size 360ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--accent); }
  .btn:hover::before { transform: none; }
  .btn-sm:hover { color: var(--accent); }
  .link:hover { background-size: 0% 2px; background-position: right bottom; }
}

/* ---------- header: clear over the photograph, solid once you scroll, tucked away while you read down ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 90; height: 76px; transition: transform 380ms var(--ease-out), background-color 260ms ease, height 260ms var(--ease-out); }
.top-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; transition: height 260ms var(--ease-out); }
.brand b { font-weight: 900; font-size: 1.25rem; letter-spacing: -0.03em; color: #fff; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a:not(.btn) { position: relative; font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.04em; color: #fff; padding-block: 8px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover::after { transform: scaleX(1); } }
.menu-btn { display: none; font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.04em; color: #fff; padding: 10px 0 10px 14px; }
.top.solid { background: var(--navy); height: 62px; }
.top.solid .brand img { height: 28px; }
.top.hide { transform: translateY(-100%); }
body.sheet-open .top { transform: none; background: transparent; }
.progress { position: fixed; inset: 0 0 auto 0; z-index: 95; height: 3px; transform-origin: left; transform: scaleX(0); background: var(--accent); pointer-events: none; }

.sheet { position: fixed; inset: 0; z-index: 85; background: var(--navy); color: #fff; display: none; flex-direction: column; justify-content: space-between; padding: 110px var(--mx) 32px; overflow-y: auto; }
.sheet.open { display: flex; animation: sheet-in 280ms var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-10px); } }
.sheet nav { display: flex; flex-direction: column; gap: 6px; }
.sheet nav a { font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.02; font-size: clamp(2.2rem, 10vw, 3.4rem); padding-block: 4px; }
.sheet nav a.sheet-cta { margin-top: 22px; align-self: flex-start; background: var(--accent); font-size: 1.15rem; letter-spacing: -0.01em; padding: 16px 24px; text-transform: none; }
.sheet-note { margin-top: 28px; color: var(--pale-soft); font-size: var(--s-small); line-height: 1.7; }
.sheet-note a { color: #fff; font-weight: 700; }
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- hero: one full-bleed photograph at a time ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px 0 0; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.55s ease-out; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-slide.on img { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.09); } to { transform: scale(1.02); } }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9, 14, 18, 0.55) 0%, rgba(9, 14, 18, 0.18) 28%, rgba(9, 14, 18, 0.5) 58%, rgba(9, 14, 18, 0.92) 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(70px, 9vh, 110px); }
.hero h1 { margin-bottom: 0.3em; color: #fff; font-size: var(--s-hero); line-height: 0.88; letter-spacing: -0.04em; }
.hero .lead { color: var(--pale); max-width: 36ch; margin-bottom: 1.5em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-wa { display: inline-flex; align-items: center; gap: 0.55em; font-weight: 800; color: #fff; padding-block: 6px; background: linear-gradient(#fff, #fff) left bottom / 0% 2px no-repeat; transition: background-size 320ms var(--ease-out); }
.hero-wa svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 6px 26px; }
@media (hover: hover) and (pointer: fine) { .hero-wa:hover { background-size: 100% 2px; } }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(30px, 5vh, 56px); }
.hero-fact { background: rgba(9, 14, 18, 0.66); padding: 16px 20px; }
.hero-fact b { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: 0.95rem; margin-bottom: 4px; color: #fff; }
.hero-fact span { font-size: var(--s-small); color: var(--pale-soft); line-height: 1.5; display: block; max-width: 38ch; }
.hero-dots { position: absolute; z-index: 3; right: var(--mx); bottom: 26px; display: flex; gap: 8px; }
.hero-dots button { position: relative; width: 34px; height: 24px; }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: rgba(255, 255, 255, 0.3); }
.hero-dots button i { position: absolute; left: 0; top: 10px; height: 4px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-dots button[aria-selected="true"] i { animation: fill var(--slide, 6500ms) linear forwards; }
.hero.paused .hero-dots button[aria-selected="true"] i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }

/* ticker */
.ticker { background: var(--accent); color: #fff; overflow: hidden; white-space: nowrap; padding: 15px 0; position: relative; z-index: 2; }
.ticker-track { display: inline-flex; animation: tick 46s linear infinite; }
.ticker-track span { font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: var(--s-lead); padding-right: 2.2rem; display: inline-flex; align-items: center; gap: 2.2rem; }
.ticker-track span::after { content: ""; width: 10px; height: 10px; background: #fff; transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- roles: who does what, one contact in the middle ---------- */
.roles-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: var(--head-gap); }
.roles-intro h2 { font-size: var(--s-head); }
.roles { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0; align-items: stretch; }
.role { position: relative; padding: clamp(22px, 2.6vw, 38px); background: rgba(20, 24, 27, 0.06); transition: background-color 280ms ease, color 280ms ease, transform 320ms var(--ease-out); }
.role h3 { font-size: var(--s-sub); margin-bottom: 14px; }
.role li { padding: 11px 0; border-top: 2px solid rgba(20, 24, 27, 0.14); transition: border-color 280ms ease, padding 280ms var(--ease-out); }
.role li:first-child { border-top: 0; padding-top: 0; }
.role.mid { background: var(--ink); color: var(--pale); z-index: 1; transform: translateY(-14px); padding-block: clamp(30px, 3.4vw, 50px); }
.role.mid li { border-top-color: rgba(255, 255, 255, 0.18); }
.role .who { font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; color: var(--muted); }
.role.mid .who { color: var(--pale-soft); }
@media (hover: hover) and (pointer: fine) {
  .roles:hover .role:not(:hover) { background: rgba(20, 24, 27, 0.03); }
  .role:not(.mid):hover { background: rgba(20, 24, 27, 0.12); }
  .role li:hover { padding-left: 10px; }
  .role.mid li:hover { border-top-color: var(--accent); }
}

/* ---------- services: rows that answer the pointer with a photograph ---------- */
.svc-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.svc-list { border-top: 2px solid rgba(255, 255, 255, 0.16); }
.svc { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 0; border-bottom: 2px solid rgba(255, 255, 255, 0.16); transition: padding 280ms var(--ease-out), background-color 200ms ease; cursor: pointer; }
.svc-tag { font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.05em; color: var(--pale-soft); }
.svc h3 { font-size: var(--s-sub); margin-bottom: 0.3em; }
.svc p { color: var(--pale); max-width: 54ch; }
.svc { position: relative; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform 320ms var(--ease-out); }
.svc.on { padding-left: 22px; background: rgba(255, 255, 255, 0.05); }
.svc.on::before { transform: scaleY(1); }
.svc-view { position: sticky; top: 100px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.svc-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 500ms var(--ease), transform 900ms var(--ease-out); }
.svc-view img.on { opacity: 1; transform: none; }

/* ---------- process: a stepper you can move through ---------- */
.stepper { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.steps { display: flex; flex-direction: column; border-top: 2px solid rgba(20, 24, 27, 0.16); }
.step { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 14px; gap: 12px; align-items: center; text-align: left; padding: 17px 0; border-bottom: 2px solid rgba(20, 24, 27, 0.16); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: var(--s-sub); line-height: 1; color: rgba(20, 24, 27, 0.5); transition: color 220ms ease, padding 280ms var(--ease-out); }
.step i { font-style: normal; font-size: var(--s-small); font-weight: 700; letter-spacing: 0; }
.step::after { content: ""; width: 12px; height: 12px; background: var(--accent); transform: scale(0) rotate(45deg); transition: transform 320ms var(--ease-out); justify-self: end; }
.step[aria-selected="true"] { color: var(--ink); padding-left: 10px; }
.step[aria-selected="true"]::after { transform: scale(1) rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .step:not([aria-selected="true"]):hover { color: var(--ink); } }
.step-panel { position: relative; background: var(--navy); color: var(--pale); min-height: 28rem; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.step-photo { position: absolute; inset: 0; }
.step-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 600ms var(--ease), transform 1100ms var(--ease-out); }
.step-photo img.on { opacity: 0.6; transform: none; }
.step-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 28, 0.2) 0%, rgba(15, 23, 28, 0.9) 100%); }
.step-body { position: relative; z-index: 1; padding: clamp(22px, 3vw, 40px); }
.step-body h3 { font-size: var(--s-sub); margin-bottom: 0.5em; }
.step-body p { max-width: 46ch; }
.step-bar { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, 0.18); }
.step-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transition: transform 500ms var(--ease-out); }
.stepper-cta { margin-top: var(--head-gap); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- fees: two flat fields, the right one live ---------- */
.fees { display: grid; grid-template-columns: 5fr 7fr; }
.fee { padding: clamp(36px, 4.4vw, 68px) var(--mx); display: flex; flex-direction: column; }
.fees .fee:first-child { padding-left: max(var(--mx), calc((100vw - var(--shell)) / 2 + var(--mx))); }
.fees .fee:last-child { padding-right: max(var(--mx), calc((100vw - var(--shell)) / 2 + var(--mx))); }
.fee h2 { font-size: var(--s-head); }
.fee-for { margin-top: 0.9rem; font-size: var(--s-lead); line-height: 1.25; max-width: 24ch; }
.fee-price { margin-top: auto; padding-top: 2rem; font-weight: 900; font-size: var(--s-hero); line-height: 0.88; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fee-price small { display: block; font-size: var(--s-body); font-weight: 700; letter-spacing: 0; margin: 0.5rem 0 0; opacity: 0.85; text-transform: none; line-height: 1.2; }
.fee-incl { margin-top: 1.2rem; max-width: 42ch; }
.fee .btn { margin-top: 1.6rem; align-self: flex-start; }
.fee-live .fee-price { margin-top: 1.6rem; padding-top: 0; }
.calc { margin-top: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 38rem; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: var(--s-small); }
.calc input[type="number"] { width: 100%; min-height: 50px; padding: 8px 14px; background: #fff; border: 0; border-radius: 0; font-weight: 700; font-size: var(--s-body); font-variant-numeric: tabular-nums; appearance: none; -moz-appearance: textfield; }
.calc input[type="number"]::-webkit-outer-spin-button, .calc input[type="number"]::-webkit-inner-spin-button { appearance: none; margin: 0; }
.calc-lines { margin-top: 1.1rem; max-width: 38rem; display: grid; gap: 6px; }
.calc-lines div { display: flex; justify-content: space-between; gap: 1rem; padding: 12px 14px; background: rgba(20, 24, 27, 0.06); }
.calc-lines b { font-variant-numeric: tabular-nums; }
.calc-verdict { margin-top: 0.9rem; min-height: 3em; max-width: 38rem; font-weight: 700; }
.fee-illus { margin-top: 0.4rem; font-size: var(--s-small); color: var(--muted); }

/* ---------- products and articles: cards, empty states ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.04em; padding: 11px 18px; background: rgba(20, 24, 27, 0.08); color: var(--ink); transition: background-color 180ms ease, color 180ms ease; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.on-navy .chip { background: rgba(255, 255, 255, 0.08); color: var(--pale); }
.on-navy .chip[aria-pressed="true"] { background: var(--pale); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { background: rgba(20, 24, 27, 0.16); } }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--paper-warm); overflow: hidden; }
.pcard[hidden] { display: none; }
.pcard-img { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--navy); }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.pcard-kind { position: absolute; left: 0; top: 0; background: var(--navy); color: #fff; font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.05em; padding: 7px 12px; }
.pcard-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.pcard h3 { font-size: 1.3rem; line-height: 1.02; letter-spacing: -0.025em; }
.pcard p { color: var(--muted); font-size: var(--s-small); line-height: 1.5; }
.pcard-more { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: var(--s-small); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pcard-img img { transform: scale(1.06); }
}
.empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); background: var(--paper-warm); }
.empty h2 { font-size: var(--s-head); margin-bottom: 0.4em; }
.empty p { max-width: 46ch; }
.empty .btn { margin-top: 1.4em; }
.empty-visual { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--navy); }
.empty-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

/* product page */
.pdetail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pdetail-main > * + * { margin-top: 1.1em; }
.pfacts { background: var(--paper-warm); padding: clamp(20px, 2.4vw, 32px); position: sticky; top: 90px; }
.pfacts h2 { font-size: var(--s-sub); margin-bottom: 14px; }
.pfacts dl { display: grid; gap: 0; }
.pfacts dt { font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding-top: 12px; border-top: 2px solid rgba(20, 24, 27, 0.12); }
.pfacts dd { padding-bottom: 12px; }
.pfacts .btn { margin-top: 12px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; cursor: zoom-in; background: var(--navy); transition: opacity 240ms ease; }
@media (hover: hover) and (pointer: fine) { .gallery:hover img { opacity: 0.6; } .gallery img:hover { opacity: 1; } }

/* article */
.prose { max-width: 70ch; margin-inline: auto; font-size: var(--s-body); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--s-sub); margin-top: 1.8em; }
.prose h3 { font-size: var(--s-lead); margin-top: 1.5em; }
.prose a { text-decoration: underline; text-underline-offset: 0.25em; font-weight: 700; }
.prose ul { list-style: square; padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { width: 100%; cursor: zoom-in; }
.prose figcaption { font-size: var(--s-small); color: var(--muted); margin-top: 8px; }
.alist a { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 0; border-top: 2px solid rgba(20, 24, 27, 0.16); transition: padding 280ms var(--ease-out); }
.alist a:last-child { border-bottom: 2px solid rgba(20, 24, 27, 0.16); }
.alist .d { font-size: var(--s-small); color: var(--muted); font-weight: 700; }
.alist h3 { font-size: var(--s-sub); line-height: 1; margin-bottom: 0.3em; }
.alist p { color: var(--muted); max-width: 60ch; }
@media (hover: hover) and (pointer: fine) { .alist a:hover { padding-left: 14px; } .alist a:hover h3 { color: var(--accent); } }

.lb { border: 0; padding: 0; background: rgba(9, 14, 18, 0.96); width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; color: #fff; }
.lb::backdrop { background: rgba(9, 14, 18, 0.9); }
.lb[open] { display: grid; place-items: center; animation: sheet-in 240ms var(--ease-out); }
.lb img { max-width: min(92vw, 1400px); max-height: 82dvh; width: auto; height: auto; object-fit: contain; }
.lb-cap { position: absolute; left: var(--mx); right: var(--mx); bottom: 22px; font-size: var(--s-small); color: var(--pale-soft); text-align: center; }
.lb button { position: absolute; width: 52px; height: 52px; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; }
.lb .lb-x { top: 18px; right: 18px; } .lb .lb-p { left: 18px; top: 50%; } .lb .lb-n { right: 18px; top: 50%; }
@media (hover: hover) and (pointer: fine) { .lb button:hover { background: var(--accent); } }

/* ---------- faq ---------- */
.faq-cols { columns: 2; column-gap: 40px; }
.qa { break-inside: avoid; border-top: 2px solid rgba(20, 24, 27, 0.16); }
.qa[hidden] { display: none; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; font-size: var(--s-lead); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-weight: 900; font-size: 1.6em; line-height: 0.6; transition: transform 300ms var(--ease-out), color 200ms ease; }
.qa[open] summary::after { transform: rotate(135deg); color: var(--accent); }
.qa .ans { padding: 0 34px 20px 0; color: var(--muted); max-width: 52ch; animation: ans-in 360ms var(--ease-out); }
@keyframes ans-in { from { opacity: 0; transform: translateY(-6px); } }
.faq-end { border-top: 2px solid rgba(20, 24, 27, 0.16); }

/* ---------- close ---------- */
.close-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: clamp(150px, 22vw, 300px); }
.close-strip figure { position: relative; overflow: hidden; }
.close-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .close-strip figure:hover img { transform: scale(1.05); } }
.close { padding-block: clamp(44px, 5.4vw, 78px); }
.close-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px 56px; }
.close h2 { font-size: var(--s-head); }
.close-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.close-side p { color: var(--pale-soft); }
.close-side a.t { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: var(--pale); padding: clamp(40px, 4.6vw, 64px) 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.foot-brand img { height: 46px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 34ch; color: var(--pale-soft); font-size: var(--s-small); line-height: 1.6; }
.foot h4 { font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 0.95rem; margin-bottom: 14px; color: #fff; }
.foot li + li { margin-top: 9px; }
.foot li a { color: var(--pale-soft); font-size: var(--s-small); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .foot li a:hover { color: #fff; } }
.foot-legal { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: var(--s-small); color: var(--pale-soft); }
.foot-legal a { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 52svh; display: flex; align-items: flex-end; padding-top: 120px; overflow: hidden; }
.page-hero .hero-media, .page-hero .hero-scrim { position: absolute; inset: 0; }
.page-hero .hero-slide { opacity: 1; }
.page-hero .hero-slide img { animation: drift 16s ease-out both; }
.page-hero .shell { position: relative; z-index: 2; padding-bottom: clamp(32px, 4.4vw, 60px); }
.page-hero h1 { color: #fff; font-size: var(--s-hero); line-height: 0.88; letter-spacing: -0.04em; }
.page-hero .lead { color: var(--pale); margin-top: 0.9em; }
.send-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.send-next h2 { font-size: var(--s-sub); margin-bottom: 18px; }
.send-next ol { display: grid; gap: 16px; max-width: 40ch; }
.send-next li b { font-weight: 900; }
.send-alt { margin-top: 26px; max-width: 40ch; }
.send-alt a { font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em; }
.form { display: grid; gap: 16px; max-width: 42rem; }
.form label { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: var(--s-small); }
.form input, .form textarea { width: 100%; min-height: 56px; padding: 14px 16px; background: #fff; border: 0; border-radius: 0; font-size: var(--s-body); font-weight: 400; }
.form textarea { min-height: 150px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #7a8883; opacity: 1; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.4em; font-size: var(--s-small); font-weight: 700; }
.form-note { font-size: var(--s-small); color: var(--muted); max-width: 52ch; }
.sent { font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; font-size: var(--s-sub); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.two h2 { font-size: var(--s-head); }
.two p + p { margin-top: 1em; }

/* ---------- motion: hidden start states exist only when script runs ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(108%); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms)); }
  .js .lines.is-in [data-line] { transform: none; }
  .js .hero .lines [data-line], .js .page-hero .lines [data-line] { transform: none; animation: line-up 1000ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 120ms + 250ms); }
  .js [data-rise] { animation: rise 800ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 100ms + 700ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .lines[data-reveal] { opacity: 1; transform: none; }
}
@keyframes line-up { from { transform: translateY(108%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide.on img, .page-hero .hero-slide img { animation: none; }
  .ticker-track { animation: none; }
  .hero-dots button[aria-selected="true"] i { animation: none; transform: scaleX(1); }
}

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .roles-intro, .svc-wrap, .stepper, .fees, .send-grid, .two, .empty, .pdetail { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; gap: 10px; }
  .role.mid { transform: none; }
  .svc-view { display: none; }
  .svc { grid-template-columns: 1fr; gap: 6px; }
  .step-panel { min-height: 24rem; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-cols { columns: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .fees .fee:first-child, .fees .fee:last-child { padding-left: var(--mx); padding-right: var(--mx); }
  .hero-facts { grid-template-columns: 1fr; gap: 8px; }
  .pfacts { position: static; }
  .alist a { grid-template-columns: 1fr; }
  .alist .d { grid-column: 1 / -1; margin-bottom: -14px; }
}
@media (max-width: 640px) {
  :root { --pad: 44px; }
  .hero { padding-top: 100px; }
  .hero-in { padding-bottom: 66px; }
  .hero .lead { font-size: 1.15rem; }
  .hero-fact:nth-child(n+2) { display: none; }
  .pgrid { grid-template-columns: 1fr; }
  .top { height: 64px; }
  .step { font-size: 1.25rem; }
  .calc { grid-template-columns: 1fr; }
  .close-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr; height: 60vw; min-height: 260px; }
  .close-strip figure:first-child { grid-column: 1 / -1; }
}

/* ================= v4c: type refinement, contact button, catalog, services choice ================= */
:root { --font-display: Archivo, system-ui, sans-serif; --font-text: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif; }
.step, .qa summary, .ticker-track span, .sheet nav a, .brand b, .fee-price, .sent, .foot h4, .hero-fact b, .role h3, .svc h3, .pcard h3, .alist h3, .pfacts h2, .send-next h2, .guides h3 { font-family: var(--font-display); }
.lead { font-weight: 500; letter-spacing: -0.015em; line-height: 1.34; }
.nav a:not(.btn), .menu-btn, .chip, .svc-tag, .pcard-cat, .pcard-kind, .pfacts dt, .hero-fact span, .fact { font-family: var(--font-text); }
.nav a:not(.btn) { font-weight: 800; letter-spacing: 0.07em; font-size: 0.78rem; }
.chip { font-weight: 800; letter-spacing: 0.06em; font-size: 0.78rem; }
.pcard-cat, .pcard-kind, .svc-tag, .pfacts dt { font-weight: 800; letter-spacing: 0.07em; font-size: 0.74rem; }
p { font-weight: 500; }
.hero .lead, .page-hero .lead { font-weight: 600; }
.hero-fact b { font-size: 1rem; letter-spacing: -0.01em; }
.hero-fact span { font-weight: 500; }
.role li, .svc p, .step-body p, .qa .ans, .fee-incl { font-weight: 500; }

/* floating contact button: phones and small tablets */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: none; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(9, 14, 18, 0.35); transition: transform 240ms var(--ease-out), background-color 200ms ease; }
.fab-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 280ms var(--ease-out), opacity 200ms ease; grid-area: 1 / 1; }
.fab-btn .x { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.fab.open .fab-btn { background: var(--navy); }
.fab.open .fab-btn .chat { opacity: 0; transform: rotate(90deg) scale(0.6); }
.fab.open .fab-btn .x { opacity: 1; transform: none; }
.fab-item { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: #fff; color: var(--ink); font-weight: 800; border-radius: 999px; box-shadow: 0 8px 24px rgba(9, 14, 18, 0.28); opacity: 0; transform: translateY(14px) scale(0.92); pointer-events: none; transition: opacity 220ms ease, transform 320ms var(--ease-out); }
.fab-item svg { width: 22px; height: 22px; }
.fab-item.wa svg { fill: #1faa59; }
.fab-item.mail svg { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fab.open .fab-item { opacity: 1; transform: none; pointer-events: auto; }
.fab.open .fab-item:nth-child(1) { transition-delay: 60ms; }
body.sheet-open .fab { display: none; }
@media (max-width: 980px) { .fab { display: flex; } .foot { padding-bottom: 96px; } }

/* hero contact row */
.hero-actions { gap: 16px 30px; }

/* catalog: toolbar + grid */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.catalog-bar .chips { margin: 0; flex: 1 1 420px; }
.search { position: relative; flex: 0 1 320px; min-width: 220px; }
.search input { width: 100%; min-height: 50px; padding: 10px 16px 10px 46px; background: #fff; border: 2px solid transparent; font-weight: 600; transition: border-color 200ms ease; }
.search input:focus { outline: none; border-color: var(--ink); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.count { font-size: var(--s-small); font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.pgrid { gap: 18px; }
.pcard { background: #fff; transition: transform 360ms var(--ease-out), box-shadow 360ms ease; animation: card-in 520ms var(--ease-out) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.pcard-img::after { content: "View"; position: absolute; inset: auto 0 0 0; padding: 14px 18px; background: var(--ink); color: #fff; font-weight: 800; font-size: var(--s-small); transform: translateY(101%); transition: transform 360ms var(--ease-out); }
.pcard-more { display: none; }
.pcard-body { padding: 18px 20px 22px; }
.pcard h3 { font-size: 1.25rem; }
.pcard-demo { position: absolute; right: 0; top: 0; z-index: 2; background: var(--accent); color: #fff; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.08em; padding: 7px 10px; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 23, 28, 0.16); } .pcard:hover .pcard-img::after { transform: none; } }
.catalog-empty { padding: 48px 0; font-weight: 700; font-size: var(--s-lead); }
.catalog-empty[hidden] { display: none; }

/* product page gallery */
.pgal-main { position: relative; aspect-ratio: 4 / 3; background: var(--navy); overflow: hidden; }
.pgal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; opacity: 0; transition: opacity 400ms ease; }
.pgal-main img.on { opacity: 1; }
.pgal-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.pgal-thumbs button { flex: none; width: 96px; aspect-ratio: 4 / 3; opacity: 0.55; background: var(--navy); transition: opacity 200ms ease, outline-color 200ms ease; outline: 3px solid transparent; outline-offset: -3px; }
.pgal-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pgal-thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .pgal-thumbs button:hover { opacity: 1; } }
.crumbs { font-size: var(--s-small); font-weight: 700; color: var(--pale-soft); margin-bottom: 12px; }
.crumbs a { text-decoration: underline; text-underline-offset: 0.25em; }
.related { margin-top: var(--head-gap); }
.related h2 { font-size: var(--s-sub); margin-bottom: 18px; }

/* services: choose a way of working */
.ways-tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.way-tab { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: var(--s-sub); line-height: 1; padding: 18px 26px; background: rgba(255, 255, 255, 0.08); color: var(--pale-soft); transition: background-color 240ms ease, color 240ms ease, transform 240ms var(--ease-out); }
.way-tab[aria-selected="true"] { background: var(--pale); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .way-tab:not([aria-selected="true"]):hover { background: rgba(255, 255, 255, 0.16); color: #fff; } }
.way { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.way.on { display: grid; animation: ans-in 480ms var(--ease-out); }
.way h2 { font-size: var(--s-head); margin-bottom: 0.45em; }
.way .lead { color: var(--pale); }
.way ol { counter-reset: w; display: grid; gap: 0; border-top: 2px solid rgba(255, 255, 255, 0.16); }
.way li { counter-increment: w; display: grid; grid-template-columns: 2.4rem 1fr; gap: 12px; padding: 18px 0; border-bottom: 2px solid rgba(255, 255, 255, 0.16); transition: padding 280ms var(--ease-out); }
.way li::before { content: counter(w); font-weight: 800; color: var(--pale-soft); }
.way li b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.02em; font-size: var(--s-lead); display: block; margin-bottom: 4px; }
.way li span { color: var(--pale); }
@media (hover: hover) and (pointer: fine) { .way li:hover { padding-left: 12px; } }
.way .btn { margin-top: 1.6em; }
.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.way-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 22rem; padding: clamp(24px, 3vw, 44px); background: var(--navy); color: var(--pale); overflow: hidden; isolation: isolate; transition: transform 360ms var(--ease-out); }
.way-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 900ms var(--ease-out), opacity 400ms ease; }
.way-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 23, 28, 0.15), rgba(15, 23, 28, 0.9)); }
.way-card h3 { font-size: clamp(1.7rem, 0.8rem + 2.5vw, 2.8rem); }
.way-card p { margin-top: 0.8em; max-width: 36ch; }
.way-card .link { margin-top: 1.2em; color: #fff; }
@media (hover: hover) and (pointer: fine) { .way-card:hover img { transform: scale(1.07); opacity: 0.7; } .way-card:hover { transform: translateY(-4px); } }
@media (max-width: 980px) { .way, .two-ways { grid-template-columns: 1fr; } .way-card { min-height: 17rem; } }

/* header logo: mark on top, the word ANJU set tight under it */
.brand { flex-direction: column; align-items: center; gap: 4px; }
.brand img { height: 38px; }
.brand b { font-size: 1.28rem; line-height: 1; letter-spacing: 0.2em; margin-right: -0.2em; }
.top.solid .brand img { height: 30px; }
.top.solid .brand b { font-size: 1.02rem; }

/* ================= bottom of every page: one contact block, then the links ================= */
.foot { padding: 0; border-top: 0; background: var(--navy); }
.foot-cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 8vw, 120px); background: var(--navy); }
.foot-cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.foot-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 23, 28, 0.82), rgba(15, 23, 28, 0.55) 45%, rgba(15, 23, 28, 0.92)); }
.foot-cta h2 { font-size: var(--s-hero); line-height: 0.88; letter-spacing: -0.04em; color: #fff; margin-bottom: clamp(26px, 3.4vw, 48px); }
.foot-ways { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.foot-way { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 9.5rem; padding: 22px 24px; background: rgba(9, 14, 18, 0.55); color: #fff; overflow: hidden; isolation: isolate; transition: transform 320ms var(--ease-out), background-color 260ms ease; }
.foot-way::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); transition: transform 420ms var(--ease-out); }
.foot-way b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; font-size: var(--s-sub); line-height: 1; }
.foot-way span { font-weight: 700; color: var(--pale-soft); transition: color 260ms ease; }
.foot-way.primary { background: var(--accent); }
.foot-way.primary span { color: #fff; opacity: 0.9; }
@media (hover: hover) and (pointer: fine) {
  .foot-way:hover { transform: translateY(-5px); color: var(--navy); }
  .foot-way:hover::before { transform: none; }
  .foot-way:hover span { color: var(--muted); }
  .foot-way.primary:hover { color: var(--accent); }
  .foot-way.primary:hover span { color: var(--ink); }
}
.foot-main { padding: clamp(36px, 4vw, 56px) 0 24px; }
.foot-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.foot-logo img { height: 44px; width: auto; }
.foot-logo b { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; letter-spacing: 0.2em; margin-right: -0.2em; color: #fff; line-height: 1; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-brand p { margin-top: 0; }
.foot-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; }
.foot-legal { margin-top: 34px; }
.foot li span { color: var(--pale-soft); font-size: var(--s-small); }
.totop { font-weight: 800; text-decoration: none !important; }
body.no-cta .foot-cta { display: none; }
@media (max-width: 980px) { .foot-ways { grid-template-columns: 1fr; } .foot-way { min-height: 7.5rem; gap: 18px; } .foot-grid { grid-template-columns: 1fr 1fr; } .foot-main { padding-bottom: 96px; } }
.foot-logo { align-self: flex-start; }

/* cookie notice */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 120; display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; max-width: 560px; padding: 16px 18px; background: var(--navy); color: var(--pale); font-size: var(--s-small); font-weight: 600; box-shadow: 0 12px 34px rgba(9, 14, 18, 0.4); animation: ck-in 520ms var(--ease-out) both; }
.cookie[hidden] { display: none; }
.cookie p { max-width: none; margin: 0; flex: 1 1 260px; }
.cookie a { text-decoration: underline; text-underline-offset: 0.2em; color: #fff; }
.cookie div { display: flex; gap: 8px; }
.cookie button { padding: 11px 18px; font-weight: 800; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background-color 180ms ease, color 180ms ease; }
.cookie .ck-yes { background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .cookie button:hover { background: #fff; color: var(--navy); } }
@keyframes ck-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 980px) { .cookie { right: 16px; max-width: none; bottom: 16px; } body.has-cookie .fab { bottom: 148px; } }

/* title band without a photograph (products list and product pages) */
.page-hero.plain { min-height: 0; padding-top: 128px; background: var(--navy); }
.page-hero.plain .shell { padding-bottom: clamp(26px, 3vw, 40px); }
.page-hero.plain h1 { font-size: var(--s-head); }

/* pages with no photograph band: solid header from the start, content right under it */
body.solid-top .top { background: var(--navy); height: 62px; }
body.solid-top .top .brand img { height: 30px; }
body.solid-top .top .brand b { font-size: 1.02rem; }
.chapter.first { padding-top: calc(62px + clamp(28px, 3.4vw, 52px)); }
.phead { margin-bottom: clamp(22px, 2.6vw, 36px); }
.phead .crumbs { color: var(--muted); }
.phead h1 { font-size: var(--s-head); }
.phead .lead { margin-top: 0.7em; color: var(--ink); }
.prose .phead { max-width: none; }
.chapter.first .catalog-bar { margin-top: 0; }

/* social buttons */
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.social li { margin: 0 !important; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff !important; position: relative; overflow: hidden; isolation: isolate; transition: transform 280ms var(--ease-out), color 200ms ease; }
.social a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform 340ms var(--ease-out); }
.social svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .social a:hover { transform: translateY(-4px); } .social a:hover::before { transform: none; } }

/* professional footer: five columns, labelled contact, link bar */
.foot-grid { grid-template-columns: 1.7fr 1fr 1.1fr 1fr 1.5fr; gap: 34px 28px; }
.foot-brand p { max-width: 36ch; }
.foot h4 { font-size: 0.82rem; letter-spacing: 0.08em; color: var(--pale-soft); font-family: var(--font-text); font-weight: 800; }
.foot li a { color: #fff; font-weight: 600; font-size: 0.95rem; }
.foot li + li { margin-top: 11px; }
.foot-contact li span { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pale-soft); margin-bottom: 2px; }
.foot-contact li a, .foot-contact li em { font-style: normal; color: #fff; font-weight: 700; font-size: 1rem; }
.foot-legal { align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-links a { text-decoration: none !important; font-weight: 700; color: var(--pale-soft); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: #fff; } }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* articles imported as HTML: tables, ordered lists, picture groups */
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose ol li + li { margin-top: 0.5em; }
.prose h2 { font-size: var(--s-sub); line-height: 1; margin-top: 1.9em; }
.prose h3 { font-size: var(--s-lead); line-height: 1.05; margin-top: 1.5em; }
.prose strong { font-weight: 800; }
.tablewrap { overflow-x: auto; margin-block: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--s-small); min-width: 520px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; }
.prose th { font-weight: 800; background: var(--ink); color: #fff; }
.prose tr:nth-child(even) td { background: rgba(20, 24, 27, 0.06); }
.prose figure { margin-block: 1.6em; }
.prose .pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 2em; }
.prose .pics figure { margin: 0; }
.prose .pics img { aspect-ratio: 4 / 3.2; object-fit: cover; }
.alist .d { line-height: 1.5; }
.prose .phead h1 { font-size: clamp(1.9rem, 1.1rem + 2.7vw, 3.2rem); line-height: 0.98; }
.prose .phead .lead { font-size: var(--s-lead); max-width: 52ch; }

/* ===== the chosen type: Archivo, extra-wide black capitals for display, normal width for reading ===== */
body { font-weight: 400; font-stretch: 100%; }
:is(h1,h2,h3,.step,.qa summary,.ticker-track span,.sheet nav a,.way-tab,.foot-way b,.sent,.fee-price,.brand b,.foot-logo b,.hero-fact b,.svc h3,.role h3,.pcard h3,.alist h3,.pfacts h2,.send-next h2,.guides h3,.way li b) { font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; }
.fee-price { font-weight: 800; }
.lead, .hero .lead, .page-hero .lead { font-weight: 500; font-stretch: 100%; }
p, .role li, .svc p, .step-body p, .qa .ans, .fee-incl { font-weight: 400; }
.nav a:not(.btn), .menu-btn, .chip, .svc-tag, .pcard-cat, .pcard-kind, .pfacts dt, .btn, .foot h4, .foot-contact li span, .calc label, .form label { font-stretch: 100%; }
.btn { font-weight: 800; }
.prose h2, .prose h3 { font-stretch: 125%; }

/* ================= articles: magazine grid, pager, contents, previous/next ================= */
.alhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(22px, 2.6vw, 34px); }
.alhead .lead { margin: 0; color: var(--muted); }
.agrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.agrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acard { position: relative; display: flex; flex-direction: column; background: #fff; overflow: hidden; grid-column: span 4; transition: transform 380ms var(--ease-out), box-shadow 380ms ease; animation: card-in 560ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
.agrid-3 .acard { grid-column: auto; }
.a0 { grid-column: span 7; } .a1 { grid-column: span 5; } .a5 { grid-column: span 12; flex-direction: row; }
.acover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy); flex: none; }
.a0 .acover { aspect-ratio: 16 / 9.4; }
.a5 .acover { aspect-ratio: auto; width: 44%; min-height: 20rem; }
.acover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.acover-type { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 20px; overflow: hidden; }
.acover-type i { font-style: normal; font-family: var(--font-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.82; font-size: clamp(2.6rem, 1.2rem + 4.4vw, 5.2rem); color: rgba(255, 255, 255, 0.92); transition: transform 700ms var(--ease-out); max-width: 100%; overflow-wrap: anywhere; }
.a0 .acover-type, .a3 .acover-type { background: var(--navy); }
.a1 .acover-type, .a4 .acover-type { background: var(--teal-deep); }
.a2 .acover-type { background: var(--accent); }
.a5 .acover-type { background: var(--teal); }
.abody { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2vw, 28px); flex: 1; }
.a5 .abody { justify-content: center; padding: clamp(24px, 3.4vw, 52px); }
.ameta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.ameta span:first-child { color: var(--accent); }
.acard h3 { font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5rem); line-height: 1.02; letter-spacing: -0.03em; transition: color 220ms ease; }
.a0 h3, .a5 h3 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); }
.acard p { color: var(--muted); font-size: var(--s-small); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.a0 p, .a5 p { font-size: var(--s-body); -webkit-line-clamp: 4; }
.aread { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: var(--s-small); background: linear-gradient(currentColor, currentColor) left bottom / 0% 2px no-repeat; align-self: flex-start; padding-bottom: 4px; transition: background-size 360ms var(--ease-out); }
.a1 { background: var(--navy); color: var(--pale); }
.a1 p, .a1 .ameta { color: var(--pale-soft); }
.a1 .ameta span:first-child { color: #ff6a5a; }
.a1 .acover { aspect-ratio: 16 / 7.4; }
@media (hover: hover) and (pointer: fine) {
  .acard:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15, 23, 28, 0.18); }
  .acard:hover .acover img { transform: scale(1.06); }
  .acard:hover .acover-type i { transform: translateX(8px); }
  .acard:hover h3 { color: var(--accent); }
  .a1:hover h3 { color: #fff; }
  .acard:hover .aread { background-size: 100% 2px; }
}
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: clamp(30px, 3.6vw, 52px); }
.pg, .pg-step { min-width: 50px; height: 50px; display: grid; place-items: center; padding-inline: 18px; font-weight: 800; background: #fff; color: var(--ink); transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out); }
.pg.on { background: var(--accent); color: #fff; }
.pg-step.off { opacity: 0.35; }
@media (hover: hover) and (pointer: fine) { .pg:not(.on):hover, .pg-step:not(.off):hover { background: var(--ink); color: #fff; transform: translateY(-3px); } }
.article-wrap { display: grid; grid-template-columns: minmax(0, 70ch); justify-content: center; gap: 56px; }
.article-wrap:has(.toc) { grid-template-columns: 250px minmax(0, 70ch); }
.article-wrap .prose { margin: 0; }
.toc { position: sticky; top: 90px; align-self: start; font-size: var(--s-small); }
.toc b { display: block; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; font-size: 0.74rem; color: var(--muted); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; border-left: 3px solid rgba(20, 24, 27, 0.14); }
.toc a { display: block; padding: 8px 0 8px 14px; margin-left: -3px; border-left: 3px solid transparent; font-weight: 700; line-height: 1.3; color: var(--muted); transition: color 180ms ease, border-color 180ms ease; }
.toc a.on { color: var(--ink); border-left-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--ink); } }
.prose h2 { scroll-margin-top: 90px; }
.anext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(36px, 4vw, 64px); }
.anext a { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2.4vw, 32px); background: #fff; transition: background-color 240ms ease, color 240ms ease, transform 300ms var(--ease-out); }
.anext a.r { text-align: right; align-items: flex-end; }
.anext span { font-weight: 800; font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.anext b { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.4rem); }
@media (hover: hover) and (pointer: fine) { .anext a:hover { background: var(--ink); color: #fff; transform: translateY(-4px); } .anext a:hover span { color: var(--pale-soft); } }
@media (max-width: 980px) {
  .agrid, .agrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a0, .a1, .a5 { grid-column: span 2; } .a5 { flex-direction: column; } .a5 .acover { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .acard { grid-column: auto; }
  .article-wrap, .article-wrap:has(.toc) { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 640px) { .agrid, .agrid-3 { grid-template-columns: 1fr; } .a0, .a1, .a5 { grid-column: auto; } .anext { grid-template-columns: 1fr; } .anext a.r { text-align: left; align-items: flex-start; } }
.acover-type i { font-size: clamp(1.6rem, 0.7rem + 2.1vw, 2.7rem); overflow-wrap: normal; word-break: normal; line-height: 0.9; }
.a0 .acover-type i, .a5 .acover-type i { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.6rem); }

.prose .phead h1 { font-size: clamp(1.5rem, 0.9rem + 1.9vw, 2.4rem); line-height: 1.02; }

/* the two ways: picture first, words under it */
.two-ways { align-items: stretch; }
.way-card { display: flex; flex-direction: column; justify-content: flex-start; min-height: 0; padding: 0; background: var(--navy); color: var(--pale); }
.way-card::after { display: none; }
.way-pic { display: block; overflow: hidden; aspect-ratio: 2 / 1; background: #fff; }
.way-card .way-pic img { position: static; opacity: 1; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.way-txt { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 34px); }
.way-card h3 { font-size: clamp(1.5rem, 0.8rem + 2vw, 2.3rem); }
.way-card p { margin: 0; max-width: 44ch; }
.way-card .link { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .way-card:hover .way-pic img { transform: scale(1.04); opacity: 1; } }
.way { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.way-img { grid-column: 1 / -1; margin: 0 0 clamp(8px, 1vw, 16px); overflow: hidden; background: #fff; }
.way-img img { width: 100%; height: auto; display: block; }

/* phones: products two across like a shop, compact cards; hero keeps vertical scroll while swipes change the photo */
.hero { touch-action: pan-y; }
.pager button.pg, .pager button.pg-step { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.pager[hidden] { display: none; }
@media (max-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard-img { aspect-ratio: 1 / 1; }
  .pcard-kind { font-size: 0.64rem; padding: 5px 8px; }
  .pcard-body { padding: 12px 12px 14px; gap: 4px; }
  .pcard h3 { font-size: 0.9rem; line-height: 1.08; letter-spacing: -0.02em; font-stretch: 100%; }
  .pcard p { display: none; }
  .pcard-cat { font-size: 0.64rem; }
  .pcard-img::after { display: none; }
  .pg, .pg-step { min-width: 42px; height: 44px; padding-inline: 12px; }
  .catalog-bar .chips { flex: 1 1 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .catalog-bar .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .search { flex: 1 1 100%; }
  .hero-slide.on img { animation: none; transform: none; }
}

/* sideways scrollers: a handful of cards, the rest one swipe away */
.hs { position: relative; }
.hs-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; margin-right: calc(var(--mx) * -1); padding-right: var(--mx); cursor: grab; overscroll-behavior-x: contain; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-track > * { flex: 0 0 min(340px, 78vw); scroll-snap-align: start; grid-column: auto; }
.hs-track .acard { min-height: 100%; }
.hs-track .acard .acover { aspect-ratio: 16 / 10; }
.hs-btns { display: flex; gap: 6px; position: absolute; right: 0; top: calc(-1 * clamp(58px, 6vw, 84px)); }
.hs-btns button { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background-color 180ms ease, opacity 180ms ease; }
.hs-btns button:disabled { opacity: 0.25; cursor: default; }
@media (hover: hover) and (pointer: fine) { .hs-btns button:not(:disabled):hover { background: var(--accent); } }
.related .hs-btns { top: -50px; }
.chapter-head + .hs { margin-top: 0; }
.chapter-head { position: relative; }
@media (max-width: 640px) {
  .hs-track > * { flex-basis: 62vw; }
  .hs-btns { display: none; }
  .hs-track .pcard-img { aspect-ratio: 1 / 1; }
  .hs-track .acard p { display: none; }
}

/* phones: the photograph sits in the top part at close to its natural size (sharp), then fades into the dark ground under the words */
@media (max-width: 768px) {
  .hero-media { bottom: auto; height: min(68svh, 600px); }
  .hero-scrim { background: linear-gradient(180deg, rgba(9, 14, 18, 0.5) 0%, rgba(9, 14, 18, 0.1) 20%, rgba(9, 14, 18, 0.58) 50%, rgba(15, 23, 28, 0.97) calc(min(68svh, 600px) - 6px), var(--navy) calc(min(68svh, 600px))); }
  .hero { background: var(--navy); }
}

/* logo: the mark alone, no lettering; smaller on phones */
.brand b, .foot-logo b { display: none; }
.brand img { height: 42px; }
.top.solid .brand img { height: 34px; }
.foot-logo img { height: 52px; }
body.solid-top .top .brand img { height: 34px; }
@media (max-width: 768px) { .brand img { height: 30px; } .top.solid .brand img, body.solid-top .top .brand img { height: 26px; } .foot-logo img { height: 40px; } }
/* hero on desktop: tall enough to feel full, never stretched far beyond the photograph's own size (keeps it sharp) */
@media (min-width: 769px) {
  .hero { min-height: min(100svh, max(640px, 54vw)); }
  .hero-slide.on img { animation: drift-soft 9s ease-out both; }
}
@keyframes drift-soft { from { transform: scale(1.045); } to { transform: scale(1); } }
/* desktop hero: as tall as the photograph itself (2:1), no zoom — the picture is shown at its true size */
@media (min-width: 769px) {
  .hero { min-height: max(600px, min(50vw, 100svh)); }
  .hero-slide.on img { animation: none; transform: none; }
}
@media (min-width: 769px) {
  .hero { padding-top: 92px; }
  .hero h1 { font-size: clamp(3rem, 5.6vw, 5.4rem); }
  .hero-facts { margin-top: 22px; margin-bottom: 52px; }
}

/* ---- phone = an app: bottom navigation instead of the menu sheet and floating button ---- */
.bnav, .top-about { display: none; }
@media (max-width: 980px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .menu-btn, .fab, .sheet { display: none !important; }
  .top-about { display: block; color: #fff; font-weight: 700; font-size: var(--s-small); text-transform: uppercase; letter-spacing: 0.06em; margin-left: auto; padding: 10px 0; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #0a1a20; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: env(safe-area-inset-bottom); }
  .bnav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 9px 2px 8px; color: rgba(238, 243, 241, 0.62); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; min-width: 0; }
  .bnav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bnav a.on { color: #fff; }
  .bnav a.on::before { content: ""; position: absolute; top: 0; left: 24%; right: 24%; height: 3px; background: var(--accent); }
  .bnav a.bn-cta { background: var(--accent); color: #fff; }
  .bnav a.bn-cta.on::before { display: none; }
  .cookie { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
  .foot { padding-bottom: 40px; }
}
/* a heading with line reveals inside a revealed block: show it when the block comes in */
@media (prefers-reduced-motion: no-preference) { .js .is-in .lines [data-line] { transform: none; } }
/* long titles read better in sentence case: article cards and questions keep the weight, drop the shouting */
.acard h3 { text-transform: none; letter-spacing: -0.02em; line-height: 1.12; font-size: clamp(1.08rem, 0.95rem + 0.45vw, 1.35rem); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qa summary { text-transform: none; letter-spacing: -0.015em; font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem); line-height: 1.25; }
.pcard h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* article pages: photos in the text never take over the screen */
.prose figure img, .article-body figure img { max-height: 560px; width: 100%; object-fit: cover; }
/* keep the "All …" link clear of the carousel arrows on the right */
.chapter-head:has(+ .hs) .link { margin-right: 118px; }
@media (max-width: 760px) { .chapter-head:has(+ .hs) .link { margin-right: 0; } }
/* phone: the article list is a compact list — picture left, title right */
@media (max-width: 640px) {
  .agrid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .agrid .acard { display: grid !important; grid-template-columns: 112px minmax(0, 1fr); min-height: 0; }
  .agrid .acard .acover { height: 100% !important; min-height: 112px; aspect-ratio: auto !important; }
  .agrid .acard .acover img { height: 100%; width: 100%; object-fit: cover; }
  .agrid .acard .abody { padding: 12px 14px !important; }
  .agrid .acard .ameta { font-size: 0.6rem; margin-bottom: 6px; }
  .agrid .acard h3 { font-size: 0.98rem; -webkit-line-clamp: 3; }
  .agrid .acard p, .agrid .acard .aread { display: none !important; }
}

/* desktop hero: photographs are never scaled, so the browser always paints them at full sharpness */
@media (min-width: 769px) { .hero-slide img, .hero-slide.on img { transform: none !important; animation: none !important; } }

/* language toggle */
.lang-toggle { font-weight: 700; font-size: var(--s-small); letter-spacing: 0.04em; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); padding: 7px 11px; background: none; cursor: pointer; }
.lang-toggle:hover { border-color: #fff; }
.lang-m { display: none; }
@media (max-width: 980px) { .lang-m { display: block; margin-left: auto; margin-right: 14px; padding: 6px 10px; } .top-about { margin-left: 0; } }
html.zh h1, html.zh h2, html.zh h3, html.zh .ticker-track span, html.zh .chip, html.zh .nav a { letter-spacing: 0; }
html.zh h1 { line-height: 1.08; }
html.zh h2, html.zh h3 { line-height: 1.18; }
