/* Mithaas Foods — shared styles
   Look follows the cvnt.in reference (black ground, tight lowercase sans, serif italic accent)
   carried in the catalogue's own crimson and gold. */

:root {
  --bg: #0b0908;
  --surface: #161210;
  --surface-2: #211a16;
  --ink: #f5f2ed;
  --muted: #b5ab9e;
  --red: #d0212a;
  --red-deep: #9e1820;
  --gold: #e3bb5d;
  --paper: #f3ece0;

  --font-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "DM Serif Text", Georgia, serif;

  --step-hero: clamp(2.75rem, 1.6rem + 5.6vw, 6rem);
  --step-1: clamp(2.1rem, 1.4rem + 3.2vw, 4.25rem);
  --step-2: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-small: 0.875rem;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 12vw, 200px);
  --radius: 18px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--surface-2) var(--bg); }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

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

/* ---------- type ---------- */
.display, h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: lowercase;
  margin: 0;
  text-wrap: balance;
}
h1, .display { font-size: var(--step-hero); }
h2 { font-size: var(--step-1); }
h3 { font-size: var(--step-2); letter-spacing: -0.03em; line-height: 1.05; }
em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); line-height: 1.5; max-width: 52ch; }
.muted { color: var(--muted); }
.measure { max-width: 65ch; }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 0;
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; text-transform: lowercase;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.pill:active { transform: scale(0.97); }
.pill--red { background: var(--red); color: #fff; }
.pill--light { background: var(--ink); color: var(--bg); }
.pill--ghost { background: var(--surface-2); color: var(--ink); }
.pill svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .pill--red:hover { background: var(--red-deep); }
  .pill--light:hover { background: var(--gold); }
  .pill--ghost:hover { background: #2e241e; }
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; text-transform: lowercase;
  min-height: 44px;
}
.text-link .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover .arrow { transform: translateX(4px); }
  .text-link:hover { color: var(--gold); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 240ms ease, transform 300ms var(--ease-out);
}
.site-header.is-solid { background: rgba(11, 9, 8, 0.94); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { width: 104px; height: auto; }
.nav-desktop { display: none; gap: 28px; }
.nav-desktop a {
  text-decoration: none; font-weight: 600; letter-spacing: -0.01em;
  color: var(--muted); transition: color 200ms ease;
}
.nav-desktop a[aria-current="page"], .nav-desktop a:hover { color: var(--ink); }
.site-header .pill { min-height: 42px; padding: 0 18px; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 999px; border: 0;
  background: var(--surface-2); cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.95); }
.menu-btn span, .menu-btn span::before {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform 260ms var(--ease-out);
}
.menu-btn span::before { content: ""; position: absolute; top: 6px; }
.menu-btn span { transform: translateY(-3px); }
.menu-btn[aria-expanded="true"] span { transform: translateY(0) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  .brand img { width: 120px; }
}

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  padding: 104px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 220ms var(--ease-out), visibility 0s linear 220ms;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 420ms var(--ease-drawer), visibility 0s;
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-size: clamp(2.6rem, 12vw, 4rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.1;
  text-decoration: none; text-transform: lowercase;
  padding: 6px 0;
}
@media (prefers-reduced-motion: no-preference) {
  .menu nav a { opacity: 0; transform: translateY(24px); transition: opacity 200ms ease, transform 200ms var(--ease-out); }
}
.menu.is-open nav a {
  opacity: 1; transform: none;
  transition: opacity 400ms ease, transform 500ms var(--ease-out);
}
.menu.is-open nav a:nth-child(2) { transition-delay: 50ms; }
.menu.is-open nav a:nth-child(3) { transition-delay: 100ms; }
.menu.is-open nav a:nth-child(4) { transition-delay: 150ms; }
.menu.is-open nav a:nth-child(5) { transition-delay: 200ms; }
.menu nav a[aria-current="page"] { color: var(--gold); }
.menu-foot { display: grid; gap: 12px; }
.menu-foot .pill { width: 100%; }
body.menu-open { overflow: hidden; }
body.menu-open .wa-float { visibility: hidden; }
@media (min-width: 960px) { .menu { display: none; } }

/* ---------- reveal (only hides when JS is running) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- home: hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 48px;
  overflow: clip;
}
.hero-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero-copy { display: grid; gap: 28px; position: relative; z-index: 2; }
.hero-copy .lead { color: var(--ink); }
.hero-copy .lead strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 560px);
  justify-self: center;
}
.hero-art img { position: absolute; }
.hero-art .a { width: 64%; left: 18%; top: 2%; animation: float 7s var(--ease-in-out) infinite alternate; }
.hero-art .b { width: 50%; left: 0; bottom: 4%; animation: float 8s var(--ease-in-out) -2s infinite alternate; }
.hero-art .c { width: 46%; right: 0; bottom: 12%; animation: float 9s var(--ease-in-out) -4s infinite alternate; }
@keyframes float {
  from { transform: translateY(-8px) rotate(-1.5deg); }
  to { transform: translateY(10px) rotate(1.5deg); }
}
.hero-tag {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-weight: 600; color: var(--muted); font-size: var(--step-small);
}
.hero-tag img { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 24px; }
  .hero-art { width: 100%; max-width: 620px; }
}

/* ---------- home: statement ---------- */
.statement {
  position: relative;
  padding-block: var(--section) clamp(40px, 6vw, 96px);
  text-align: center;
  overflow: clip;
}
.statement h2 { font-size: clamp(2.4rem, 1.2rem + 6vw, 6rem); position: relative; z-index: 1; }
.statement p { margin: 24px auto 0; max-width: 46ch; font-weight: 500; }
.statement .flyer {
  position: absolute; z-index: 2; pointer-events: none;
  width: clamp(120px, 18vw, 240px);
  will-change: transform;
}
.statement .flyer--l { left: 4%; top: 8%; }
.statement .flyer--r { right: 4%; bottom: 6%; }
@media (max-width: 759px) {
  .statement { padding-top: 160px; }
  .statement .flyer { width: 120px; }
  .statement .flyer--l { top: 24px; }
  .statement .flyer--r { display: none; }
}

/* ---------- home: categories list (hover preview) ---------- */
.cats { padding-block: var(--section) 0; }
.cats-head { display: grid; gap: 20px; margin-bottom: 48px; }
.cats-head p { color: var(--muted); max-width: 46ch; }
@media (min-width: 900px) {
  .cats-head { grid-template-columns: 1fr auto; align-items: end; }
}
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li + li { margin-top: 4px; }
.cat-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: background-color 200ms ease;
}
.cat-row .name {
  font-size: clamp(1.5rem, 0.9rem + 2.6vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; text-transform: lowercase;
}
.cat-row .meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 500; font-size: var(--step-small); }
.cat-row .thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
@media (min-width: 900px) {
  .cat-row { padding: 18px 28px; }
  .cat-row .thumb { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .cat-row:hover { background: var(--red); }
  .cat-row:hover .meta { color: #fff; }
}
.cat-preview {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.9);
  transition: opacity 200ms ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5); /* taste-skill-ignore: floats over the list */
}
.cat-preview { visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 200ms; }
.cat-preview.is-on { opacity: 1; visibility: visible; transition: opacity 200ms ease, visibility 0s; }
@media not all and (hover: hover) and (pointer: fine) { .cat-preview { display: none; } }
.cat-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home: collage ---------- */
.collage { padding-block: var(--section); position: relative; }
.collage-head { text-align: center; margin-bottom: 56px; display: grid; gap: 16px; justify-items: center; }
.collage-head p { color: var(--muted); }
.collage-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.tile { margin: 0; display: grid; gap: 8px; }
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.tile figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 12px; line-height: 1.35; font-size: 0.875rem; font-weight: 600; color: var(--muted); text-transform: lowercase; }
@media (min-width: 900px) {
  .collage-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; row-gap: 40px; }
  .tile:nth-child(1) { grid-column: 1 / span 3; }
  .tile:nth-child(2) { grid-column: 5 / span 4; margin-top: 96px; }
  .tile:nth-child(3) { grid-column: 10 / span 3; margin-top: 32px; }
  .tile:nth-child(4) { grid-column: 2 / span 4; }
  .tile:nth-child(5) { grid-column: 7 / span 3; margin-top: 140px; }
  .tile:nth-child(6) { grid-column: 11 / span 2; margin-top: 40px; }
  .tile:nth-child(7) { grid-column: 1 / span 3; margin-top: 24px; }
  .tile:nth-child(8) { grid-column: 5 / span 3; margin-top: -40px; }
  .tile:nth-child(9) { grid-column: 9 / span 4; }
}

