/* Mikamue Studios: site styles. Dark theme only. */

:root {
  --bg: #111214;
  --surface: #1a1c1f;
  --surface-2: #23262a;
  --border: #30343a;
  --text: #e7e6e2;
  --muted: #a1a6a9;
  --accent: #8fb8ad;        /* the sage green of the M */
  --accent-strong: #b5ddd2;
  --dev: #e0ad4f;
  --testing: #74ade8;
  --available: #77c992;
  --radius: 10px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }

:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--accent); color: #0c0d0e; padding: 8px 14px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header + desktop nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 18, 20, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: .03em;
}
.brand:hover { color: var(--text); }

.main-nav > ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }

.main-nav > ul > li > a,
.mega-toggle {
  display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px;
  background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.main-nav > ul > li > a:hover, .mega-toggle:hover,
.has-mega:hover .mega-toggle, .mega-toggle[aria-expanded="true"] { color: var(--text); }
.main-nav [aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

.chevron { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.mega-toggle[aria-expanded="true"] .chevron, .has-mega:hover .chevron { transform: rotate(180deg); }

/* The mega menu spans the header; it opens on hover (mouse) or on click (touch / keyboard). */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 48px;
  padding: 28px var(--gutter) 32px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
@media (hover: hover) {
  .has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.mega-group h2 {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 8px;
}
.mega-group ul { list-style: none; margin: 0; padding: 0; }
.mega-group a {
  display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 8px;
  color: var(--text); text-decoration: none;
}
.mega-group a:hover { background: var(--surface-2); color: var(--text); }
.mega-group img { width: 40px; height: 40px; border-radius: 8px; flex: none; }
.mega-group strong { display: block; font-size: .98rem; }
.mega-group em { display: block; font-style: normal; font-size: .85rem; color: var(--muted); }

.menu-toggle, .drawer-close {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; border-radius: 8px; color: var(--text); cursor: pointer;
}
.menu-toggle svg, .drawer-close svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-toggle:hover, .drawer-close:hover { background: var(--surface-2); }

/* ---------- Phone drawer (slides in from the left) ---------- */

.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(320px, 86vw);
  background: var(--surface); border-right: 1px solid var(--border);
  overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease;
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 12px 0 16px; border-bottom: 1px solid var(--border);
}
.drawer-close { display: block; }
.drawer-links, .drawer-links ul { list-style: none; margin: 0; padding: 0; }
.drawer-links > li > a {
  display: block; padding: 14px 20px; color: var(--text); text-decoration: none;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .92rem;
  border-bottom: 1px solid var(--border);
}
.drawer-links a[aria-current="page"] { color: var(--accent-strong); box-shadow: inset 3px 0 0 var(--accent); }
.drawer-group { padding: 12px 0 8px; border-bottom: 1px solid var(--border); }
.drawer-group > span {
  display: block; padding: 0 20px 4px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.drawer-group a { display: block; padding: 9px 20px 9px 32px; color: var(--text); text-decoration: none; }
.drawer-links a:hover { background: var(--surface-2); }

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55);
  opacity: 0; transition: opacity .25s;
}
.drawer-backdrop.open { opacity: 1; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Buttons + badges ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  background: var(--accent); color: #0d0f0f; font-weight: 700; text-decoration: none; border: 0;
}
.btn:hover { background: var(--accent-strong); color: #0d0f0f; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
/* A button with its explanation to the right; stacks on phones. Buttons in a run of these share one width. */
.btn-aside { display: flex; align-items: center; gap: 24px; margin: 20px 0; max-width: 60em; }
.btn-aside .btn { flex: 0 0 20em; justify-content: center; text-align: center; white-space: nowrap; }
.btn-aside p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) {
  .btn-aside { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-aside .btn { flex-basis: auto; }
}

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.badge-dev { color: var(--dev); }
.badge-testing { color: var(--testing); }
.badge-available { color: var(--available); }

/* ---------- Home ---------- */

.hero { text-align: center; padding: clamp(36px, 7vw, 80px) var(--gutter) clamp(28px, 5vw, 56px); }
/* Animated logo: the M circle, a shimmer clipped to it, the text without the i's dot, and an SVG layer for the
   dot, its glow and its comet trail (driven by js/logo.js). Coordinates in the SVG match the 1455x473 artwork. */
.logo { --dot: #dadada; --dot-flight: #fff8e8; --dot-glow: #f0dcaa; position: relative; aspect-ratio: 1455 / 473;
  width: min(max(640px, 50vw), 820px, 100%);   /* 640px up to 1280px-wide screens, then grows to 820px at 1640px+ */ margin: 0 auto 28px; }
.logo > img, .logo-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-fx { overflow: visible; pointer-events: none; }
.logo-dot { fill: var(--dot); transition: fill 1.2s ease; }
.logo.is-flying .logo-dot { fill: var(--dot-flight); transition: none; }
.logo-dot-glow { fill: var(--dot-glow); opacity: .45; transform-box: fill-box; transform-origin: center; }
.logo-trail-seg { stroke: var(--dot-glow); stroke-linecap: butt; }   /* round caps overlap and bead */
.logo.is-flying .logo-dot-glow { opacity: .9; }
.logo.is-idle .logo-dot-glow { animation: dot-breathe 3.5s ease-in-out infinite; }
.logo.is-idle.just-landed .logo-dot-glow { animation: dot-land .8s ease-out, dot-breathe 3.5s ease-in-out .8s infinite; }
@keyframes dot-breathe {
  0%, 100% { opacity: .25; transform: scale(.9); }
  50% { opacity: .8; transform: scale(1.35); }
}
@keyframes dot-land {
  0% { opacity: 1; transform: scale(2.4); }
  100% { opacity: .25; transform: scale(.9); }
}

/* The shimmer covers only the circle (the left 473/1455 of the logo) and is masked to its shape. */
.logo-shimmer {
  position: absolute; left: 0; top: 0; height: 100%; width: calc(100% * 473 / 1455);
  -webkit-mask: url(/img/logo/mark.png) left top / calc(100% * 1455 / 473) 100% no-repeat;
  mask: url(/img/logo/mark.png) left top / calc(100% * 1455 / 473) 100% no-repeat;
  background: linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, .22) 50%, transparent 56%) no-repeat;
  background-size: 250% 100%; background-position: 120% 0;   /* 120% parks the band off the left, -20% off the right */
  animation: logo-shimmer 10s ease-in-out 3s infinite;
}
@keyframes logo-shimmer {
  0% { background-position: 120% 0; }
  16%, 100% { background-position: -20% 0; }
}
.hero-blurb { max-width: 36em; margin: 0 auto 24px; color: var(--muted); font-size: 1.1rem; }

.home-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 64px;
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start;
}
/* Wide screens: the home page (header and footer too, so the edges line up) widens; the news column gets the extra
   room and a wider gap, and the featured cards keep their size (the admin's card preview assumes about 350px). */
