/* ============================================================
   GURLEX — redesign concept
   Design system: drenched cold blue, bottles as the only warmth.
   One family (Archivo variable) using its width axis as voice.
   ============================================================ */

/* ---------- fonts (self-hosted, no third-party CDN) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 62.5% 125%;
  font-display: swap;
  src: url('../assets/fonts/archivo-latin-ext.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: 'Archivo';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 62.5% 125%;
  font-display: swap;
  src: url('../assets/fonts/archivo-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;
}

/* ---------- tokens ---------- */
:root {
  /* ground: cold, high altitude. Nothing is #000 or #fff. */
  --ink:        oklch(14% 0.045 264);
  --night:      oklch(19.5% 0.068 264);
  --blue:       oklch(33% 0.155 263);
  --blue-lift:  oklch(41% 0.185 262);

  /* the only light surfaces on the page */
  --frost:      oklch(96% 0.007 250);
  --paper:      oklch(99% 0.003 250);

  --text:       oklch(96% 0.010 250);
  --text-dim:   oklch(79% 0.020 252);
  --text-faint: oklch(66% 0.026 254);
  --on-frost:   oklch(22% 0.035 262);
  --on-frost-dim: oklch(45% 0.030 258);

  /* warm counterpoint, taken from the red in the Gurlex wordmark */
  --accent:     oklch(67% 0.185 36);
  --accent-hi:  oklch(74% 0.165 40);
  /* the same warm hue, darkened for use on the frost surfaces:
     --accent on frost is only 2.9:1, which fails AA for small text */
  --accent-on-light: oklch(41% 0.165 34);

  --line:       oklch(100% 0 0 / 0.14);
  --line-soft:  oklch(100% 0 0 / 0.08);

  /* type */
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-xs: 0.775rem;
  --t-s:  0.885rem;
  --t-b:  clamp(1rem, 0.965rem + 0.16vw, 1.1rem);
  --t-1:  clamp(1.3rem, 1.18rem + 0.55vw, 1.65rem);
  --t-2:  clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  --t-3:  clamp(2.2rem, 1.6rem + 2.7vw, 3.8rem);
  --t-4:  clamp(2.9rem, 1.7rem + 5.4vw, 6.3rem);

  /* space */
  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4rem;
  --s9: 6rem;    --s10: 8rem;   --s11: 10rem;

  --shell: 1280px;
  --gut: clamp(1.15rem, 4vw, 3.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);        /* ease-out-quint */
  --ease-s: cubic-bezier(0.16, 1, 0.3, 1);       /* ease-out-expo  */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-b);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.68;               /* light-on-dark needs more air */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- a11y primitives ---------- */
.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; inset: var(--s4) auto auto var(--s4); z-index: 999;
  width: auto; height: auto; clip-path: none;
  background: var(--accent); color: oklch(18% 0.06 36);
  padding: var(--s3) var(--s5); border-radius: 2px; font-weight: 650;
}
:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- shared atoms ---------- */
.shell {
  width: 100%; max-width: var(--shell);
  margin-inline: auto; padding-inline: var(--gut);
}

.label {
  font-size: var(--t-xs);
  font-stretch: 88%;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.label .dot { color: var(--accent); padding-inline: 0.35em; }

/* the catalogue index: a named system, used once per section */
.idx {
  font-size: var(--t-xs);
  font-stretch: 80%;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--s3);
}
.idx::after {
  content: ''; display: block; width: 2.5rem; height: 1px;
  background: var(--accent); opacity: 0.5; margin-top: var(--s3);
}

/* Slovak sets ´ ˇ ˆ ° above caps: line-height under ~1 makes accents
   collide with the line above, so headings never go tighter than 1.06 */
h1, h2, h3 { font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
h2 {
  font-size: var(--t-2); font-stretch: 112%;
  text-transform: uppercase; text-wrap: balance;
}
h3 {
  font-size: var(--t-xs); font-stretch: 88%; font-weight: 650;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-faint); line-height: 1.4;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s3);
  min-height: 3rem; padding: 0.8rem 1.6rem;
  font-size: var(--t-s); font-stretch: 92%; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; background: none;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--accent { background: var(--accent); color: oklch(19% 0.06 36); }
.btn--accent:hover { background: var(--accent-hi); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: oklch(100% 0 0 / 0.05); transform: translateY(-2px); }
.btn__meta {
  font-size: 0.68rem; font-stretch: 80%; letter-spacing: 0.14em;
  color: var(--text-faint); padding-left: var(--s3);
  border-left: 1px solid var(--line-soft);
}

/* ---------- entrance motion ----------
   Content is visible by default. Only once JS has committed to
   animating (html.anim) do items start hidden, so a failed or
   throttled observer can never leave the page blank. */
