/* ============================================================
   Avelis Global — site stylesheet
   Light + dark themed via [data-theme] on <html>.
   ============================================================ */

:root {
  --bg:            #f4f6f8;
  --bg-alt:        #eceff3;
  --surface:       #ffffff;
  --surface-2:     #f8fafb;
  --border:        #dde3e9;
  --border-strong: #c6cfd8;
  --text:          #0f151b;
  --text-2:        #3d4a56;
  --muted:         #6b7885;
  --accent:        #0b7f95;
  --accent-hi:     #0a94ae;
  --accent-soft:   rgba(11, 127, 149, 0.09);
  --accent-line:   rgba(11, 127, 149, 0.25);
  --danger:        #c22b2b;
  --grid-line:     rgba(15, 21, 27, 0.045);
  --shadow:        0 1px 2px rgba(15, 21, 27, .05), 0 8px 24px -16px rgba(15, 21, 27, .28);
  --shadow-lg:     0 2px 4px rgba(15, 21, 27, .05), 0 24px 48px -28px rgba(15, 21, 27, .40);
  --tile:          #ffffff;
  --on-accent:     #ffffff;

  /* Archivo for headings — a grotesque with signage roots, set slightly expanded.
     IBM Plex Sans/Mono for text and data: drawn for technical documentation, and
     the mono is what carries every part number on this site. */
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  color-scheme: light;
}

/* Dark palette, declared once and applied in two situations: when the OS asks for
   it and the visitor has not explicitly chosen light, and when the visitor picks
   dark with the header toggle. Every component styles through these tokens, so
   neither state can leave one theme's text on the other theme's ground. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #090d11;
    --bg-alt:        #0d1319;
    --surface:       #111820;
    --surface-2:     #151d26;
    --border:        #1e2833;
    --border-strong: #2c3946;
    --text:          #e8eef4;
    --text-2:        #b3c0cc;
    --muted:         #7d8b99;
    --accent:        #2fd0ec;
    --accent-hi:     #6ae0f5;
    --accent-soft:   rgba(47, 208, 236, 0.10);
    --accent-line:   rgba(47, 208, 236, 0.28);
    --danger:        #ff6b6b;
    --grid-line:     rgba(232, 238, 244, 0.045);
    --shadow:        0 1px 2px rgba(0,0,0,.5), 0 8px 24px -16px rgba(0,0,0,.8);
    --shadow-lg:     0 2px 4px rgba(0,0,0,.5), 0 24px 48px -28px rgba(0,0,0,.9);
    --tile:          #f2f5f7;
    --on-accent:     #04161b;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg:            #090d11;
  --bg-alt:        #0d1319;
  --surface:       #111820;
  --surface-2:     #151d26;
  --border:        #1e2833;
  --border-strong: #2c3946;
  --text:          #e8eef4;
  --text-2:        #b3c0cc;
  --muted:         #7d8b99;
  --accent:        #2fd0ec;
  --accent-hi:     #6ae0f5;
  --accent-soft:   rgba(47, 208, 236, 0.10);
  --accent-line:   rgba(47, 208, 236, 0.28);
  --danger:        #ff6b6b;
  --grid-line:     rgba(232, 238, 244, 0.045);
  --shadow:        0 1px 2px rgba(0,0,0,.5), 0 8px 24px -16px rgba(0,0,0,.8);
  --shadow-lg:     0 2px 4px rgba(0,0,0,.5), 0 24px 48px -28px rgba(0,0,0,.9);
  --tile:          #f2f5f7;
  --on-accent:     #04161b;
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.14; margin: 0 0 .5em; letter-spacing: -0.015em; font-weight: 600;
  text-wrap: balance;
}
/* Archivo carries a width axis. The largest type is set semi-expanded so headlines
   read like signage rather than scaled-up body copy — via font-stretch rather than
   font-variation-settings, so it also resolves against the static instances. */
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); letter-spacing: -0.032em; font-weight: 700; font-stretch: semi-expanded; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -0.024em; }
h3 { font-size: 1.12rem; letter-spacing: -0.012em; }
p { margin: 0 0 1.15em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- primitives ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--accent); flex: none; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .875rem/1 var(--sans); letter-spacing: .01em;
  padding: .8rem 1.35rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: .16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn .arw { transition: transform .16s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--border);
}
.head-in { display: flex; align-items: center; gap: 1.5rem; height: 66px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); font-family: var(--display); font-stretch: semi-expanded; font-weight: 700; letter-spacing: -.022em; font-size: 1.06rem; }
.brand:hover { color: var(--text); }
.brand small { font-family: var(--mono); font-size: .58rem; letter-spacing: .19em; color: var(--muted); text-transform: uppercase; display: block; margin-top: -3px; font-weight: 500;}
.mark-img { height: 46px; width: auto; flex: none; }

