/* B&P株式会社 — site styles. Tokens match the B&P Brand System. */
:root {
  --royal-blue: #014baa;
  --royal-blue-deep: #01377d;
  --cream: #f8f3f0;
  --surface: #ffffff;
  --blue-tint: #e6edf7;
  --ink: #1a1f2b;
  --ink-muted: #5a6070;
  --line: #e3dbd3;
  --line-soft: #e6edf7;
  --on-blue: #f8f3f0;
  --on-blue-muted: #c9d6ec;
  --mist: #7397d2;
  --mist-light: #a9bfe3;
  --glass: #ffffff24;
  --glass-strong: #ffffffd9;
  --glass-line: #ffffff8c;
  /* menu glass: pills see the scene through them; dropdowns are frostier so lists stay readable */
  --menu-glass: #ffffff66;
  --menu-glass-scrolled: #ffffffa6;
  --menu-glass-panel: #ffffffbf;
  --menu-glass-edge: #ffffffb3;
  --menu-blur: blur(18px) saturate(180%);
  --menu-shadow: inset 0 1px 0 #ffffffcc, 0 8px 32px -6px #01377d26;

  --font-heading: "Plus Jakarta Sans", "Zen Kaku Gothic New", "Noto Sans Devanagari", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Noto Sans Devanagari", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-latin: "Plus Jakarta Sans", "Noto Sans JP", system-ui, sans-serif;
  --font-nepali: "Noto Sans Devanagari", "Noto Sans JP", sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --shadow-sm: 0 1px 2px #01377d14, 0 2px 8px #01377d0f;
  --shadow-md: 0 4px 12px #01377d1a, 0 16px 32px -8px #01377d29;
  --focus-ring: 0 0 0 2px var(--cream), 0 0 0 4px var(--royal-blue);
  --focus-ring-inverse: 0 0 0 2px var(--royal-blue), 0 0 0 4px var(--cream);
  --container-max: 1120px;
  --text-max: 680px;
  --gutter: var(--space-4);
  --tile: clamp(34px, 3.6vw, 54px);
}
@media (min-width: 600px) { :root { --gutter: var(--space-8); } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:where([lang="ne"]):not(html) { font-family: var(--font-nepali); }
html[lang="ja"] body { line-break: strict; }
/* English and Nepali pages: Latin/Devanagari stacks, no Japanese tracking */
html[lang="en"] { --font-heading: "Plus Jakarta Sans", "Noto Sans JP", system-ui, sans-serif; --font-body: "Plus Jakarta Sans", "Noto Sans JP", system-ui, sans-serif; }
html[lang="ne"] { --font-heading: "Plus Jakarta Sans", "Noto Sans Devanagari", sans-serif; --font-body: "Noto Sans Devanagari", "Plus Jakarta Sans", sans-serif; --font-nepali: var(--font-body); }
html[lang="en"] :is(h1, h2, h3) { letter-spacing: -.01em; }
html[lang="ne"] :is(h1, h2, h3, .btn, .pill, .brand span, .greeting__name b, .footer__brand b, .ticket__label, .hero__hello) { letter-spacing: 0; }
html[lang="en"] :is(.btn, .pill) { letter-spacing: .01em; }
html[lang="ne"] body { line-height: 1.9; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--royal-blue); }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: .02em; text-wrap: balance; word-break: auto-phrase; margin: 0; }
p { margin: 0; }
.sec-head p, .card p, .step__body p, .seekers__copy > p, .cta__card > p, .access li, .checks li, .answer p { word-break: auto-phrase; text-wrap: pretty; }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-family: var(--font-latin); font-variant-numeric: tabular-nums; white-space: nowrap; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--space-4); top: -60px; z-index: 100; padding: var(--space-2) var(--space-4); background: var(--royal-blue); color: var(--on-blue); border-radius: var(--radius-md); }
.skip:focus { top: var(--space-4); }

