/* 901 Smash Burgers — area-code stamp signature */
:root {
  --ink: #0b0b0b;
  --ink-2: #161616;
  --paper: #f3efe4;
  --paper-2: #e7e1d2;
  --yellow: #ffd21f;
  --yellow-deep: #c79200;
  --steel: #6d675c;
  --steel-2: #8a8376;
  --roof: #1a2630;
  --halo: rgba(255, 210, 31, .18);
  --disp: "Oswald", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --max: 1120px;
  --pad: clamp(18px, 4vw, 36px);
  --stamp: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--ink); color: var(--paper); }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.btn:focus-visible, .fab:focus-visible {
  outline: 3px solid var(--ink);
  box-shadow: 0 0 0 5px var(--yellow);
}
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 80;
  background: var(--yellow); color: var(--ink); font-weight: 700;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Quiet postmark texture — Memphis cancellation marks */
.postmark,
.favs, .visit {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><g fill='none' stroke='%230b0b0b' stroke-width='1.2' opacity='0.045'><circle cx='70' cy='70' r='34'/><circle cx='70' cy='70' r='26'/><path d='M40 70h-18M70 40v-18M100 70h18M70 100v18'/><text x='118' y='66' font-family='Arial,sans-serif' font-size='11' font-weight='700' letter-spacing='1.4' fill='%230b0b0b' stroke='none' opacity='1'>MEMPHIS TN</text><text x='118' y='82' font-family='Arial,sans-serif' font-size='10' letter-spacing='1.6' fill='%230b0b0b' stroke='none'>38116  901</text></g></svg>");
  background-size: 220px 220px;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink);
  border-bottom: 2px solid var(--yellow);
}
.top-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand img { width: 44px; height: auto; }
.brand-name {
  font-family: var(--disp); font-weight: 600; font-size: 15px;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1.1;
}
.brand-name span { display: block; color: var(--yellow); letter-spacing: .2em; font-size: 11px; font-weight: 500; }
.nav-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255,210,31,.45); color: var(--yellow);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .x { display: none; }
.top.is-open .nav-toggle .b { display: none; }
.top.is-open .nav-toggle .x { display: block; }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink);
  border-bottom: 2px solid var(--yellow);
  padding: 10px var(--pad) 18px;
}
.top.is-open .nav {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 66px);
  background: var(--ink);
  padding-bottom: 32px;
}
.nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 4px;
  text-decoration: none;
  color: var(--paper);
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,210,31,.12);
}
.nav a:last-child { border-bottom: 0; }
.nav .ico { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; color: var(--yellow); }
.nav .ico svg { width: 20px; height: 20px; }
.nav a.order {
  margin-top: 12px;
  justify-content: center;
  background: var(--yellow); color: var(--ink);
  border: 0; border-radius: 999px; padding: 11px 20px;
  font-family: var(--disp); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.nav a.order:hover, .nav a.order:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.42); background: #ffe049; }
.nav a.order:active { transform: translateY(1px); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.nav a.order .ico { color: var(--ink); }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex; position: static; border: 0; padding: 0;
    align-items: center; gap: 2px;
  }
  .nav a {
    border: 0; padding: 8px 10px;
    font-size: 13px; font-weight: 600;
    letter-spacing: .04em;
    position: relative;
  }
  .nav a.ico-only span.label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  }
  .nav a.order { margin: 0 6px 0 10px; padding: 7px 16px; }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 66px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--roof);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-media picture, .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