.anim .reveal:not(.in) { opacity: 0; transform: translate3d(0, 18px, 0); }
.anim .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease-s), transform .9s var(--ease-s);
  transition-delay: calc(var(--d, 0) * 90ms);
}
@media (prefers-reduced-motion: reduce) {
  .anim .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   AGE GATE
   ============================================================ */
.gate {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink);
  padding: var(--gut);
  overflow-y: auto;
}
.gate[hidden] { display: none; }
.gate::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 12%, oklch(45% 0.19 262 / 0.5), transparent 62%),
    radial-gradient(90% 70% at 8% 96%, oklch(30% 0.14 264 / 0.55), transparent 60%);
}
.gate__grid {
  position: relative; width: 100%; max-width: 62rem;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s7); align-items: center;
}
.gate__body { max-width: 34rem; }
/* The gate is a dialog, not a document section: it is named via
   aria-labelledby, so this is styled display text rather than a second h1. */
.gate__title {
  font-size: var(--t-3); font-stretch: 115%; font-weight: 800;
  line-height: 1.06; letter-spacing: -0.02em; text-transform: uppercase;
  margin: var(--s4) 0 var(--s5); text-wrap: balance;
}
.gate__desc { color: var(--text-dim); max-width: 46ch; }
.gate__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.gate__note {
  margin-top: var(--s5); font-size: var(--t-xs); font-stretch: 90%;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint);
}
.gate__deny {
  margin-top: var(--s5); padding: var(--s4) var(--s5);
  border: 1px solid var(--accent); border-radius: 2px;
  color: var(--accent-hi); font-size: var(--t-s);
}
.gate__object img {
  width: 100%; max-width: 22rem; margin-inline: auto;
  filter: drop-shadow(0 2.5rem 3.5rem oklch(8% 0.05 264 / 0.75));
}
@media (max-width: 860px) {
  .gate__grid { grid-template-columns: 1fr; gap: var(--s5); }
  .gate__object { order: -1; }
  .gate__object img { max-width: 11rem; }
}

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 100;
  /* kept near-opaque: at lower alpha the bright brand tiles scrolling
     underneath read as a hard-edged light bar behind the wordmark */
  background: oklch(14% 0.045 264 / 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); min-height: 4.5rem;
}
/* the wordmark is a 29px-tall image: pad the link so the hit area
   reaches a comfortable target size */
.hdr__mark { flex: none; display: grid; align-items: center; min-height: 2.75rem; }
.hdr__mark img { width: 8.5rem; height: auto; }

.nav { display: flex; align-items: center; gap: var(--s6); }
.nav__list { display: flex; align-items: center; gap: var(--s2); }
.nav__list a, .nav__toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 2.75rem; padding: 0 var(--s3);
  font-size: var(--t-s); font-stretch: 94%; font-weight: 600;
  text-decoration: none; background: none; border: 0; cursor: pointer;
  color: var(--text-dim);
  transition: color .3s var(--ease);
}
.nav__list a:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { color: var(--text); }
.chev { width: 0.6rem; transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav__has-sub { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + var(--s2)); left: 0; z-index: 5;
  min-width: 15rem; padding: var(--s2);
  background: var(--night); border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 1.5rem 3rem oklch(8% 0.04 264 / 0.6);
}
.nav__sub a { display: flex; width: 100%; padding: var(--s3) var(--s4); }
.nav__sub a:hover { background: oklch(100% 0 0 / 0.06); }
:where(.js) .nav__sub[hidden] { display: none; }

