/* ============================================================
   The Copper Kettle — Bamburgh
   Brand system + three theme directions
   ============================================================ */

:root {
  /* Display + body fonts (overridable via Tweaks) */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Mulish", system-ui, sans-serif;

  /* Accent (copper) — overridable via Tweaks */
  --accent: #c8763c;
  --accent-soft: #d99a63;

  /* Fixed dark tones used by hero / footer / dark feature bands */
  --char: #221f1b;
  --char-2: #2a2622;
  --char-ink: #f1e7d5;
  --char-ink-soft: #b3a995;
  --char-hair: rgba(241, 231, 213, 0.14);

  /* Theme-swappable tokens (default = Candlelit) */
  --bg: #211e1a;
  --bg-alt: #2a2622;
  --card: #2a2622;
  --ink: #f1e7d5;
  --ink-soft: #b3a995;
  --hairline: rgba(241, 231, 213, 0.14);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

/* ---------- THEME: Candlelit (full dramatic charcoal) ---------- */
[data-theme="candlelit"] {
  --bg: #211e1a;
  --bg-alt: #2a2622;
  --card: #2c2823;
  --ink: #f1e7d5;
  --ink-soft: #b3a995;
  --hairline: rgba(241, 231, 213, 0.14);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

/* ---------- THEME: Castle (dark hero + parchment body) ---------- */
[data-theme="castle"] {
  --bg: #f3ebda;
  --bg-alt: #eadfc8;
  --card: #fbf5e9;
  --ink: #2a2622;
  --ink-soft: #6d6453;
  --hairline: rgba(42, 38, 34, 0.13);
  --shadow: 0 30px 60px -34px rgba(58, 46, 30, 0.32);
}

/* ---------- THEME: Daylight (light & airy) ---------- */
[data-theme="daylight"] {
  --bg: #faf4e8;
  --bg-alt: #f1e9d8;
  --card: #fffdf8;
  --ink: #2f2a24;
  --ink-soft: #756c5c;
  --hairline: rgba(47, 42, 36, 0.11);
  --shadow: 0 26px 54px -32px rgba(58, 46, 30, 0.26);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 36px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
}

.rule {
  width: 64px;
  height: 1px;
  background: var(--accent);
  border: 0;
  margin: 26px 0;
}
.rule.center { margin-left: auto; margin-right: auto; }

.section { padding: 110px 0; transition: background-color 0.5s ease; }
.section.alt { background: var(--bg-alt); }

/* ============================================================
   Top utility bar
   ============================================================ */
.topbar {
  background: var(--char);
  color: var(--char-ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--char-hair);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.topbar a { color: var(--char-ink); text-decoration: none; }
.topbar a:hover { color: var(--accent-soft); }
.topbar .tb-meta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar .tb-meta span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot { color: var(--accent); }

/* ============================================================
   Sticky nav (appears on scroll)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(28, 25, 21, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--char-hair);
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav.show { transform: translateY(0); }
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav img { height: 38px; width: auto; }
.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav ul a { color: var(--char-ink); text-decoration: none; opacity: 0.82; transition: 0.2s; }
.nav ul a:hover { opacity: 1; color: var(--accent-soft); }
.nav .nav-cta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--char);
  background: var(--accent);
  padding: 9px 18px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  overflow: hidden;
  background: var(--char);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(16,13,10,0.86) 0%, rgba(16,13,10,0.5) 46%, rgba(16,13,10,0.12) 74%),
    linear-gradient(to top, rgba(16,13,10,0.92) 0%, rgba(16,13,10,0.45) 30%, rgba(16,13,10,0) 58%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 132px 36px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--char-ink);
}
.hero-logo {
  width: 380px;
  max-width: 74vw;
  margin: 0 0 auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.5));
}
.hero-content { max-width: 660px; margin-top: 48px; }
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: #fbf3e3;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.35);
}
.hero p.lede {
  max-width: 560px;
  margin: 0 0 36px;
  font-size: 1.18rem;
  line-height: 1.6;
  color: #f0e7d6;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 243, 227, 0.22);
  width: 100%;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 243, 227, 0.82);
}
.hero-meta .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* Award badge (hero) */
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 32px;
  padding: 10px 20px 10px 15px;
  background: rgba(251, 243, 227, 0.96);
  border: 1px solid var(--accent);
  border-radius: 999px;
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.55);
}
.award-badge svg { flex: none; color: var(--accent); }
.award-badge .award-text { display: flex; flex-direction: column; line-height: 1.18; text-align: left; }
.award-badge .award-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a85a24;
}
.award-badge .award-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: #2a1c0e;
}
/* Pre-animation state — only applied when motion is allowed (see head script) */
html.gsap-ready .award-badge { opacity: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.22s ease;
}
.btn-primary { background: var(--accent); color: #211e1a; }
.btn-primary:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fbf3e3; border-color: rgba(251, 243, 227, 0.45); }
.btn-ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.btn-dark { background: var(--char); color: var(--char-ink); }
.btn-dark:hover { background: var(--char-2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(251, 243, 227, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(251, 243, 227, 0.5); animation: cuepulse 2s ease-in-out infinite; }
@keyframes cuepulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   Welcome
   ============================================================ */
.welcome .wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: center;
}
.welcome-media { position: relative; }
.welcome-media img {
  border-radius: 6px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}
.welcome-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(251, 243, 227, 0.55);
  border-radius: 3px;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.welcome-media .stamp {
  position: absolute;
  bottom: -22px; right: -16px;
  background: var(--accent);
  color: #211e1a;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.05;
  padding: 16px 20px;
  border-radius: 4px;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.5);
  text-align: center;
  z-index: 2;
}
.welcome-media .stamp small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.8;
}
.welcome h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0; }
.welcome .sig {
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-style: italic;
}
.welcome p { color: var(--ink-soft); margin: 0 0 18px; }
.welcome .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--accent);
  margin-top: 8px;
}