@media (min-width: 860px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "photo" "copy";
    align-items: stretch;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  .hero-media {
    grid-area: photo;
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(300px, max(44vh, 26vw), 560px);
    overflow: hidden;
  }
  .hero-media img { object-position: center 52%; transform-origin: 50% 52%; }
  .hero-scrim {
    grid-area: photo;
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, rgba(11,11,11,0) 0 58%, rgba(11,11,11,.45) 82%, var(--ink) 100%);
  }
  .hero-copy {
    grid-area: copy;
    padding: 8px var(--pad) 40px;
    background: var(--ink);
  }
  .mark-901 { font-size: clamp(72px, 10vw, 128px); margin-bottom: 0; }
}
.hero-media img.ken {
  will-change: transform;
  transform: scale(1);
  animation: ken 22s var(--ease) forwards;
  transform-origin: 50% 18%;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,11,.08) 0 36%, rgba(11,11,11,.15) 52%, rgba(11,11,11,.55) 70%, rgba(11,11,11,.9) 100%);
}
@media (min-width: 860px) {
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(11,11,11,.02) 0 42%, rgba(11,11,11,.5) 64%, rgba(11,11,11,.84) 100%);
  }
}
.hero-copy {
  position: relative; z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad) 108px;
}
.mark-901 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(88px, 28vw, 180px);
  line-height: .75;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,210,31,.35);
  text-stroke: 2px rgba(255,210,31,.35);
  pointer-events: none;
  margin: 0 0 8px;
  user-select: none;
}
.hero h1 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(34px, 8vw, 68px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 12px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.slogan {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(24px, 5.8vw, 38px);
  letter-spacing: .03em;
  line-height: 1.15;
  color: var(--yellow);
  margin: 0 0 14px;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
  max-width: 18em;
}
.lede {
  max-width: 34em;
  margin: 0 0 22px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: #f4f1e8;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-socials{display:flex;gap:10px;margin:4px 0 18px;padding:0;list-style:none}
.hero-socials a{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;background:rgba(11,11,11,.45);border:1.5px solid rgba(255,210,31,.75);text-decoration:none;transition:background .2s,color .2s,transform .2s}
.hero-socials a:hover,.hero-socials a:focus-visible{background:var(--yellow);color:var(--ink);transform:translateY(-2px)}
.hero-socials svg{width:19px;height:19px;flex:none}


.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px;
  font-family: var(--disp); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; font-size: 15px;
}
.btn-primary {
  background: linear-gradient(180deg, #ffe049 0%, var(--yellow) 100%); color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink), 0 0 0 1px rgba(255,255,255,.22);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s;
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink), 0 0 0 1px rgba(255,255,255,.22); filter: none; }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink), 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid var(--yellow); }
.btn-ghost:hover { filter: brightness(1.06); }
.halal {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--disp);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--yellow);
}

/* Brush / smash-horizon dividers */
.horizon { display: block; width: 100%; height: 36px; margin-top: -1px; }
.horizon svg { display: block; width: 100%; height: 36px; }

