/* Amana Finanz, amanafinanz.com
   Plain CSS, no build step. Mobile first.
   Direction: "the sentence is the layout". Anton for the few big lines,
   Work Sans for everything read. One ground, one ink, burgundy for the
   action, gold used once or twice. No gradients, no shadows at rest, no
   hairlines: surfaces are separated by a step in tone. */

:root {
  --brand: #660033;          /* brand burgundy: the action */
  --brand-hover: #4D0027;
  --gold: #B8863E;           /* brand gold, used sparingly */
  --gold-light: #D9B071;

  --ground: #FFFFFF;
  --ground-2: #F3EDEF;       /* one tone step, for surfaces and hover */
  --ink: #1C0B12;
  --ink-soft: #5B4650;
  --dark: #2A0613;           /* deep burgundy field */
  --darker: #170309;
  --ink-inv: #FFFFFF;
  --soft-inv: #E2CFD6;

  /* tokens the forms and dialog read */
  --paper: #FFFFFF;
  --paper-dim: #F3EDEF;
  --surface: #FFFFFF;
  --line-strong: #8C7A82;
  --accent: #660033;
  --btn-bg: #660033;
  --btn-bg-hover: #4D0027;
  --danger: #B42318;
  --danger-bg: #FDECEA;
  --focus: #9B1650;

  --font-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --step-small: 14px;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  --step-hero: clamp(2rem, 0.2rem + 9.4vw, 10.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --margin: clamp(16px, 2.2vw, 32px);
  --header-h: 60px;
  --sec-gap: clamp(96px, 12vw, 176px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff;
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: max(var(--margin), env(safe-area-inset-left));
  padding-right: max(var(--margin), env(safe-area-inset-right));
}

/* ---------- Buttons: flat, square ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 17px; font-weight: 600; line-height: 1.15;
  text-decoration: none; white-space: nowrap;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--btn-bg); color: #fff; }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--ground-2); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.btn-text {
  background: none; border: 0; padding: 10px 4px; min-height: 44px;
  font-size: 16px; color: inherit;
}
.btn-text:hover { text-decoration: underline; text-underline-offset: 4px; }

.link-btn {
  background: none; border: 0; padding: 0;
  font-size: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 4px;
}

/* ---------- Header: a plain dark bar ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--darker);
  color: var(--ink-inv);
  padding-top: env(safe-area-inset-top);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
}
.wordmark { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.wordmark .logo { display: block; height: 30px; width: auto; }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login { display: none; }
.btn-nav { min-height: 40px; padding: 8px 18px; font-size: 16px; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; padding: 0;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 20px; height: 2px; background: var(--ink-inv);
  position: relative; transition: transform 240ms var(--ease-out), background-color 240ms;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  background: var(--darker);
  padding: 16px 0 40px;
  min-height: calc(100dvh - var(--header-h));
}
.mobile-menu a, .mobile-menu .btn-text {
  display: block; width: 100%; text-align: left;
  padding: 8px 0;
  font-family: var(--font-display);
  font-size: 40px; line-height: 1.1; text-transform: uppercase;
  color: var(--ink-inv); text-decoration: none;
}
.mobile-menu .btn-text {
  margin-top: 24px; font-family: var(--font-body); font-size: 18px; text-transform: none;
  color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px;
}

@media (min-width: 480px) {
  .nav-login { display: inline-flex; }
  .nav-actions { gap: 16px; }
}
@media (min-width: 880px) {
  .nav-links { display: flex; gap: 32px; font-size: 16px; }
  .nav-links a { text-decoration: none; padding: 8px 0; color: var(--soft-inv); transition: color 180ms; }
  .nav-links a:hover { color: #fff; }
  .menu-toggle, .mobile-menu { display: none !important; }
}


/* ---------- Hero ---------- */

.hero {
  background: var(--dark);
  position: relative; overflow: hidden;
  color: var(--ink-inv);
  padding: clamp(48px, 7vw, 104px) 0 clamp(72px, 8vw, 120px);
}
.hero > .wrap { position: relative; z-index: 1; }
/* Background picture that follows the selected service tab */
.hero-bgs { position: absolute; inset: 0; pointer-events: none; }
.hero-bg {
  position: absolute; inset: 0;
  background-repeat: no-repeat; background-position: center bottom; background-size: cover;
  opacity: 0; transition: opacity 600ms var(--ease-out);
}
.hero-bg.is-on { opacity: 1; }
.hero-bg-corporate { background-image: url("/assets/img/hero/corporate.svg"); }
.hero-bg-property { background-image: url("/assets/img/hero/property.svg"); }
.hero-bg-accounts { background-image: url("/assets/img/hero/accounts.svg"); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-hero);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: center;
}
.hero-sub {
  max-width: 44ch; margin: clamp(28px, 3vw, 44px) auto 0;
  text-align: center; font-size: var(--step-lead); line-height: 1.4; color: var(--ink-inv);
}
.hero-note { margin-top: 12px; text-align: center; font-size: var(--step-small); color: var(--soft-inv); }

/* Masked headline: each line rises from behind its own baseline */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }

