/* ==========================================================================
   VALMARE AI Technologies — site.css
   Brand system: navy / ocean / cyan / ice, Montserrat, the "card rule"
   (cyan vertical bar from the business cards) and the dot field.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --navy: #0A1D3D;
  --ocean: #123A6D;
  --cyan: #00B2FF;
  --ice: #E6F3FF;
  --ink: #1C2330;
  --link: #0E6CC4;

  --bg: #FFFFFF;
  --bg-alt: #F1F7FD;
  --surface: #FFFFFF;
  --text: var(--ink);
  --heading: var(--navy);
  --muted: #56627A;
  --rule: #D4E0ED;
  --accent-text: var(--link);
  --btn-bg: var(--link);
  --btn-bg-hover: #0A58A3;
  --btn-fg: #FFFFFF;
  --band-bg: var(--navy);
  --band-fg: #E6F3FF;
  --band-muted: #A9BDD6;
  --band-rule: rgba(230, 243, 255, .18);
  --header-bg: rgba(255, 255, 255, .86);
  --lift: 0 22px 44px -28px rgba(10, 29, 61, .45);

  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0A1D3D;
  --bg-alt: #0D2449;
  --surface: #102B56;
  --text: #E6F3FF;
  --heading: #FFFFFF;
  --muted: #A9BDD6;
  --rule: rgba(230, 243, 255, .17);
  --accent-text: var(--cyan);
  --btn-bg: var(--cyan);
  --btn-bg-hover: #5CCEFF;
  --btn-fg: var(--navy);
  --band-bg: #061430;
  --header-bg: rgba(10, 29, 61, .86);
  --lift: 0 22px 44px -28px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--heading); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.3vw + .7rem, 4.1rem); font-weight: 700; line-height: 1.06; letter-spacing: -.028em; }
h2 { font-size: clamp(1.65rem, 2.1vw + .9rem, 2.6rem); font-weight: 680; line-height: 1.14; letter-spacing: -.022em; }
h3 { font-size: 1.2rem; font-weight: 660; line-height: 1.3; letter-spacing: -.01em; }
p { text-wrap: pretty; }
a { color: var(--accent-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
em.hl { font-style: normal; color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--cyan); color: var(--navy); }
.i18n-wait body { visibility: hidden; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1.1rem; background: var(--navy); color: #fff; border-radius: 0 0 6px 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.only-dark { display: none; }
[data-theme="dark"] .only-dark { display: block; }
[data-theme="dark"] .only-light { display: none; }

/* The line under the wordmark, reused as the brand's label voice */
.tag {
  display: flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 560; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-text);
}
.tag svg { width: 22px; height: 12px; flex: none; stroke: var(--cyan); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.28rem); line-height: 1.62; color: var(--muted); max-width: 44rem; }
.measure { max-width: 46rem; }

/* The card rule: the cyan bar that sits beside the name on every VALMARE card */
.ruled { border-left: 2px solid var(--cyan); padding-left: clamp(1.25rem, 2.6vw, 2.75rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .7rem 1.7rem;
  font: inherit; font-size: .98rem; font-weight: 620; letter-spacing: .005em; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--rule); }
.btn--ghost:hover { background: transparent; border-color: var(--accent-text); color: var(--accent-text); }
.btn--sm { min-height: 2.6rem; padding: .45rem 1.25rem; font-size: .9rem; }
.btn--band { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.btn--band:hover { background: #5CCEFF; border-color: #5CCEFF; }
.more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 620; text-decoration: none; }
.more svg { width: .55rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.top.is-stuck { border-bottom-color: var(--rule); }
.top-in { display: flex; align-items: center; gap: 1.5rem; min-height: 5.6rem; }
.brand { display: block; flex: none; margin-right: auto; border-radius: 4px; }
.brand img { height: 58px; width: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); }
.nav a {
  position: relative; display: block; padding: .45rem 0;
  font-size: .95rem; font-weight: 560; color: var(--heading); text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px;
  background: var(--cyan); transform: scaleX(0); transition: transform .25s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-contact { display: none; }
.tools { display: flex; align-items: center; gap: .6rem; }
.lang { display: flex; padding: 3px; border: 1px solid var(--rule); border-radius: 999px; }
.lang button {
  min-width: 2.4rem; height: 2rem; padding: 0 .55rem;
  font: inherit; font-size: .78rem; font-weight: 640; letter-spacing: .1em;
  color: var(--muted); background: none; border: 0; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
[data-theme="dark"] .lang button[aria-pressed="true"] { background: var(--cyan); color: var(--navy); }
.icon-btn {
  display: grid; place-items: center; width: 2.55rem; height: 2.55rem; flex: none;
  color: var(--heading); background: none; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--accent-text); color: var(--accent-text); }
.icon-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }
[data-theme="dark"] .theme-btn .sun { display: none; }
.menu-btn { display: none; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }

@media (max-width: 1020px) {
  .top-in { gap: .6rem; min-height: 4.6rem; }
  .brand img { height: 46px; }
  .menu-btn { display: grid; }
  .top .btn--sm { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: var(--lift);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: .5rem 0 1.25rem; }
  .nav li + li { border-top: 1px solid var(--rule); }
  .nav a { padding: 1rem 0; font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent-text); }
  .nav .nav-contact { display: block; }
}
@media (max-width: 420px) {
  .brand img { height: 38px; }
  .lang button { min-width: 2.1rem; padding: 0 .4rem; }
}

