/* Font di-self-host (subset latin). Nol permintaan pihak ketiga:
   lebih cepat, dan tidak ada IP pengunjung yang bocor ke CDN Google (GDPR).
   Regenerate dengan: python fetch_fonts.py */
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/karla-300.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/karla-400.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/karla-500.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/karla-600.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/karla-700.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display SC'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/playfair-display-sc-400.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display SC'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/playfair-display-sc-700.woff2') format('woff2'); }

/* =============================================================
   Efes Kebab & Pizza — Barnstaple
   Design system: Editorial Grid + Luxury/Premium palette
   Sumber: skill ui-ux-pro-max (styles.csv, colors.csv, typography.csv)
   ============================================================= */

:root {
  /* Palet: Luxury/Premium Brand (charcoal + gold) */
  --ink:        #1C1917;
  --ink-soft:   #44403C;
  --gold:       #A16207;   /* di atas latar terang */
  --gold-lift:  #C4841D;   /* di atas latar gelap  */

  /* Aksen aksi: Restaurant/Food Service */
  --flame:      #DC2626;
  --flame-dark: #B91C1C;

  --paper:      #FAFAF9;
  --paper-warm: #F4F0EA;
  --line:       #D6D3D1;
  --line-soft:  #E7E5E4;
  --muted:      #57534E;
  --white:      #FFFFFF;

  --shell:  min(1180px, 100% - 2.5rem);
  --rule:   1px solid var(--line);
  --ease:   cubic-bezier(.2, .6, .3, 1);
  --t:      200ms var(--ease);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* Grain halus — kehangatan material, bukan gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display SC', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.shell { width: var(--shell); margin-inline: auto; }

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
}
.eyebrow--onDark { color: var(--gold-lift); }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.25rem; z-index: 10000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Utility bar ---------- */
.util {
  background: var(--ink);
  color: #E7E5E4;
  font-size: .8125rem;
  border-bottom: 1px solid var(--gold);
}
.util__in {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem;
  padding: .6rem 0;
}
.util__hours { display: flex; align-items: center; gap: .55rem; letter-spacing: .02em; }
.util__tel {
  font-weight: 700; letter-spacing: .06em;
  text-decoration: none; color: var(--white);
  transition: color var(--t);
  cursor: pointer;
}
.util__tel:hover { color: var(--gold-lift); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.is-open .dot { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.22); }
.is-shut .dot { background: #A8A29E; }

/* ---------- Masthead ---------- */
.masthead { background: var(--paper); border-bottom: var(--rule); }
.masthead__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.35rem 0;
}

.wordmark { text-decoration: none; display: block; line-height: 1; cursor: pointer; }
.wordmark__a {
  font-family: 'Playfair Display SC', Georgia, serif;
  font-size: clamp(1.65rem, 4.2vw, 2.15rem);
  font-weight: 700; letter-spacing: .1em; color: var(--ink);
  display: block;
}
.wordmark__b {
  display: block; margin-top: .3rem;
  font-size: .625rem; font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  text-decoration: none;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
  cursor: pointer;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--flame); }

@media (max-width: 860px) {
  .masthead__in { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .nav { flex-wrap: wrap; gap: 1.15rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.06) brightness(.42); }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,25,23,.94) 0%, rgba(28,25,23,.74) 46%, rgba(28,25,23,.42) 100%);
}
.hero__in { position: relative; padding: clamp(4rem, 11vw, 7.5rem) 0 clamp(3rem, 8vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; align-items: start; } }

