/* ============================================================
   LITHOGOSHI — a small shrine
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-normal-300-900.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-italic-300-900.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-normal-300-700.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink:      #0a0c10;
  --ink-2:    #10141b;
  --ink-3:    #171c26;
  --pale:     #e8e5dd;
  --pale-dim: #b4b7bb;
  --muted:    #8f95a3;
  --faint:    rgba(232, 229, 221, 0.10);
  --line:     rgba(232, 229, 221, 0.09);
  --amber:    #e2a851;
  --amber-lo: #a97a35;
  --cool:     #8b9ad0;
  --danger:   #d2685f;

  --display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --mono:    ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  --pad: clamp(1.15rem, 4vw, 3rem);
  --max: 68rem;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--pale);
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* the moon glow that sits behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60rem 40rem at 78% -10%, rgba(226, 168, 81, 0.07), transparent 62%),
    radial-gradient(46rem 34rem at 8% 12%, rgba(139, 154, 208, 0.09), transparent 60%),
    radial-gradient(70rem 50rem at 50% 108%, rgba(139, 154, 208, 0.05), transparent 70%);
}

/* film grain */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 1; flex: 1; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1.4rem;
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--faint), transparent);
  margin: 3rem 0;
}

/* ---------- shell ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0.8rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-variation-settings: 'SOFT' 20, 'WONK' 0;
  white-space: nowrap;
}
.brand svg { width: 20px; height: 20px; flex: none; display: block; }
.brand .dot { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--pale); background: rgba(232, 229, 221, 0.05); }
.nav-links a[aria-current='page'] { color: var(--pale); }
.nav-links a[aria-current='page']::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 0.3rem;
  background: var(--amber);
  opacity: 0.8;
}

/* ---------- simp button ---------- */

.simp {
  --glow: rgba(226, 168, 81, 0.5);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(226, 168, 81, 0.42);
  background: linear-gradient(180deg, rgba(226, 168, 81, 0.16), rgba(226, 168, 81, 0.06));
  color: #f6dcae;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 0 0 0 var(--glow);
}
.simp:hover {
  background: linear-gradient(180deg, rgba(226, 168, 81, 0.24), rgba(226, 168, 81, 0.1));
  box-shadow: 0 0 24px -6px var(--glow);
}
.simp:active { transform: scale(0.96); }
.simp .count {
  font-family: var(--mono);
  font-size: 0.7rem;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

.simp.big {
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  font-weight: 500;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(232, 229, 221, 0.04);
  color: var(--pale);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.12s;
}
.btn:hover { background: rgba(232, 229, 221, 0.09); border-color: rgba(232, 229, 221, 0.2); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(3.5rem, 11vh, 8rem) 0 clamp(1.4rem, 3vh, 2.2rem);
  overflow: hidden;
}

.hero-moon {
  position: absolute;
  top: -6%;
  right: -15%;
  width: min(46rem, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 38% 32%, #f3e9d4 0%, #d9c9a6 26%, #a08a63 52%, #5d4f3a 74%, #2a241b 100%);
  box-shadow:
    0 0 8rem 1rem rgba(226, 168, 81, 0.10),
    inset -2rem -3rem 6rem rgba(0, 0, 0, 0.55);
  opacity: 0.4;
  filter: blur(0.3px);
  will-change: transform;
}
.hero-moon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    radial-gradient(circle at 62% 26%, rgba(0,0,0,0.16) 0 3%, transparent 3.4%),
    radial-gradient(circle at 48% 60%, rgba(0,0,0,0.13) 0 5%, transparent 5.6%),
    radial-gradient(circle at 70% 68%, rgba(0,0,0,0.1) 0 2.2%, transparent 2.6%),
    radial-gradient(circle at 33% 47%, rgba(0,0,0,0.09) 0 3.6%, transparent 4%);
}

.hero-inner { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(3.4rem, 13vw, 9rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0 0 0.35em;
}
.hero h1 .lit { display: block; }
.hero h1 .second {
  display: block;
  font-style: italic;
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  font-size: 0.34em;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0.34em 0 0 0.1em;
  color: var(--pale-dim);
}
.hero h1 .accent {
  color: transparent;
  -webkit-text-stroke: 1px rgba(226, 168, 81, 0.65);
  font-style: normal;
}

.hero-sub {
  max-width: 30rem;
  font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.15rem);
  color: var(--pale-dim);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: clamp(2.6rem, 7vh, 5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; gap: 0.5rem; align-items: baseline; }
.hero-meta b { color: var(--pale-dim); font-weight: 500; }

/* ---------- door cards ---------- */

.doors {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(1.2rem, 3vh, 2.2rem);
}

.door {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--ink-2);
  position: relative;
  transition: background 0.25s;
  min-height: 12rem;
}
.door:hover { background: var(--ink-3); }

.door .num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--amber-lo);
}
.door h3 {
  font-size: 1.5rem;
  margin-bottom: 0.1em;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.door p {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.door .simp { margin-top: auto; align-self: flex-start; }
.door .arrow {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.door:hover .arrow { opacity: 1; transform: none; }

/* ---------- page header ---------- */

.page-head {
  padding: clamp(2.8rem, 8vh, 5.5rem) 0 clamp(1.5rem, 4vh, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: -0.035em;
}
.page-head p {
  max-width: 34rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- about layout ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.5rem, 7vh, 4rem) 0;
  align-items: start;
}
@media (min-width: 861px) {
  .about-grid > aside { position: sticky; top: 5.2rem; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(232,229,221,0.045), rgba(232,229,221,0.012));
  overflow: hidden;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(70% 70% at 50% 32%, rgba(226,168,81,0.14), transparent 70%),
    linear-gradient(180deg, #131822, #0c0f15);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.portrait svg { width: 58%; height: auto; opacity: 0.92; }
.portrait .halo {
  position: absolute;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(226,168,81,0.18);
}

.stat-list { padding: 0.35rem 0; }
.stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.74rem 1.1rem;
  border-bottom: 1px solid var(--faint);
  font-size: 0.83rem;
}
.stat:last-child { border-bottom: 0; }
.stat dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.18rem;
  flex: none;
}
.stat dd { margin: 0; text-align: right; color: var(--pale); }
.stat dd small { color: var(--muted); display: block; font-size: 0.74rem; line-height: 1.4; }

.closing {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 1rem;
}
.closing p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}
.closing .sig {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-lo);
  white-space: nowrap;
  padding-bottom: 0.2rem;
}

.prose { max-width: 38rem; }
.prose h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  margin-top: 2.4rem;
  margin-bottom: 0.7em;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--pale-dim); line-height: 1.75; }