/* ---------- Search card (the portal) ---------- */

.search-card {
  position: relative;
  max-width: 1120px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 18px 52px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
}
@media (min-width: 640px) { .search-card { padding: 0 32px 56px; } }

.search-card .portal-tabs { margin: 0 -18px 20px; }
@media (min-width: 640px) { .search-card .portal-tabs { margin: 0 -32px 24px; } }
.portal-tab-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--ground-2); }
.portal-tab { position: relative; display: flex; }
.portal-tab input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.portal-tab span {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 76px; padding: 12px 6px;
  font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center;
  color: var(--ink-soft);
  transition: color 180ms, background-color 180ms;
}
.portal-tab input:hover + span { color: var(--ink); }
.portal-tab input:checked + span { background: var(--surface); color: var(--brand); }
.portal-tab input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: -3px; }
.tab-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 640px) { .portal-tab span { flex-direction: row; gap: 10px; min-height: 64px; font-size: 16px; } }

.search-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.search-head h2 { font-size: 22px; }
.search-head .inline-link { font-size: 16px; }
.search-fields { display: grid; gap: 0 16px; }
.qa-extra[hidden] { display: none; }
@media (min-width: 640px) {
  .search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-fields .field-phone { grid-column: 1 / -1; order: 1; }
}
@media (min-width: 900px) {
  .search-fields { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
  .search-fields .field { margin-bottom: 0; grid-column: span 2; }
  .search-fields .qa-extra { grid-column: span 3; }
  .search-fields .field-phone { grid-column: span 2; order: 0; }
}
.search-card .field input, .search-card .field select { background: var(--ground-2); border-color: transparent; }
.search-card .fine { text-align: center; }

/* Service themes: each tab has its own colour on the search card and the dialog */
/* All services use the brand colours; only the hero picture changes per service */
[data-theme] { --accent: #660033; --accent-hover: #4D0026; --accent-tint: #F3EDEF; }
[data-theme] .btn-primary { background: var(--accent); transition: background-color 240ms var(--ease-out); }
[data-theme] .btn-primary:hover { background: var(--accent-hover); }
[data-theme] .portal-tab-row { background: var(--accent-tint); transition: background-color 240ms var(--ease-out); }
[data-theme] .portal-tab input:checked + span { color: var(--accent); }
[data-theme] .portal-tab input:checked + span::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent);
}
[data-theme] .field input:not([aria-invalid="true"]), [data-theme] .field select { background: var(--accent-tint); transition: background-color 240ms var(--ease-out); }
[data-theme] .field input:focus, [data-theme] .field select:focus { outline-color: var(--accent); }
[data-theme] .search-head h2 { color: var(--accent); }
[data-theme] .inline-link { color: var(--accent); }
[data-theme] .chip input:checked + span { background: var(--accent); }
.btn-search {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  min-width: 240px; min-height: 56px; font-size: 18px;
}
.btn-search:hover { transform: translate(-50%, 50%); }
.btn-search:active { transform: translate(-50%, 50%) scale(0.99); }

/* ---------- Forms (shared) ---------- */

