/* ==========================================================================
   Peri Peri Original — 77 High Street, Yiewsley, West Drayton
   Direction: bright editorial grid, structured by flat brand colour blocks.
   Square edges, full-bleed blocks, hairline rules, generous whitespace.
   Photo slots and colour blocks are the same element: an empty slot reads
   as a deliberate brand panel, and becomes a photograph when one is added.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Schibsted";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted";
  src: url("../fonts/schibsted-grotesk-ext.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback: nothing reflows when the webfont arrives */
@font-face {
  font-family: "Schibsted Fallback";
  src: local("Helvetica Neue"), local("Arial"), local("Liberation Sans");
  size-adjust: 101.5%;
  ascent-override: 97.7%;
  descent-override: 25.8%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #fcfbf7;
  --paper-2: #f2efe6;
  --ink: #15140f;
  --ink-2: #4a463c;
  --ink-3: #787268;

  --green: #5c9735;          /* brand green, as supplied */
  --green-deep: #2f5a1a;     /* darker tone of the same hue, carries white type */
  --red: #d2101c;
  --red-deep: #a00912;
  --gold: #e8ae45;

  --line: rgba(21, 20, 15, 0.14);
  --line-soft: rgba(21, 20, 15, 0.08);
  --line-dark: rgba(252, 251, 247, 0.22);

  --font: "Schibsted", "Schibsted Fallback", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.78125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: clamp(1.125rem, 1.04rem + 0.36vw, 1.3125rem);
  --fs-lg: clamp(1.375rem, 1.15rem + 0.95vw, 2rem);
  --fs-xl: clamp(2rem, 1.35rem + 2.75vw, 3.5rem);
  --fs-hero: clamp(2.4rem, 1.35rem + 4.3vw, 4.5rem);

  --gutter: clamp(1.25rem, 0.55rem + 2.8vw, 4rem);
  --maxw: 1360px;
  --pad: clamp(4.5rem, 2.6rem + 6.5vw, 8.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.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;
}
.skip {
  position: absolute; left: 50%; top: 0; z-index: 300;
  transform: translate(-50%, -150%);
  background: var(--ink); color: var(--paper);
  padding: 0.8rem 1.4rem; font-weight: 600;
  transition: transform 0.18s ease;
}
.skip:focus { transform: translate(-50%, 0); }

/* ---------- Type ---------- */
.hero-type {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.h2 {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lede { font-size: var(--fs-md); line-height: 1.5; color: var(--ink-2); max-width: 42ch; }

/* Small caps label — used sparingly, as a structural marker */
.label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Buttons: square, confident ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.95rem 1.9rem;
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: -0.005em;
  text-decoration: none; border-radius: 2px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--line { border: 1.5px solid var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.25rem; font-size: var(--fs-xs); }

/* ---------- Photo slot / colour block ----------
   One element, two states. Empty it is a flat brand panel carrying a line
   of type; drop an <img> inside and it becomes a photograph. */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: var(--ink);
  display: flex;
  align-items: flex-end;
}
.ph > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ph--red { background: var(--red); color: var(--paper); }
.ph--ink { background: var(--ink); color: var(--paper); }
.ph--deep { background: var(--green-deep); color: var(--paper); }
.ph--paper2 { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-soft); }

/* Type inside a block. Sits above a photo on a soft scrim once one exists. */
.ph__type {
  position: relative; z-index: 2;
  padding: clamp(1.25rem, 0.7rem + 1.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.14;
  font-size: var(--fs-md);
  max-width: 30ch;
  text-wrap: balance;
}
.ph:has(img) { color: var(--paper); }
.ph:has(img) .ph__type {
  background: linear-gradient(to top,
    rgba(8, 10, 5, 0.95) 0%,
    rgba(8, 10, 5, 0.9) 55%,
    rgba(8, 10, 5, 0.78) 88%,
    rgba(8, 10, 5, 0.68) 100%);
  width: 100%;
  max-width: none;
}
/* keep the line length readable even though the scrim spans the full width */
.ph:has(img) .ph__type > b,
.ph:has(img) .ph__type > small { max-width: 26ch; }
.ph__type small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.3rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 4.5rem;
}
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { height: 2.1rem; width: auto; }
.nav { display: none; }
@media (min-width: 60rem) {
  .nav { display: flex; align-items: center; gap: 2rem; margin-right: 1rem; }
}
.nav a {
  text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink-2); padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--red); }