/* ============================================================
   Menu feature (always dark band)
   ============================================================ */
.menufeat {
  position: relative;
  background: var(--char);
  color: var(--char-ink);
  overflow: hidden;
}
.menufeat::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/cake.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.menufeat .wrap { position: relative; z-index: 2; }
.menufeat-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.menufeat .eyebrow { color: var(--accent-soft); }
.menufeat h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin: 0 0 6px; color: #fbf3e3; }
.menufeat p { color: var(--char-ink-soft); }
.menu-card {
  background: rgba(20, 17, 14, 0.55);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 34px 36px;
}
.menu-card h3 {
  font-size: 1.7rem;
  text-align: center;
  margin: 0 0 22px;
  color: #fbf3e3;
}
.menu-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--char-hair);
}
.menu-row:last-child { border-bottom: 0; }
.menu-row .name { color: var(--char-ink); }
.menu-row .dots { flex: 1; border-bottom: 1px dotted rgba(241, 231, 213, 0.25); transform: translateY(-4px); }
.menu-row .price { color: var(--accent-soft); font-weight: 700; font-family: var(--font-body); }
.menu-note { font-size: 0.82rem; color: var(--char-ink-soft); font-style: italic; margin-top: 18px; text-align: center; }

/* ============================================================
   Highlights / offerings strip
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 34px 32px; }
.card .ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.5rem; margin: 0 0 10px; color: var(--ink); }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0; color: var(--ink); }
.section-head p { color: var(--ink-soft); margin: 16px 0 0; }

/* ============================================================
   Visit / opening + map
   ============================================================ */
.visit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.visit-info {
  padding: 84px 64px 84px 0;
}
.visit-info h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 8px; }
.visit-info p { color: var(--ink-soft); }
.hours { margin: 28px 0; border-top: 1px solid var(--hairline); }
.hours .row {
  display: flex; justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}
.hours .row .d { font-family: var(--font-display); font-size: 1.2rem; }
.hours .row .t { color: var(--accent); font-weight: 700; font-family: var(--font-body); font-size: 0.92rem; letter-spacing: 0.04em; }
.visit-detail { display: flex; gap: 12px; margin-top: 22px; }
.visit-detail .blk { flex: 1; }
.visit-detail .blk .lab { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.visit-detail .blk a { text-decoration: none; }
.visit-map { position: relative; min-height: 520px; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.02); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 14px;
  margin-top: 54px;
}
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 4px; position: relative; }
.gallery-grid img, .gallery-grid .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid .span2 { grid-column: span 2; }
.gallery-grid .row2 { grid-row: span 2; }
.gallery-grid .extra { display: none; }
.gallery-grid.expanded .extra { display: block; }
.gallery-more { text-align: center; margin-top: 30px; }
.gallery-scrollbar { display: none; }