/* ---------- hero (home): the business card, grown up ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center;
}
.hero-mark img { width: 100%; max-width: 480px; margin-inline: auto; }
.hero-copy { padding-block: .5rem; }
.hero-copy h1 { margin-top: 1.3rem; }
.hero-copy .lead { margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.proofs { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.2rem; font-size: .88rem; font-weight: 540; color: var(--heading); }
.proofs li { display: flex; align-items: center; gap: .55rem; }
.proofs svg { width: 20px; height: 11px; stroke: var(--cyan); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sea { position: relative; z-index: 1; width: 100%; height: clamp(180px, 23vw, 330px); margin-top: clamp(-8.5rem, -9vw, -2rem); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-mark img { max-width: 250px; margin-inline: 0; }
  .sea { margin-top: -.5rem; }
}

/* ---------- inner page header ---------- */
.phead { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 0; }
.phead-in { position: relative; z-index: 2; }
.phead h1 { max-width: 20ch; margin-top: 1.2rem; }
.phead .lead { margin-top: 1.5rem; }
.phead .sea { height: clamp(110px, 13vw, 180px); margin-top: clamp(1rem, 3vw, 2.5rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 560; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span[aria-hidden] { color: var(--cyan); }
.phead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }

/* ---------- sections ---------- */
.sec { padding-block: var(--section); }
.sec--alt { background: var(--bg-alt); }
.sec--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.sec-head h2 { max-width: 24ch; }
.sec-foot { margin-top: clamp(2rem, 4vw, 3rem); }
.prose { display: grid; gap: 1.25rem; max-width: 46rem; }
.prose p { color: var(--text); }
.prose .lead { color: var(--muted); }

.band { background: var(--band-bg); color: var(--band-fg); position: relative; overflow: hidden; }
.band h2, .band h3 { color: #fff; }
.band p { color: var(--band-muted); }
.band .tag { color: var(--cyan); }
.band-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center; }
.band-in .lead { color: var(--band-muted); margin-top: 1rem; }
.band-dots { position: absolute; z-index: 1; right: -60px; top: 50%; width: 400px; transform: translateY(-50%); opacity: .3; pointer-events: none; }
@media (max-width: 760px) { .band-in { grid-template-columns: 1fr; } .band-dots { width: 300px; right: -120px; opacity: .14; } }

/* ---------- SIT modules ---------- */
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.mod {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  min-height: 13.5rem; padding: 1.8rem 1.8rem 1.6rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 4px;
  color: inherit; text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mod::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
  background: var(--cyan); border-radius: 4px 0 0 4px;
  transform: scaleY(0); transform-origin: 50% 0; transition: transform .3s;
}
a.mod:hover, a.mod:focus-visible { transform: translateY(-4px); box-shadow: var(--lift); }
a.mod:hover::before, a.mod:focus-visible::before { transform: scaleY(1); }
.mod h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.mod p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.mod .more { margin-top: auto; font-size: .92rem; }
.mod--open { background: transparent; border-style: dashed; border-color: var(--accent-text); }
.mod--open h3 { font-size: 1.25rem; }

.status {
  display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start;
  font-size: .72rem; font-weight: 640; letter-spacing: .16em; text-transform: uppercase; color: var(--heading);
}
.status i { position: relative; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--cyan); flex: none; }
.status--live i { background: var(--cyan); }
.status--live i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cyan); animation: ping 2.4s ease-out infinite; }
.status--dev i { background: linear-gradient(90deg, var(--cyan) 50%, transparent 50%); }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- services: one ruled sheet, six entries ---------- */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.svc > li { padding: clamp(1.5rem, 2.6vw, 2.2rem); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; gap: .8rem; align-content: start; background: var(--bg); }
.svc h3 { font-size: 1.13rem; }
.svc p { font-size: .96rem; line-height: 1.6; color: var(--muted); }
.svc .more-text { color: var(--text); }
.glyph { width: 58px; height: 58px; color: var(--heading); margin-bottom: .5rem; }
.glyph .c { fill: var(--cyan); }
.glyph circle { fill: currentColor; }
@media (max-width: 900px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .svc { grid-template-columns: 1fr; } }