.hdr__aside { display: flex; align-items: center; gap: var(--s5); }
.locales { display: flex; gap: var(--s1); }
.locales a {
  display: grid; place-items: center;
  min-width: 2.4rem; min-height: 2.4rem;
  font-size: var(--t-xs); font-stretch: 88%; font-weight: 700;
  letter-spacing: 0.08em; text-decoration: none; border-radius: 2px;
  color: var(--text-faint);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.locales a:hover { color: var(--text); background: oklch(100% 0 0 / 0.06); }
.locales a[aria-current] { color: var(--ink); background: var(--text); }
.social {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text-dim);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.social:hover { color: var(--text); border-color: var(--text); }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}
.burger span {
  display: block; width: 1.1rem; height: 1.5px; margin-inline: auto;
  background: var(--text); transition: transform .35s var(--ease), opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column; align-items: stretch; gap: var(--s5);
    padding: var(--s5) var(--gut) var(--s7);
    background: var(--night); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 4.5rem); overflow-y: auto;
  }
  .nav.is-open, .no-js .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-soft); }
  .nav__list a, .nav__toggle { min-height: 3.25rem; padding-inline: 0; width: 100%; }
  .nav__toggle { justify-content: space-between; }
  .nav__sub {
    position: static; min-width: 0; margin-bottom: var(--s3);
    background: oklch(100% 0 0 / 0.04); box-shadow: none;
  }
  .hdr__aside { justify-content: space-between; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(3rem, 7vw, 7rem) 0 clamp(3rem, 6vw, 6rem); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto;
  width: 75vw; height: 75vw; max-width: 60rem; max-height: 60rem;
  pointer-events: none;
  background:
    radial-gradient(circle at 60% 40%, oklch(48% 0.2 262 / 0.55), transparent 58%),
    radial-gradient(circle at 30% 70%, oklch(35% 0.16 268 / 0.45), transparent 62%);
  filter: blur(10px);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
}
.hero__title {
  font-size: var(--t-4); font-stretch: 118%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.035em; line-height: 1.0;
  margin: var(--s5) 0;
}
.hero__title em { font-style: normal; color: var(--accent); }
.nowrap { white-space: nowrap; }
.hero__lede {
  font-size: var(--t-1); font-weight: 400; line-height: 1.45;
  color: var(--text-dim); max-width: 30ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: var(--s5) var(--s4);
  margin-top: var(--s8); padding-top: var(--s5);
  border-top: 1px solid var(--line-soft);
}
.facts dt {
  font-size: 0.7rem; font-stretch: 86%; font-weight: 650;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: var(--s1);
}
.facts dd {
  font-size: var(--t-s); font-stretch: 96%; font-weight: 650;
  color: var(--text); margin: 0;
}

.hero__object { justify-self: center; }
.hero__object img {
  width: min(100%, 24rem);
  filter: drop-shadow(0 3rem 4rem oklch(8% 0.05 264 / 0.8));
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__object { order: -1; }
  .hero__object img { width: min(50%, 11rem); }
  .hero__lede { max-width: 42ch; }
}

/* ============================================================
   SHELF — the bright band. Products carry the colour.
   ============================================================ */
.shelf { background: var(--frost); padding: clamp(1.75rem, 3.5vw, 3rem) 0; }
.shelf__row {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(7rem, 1fr);
  gap: clamp(0.5rem, 2.5vw, 2.5rem);
  align-items: center;
  overflow-x: auto; scrollbar-width: none;
  padding-bottom: var(--s1);
}
.shelf__row::-webkit-scrollbar { display: none; }
.shelf__row img {
  width: 100%; max-width: 10.5rem; margin-inline: auto;
  mix-blend-mode: multiply;   /* drops the white studio background into the frost */
}

/* ============================================================
   O SPOLOČNOSTI
   ============================================================ */
.about { background: var(--night); padding: clamp(4rem, 9vw, 9rem) 0; }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
}
.about__head { position: sticky; top: 7rem; align-self: start; }

/* side-rail section heads sit in a narrow track: step the scale down
   so the expanded caps cannot overrun the column */
.about__head h2, .dl__head h2 {
  font-size: var(--t-1); font-stretch: 108%; line-height: 1.1;
}
.prose { max-width: 68ch; }
.prose p + p { margin-top: var(--s5); }
.prose p { color: var(--text-dim); }
.prose__lead {
  font-size: var(--t-1); line-height: 1.5;
  color: var(--text) !important;
}
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__head { position: static; }
}

/* ============================================================
   ZNAČKY
   ============================================================ */
.brands { padding: clamp(4rem, 9vw, 9rem) 0; }
.brands__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--s5);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.brands__meta {
  max-width: 34ch; color: var(--text-faint); font-size: var(--t-s);
}
.brands__meta strong { color: var(--text); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  gap: clamp(0.6rem, 1.4vw, 1.1rem);
}
.tile { display: flex; }
/* Explicit rows keep the number / logo / name / count / link baselines
   aligned across the row, whether or not a brand has an external site.
   The last track is reserved even when the ext line is absent. */
.tile > a {
  position: relative;
  display: grid; grid-template-rows: auto 1fr auto auto 1.15rem;
  width: 100%; padding: var(--s5) var(--s4) var(--s4);
  background: var(--frost); color: var(--on-frost);
  border: 1px solid transparent; border-radius: 3px;
  text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
}
.tile > a:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 1.5rem 2.5rem oklch(8% 0.05 264 / 0.45);
}
.tile__n {
  font-size: 0.68rem; font-stretch: 80%; font-weight: 700;
  letter-spacing: 0.18em; color: var(--on-frost-dim);
}
.tile__img {
  display: grid; place-items: center;
  min-height: 7.5rem; margin: var(--s4) 0 var(--s5);
}
.tile__img img {
  max-height: 100%; width: auto; max-width: 88%;
  object-fit: contain;
}
.tile__name {
  font-size: var(--t-s); font-stretch: 104%; font-weight: 700;
  line-height: 1.25; text-transform: uppercase; letter-spacing: -0.005em;
}
.tile__c {
  font-size: var(--t-xs); font-stretch: 90%;
  color: var(--on-frost-dim); margin-top: var(--s1);
}
.tile__ext {
  font-size: 0.68rem; font-stretch: 84%; font-weight: 650;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-on-light); margin-top: var(--s2);
}