/* faint rounded-square outlines, as in the reference */
.pattern { position: relative; }
.pattern::before { content: ""; position: absolute; inset: 0 0 auto; height: 220px; pointer-events: none; z-index: 0; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='220'%3E%3Cg fill='none' stroke='%23e6edf7' stroke-width='1.5'%3E%3Crect x='96' y='24' width='60' height='60' rx='14'/%3E%3Crect x='164' y='24' width='60' height='60' rx='14'/%3E%3Crect x='164' y='92' width='60' height='60' rx='14'/%3E%3Crect x='1216' y='40' width='60' height='60' rx='14'/%3E%3Crect x='1284' y='108' width='60' height='60' rx='14'/%3E%3C/g%3E%3C/svg%3E") 50% 0 / 1440px 220px no-repeat;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 100%); mask-image: linear-gradient(#000 30%, transparent 100%); }
.pattern > * { position: relative; z-index: 1; }

/* ---------- pills, headings, buttons ---------- */
.pill { display: inline-flex; align-items: center; gap: var(--space-2); padding: 2px 12px; border-radius: var(--radius-full); background: var(--blue-tint); color: var(--royal-blue-deep); font-size: 12px; line-height: 22px; font-weight: 700; letter-spacing: .04em; }
.sec { padding-block: var(--space-16); }
@media (min-width: 860px) { .sec { padding-block: var(--space-24); } }
.sec-head { display: grid; gap: var(--space-4); justify-items: center; text-align: center; max-width: 760px; margin: 0 auto var(--space-12); }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.45; font-weight: 500; color: var(--ink); }
.sec-head h2 em { font-style: normal; color: var(--royal-blue); }
.sec-head p { color: var(--ink-muted); max-width: 36em; font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: 0 28px; border: 1.5px solid transparent; border-radius: var(--radius-full); font-family: var(--font-heading); font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .04em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out; }
.btn .icon { width: 20px; height: 20px; transition: transform .2s ease-out; }
.btn:hover .icon { transform: translateX(3px); }
.btn:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--radius-full); }
.btn--primary { background: var(--royal-blue); color: var(--on-blue); }
.btn--primary:hover { background: var(--royal-blue-deep); }
.btn--outline { background: transparent; color: var(--royal-blue); border-color: var(--royal-blue); }
.btn--outline:hover { background: var(--blue-tint); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--xs { min-height: 36px; padding: 0 16px; font-size: 13px; }

/* ---------- header: minimal floating pill ---------- */
.site-header { position: fixed; z-index: 50; top: calc(env(safe-area-inset-top, 0px) + var(--space-4)); left: 0; right: 0; display: flex; justify-content: center; gap: var(--space-2); padding-inline: var(--space-4); pointer-events: none; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; gap: var(--space-3); padding: 5px 5px 5px 6px; border-radius: var(--radius-full); background: var(--menu-glass); border: 1px solid var(--menu-glass-edge); box-shadow: var(--menu-shadow); backdrop-filter: var(--menu-blur); -webkit-backdrop-filter: var(--menu-blur); transition: background-color .25s ease-out, box-shadow .25s ease-out; }
.is-scrolled .nav-pill, .is-scrolled .lang summary { background: var(--menu-glass-scrolled); }
.brand { display: flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; padding-right: var(--space-6); }
.brand img { width: 36px; height: 36px; border-radius: var(--radius-full); }
.brand span { font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
/* language switcher: its own glass pill beside the main one, same height */
.lang { position: relative; pointer-events: auto; }
.lang summary { display: inline-flex; align-items: center; gap: 5px; height: 48px; padding: 0 12px 0 14px; border-radius: var(--radius-full); background: var(--menu-glass); border: 1px solid var(--menu-glass-edge); box-shadow: var(--menu-shadow); backdrop-filter: var(--menu-blur); -webkit-backdrop-filter: var(--menu-blur); color: var(--royal-blue-deep); font: 700 13px/1 var(--font-latin); letter-spacing: .06em; cursor: pointer; list-style: none; user-select: none; transition: background-color .25s ease-out, box-shadow .25s ease-out; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .icon { width: 18px; height: 18px; color: var(--royal-blue); }
.lang summary .lang__chev { width: 14px; height: 14px; transition: rotate .2s; }
.lang[open] summary .lang__chev { rotate: 180deg; }
.lang summary:hover { background: var(--menu-glass-scrolled); }
.lang summary:focus-visible { box-shadow: var(--focus-ring); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 168px; display: grid; gap: 2px; padding: 6px; border-radius: var(--radius-lg); background: var(--menu-glass-panel); border: 1px solid var(--menu-glass-edge); box-shadow: var(--menu-shadow), var(--shadow-md); backdrop-filter: var(--menu-blur); -webkit-backdrop-filter: var(--menu-blur); }
.lang__menu a, .footer__lang a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); text-decoration: none; }
.lang__menu a { padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4; }
.lang__menu a small, .footer__lang a small { font: 700 11px/1 var(--font-latin); letter-spacing: .06em; color: var(--ink-muted); }
.lang__menu a:hover { background: var(--blue-tint); color: var(--royal-blue); }
.lang__menu a[aria-current] { background: var(--blue-tint); color: var(--royal-blue); }
@media (max-width: 480px) { .nav-cta { display: none; } .brand { padding-right: var(--space-2); } }

/* full nav on wide screens; the menu button takes over below 1180px */
.nav-links { display: none; }
@media (min-width: 1180px) {
  .nav-links { display: flex; gap: 2px; margin-right: var(--space-2); }
  .nav-links a { padding: 8px 12px; border-radius: var(--radius-full); color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s; }
  .nav-links a:hover, .nav-links a.is-active { background: var(--blue-tint); color: var(--royal-blue); }
  .brand { padding-right: var(--space-3); }
  .menu-btn, .mobile-menu { display: none !important; }
  .nav-pill { padding-right: 5px; }
}
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: var(--radius-full); background: #e6edf7a6; color: var(--royal-blue-deep); cursor: pointer; }
.menu-btn .icon { width: 20px; height: 20px; }
.mobile-menu { pointer-events: auto; position: fixed; top: 72px; left: 50%; translate: -50% 0; width: min(360px, calc(100% - 32px)); display: grid; gap: 2px; padding: var(--space-3); border-radius: var(--radius-xl); background: var(--menu-glass-panel); border: 1px solid var(--menu-glass-edge); box-shadow: var(--menu-shadow), var(--shadow-md); backdrop-filter: var(--menu-blur); -webkit-backdrop-filter: var(--menu-blur); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 10px 16px; border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.mobile-menu a:not(.btn):hover { background: var(--blue-tint); color: var(--royal-blue); }
.mobile-menu .btn { margin-top: var(--space-2); }

/* ---------- hero: layered painting ---------- */
.hero { position: relative; overflow: hidden; height: max(640px, min(100svh, 1000px)); background: var(--surface); isolation: isolate; }
/* Each layer is a 1536x1024 painting at --lw wide (height = --lw x 2/3), placed on its own:
   the far peaks rise to just under the headline, the panorama keeps its foot on the hero's bottom edge. */
.hero__scene { --lw: max(100vw, 1100px); position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.hero__layer { position: absolute; left: calc((100vw - var(--lw)) / 2); width: var(--lw); max-width: none; height: auto; will-change: transform; }
/* the far range is painted 1.2x larger than the other layers so the peaks fill the space under the headline */
.hero__layer--far { --fw: calc(var(--lw) * 1.2); left: calc((100vw - var(--fw)) / 2); width: var(--fw); top: calc(42% - var(--lw) * .29); }
.hero__layer--front { bottom: calc(var(--lw) * -.1); }
.hero__copy { position: relative; z-index: 3; display: grid; justify-items: center; max-width: 900px; margin-inline: auto; padding: clamp(210px, 27vh, 260px) var(--gutter) 0; text-align: center; }
.hero__flags { display: grid; grid-template-columns: 18px 36px 28px; align-items: center; justify-content: center; column-gap: 12px; margin: 0 0 var(--space-3); }
.hero__flags img { width: 28px; height: 21px; object-fit: contain; }
.hero__flags img:last-child { background: #fff; outline: 1px solid var(--line-soft); }
.hero__flags-arrow { color: var(--royal-blue); font-size: 19px; line-height: 1; text-align: center; }
.hero__hello { display: inline-flex; align-items: baseline; gap: 10px; margin-bottom: var(--space-4); padding: 4px 14px; border-radius: var(--radius-full); background: #ffffffb3; border: 1px solid var(--line-soft); color: var(--royal-blue-deep); font-size: 14px; font-weight: 600; line-height: 1.6; }
.hero__hello i { font-style: normal; color: var(--mist); }
.hero h1 { font-size: clamp(32px, 4.6vw, 66px); line-height: 1.35; font-weight: 500; color: var(--ink); }
html[lang="en"] .hero h1 { font-size: clamp(27px, 3.7vw, 54px); line-height: 1.22; font-weight: 600; }
html[lang="ne"] .hero h1 { font-size: clamp(27px, 4.2vw, 58px); line-height: 1.45; font-weight: 600; }
html[lang="en"] .hero__copy, html[lang="ne"] .hero__copy { max-width: 1040px; }
@media (max-width: 400px) { html[lang="en"] .hero h1 { font-size: 25px; } html[lang="ne"] .hero h1 { font-size: 25px; } }
.hero h1 em { font-style: normal; color: var(--royal-blue); }
.cloud { position: absolute; z-index: 2; pointer-events: none; height: auto; will-change: transform; }
.cloud--l { width: clamp(260px, 32vw, 520px); left: -3vw; top: 40px; animation: drift 40s ease-in-out infinite alternate; }
.cloud--r { width: clamp(220px, 27vw, 440px); right: -4vw; top: 70px; scale: -1 1; animation: drift 48s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { translate: 0 0; } to { translate: 50px 4px; } }

/* glass tiles on a grid, like the reference */
.tiles { position: absolute; z-index: 4; display: grid; grid-template-columns: repeat(3, var(--tile)); grid-auto-rows: var(--tile); gap: calc(var(--tile) * .16); pointer-events: none; }
.tile { border-radius: calc(var(--tile) * .22); background: #ffffff12; border: 1px solid #ffffff59; box-shadow: inset 0 1px 0 #ffffff59; backdrop-filter: blur(6px) saturate(130%) brightness(1.04); -webkit-backdrop-filter: blur(6px) saturate(130%) brightness(1.04); }
@media (max-width: 700px) {
  .hero { height: 620px; }
  .hero__scene { --lw: 1000px; }
  .hero__layer--far { top: calc(46% - var(--lw) * .29); }
  .hero__layer--front { bottom: calc(var(--lw) * -.07); }
  .hero__copy { padding-top: 188px; }
  .tiles--l { top: auto !important; bottom: 40px; }
  .tiles--r { top: auto !important; bottom: 60px; }
  .cloud--l { top: 64px; width: 250px; } .cloud--r { display: none; }
}
/* ---------- about + tickets ---------- */
.about { overflow: hidden; }
.about__route { position: relative; z-index: 1; width: min(920px, 100%); height: clamp(100px, 12vw, 136px); margin: calc(var(--space-4) * -1) auto var(--space-3); pointer-events: none; }
.about__route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.about__route-path { fill: none; stroke: var(--royal-blue); stroke-width: 2.5; stroke-dasharray: 5 10; stroke-linecap: round; stroke-opacity: .34; }
.about__route-mask { fill: none; stroke: #fff; stroke-width: 28; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.about__route-flag { position: absolute; z-index: 1; top: 50%; translate: 0 -50%; padding: 4px; border: 1px solid #dce5f2; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 2px 8px #01377d14; object-fit: contain; }
.about__route-flag--np { left: 0; width: 38px; height: 46px; }
.about__route-flag--jp { right: 0; width: 52px; height: 40px; }
.js .about__route-mask { stroke-dashoffset: calc(1 - var(--route-progress, 0)); }
/* tickets stay above any decoration */
.about > .container { z-index: 3; }
.tickets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.ticket { --notch: 15px; display: grid; align-content: space-between; gap: var(--space-8); min-height: 132px; padding: var(--space-4) var(--space-6) var(--space-6); background: var(--royal-blue); color: var(--on-blue); border-radius: 20px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }
.ticket__label { font-size: 12px; line-height: 18px; font-weight: 700; color: var(--on-blue-muted); }
.ticket__value { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-latin); font-size: clamp(36px, 4.2vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ticket__value small { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 0; }
@media (max-width: 860px) { .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-3); } }
@media (max-width: 700px) {
  .about__route { height: 84px; margin-block: 0 var(--space-3); }
  .about__route-path { stroke-opacity: .26; }
  .about__route-flag--np { width: 34px; height: 42px; }
  .about__route-flag--jp { width: 46px; height: 36px; }
}

/* service strip: a plain row of the six services under the tickets */
.forest { margin-top: var(--space-12); }
.forest__strip { justify-self: stretch; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-8); padding: 0 var(--gutter); }
.forest__strip a { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--royal-blue-deep); text-decoration: none; white-space: nowrap; text-underline-offset: 5px; }
.forest__strip a:hover { color: var(--royal-blue); text-decoration: underline; }
.forest__strip .icon { width: 18px; height: 18px; color: var(--royal-blue); }
@media (max-width: 700px) { .forest { margin-top: var(--space-8); } .forest__strip { gap: var(--space-2) var(--space-6); } }

/* ---------- pain points: worry (white) torn from answer (blue), like the tickets ---------- */
#companies { background: var(--cream); }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 var(--space-6); }
/* subgrid keeps every worry and every answer the same height across the row */
.pain { grid-row: span 2; display: grid; grid-template-rows: subgrid; }
.pain__q, .pain__a { display: grid; align-content: start; gap: var(--space-3); padding: var(--space-6) var(--space-6) var(--space-8); }
.pain__q { position: relative; border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: var(--surface); }
.pain__a { position: relative; border-radius: 0 0 var(--radius-xl) var(--radius-xl); background: var(--royal-blue); color: var(--on-blue); padding-top: var(--space-8); }
/* notches cut at the join, in the section colour */
.pain__a::before, .pain__a::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); }
.pain__a::before { left: -11px; } .pain__a::after { right: -11px; }
/* arrow badge on the join: worry -> answer */
.pain__q::after { content: ""; position: absolute; z-index: 1; left: 50%; bottom: -18px; width: 36px; height: 36px; translate: -50% 0; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23014baa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='m19 12-7 7-7-7'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 0 0 4px var(--royal-blue); }
.pain__tag { font-family: var(--font-heading); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .06em; color: var(--ink-muted); }
.pain__a .pain__tag { color: var(--on-blue-muted); }
.pain__q p { font-size: 17px; line-height: 1.75; font-weight: 500; color: var(--ink); }
.pain__a p { font-size: 16px; line-height: 1.75; font-weight: 600; color: var(--on-blue); }
.pain p { word-break: auto-phrase; text-wrap: pretty; }
.answer { display: grid; justify-items: center; gap: var(--space-6); margin-top: var(--space-12); text-align: center; }
.answer p { font-family: var(--font-heading); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.6; font-weight: 700; color: var(--royal-blue); text-wrap: balance; }
@media (max-width: 860px) {
  .pains { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: var(--space-6); max-width: 520px; margin-inline: auto; }
  .pain { grid-row: auto; grid-template-rows: auto auto; }
}

/* ---------- services: bento, blue panel for companies, cream panel for job seekers ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-6); }
.bento__co, .bento__js { display: grid; gap: var(--space-4); padding: var(--space-4); border-radius: 28px; }
.bento__co { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto repeat(3, 1fr); background: var(--blue-tint); }
.bento__js { grid-template-rows: auto auto auto 1fr auto; background: var(--cream); }
/* fills the rest of the job-seeker panel: the one reassurance every job seeker needs */
.bento__langs { display: grid; align-content: center; justify-items: start; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--royal-blue); color: var(--on-blue); font-family: var(--font-heading); font-size: 16px; line-height: 1.6; font-weight: 700; text-wrap: pretty; word-break: auto-phrase; }
.bento__hello { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; color: var(--on-blue-muted); }
.bento__hello i { font-style: normal; opacity: .6; }
.bento__label { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2) 0; font-size: 14px; line-height: 1.5; font-weight: 700; letter-spacing: .04em; color: var(--royal-blue-deep); }
.bento__label .icon { width: 18px; height: 18px; color: var(--royal-blue); }
.card { position: relative; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s ease-out, box-shadow .25s ease-out; }
/* hover lifts with transform so it never fights the reveal's translate */
.js .card.reveal { transition: opacity .7s ease-out var(--rd, 0s), translate .7s ease-out var(--rd, 0s), transform .25s ease-out, box-shadow .25s ease-out; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card:target { box-shadow: 0 0 0 2px var(--royal-blue), var(--shadow-md); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--royal-blue); color: var(--on-blue); }
.card__icon .icon { width: 22px; height: 22px; }
.card h4 { margin: 0; font-family: var(--font-heading); font-size: 17px; line-height: 1.5; font-weight: 700; color: var(--ink); letter-spacing: .02em; text-wrap: balance; }
.card p { margin-top: var(--space-1); font-size: 14px; line-height: 1.75; color: var(--ink-muted); }
.card--row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: var(--space-4); padding: var(--space-6) var(--space-6) var(--space-6) var(--space-4); }
.card--feature { grid-column: 1; grid-row: 2 / span 3; display: flex; flex-direction: column; overflow: hidden; }
.card__photo { flex: 1 1 auto; width: 100%; min-height: 200px; object-fit: cover; object-position: 50% 30%; }
.card__body { display: grid; gap: var(--space-2); padding: var(--space-6); }
.card__body .card__icon { margin-top: calc(var(--space-6) * -1 - 22px); box-shadow: 0 0 0 4px var(--surface); }
.card--feature h4 { font-size: 21px; }
.card--feature p { font-size: 15px; }
.bento__js .card__icon { background: var(--royal-blue-deep); }
.bento__more { justify-self: stretch; background: var(--surface); }
html[lang="en"] .card h4, html[lang="ne"] .card h4, html[lang="ne"] .bento__label, html[lang="ne"] .pain__tag { letter-spacing: 0; }
.services-sec { padding-bottom: clamp(16px, 2vw, 24px); }
@media (max-width: 960px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__js { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .bento__js .bento__label, .bento__more, .bento__langs { grid-column: 1 / -1; }
  .bento__more { justify-self: center; }
}
@media (max-width: 640px) {
  .bento__co, .bento__js { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: var(--space-3); padding: var(--space-2) var(--space-2) var(--space-3); border-radius: var(--radius-xl); }
  .bento__label { padding: var(--space-3) var(--space-3) var(--space-1); }
  .card--row { grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-3); padding: var(--space-4); }
  .card--row .card__icon { width: 40px; height: 40px; border-radius: 12px; }
  .card__body { padding: var(--space-4) var(--space-4) var(--space-6); }
  .bento__langs { padding: var(--space-4) var(--space-4) var(--space-6); }
  .card--feature { grid-row: auto; }
  .card__photo { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .bento__more { justify-self: stretch; }
}

/* ---------- flow: giant numerals ---------- */
.flow { position: relative; background: var(--surface); }
.flow__sticky { position: relative; overflow: hidden; padding-block: 8px var(--space-24); }
.flow:not(.is-pinned) .sec-head { margin-bottom: var(--space-6); }
.tiles--flow { z-index: 1; }
.flow__track { position: relative; z-index: 1; display: flex; gap: clamp(48px, 7vw, 120px); margin: 0; padding: 0 var(--gutter); list-style: none; }
.step { position: relative; flex: none; display: flex; align-items: flex-end; gap: var(--space-6); width: min(78vw, 560px); }
.step + .step::before { content: ""; position: absolute; left: calc(clamp(48px, 7vw, 120px) / -2); top: -40%; bottom: -30%; width: 1px; background: linear-gradient(transparent, var(--line-soft) 25%, var(--line-soft) 75%, transparent); }
.step__num { font-family: var(--font-latin); font-weight: 700; font-size: clamp(150px, 21vw, 290px); line-height: .9; letter-spacing: -.04em; color: var(--royal-blue-deep); }
.step:nth-child(2) .step__num { color: var(--royal-blue); }
.step:nth-child(3) .step__num { color: var(--mist); }
.step:nth-child(4) .step__num { color: var(--mist-light); }
.step__body { display: grid; gap: var(--space-2); padding-bottom: 10px; max-width: 290px; }
.step__body h3 { font-size: 19px; line-height: 1.5; font-weight: 500; }
.step__body p { font-size: 14px; line-height: 1.8; color: var(--ink-muted); }
.flow:not(.is-pinned) .flow__track { flex-wrap: wrap; justify-content: center; row-gap: var(--space-12); }
.flow:not(.is-pinned) .step + .step::before { display: none; }
.js .flow.is-pinned { height: var(--flow-h, 300vh); }
.js .flow.is-pinned .flow__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 40px); padding-block: var(--space-24) var(--space-12); }
.js .flow.is-pinned .flow__track { will-change: transform; padding-inline: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter))); }
.js .flow.is-pinned .sec-head { margin-bottom: 0; }
@media (max-width: 860px) {
  .flow__track { flex-direction: column; gap: var(--space-8); }
  .step { width: auto; align-items: flex-start; gap: var(--space-4); }
  .step__num { font-size: 96px; min-width: 76px; }
  .tiles--flow { display: none; }
}