/* Sections */
.section { padding: 56px var(--pad) 72px; }
.section .wrap { max-width: var(--max); margin: 0 auto; }
.kicker {
  font-family: var(--disp);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--yellow-deep);
  margin: 0 0 8px;
}
.favs .kicker, .visit .kicker { color: #8a5a00; }
.about .kicker { color: var(--yellow); }
h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(30px, 6vw, 52px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 14px;
}
h2 em { font-style: normal; color: var(--yellow-deep); }
.about h2 em, .gallery h2 em { color: var(--yellow); }
.intro { max-width: 38em; margin: 0 0 28px; color: inherit; }
.favs, .visit { background-color: var(--paper); color: var(--ink); }
.about, .gallery, .foot { background-color: var(--ink); color: var(--paper); }

/* Stamp frames */
.stamp {
  --hole: var(--paper);
  position: relative;
  background: var(--ink);
  padding: 11px;
  box-shadow:
    inset 0 0 0 2px var(--yellow),
    inset 0 0 0 5px var(--ink),
    inset 0 0 0 6px var(--yellow);
}
.stamp::before, .stamp::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  pointer-events: none;
  background: radial-gradient(circle at 8px 6px, var(--hole) 5px, transparent 5.6px) -8px 0 / 16px 12px;
  z-index: 2;
}
.stamp::before { top: -6px; }
.stamp::after { bottom: -6px; transform: rotate(180deg); }
.stamp-side {
  position: absolute; top: 8px; bottom: 8px; width: 12px;
  pointer-events: none; z-index: 2;
  background: radial-gradient(circle at 6px 8px, var(--hole) 5px, transparent 5.6px) 0 -8px / 12px 16px;
}
.stamp-side.l { left: -6px; }
.stamp-side.r { right: -6px; }
.ph { overflow: hidden; background: #111; }
.ph img { width: 100%; height: auto; aspect-ratio: 1600 / 1190; object-fit: cover; transition: transform .8s var(--ease); }
.stamp:hover .ph img { transform: scale(1.05); }
.about .stamp, .gallery .stamp { --hole: var(--ink); }
.visit .stamp { --hole: var(--paper); }
.about .ph img, .visit .ph img { aspect-ratio: 4 / 5; object-fit: cover; }
.visit .ph img { aspect-ratio: 3 / 2; }

.plaque {
  margin: 12px 2px 0;
  font-family: var(--disp);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 16px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.plaque small {
  font-family: var(--disp);
  font-weight: 500;
  letter-spacing: .14em;
  font-size: 10px;
  color: var(--steel);
  border: 1px solid var(--steel-2);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  flex: 0 0 34px;
}

/* Favorites rail */
.rail-wrap { position: relative; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 44%;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: var(--pad);
  padding: 8px 2px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow-deep) transparent;
}
.rail .card { scroll-snap-align: start; text-decoration: none; color: inherit; }
@media (min-width: 800px) {
  .rail { grid-auto-columns: 280px; }
}
.rail-ctrl {
  position: absolute; top: 42%;
  width: 40px; height: 40px;
  background: var(--ink); color: var(--yellow);
  border: 1px solid var(--yellow);
  display: grid; place-items: center;
  z-index: 3;
}
.rail-ctrl.prev { left: -6px; }
.rail-ctrl.next { right: -6px; }
.rail-ctrl svg { width: 18px; height: 18px; }
@media (max-width: 699px) {
  .rail-ctrl { display: none; }
}

/* About + visit layout */
.split {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  .split.visit-grid { grid-template-columns: .9fr 1.1fr; }
}
.about p, .visit p { margin: 0 0 14px; }
.hours { list-style: none; margin: 0 0 22px; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(11,11,11,.2);
  font-size: 15px;
}
.hours li.is-today {
  font-weight: 700;
  background: var(--yellow);
  margin: 0 -10px;
  padding: 7px 10px;
  border: 0;
}
.hours .today-tag {
  font-family: var(--disp);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10px;
  margin-left: 8px;
  font-weight: 600;
}
.addr {
  font-style: normal;
  font-weight: 700;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.35;
}

/* Footer */
.foot { padding: 48px var(--pad) 110px; border-top: 2px solid var(--yellow); }
.foot-in { max-width: var(--max); margin: 0 auto; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--yellow); }
.tel {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(28px, 6vw, 42px);
  letter-spacing: .04em;
  text-decoration: none !important;
  color: var(--yellow);
  display: inline-block;
  margin: 0 0 18px;
}
.foot-links {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  margin: 0 0 22px;
  padding: 0; list-style: none;
}
.foot-links a { display: inline-flex; align-items: center; gap: 8px; }
.foot-links .ico { width: 18px; height: 18px; display: grid; place-items: center; }
.legal { color: var(--steel-2); font-size: 13px; margin: 0; }

/* FAB */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px;
  min-width: 128px; min-height: 56px;
  padding: 10px 22px;
  background: var(--yellow); color: var(--ink);
  border: 0; border-radius: 999px;
  text-decoration: none;
  font-family: var(--disp); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.38);
  line-height: 1.05;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), opacity .25s, background .18s;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.44); background: #ffe049; }