.choice-group { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.choice-group legend { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  background: var(--ground-2); font-size: 15px; color: var(--ink);
  transition: background-color 180ms, color 180ms;
}
.chip input:hover + span { background: #E8DDE1; }
.chip input:checked + span { background: var(--brand); color: #fff; }
.chip input:checked + span::before {
  content: ""; width: 6px; height: 10px; margin: -3px 8px 0 0;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 0;
  background: var(--paper); color: var(--ink); font-size: 17px;
}
.field input::placeholder { color: var(--ink-soft); opacity: .8; }
.field input:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.phone-row { display: flex; gap: 8px; }
.phone-row .cc-select { flex: 0 0 auto; width: 122px; padding-right: 6px; }
.phone-row input { flex: 1 1 auto; min-width: 0; }
.field-error { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--danger); }
.field-error::before { content: "!"; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
.field-hint { margin-top: 6px; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.form-alert { margin: 4px 0 16px; padding: 12px 14px; background: var(--danger-bg); color: var(--ink); font-size: 15px; line-height: 1.5; }
.fine { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.switch-line { text-align: center; }
.inline-link { background: none; border: 0; padding: 4px 2px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: hidden spam trap */

/* ---------- Statement: services as one sentence ---------- */

.statement { padding: var(--sec-gap) 0 calc(var(--sec-gap) * 0.75); }
.statement-text {
  max-width: 30em;
  font-size: clamp(1.5rem, 1rem + 1.55vw, 2.25rem);
  font-weight: 600; line-height: 1.24; letter-spacing: -0.01em;
}
.statement-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  margin-top: 56px;
}
.statement-foot p { font-size: var(--step-body); }
@media (min-width: 900px) { .statement-foot { margin-left: 50%; } }

/* Service cards: one picture card per service */
.svc-cards { display: grid; gap: 40px; margin-top: clamp(56px, 7vw, 96px); }
.svc-card { display: flex; flex-direction: column; align-items: flex-start; }
.svc-pic { margin: 0 0 24px; width: 100%; aspect-ratio: 8 / 5; overflow: clip; background: var(--ground-2); }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.svc-card:hover .svc-pic img { transform: scale(1.03); }
.svc-card h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.15; }
.svc-card p { margin-top: 10px; font-size: var(--step-body); line-height: 1.5; max-width: 40ch; }
.svc-card .svc-tags { margin: 12px 0 24px; font-size: 15px; color: var(--ink-soft); }
.svc-card .btn { margin-top: auto; }
.svc-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.svc-card .svc-actions .btn { margin-top: 0; }
.svc-more { font-size: 16px; font-weight: 600; color: var(--brand); text-underline-offset: 4px; }
@media (min-width: 980px) { .svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; } }

/* ---------- Full-width picture ---------- */

.band { margin: 0; height: clamp(320px, 62vh, 720px); overflow: clip; background: var(--ground-2); }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Finance we compare ---------- */

.finance { padding: var(--sec-gap) 0; }
.sec-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--step-head); line-height: 0.98; letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.finance-grid { display: grid; gap: 40px; }
.finance-photo { margin: 0; width: 60%; margin-left: auto; aspect-ratio: 4 / 5; overflow: clip; background: var(--ground-2); }
.finance-photo img { width: 100%; height: 100%; object-fit: cover; }
.finance-word { display: none; }
.fin-group + .fin-group { margin-top: 36px; }
.fin-row {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline;
  width: 100%; padding: 14px 12px;
  background: transparent; border: 0; text-align: left;
  transition: background-color 180ms var(--ease-out);
}
.fin-row:hover { background: var(--ground-2); }
.fin-kind { grid-column: 1 / -1; font-size: 15px; color: var(--ink-soft); }
.fin-name { font-size: 19px; font-weight: 600; }
.fin-go { font-size: 16px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.fin-go span { display: inline-block; transition: transform 180ms var(--ease-out); }
.fin-row:hover .fin-go span { transform: translateX(4px); }
.fin-note { margin-top: 28px; font-size: 15px; color: var(--ink-soft); }

@media (min-width: 900px) {
  .finance-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
  .finance-title { grid-column: 1 / -1; }
  .finance-photo { grid-column: 1 / 5; grid-row: 2; width: 100%; align-self: end; }
  .finance-table { grid-column: 6 / 13; grid-row: 2; position: relative; }
  .fin-row { grid-template-columns: 34% 1fr auto; padding: 14px 16px; }
  .fin-kind { grid-column: auto; }
}

/* ---------- How it works: lines stepping across ---------- */

.steps-sec { padding: var(--sec-gap) 0; background: var(--ground-2); }
.stair { display: grid; gap: 48px; }
.stair-line {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 2.9vw, 4rem); line-height: 1; text-transform: uppercase;
}
.stair li p { margin-top: 12px; max-width: 34ch; font-size: var(--step-body); }
.stair-4 .stair-line { color: var(--brand); }
.stair-2 { padding-left: 6vw; }
.stair-3 { padding-left: 12vw; }
.stair-4 { padding-left: 18vw; }
@media (min-width: 900px) {
  .stair { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 64px; }
  .stair li { grid-column-end: span 7; padding-left: 0; }
  .stair-1 { grid-column-start: 1; }
  .stair-2 { grid-column-start: 3; }
  .stair-3 { grid-column-start: 5; }
  .stair-4 { grid-column-start: 6; }
}

/* ---------- About: not a bank, facts, documents ---------- */

.about { padding: var(--sec-gap) 0; }
.about-row { display: grid; gap: 40px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.facts dt { font-size: 15px; color: var(--ink-soft); }
.facts dd { font-size: 18px; font-weight: 600; }
.about-text .sec-title { margin-bottom: 28px; }
.about-text p { max-width: 62ch; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.4; }
.about-text p + p { margin-top: 18px; }

.docs { margin-top: clamp(80px, 9vw, 128px); }
.docs-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.docs-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 32px; }
.docs-btn {
  min-height: 44px; padding: 10px 18px; border: 0;
  background: var(--ground-2); font-size: 16px; font-weight: 600; color: var(--ink);
  transition: background-color 180ms, color 180ms;
}
.docs-btn:hover { background: #E8DDE1; }
.docs-btn[aria-pressed="true"] { background: var(--brand); color: #fff; }
.docs-lists { display: grid; gap: 32px; }
.docs-lists h4 { font-size: 18px; margin-bottom: 12px; }
.docs-list li { position: relative; padding: 7px 0 7px 26px; font-size: 17px; }
.docs-list li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 7px; height: 12px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.docs-list li.is-off { display: none; }
.docs-note { margin-top: 24px; font-size: 15px; color: var(--ink-soft); max-width: 62ch; }

@media (min-width: 900px) {
  .about-row { grid-template-columns: 30% 1fr; column-gap: 4%; align-items: start; }
  .facts { grid-template-columns: 1fr; max-width: 220px; gap: 24px; order: -1; }
  .docs { display: grid; grid-template-columns: 30% 1fr; column-gap: 4%; }
  .docs-title, .docs-pick { grid-column: 1; }
  .docs-pick { flex-direction: column; align-items: flex-start; }
  .docs-lists, .docs-note { grid-column: 2; }
  .docs-lists { grid-row: 1 / span 3; grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .docs-note { grid-row: 4; }
}

/* ---------- FAQ: large questions, answers beside, all open ---------- */

.faq { padding: var(--sec-gap) 0; }
.faq-head { display: grid; gap: 20px; margin-bottom: 56px; }
.faq-heading { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); color: var(--ink-soft); }
.faq-filter { display: none; gap: 4px 24px; flex-wrap: wrap; }
.js .faq-filter { display: flex; }
.faq-chip {
  min-height: 44px; padding: 8px 0; border: 0; background: none;
  font-size: 17px; color: var(--ink-soft);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 2px;
  transition: color 180ms, text-decoration-color 180ms;
}
.faq-chip:hover { color: var(--ink); }
.faq-chip[aria-pressed="true"] { color: var(--brand); font-weight: 600; text-decoration-color: currentColor; }
.faq-grid { display: grid; gap: 56px; }
.faq-card[hidden] { display: none; }
.faq-card h3 { font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2.25rem); line-height: 1.12; letter-spacing: -0.01em; }
.faq-card p { margin-top: 12px; max-width: 44ch; font-size: var(--step-body); line-height: 1.55; }
@media (min-width: 900px) {
  .faq-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; }
  .faq-heading { grid-column: 1 / 7; }
  .faq-filter { grid-column: 8 / 13; }
  .faq-grid { gap: 72px; }
  .faq-card { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; }
  .faq-card h3 { grid-column: 1 / 7; }
  .faq-card p { grid-column: 8 / 13; margin-top: 0; }
}

/* ---------- Contact: the address as display type ---------- */

.contact { background: var(--dark); color: var(--ink-inv); }
.contact-inner { padding-top: var(--sec-gap); padding-bottom: clamp(64px, 8vw, 112px); }
.contact-lead { max-width: 40ch; margin-top: 20px; font-size: var(--step-lead); line-height: 1.4; color: var(--soft-inv); }
.contact-list { display: grid; gap: 24px; margin-top: 48px; }
.contact-list li { display: grid; gap: 4px; font-size: 19px; font-weight: 600; }
.contact-label { font-size: 15px; font-weight: 400; color: var(--soft-inv); }
.contact-list a { color: var(--ink-inv); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-light); }
.contact-track { margin-top: 40px; font-size: 16px; }
.contact-track .link-btn { color: var(--ink-inv); }
@media (min-width: 720px) {
  .contact-list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 64px; }
}