/* Image placeholder (for new photography) */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(200,118,60,0.10) 0 14px, rgba(200,118,60,0.04) 14px 28px),
    var(--bg-alt);
  border: 1px dashed var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  text-align: center;
  border-radius: 4px;
}
.ph .ph-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  line-height: 1.4;
}
.ph .ph-label b { display: block; font-size: 0.66rem; opacity: 0.65; margin-top: 4px; font-weight: 500; }

/* ============================================================
   Newsletter (copper band)
   ============================================================ */
.newsletter {
  background: var(--accent);
  color: #211e1a;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/wood.jpg");
  background-size: cover;
  opacity: 0.12;
  mix-blend-mode: multiply;
}
/* Slim band variant */
.newsletter.slim { padding: 52px 0; }
.newsletter .nl-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 440px);
  gap: 56px;
  align-items: center;
}
.newsletter .nl-copy .eyebrow { color: #3a2613; margin-bottom: 8px; }
.newsletter .nl-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0;
  color: #2a1c0e;
  line-height: 1.1;
}
.newsletter .nl-sub {
  margin: 12px 0 0;
  max-width: 460px;
  color: #4a3318;
  font-size: 0.98rem;
  line-height: 1.5;
}
.newsletter .nl-action { width: 100%; }
.nl-form { display: flex; gap: 10px; }
.nl-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 16px 20px;
  border: 1px solid rgba(42, 28, 14, 0.3);
  border-radius: 2px;
  background: #fbf3e3;
  color: #2a1c0e;
}
.nl-form input::placeholder { color: #8a7253; }
.nl-form input:focus { outline: 2px solid #2a1c0e; outline-offset: 0; }
.nl-form button {
  background: #2a1c0e;
  color: #f6e7d2;
  border: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 30px;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.2s;
}
.nl-form button:hover { background: #11100c; }
.nl-fine { font-size: 0.74rem; color: #4a3318; margin-top: 12px; opacity: 0.85; }
.nl-ok { margin-top: 12px; font-weight: 700; color: #2a1c0e; display: none; }
.nl-ok.show { display: block; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--char);
  color: var(--char-ink-soft);
  padding: 76px 0 40px;
  position: relative;
}
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer img.f-logo { width: 230px; margin-bottom: 20px; }
.footer p { margin: 0 0 8px; font-size: 0.92rem; }
.footer h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 18px;
}
.footer a { color: var(--char-ink); text-decoration: none; }
.footer a:hover { color: var(--accent-soft); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer .f-bottom {
  border-top: 1px solid var(--char-hair);
  margin-top: 48px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer .f-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .section { padding: 80px 0; }
  .welcome .wrap { grid-template-columns: 1fr; gap: 54px; }
  .menufeat-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .visit .wrap { grid-template-columns: 1fr; }
  .visit-info { padding: 0 0 56px; }
  .visit-map { min-height: 380px; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav ul { display: none; }
}

@media (max-width: 820px) {
  .newsletter .nl-wrap { grid-template-columns: 1fr; gap: 18px; }
  .newsletter .nl-action { min-width: 0; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 22px; }
  .topbar { display: none; }
  .hero-inner { padding: 104px 22px 48px; }
  .hero-logo { width: 300px; }
  .hero-content { margin-top: 36px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 38px; font-size: 0.7rem; letter-spacing: 0.12em; }
  .hero-meta .sep { display: none; }
  /* Gallery becomes a swipe carousel on mobile */
  .gallery-grid {
    display: flex;
    grid-template-columns: none;
    grid-auto-rows: auto;
    gap: 0;
    margin: 54px -22px 0;
    padding: 4px 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid figure {
    flex: 0 0 84%;
    height: 260px;
    margin-right: 12px;
    scroll-snap-align: center;
    grid-column: auto;
    grid-row: auto;
  }
  .gallery-grid figure:last-child { margin-right: 0; }
  .gallery-grid .extra { display: block; }
  .gallery-more { display: none; }
  .gallery-scrollbar {
    display: block;
    height: 4px;
    width: 96px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: var(--hairline);
    overflow: hidden;
  }
  .gallery-scrollbar span {
    display: block;
    height: 100%;
    width: 30%;
    border-radius: 999px;
    background: var(--accent);
    transform: translateX(0);
  }
  .nl-form { flex-direction: column; }
  .nl-form button { padding: 14px; }
  .footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .welcome-media .stamp { right: 8px; }
}