/* ---------- testimonials ---------- */
.testimonials { background: var(--blue-tint); }
.testimonials .sec-head { margin-bottom: var(--space-10); }
.testimonials__notice { color: var(--ink-muted); font-size: 13px; }
.testimonials__carousel { width: 100vw; min-width: 0; margin-inline: calc(50% - 50vw); }
.testimonials__controls { display: none; }
.js .testimonials__controls { display: flex; justify-content: flex-end; gap: var(--space-3); margin-bottom: var(--space-4); padding-inline: clamp(16px, 4vw, 64px); }
.testimonials__control { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.testimonials__control:hover { color: var(--on-blue); background: var(--royal-blue); }
.testimonials__control:active { transform: translateY(1px); }
.testimonials__control:focus-visible { outline: 3px solid var(--royal-blue); outline-offset: 3px; }
.testimonials__track { display: flex; width: 100%; align-items: stretch; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; padding: 0 0 var(--space-3); touch-action: pan-y; cursor: grab; }
.testimonials__track.is-pointer-down { user-select: none; -webkit-user-select: none; }
.testimonials__track.is-dragging { cursor: grabbing; }
.testimonials__group { display: flex; flex: 0 0 auto; align-items: stretch; gap: var(--space-6); padding-left: clamp(16px, 3vw, 40px); }
.testimonials__group[aria-hidden="true"] { pointer-events: none; }
.testimonials__track:focus-visible { outline: 3px solid var(--royal-blue); outline-offset: 3px; }
.testimonials__carousel.is-auto .testimonials__track { overflow: hidden; scrollbar-width: none; }
.testimonial { display: flex; flex: 0 0 clamp(280px, 26vw, 360px); min-width: 0; min-height: 100%; flex-direction: column; overflow: hidden; margin: 0; background: var(--surface); border-radius: var(--radius-xl); }
.testimonial__image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--line); -webkit-user-drag: none; }
.testimonial__video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.testimonial__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.testimonial blockquote { flex: 1; margin: 0; padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 30px) var(--space-6); font-size: 16px; line-height: 1.75; font-weight: 500; text-wrap: pretty; }
.testimonial figcaption { display: grid; gap: 2px; margin-top: auto; padding: 0 clamp(20px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px); }
.testimonial--video figcaption { margin-top: 0; padding-top: var(--space-4); }
.testimonial figcaption strong { font-size: 14px; font-weight: 700; }
.testimonial figcaption span { color: var(--ink-muted); font-size: 13px; }
@media (max-width: 600px) { .testimonial { flex-basis: min(82vw, 340px); } }
@media (prefers-reduced-motion: reduce) { .testimonials__control { transition: none; } }