.nav { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav a {
  font-size: .875rem; font-weight: 520; color: var(--text-2);
  padding: .45rem .7rem; border-radius: var(--radius); position: relative;
}
.nav a:hover { color: var(--text); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after {
  content:""; position:absolute; left:.7rem; right:.7rem; bottom:.15rem; height:1.5px; background: var(--accent);
}
.head-tools { display: flex; align-items: center; gap: .4rem; margin-left: .4rem; }
.head-phone {
  display: flex; align-items: center; gap: .45rem; height: 36px; padding: 0 .7rem;
  font-family: var(--mono); font-size: .8rem; font-weight: 500; white-space: nowrap;
  color: var(--text-2); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: .16s;
}
.head-phone:hover { border-color: var(--accent); color: var(--accent); }
.head-phone svg { width: 15px; height: 15px; flex-shrink: 0; }

.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text-2); cursor: pointer; transition: .16s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 17px; height: 17px; }
:root:not([data-theme="dark"]) .icon-moon { display: block; }
:root:not([data-theme="dark"]) .icon-sun  { display: none; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun  { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-moon { display: none; }
  :root:not([data-theme="light"]) .icon-sun  { display: block; }
}

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .5rem var(--pad) 1.25rem; margin: 0; box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .18s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .head-tools { margin-left: auto; }
}
@media (max-width: 1080px) and (min-width: 881px), (max-width: 520px) {
  .head-phone { width: 36px; padding: 0; justify-content: center; }
  .head-phone span { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 76% 12%, #000 12%, transparent 74%);
  -webkit-mask-image: radial-gradient(120% 90% at 76% 12%, #000 12%, transparent 74%);
}
.hero::after {
  content: ""; position: absolute; top: -30%; right: -10%; width: 58vw; height: 58vw;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 62%);
  pointer-events: none;
}
.hero-in { position: relative; padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero h1 { max-width: 17ch; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 3rem; }

.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--border-strong); gap: 0;
}
.stat { padding: 1.25rem 1.25rem 1.25rem 0; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--mono); font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.stat span { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 560px) { .stat { border-right: 0; border-bottom: 1px solid var(--border); padding-right: 0; } }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.sec-head > div { max-width: 60ch; }
.sec-head h2 { margin-bottom: .4rem; }

/* ---------- category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cat {
  background: var(--surface); padding: 1.6rem 1.4rem; display: flex; flex-direction: column;
  gap: .55rem; transition: .18s ease; position: relative; color: var(--text);
}
.cat:hover { background: var(--surface-2); color: var(--text); }
.cat::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .2s ease; }
.cat:hover::after { transform: scaleY(1); }
.cat .num { font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .1em; }
.cat h3 { margin: 0; font-size: 1.06rem; }
.cat p { margin: 0; font-size: .875rem; color: var(--muted); line-height: 1.55; }
.cat .go { margin-top: auto; padding-top: .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card {
  background: var(--surface); display: flex; flex-direction: column; color: var(--text);
  transition: .18s ease; position: relative; min-width: 0;
}
.card:hover { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow); z-index: 2; }
.card-img {
  aspect-ratio: 4 / 3; background: var(--tile); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border); display: grid; place-items: center;
}
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 1.1rem; transition: transform .3s ease; }
.card:hover .card-img img { transform: scale(1.045); }
.card-body { padding: .95rem 1rem 1.05rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card .mpn { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--accent); font-weight: 600; }
.card .ttl { font-size: .845rem; line-height: 1.45; color: var(--text); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { margin-top: auto; padding-top: .7rem; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--border); }
.card .price { font-family: var(--mono); font-size: .95rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card .brand { font-size: .7rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-family: var(--mono); }

/* image fallback plate — shown when a photo is not present */
.plate {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; background: var(--surface-2); padding: 1rem; text-align: center;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 18px 18px;
}
.plate svg { width: 34px; height: 34px; color: var(--border-strong); }
.plate .pn { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; word-break: break-all; }
.card-img.noimg img { display: none; }
.card-img.noimg .plate { display: flex; }