.hero h1 {
  font-size: clamp(2.5rem, 7.4vw, 4.75rem);
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--gold-lift); display: block; }
.hero__lead { font-size: clamp(1.05rem, 2.1vw, 1.25rem); color: #D6D3D1; max-width: 40ch; font-weight: 300; }

.hero__rule { width: 84px; height: 3px; background: var(--gold-lift); margin: 0 0 2rem; }

.hero__card { background: rgba(250,250,249,.06); border: 1px solid rgba(214,211,209,.22); padding: 1.75rem; }
.hero__card dl { margin: 0; display: grid; gap: 1.1rem; }
.hero__card dt {
  font-size: .6875rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-lift); margin-bottom: .3rem;
}
.hero__card dd { margin: 0; font-size: 1rem; color: #E7E5E4; line-height: 1.5; }
.hero__card dd b { color: var(--white); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: 'Karla', sans-serif;
  font-size: .875rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 1.05rem 1.9rem; border: 2px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--call { background: var(--flame); color: var(--white); }
.btn--call:hover { background: var(--flame-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(214,211,209,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold-lift); color: var(--gold-lift); }
.btn--ink { border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--white); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.3rem; }

/* ---------- Section frame ---------- */
.band { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.band--warm { background: var(--paper-warm); }
.band--ink { background: var(--ink); color: #E7E5E4; }
.band--ink h2, .band--ink h3 { color: var(--white); }

.band__head { max-width: 62ch; margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.band__head h2 { font-size: clamp(1.85rem, 4.4vw, 2.85rem); margin-bottom: 1rem; }
.band__head p { color: var(--muted); font-size: 1.0625rem; }
.band--ink .band__head p { color: #A8A29E; }

/* ---------- Menu index (editorial asymmetric grid) ---------- */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--line); border: var(--rule); }
.cat {
  grid-column: span 3;
  background: var(--paper);
  padding: 1.75rem 1.5rem 1.6rem;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; min-height: 190px;
  transition: background var(--t);
  cursor: pointer;
  position: relative;
}
.cat:hover { background: var(--white); }
.cat--wide { grid-column: span 6; min-height: 320px; }
.cat--feature { grid-column: span 6; min-height: 320px; padding: 0; overflow: hidden; }

.cat__no {
  font-size: .6875rem; font-weight: 700; letter-spacing: .16em;
  color: var(--gold); margin-bottom: auto;
}
.cat__name {
  font-family: 'Playfair Display SC', Georgia, serif;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 700;
  margin: 1.5rem 0 .5rem; line-height: 1.15;
}
.cat--wide .cat__name { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.cat__blurb { font-size: .9375rem; color: var(--muted); margin: 0 0 1rem; }
.cat__count {
  font-size: .75rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: .6rem;
}
.cat__count::after {
  content: ''; width: 22px; height: 1px; background: var(--gold);
  transition: width var(--t);
}
.cat:hover .cat__count::after { width: 40px; }

.cat__photo { position: relative; height: 100%; min-height: 320px; }
.cat__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.cat--feature:hover .cat__photo img { transform: scale(1.04); }
.cat__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,25,23,.9) 12%, rgba(28,25,23,.15) 62%); }
.cat__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.9rem 1.75rem; color: var(--white); z-index: 1; }
.cat__overlay .cat__name { color: var(--white); margin-top: .4rem; }
.cat__overlay .cat__blurb { color: #D6D3D1; }
.cat__overlay .cat__count { color: var(--gold-lift); }
.cat__overlay .cat__no { color: var(--gold-lift); }
@media (prefers-reduced-motion: reduce) { .cat__photo img { transition: none; } .cat--feature:hover .cat__photo img { transform: none; } }

@media (max-width: 1024px) { .cat { grid-column: span 4; } .cat--wide, .cat--feature { grid-column: span 8; } }
@media (max-width: 780px)  { .cat { grid-column: span 6; } .cat--wide, .cat--feature { grid-column: span 12; } }
@media (max-width: 520px)  { .cat, .cat--wide, .cat--feature { grid-column: span 12; } }

/* ---------- Strip band (banner pulih dari arsip) ---------- */
.strip { position: relative; background: var(--ink); overflow: hidden; }
.strip img { width: 100%; height: clamp(180px, 26vw, 300px); object-fit: cover; filter: grayscale(.4) brightness(.44) contrast(1.05); }
.strip__in {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: 1.5rem;
}
.strip__in p {
  font-family: 'Playfair Display SC', Georgia, serif;
  font-size: clamp(1.35rem, 3.6vw, 2.35rem);
  color: var(--white); margin: 0; line-height: 1.25;
}
.strip__in span { display: block; margin-top: .9rem; font-family: 'Karla', sans-serif;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lift); }

/* ---------- Story (drop cap) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.story__copy p:first-of-type::first-letter {
  float: left; font-family: 'Playfair Display SC', Georgia, serif;
  font-size: 3.9em; line-height: .82; font-weight: 700;
  margin: .06em .12em 0 0; color: var(--gold);
}
.story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story__cap { font-size: .8125rem; color: var(--muted); margin-top: .8rem; font-style: italic; }

/* ---------- Reviews / pull quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.quote { border-top: 3px solid var(--gold-lift); padding-top: 1.75rem; }
.quote blockquote {
  margin: 0 0 1.35rem;
  font-family: 'Playfair Display SC', Georgia, serif;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.34; font-weight: 400;
}
.band--ink .quote blockquote { color: var(--white); }
.quote__by { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.quote__date { font-size: .8125rem; color: #A8A29E; margin-top: .25rem; }

/* ---------- Info / contact ---------- */
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: var(--rule); }
.info__cell { background: var(--paper); padding: 2rem 1.75rem; }
.info__cell h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.info__cell address { font-style: normal; color: var(--muted); line-height: 1.7; }
.tel-lg {
  font-family: 'Playfair Display SC', Georgia, serif;
  font-size: clamp(1.5rem, 3.6vw, 2rem); font-weight: 700;
  text-decoration: none; color: var(--ink);
  display: inline-block; border-bottom: 3px solid var(--flame);
  padding-bottom: .15rem; transition: color var(--t); cursor: pointer;
}
.tel-lg:hover { color: var(--flame); }