/* ---------- job seekers ---------- */
.seekers { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--space-12); align-items: start; }
.seekers__media { position: sticky; top: 110px; display: grid; grid-column: 1; grid-row: 1; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 1.35fr .8fr; gap: var(--space-2); min-width: 0; align-self: start; aspect-ratio: 1.35; }
.seekers__image { display: block; min-width: 0; min-height: 0; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent; cursor: zoom-in; }
.seekers__image:focus-visible { outline: 3px solid var(--royal-blue); outline-offset: 3px; }
.seekers__image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.seekers__media .seekers__photo--main { grid-column: 1 / -1; }
.seekers__media .seekers__image:not(.seekers__photo--main) { grid-column: span 2; }
.image-lightbox { position: fixed; width: min(1120px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 12px; overflow: hidden; border: 1px solid #ffffff40; border-radius: var(--radius-xl); background: linear-gradient(145deg, #1d2b3d, #0d1622 72%); color: var(--surface); box-shadow: 0 32px 100px #02071199, inset 0 1px 0 #ffffff20; opacity: 0; transform: translateY(14px) scale(.975); transition: opacity .24s ease, transform .24s cubic-bezier(.2, .8, .2, 1); }
.image-lightbox[open] { opacity: 1; transform: translateY(0) scale(1); }
.image-lightbox[open].is-closing { opacity: 0; transform: translateY(10px) scale(.985); }
.image-lightbox::backdrop { background: #07101d00; backdrop-filter: blur(0); transition: background-color .24s ease, backdrop-filter .24s ease; }
.image-lightbox[open]::backdrop { background: #07101dcc; backdrop-filter: blur(8px); }
.image-lightbox[open].is-closing::backdrop { background: #07101d00; backdrop-filter: blur(0); }
@starting-style {
  .image-lightbox[open] { opacity: 0; transform: translateY(14px) scale(.975); }
  .image-lightbox[open]::backdrop { background: #07101d00; backdrop-filter: blur(0); }
}
.image-lightbox__toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 48px; padding-inline: 8px 4px; }
.image-lightbox__caption { min-width: 0; overflow: hidden; color: #f3f6fb; font-size: 14px; font-weight: 600; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.image-lightbox__position { flex: none; color: #c9d6ec; font-size: 13px; font-variant-numeric: tabular-nums; }
.image-lightbox__stage { position: relative; display: grid; place-items: center; min-height: 120px; max-height: calc(100dvh - 112px); overflow: hidden; padding: 8px; border: 1px solid #ffffff14; border-radius: calc(var(--radius-xl) - 8px); background: radial-gradient(ellipse at 50% 35%, #26364a, #101a28 75%); touch-action: pan-y; }
.image-lightbox__image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 144px); border-radius: var(--radius-md); object-fit: contain; box-shadow: 0 12px 40px #02071166; }
.image-lightbox__image.is-sliding-next { animation: lightbox-slide-next .28s cubic-bezier(.2, .8, .2, 1) both; }
.image-lightbox__image.is-sliding-previous { animation: lightbox-slide-previous .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lightbox-slide-next { from { opacity: .35; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes lightbox-slide-previous { from { opacity: .35; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
.image-lightbox__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff55; border-radius: var(--radius-full); background: #101a28b8; color: var(--surface); cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(-50%); transition: background-color .18s ease, border-color .18s ease; }
.image-lightbox__nav:hover { border-color: #ffffffa6; background: #26364ae8; }
.image-lightbox__nav:focus-visible { outline: 2px solid var(--surface); outline-offset: 3px; }
.image-lightbox__nav .icon { width: 21px; height: 21px; }
.image-lightbox__nav--previous { left: 18px; }
.image-lightbox__nav--previous .icon { transform: rotate(180deg); }
.image-lightbox__nav--next { right: 18px; }
.image-lightbox__close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid #ffffff45; border-radius: var(--radius-full); background: #ffffff12; color: var(--surface); cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.image-lightbox__close:hover { border-color: #ffffff80; background: #ffffff25; transform: rotate(4deg); }
.image-lightbox__close:focus-visible { outline: 2px solid var(--surface); outline-offset: 3px; }
.image-lightbox__close .icon { width: 20px; height: 20px; }
.seekers__copy { display: grid; gap: var(--space-6); justify-items: start; }
.seekers__copy > .pill, .seekers__copy > h2, .seekers__copy > p, .seekers__copy > .checks, .seekers__copy > .btn { grid-column: 1; }
.seekers__copy h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.45; font-weight: 500; }
.seekers__copy h2 em { font-style: normal; color: var(--royal-blue); }
.seekers__copy > p { color: var(--ink-muted); }
.seekers__consultancy { display: grid; gap: var(--space-3); width: 100%; margin-top: var(--space-2); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.seekers__consultancy-brand { display: flex; align-items: center; gap: var(--space-4); }
.seekers__consultancy-brand img { flex: none; width: 72px; aspect-ratio: 1; border-radius: var(--radius-full); object-fit: cover; }
.seekers__consultancy h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.35; font-weight: 700; text-wrap: balance; }
.seekers__consultancy p { max-width: 52ch; }
.seekers__consultancy-services { color: var(--ink-muted); font-size: 15px; line-height: 1.7; }
.seekers__consultancy-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.checks { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: var(--space-3); align-items: center; font-weight: 500; }
.checks .icon { width: 26px; height: 26px; padding: 5px; border-radius: var(--radius-full); background: var(--royal-blue); color: var(--on-blue); stroke-width: 2.5; }
.ne-note { padding: var(--space-4) var(--space-6); border-radius: var(--radius-lg); background: var(--blue-tint); color: var(--royal-blue-deep); font-weight: 600; }
@media (max-width: 860px) {
  .seekers { grid-template-columns: 1fr; gap: var(--space-8); }
  .seekers__media { position: static; grid-column: 1; grid-row: auto; aspect-ratio: 1.55; }
}
@media (max-width: 600px) {
  .seekers__media { grid-template-rows: 1.2fr .8fr; aspect-ratio: 1.25; }
  .seekers__image { border-radius: var(--radius-md); }
  .image-lightbox { width: calc(100vw - 24px); max-width: calc(100vw - 24px); padding: 8px; border-radius: var(--radius-lg); }
  .image-lightbox__toolbar { min-height: 44px; }
  .image-lightbox__caption { font-size: 13px; }
  .image-lightbox__position { font-size: 12px; }
  .image-lightbox__stage { max-height: calc(100dvh - 80px); padding: 6px; border-radius: var(--radius-md); }
  .image-lightbox__image { max-height: calc(100dvh - 112px); }
  .image-lightbox__nav { width: 38px; height: 38px; }
  .image-lightbox__nav--previous { left: 10px; }
  .image-lightbox__nav--next { right: 10px; }
  .image-lightbox__close { width: 38px; height: 38px; }
  .seekers__copy { gap: var(--space-4); }
  .seekers__consultancy { padding-top: var(--space-4); }
  .seekers__consultancy-brand img { width: 60px; }
  .seekers__consultancy-links { width: 100%; flex-direction: column; }
  .seekers__consultancy-links .btn { width: 100%; min-height: 44px; padding: 8px 12px; white-space: normal; line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) {
  .image-lightbox__image.is-sliding-next, .image-lightbox__image.is-sliding-previous { animation: none; }
}

/* ---------- greeting ---------- */
.greeting { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--space-12); align-items: start; }
.greeting__photo { position: sticky; top: 110px; grid-column: 2; grid-row: 1; margin: 0; }
.greeting__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius-xl); background: var(--blue-tint); }
.greeting__name { margin-top: var(--space-4); display: grid; }
.greeting__name small { font-size: 13px; color: var(--ink-muted); }
.greeting__name b { font-family: var(--font-heading); font-size: 21px; font-weight: 700; letter-spacing: .08em; }
.greeting__text { display: grid; grid-column: 1; grid-row: 1; gap: var(--space-6); justify-items: start; }
.greeting__text h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.45; font-weight: 500; }
.greeting__text h2 em { font-style: normal; color: var(--royal-blue); }
.greeting__text p { max-width: var(--text-max); }
@media (max-width: 860px) { .greeting { grid-template-columns: 1fr; } .greeting__photo, .greeting__text { grid-column: 1; grid-row: auto; } .greeting__photo { position: static; max-width: 420px; } }
@media (max-width: 600px) { .greeting { gap: var(--space-8); } .greeting__photo { max-width: none; } .greeting__photo img { aspect-ratio: 4 / 3; object-position: 50% 12%; } }

/* ---------- company ---------- */
#company { background: var(--cream); }
/* both cards share one height; the map grows to take up any extra space */
.company { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-8); align-items: stretch; }
.table { display: grid; grid-template-columns: minmax(110px, 180px) minmax(0, 1fr); margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.table dt, .table dd { margin: 0; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.table dt:last-of-type, .table dd:last-of-type { border-bottom: 0; }
.table dt { background: var(--blue-tint); color: var(--royal-blue); font-weight: 700; }
.table dd { min-width: 0; overflow-wrap: anywhere; }
.table dd small { display: block; color: var(--ink-muted); font-size: 13px; }
.access { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); }
.access h3 { font-size: 19px; font-weight: 700; }
.access iframe { flex: 1 1 auto; width: 100%; min-height: 280px; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-lg); background: var(--blue-tint); }
.access ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; font-size: 15px; }
.access li { display: flex; gap: var(--space-3); align-items: flex-start; }
.access li .icon { color: var(--royal-blue); margin-top: 4px; width: 20px; height: 20px; }
@media (min-width: 961px) { .access iframe { aspect-ratio: auto; } }
@media (max-width: 960px) { .company { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .table { grid-template-columns: 1fr; } .table dt { padding-block: var(--space-2); border-bottom: 0; } }

/* ---------- contact: white glass card over the dusk lake ---------- */
.cta { overflow: hidden; isolation: isolate; padding: clamp(110px, 12vw, 160px) var(--gutter) clamp(300px, 34vw, 480px); background: var(--surface); }
.cta__scene { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 78%; overflow: hidden; }
/* parallax: the photo scrolls slower than the card (data-parallax), so it gets 160px of spare height above and below */
.cta__scene img { position: absolute; left: 0; top: -160px; width: 100%; height: calc(100% + 320px); max-width: none; object-fit: cover; object-position: 50% 58%; will-change: transform; }
.cta__scene::after { content: ""; position: absolute; inset: 0 0 auto; height: 30%; background: linear-gradient(var(--surface), transparent); }
/* phones: a shorter scene so Fukuoka Tower and the skyline sit below the (taller) card */
@media (max-width: 600px) { .cta { padding-bottom: 260px; } .cta__scene { height: 470px; } .cta__scene img { object-position: 56% 50%; } }
.cta__card { z-index: 2; display: grid; gap: var(--space-4); justify-items: center; max-width: 720px; margin-inline: auto; padding: clamp(32px, 4.5vw, 52px) clamp(20px, 5vw, 56px); border-radius: var(--radius-xl); text-align: center; color: var(--ink); background: #ffffff9e; border: 1px solid #ffffffcc; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 60px -36px #01377d73; }
.cta__card h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.45; font-weight: 500; }
.cta__card > p { color: var(--ink-muted); max-width: 32em; font-size: 15px; }
.cta__lines { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-8); margin-block: var(--space-2); }
.cta__tel { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--royal-blue-deep); text-decoration: none; }
.cta__tel small { font-size: 12px; color: var(--ink-muted); }
.cta__tel span { font-family: var(--font-latin); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cta__tel .icon { color: var(--royal-blue); width: 22px; height: 22px; }
.cta__meta { font-size: 13px; color: var(--ink-muted); }

/* ---------- footer: one brand-colour band ---------- */
.site-footer { background: var(--royal-blue); color: var(--on-blue); padding: var(--space-8) var(--gutter) var(--space-6); }
.footer__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-6); max-width: var(--container-max); margin-inline: auto; }
.footer__brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--on-blue); text-decoration: none; justify-self: start; }
.footer__brand img { width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--surface); }
.footer__brand b { font-family: var(--font-heading); font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1) var(--space-6); }
.footer__nav a { color: var(--on-blue); text-decoration: none; font-size: 13px; line-height: 2; }
.footer__nav a:hover { text-decoration: underline; }
.footer__tel { justify-self: end; display: inline-flex; align-items: center; gap: var(--space-2); color: var(--on-blue); text-decoration: none; font-size: 16px; font-weight: 700; }
.footer__tel .icon { width: 18px; height: 18px; }
.site-footer a:focus-visible { box-shadow: var(--focus-ring-inverse); }
.footer__lang { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-6) auto 0; }
.footer__lang a { gap: 8px; padding: 6px 14px; border: 1px solid #ffffff3d; border-radius: var(--radius-full); color: var(--on-blue); font-size: 13px; line-height: 1.4; }
.footer__lang a small { color: var(--on-blue-muted); }
.footer__lang a:hover { background: #ffffff1a; }
.footer__lang a[aria-current] { background: var(--on-blue); color: var(--royal-blue); border-color: var(--on-blue); }
.footer__lang a[aria-current] small { color: var(--royal-blue); }
.footer__legal { max-width: var(--container-max); margin: var(--space-4) auto 0; padding-top: var(--space-4); border-top: 1px solid #ffffff2e; text-align: center; font-size: 12px; line-height: 1.9; color: var(--on-blue-muted); }
@media (max-width: 860px) { .footer__row { grid-template-columns: 1fr; justify-items: center; } .footer__brand, .footer__tel { justify-self: center; } }
.back-to-top { position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #ffffff75; border-radius: var(--radius-full); background: var(--royal-blue); color: var(--on-blue); box-shadow: 0 8px 24px #01377d40; cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--royal-blue-deep); }
.back-to-top:active { transform: scale(.96); }
.back-to-top:focus-visible { outline: 3px solid var(--royal-blue); outline-offset: 3px; }
.back-to-top .icon { width: 22px; height: 22px; transform: rotate(-90deg); }

/* ---------- privacy page ---------- */
.page-hero { padding: 150px var(--gutter) var(--space-12); text-align: center; }
.page-hero h1 { margin-top: var(--space-4); font-size: clamp(28px, 4vw, 40px); line-height: 1.4; font-weight: 500; }
.prose { max-width: var(--text-max); margin-inline: auto; padding-bottom: var(--space-24); display: grid; gap: var(--space-8); }
.prose section { display: grid; gap: var(--space-3); }
.prose h2 { font-size: 19px; line-height: 1.5; font-weight: 700; color: var(--royal-blue); }
.prose ul { margin: 0; padding-left: 1.2em; }
.prose__note { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--blue-tint); color: var(--royal-blue-deep); font-size: 14px; }
.prose .box { padding: var(--space-6); border-radius: var(--radius-xl); background: var(--cream); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; translate: 0 16px; transition: opacity .7s ease-out, translate .7s ease-out; transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .image-lightbox, .image-lightbox::backdrop, .image-lightbox__close { transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .about__route-mask { stroke-dashoffset: 0; }
}