/* ---------- home: bestsellers on black ---------- */
.stage { padding-block: var(--section); }
.stage-head { display: grid; gap: 16px; margin-bottom: 40px; }
.stage-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
.stage-item { display: grid; gap: 14px; justify-items: center; text-align: center; text-decoration: none; }
.stage-item img {
  width: min(72%, 360px); aspect-ratio: 1 / 1; object-fit: contain;
  transition: transform 500ms var(--ease-out);
}
.stage-item .t { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; text-transform: lowercase; }
.stage-item .s { color: var(--muted); font-size: var(--step-small); }
@media (min-width: 760px) { .stage-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } .stage-item img { width: min(100%, 360px); } }
@media (hover: hover) and (pointer: fine) {
  .stage-item:hover img { transform: translateY(-10px) rotate(-2deg) scale(1.03); }
}

/* ---------- red field (facts) ---------- */
.field-red { background: var(--red); color: #fff; padding-block: var(--section); }
.field-red .big { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.5rem); }
.facts { display: grid; gap: 40px; margin-top: 64px; }
.facts p { font-size: 1.05rem; max-width: 60ch; }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- contact strip ---------- */
.reach { padding-block: var(--section); }
.reach-grid { display: grid; gap: 40px; }
.reach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reach-list a, .reach-list span.line {
  display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius); background: var(--surface);
  text-decoration: none; font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em;
  word-break: break-word;
  transition: background-color 200ms ease;
}
.reach-list svg { width: 24px; height: 24px; color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .reach-list a:hover { background: var(--surface-2); } }
@media (min-width: 900px) { .reach-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }

