/* ============================================================
   WrappedByKool — site stylesheet
   Palette, type, and components. Colors are defined once as
   tokens below; adjust them here to retheme the whole site.
   ------------------------------------------------------------
   Hero + final CTA use the darkest tone (--ink-0).
   Regular page sections use the lighter charcoals (--ink-1/2).
   ============================================================ */

:root {
  /* Color tokens */
  --ink-0: #05070a;        /* darkest: hero, final CTA, nav */
  --ink-1: #151a21;        /* page background (lighter than hero) */
  --ink-2: #1b212b;        /* alternate section background */
  --card: #1e2530;         /* card surfaces */
  --card-hi: #232b37;      /* card hover */
  --line: #2b3441;         /* borders */
  --text: #f2f5f9;         /* primary text */
  --muted: #a2adba;        /* supporting text */
  --faint: #77828f;        /* micro labels */
  --blue: #3d7dff;         /* electric blue (from logo) */
  --blue-2: #6ea2ff;       /* hover / light accent */
  --blue-deep: #1c47c4;    /* pressed / gradient tail */
  --blue-tint: rgba(61, 125, 255, 0.12);

  /* Type */
  --font-display: "Archivo", "Arial Black", Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Rhythm */
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1180px;
  --nav-h: 76px;
}

/* ------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--text); }
:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }

.container { width: min(var(--container), 92vw); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section--alt { background: var(--ink-2); }
.section--dark { background: var(--ink-0); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* spec-sheet eyebrow — mono micro label used on every section header */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-2);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--blue); }
.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--blue); }

/* plotter cut-line divider — the site's signature detail */
.cutline {
  position: relative;
  height: 1px;
  background-image: linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px);
  background-size: 16px 1px;
  opacity: 0.45;
}
.cutline::before, .cutline::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: var(--ink-1);
}
.cutline::before { left: 4vw; }
.cutline::after { right: 4vw; }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-2); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-2); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1rem; }

/* ------------------------------------------------ header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 7, 10, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 52, 65, 0.6);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__logo svg, .nav__logo img { height: 62px !important; width: auto; display: block; }
@media (max-width: 600px) { .nav__logo svg, .nav__logo img { height: 50px !important; } }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--blue); }
.nav__cta { margin-left: 0.4rem; }
.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  padding: 0;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav__toggle-bars::after { position: absolute; top: 6px; left: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 7, 10, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 4vw 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links li { border-bottom: 1px solid rgba(43, 52, 65, 0.5); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a { display: block; padding: 1rem 0.2rem; font-size: 1rem; }
  .nav__links a[aria-current="page"] { border-bottom-color: transparent; color: var(--blue-2); }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  background: var(--ink-0);
  isolation: isolate;
  overflow: hidden;
}
.hero__media, .hero__media video, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(5,7,10,0.55) 0%, rgba(5,7,10,0.35) 40%, rgba(5,7,10,0.92) 100%),
    radial-gradient(80% 60% at 30% 45%, rgba(5,7,10,0.35), rgba(5,7,10,0.75));
}
.hero__inner { padding: clamp(7rem, 16vh, 10rem) 0 6rem; max-width: 880px; }
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 1.4rem;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--blue-2); }
.hero__services {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.hero__desc { color: var(--muted); max-width: 56ch; font-size: 1.12rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--blue), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ------------------------------------------------ trust strip */
.trust {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.trust__list {
  list-style: none;
  margin: 0;
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 2.6rem;
}
.trust__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust__list li::before { content: ""; width: 7px; height: 7px; background: var(--blue); transform: rotate(45deg); flex-shrink: 0; }

/* ------------------------------------------------ generic grids & cards */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--blue); background: var(--card-hi); transform: translateY(-3px); }
.card__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.45rem; }
.card__body p { color: var(--muted); font-size: 0.98rem; margin-bottom: 1rem; }
.card__link {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.card__link::after { content: " →"; }
.card__link:hover { color: var(--text); }

/* image / placeholder frames */
.frame {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 90% at 70% 100%, rgba(61,125,255,0.16), transparent 55%),
    linear-gradient(160deg, #10151d, #0a0e14);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.frame--tall { aspect-ratio: 16 / 12; }
.frame__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(61,125,255,0.35);
  margin: 12px;
  border-radius: 10px;
}
.frame__label strong { color: var(--muted); font-weight: 500; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-2);
  background: var(--blue-tint);
  border: 1px solid rgba(61,125,255,0.35);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.8rem;
  width: fit-content;
}
.badge--neutral { color: var(--muted); background: rgba(162,173,186,0.08); border-color: var(--line); }