/* ---------- Footer: invitation over a cropped name ---------- */

.site-footer {
  position: relative; overflow: hidden;
  background: var(--darker); color: var(--ink-inv);
  padding-top: clamp(72px, 9vw, 128px);
}
.foot-top { display: grid; gap: 40px; }
.foot-line {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 6rem); line-height: 0.95; text-transform: uppercase;
  margin-bottom: 28px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 17px; }
.foot-links a { color: var(--ink-inv); text-decoration: none; padding: 6px 0; display: inline-block; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { display: grid; gap: 10px; margin-top: 64px; padding-bottom: clamp(40px, 5vw, 64px); font-size: 14px; line-height: 1.55; color: var(--soft-inv); }
.foot-legal p:first-child { max-width: 70ch; }
.foot-legal a { color: inherit; }
@media (min-width: 900px) {
  .foot-top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .foot-invite { grid-column: 1 / 8; }
  .foot-links { grid-column: 10 / 13; flex-direction: column; gap: 4px; }
}

/* ---------- Floating WhatsApp button (it floats, so it may cast a shadow) ---------- */

.contact-float {
  position: fixed; z-index: 40;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
}
.cf-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--gold-light);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(23, 3, 9, .55); /* taste-skill-ignore: floating button */
  transition: transform 180ms var(--ease-out), background-color 180ms;
}
.cf-btn:hover { transform: scale(1.06); background: var(--brand-hover); }
.cf-btn svg { width: 28px; height: 28px; fill: currentColor; }
.cf-btn::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--gold-light);
  animation: cf-pulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes cf-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.contact-float { transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.contact-float.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media print { .contact-float { display: none; } }

/* ---------- Apply / Log in dialog ---------- */

.account-dialog {
  width: min(100% - 24px, 480px);
  max-height: min(100dvh - 24px, 780px);
  margin: auto; padding: 28px 20px 24px;
  border: 0; border-radius: 0;
  background: #fff; color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(23, 3, 9, .5); /* taste-skill-ignore: dialog overlay */
  overflow-y: auto; overscroll-behavior: contain;
}
@media (min-width: 640px) { .account-dialog { padding: 36px 36px 30px; } }
.account-dialog::backdrop { background: rgba(23, 3, 9, .6); }
.account-dialog[open] { animation: dialog-in 240ms var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dialog-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; font-size: 28px; line-height: 1; color: var(--ink-soft);
}
.dialog-close:hover { background: var(--ground-2); color: var(--ink); }
.tabs { display: flex; gap: 4px; margin: 0 48px 24px 0; padding: 4px; background: var(--ground-2); }
.tab { flex: 1; min-height: 40px; padding: 8px 12px; border: 0; background: none; font-size: 16px; font-weight: 600; color: var(--ink-soft); }
.tab[aria-selected="true"] { background: #fff; color: var(--brand); }
.tab:hover:not([aria-selected="true"]) { color: var(--ink); }
.account-dialog h2 { font-size: 28px; }
.dialog-sub { margin: 8px 0 22px; font-size: 16px; color: var(--ink-soft); }
.account-dialog .btn-block { margin-top: 6px; }
.panel-success { text-align: left; }
.panel-success:focus { outline: none; }
.success-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); margin-bottom: 18px; position: relative; }
.success-mark::after { content: ""; position: absolute; left: 17px; top: 11px; width: 12px; height: 22px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ref-line { margin: -8px 0 8px; padding: 12px 14px; background: var(--ground-2); font-size: 16px; }
.ref-line strong { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 404 ---------- */

.notfound { background: var(--dark); color: var(--ink-inv); min-height: 70vh; display: flex; align-items: center; padding: 72px 0; }
.notfound h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 1.5rem + 6vw, 7rem); line-height: 0.95; }
.notfound p { margin-top: 20px; max-width: 46ch; font-size: var(--step-lead); }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 32px; }
.notfound .actions a:not(.btn) { color: var(--ink-inv); }