/* ============================================================
   VÝROBCOVIA
   ============================================================ */
.makers { background: var(--night); padding: clamp(4rem, 9vw, 9rem) 0; }
.makers__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 26ch; }
@media (min-width: 60rem) { .makers__head { max-width: 34ch; } }
.makers__row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}
.maker {
  display: grid; gap: var(--s5);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line); border-radius: 3px;
  text-decoration: none;
  transition: border-color .4s var(--ease), background-color .4s var(--ease),
              transform .4s var(--ease);
}
.maker:hover {
  border-color: var(--accent); background: oklch(100% 0 0 / 0.035);
  transform: translateY(-3px);
}
.maker__logo {
  display: grid; place-items: center;
  min-height: 8rem; padding: var(--s4) var(--s5);
  background: var(--frost); border-radius: 2px;
}
.maker__logo img { max-height: 6.5rem; width: auto; }
.maker__txt { display: grid; gap: var(--s2); }
.maker__txt strong {
  font-size: var(--t-1); font-stretch: 108%; font-weight: 750;
  text-transform: uppercase; letter-spacing: -0.015em; line-height: 1.1;
}
.maker__txt span { color: var(--text-dim); font-size: var(--t-s); line-height: 1.6; }
.maker__go {
  font-size: var(--t-xs); font-stretch: 88%; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}

/* ============================================================
   NA STIAHNUTIE
   ============================================================ */
.dl { padding: clamp(4rem, 9vw, 9rem) 0; }
.dl__grid {
  display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
}
.dl__list { border-top: 1px solid var(--line-soft); }
.dl__list li { border-bottom: 1px solid var(--line-soft); }
.dl__list a {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s5); padding: var(--s5) var(--s2);
  text-decoration: none;
  transition: padding-left .4s var(--ease), color .3s var(--ease);
}
.dl__list a:hover { padding-left: var(--s5); color: var(--accent-hi); }
.dl__name {
  font-size: var(--t-1); font-stretch: 106%; font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.015em;
}
.dl__kind {
  flex: none; font-size: var(--t-xs); font-stretch: 86%; font-weight: 650;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint);
}
@media (max-width: 820px) { .dl__grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.ft {
  background: oklch(11% 0.04 264);
  border-top: 1px solid var(--line-soft);
  padding: clamp(3.5rem, 7vw, 7rem) 0 var(--s6);
}
.ft__top { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ft__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--s7) var(--s5);
  padding-bottom: var(--s7); border-bottom: 1px solid var(--line-soft);
}
.ft__col p, .ft__col address { color: var(--text-dim); font-size: var(--t-s); font-style: normal; }
.ft__col h3 { margin-bottom: var(--s3); }
.ft__h-sp { margin-top: var(--s5); }
/* standalone (non-sentence) footer links get a 24px+ target */
.ft__col a {
  display: inline-block; padding-block: 0.2rem; min-height: 1.5rem;
  text-decoration-color: var(--line); text-underline-offset: 0.25em;
}
.ft__col a:hover { color: var(--accent-hi); }
.ft__locales { display: grid; gap: var(--s2); font-size: var(--t-s); color: var(--text-dim); }

.ft__resp {
  margin: var(--s6) 0 0; max-width: 62ch;
  font-size: var(--t-xs); font-stretch: 92%; letter-spacing: 0.03em;
  color: var(--text-faint); text-transform: uppercase;
}
.ft__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3);
  margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid var(--line-soft);
  font-size: var(--t-xs); color: var(--text-faint);
}
.ft__base a { text-decoration-color: var(--line); }
.ft__base a:hover { color: var(--accent-hi); }

.concept {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s4);
  margin-top: var(--s6); padding: var(--s5);
  border: 1px dashed var(--line); border-radius: 3px;
}
.concept p { font-size: var(--t-xs); line-height: 1.7; color: var(--text-faint); max-width: 70ch; }
.concept strong { color: var(--text-dim); }
.concept a { color: var(--accent); }
.concept__btn {
  flex: none; min-height: 2.6rem; padding: 0 var(--s4);
  font-size: var(--t-xs); font-stretch: 88%; font-weight: 650;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  color: var(--text-dim); cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.concept__btn:hover { color: var(--text); border-color: var(--text); }

/* ---------- when the gate is open, freeze the page ---------- */
body.locked { overflow: hidden; }
