/* ML Internasjonal Handel — corporate export and logistics site. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.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;
}

:root {
  --ink: #0b1620;
  --ink-soft: #163044;
  --paper: #f4f6f8;
  --card: #ffffff;
  --muted: #3d4a57;
  --rule: #d5dce3;
  --gold: #c9a24a;
  --gold-ink: #7a5720;
  --ok: #1b6b45;
  --err: #8d2f2f;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --max: 72rem;
  --header: 4.5rem;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.35rem, 5.6vw, 4.15rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--card);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}
.skip:focus { top: 0.8rem; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.lede {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42rem;
}
.section { padding-block: clamp(3.75rem, 7vw, 6.25rem); }
.section-head { margin-bottom: 2.25rem; max-width: 40rem; }
.section-head h2 { margin-bottom: 0.65rem; }
.section-head .lede { margin: 0; }
.section.alt { background: #e8edf1; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  color: #f4f6f8;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck,
.site-header.is-open {
  background: rgba(11, 22, 32, 0.94);
  border-bottom-color: rgba(244, 246, 248, 0.1);
  box-shadow: 0 8px 24px rgba(11, 22, 32, 0.25);
  backdrop-filter: blur(16px);
}
.site-header a:hover { color: var(--gold); }
.bar {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav langs";
  align-items: center;
  gap: 0.8rem 1.25rem;
}
.brand {
  grid-area: brand;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  background: #fff;
  border-radius: 8px;
  padding: 0.28rem;
  line-height: 0;
}
.site-nav { grid-area: nav; }
.langs { grid-area: langs; }
.nav-toggle { grid-area: toggle; }
.brand img, .brand-logo { height: 40px; width: 40px; display: block; }
.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav a {
  text-decoration: none;
  color: rgba(244, 246, 248, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 0.2rem;
}
.site-nav a:hover { color: #fff; }
.langs {
  display: flex;
  position: relative;
  justify-self: end;
}
.lang-flag {
  width: 20px;
  height: 15px;
  display: block;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(244, 246, 248, 0.28);
  overflow: hidden;
}
.site-header,
.bar {
  overflow: visible;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 5.6rem;
  min-height: 2.35rem;
  margin: 0;
  padding: 0 0.55rem;
  border: 1px solid rgba(244, 246, 248, 0.35);
  border-radius: 6px;
  background: transparent;
  color: #f4f6f8;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.langs.is-open .lang-toggle,
.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: auto;
  inset-inline-end: 0;
  z-index: 40;
  min-width: 16.5rem;
  max-width: min(20.5rem, calc(100vw - 1.2rem));
  max-height: min(24rem, calc(100dvh - 5.25rem), calc(100vh - 5.25rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 246, 248, 0.42) rgba(244, 246, 248, 0.08);
  padding: 0.35rem 0.2rem 0.35rem 0.35rem;
  background: #0f1c28;
  border: 1px solid rgba(244, 246, 248, 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(11, 22, 32, 0.45);
}
.lang-menu::-webkit-scrollbar { width: 8px; }
.lang-menu::-webkit-scrollbar-track { background: transparent; }
.lang-menu::-webkit-scrollbar-thumb {
  background: rgba(244, 246, 248, 0.35);
  border-radius: 8px;
  border: 2px solid #0f1c28;
}
@media (min-width: 900px) {
  .lang-menu {
    max-height: min(32rem, calc(100vh - 6rem), calc(100dvh - 6rem));
  }
}
.langs.is-open .lang-menu,
.lang-menu:not([hidden]) {
  display: block;
}
.langs.is-open .lang-menu[hidden] {
  display: block;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.4rem;
  padding: 0.25rem 0.55rem;
  border: 0;
  border-radius: 7px;
  color: rgba(244, 246, 248, 0.92);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
.lang-menu a:hover,
.lang-menu a:focus-visible {
  background: rgba(244, 246, 248, 0.08);
  color: #fff;
  outline: none;
}
.lang-menu a.is-current,
.lang-menu a[aria-current="true"] {
  color: var(--gold);
}
.lang-code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 3.15rem;
  flex-shrink: 0;
}
.lang-name { font-weight: 500; }
body > nav { overflow: visible; }
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(244, 246, 248, 0.4);
  border-radius: 8px;
  background: transparent;
  color: #f4f6f8;
  padding: 0;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-header.is-open .nav-toggle-bars { background: transparent; }
.site-header.is-open .nav-toggle-bars::before { top: 0; transform: rotate(40deg); }
.site-header.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-40deg); }

/* Legal and utility pages */
body > nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 5%;
  background: var(--ink);
  color: #f4f6f8;
  border-bottom: 1px solid rgba(244, 246, 248, 0.12);
}
body > nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 76vh;
  min-height: 76svh;
  display: flex;
  align-items: flex-end;
  color: #f4f6f8;
  background: var(--ink);
  overflow: hidden;
  padding: calc(var(--header) + 3rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  z-index: 0;
}
.hero::after,
.photo-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  background:
    linear-gradient(90deg, rgba(11, 22, 32, 0.86) 0%, rgba(11, 22, 32, 0.62) 42%, rgba(11, 22, 32, 0.28) 100%),
    linear-gradient(180deg, rgba(11, 22, 32, 0.25) 0%, rgba(11, 22, 32, 0.15) 40%, rgba(11, 22, 32, 0.55) 100%);
}
[dir="rtl"] .hero::after {
  background:
    linear-gradient(270deg, rgba(11, 22, 32, 0.86) 0%, rgba(11, 22, 32, 0.62) 42%, rgba(11, 22, 32, 0.28) 100%),
    linear-gradient(180deg, rgba(11, 22, 32, 0.25) 0%, rgba(11, 22, 32, 0.15) 40%, rgba(11, 22, 32, 0.55) 100%);
}
.photo-scene::after {
  background: none;
}
.hero .wrap,
.photo-scene .wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 38rem; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { margin: 0 0 0.85rem; color: #fff; max-width: 16ch; }
.hero .lede { margin: 0; color: #e4e8ec; max-width: 36ch; }
.hero a:hover { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid,
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid:hover,
.btn.primary:hover,
.hero .btn.solid:hover,
.photo-scene .btn.solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.hero .btn,
.photo-scene .btn { border-color: #f4f6f8; color: #f4f6f8; }
.hero .btn:hover,
.photo-scene .btn:hover { background: #fff; color: var(--ink); }
.hero .btn.solid,
.photo-scene .btn.solid { background: #fff; color: var(--ink); border-color: #fff; }
.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex-shrink: 0;
  margin-right: 0.4rem;
}

/* Cards */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
.card {
  background: var(--card);
  border: 1px solid #d8dee4;
  border-radius: var(--radius);
  padding: 0 0 1.45rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 22, 32, 0.04);
}
.card-photo {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e7edf1;
  margin: 0 0 1.05rem;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card .card-icon {
  width: 2.55rem;
  height: 2.55rem;
  margin: 0 0 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f3eee3;
  color: var(--gold-ink);
}
.card .card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card .kicker {
  display: inline-block;
  margin: 0 1.45rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.card h3 { margin: 0 1.45rem 0.55rem; }
.card p { margin: 0 1.45rem; color: var(--muted); }

.sectors-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.sectors-grid > li {
  background: var(--card);
  border: 1px solid #d8dee4;
  border-radius: var(--radius);
  padding: 0 0 1.35rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 22, 32, 0.04);
}
.sectors-grid h3 { margin: 0 1.45rem 0.45rem; }
.sectors-grid > li > p { color: var(--muted); margin: 0 1.45rem; }
.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tags li {
  background: #eef2f5;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.about-grid { display: grid; gap: 2rem; }
.about-grid .lede { color: var(--muted); }
.identity {
  margin: 1.6rem 0 0;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.55rem 1.25rem;
  max-width: 40rem;
}
.identity dt { color: var(--muted); font-size: 0.92rem; }
.identity dd { margin: 0; }
.identity a { color: var(--gold-ink); }

.figure-note { margin: 0; }
.figure-note img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.figure-note figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  padding-top: 0.65rem;
}

.photo-scene {
  position: relative;
  isolation: isolate;
  color: #f4f6f8;
  background: var(--ink);
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.photo-scene h2,
.photo-scene .identity dd,
.photo-scene .identity a { color: #fff; }
.photo-scene .eyebrow { color: var(--gold); }
.photo-scene .lede,
.photo-scene .identity dt { color: #d5dce3; }
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-card { max-width: none; }
.contact-card .actions { margin-top: 1.35rem; }
.formbox {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  box-shadow: 0 18px 40px rgba(11, 22, 32, 0.22);
}
.formbox label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
.formbox input,
.formbox textarea,
.formbox select {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid #c9d2da;
  background: #fff;
  color: var(--ink);
  font: inherit;
  border-radius: 8px;
}
.formbox textarea { min-height: 8.5rem; resize: vertical; }
.formbox .btn { width: 100%; }
.form-status { margin-top: 0.75rem; font-size: 0.95rem; min-height: 1.3em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-status a { color: var(--gold-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer {
  background: var(--ink);
  color: #c5ced6;
  padding: 3.2rem 0 1.5rem;
  font-size: 0.95rem;
}
footer a { color: #f4f6f8; text-decoration: none; }
footer a:hover { color: var(--gold); }
.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem 2.5rem;
}
.footer-brand,
.footer-grid a.footer-brand {
  display: inline-flex;
  width: max-content;
  background: #fff;
  border-radius: 8px;
  padding: 0.4rem;
  margin: 0 0 1rem;
  line-height: 0;
}
.footer-brand img { height: 56px; width: 56px; display: block; }
.footer-grid strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.footer-grid a,
.footer-grid span { display: block; margin: 0.35rem 0; }
.footer-org { white-space: nowrap; }
.footer-company {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 1.2rem;
}
.footer-company strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.footer-company span,
.footer-company a { display: block; margin: 0.35rem 0; }
@media (max-width: 560px) {
  .footer-org { white-space: nowrap; }
}
.footer-grid .btn { display: inline-flex; margin-top: 0.8rem; }
.footer-legal {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.2rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(244, 246, 248, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 1.4rem;
}
.footer-legal a { margin-right: 1rem; }

.social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0;
  max-width: 100%;
  overflow: visible;
}
footer .social-links a,
.footer-grid .social-links a,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(244, 246, 248, 0.22);
  border-radius: 50%;
  color: rgba(244, 246, 248, 0.88);
  background: transparent;
  text-decoration: none;
  line-height: 0;
  overflow: hidden;
  aspect-ratio: 1;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
footer .social-links a:hover,
footer .social-links a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.12);
  text-decoration: none;
}
.social-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
footer .social-links svg,
.social-links svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  fill: currentColor;
  stroke: none;
  margin: 0;
  display: block;
  flex: none;
  aspect-ratio: 1;
}
.footer-tagline {
  display: block;
  margin: 0 0 0.75rem;
  color: rgba(244, 246, 248, 0.82);
  max-width: 28rem;
}
.social-label {
  display: block;
  margin: 1.15rem 0 0.45rem;
  color: #fff;
  font-weight: 600;
}
.footer-grid .social-links { margin-top: 0; }
footer > .footer-tagline,
footer > .social-label {
  width: min(100% - 2.5rem, var(--max));
  margin-left: auto;
  margin-right: auto;
}
footer > .social-label { margin-top: 0.35rem; margin-bottom: 0.45rem; }
footer > .footer-tagline { margin-top: 0; margin-bottom: 0.8rem; }

footer > .social-links {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 1.2rem;
}

.page {
  padding: clamp(2.8rem, 6vw, 4.5rem) 7% clamp(4rem, 8vw, 6rem);
  max-width: 52rem;
}
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page h2 { font-size: 1.3rem; margin-top: 2rem; }
.page p, .page li { color: var(--muted); }
.page strong { color: var(--ink); }
.page a { color: var(--gold-ink); }
.back { display: inline-block; margin-bottom: 1rem; color: var(--gold-ink); text-decoration: none; }
.back:hover { color: var(--ink); }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 1.1rem;
  background: var(--card);
  color: var(--ink);
  border: 1px solid #d8dee4;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(11, 22, 32, 0.16);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.92rem; }
.cookie-banner a { color: var(--gold-ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 560px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    padding: 0.85rem 0.9rem;
  }
  .cookie-banner p { font-size: 0.85rem; margin-bottom: 0.65rem; }
  .cookie-actions .btn { min-height: 2.5rem; padding: 0.45rem 0.9rem; font-size: 0.88rem; }
}


@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.15fr; align-items: start; gap: 3.5rem; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
  .bar {
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "brand toggle langs"
      "nav nav nav";
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin: 0 0 0.85rem;
    padding-top: 0.35rem;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { font-size: 1.15rem; padding-block: 0.45rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .cards,
  .sectors-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  footer .social-links,
  .footer-grid .social-links,
  .social-links {
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: nowrap;
  }
  footer .social-links a,
  .footer-grid .social-links a,
  .social-links a {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 1.5rem, var(--max)); }
  .brand img, .brand-logo { height: 32px; width: 32px; }
  .actions { flex-direction: column; align-items: stretch; }
  .hero { padding-bottom: 2.8rem; min-height: 70vh; min-height: 70svh; }
  .footer-grid, .footer-legal { width: min(100% - 1.5rem, var(--max)); }
  .identity { grid-template-columns: 1fr; gap: 0.15rem; }
  .identity dt { margin-top: 0.55rem; }
  .formbox { padding: 1.35rem 1.15rem 1.25rem; }
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero .lede,
  .hero .actions { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .lede { animation-delay: 0.12s; }
  .hero .actions { animation-delay: 0.22s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero .lede, .hero .actions { animation: none; }
  .site-header { transition: none; }
}

/* Blog section */
.blog-page {
  padding-top: calc(var(--header) + clamp(2.8rem, 6vw, 4.5rem));
  max-width: 52rem;
}
.blog-index {
  max-width: var(--max);
  margin-inline: auto;
}
.blog-cover,
.blog-page picture:has(.blog-cover) {
  display: block;
  width: 100%;
  margin: 0 0 1.5rem;
}
.blog-cover {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--ink);
}
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}
.blog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  color: inherit;
  box-shadow: 0 8px 24px rgba(11, 22, 32, 0.08);
}
.blog-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  background: var(--ink);
}
.blog-card .card-body {
  padding: 1rem 1.1rem 1.2rem;
}
.blog-card h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}
.blog-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.blog-article ul {
  margin: 0 0 1em;
  padding-left: 1.2rem;
}
.blog-faq {
  margin-top: 2.5rem;
}
.blog-faq dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 1rem;
}
.blog-faq dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}
.blog-links {
  margin-top: 2rem;
}
.blog-links ul {
  padding-left: 1.2rem;
}

.interior-page {
  padding-top: calc(var(--header) + clamp(2.8rem, 6vw, 4.5rem));
  max-width: 46rem;
  margin-inline: auto;
}
.interior-page .lede { margin-bottom: 1.75rem; }
.interior-page h2 { margin-top: 2.4rem; }
.interior-page.wide { max-width: var(--max); width: min(100% - 2.5rem, var(--max)); }

.page-photo {
  margin: 0 0 1.85rem;
}
.page-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e7edf1;
}

.value-list,
.process-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}
.value-list {
  display: grid;
  gap: 0.9rem;
}
.value-list li {
  background: var(--card);
  border: 1px solid #d8dee4;
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  color: var(--muted);
  margin: 0;
}
.process-list {
  counter-reset: step;
}
.process-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  margin: 0;
}
.process-list li::before {
  content: counter(step);
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #f3eee3;
  color: var(--gold-ink);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