.fab:active { transform: translateY(1px); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.fab svg { width: 22px; height: 22px; flex: none; }
.fab .fab-t { display: block; text-align: center; }
.fab small {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 3px;
}
.fab.is-hidden { opacity: 0; pointer-events: none; }

/* Reveals */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
}
html.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.hero-copy .rise {
  animation: rise .9s var(--ease) both;
}
.hero-copy h1.rise { animation-name: riseT; animation-duration: .7s; animation-delay: .05s; }
.hero-copy h1.rise em { display: inline-block; animation: riseT .7s var(--ease) .2s both; }
.hero-copy .rise.d1b { animation-delay: .2s; }
.hero-copy .rise.d2 { animation-delay: .36s; }
.hero-copy .rise.d2b { animation-delay: .48s; }
.hero-copy .rise.d3 { animation-delay: .6s; }
@keyframes riseT { from { transform: translateY(22px); } to { transform: none; } }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js-reveal .reveal { opacity: 1; transform: none; }
  .hero-media img.ken { transform: none; will-change: auto; }
  .stamp:hover .ph img { transform: none; }
}

@media (min-width: 860px) {
  .section { padding: 80px var(--pad) 96px; }
}

@media (min-width: 860px) {
  .mark-901 { display: none; }
  .hero h1 { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 8px; }
  .slogan { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 12px; }
  .lede { font-size: 16.5px; margin: 0 0 14px; max-width: 32em; }
  .hero-copy { padding: 8px var(--pad) 40px; }
  .halal { margin-top: 12px; }
}
@media (max-width: 859px) {
  .halal { padding-right: 148px; }
}

