/* SUPINATOR.AZ — site styles. Identity: gait-analysis plate, pressure dots, calm green/blue balance. */

:root {
  --ink: #10221b;
  --ink-2: #33473f;
  --muted: #586b63;
  --line: #dce5df;
  --line-2: #c4d2ca;
  --bg: #fbfbf7;
  --paper: #fff;
  --mint: #edf6ef;
  --mint-2: #d9eedf;
  --sky: #eaf3fa;
  --sky-2: #d3e6f4;
  --green: #00843d;
  --green-d: #006b31;
  --green-2: #00a651;
  --deep: #0b3a2c;
  --blue: #0058a3;
  --blue-d: #00457f;
  --cyan: #00a3e0;
  --sun: #f3c31b;
  --r-s: 12px;
  --r: 18px;
  --r-l: 28px;
  --sh-1: 0 1px 2px rgba(11, 58, 44, .06), 0 4px 14px rgba(11, 58, 44, .06);
  --sh-2: 0 2px 6px rgba(11, 58, 44, .08), 0 18px 40px rgba(11, 58, 44, .13);
  --f-body: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Lexend", "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --g: clamp(16px, 4vw, 40px);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --a11y-left: 16px;
  --a11y-bottom: 16px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--f-body); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
h3 { font-size: 1.06rem; font-weight: 500; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }
.narrow { max-width: calc(860px + 2 * var(--g)); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 1100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.i { width: 24px; height: 24px; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1.1 var(--f-body); cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn .i { width: 20px; height: 20px; }
.btn-wa { width: 100%; background: var(--green); color: #fff; min-height: 54px; font-size: 16.5px; }
.btn-wa:hover { background: var(--green-d); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 0; background: none; color: var(--ink); cursor: pointer; flex: none; transition: background .2s; }
.icon-btn:hover { background: var(--mint); }
.linklike { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--blue); text-decoration: none; }
.link-arrow span { text-decoration: underline; text-decoration-color: rgba(0, 88, 163, .35); text-underline-offset: 4px; }
.link-arrow:hover span { text-decoration-color: currentColor; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-row, .ph-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 18px 0 0; }

/* primary call to action: one element, moved between hero, header and the phone dock */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--green); color: #fff; font: 600 16px/1 var(--f-body); text-decoration: none; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0, 132, 61, .55); transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.cta:hover { background: var(--green-d); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(0, 107, 49, .6); }
.cta-i { width: 22px; height: 22px; }
.cta.cta-enter { animation: ctaIn .45s var(--ease); }
@keyframes ctaIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 800; background: rgba(251, 251, 247, .96); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.hdr.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -12px rgba(11, 58, 44, .18); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: var(--hdr); }
.logo { display: block; flex: none; width: 184px; }
.logo img { width: 100%; }
.nav { display: flex; align-items: center; min-width: 0; }
.nav-l { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-a, .nav-btn { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 500 15.5px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.nav-a:hover, .nav-btn:hover { background: var(--mint); color: var(--ink); }
.nav-a[aria-current="page"], .has-sub[data-active] > .nav-btn { color: var(--green-d); background: var(--mint); }
.nav-chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-btn[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub { margin: 0; padding: 8px; list-style: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 15.5px; line-height: 1.3; transition: background .2s; }
.sub a:hover { background: var(--mint); color: var(--ink); }
.sub a[aria-current="page"] { background: var(--mint); color: var(--green-d); font-weight: 500; }
.sub-i { width: 22px; height: 22px; color: var(--green); }
.nav-search { margin-left: 4px; }
.nav-head, .nav-contact, .hdr-search, .hdr-menu { display: none; }
.hdr-cta { margin-left: auto; display: flex; align-items: center; }
.hdr-cta .cta { height: 46px; }

@media (min-width: 1200px) {
  .sub { position: absolute; top: calc(100% + 10px); left: 0; z-index: 2; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .sub-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 540px; }
}
@media (max-width: 1279.98px) and (min-width: 1200px) {
  .logo { width: 164px; }
  .nav-a, .nav-btn { padding: 0 9px; font-size: 15px; }
}
@media (max-width: 1199.98px) {
  .hdr-search, .hdr-menu { display: inline-flex; }
  .hdr-menu { margin-right: -6px; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 900; width: min(400px, 100%); flex-direction: column; align-items: stretch; padding: 8px 16px 24px; background: #fff; box-shadow: -24px 0 60px rgba(11, 58, 44, .2); overflow-y: auto; overscroll-behavior: contain; transform: translateX(104%); visibility: hidden; transition: transform .32s var(--ease), visibility 0s .32s; }
  html.nav-open .nav { transform: none; visibility: visible; transition: transform .32s var(--ease); }
  html.nav-open .hdr { z-index: 950; }
  html.nav-open body::after { content: ""; position: fixed; inset: 0; z-index: 850; background: rgba(11, 40, 30, .42); }
  .nav-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 4px; }
  .nav-title { font-family: var(--f-head); font-weight: 500; color: var(--muted); font-size: 15px; }
  .nav-l { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-a, .nav-btn { width: 100%; height: 52px; justify-content: space-between; padding: 0 12px; border-radius: 12px; font-size: 17px; }
  .sub { display: none; padding: 2px 0 10px 8px; }
  .has-sub.is-open > .sub { display: block; }
  .sub a { min-height: 48px; }
  .nav-search { display: none; }
  .nav-contact { display: block; margin-top: auto; padding-top: 24px; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; --a11y-bottom: 20px; }
  body { font-size: 16.5px; padding-bottom: 88px; }
  .logo { width: 148px; }
  .hdr-in { gap: 6px; }
  .hdr-cta { width: 0; }
  .hdr-search { margin-left: auto; }
  .cta { position: fixed; left: calc(var(--a11y-left) + 56px); right: 16px; bottom: 16px; z-index: 700; height: 52px; font-size: 16.5px; box-shadow: 0 12px 30px -8px rgba(11, 58, 44, .45); }
  .cta:hover { transform: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(24px, 5vw, 64px) 0 clamp(32px, 5vw, 56px); background: radial-gradient(1100px 520px at 88% 8%, #e6f3ea 0%, rgba(230, 243, 234, 0) 62%), radial-gradient(700px 420px at 0% 100%, #edf5fb 0%, rgba(237, 245, 251, 0) 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 40px); align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1.08; max-width: 12.5ch; margin-bottom: .45em; }
.hero .lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 56ch; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 26px 0 20px; }
.cta-slot { display: flex; min-width: 1px; min-height: 56px; align-items: center; }
.hero .cta-slot .cta { height: 56px; padding: 0 30px; font-size: 17px; }
@media (max-width: 760px) { .cta-slot { min-height: 0; } .cta-slot:empty { display: none; } }
.hero-slogan, .slogan { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--f-head); font-weight: 500; font-size: 1.1rem; color: var(--green-d); }
.hero-slogan::before, .slogan::before { content: ""; flex: none; width: 34px; height: 10px; background: radial-gradient(circle at 4px 5px, var(--green-2) 3.2px, transparent 3.8px), radial-gradient(circle at 16px 5px, var(--cyan) 2.4px, transparent 3px), radial-gradient(circle at 29px 5px, var(--sun) 3.8px, transparent 4.4px); }
.slogan { margin-top: 28px; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
}

.stage { position: relative; width: 100%; max-width: 620px; margin: 0 auto; padding: 4% 4% 8% 6%; }
.plate { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 34px 60px -26px rgba(11, 58, 44, .55); }
.pl-grid { opacity: .075; }
.pl-line { fill: none; stroke: #8fe7ff; stroke-opacity: .32; stroke-width: 1.6; stroke-dasharray: 1.5 8; stroke-linecap: round; }
.plate .z, .plate .z circle { fill: url(#pl-heat); }
.plate .z { opacity: .55; }
.stage-prod { position: absolute; pointer-events: none; }
.stage-prod img { filter: drop-shadow(0 18px 20px rgba(11, 40, 30, .3)); transition: transform .8s var(--ease); }
.sp-1 { left: 0; bottom: 0; width: 64%; }
.sp-2 { right: 0; top: 0; width: 36%; }
.sp-2 img { transform: rotate(-16deg); }
.stage:hover .sp-1 img { transform: rotate(-2deg) translate(-4px, -6px); }
.stage:hover .sp-2 img { transform: rotate(-12deg) translate(4px, -4px); }

/* facts */
.facts { display: grid; margin: 0; }
.fact { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px 16px; background: #fff; }
.fact-i { grid-row: 1 / 3; width: 26px; height: 26px; margin-top: 2px; color: var(--green); }
.fact dt { font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.fact dd { margin: 2px 0 0; font-weight: 500; line-height: 1.45; color: var(--ink); }
.facts-strip { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1px; margin-top: clamp(32px, 5vw, 56px); background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts-sheet, .facts-inline { grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 640px) { .facts-inline { grid-template-columns: 1fr 1fr; } }
.prose .facts-inline { margin-bottom: 1.6em; }

/* ---------- home sections ---------- */
.h-sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { max-width: 780px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head h2 { margin-bottom: .4em; }
.sec-head p { color: var(--ink-2); font-size: 1.07rem; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .split-rev > :first-child { order: 2; }
}
.h-what { background: #fff; }
.h-designs { background: var(--mint); }
.h-cases, .h-obs, .h-faq { background: #fff; }
.h-choose { background: var(--sky); }
.h-order { background: var(--mint); }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.tk-i { width: 24px; height: 24px; margin-top: 1px; color: var(--green); }

/* pressure redistribution figure */
.pd { min-width: 0; margin: 0; display: grid; justify-items: center; gap: 16px; padding: 20px 20px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); }
.pd-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; max-width: 100%; padding: 4px; background: var(--mint); border-radius: 24px; }
.pd-tab { height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 15px/1 var(--f-body); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.pd-tab[aria-pressed="true"] { background: #fff; color: var(--green-d); box-shadow: var(--sh-1); }
.pd-stage { position: relative; width: min(100%, 236px); }
.pd-svg { width: 100%; height: auto; }
.pd-sole { fill: #eef3ef; }
.pd-base { fill: #b9cbc0; opacity: .5; }
.pd-line { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-opacity: .55; }
.pd .hot, .pd .warm { transition: opacity 1s var(--ease); }
.pd .hot { opacity: 0; }
.pd .warm { opacity: .85; }
.pd .pd-lat .warm { opacity: .6; }
.pd[data-state="without"] .hot { opacity: 1; }
.pd[data-state="without"] .pd-heel .warm, .pd[data-state="without"] .pd-fore .warm, .pd[data-state="without"] .pd-arch .warm { opacity: 0; }
.pd-tag { position: absolute; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 12.5px/1.4 var(--f-body); color: var(--ink-2); box-shadow: var(--sh-1); }
.pd-tag-heel { left: 0; bottom: 12%; }
.pd-tag-arch { left: 0; top: 50%; }
.pd-tag-fore { right: 0; top: 22%; }
.pd figcaption { max-width: min(46ch, 100%); font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }

/* designs rail */
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.rail-i { --pad: clamp(16px, 3vw, 28px); position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.rail-i img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: scale-down; filter: drop-shadow(0 12px 14px rgba(11, 40, 30, .16)); transition: transform .6s var(--ease), filter .6s var(--ease); }
.rail-i:hover img { transform: rotate(-2.5deg) translate(-4px, -6px); filter: drop-shadow(8px 18px 16px rgba(11, 40, 30, .2)); }
.t-sky, .g-sky { background: #e6f0fa; }
.t-mint, .g-mint { background: #e3f2e7; }
.t-lilac, .g-lilac { background: #efebf8; }
.t-sand, .g-sand { background: #f7efe3; }
.t-lime, .g-lime { background: #edf5df; }
.t-blush, .g-blush { background: #faeaf0; }
.h-designs .rail-i { background-color: #fff; }
.h-designs .t-sky { background: #e6f0fa; } .h-designs .t-mint { background: #fff; } .h-designs .t-lilac { background: #efebf8; }
.h-designs .t-sand { background: #f7efe3; } .h-designs .t-lime { background: #fff; } .h-designs .t-blush { background: #faeaf0; }
@media (max-width: 760px) {
  .rail { display: flex; gap: 12px; margin: 0 calc(-1 * var(--g)); padding: 0 var(--g) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .rail-i { flex: 0 0 74%; scroll-snap-align: center; }
}

/* who / cases / route */
.who, .cases, .route { margin: 0; padding: 0; list-style: none; }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.who-i { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.who-i:hover { border-color: #b7dcc4; box-shadow: var(--sh-1); }
.hi-i { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--mint); color: var(--green-d); }
.hi-b h3 { margin-bottom: .35em; }
.hi-b p { margin-bottom: .6em; color: var(--ink-2); font-size: 16px; }
.hi-b p:last-child { margin-bottom: 0; }
.cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .cases { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
.case .hi-i { background: var(--sky); color: var(--blue); }
.route { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.route::before { content: ""; position: absolute; left: 23px; right: 23px; top: 23px; border-top: 2px dotted #a9c4d9; }
.stop { position: relative; display: flex; flex-direction: column; gap: 14px; }
.stop .hi-i { position: relative; z-index: 1; background: #fff; color: var(--blue); box-shadow: 0 0 0 6px var(--sky); }
.h-order .stop .hi-i { color: var(--green-d); box-shadow: 0 0 0 6px var(--mint); }
.route-v { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 8px; }
.route-v::before { left: 23px; right: auto; top: 23px; bottom: 23px; border-top: 0; border-left: 2px dotted #9fcdb0; }
.route-v .stop { flex-direction: row; }
@media (max-width: 999.98px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .route::before { left: 23px; right: auto; top: 23px; bottom: 23px; border-top: 0; border-left: 2px dotted #a9c4d9; }
  .stop { flex-direction: row; }
}

/* can / cannot */
.canblock { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0 0 1.4em; }
@media (min-width: 860px) { .canblock { grid-template-columns: 1fr 1fr; } }
.prose .canblock { grid-template-columns: minmax(0, 1fr); }
.cb { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cb-yes { background: var(--mint); border-color: #cfe7d6; }
.cb h3 { margin: 0 0 14px; font-size: 1.06rem; }
.cb ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cb li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.cb-i { width: 24px; height: 24px; margin-top: 1px; }
.canblock > *, .split > *, .sheet > *, .cases > *, .who > *, .route > * { min-width: 0; }
.cb li > span, .ticks li > span, .hi-b, .card-t, .card-d, .art-t, .pc-t { min-width: 0; overflow-wrap: anywhere; }
.cb-yes .cb-i { color: var(--green); }
.cb-no .cb-i { color: var(--muted); }

/* specialist + figures */
.spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; padding: clamp(24px, 4vw, 48px); background: var(--sky); border: 1px solid var(--sky-2); border-radius: var(--r-l); }
.spec-i { width: 60px; height: 60px; padding: 13px; border-radius: 18px; background: #fff; color: var(--blue); }
.spec-b { max-width: 820px; }
.spec-b ul { padding-left: 1.2em; }
.spec-b li { margin-bottom: .4em; }
@media (max-width: 640px) { .spec { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.fig { margin: 0 0 1.4em; }
.fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fig-life img { width: 100%; border-radius: var(--r-l); }
.fig-order { max-width: 520px; justify-self: center; }
.fig-heels, .fig-measure { padding: 22px 22px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.fig-heels figcaption, .fig-measure figcaption { text-align: center; }
.heels { width: min(100%, 340px); margin: 0 auto; }
.hv-floor { stroke: var(--line-2); stroke-width: 2; }
.hv-leg { fill: #f4efe7; stroke: var(--ink-2); stroke-width: 1.6; }
.hv-ankle { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; }
.hv-axis { stroke: var(--green); stroke-width: 1.8; stroke-dasharray: 4 5; }
.measure { width: min(100%, 460px); margin: 0 auto; }
.ms-wall { fill: #d6e1da; }
.ms-paper { fill: #fff; stroke: var(--line-2); stroke-width: 1.4; }
.ms-foot { fill: #eaf5ee; stroke: var(--green); stroke-width: 1.8; }
.ms-mark { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 5 4; }
.ms-dim, .ms-arrow { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; }

/* articles */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.art-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.art a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.art a:hover { border-color: #9fd2b2; box-shadow: var(--sh-2); transform: translateY(-3px); color: var(--ink); }
.art-cat { font-size: 13px; font-weight: 500; color: var(--green-d); }
.art-t { font-family: var(--f-head); font-weight: 500; font-size: 1.14rem; line-height: 1.3; }
.art-d { flex: 1; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.art-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--blue); }
.art-go .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.art a:hover .art-go .i { transform: translateX(4px); }
.art.is-hidden { display: none; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(24px, 3vw, 36px) 0 20px; }
.fchip { min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 500 15px/1 var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.pg-articles .art-grid { padding-bottom: clamp(48px, 7vw, 88px); }

/* questions */
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 16px 4px; list-style: none; cursor: pointer; font-family: var(--f-head); font-weight: 500; font-size: 1.07rem; line-height: 1.35; }
.qa summary > span { min-width: 0; overflow-wrap: anywhere; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--green-d); }
.qa-i { width: 22px; height: 22px; color: var(--green); transition: transform .3s var(--ease); }
.qa[open] .qa-i { transform: rotate(180deg); }
.qa-a { padding: 0 4px 18px; color: var(--ink-2); }
.qa-a p:last-child { margin-bottom: 0; }
.qa-list { border-top: 1px solid var(--line); }
.qa:target summary { color: var(--green-d); }

/* ---------- inner pages ---------- */
.ph { position: relative; overflow: hidden; padding: clamp(18px, 3vw, 32px) 0 clamp(32px, 5vw, 56px); background: linear-gradient(180deg, #eef6f0 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.ph-in { position: relative; z-index: 1; }
.ph h1 { max-width: 30ch; font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); line-height: 1.12; }
.ph .lead { max-width: 70ch; margin-bottom: 0; font-size: clamp(1.04rem, 1rem + .25vw, 1.17rem); color: var(--ink-2); }
.ph-cat { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--green-d); }
.ph-by { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
.ph-motif { position: absolute; right: -30px; bottom: -14px; width: min(56vw, 520px); pointer-events: none; }
.mo-line { fill: none; stroke: var(--green-2); stroke-opacity: .32; stroke-width: 2; stroke-dasharray: 1 9; stroke-linecap: round; }
.mo-step circle { fill: var(--green-2); opacity: .16; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px 0 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

.pg-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 7vw, 88px); }
.prose { max-width: 780px; min-width: 0; }
@media (min-width: 1100px) {
  .pg-body.has-toc { grid-template-columns: minmax(0, 1fr) 264px; gap: 56px; }
  .pg-body.has-toc .toc { order: 2; position: sticky; top: calc(var(--hdr) + 24px); align-self: start; max-height: calc(100vh - var(--hdr) - 48px); overflow: auto; }
  .toc summary { pointer-events: none; }
  .toc-chev { display: none; }
}
.toc-d { padding: 4px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; list-style: none; cursor: pointer; font-family: var(--f-head); font-weight: 500; font-size: 15px; }
.toc summary::-webkit-details-marker { display: none; }
.toc-chev { width: 20px; height: 20px; color: var(--muted); transition: transform .25s; }
.toc-d[open] .toc-chev { transform: rotate(180deg); }
.toc ol { display: grid; gap: 2px; margin: 0 0 10px; padding: 0; list-style: none; }
.toc a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.35; transition: background .2s, color .2s; }
.toc a:hover { background: var(--mint); color: var(--ink); }
.toc a[aria-current="true"] { background: var(--mint); color: var(--green-d); font-weight: 500; }

.prose .sec { margin-bottom: clamp(36px, 5vw, 52px); }
.prose h2 { font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem); margin-bottom: .55em; scroll-margin-top: calc(var(--hdr) + 16px); }
.prose h3 { margin: 1.3em 0 .5em; }
.prose ul:not([class]), .prose ol:not([class]) { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul:not([class]) > li, .prose ol:not([class]) > li, .prose .path-list > li { margin-bottom: .45em; }
.prose ul:not([class]) > li::marker { color: var(--green-2); }
.prose .path-list { margin: 0 0 1.2em; }
.prose .path-list { position: relative; padding-left: 0; list-style: none; }
.path-list::before { content: ""; position: absolute; left: 11px; top: .85em; bottom: .85em; border-left: 2px dotted var(--line-2); }
.path-list li { position: relative; margin-bottom: 14px; padding-left: 36px; }
.path-list li::before { content: ""; position: absolute; left: 5px; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.lbl-p .lbl, .lbl-only .lbl { display: block; margin-bottom: 2px; font-family: var(--f-head); font-weight: 500; color: var(--green-d); }
.lbl-only { margin-bottom: .45em; }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin: -4px 0 1.2em; }
.more-lbl { margin-right: -12px; color: var(--muted); }
.qa-list + .more, .route + .more, .split-a > .more { margin-top: 18px; }
.src-line { font-size: 14px; color: var(--muted); }
sup.ref { margin-left: 1px; font-size: .68em; line-height: 0; white-space: nowrap; }
sup.ref a { padding: 0 1px; color: var(--blue); font-weight: 600; text-decoration: none; }
sup.ref a:hover { text-decoration: underline; }
.ref-sep { color: var(--muted); }
.prose .sec.step { padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.print-row { margin: 4px 0 1.2em; }

/* tables */
.tbl-wrap { margin: 0 0 1.4em; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--mint); font-family: var(--f-head); font-weight: 500; font-size: 14.5px; }
tbody th { font-weight: 500; }
tbody tr:last-child > * { border-bottom: 0; }
.fill-table td { min-width: 90px; }
@media (max-width: 640px) {
  .tbl-wrap table, .tbl-wrap tbody, .tbl-wrap tr, .tbl-wrap th, .tbl-wrap td { display: block; }
  .tbl-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl-wrap tbody tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .tbl-wrap tbody tr:last-child { border-bottom: 0; }
  .tbl-wrap tbody th { padding: 0 0 6px; border: 0; font-family: var(--f-head); }
  .tbl-wrap tbody td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 12px; padding: 5px 0; border: 0; }
  .tbl-wrap tbody td::before { content: attr(data-label); font-size: 13px; line-height: 1.5; color: var(--muted); }
  .fill-table td { min-height: 30px; }
}

/* product sheet, gallery, hub cards */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: clamp(24px, 4vw, 40px); }
@media (min-width: 960px) { .sheet { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; } }
.sheet-adult .pd { padding: 26px; }
.gallery { display: grid; gap: 10px; }
.g-main { --pad: clamp(20px, 4vw, 44px); position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 0; border-radius: var(--r-l); transition: background .4s; }
.g-main img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: scale-down; filter: drop-shadow(0 16px 18px rgba(11, 40, 30, .2)); transition: opacity .25s; }
.g-main img.is-swapping { opacity: 0; }
.g-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.g-th { --pad: 8px; position: relative; display: block; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; border-radius: 14px; transition: border-color .2s; }
.g-th:hover { border-color: var(--line-2); }
.g-th[aria-current="true"] { border-color: var(--green); }
.g-th img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.prod-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; list-style: none; }
.pc a { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.pc a:hover { border-color: #9fd2b2; box-shadow: var(--sh-2); transform: translateY(-3px); color: var(--ink); }
.pc-media { position: relative; display: grid; place-items: center; height: 190px; }
.pc-media img { position: absolute; top: 16px; left: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: scale-down; }
.pc-ic { width: 76px; height: 76px; color: var(--green-d); }
.pc-sky .pc-ic { color: var(--blue); }
.pc-blush { background: #faeaf0; } .pc-sky { background: var(--sky); } .pc-mint { background: var(--mint); }
.pc-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.pc-t { font-family: var(--f-head); font-weight: 500; font-size: 1.18rem; }
.pc-d { flex: 1; font-size: 15px; color: var(--ink-2); }
.pc-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--blue); }
.pc-go .i { width: 18px; height: 18px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.prose .cards li { margin: 0; }
.card-a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "i t go" "i d go"; column-gap: 14px; row-gap: 4px; height: 100%; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .25s, box-shadow .25s; }
.card-a:hover { border-color: #9fd2b2; box-shadow: var(--sh-1); color: var(--ink); }
.card-i { grid-area: i; width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--mint); color: var(--green-d); }
.card-t { grid-area: t; font-family: var(--f-head); font-weight: 500; }
.card-d { grid-area: d; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card-go { grid-area: go; align-self: center; color: var(--blue); }

/* size chart */
.sizes { margin-bottom: 1.4em; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.prose .size-grid li { margin: 0; }
.size { width: 100%; height: 56px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; color: var(--ink); font: 500 18px/1 var(--f-head); cursor: pointer; transition: border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.size:hover { border-color: var(--green); color: var(--green-d); transform: translateY(-2px); box-shadow: var(--sh-1); }
.size-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* contact icons */
.contact-icons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ci { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.ci:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.ci-page { margin-top: 22px; gap: 14px; }
.ci-page .ci, .ci-nav .ci { color: var(--green-d); background: #fff; border-color: var(--line); }
.ci-page .ci { width: 64px; height: 64px; box-shadow: var(--sh-1); }
.ci-page .ci .i { width: 28px; height: 28px; }
.ci-page .ci:hover, .ci-nav .ci:hover { color: #fff; background: var(--green); border-color: var(--green); }

/* faq page, sitemap, search, 404 */
.faq-jump ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.faq-jump a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.faq-jump a:hover { border-color: var(--ink); }
.prose-faq { max-width: 860px; }
.faq-g { margin-bottom: clamp(32px, 5vw, 48px); }
.faq-g h2 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); scroll-margin-top: calc(var(--hdr) + 16px); }
.faq-g .qa:first-of-type { border-top: 1px solid var(--line); }
.smap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.smap h2 { font-size: 1.1rem; }
.smap ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.search-page { display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 22px; padding: 6px 6px 6px 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; }
.search-page input { flex: 1; min-width: 0; min-height: 46px; border: 0; background: none; font: 400 17px/1.4 var(--f-body); color: var(--ink); }
.search-page input:focus { outline: none; }
.search-page:focus-within { outline: 3px solid rgba(0, 88, 163, .3); border-color: var(--blue); }
.sf-i { color: var(--muted); }
.search-out { max-width: 820px; }
.sr-list { margin: 0; padding: 0; list-style: none; }
.sr-list a { display: block; padding: 14px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.sr-list a:hover, .sr-list a:focus-visible, .sr-list a.is-active { background: var(--mint); }
.sr-p { display: block; font-size: 12.5px; font-weight: 500; color: var(--green-d); }
.sr-t { display: block; font-family: var(--f-head); font-weight: 500; }
.sr-x { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.sr-count, .sr-empty { color: var(--muted); font-size: 15px; }
mark { padding: 0 1px; border-radius: 3px; background: #fff0b0; color: inherit; }
.ph-404 { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); }
.nf-code { margin: 0 0 4px; font: 600 clamp(4rem, 10vw, 7rem)/1 var(--f-head); color: var(--green-2); opacity: .22; }
.nf-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 18px 0 0; padding: 0; list-style: none; }

/* sources */
.sources { padding: clamp(36px, 5vw, 56px) 0; background: #fff; border-top: 1px solid var(--line); }
.sources h2 { font-size: 1.2rem; }
.src-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding-left: 1.7em; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.src-list li { padding-left: 4px; scroll-margin-top: calc(var(--hdr) + 16px); }
.src-list a { overflow-wrap: anywhere; }
.src-list li:target { background: #fff6d4; border-radius: 6px; }

/* ---------- dialogs ---------- */
.dlg { width: min(580px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--r-l); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(11, 40, 30, .35); }
.dlg::backdrop { background: rgba(11, 40, 30, .45); }
.dlg-in { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: clamp(20px, 4vw, 32px); overflow: auto; overscroll-behavior: contain; }
.dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dlg-head h2 { margin: 6px 0 0; font-size: 1.3rem; }
.dlg-head .icon-btn { margin: -4px -8px 0 0; }
.dlg-sub { margin: 8px 0 20px; color: var(--ink-2); }
.dlg-alt { margin: 16px 0 0; text-align: center; font-size: 15px; }
.dlg-alt a { display: inline-flex; align-items: center; gap: 6px; }
.dlg-alt .i { width: 18px; height: 18px; }
.dlg-search { width: min(720px, calc(100% - 24px)); margin: 72px auto auto; }
.dlg-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 20px; }
@media (max-width: 600px) {
  .dlg:not(.dlg-search) { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .dlg-search { width: 100%; max-width: 100%; margin: 0 0 auto; border-radius: 0 0 24px 24px; }
  .dlg-in { max-height: 92vh; max-height: 92dvh; }
  .dlg-actions .btn { flex: 1 1 auto; }
}

/* order form */
.order-form { display: grid; gap: 18px; }
.f-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.f-set legend { margin-bottom: 8px; padding: 0; font-weight: 500; }
.opt { font-size: .92em; font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.f-set[aria-invalid="true"] .chip span { border-color: #b42318; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 520px) { .f-grid { grid-template-columns: 1fr 1fr; } }
.f-row { display: grid; gap: 6px; align-content: start; }
.f-row label { font-weight: 500; }
.f-help { justify-self: start; font-size: 14px; }
input[type="text"], input[type="search"], select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--f-body); }
textarea { min-height: 72px; resize: vertical; }
input[type="text"]:focus, select:focus, textarea:focus { outline: 3px solid rgba(0, 88, 163, .3); border-color: var(--blue); }
[aria-invalid="true"] { border-color: #b42318 !important; }
.sel { position: relative; }
.sel select { padding-right: 42px; appearance: none; -webkit-appearance: none; }
.sel-i { position: absolute; top: 50%; right: 12px; width: 20px; height: 20px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.f-err { margin: 0; padding: 10px 14px; border: 1px solid #fecdca; border-radius: 12px; background: #fef3f2; color: #b42318; font-size: 15px; }
.f-note { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* search dialog */
.search-form { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.search-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 6px; border: 0; font-size: 18px; }
.search-form input:focus { outline: none; }
.search-res { max-height: min(56vh, 520px); margin-top: 6px; overflow: auto; }
.search-res:empty { display: none; }
.search-quick p { margin: 16px 0 8px; font-size: 13.5px; color: var(--muted); }
.search-quick ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.search-quick a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; }
.search-quick a:hover { border-color: var(--ink); }
.dlg-search.has-results .search-quick { display: none; }

/* consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 960; display: flex; justify-content: center; pointer-events: none; }
.consent-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; width: 100%; max-width: 1000px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-2); pointer-events: auto; }
.consent-t { display: flex; flex: 1 1 420px; gap: 12px; margin: 0; font-size: 14.5px; line-height: 1.5; }
.consent-i { width: 26px; height: 26px; margin-top: 2px; color: var(--green); }
.consent-act { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-act .btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
@media (max-width: 760px) {
  .consent { left: 10px; right: 10px; bottom: 82px; }
  .consent-in { padding: 14px; }
  .consent-act .btn { flex: 1 1 auto; }
}
.cs-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cs-row h3 { margin: 0 0 4px; font-size: 1.02rem; }
.cs-row p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.cs-on { flex: none; font-size: 13px; font-weight: 500; color: var(--green-d); }
.switch { position: relative; flex: none; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sw { position: absolute; inset: 0; border-radius: 999px; background: #b9c6bf; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch input:checked + .sw { background: var(--green); }
.switch input:checked + .sw::after { transform: translateX(22px); }
.switch input:focus-visible + .sw { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- footer ---------- */
.ftr { padding: clamp(48px, 6vw, 72px) 0 0; background: var(--deep); color: #d5e5dc; }
.ftr a { color: #fff; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 640px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .ftr-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; } .ftr-brand { grid-column: auto; } }
.ftr-logo { display: inline-block; margin-bottom: 16px; padding: 12px 16px; background: #fff; border-radius: 16px; }
.ftr-logo img { width: 190px; }
.ftr-brand p { max-width: 44ch; margin: 0; font-size: 15px; line-height: 1.6; }
.ftr h2 { margin-bottom: 14px; font-size: 15px; font-weight: 500; color: #fff; letter-spacing: 0; }
.ftr ul { margin: 0; padding: 0; list-style: none; }
.ftr-col ul:not(.contact-icons) { display: grid; gap: 4px; }
.ftr-col a { display: inline-flex; align-items: center; min-height: 32px; color: #d5e5dc; text-decoration: none; font-size: 15px; }
.ftr-col a:hover { color: #fff; text-decoration: underline; }
.ftr-col .ci { color: #fff; }
.ftr-notes { display: grid; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: 14px; color: #bcd0c5; }
.ftr-notes p { margin: 0; }
.ftr-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 84px; font-size: 14px; color: #bcd0c5; }
.ftr-bottom p { margin: 0; }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ftr-legal a, .ftr-legal button { display: inline-flex; align-items: center; min-height: 32px; color: #d5e5dc; font-size: 14px; }
.ftr-legal a:hover, .ftr-legal button:hover { color: #fff; }
.otx a { font-weight: 600; }
html[data-a11y-contrast] .logo { padding: 4px 8px; background: #fff; border-radius: 12px; }

/* ---------- motion (only when JS confirmed motion is welcome) ---------- */
.m-on [data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.m-on [data-reveal-group] > [data-reveal]:nth-child(odd) { transform: translate3d(-6px, 16px, 0); }
.m-on [data-reveal-group] > [data-reveal]:nth-child(even) { transform: translate3d(6px, 16px, 0); }
.m-on [data-reveal].is-in, .m-on [data-reveal-group] > [data-reveal].is-in { opacity: 1; transform: none; }
.m-on [data-reveal-group] > [data-reveal]:nth-child(2) { transition-delay: .09s; }
.m-on [data-reveal-group] > [data-reveal]:nth-child(3) { transition-delay: .18s; }
.m-on [data-reveal-group] > [data-reveal]:nth-child(4) { transition-delay: .27s; }
.m-on [data-reveal-group] > [data-reveal]:nth-child(5) { transition-delay: .36s; }
.m-on [data-reveal-group] > [data-reveal]:nth-child(6) { transition-delay: .45s; }
.m-on [data-reveal].no-anim { transition: none; }
.m-on .route::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.m-on .route.is-drawn::before { transform: none; }
@media (max-width: 999.98px) { .m-on .route::before { transform: scaleY(0); transform-origin: top; } .m-on .route.is-drawn::before { transform: none; } }
.m-on .route-v::before { transform: scaleY(0); transform-origin: top; }
.m-on .route-v.is-drawn::before { transform: none; }

/* walking cadence on the plate: four steps, heel -> midfoot -> forefoot -> toes */
.m-on .plate .z { opacity: 0; animation: press 4.8s var(--ease) infinite; }
@keyframes press { 0% { opacity: 0; } 5% { opacity: 1; } 20% { opacity: .9; } 40%, 100% { opacity: 0; } }
.m-on .plate .d0 { animation-delay: 0s; } .m-on .plate .d1 { animation-delay: .12s; } .m-on .plate .d2 { animation-delay: .24s; } .m-on .plate .d3 { animation-delay: .34s; }
.m-on .plate .d4 { animation-delay: .6s; } .m-on .plate .d5 { animation-delay: .72s; } .m-on .plate .d6 { animation-delay: .84s; } .m-on .plate .d7 { animation-delay: .94s; }
.m-on .plate .d8 { animation-delay: 1.2s; } .m-on .plate .d9 { animation-delay: 1.32s; } .m-on .plate .d10 { animation-delay: 1.44s; } .m-on .plate .d11 { animation-delay: 1.54s; }
.m-on .plate .d12 { animation-delay: 1.8s; } .m-on .plate .d13 { animation-delay: 1.92s; } .m-on .plate .d14 { animation-delay: 2.04s; } .m-on .plate .d15 { animation-delay: 2.14s; }
.m-on .mo-step circle { animation: moStep 3.6s var(--ease) infinite; }
.mo-2 circle { animation-delay: .45s; } .mo-3 circle { animation-delay: .9s; }
.mo-step circle:nth-child(2) { animation-delay: inherit; }
@keyframes moStep { 0%, 100% { opacity: .14; } 14% { opacity: .5; } 34% { opacity: .14; } }
html[data-a11y-pause] .plate .z { animation: none !important; opacity: .55 !important; }
html[data-a11y-pause] [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .plate .z { opacity: .55 !important; }
}

/* ---------- print ---------- */
@media print {
  .hdr, .ftr, .cta, .cta-dock, .consent, .toc, .ph-motif, .sources, .spa11y-ui, .print-row, .dlg { display: none !important; }
  body { background: #fff; padding: 0; font-size: 12pt; }
  .ph { background: none; border: 0; }
  html.print-table body * { visibility: hidden; }
  html.print-table .print-target, html.print-table .print-target * { visibility: visible; }
  html.print-table .print-target { position: absolute; left: 0; top: 0; width: 100%; padding: 0; border: 0; }
  .fill-table td { height: 34px; }
  .tbl-wrap { overflow: visible; border-color: #999; }
  th, td { border: 1px solid #999 !important; }
}