.noscript { margin: 0; padding: 16px; text-align: center; background: var(--ground-2); font-size: 16px; }

/* ---------- Service pages (built by scripts/build-pages.mjs) ---------- */

.page-hero { background: var(--dark); color: var(--ink-inv); padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--soft-inv); margin-bottom: 28px; }
.crumbs a { color: var(--ink-inv); text-underline-offset: 3px; }
.page-title {
  max-width: 16ch; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 6.5rem); line-height: 0.95; text-wrap: balance;
}
.page-lead { max-width: 52ch; margin-top: 24px; font-size: var(--step-lead); line-height: 1.45; }
.page-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.page-wa { color: var(--ink-inv); font-weight: 600; font-size: 17px; text-underline-offset: 4px; }
.page-note { margin-top: 24px; max-width: 62ch; font-size: 15px; color: var(--soft-inv); }
.page-sec { padding: clamp(72px, 9vw, 128px) 0; }
.page-sec-alt { background: var(--ground-2); }
.page-items { display: grid; gap: 40px; margin-top: 40px; }
.page-item h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.15; }
.page-item p { margin-top: 10px; max-width: 40ch; font-size: var(--step-body); line-height: 1.5; }
.page-item-go { margin-top: 14px; font-size: 17px; font-weight: 600; color: var(--brand); }
.page-two { display: grid; gap: 56px; }
.page-h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); line-height: 1.15; margin-bottom: 18px; }
.page-two p { max-width: 54ch; font-size: var(--step-body); line-height: 1.55; }
.page-two p + p { margin-top: 14px; }
.page-steps { display: grid; gap: 32px; margin-top: 40px; counter-reset: step; }
.page-steps li { counter-increment: step; }
.page-steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--brand); margin-bottom: 12px; }
.page-steps h3 { font-size: 21px; }
.page-steps p { margin-top: 8px; font-size: var(--step-body); line-height: 1.5; max-width: 34ch; }
.page-faq { border-top: 0; }
.page-cta { background: var(--dark); color: var(--ink-inv); padding: clamp(72px, 9vw, 128px) 0; }
.page-cta p { margin: 18px 0 28px; max-width: 52ch; font-size: var(--step-lead); line-height: 1.45; }
.page-cta .page-more { margin: 32px 0 0; font-size: 16px; color: var(--soft-inv); }
.page-cta .page-more a { color: var(--ink-inv); text-underline-offset: 3px; }
@media (min-width: 760px) {
  .page-items { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .page-two { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .page-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
}

/* ---------- Motion (only with JS, and only when motion is welcome) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: 150ms; }
  .js .lines .l2 { animation-delay: 260ms; }
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero-sub.reveal { transition-delay: 700ms; }
  .js .hero-note.reveal { transition-delay: 780ms; }
  .js .search-card.reveal { transition-delay: 860ms; }
  .js .stair-2.reveal { transition-delay: 90ms; }
  .js .stair-3.reveal { transition-delay: 180ms; }
  .js .stair-4.reveal { transition-delay: 270ms; }
  .js .fin-group.reveal:nth-of-type(2) { transition-delay: 80ms; }
  .js .fin-group.reveal:nth-of-type(3) { transition-delay: 160ms; }
  .js .finance-photo.reveal { transform: scale(1.04); }
  .js .finance-photo.reveal.in { transform: none; }
  .band img { animation: drift 24s var(--ease-soft) infinite alternate; }
}
@keyframes line-up { to { transform: none; } }
@keyframes drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.1) translateX(-2%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cf-btn::after { animation: none; opacity: 0; }
}

/* ======================================================================
   2026-11-13 layer: structure and motion in the style of the owner's
   reference (urbanhubinnovations.com/websites). Same colours, same text.
   Rounded panels, pill buttons, centred section heads, a tilted "screen"
   that straightens on scroll, and full-width split cards that stack.
   ====================================================================== */

:root { --r-lg: 28px; --r-md: 16px; --r-sm: 12px; }

/* Pill buttons with a small arrow on the main actions */
.btn { border-radius: 999px; }
.btn-search, .svc-actions .btn, .statement-foot .btn, .page-ctas .btn { padding-right: 20px; }
.btn-search::after, .svc-actions .btn::after, .statement-foot .btn::after, .page-ctas .btn::after {
  content: "\2197"; display: inline-block; margin-left: 2px;
  font-size: 1.1em; line-height: 1;
  transition: transform 220ms var(--ease-out);
}
.btn-search:hover::after, .svc-actions .btn:hover::after, .statement-foot .btn:hover::after, .page-ctas .btn:hover::after { transform: translate(2px, -2px); }

/* Softer form controls */
.field input, .field select { border-radius: var(--r-sm); }
.chip span, .docs-btn, .faq-chip { border-radius: 999px; }
.faq-chip { padding: 8px 16px; text-decoration: none; }
.faq-chip[aria-pressed="true"] { background: var(--brand); color: #fff; }
.account-dialog { border-radius: var(--r-lg); }
.tabs, .tab, .ref-line, .form-alert { border-radius: var(--r-sm); }
.dialog-close { border-radius: 50%; }

/* ---------- Hero: centred, with the search card on a tilted screen ---------- */
.hero { padding-bottom: clamp(56px, 7vw, 104px); }
.tilt {
  perspective: 1400px;
  margin: clamp(40px, 5vw, 72px) auto 0;
  max-width: 1180px;
}
.tilt .search-card {
  margin-top: 0;
  border-radius: var(--r-lg);
  overflow: visible;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); /* taste-skill-ignore: floating screen */
  transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt, 0) * 22deg)) scale(calc(1 - var(--tilt, 0) * .06));
  will-change: transform;
}
.search-card .portal-tab-row { border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.portal-tab input:checked + span::before { border-radius: 0 0 4px 4px; }

/* ---------- Section heads centred like the reference ---------- */
.statement-text { margin: 0 auto; text-align: center; }
.statement-foot { justify-content: center; margin-left: 0 !important; text-align: center; }
.finance-title, .faq-heading { text-align: center; }
@media (min-width: 900px) {
  .faq-heading { grid-column: 1 / -1; }
  .faq-filter { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Services: full-width split cards that stack while you scroll ---------- */
.svc-cards { display: block; margin-top: clamp(56px, 7vw, 96px); }
.svc-card {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  margin: 0 0 24px;
  border-radius: var(--r-lg);
  overflow: clip;
  background: var(--dark);
  color: var(--ink-inv);
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--under, 0) * .05));
  filter: brightness(calc(1 - var(--under, 0) * .25));
}
.svc-card:nth-child(2) { top: calc(var(--header-h) + 32px); background: var(--ground-2); color: var(--ink); }
.svc-card:nth-child(3) { top: calc(var(--header-h) + 48px); background: var(--darker); }
.svc-card .svc-pic { margin: 0; aspect-ratio: 16 / 10; border-radius: 0; background: transparent; }
.svc-body { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 22px 32px; }
.svc-card h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.75rem); line-height: .98; }
.svc-card p { margin-top: 16px; max-width: 36ch; font-size: var(--step-lead); line-height: 1.4; }
.svc-card .svc-tags { margin: 16px 0 28px; font-size: 15px; color: inherit; opacity: .75; }
.svc-card:nth-child(odd) .svc-more { color: var(--gold-light); }
.svc-card:nth-child(odd) .btn-primary { background: #fff; color: var(--brand); }
.svc-card:nth-child(odd) .btn-primary:hover { background: var(--ground-2); }
@media (min-width: 900px) {
  .svc-card { grid-template-columns: 1fr 1fr; min-height: min(560px, calc(100vh - var(--header-h) - 96px)); }
  .svc-card .svc-pic { aspect-ratio: auto; height: 100%; }
  .svc-card:nth-child(2) .svc-pic { order: 2; }
  .svc-body { justify-content: center; padding: 56px clamp(32px, 4vw, 72px); }
}

/* ---------- Picture band and finance list: rounded panels ---------- */
.band { margin: 0 var(--margin); border-radius: var(--r-lg); }
.finance-photo { border-radius: var(--r-lg); }
.fin-row { border-radius: var(--r-md); }
.fin-group { background: var(--ground-2); border-radius: var(--r-lg); padding: 8px; }
.fin-row:hover { background: #fff; }

/* ---------- How it works: four rounded step cards ---------- */
.steps-sec { background: var(--ground); }
.stair { counter-reset: step; }
.stair li {
  counter-increment: step;
  padding: 32px 24px !important;
  background: var(--ground-2); border-radius: var(--r-lg);
}
.stair li::before {
  content: "0" counter(step); display: block; margin-bottom: 20px;
  font-weight: 600; font-size: 15px; color: var(--brand);
}
.stair-4 { background: var(--dark) !important; color: var(--ink-inv); }
.stair-4 .stair-line, .stair-4::before { color: var(--gold-light) !important; }
.stair-line { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
@media (min-width: 640px) { .stair { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) {
  .stair { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; column-gap: 20px; }
  .stair li { grid-column: auto !important; display: flex; flex-direction: column; min-height: 340px; }
  .stair li p { margin-top: auto; padding-top: 24px; }
}

/* ---------- About, FAQ, contact: panels ---------- */
.docs-lists > div { background: var(--ground-2); border-radius: var(--r-lg); padding: 28px; }
.faq-card { padding: 28px 24px; border-radius: var(--r-lg); background: var(--ground-2); }
.faq-grid { gap: 16px !important; }
@media (min-width: 900px) { .faq-card { padding: 40px 48px; } }
.contact { background: var(--ground); color: var(--ink); padding: 0 var(--margin) var(--margin); }
.contact-inner { background: var(--dark); color: var(--ink-inv); border-radius: var(--r-lg); max-width: 1440px; margin: 0 auto; }
.contact .sec-title { text-align: center; }
.contact-lead { margin-left: auto; margin-right: auto; text-align: center; }
.contact-list { justify-content: center; text-align: center; }
.contact-track { text-align: center; }

/* Floating WhatsApp: pill like the reference cursor chip */
.cf-btn { width: 64px; border-radius: 999px; }
.cf-btn::after { border-radius: 999px; }

/* Motion for the new pieces */
@media (prefers-reduced-motion: no-preference) {
  .js .svc-body.reveal { transform: translateY(40px); }
  .js .svc-card .svc-pic img { transform: scale(1.08); transition: transform 1200ms var(--ease-expo); }
  .js .svc-card.in .svc-pic img { transform: none; }
  .js .faq-card.reveal, .js .stair li.reveal { transform: translateY(32px) scale(.98); }
  .js .faq-card.reveal.in, .js .stair li.reveal.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tilt .search-card, .svc-card { transform: none !important; filter: none !important; }
}
/* Phones: cards are taller than the screen, so they sit one after another instead of stacking */
@media (max-width: 899px) {
  .svc-card, .svc-card:nth-child(2), .svc-card:nth-child(3) { position: relative; top: auto; transform: none; filter: none; }
  .svc-body { padding-bottom: 40px; }
}

/* ======================================================================
   2026-11-13 b: more desktop motion (owner: "want more"). Phones unchanged.
   ====================================================================== */

/* Moving strip of products */
.marquee { overflow: hidden; background: var(--brand); color: #fff; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-set { display: flex; align-items: center; flex: none; }
.marquee-set span { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.75rem); line-height: 1; white-space: nowrap; padding: 0 28px; }
.marquee-set i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-light); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Words light up as the sentence scrolls past */
.js [data-words] .w { color: var(--ink); opacity: calc(.18 + var(--lit, 0) * .82); transition: opacity 160ms linear; }

/* Custom cursor (mouse only, wide screens) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .has-cursor .cursor {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 999px;
    background: var(--gold);
    transition: width 260ms var(--ease-out), height 260ms var(--ease-out), margin 260ms var(--ease-out), background-color 260ms, opacity 200ms;
  }
  .has-cursor .cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(184, 134, 62, .28); }
  .has-cursor .cursor.is-card { width: 112px; height: 112px; margin: -56px 0 0 -56px; background: var(--gold); }
  .cursor-label { font-size: 15px; font-weight: 600; color: var(--darker); opacity: 0; transform: scale(.6); transition: opacity 200ms, transform 260ms var(--ease-out); white-space: nowrap; }
  .cursor.is-card .cursor-label { opacity: 1; transform: none; }
  .cursor.is-hidden { opacity: 0; }
}

/* Desktop only: stronger screen tilt with a device frame, parallax, magnetic buttons */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .tilt { perspective: 1100px; }
  .tilt .search-card {
    transform: rotateX(calc(var(--tilt, 0) * 38deg)) scale(calc(1 - var(--tilt, 0) * .12)) translateY(calc(var(--tilt, 0) * -20px));
    outline: 10px solid #3a1222; outline-offset: 0;
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); /* taste-skill-ignore: floating screen */
  }
  .hero-title .l2 { color: var(--gold-light); }
  .svc-card .svc-pic { overflow: hidden; }
  .svc-card .svc-pic img { height: 116%; margin-top: -8%; translate: 0 calc(var(--par, 0) * 7%); }
  .btn, .magnet { translate: var(--mx, 0) var(--my, 0); transition: translate 260ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms; }
  .stair li { transition: transform 400ms var(--ease-out), background-color 300ms; }
  .stair li:hover { transform: translateY(-10px) !important; }
  .stair li:not(.stair-4):hover { background: #EADDE3; }
  .faq-card { transition: background-color 300ms, transform 400ms var(--ease-out); }
  .faq-card:hover { background: #EADDE3; }
  .fin-group { transition: transform 400ms var(--ease-out); }
  .finance-photo img { scale: 1.12; translate: 0 calc(var(--par, 0) * 6%); }
  .band img { animation: none; scale: 1.15; translate: 0 calc(var(--par, 0) * 7%); }
  /* Headings rise word by word */
  .js .sec-title .hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
  .js .sec-title .hw > span { display: inline-block; transform: translateY(105%); transition: transform 900ms var(--ease-expo); transition-delay: calc(var(--i) * 70ms); }
  .js .sec-title.in .hw > span { transform: none; }
}

/* ======================================================================
   2026-11-13 c: ideas from five world-class sites (owner request).
   Apple: frosted, shrinking top bar. Stripe: moving glow in the hero.
   Linear: cards glow under the mouse. Revolut: steps slide sideways.
   Wise-style reading progress bar. Colours stay burgundy and gold.
   ====================================================================== */

/* Progress bar */
.progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); pointer-events: none; }

/* Apple: frosted top bar that shrinks after the first scroll */
.site-header { background: rgba(23, 3, 9, .72); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); transition: background-color 300ms; }
.nav-row { transition: height 300ms var(--ease-out); }
.site-header.is-scrolled { background: rgba(23, 3, 9, .86); }
@media (min-width: 900px) { .site-header.is-scrolled .nav-row { height: 52px; } }