/* Google map (keyless lazy iframe) */
.map-box { position: relative; background: #e8e4dc; }
.map-box iframe { display: block; width: 100%; aspect-ratio: 3 / 2; min-height: 260px; border: 0; }
.map-credit { margin: 8px 2px 0; font-size: 12px; color: var(--steel); }
.kicker { display: none; }
.mark-901, .halal { display: none; }

body:has(#siteHeader.is-open) #orderFab { display: none; }




/* Mobile menu order sublabel */
.nav a.order .label small { display: block; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; margin-top: 2px; text-align: center; }
.nav a.order .label { display: block; line-height: 1.05; white-space: nowrap; }
@media (min-width: 980px) { .brand-name { white-space: nowrap; } .nav a { padding: 8px 9px; } }

/* Gallery: interlocking puzzle / bento grid */
.gallery {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><g fill='none' stroke='%23ffd21f' stroke-width='1.2' opacity='0.07'><circle cx='70' cy='70' r='34'/><circle cx='70' cy='70' r='26'/><path d='M40 70h-18M70 40v-18M100 70h18M70 100v18'/></g></svg>");
  background-size: 220px 220px;
  overflow: hidden;
  padding: 40px var(--pad) 48px;
}
.g-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.g-head h2 { margin: 0 0 10px; }
.gallery .intro { color: #d9d4c7; margin-bottom: 16px; }
.g-frame {
  container-type: inline-size;
  container-name: gal;
  width: 100%;
}
.g-wall {
  --cols: 2;
  --rows: 4;
  --gap: 8px;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-template-rows: repeat(var(--rows), 1fr);
  gap: var(--gap);
  width: 100%;
  box-sizing: border-box;
  background: #000;
  height: calc(
    (var(--rows) / var(--cols)) * (100cqw - (var(--cols) - 1) * var(--gap))
    + (var(--rows) - 1) * var(--gap)
  );
}
.g-tile {
  margin: 0;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #0b0b0b;
  transform: none;
}
.g-tile.desk { display: none; }
.g-tile.t4 { grid-column: 1 / span 2; grid-row: 1; }
.g-tile.t2 { grid-column: 1; grid-row: 2; }
.g-tile.t3 { grid-column: 2; grid-row: 2; }
.g-tile.t1 { grid-column: 1; grid-row: 3; }
.g-tile.t5 { grid-column: 2; grid-row: 3; }
.g-tile.t7 { grid-column: 1 / span 2; grid-row: 4; }
.g-tile:focus { outline: none; }
.g-tile:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.g-tile .ph {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b0b0b;
}
.g-tile picture,
.g-tile .ph picture,
.g-tile img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}
.g-tile img {
  object-fit: cover;
  object-position: center 57%;
  background: #0b0b0b;
  filter: none;
  opacity: 1;
}
.g-tile.sz-2x1 img { object-position: center center; }
.g-tile figcaption { display: none; }

@media (min-width: 860px) {
  .gallery { padding: 80px var(--pad) 96px; }
  .g-wall {
    --cols: 4;
    --rows: 4;
    --gap: 12px;
  }
  .g-tile.desk { display: block; }
  .g-tile.t1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .g-tile.t2 { grid-column: 3; grid-row: 1; }
  .g-tile.t3 { grid-column: 4; grid-row: 1; }
  .g-tile.t4 { grid-column: 3 / span 2; grid-row: 2; }
  .g-tile.t5 { grid-column: 1; grid-row: 3; }
  .g-tile.t9 { grid-column: 2; grid-row: 3; }
  .g-tile.t7 { grid-column: 3 / span 2; grid-row: 3; }
  .g-tile.t8 { grid-column: 1 / span 2; grid-row: 4; }
  .g-tile.t6 { grid-column: 3 / span 2; grid-row: 4; }
}

html.js-reveal .g-tile {
  opacity: 0;
  transform: scale(.97);
}
html.js-reveal .g-wall.is-in .g-tile {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
html.js-reveal .g-wall.is-in .g-tile.t1 { transition-delay: 0ms; }
html.js-reveal .g-wall.is-in .g-tile.t2 { transition-delay: 50ms; }
html.js-reveal .g-wall.is-in .g-tile.t3 { transition-delay: 90ms; }
html.js-reveal .g-wall.is-in .g-tile.t4 { transition-delay: 70ms; }
html.js-reveal .g-wall.is-in .g-tile.t5 { transition-delay: 110ms; }
html.js-reveal .g-wall.is-in .g-tile.t6 { transition-delay: 140ms; }
html.js-reveal .g-wall.is-in .g-tile.t7 { transition-delay: 120ms; }
html.js-reveal .g-wall.is-in .g-tile.t8 { transition-delay: 150ms; }
html.js-reveal .g-wall.is-in .g-tile.t9 { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .g-tile, html.js-reveal .g-wall.is-in .g-tile {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }
}

/* FAQ */
.faq { background-color: var(--paper-2); color: var(--ink); }
.faq h2 em { color: #8a5a00; }
.faq-in { display: grid; gap: 28px; }
.faq-side p { margin: 0 0 16px; max-width: 30em; }
@media (min-width: 860px) {
  .faq-in { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-side { position: sticky; top: 110px; }
}
.acc { border-top: 1.5px solid var(--ink); }
.q { border-bottom: 1px solid rgba(11,11,11,.22); }
.q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; }
.q summary::-webkit-details-marker { display: none; }
.q summary h3 { margin: 0; font-family: var(--disp); font-weight: 600; font-size: clamp(18px, 2.4vw, 21px); letter-spacing: .03em; text-transform: uppercase; line-height: 1.15; }
.q summary:hover h3 { color: #6b4500; }
.q summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pm { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.q[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.q .a p { margin: 0 0 18px; max-width: 40em; padding-right: 40px; }

/* Footer credit */
.powered { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #a8a294; font-size: 12px; text-decoration: none !important; }
.powered img { height: 22px; width: auto; }
.powered:hover, .powered:focus-visible { opacity: 1; color: var(--paper); }

/* Heading underline sweep on reveal (transform only, no layout shift) */
h2.reveal { position: relative; }
h2.reveal::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; background: var(--yellow); transform: scaleX(0); transform-origin: left center; }
.faq h2.reveal::after { background: var(--ink); }
html.js-reveal h2.reveal.in::after { transform: scaleX(1); transition: transform .7s var(--ease) .25s; }
html:not(.js-reveal) h2.reveal::after { transform: none; }
.g-head h2.reveal::after { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  h2.reveal::after { transform: none !important; }
  .btn-primary, .fab, .nav a.order { transition: none; }
  .btn-primary:hover, .fab:hover, .nav a.order:hover { transform: none; }
}