/* ---------- footer ---------- */
.site-footer { padding-top: 96px; overflow: clip; background: var(--bg); }
.foot-top { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; }
.foot-top > :first-child, .foot-top > :last-child { grid-column: 1 / -1; }
.foot-top nav { display: grid; gap: 4px; }
.foot-top nav a { text-decoration: none; font-weight: 600; min-height: 36px; display: inline-flex; align-items: center; text-transform: lowercase; }
.foot-top nav a:hover { color: var(--gold); }
.foot-top .muted { font-size: 0.95rem; }
.foot-top img { width: 120px; }
@media (min-width: 760px) { .foot-top { grid-template-columns: 2fr 1fr 1fr 1.4fr; } .foot-top > :first-child, .foot-top > :last-child { grid-column: auto; } }
.wordmark {
  font-size: clamp(5rem, 25.5vw, 26rem);
  font-weight: 700; letter-spacing: -0.06em; line-height: 0.78;
  text-transform: lowercase; color: var(--red);
  margin-top: 64px; margin-bottom: -0.06em;
  white-space: nowrap; user-select: none;
}
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 96px; font-size: 0.95rem; color: var(--muted); }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 45;
  width: 58px; height: 58px; border-radius: 999px;
  display: grid; place-items: center;
  background: #25d366; color: #0b2e17;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45); /* taste-skill-ignore: floating button */
  transition: transform 160ms var(--ease-out);
  margin-bottom: env(safe-area-inset-bottom);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: translateY(-3px); } }