@media (min-width: 1440px) {
  body:has(.home-grid) { --max: 1360px; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 352px; gap: 72px; }
}

.section-label {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 20px;
}

.news-item { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.news-item:last-of-type { border-bottom: 0; }
.news-item time { font-size: .85rem; color: var(--muted); }
.news-item h3 { margin: 2px 0 8px; font-size: 1.3rem; }
.news-item h3 a { color: var(--text); text-decoration: none; }
.news-item h3 a:hover { color: var(--accent-strong); }
.news-item > :last-child { margin-bottom: 0; }
.news-item ul { padding-left: 1.3em; }
/* Post images are capped so a big picture can't take over the page; the admin stores them at 2x this. */
.news-item img { display: block; max-width: min(100%, 560px); max-height: 560px; width: auto; height: auto; border-radius: 8px; border: 1px solid var(--border); }

.featured-col { display: grid; gap: 24px; }

.card {
  display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s;
}
.card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 16px 18px 18px; }
.card-kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); font-size: .95rem; margin: 10px 0 0; }

/* Phones: featured cards first, small and side by side, so the news starts above the fold. */
@media (max-width: 760px) {
  .home-grid { grid-template-columns: 1fr; gap: 28px; }
  .featured-col { order: -1; grid-template-columns: 1fr 1fr; gap: 12px; }
  .featured-col .card-body { padding: 10px 12px 12px; }
  .featured-col .card h3 { font-size: .95rem; }
  .featured-col .card p { display: none; }
  .featured-col .card-kicker { font-size: .62rem; letter-spacing: .12em; }
  .featured-col .badge { font-size: .6rem; padding: 2px 7px; }
  .logo { margin-bottom: 20px; }
}

/* ---------- Product pages ---------- */

/* Banners sit inside the content column and are never cropped; the art is made at ~2x so it only ever scales down. */
.product-banner {
  display: block; width: 100%; height: auto; margin-top: 24px;
  border-radius: var(--radius); border: 1px solid var(--border);
}

.product-head {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 32px; padding-bottom: 8px;
}
.product-head .app-icon { width: 88px; height: 88px; border-radius: 20px; flex: none; }
.product-head h1 { margin: 0 0 6px; }
/* Product pages: the title block and the intro section under it sit centered on the page (text stays left-aligned). */
.product-head { justify-content: center; }
.product-head + .page-section > :is(.lead, .prose, .note, .btn-aside) { max-width: 50rem; margin-left: auto; margin-right: auto; }
.product-head + .page-section > .btn-aside { max-width: 64rem; }
.product-head + .page-section > .btn-aside p { font-size: .85rem; }
.product-head + .page-section > .btn-row { justify-content: center; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: .95rem; }

.page-section { padding: 28px 0; }
.page-section + .page-section { border-top: 1px solid var(--border); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 46em; }
.prose { max-width: 46em; }
.verse { font-size: .9rem; font-style: italic; color: var(--muted); }