/* ---------- steps (real sequences only) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.steps > li { position: relative; padding: 2.4rem 1.6rem 0 0; border-top: 1px solid var(--rule); counter-increment: s; }
.steps > li::before {
  content: ""; position: absolute; left: 0; top: 0; transform: translateY(-50%);
  width: var(--d, 8px); height: var(--d, 8px); border-radius: 50%; background: var(--ocean);
}
[data-theme="dark"] .steps > li::before { background: var(--ice); }
.steps > li:nth-child(1) { --d: 7px; }
.steps > li:nth-child(2) { --d: 11px; }
.steps > li:nth-child(3) { --d: 15px; }
.steps > li:nth-child(4) { --d: 19px; }
.steps > li:last-child::before { background: var(--cyan); }
.steps .n { display: block; font-size: .78rem; font-weight: 640; letter-spacing: .2em; color: var(--accent-text); margin-bottom: .7rem; }
.steps .n::before { content: counter(s, decimal-leading-zero); }
.steps h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.steps p { font-size: .95rem; line-height: 1.6; color: var(--muted); }
.steps--flow h3 { margin-bottom: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps > li { padding: 0 0 1.9rem 2rem; border-top: 0; border-left: 1px solid var(--rule); }
  .steps > li:last-child { padding-bottom: 0; }
  .steps > li::before { top: .55rem; left: 0; transform: translate(-50%, -50%); }
}

/* ---------- data sheet (module pages) ---------- */
.sheet { border-top: 1px solid var(--rule); }
.sheet > div { display: grid; grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr); gap: 1rem 3rem; padding: clamp(1.5rem, 3vw, 2.3rem) 0; border-bottom: 1px solid var(--rule); }
.sheet dt { font-size: .78rem; font-weight: 640; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); padding-top: .45rem; }
.sheet dd { font-size: clamp(1.08rem, .5vw + 1rem, 1.3rem); line-height: 1.55; color: var(--heading); max-width: 44rem; }
.sheet dd.small { font-size: 1.0625rem; color: var(--text); }
.sheet dd a { font-weight: 620; }
@media (max-width: 700px) { .sheet > div { grid-template-columns: 1fr; gap: .5rem; } .sheet dt { padding-top: 0; } }

.note { background: var(--bg-alt); padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.5rem, 3vw, 2.75rem); border-left: 3px solid var(--cyan); }
.sec--alt .note { background: var(--bg); }
.note p:not(.tag) { font-size: clamp(1.15rem, .9vw + 1rem, 1.55rem); font-weight: 600; line-height: 1.4; letter-spacing: -.012em; color: var(--heading); max-width: 40rem; }
.note .tag { margin-bottom: .9rem; }

.claim { font-size: clamp(1.35rem, 1.6vw + 1rem, 2.15rem); font-weight: 640; line-height: 1.28; letter-spacing: -.02em; color: #fff; max-width: 36ch; }
.band .claim { color: #fff; }

/* ---------- lists ---------- */
.vlist { display: grid; gap: .9rem; }
.vlist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: .9rem; align-items: start; font-size: 1.08rem; color: var(--heading); font-weight: 540; }
.vlist svg { width: 22px; height: 12px; margin-top: .55rem; stroke: var(--cyan); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- news ---------- */
.news { border-top: 1px solid var(--rule); }
.news > li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .6rem 3rem; padding: 1.9rem 0; border-bottom: 1px solid var(--rule); }
.news time { font-size: .9rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .2rem; }
.news .kind { display: flex; align-items: center; gap: .7rem; font-size: .72rem; font-weight: 640; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .45rem; }
.news .demo { padding: .1rem .5rem; border: 1px dashed var(--muted); color: var(--muted); letter-spacing: .12em; border-radius: 999px; }
.news h3 { font-size: 1.28rem; margin-bottom: .45rem; }
.news p { color: var(--muted); max-width: 46rem; }
@media (max-width: 700px) { .news > li { grid-template-columns: 1fr; } }

/* ---------- beneficiary ---------- */
.benef { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; padding: clamp(1.75rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--cyan); border-radius: 4px; box-shadow: var(--lift); }
.benef h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 3rem); margin: .8rem 0 1rem; }
.benef p:not(.tag) { color: var(--muted); max-width: 40rem; font-size: 1.1rem; }
.benef-meta { display: grid; gap: .35rem; justify-items: start; }
@media (max-width: 760px) { .benef { grid-template-columns: 1fr; align-items: start; } }