/* ---------- inner page hero ---------- */
.page-hero { padding-top: clamp(140px, 18vw, 220px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero .lead { margin-top: 28px; }

/* ---------- products page ---------- */
.chips {
  position: sticky; top: 76px; z-index: 20;
  transition: top 300ms var(--ease-out);
  background: rgba(11, 9, 8, 0.96);
  padding-block: 12px;
}
.chips .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.chips .wrap::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  display: inline-flex; align-items: center;
  background: var(--surface-2); text-decoration: none; font-weight: 600; font-size: 0.92rem; text-transform: lowercase;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip.is-active { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-active):hover { background: #2e241e; } }

.cat { padding-block: clamp(72px, 9vw, 140px); scroll-margin-top: 70px; }
.cat + .cat { border-top: 0; }
.cat-head { display: grid; gap: 18px; margin-bottom: 40px; }
.cat-head p { color: var(--muted); max-width: 60ch; }
@media (min-width: 900px) { .cat-head { grid-template-columns: 1fr 1fr; align-items: end; } }

.flavours { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.flavours li { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: 0.9rem; font-weight: 500; }
.flavour-block { display: grid; gap: 14px; margin-bottom: 36px; }
.flavour-block h3 { font-size: 1.1rem; letter-spacing: -0.01em; color: var(--gold); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--wide { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--wide { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: grid; grid-template-rows: auto 1fr; gap: 0;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
}
.card .ph { aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card .body { display: grid; gap: 8px; align-content: start; padding: 16px; }
.card h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.45rem); letter-spacing: -0.02em; }
.card .note { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.card .text-link { font-size: 0.95rem; color: var(--gold); margin-top: auto; min-height: 44px; }
.card .text-link svg { width: 16px; height: 16px; }
.header-hidden .chips { top: 0; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
@media (min-width: 900px) { .strip { gap: 24px; } }
@media (hover: hover) and (pointer: fine) {
  .card:hover .ph img { transform: scale(1.05); }
}

.sub-head { margin: clamp(80px, 9vw, 128px) 0 24px; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.big-list { list-style: none; margin: 0; padding: 0; }
.big-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 0;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; text-transform: lowercase;
}
.big-list li a { font-size: 0.9rem; letter-spacing: 0; font-weight: 600; color: var(--gold); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.cutout-pile { position: relative; aspect-ratio: 1 / 1; }
.cutout-pile img { position: absolute; }
.band { width: 100%; height: clamp(120px, 18vw, 220px); object-fit: cover; border-radius: var(--radius); margin-top: 40px; }

/* ---------- about page ---------- */
.story { display: grid; gap: 48px; }
.story-text { display: grid; gap: 22px; }
.story-text p { max-width: 62ch; }
.story-text p:first-of-type { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; }
.story-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.story-pics img:nth-child(even) { margin-top: 64px; }
.story-pics img:nth-child(3) { margin-top: -64px; }
@media (min-width: 900px) { .story { grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; } }

.houses { display: grid; gap: 16px; margin-top: 56px; }
.house { padding: 28px; border-radius: var(--radius); background: var(--surface); display: grid; gap: 10px; }
.house h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.house p { color: var(--muted); }
@media (min-width: 760px) { .houses { grid-template-columns: repeat(3, 1fr); } }

/* licences gallery */
.licences { padding-block: var(--section); scroll-margin-top: 80px; }
.lic-head { display: grid; gap: 18px; margin-bottom: 40px; }
.lic-head p { color: var(--muted); max-width: 58ch; }
.lic-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .lic-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .lic-grid { grid-template-columns: repeat(4, 1fr); } }
.lic {
  width: 100%; padding: 0; border: 0; cursor: zoom-in; text-align: left;
  display: grid; gap: 12px; background: none;
  transition: transform 160ms var(--ease-out);
}
.lic:active { transform: scale(0.98); }
.lic .frame {
  aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden;
  background: var(--paper); display: grid; place-items: center; padding: 10px;
}
.lic .frame img { width: 100%; height: 100%; object-fit: contain; transition: transform 600ms var(--ease-out); }
.lic .cap { display: grid; gap: 2px; }
.lic .cap strong { font-weight: 700; letter-spacing: -0.01em; }
.lic .cap span { color: var(--muted); font-size: 0.9rem; }
@media (hover: hover) and (pointer: fine) { .lic:hover .frame img { transform: scale(1.03); } }

.lightbox {
  border: 0; padding: 0; background: transparent; color: var(--ink);
  width: min(92vw, 820px); max-height: 92svh;
  opacity: 0; transform: scale(0.96);
  transition: opacity 200ms ease, transform 240ms var(--ease-out), overlay 240ms allow-discrete, display 240ms allow-discrete;
}
.lightbox[open] { opacity: 1; transform: none; }
@starting-style { .lightbox[open] { opacity: 0; transform: scale(0.96); } }
.lightbox::backdrop { background: rgba(5, 4, 3, 0.95); }
.lightbox figure { margin: 0; display: grid; gap: 12px; }
.lightbox img { max-height: 78svh; width: auto; margin-inline: auto; border-radius: 10px; background: var(--paper); }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox .close { min-height: 44px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 36px); background: var(--surface); border-radius: var(--radius); }
.form h2 { font-size: var(--step-2); margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border-radius: 12px; border: 1px solid #3a2f28; background: var(--bg);
  font-size: 16px; /* stops iOS zoom */
  transition: border-color 200ms ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .err { color: #ff8a8f; font-size: 0.88rem; display: none; }
.field.has-error input { border-color: #ff8a8f; }
.field.has-error .err { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.map {
  width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--radius);
  filter: grayscale(0.4) contrast(1.05); background: var(--surface);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; }
  .statement .flyer { transform: none !important; }
  .card .ph img, .stage-item img, .lic .frame img { transition: none; }
  .lightbox { transform: none; }
}

.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; }
