/* Mother India Kitchen — 60 Port Road, Alberton SA
   Visual language: near-black canvas, the food supplies the colour.
   Brand devices: tricolour leaf mark, tricolour hairline rule, numbered section index. */

:root {
  --ink:        #0C0B0A;
  --ink-2:      #151210;
  --ink-3:      #1E1A16;
  --ink-4:      #2A241E;
  --saffron:    #F09018;
  --saffron-hi: #FFAA3D;
  --green:      #0A9A50;
  --green-hi:   #16B862;
  --bone:       #F3EDE2;
  --bone-dim:   #A2988A;
  --bone-faint: #6E665C;

  --display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --body: 'Zilla Slab', Georgia, serif;

  --gut: 24px;
  --max: 1200px;
  --hdr: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

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

/* ── tricolour hairline: the brand's divider device ───────────────── */
.tri {
  display: flex; height: 3px; width: 120px; border: 0; margin: 0;
}
.tri span { flex: 1; }
.tri span:nth-child(1) { background: var(--saffron); }
.tri span:nth-child(2) { background: var(--bone); }
.tri span:nth-child(3) { background: var(--green); }
.tri--full { width: 100%; height: 4px; }

/* ── section index numeral ────────────────────────────────────────── */
.idx {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--saffron);
  display: block;
  margin-bottom: 16px;
}

/* ── buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 26px; min-height: 48px;
  border: 2px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--solid { background: var(--saffron); color: #17110A; }
.btn--solid:hover { background: var(--saffron-hi); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink-4); color: var(--bone); }
.btn--ghost:hover { border-color: var(--saffron); color: var(--saffron); }
.btn--green { background: var(--green); color: #04160C; }
.btn--green:hover { background: var(--green-hi); transform: translateY(-2px); }

/* ── header ───────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(12, 11, 10, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-3);
}
.hdr__in {
  height: var(--hdr);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; min-height: 44px; }
.brand img { height: 38px; width: auto; }
.brand__txt {
  font-family: var(--display); font-weight: 800; font-size: 15px;
  line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase;
}
.brand__txt span { display: block; color: var(--saffron); }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  text-decoration: none; color: var(--bone-dim);
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); border-bottom-color: var(--saffron); }

.hdr__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr__tel {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  text-decoration: none; color: var(--bone); white-space: nowrap;
}
.hdr__tel:hover { color: var(--saffron); }

.burger {
  display: none; width: 48px; height: 48px; margin-left: auto;
  background: none; border: 1px solid var(--ink-4); border-radius: 2px;
  color: var(--bone); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* mobile drawer + sticky action bar — both need a BASE display:none,
   not only a rule inside the media query */
.drawer { display: none; }
.mobar { display: none; }

@media (max-width: 900px) {
  .nav, .hdr__tel, .hdr__cta { display: none; }
  .burger { display: flex; }
  .drawer.is-open {
    display: block;
    position: fixed; inset: var(--hdr) 0 0 0; z-index: 75;
    background: var(--ink); padding: 32px var(--gut);
    overflow-y: auto;
  }
  .mobar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px var(--gut);
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 11, 10, .97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--ink-3);
  }
  .mobar .btn { width: 100%; padding: 14px 10px; font-size: 14px; }
  body { padding-bottom: 88px; }
  .drawer a {
    display: block; font-family: var(--display); font-weight: 700; font-size: 26px;
    text-decoration: none; color: var(--bone);
    padding: 18px 0; border-bottom: 1px solid var(--ink-3);
  }
  .drawer .btn { width: 100%; margin-top: 24px; }
}

/* ── hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; border-bottom: 1px solid var(--ink-3); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch;
  min-height: 640px;
}
.hero__copy { padding: 88px 0 88px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(46px, 6.2vw, 92px); }
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero__lede {
  margin: 28px 0 0; max-width: 30em; font-size: 19px; color: var(--bone-dim);
}
.hero__lede b { color: var(--bone); font-weight: 600; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero__media { position: relative; margin-right: calc(50% - 50vw); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(12,11,10,.35) 22%, rgba(12,11,10,0) 55%);
}

/* live open/closed state — reflects real trading hours, not decoration */
.state {
  display: flex; align-items: center; gap: 10px; margin-top: 32px;
  font-size: 15px; color: var(--bone-dim);
}
.state__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bone-faint); flex: none; }
.state.is-open .state__dot { background: var(--green-hi); }
.state.is-shut .state__dot { background: var(--saffron); }
.state b { color: var(--bone); font-weight: 600; }