/* Stripe: slow moving glow in the hero */
.hero-glow { position: absolute; inset: -20%; pointer-events: none; filter: blur(80px); opacity: .55; }
.hero-glow i { position: absolute; border-radius: 50%; }
.hero-glow i:nth-child(1) { width: 46vw; height: 46vw; left: 5%; top: 10%; background: var(--brand); }
.hero-glow i:nth-child(2) { width: 34vw; height: 34vw; right: 8%; top: 4%; background: var(--gold); opacity: .45; }
.hero-glow i:nth-child(3) { width: 40vw; height: 40vw; left: 38%; top: 40%; background: #9B1650; opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .hero-glow i:nth-child(1) { animation: glow-a 18s ease-in-out infinite alternate; }
  .hero-glow i:nth-child(2) { animation: glow-b 22s ease-in-out infinite alternate; }
  .hero-glow i:nth-child(3) { animation: glow-c 26s ease-in-out infinite alternate; }
}
@keyframes glow-a { to { transform: translate(18vw, 10vh) scale(1.15); } }
@keyframes glow-b { to { transform: translate(-22vw, 18vh) scale(.9); } }
@keyframes glow-c { to { transform: translate(-14vw, -16vh) scale(1.2); } }
.hero-bgs { z-index: 0; }

/* Linear: a soft light follows the mouse over cards */
.fin-group, .stair li, .faq-card, .svc-body, .docs-lists > div { position: relative; isolation: isolate; }
.fin-group::after, .stair li::after, .faq-card::after, .svc-body::after, .docs-lists > div::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, -999px) var(--gy, -999px), rgba(184, 134, 62, .22), transparent 60%);
  opacity: 0; transition: opacity 300ms;
}
.fin-group:hover::after, .stair li:hover::after, .faq-card:hover::after, .svc-body:hover::after, .docs-lists > div:hover::after { opacity: 1; }
.stair li::before { position: relative; }

/* Revolut: steps slide sideways while the page scrolls down (wide screens) */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .steps-sec { padding: 0; height: 260vh; }
  .js .steps-sec > .wrap { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; max-width: none; }
  .js .hscroll { width: 100%; }
  .js .hscroll .stair { display: flex !important; gap: 24px; width: max-content; transform: translateX(calc(var(--hx, 0) * -1px)); will-change: transform; }
  .js .hscroll .stair li { width: min(560px, 42vw); min-height: 60vh; transform: none !important; opacity: 1 !important; }
  .js .hscroll .stair li:hover { transform: translateY(-10px) !important; }
  .js .hscroll .stair-line { font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4.25rem); }
}
.site-header.is-scrolled { background: rgba(23, 3, 9, .93); }
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .hscroll .stair { padding: 0 var(--margin); }
  .js .hscroll .stair li { min-height: 50vh; }
}