/* ------------------------------------------------ featured project */
.project-feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.project-feature .frame { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.project-feature__body { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.spec {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 1.4rem;
}
.spec span b { color: var(--muted); font-weight: 500; }
@media (max-width: 860px) {
  .project-feature { grid-template-columns: 1fr; }
  .project-feature .frame { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ------------------------------------------------ split section (why / about preview) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.8rem; color: var(--muted); }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background: var(--blue-tint);
  border: 1px solid var(--blue);
  border-radius: 5px;
  clip-path: none;
  position: relative;
}
.checklist li strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------ process timeline */
.process { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; }
.process li { position: relative; padding-top: 1.6rem; }
.process li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: -1.2rem;
  height: 1px;
  background-image: linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 12px);
  background-size: 12px 1px;
  opacity: 0.5;
}
.process li:last-child::before { right: 0; }
.process li::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-1);
  border: 2px solid var(--blue);
}
.process__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--blue-2);
  display: block;
  margin-bottom: 0.4rem;
}
.process h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.process p { color: var(--muted); font-size: 0.92rem; margin: 0; }
@media (max-width: 980px) { .process { grid-template-columns: 1fr; gap: 1.6rem; }
  .process li { padding-top: 0; padding-left: 2rem; }
  .process li::before { top: 14px; bottom: -1.6rem; left: 5px; right: auto; width: 1px; height: auto; background-image: linear-gradient(180deg, var(--blue) 0 6px, transparent 6px 12px); background-size: 1px 12px; }
  .process li:last-child::before { display: none; }
  .process li::after { top: 4px; }
}

/* ------------------------------------------------ FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-2);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--blue); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ------------------------------------------------ CTA band */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }

/* ------------------------------------------------ page hero (interior pages) */
.page-hero {
  background: var(--ink-0);
  padding: clamp(4.5rem, 9vw, 6.5rem) 0 clamp(2.8rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { margin-bottom: 0; }

/* ------------------------------------------------ filters (gallery / tutorials / blog) */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 2rem; }
.filters button {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.filters button:hover { color: var(--text); border-color: var(--blue); }
.filters button[aria-pressed="true"] { color: #fff; background: var(--blue); border-color: var(--blue); }
.search {
  display: flex;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  max-width: 460px;
}
.search input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.75rem 1rem;
  font: inherit;
}
.search input:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 1px; }
.empty-note { color: var(--faint); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; padding: 2rem 0; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.7rem;
}

/* ------------------------------------------------ article layout */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: 1.6rem; text-transform: none; margin-top: 2.4rem; }
.article h3 { margin-top: 1.8rem; }
.article ol, .article ul { color: var(--muted); padding-left: 1.3rem; }
.article li { margin-bottom: 0.5rem; }
.toc {
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
}
.toc strong { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-2); }
.toc ol { margin: 0.7rem 0 0; padding-left: 1.2rem; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--blue-2); }

.notice {
  border: 1px dashed rgba(61,125,255,0.45);
  background: var(--blue-tint);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.notice strong { color: var(--blue-2); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 0.35rem; }

/* ------------------------------------------------ forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--blue-2); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.8rem 1rem;
  font: inherit;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 1px;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b6b; }
.field .error-msg { display: none; color: #ff8f8f; font-size: 0.85rem; margin-top: 0.35rem; }
.field.has-error .error-msg { display: block; }
.consent { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.consent input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--blue); }
.form-status { margin-top: 1.2rem; }
.form-status[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */

/* ------------------------------------------------ footer */
.site-footer {
  background: var(--ink-0);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
  font-weight: 500;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue-2); }
.footer-logo svg, .footer-logo img { height: 48px; width: auto; margin-bottom: 1rem; display: block; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0; padding: 0; }

/* ------------------------------------------------ reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll::after { animation: none; }
}

/* gallery: square-ish frames suit the shop photos */
#gallery-grid .frame { aspect-ratio: 4 / 3; }
#gallery-grid .frame img { object-position: center 60%; }
.site-logo { max-width: 100%; }