/* Rows of equal cards; a partial last row is centered under the full ones. --cols drops on narrower screens. */
.feature-list { --cols: 4; --gap: 14px; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.feature-list li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.feature-note { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 1000px) { .feature-list { --cols: 3; } }
@media (max-width: 760px) { .feature-list { --cols: 2; } }
@media (max-width: 520px) { .feature-list { --cols: 1; } }
.feature-list strong { display: block; margin-bottom: 4px; }
.feature-list span { color: var(--muted); font-size: .95rem; }

.gallery { display: grid; gap: 14px; }
.gallery img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; }
.gallery-portrait { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery-portrait img { aspect-ratio: 9 / 16; object-fit: cover; }
.gallery-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery-wide img { aspect-ratio: 14 / 9; object-fit: cover; }
.gallery-landscape { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-landscape img { height: auto; }
@media (max-width: 760px) { .gallery-landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery img[role="button"] { cursor: pointer; transition: border-color .15s, transform .15s; }
.gallery img[role="button"]:hover { border-color: var(--accent); transform: translateY(-2px); }
.gallery img[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Screenshot viewer (built by site.js) */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox figure { position: relative; margin: 0; }
.lightbox img { display: block; max-width: 72vw; max-height: 80vh; width: auto; height: auto; border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.lightbox figcaption { margin-top: 10px; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.lightbox button { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(20, 22, 28, .85); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.lightbox button:hover { background: rgba(50, 54, 64, .95); }
.lightbox button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox-close { top: -16px; right: -16px; width: 36px; height: 36px; font-size: 1.4rem; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; width: 48px; height: 48px; margin-top: -24px; font-size: 1.6rem; line-height: 1; }
.lightbox-prev { left: 3vw; }
.lightbox-next { right: 3vw; }
.lightbox-prev, .lightbox-next { position: fixed; }
@media (max-width: 760px) {
  .lightbox img { max-width: 94vw; max-height: 75vh; }
  .lightbox-close { top: -44px; right: 0; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 4vh; margin-top: 0; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}
@media (max-width: 760px) {
  .gallery-portrait { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .gallery-portrait img { width: 62vw; max-width: 260px; flex: none; scroll-snap-align: start; }
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1em; max-width: 46em; }
.steps li { position: relative; padding: 0 0 16px 48px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border);
  font-weight: 700; font-size: .9rem; color: var(--accent-strong);
}

.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; max-width: 46em; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; }
.faq details > div { padding: 0 18px 14px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal li { margin-bottom: .4em; }

.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; list-style: none; }
.legal-links .is-soon { color: var(--muted); opacity: .7; }   /* not written yet: plain text, not a link */

.note {
  max-width: 46em; padding: 14px 18px; border-radius: var(--radius);
  background: var(--surface); border-left: 3px solid var(--accent); color: var(--muted);
}


/* ---------- Simple pages ---------- */

.page-head { padding: 48px 0 8px; }
.page-head p { color: var(--muted); max-width: 40em; }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; list-style: none; padding: 0; }
.team li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.team strong { display: block; }
.team span { color: var(--muted); font-size: .9rem; }
.team-photos { grid-template-columns: repeat(auto-fill, minmax(170px, 200px)); }
.team-photos li { text-align: center; }
.team-qa { max-width: 660px; }   /* six pets: two rows of three */
.team-photos span { display: block; }
.team-photos em { display: block; margin-top: 6px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.team-photos img { display: block; width: 120px; height: 120px; margin: 4px auto 12px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }

.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; max-width: 46em; }
.contact-card h2 { margin-top: 0; }
/* In-page links (e.g. "contact us" → #contact-form) land below the sticky header, not under it. */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Contact form */
.form-row { display: flex; flex-wrap: wrap; gap: 0 16px; }
.form-row[hidden] { display: none; }
.form-row > .form-field { flex: 1 1 200px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-weight: 600; }
.form-field small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg); color-scheme: dark;
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%;
}
.form-field textarea { resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-under { display: flex; justify-content: space-between; gap: 16px; }
.form-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.form-count.is-near { color: var(--dev); }
.shot-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.shot-list:empty { display: none; }
.shot-list li { position: relative; }
.shot-list img { display: block; width: 120px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.shot-list button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.shot-list button:hover { background: #5a2a26; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #f0a39a; }
.form-error:empty { display: none; }
.contact-sent h3 { margin: 0 0 6px; }
.contact-sent:focus { outline: none; }
.contact-alt { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); background: #0c0d0e; margin-top: 32px; }
.footer-cols {
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 24px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.footer-cols h2 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { color: var(--text); text-decoration: none; font-size: .95rem; }
.footer-cols a:hover { color: var(--accent-strong); }
.footer-base {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 32px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem;
}
.footer-base p { margin: 0; }
.footer-note { margin-left: auto !important; }
@media (max-width: 760px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-note { margin-left: 0 !important; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