/* ── generic section ──────────────────────────────────────────────── */
.sec { padding: 104px 0; }
.sec--tight { padding: 80px 0; }
.sec__head { max-width: 40rem; }
.sec__head h2 { font-size: clamp(34px, 4.4vw, 58px); }
.sec__head p { color: var(--bone-dim); margin: 20px 0 0; font-size: 18px; }

/* ── 02 signature dishes ──────────────────────────────────────────── */
.sig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.sig__card {
  position: relative; background: var(--ink-2);
  border: 1px solid var(--ink-3); overflow: hidden;
  display: flex; flex-direction: column;
}
.sig__card img { width: 100%; height: 300px; object-fit: cover; }
.sig__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sig__body h3 { font-size: 24px; }
.sig__body p { margin: 0; color: var(--bone-dim); font-size: 16px; line-height: 1.5; flex: 1; }
.sig__price {
  font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--saffron);
}

/* ── full-bleed photo band ────────────────────────────────────────── */
.band { position: relative; min-height: 460px; display: flex; align-items: flex-end; }
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,11,10,.70) 0%, rgba(12,11,10,.45) 32%, rgba(12,11,10,.97) 88%),
    linear-gradient(90deg, rgba(12,11,10,.85) 0%, rgba(12,11,10,.25) 62%, rgba(12,11,10,.1) 100%);
}
.band__in { position: relative; width: 100%; padding: 0 var(--gut) 64px; }
.band h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 18em; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.band p { color: var(--bone); max-width: 34em; margin: 16px 0 0; text-shadow: 0 1px 16px rgba(0,0,0,.7); }

/* ── printed-menu list ────────────────────────────────────────────── */
.card-menu { background: var(--ink-2); border: 1px solid var(--ink-3); padding: clamp(28px, 4vw, 56px); }
.mcols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.mgroup { break-inside: avoid; margin-bottom: 40px; }
.mgroup:last-child { margin-bottom: 0; }
.mgroup > h3 {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--saffron); font-weight: 700; margin-bottom: 6px;
}
.mgroup > .tri { width: 64px; height: 2px; margin-bottom: 20px; }
.mrow {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; border-bottom: 1px dotted var(--ink-4);
}
.mrow:last-child { border-bottom: 0; }
.mrow__name { font-weight: 500; }
.mrow__dot { flex: 1; border-bottom: 1px dotted var(--ink-4); transform: translateY(-4px); }
.mrow__price { font-family: var(--display); font-weight: 700; color: var(--bone); white-space: nowrap; }
.menu-foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.menu-foot p { margin: 0; color: var(--bone-dim); font-size: 16px; }

/* ── photo strip ──────────────────────────────────────────────────── */
.strip {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 8px;
  border-top: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3);
}
.strip::-webkit-scrollbar { display: none; }
.strip img { width: 260px; height: 220px; object-fit: cover; flex: none; filter: saturate(1.05); }

/* ── how to order: numbered rows, not icon cards ──────────────────── */
.routes { margin-top: 56px; border-top: 1px solid var(--ink-3); }
.route {
  display: grid; grid-template-columns: 72px 1fr 260px; gap: 32px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--ink-3);
}
.route__n {
  font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1;
  color: var(--ink-4);
}
.route__b h3 { font-size: 26px; margin-bottom: 10px; }
.route__b p { margin: 0; color: var(--bone-dim); max-width: 34em; }
.route__a { display: flex; justify-content: flex-end; }
.route__a .btn { width: 100%; }