/* ---------- people: laid out like the business cards ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.4rem; align-items: start; padding: 1.75rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person-body { border-left: 2px solid var(--cyan); padding-left: 1.4rem; min-width: 0; }
.person h3 { font-size: 1.3rem; }
.person .role { color: var(--ocean); font-weight: 540; }
[data-theme="dark"] .person .role { color: var(--band-muted); }
.person .focus { margin-top: .55rem; font-size: .95rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .person { grid-template-columns: 1fr; } .person img { width: 80px; height: 80px; } }

/* T / E / W — the contact lines from the cards */
.tew { display: grid; gap: .3rem; margin-top: .9rem; font-size: .98rem; }
.tew div { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); align-items: baseline; }
.tew dt { color: var(--accent-text); font-weight: 700; }
.foot .tew dt { color: var(--cyan); }
.tew dd { min-width: 0; overflow-wrap: anywhere; }
.tew a { color: inherit; text-decoration: none; }
.tew a:hover { color: var(--accent-text); text-decoration: underline; }
.tew--lg { font-size: clamp(1.1rem, .8vw + 1rem, 1.4rem); gap: .7rem; font-weight: 540; color: var(--heading); }
.tew--lg div { grid-template-columns: 2.5rem minmax(0, 1fr); }
.legal-line { font-size: .7rem; line-height: 1.75; letter-spacing: .09em; color: var(--muted); }
.legal-line b { font-weight: 500; letter-spacing: .16em; text-transform: uppercase; display: block; }

/* ---------- values ---------- */
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.vals li { padding-top: 1.4rem; border-top: 2px solid var(--cyan); }
.vals h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.vals p { color: var(--muted); }
@media (max-width: 760px) { .vals { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.contact-card { display: grid; gap: 1.8rem; }
.contact-card img { width: 190px; }
.form { display: grid; gap: 1.2rem; padding: clamp(1.5rem, 3.4vw, 2.6rem); background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--lift); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .86rem; font-weight: 620; color: var(--heading); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--rule); border-radius: 4px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 30%, transparent); }
.hp { position: absolute; left: -9999px; }
.form small { font-size: .84rem; color: var(--muted); line-height: 1.55; }
.form-ok { font-weight: 600; color: var(--heading); padding: .9rem 1.1rem; border-left: 3px solid var(--cyan); background: var(--bg-alt); }
.form-ok[hidden] { display: none; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.doc { display: grid; gap: clamp(2.5rem, 5vw, 4rem); max-width: 48rem; }
.doc section { display: grid; gap: 1rem; scroll-margin-top: 6rem; }
.doc h2 { font-size: clamp(1.4rem, 1.4vw + 1rem, 1.9rem); padding-top: 1.4rem; border-top: 2px solid var(--cyan); }
.doc h3 { font-size: 1.05rem; margin-top: .6rem; }
.doc ul { display: grid; gap: .4rem; padding-left: 1.2rem; list-style: disc; }
.doc li::marker { color: var(--cyan); }

/* ---------- closing call ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center; }
.cta h2 { max-width: 22ch; }
.cta p { margin-top: .9rem; color: var(--muted); font-size: 1.12rem; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--band-bg); color: var(--band-muted); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: .95rem; }
.foot a { color: var(--band-fg); text-decoration: none; }
.foot a:hover { color: var(--cyan); text-decoration: underline; }
.foot :focus-visible { outline-color: var(--cyan); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.foot-brand img { width: 215px; }
.foot-brand p { margin-top: 1.3rem; max-width: 22rem; color: var(--band-fg); font-weight: 540; }
.foot h2 { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1.1rem; }
.foot ul { display: grid; gap: .6rem; }
.foot .tew { margin-top: 0; }
.foot-base { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--band-rule); }
.foot .legal-line { color: var(--band-muted); }
.foot-base p { font-size: .84rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; align-content: center; gap: 1.4rem; padding-block: 5rem; }
.lost img { width: 150px; }

/* ---------- motion ---------- */
.js [data-rise] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rise] { opacity: 1; transform: none; }
}
@media print {
  .top, .sea, .foot, .band-dots { display: none; }
}