/* ---------- filter bar ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.75rem; align-items: center; }
.chip {
  font: 500 .8rem/1 var(--sans); padding: .55rem .85rem; border: 1px solid var(--border);
  border-radius: 100px; background: var(--surface); color: var(--text-2); cursor: pointer; transition: .15s;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip .n { opacity: .65; font-family: var(--mono); font-size: .72rem; margin-left: .3rem; }
.search {
  flex: 1 1 200px; min-width: 180px; max-width: 320px; margin-left: auto;
  padding: .55rem .85rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); font: 500 .85rem var(--sans);
}
.search::placeholder { color: var(--muted); }
.search:focus { outline: none; border-color: var(--accent); }
.result-count { font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-bottom: 1rem; letter-spacing: .04em; }

/* ---------- product detail ---------- */
.crumbs { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted); padding: 1.1rem 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 .45rem; opacity: .5; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: 1rem; }
@media (max-width: 820px) { .detail { grid-template-columns: 1fr; } }
.detail-img { background: var(--tile); border: 1px solid var(--border); aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; }
.detail-img img { width: 100%; height: 100%; object-fit: contain; padding: clamp(1.5rem, 4vw, 3rem); }
.detail h1 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin-bottom: .9rem; }
.detail .mpn-big { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--accent); font-weight: 600; margin-bottom: .8rem; }
.price-block { display: flex; align-items: baseline; gap: .75rem; padding: 1.1rem 0; border-block: 1px solid var(--border); margin: 1.4rem 0; flex-wrap: wrap; }
.price-block .p { font-family: var(--mono); font-size: 1.7rem; font-weight: 620; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-block .note { font-size: .78rem; color: var(--muted); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin: 1.25rem 0 1.75rem; }
.spec-table th, .spec-table td { text-align: left; padding: .6rem .2rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 42%; font-size: .8rem; }
.spec-table td { font-family: var(--mono); font-size: .82rem; color: var(--text); font-variant-numeric: tabular-nums; }

.notice { display: flex; gap: .8rem; padding: 1rem 1.1rem; background: var(--accent-soft); border-left: 2px solid var(--accent); font-size: .855rem; color: var(--text-2); line-height: 1.6; }
.notice svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: .15rem; }

/* ---------- article ---------- */
.article { max-width: 70ch; margin-inline: auto; }
.article h2 { font-size: 1.32rem; margin-top: 2.5rem; margin-bottom: .7rem; letter-spacing: -.02em; }
.article p { color: var(--text-2); }
.article strong { color: var(--text); font-weight: 620; }
.article em { color: var(--text); font-style: italic; }
.post-head { max-width: 70ch; margin-inline: auto; padding-bottom: 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2.25rem; }
.post-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; margin-top: 1rem; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.post-card { background: var(--surface); padding: 1.75rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; color: var(--text); transition: .18s; position: relative; }
.post-card:hover { background: var(--surface-2); color: var(--text); }
.post-card::after { content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:var(--accent); transform:scaleY(0); transform-origin:top; transition:transform .2s; }
.post-card:hover::after { transform: scaleY(1); }
.post-card h3 { font-size: 1.1rem; margin: 0; line-height: 1.32; }
.post-card p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.6; }
.post-card .meta { margin-top: auto; padding-top: 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; display: flex; gap: .8rem; }

/* ---------- generic panels ---------- */
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.panel { background: var(--surface); padding: 1.7rem 1.5rem; }
.panel h3 { font-size: 1rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.panel h3 svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.panel p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.62; }
.panel .idx { font-family: var(--mono); font-size: .68rem; color: var(--accent); letter-spacing: .12em; margin-bottom: .8rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.kv { border-top: 1px solid var(--border); }
.kv div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; }
.kv dt, .kv .k { color: var(--muted); }
.kv dd, .kv .v { margin: 0; font-family: var(--mono); font-size: .82rem; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- contact ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 560; color: var(--text-2); letter-spacing: .01em; }
.field input, .field select, .field textarea {
  padding: .7rem .8rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); font: 400 .9rem var(--sans); width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-error { font-size: .76rem; color: var(--danger); min-height: 1em; display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 3px rgba(194, 43, 43, 0.15); }
.form-note { font-size: .78rem; color: var(--muted); margin-top: .9rem; }
.form-note.is-error { color: var(--danger); font-weight: 600; }
.form-note.is-success {
  display: flex; align-items: center; gap: .55rem;
  font-size: .92rem; font-weight: 600; color: var(--text);
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius);
  padding: .8rem 1rem; margin-top: 1rem;
}
.form-note.is-success svg { flex: none; color: var(--accent); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--border); background: var(--bg-alt); padding: clamp(2.5rem, 5vw, 3.75rem) 0 1.75rem; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.foot-grid a { font-size: .875rem; color: var(--text-2); }
.foot-grid a:hover { color: var(--accent); }
.foot-about p { font-size: .875rem; color: var(--muted); max-width: 34ch; margin: .9rem 0 0; line-height: 1.6; }
.hours { font-family: var(--mono); font-size: .8rem; color: var(--text-2); line-height: 1.9; }
.hours b { color: var(--text); font-weight: 600; }
.foot-bot { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }

/* ---------- misc ---------- */
.tag { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: .3rem .6rem; border-radius: 100px; }
.hidden { display: none !important; }
.empty { padding: 3.5rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--border-strong); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