/* ── find us ──────────────────────────────────────────────────────── */
.find { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.hours { width: 100%; border-collapse: collapse; margin-top: 32px; }
.hours th, .hours td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--ink-3); font-weight: 400; }
.hours th { font-family: var(--display); font-weight: 700; font-size: 15px; width: 44%; }
.hours td { color: var(--bone-dim); }
.hours tr.is-today th { color: var(--saffron); }
.hours tr.is-today td { color: var(--bone); }
.find__photo { display: flex; }
.find__photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; border: 1px solid var(--ink-3); }
.addr { margin: 28px 0 0; font-size: 19px; line-height: 1.5; }
.addr a { color: var(--saffron); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ── footer ───────────────────────────────────────────────────────── */
.ftr { background: var(--ink-2); border-top: 1px solid var(--ink-3); padding: 72px 0 40px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.ftr h4 {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-faint); font-weight: 700; margin-bottom: 18px;
}
.ftr p, .ftr li { color: var(--bone-dim); margin: 0 0 8px; font-size: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr a { color: var(--bone-dim); text-decoration: none; }
.ftr a:hover { color: var(--saffron); }
.ftr__bar {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ink-3);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--bone-faint); font-size: 14px;
}

/* ── menu page ────────────────────────────────────────────────────── */
.mhero { padding: 72px 0 48px; border-bottom: 1px solid var(--ink-3); }
.mhero h1 { font-size: clamp(40px, 5.4vw, 76px); }
.mhero p { color: var(--bone-dim); max-width: 38em; margin: 20px 0 0; font-size: 18px; }

.mjump {
  position: sticky; top: var(--hdr); z-index: 40;
  background: rgba(12,11,10,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-3);
}
.mjump__in { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.mjump__in::-webkit-scrollbar { display: none; }
.mjump a {
  font-family: var(--display); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 16px; border: 1px solid var(--ink-4); border-radius: 2px;
  text-decoration: none; color: var(--bone-dim); white-space: nowrap;
}
.mjump a:hover { color: var(--saffron); border-color: var(--saffron); }

.mcat { padding: 72px 0; border-bottom: 1px solid var(--ink-3); }
.mcat__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.mcat__head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.mcat__head p { margin: 0; color: var(--bone-dim); }
.mlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.mitem { padding: 18px 0; border-bottom: 1px solid var(--ink-3); }
.mitem__top { display: flex; align-items: baseline; gap: 12px; }
.mitem__name { font-family: var(--display); font-weight: 700; font-size: 18px; }
.mitem__dot { flex: 1; border-bottom: 1px dotted var(--ink-4); transform: translateY(-4px); }
.mitem__price { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--saffron); white-space: nowrap; }
.mitem__desc { margin: 6px 0 0; font-size: 15px; color: var(--bone-dim); line-height: 1.5; max-width: 42em; }
.mitem--photo { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.mitem--photo img { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--ink-3); }

/* ── responsive ───────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .sig { grid-template-columns: 1fr 1fr; }
  .route { grid-template-columns: 56px 1fr; }
  .route__a { grid-column: 2; justify-content: flex-start; }
  .route__a .btn { width: auto; }
}

@media (max-width: 860px) {
  :root { --gut: 20px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 56px 0 40px; order: 2; }
  .hero__media { order: 1; margin: 0 calc(-1 * var(--gut)); height: 320px; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(12,11,10,.2) 0%, rgba(12,11,10,.85) 100%);
  }
  .sec { padding: 72px 0; }
  .mcols, .mlist, .find, .ftr__grid, .mcat__head { grid-template-columns: 1fr; gap: 32px; }
  /* comfortable tap targets for the links people actually press on a phone */
  .addr a, .ftr a { display: inline-block; padding: 11px 0; min-height: 44px; }
  .ftr li { margin-bottom: 0; }
  .idx { font-size: 14px; }
  .find__photo img { height: 300px; }
  .band { min-height: 380px; }
  .strip img { width: 200px; height: 180px; }
}

@media (max-width: 560px) {
  /* photo dishes become a full-width feature so every name still starts on the same line */
  .mitem--photo { grid-template-columns: 1fr; gap: 14px; }
  .mitem--photo img { width: 100%; height: 180px; }
  .sig { grid-template-columns: 1fr; }
  .sig__card img { height: 240px; }
  .hero__acts .btn { width: 100%; }
  .ftr__grid { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