.prose strong { color: var(--pale); font-weight: 500; }
.prose em { color: var(--amber); font-style: italic; }

.pull {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.2vw, 1.85rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--pale);
  border-left: 2px solid rgba(226,168,81,0.45);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 2.2rem 0;
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
}
.pull cite {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.9rem;
}

.notes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0; }
.notes li {
  display: grid;
  grid-template-columns: 5.7rem 1fr;
  gap: 1.1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--faint);
  font-size: 0.9rem;
  color: var(--pale-dim);
}
.notes li:first-child { border-top: 1px solid var(--faint); }
.notes li b {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-lo);
  font-weight: 500;
  padding-top: 0.28rem;
}

/* ---------- gallery ---------- */

.gallery-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 3.35rem;
  z-index: 40;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
}
.chip:hover { color: var(--pale); border-color: rgba(232,229,221,0.2); }
.chip[aria-pressed='true'] {
  color: #f6dcae;
  border-color: rgba(226,168,81,0.5);
  background: rgba(226,168,81,0.13);
}

.gallery-bar .spacer { flex: 1; }

.grid {
  columns: 4 15rem;
  column-gap: 0.85rem;
  padding: 1.6rem 0 4rem;
}
@media (max-width: 640px) { .grid { columns: 2 9rem; column-gap: 0.6rem; } }

.tile {
  break-inside: avoid;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  position: relative;
  display: block;
  line-height: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: tileIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes tileIn { to { opacity: 1; transform: none; } }

.tile img { width: 100%; height: auto; display: block; transition: transform 0.5s, filter 0.4s; }
.tile:hover img { transform: scale(1.03); }

.tile .tagbar {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 0.6rem 0.5rem;
  background: linear-gradient(transparent, rgba(6,8,11,0.85));
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(232,229,221,0.75);
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.tile:hover .tagbar, .tile:focus-visible .tagbar { opacity: 1; }

.status {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  display: none;
}
.status.show { display: block; }
.status .err { color: var(--danger); }

.skeleton {
  break-inside: avoid;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  background: linear-gradient(100deg, var(--ink-2) 20%, var(--ink-3) 40%, var(--ink-2) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(100%, 62rem);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
}
.lightbox .close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  color: var(--pale);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 1.2rem) scale(0.94);
  z-index: 400;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(226,168,81,0.42);
  background: linear-gradient(180deg, rgba(32,26,17,0.97), rgba(18,15,10,0.97));
  color: #f8e3bb;
  font-family: var(--display);
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  font-style: italic;
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 50px -12px rgba(226,168,81,0.35), 0 0 0 1px rgba(255,255,255,0.03) inset;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.4s cubic-bezier(0.2, 1.3, 0.3, 1);
  white-space: nowrap;
  max-width: calc(100vw - 2rem);
  text-overflow: ellipsis;
  overflow: hidden;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* the little celebration particles */
.spark {
  position: fixed;
  z-index: 399;
  pointer-events: none;
  font-size: 1.1rem;
  will-change: transform, opacity;
  animation: sparkFly var(--dur, 1.1s) cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes sparkFly {
  0%   { opacity: 1; transform: translate(0, 0) scale(0.6) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.05) rotate(var(--spin)); }
}

/* ---------- footer ---------- */

.foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding: 2.2rem 0;
  font-size: 0.76rem;
  color: var(--muted);
}
.foot-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.foot a { color: var(--pale-dim); border-bottom: 1px solid var(--faint); }
.foot a:hover { color: var(--amber); }

/* ---------- misc ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .tile { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .nav-links a { padding: 0.4rem 0.45rem; font-size: 0.8rem; }
  .brand span.full { display: none; }
  .gallery-bar { top: 3.1rem; }
  .toast { bottom: 1.1rem; }
}