.header-cta { display: none; }
@media (min-width: 26rem) { .header-cta { display: inline-flex; } }

/* ---------- Hero ----------
   Asymmetric: type on paper at the left, a full-bleed colour block running
   off the right edge, with a red block notched into its lower-left corner. */
.hero { position: relative; }
.hero__grid {
  display: grid;
  gap: 0;
}
@media (min-width: 58rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); align-items: stretch; }
}
.hero__copy {
  padding-block: clamp(3rem, 1.6rem + 5.5vw, 6.5rem) clamp(2.5rem, 1.4rem + 4.5vw, 5rem);
  padding-right: clamp(0rem, -2rem + 5vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__title { margin-bottom: 1.5rem; }
.hero__title .rule {
  display: block; width: 4.5rem; height: 5px;
  background: var(--red); margin-bottom: 1.75rem;
}
.hero__lede { margin-bottom: 2.25rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__art { position: relative; min-height: 26rem; }
/* Bleed the block off the right edge of the viewport */
@media (min-width: 58rem) {
  .hero__art { margin-right: calc((100vw - min(100vw, var(--maxw))) / -2 - var(--gutter)); }
}
@media (max-width: 57.99rem) {
  .hero__art {
    margin-inline: calc(var(--gutter) * -1);
    min-height: 20rem;
  }
}
.hero__ph { position: absolute; inset: 0; }
.hero__ph .ph__type { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.9rem); max-width: 22ch; }
.hero__ph .ph__type small { margin-bottom: 0.6rem; }
.hero__notch {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: clamp(9rem, 7rem + 9vw, 14rem);
  padding: clamp(1rem, 0.6rem + 1vw, 1.5rem);
  background: var(--red); color: #fff;
}
.hero__notch b { display: block; font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.hero__notch span { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin-top: 0.35rem; }

/* ---------- Service strip: hairline-divided, no cards ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip__grid { display: grid; }
@media (min-width: 46rem) {
  .strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip__item + .strip__item { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 0.5rem + 2.6vw, 3rem); }
}
@media (max-width: 45.99rem) {
  .strip__item + .strip__item { border-top: 1px solid var(--line); }
}
.strip__item { padding-block: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); padding-right: clamp(1rem, 0.5rem + 2vw, 2.5rem); }
.strip__item h3 { font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.02em; margin: 0.5rem 0 0.4rem; }
.strip__item p { color: var(--ink-2); font-size: var(--fs-sm); max-width: 34ch; }

/* ---------- Section heads ---------- */
.sec { padding-block: var(--pad); }
.sec-head { margin-bottom: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.sec-head .label { display: block; margin-bottom: 1rem; }
.sec-head .h2 { max-width: 20ch; }
.sec-head p { margin-top: 1rem; }
.sec-head--split { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) {
  .sec-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; gap: 3rem; }
}

/* ---------- Signature: asymmetric editorial grid ---------- */
.sig {
  display: grid;
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 56rem) {
  .sig { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sig__a { grid-column: 1 / 6;  aspect-ratio: 5 / 4; }
  .sig__b { grid-column: 6 / 10; aspect-ratio: 1; align-self: end; }
  .sig__c { grid-column: 10 / 13; aspect-ratio: 4 / 5; }
  .sig__d { grid-column: 1 / 4;  aspect-ratio: 1; }
  .sig__e { grid-column: 4 / 9;  aspect-ratio: 5 / 4; }
  .sig__f { grid-column: 9 / 13; aspect-ratio: 1; align-self: start; }
}
@media (max-width: 55.99rem) {
  .sig__a, .sig__e { grid-column: span 2; aspect-ratio: 16 / 10; }
  .sig__b, .sig__c, .sig__d, .sig__f { aspect-ratio: 3 / 4; }
}
.sig-item { text-decoration: none; transition: opacity 0.2s ease; }
.sig-item:hover { opacity: 0.9; }
.sig-item .ph__type b { display: block; font-size: var(--fs-lg); letter-spacing: -0.03em; }

/* ---------- Menu ---------- */

@media (min-width: 64rem) { .chips { display: none; } }

@media (min-width: 46rem) { .dishes { columns: 2; } }
.menu-foot {
  margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center;
}
.menu-foot p { color: var(--ink-2); font-size: var(--fs-sm); max-width: 38ch; }

/* ---------- Platter banners ---------- */
.platters {
  display: grid;
  gap: clamp(1rem, 0.5rem + 1.6vw, 1.75rem);
}
@media (min-width: 56rem) {
  .platters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.platter a {
  display: block;
  position: relative;
  outline-offset: 2px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: transform 0.22s cubic-bezier(.2,.8,.3,1), box-shadow 0.22s ease;
}
.platter a:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 18px 30px -22px rgba(0,0,0,.55);
}
.platter img { width: 100%; height: auto; }

/* ---------- Find us ---------- */
.find { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); }
@media (min-width: 56rem) { .find { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); } }
.find > * { min-width: 0; }
.facts { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.facts > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.3rem; }
.facts dd { margin: 0; }
.facts a, .facts address {
  font-style: normal; font-size: var(--fs-md); font-weight: 600;
  letter-spacing: -0.015em; text-decoration: none; line-height: 1.35;
  overflow-wrap: anywhere; display: block;
  padding-block: 0.15rem;
}
.facts a:hover { color: var(--red); }
.find__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.map-wrap {
  position: relative; width: 100%; min-width: 0;
  aspect-ratio: 3 / 4; background: var(--paper-2);
}
@media (min-width: 56rem) { .map-wrap { aspect-ratio: auto; height: 100%; min-height: 30rem; } }
.map-fb {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: 1rem; text-align: center; padding: 1.5rem 1rem;
}
.map-fb p { font-weight: 600; overflow-wrap: anywhere; }
.map { position: relative; border: 0; width: 100%; height: 100%; }
.apps { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.1rem; border: 1.5px solid var(--line);
  text-decoration: none; border-radius: 2px;
  transition: border-color 0.18s;
}
.badge:hover { border-color: var(--ink); }
.badge--soon {
  border-style: dashed;
  color: var(--ink-2);
  cursor: default;
  background: var(--paper-2);
}
.badge--soon:hover { border-color: var(--line); }
.badge--soon b { color: var(--ink); }
.badge small { display: block; font-size: 0.66rem; color: var(--ink-2); letter-spacing: 0.04em; }
.badge b { font-weight: 700; font-size: 0.9rem; letter-spacing: -0.015em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(252,251,247,.76); padding-block: var(--pad) 6.5rem; font-size: var(--fs-sm); }
@media (min-width: 46rem) { .site-footer { padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); } }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; } }
.site-footer h3 { color: var(--paper); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { text-decoration: none; display: inline-block; padding-block: 0.4rem; }
.site-footer a:hover { color: var(--paper); }
.footer-base { padding-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: var(--fs-xs); color: rgba(252,251,247,.62); }
.footer-base a { padding-block: 0.4rem; }
.footer-logo { background: var(--paper); padding: 0.4rem 0.55rem; display: inline-block; border-radius: 2px; }
.footer-logo img { height: 2.2rem; width: auto; }

/* ---------- Mobile order bar ---------- */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: var(--ink); border-top: 3px solid var(--red);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1);
}
.order-bar.is-visible { transform: translateY(0); }
.order-bar__t { color: var(--paper); margin-right: auto; min-width: 0; line-height: 1.2; }
.order-bar__t b { display: block; font-size: 0.9rem; font-weight: 700; letter-spacing: -0.02em; }
.order-bar__t span { font-size: 0.72rem; color: rgba(252,251,247,.78); }
@media (min-width: 46rem) { .order-bar { display: none; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; transition-duration: .001ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
}