.hours-tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.hours-tbl th, .hours-tbl td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); }
.hours-tbl th { font-weight: 600; color: var(--ink-soft); }
.hours-tbl td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-tbl tr:last-child th, .hours-tbl tr:last-child td { border-bottom: 0; }

/* ---------- Notice ---------- */
.notice { border-left: 3px solid var(--gold); background: var(--paper-warm); padding: 1.4rem 1.6rem; }
.notice h3 { font-size: 1rem; margin-bottom: .5rem; }
.notice p { font-size: .9375rem; color: var(--muted); }

/* ---------- Menu category page ---------- */
.crumb { font-size: .8125rem; color: var(--muted); padding: 1.5rem 0; letter-spacing: .04em; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.crumb a { text-decoration: none; color: var(--muted); border-bottom: 1px solid var(--line); transition: color var(--t), border-color var(--t); cursor: pointer; }
.crumb a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.crumb li::after { content: '/'; margin-left: .55rem; color: var(--line); }
.crumb li:last-child::after { content: ''; }
.crumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.page-head { padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(2.25rem, 5vw, 3rem); border-bottom: var(--rule); }
.page-head h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 1.1rem; }
.page-head p { color: var(--muted); max-width: 58ch; font-size: 1.0625rem; }
.page-head .cat__count { margin-top: 1.4rem; }

.dishes { list-style: none; margin: 0; padding: 0; }
.dish { display: flex; align-items: baseline; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.dish__name { font-weight: 600; }
.dish__desc { display: block; font-size: .9375rem; color: var(--muted); font-weight: 400; margin-top: .2rem; }
.dish__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.dish__price { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }

.pending { border: 1px solid var(--line); background: var(--white); padding: clamp(1.75rem, 4vw, 2.5rem); }
.pending h2 { font-size: 1.35rem; margin-bottom: .85rem; }
.pending p { color: var(--muted); max-width: 60ch; }
.pending .btn { margin-top: 1.5rem; }

.sib { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.sib a {
  font-size: .8125rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  border: 1px solid var(--line); padding: .6rem 1rem;
  transition: border-color var(--t), color var(--t), background var(--t);
  cursor: pointer;
}
.sib a:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #A8A29E; padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; font-size: .9375rem; }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #292524; }
.foot h4 { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lift); margin-bottom: 1.1rem; font-family: 'Karla', sans-serif; font-weight: 700; }
.foot address { font-style: normal; line-height: 1.75; }
.foot a { color: #D6D3D1; text-decoration: none; transition: color var(--t); cursor: pointer; }
.foot a:hover { color: var(--gold-lift); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot__base { padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .8125rem; color: #78716C; }

/* ---------- Sticky call bar (mobile) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; background: var(--flame);
  box-shadow: 0 -6px 22px rgba(28,25,23,.24);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.05rem; color: var(--white); text-decoration: none;
  font-weight: 700; letter-spacing: .11em; text-transform: uppercase; font-size: .875rem;
  cursor: pointer;
}
.callbar svg { width: 17px; height: 17px; }
@media (max-width: 780px) {
  .callbar { display: block; }
  body { padding-bottom: 58px; }
}

@media print {
  .util, .callbar, .nav, .hero__media { display: none; }
  body { background: #fff; }
}
