/*
 * site.css: the only stylesheet for lewisfishandgrill.co.uk.
 *
 * Sections, in order:
 *   1. Tokens        colours, fonts, spacing (custom properties)
 *   2. Fonts         @font-face for self-hosted fonts
 *   3. Base          reset and element defaults
 *   4. Layout        container, Elementor-like section spacing
 *   5. Components    one block per component: "=== Component: <name> ==="
 *   6. Pages         page-specific rules: "=== Page: <path> ==="
 *   7. Utilities     a handful of helpers
 *
 * Breakpoints (the original's Elementor breakpoints; media queries can't use custom properties):
 *   mobile  <= 767px    tablet 768px-1024px    desktop >= 1025px
 *
 * Values were measured from the live site (design-system/orig-measure.txt) and the original
 * Elementor CSS (discovery/archive/post-7-live.css). Header/footer nav styles come from the
 * Internet Archive copy (post-7-archive.css), because the live nav vanished with Elementor Pro.
 */

/* ============ 1. Tokens ============ */
:root {
  --color-ink: #313539;              /* text, dark section backgrounds, button borders */
  --color-white: #ffffff;
  --color-nav-hover: rgb(49 53 57 / 0.47);     /* #31353978 header nav hover */
  --color-footer-nav-hover: rgb(255 255 255 / 0.46); /* #FFFFFF75 footer nav hover */
  --color-dropdown-text: #494c4f;    /* mobile toggle + dropdown links (Elementor Pro default) */
  --color-dropdown-hover-bg: #55595c;/* dropdown hover (Elementor Pro default) */
  --color-toggle-bg: rgb(0 0 0 / 0.05);
  --color-link: #0000ee;             /* unstyled browser-default link (awards link) */
  --color-facebook: #3b5998;
  --color-instagram: #262626;

  --font-display: "Unica One", "Arial Narrow", sans-serif;  /* headings, nav, buttons, captions */
  --font-body: "Montserrat", Arial, sans-serif;             /* body copy (weight 300) */
  --font-kit: "Roboto", Arial, sans-serif;                  /* Elementor kit text font (awards link only) */
  --leading: 1.75;

  --container: 1140px;
  --col-pad: 10px;         /* Elementor "default" column gap */
  --widget-gap: 20px;      /* Elementor space between widgets */
  --section-pad: 30px;     /* mobile section padding */
  --section-pad-tablet: 40px;

  --duration: 300ms;
  --ease: ease;
}

/* ============ 2. Fonts ============ */
/* Self-hosted Google Fonts (latin). Unica One has one weight (400): the original asks for 500
   on big headings, which renders as 400 (no synthesis), same here. Montserrat and Roboto are
   variable files. */
@font-face { font-family: "Unica One"; src: url("/assets/fonts/unica-one-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ============ 3. Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; font-weight: 300; line-height: var(--leading); color: var(--color-ink); background: var(--color-white); overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; }
p { margin: 1em 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.icon-sprite { display: none; }
/* Elementor widgets contain their children's margins (flex items): same here, so spacing matches. */
.text, .contact__text, .tripadvisor__text, .about__awards-link { display: flow-root; }

/* ============ 4. Layout ============ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; }

/* ============ 5. Components ============ */

/* === Component: skip-link === */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 8px 16px; background: var(--color-white); color: var(--color-ink); }
.skip-link:focus { left: 16px; }

/* === Component: site-header (logo + anchor nav; not sticky, as the original) === */
.site-header { position: relative; z-index: 50; padding: 30px; background: var(--color-white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; }
.site-header__logo img { display: block; width: 61px; height: 80px; }

/* === Component: nav (desktop/tablet: right-aligned uppercase links; <= 767px: burger + full-width dropdown overlay) ===
   Restored from the Internet Archive capture of 2026-06-10 (decision d1). */
.nav-toggle { display: none; align-items: center; justify-content: center; position: relative; padding: 5.5px; border: 0; border-radius: 3px; background: var(--color-toggle-bg); color: var(--color-dropdown-text); cursor: pointer; }
.nav-toggle::after { content: ""; position: absolute; inset: -6px; } /* 45px touch area, same look */
.nav-toggle svg { display: block; width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open, .nav-toggle[aria-expanded="false"] .nav-toggle__close { display: none; }
.site-nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 50px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; font-family: var(--font-display); font-size: 20px; line-height: 20px; text-transform: uppercase; color: var(--color-ink); text-decoration: none; transition: color 0.4s; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--color-nav-hover); }
@media (max-width: 1024px) {
  .site-nav__list { gap: 0 40px; }
}
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  /* Dropdown: absolute, full width, 42px below the toggle (Elementor "stretch" + margin-top 42px).
     Slide-down is a grid row 0fr -> 1fr; the nav stretches so the list is clipped while it animates. */
  .site-nav { position: absolute; left: 0; right: 0; top: calc(50% + 16.5px + 42px); display: grid; grid-template-rows: 0fr; align-items: stretch; visibility: hidden; background: var(--color-white); transition: grid-template-rows var(--duration) var(--ease), visibility 0s var(--duration); }
  .site-nav.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--duration) var(--ease), visibility 0s; }
  .site-nav.no-transition { transition: none; } /* set by site.js when a menu link is clicked */
  .site-nav__list { display: block; min-height: 0; overflow: hidden; }
  .site-nav a { padding: 10px 20px; color: var(--color-dropdown-text); transition: none; }
  .site-nav a:hover, .site-nav a:focus-visible { background: var(--color-dropdown-hover-bg); color: var(--color-white); }
}

/* === Component: site-footer (dark band: logo | footer nav (desktop only) | Powered by OrderYOYO) === */
.site-footer { padding: 30px 0; background: var(--color-ink); color: var(--color-white); }
.site-footer__inner { display: flex; align-items: center; }
.site-footer__logo { width: 12.016%; }
.site-footer__logo img { display: block; width: 76px; height: 100px; }
.footer-nav { width: 63.876%; padding: var(--col-pad); }
.footer-nav__list { display: flex; flex-wrap: wrap; gap: 0 50px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: block; font-family: var(--font-display); font-size: 20px; line-height: 20px; text-transform: uppercase; color: var(--color-white); text-decoration: none; transition: color 0.4s; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--color-footer-nav-hover); }
.site-footer__credit { width: 23.772%; display: flex; align-items: center; justify-content: flex-end; }
.site-footer__credit-label { margin: 16px 10px 16px 0; white-space: nowrap; font-family: var(--font-display); font-size: 16px; line-height: 28px; color: var(--color-white); }
.site-footer__credit-brand { font-family: var(--font-body); font-size: 20px; font-weight: 500; line-height: 35px; color: var(--color-white); text-decoration: none; }
.site-footer__credit-brand:hover { color: var(--color-footer-nav-hover); }
@media (max-width: 1024px) {
  .site-footer { padding: 30px; }
  .footer-nav { display: none; }
  .site-footer__logo, .site-footer__credit { width: 50%; }
}
@media (max-width: 767px) {
  .site-footer__inner { flex-direction: column; }
  .site-footer__logo, .site-footer__credit { width: 100%; justify-content: center; }
  .site-footer__logo img { margin-inline: auto; }
}

/* === Component: button / button-group (Elementor Extras outline buttons) ===
   .button--dark: white fill, ink text/border (on white sections)
   .button--light: ink fill, white text/border (on dark sections)
   Groups stack on mobile; .button-group--center centres them there. */
.button-group { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; min-height: 46px; padding: 12px 24px; border: 1px solid var(--color-ink); border-radius: 0; background: var(--color-white); color: var(--color-ink); font-family: var(--font-display); font-size: 20px; line-height: 20px; text-transform: uppercase; text-decoration: none; transition: all var(--duration); }
.button--light { border-color: var(--color-white); background: var(--color-ink); color: var(--color-white); }
@media (max-width: 767px) {
  .button-group { flex-direction: column; align-items: flex-start; }
  .button-group--center { align-items: center; }
}

/* === Component: section-heading (Unica One 72px, 46px on mobile) === */
.heading-xl { font-size: 72px; line-height: 1.2; }
.heading-md { font-size: 32px; line-height: 1; }
@media (max-width: 767px) {
  .heading-xl { font-size: 46px; }
  .heading-md { font-size: 24px; }
}

/* === Component: text (Montserrat light copy) === */
.text { font-size: 18px; line-height: var(--leading); }
.text--sm { font-size: 16px; }
.text--lg { font-size: 22px; }

/* === Component: menu-tile (image + dark caption with "Order Now" link) === */
.menu-tiles { display: flex; }
.menu-tile { flex: 0 0 calc(25% - 10px); min-width: 0; margin-right: 10px; text-align: center; }
.menu-tile:last-child { flex-basis: 25%; margin-right: 0; }
.menu-tile img { display: block; margin-inline: auto; max-width: 100%; height: 400px; object-fit: cover; }
.menu-tile__caption { padding: 15px; background: var(--color-ink); color: var(--color-white); font-family: var(--font-display); font-size: 32px; line-height: normal; text-transform: uppercase; text-align: left; }
.menu-tile__caption p { margin: 0; }
.menu-tile__link { display: block; margin-top: 5px; font-size: 20px; color: var(--color-white); text-decoration: underline; }
@media (max-width: 767px) {
  .menu-tiles { flex-direction: column; }
  .menu-tile { margin: 0 0 20px; }
  .menu-tile:last-child { margin: 0; }
}

/* === Component: review-card (bordered quote + dark name bar) === */
.reviews-row { display: flex; }
.review-card { width: 33.333%; min-width: 0; }
.review-card:nth-child(1) { margin-right: 20px; }
.review-card:nth-child(2) { margin: 0 10px; }
.review-card:nth-child(3) { margin-left: 20px; }
.review-card__body { min-height: var(--card-min, 192px); padding: 20px; border: 1px solid var(--color-ink); }
.reviews-row--tall { --card-min: 212px; }
.review-card__body p { margin: 1em 0; font-size: 16px; line-height: var(--leading); }
@media (max-width: 767px) {
  .reviews-row { flex-direction: column; }
  .review-card, .review-card:nth-child(n) { width: 100%; margin: 0 0 20px; }
  .reviews-row--tall .review-card:last-child { margin-bottom: 0; }
}

/* === Component: icon-box (26px icon + uppercase Unica One title; stacks and centres on mobile) === */
.icon-box { display: flex; align-items: center; gap: 15px; }
.icon-box svg { flex: none; width: 26px; height: 26px; }
.icon-box__title { margin: 18px 0; font-size: 18px; line-height: 18px; text-transform: uppercase; }
.icon-box--bar { padding: 0 20px; background: var(--color-ink); color: var(--color-white); }
@media (max-width: 767px) {
  .icon-box { flex-direction: column; gap: 15px; text-align: center; }
}

/* === Component: social-icons (40px squares, brand colours) === */
.social-icons { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10%; color: var(--color-white); transition: opacity var(--duration); }
.social-icons a:hover { opacity: 0.9; }
.social-icons svg { width: 25px; height: 25px; }
.social-icons__facebook { background: var(--color-facebook); }
.social-icons__instagram { background: var(--color-instagram); }

/* === Component: video (16:9 provider iframe) === */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* === Component: error-page (404) === */
.error-page { padding: 60px 30px 80px; text-align: center; }
.error-page .text { margin-bottom: 20px; }
.error-page__links { justify-content: center; }

/* === Component: map (keyless Google Maps iframe) === */
.map { display: block; width: 100%; height: 570px; border: 0; }

/* ============ 6. Pages ============ */

/* === Page: / (home, one page) ===
   Section spacing copies the original Elementor margins/paddings per breakpoint. */

/* Hero: image | text (text first on tablet/mobile) */
.hero { display: flex; align-items: center; margin-top: 50px; }
.hero__media { width: 45.044%; }
.hero__media img { display: block; width: 100%; }
.hero__text { width: 54.956%; padding-left: 60px; }
.hero__kicker { margin-bottom: var(--widget-gap); color: var(--color-ink); }
.hero__title { margin-bottom: var(--widget-gap); color: var(--color-ink); }
@media (max-width: 1024px) {
  .hero { flex-direction: column-reverse; margin-top: 0; }
  .hero__media, .hero__text { width: 100%; }
  .hero__text { padding: var(--section-pad-tablet); }
}
@media (max-width: 767px) {
  .hero__text { padding: var(--section-pad); }
}

/* About (#about): dark band, text + award badges, rotated photo overhanging the video (desktop) */
.about { display: flex; margin: 200px 0; background: var(--color-ink); color: var(--color-white); }
.about__main { width: 55.556%; padding: 100px 30px; }
.about__inner { display: flex; max-width: 1000px; margin-inline: auto; }
.about__copy { width: calc(70.9% - 20px); margin-right: 20px; }
.about__copy .text div { margin: 0; }
.about__copy .text strong { font-weight: bolder; }
.about__awards-link { font-family: var(--font-kit); font-size: 16px; font-weight: 400; line-height: normal; }
.about__awards-link p { margin: 16px 0; }
.about__awards-link a { color: var(--color-link); text-decoration: none; }
.about__badges { width: 29.05%; padding: var(--col-pad); text-align: center; }
.about__badges a, .about__badges img { display: inline-block; }
.about__badge { margin-bottom: 20px; }
.about__badge:last-child { margin-bottom: 0; }
.about__photo { position: relative; width: 44.421%; }
.about__photo img { position: absolute; top: 50%; right: 0; z-index: 1; max-width: 100%; height: auto; }
@media (max-width: 1024px) {
  .about { margin: 8px 0 0; }
  .about__main { width: 100%; padding: var(--section-pad-tablet); }
  .about__photo { display: none; }
}
@media (max-width: 767px) {
  .about__main { padding: var(--section-pad); }
  .about__inner { flex-direction: column; }
  .about__copy { width: 100%; margin: 0 0 20px; }
  .about__badges { width: 100%; }
}

/* Video (#menu: the original's "Our Menu" anchor sits on this section) */
.video-section { margin-top: 200px; padding: 0; }
.video-section .container { padding: var(--col-pad); }
@media (max-width: 1024px) {
  .video-section { margin-top: 8px; padding: var(--section-pad-tablet); }
}
@media (max-width: 767px) {
  .video-section { padding: var(--section-pad); }
}

/* Intro "A new way of eating" */
.eating { margin-top: 100px; padding: 0; text-align: center; }
.eating__inner { padding: var(--col-pad); }
.eating .heading-xl { margin-bottom: var(--widget-gap); }
.eating .text p { margin: 18px 0; }
@media (max-width: 1024px) {
  .eating { margin-top: 8px; padding: var(--section-pad-tablet); }
}
@media (max-width: 767px) {
  .eating { padding: var(--section-pad); }
}

/* Menu tiles */
.tiles-section { padding: 0; }
@media (max-width: 1024px) {
  .tiles-section { padding: 0 var(--section-pad-tablet) var(--section-pad-tablet); }
}

/* App (#app): dark band, copy + buttons, phone mock-up overhanging the reviews heading (desktop) */
.app { display: flex; margin: 300px 0; background: var(--color-ink); color: var(--color-white); }
.app__main { width: 50%; padding: 100px 30px; }
.app__inner { max-width: 670px; margin-inline: auto; padding: var(--col-pad); }
.app__inner .text p { margin: 18px 0; }
.app__subheading { margin-bottom: 20px; font-size: 32px; line-height: 1.2; }
.app__photo { position: relative; width: 50%; }
.app__photo img { position: absolute; top: 50%; right: 0; z-index: 1; max-width: 100%; height: auto; }
@media (max-width: 1024px) {
  .app { margin: 0; }
  .app__main { width: 100%; padding: var(--section-pad-tablet); }
  .app__photo { display: none; }
}
@media (max-width: 767px) {
  .app__main { padding: var(--section-pad); }
}

/* Reviews (#reviews) */
.reviews-heading { margin-top: 300px; text-align: center; }
.reviews-heading__inner { padding: var(--col-pad); }
.reviews-section { margin-top: 30px; }
.tripadvisor { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 50px; }
.tripadvisor__text { margin: 0 30px 0 0; }
.tripadvisor__text p { margin: 18px 0; font-size: 18px; text-align: center; }
@media (max-width: 1024px) {
  .reviews-heading { margin-top: 0; padding: var(--section-pad-tablet); }
  .reviews-heading .heading-xl { font-size: 60px; }
  .reviews-section { padding: 0 var(--section-pad-tablet); }
  .reviews-section--first { margin-top: 0; }
  .tripadvisor__text { width: 100%; margin: 0; }
  .tripadvisor__text p { margin-bottom: 20px; } /* container margin 20px collapsing with the p margin */
}
@media (max-width: 767px) {
  .reviews-heading { padding: var(--section-pad); }
  .reviews-heading .heading-xl { font-size: 46px; }
  .reviews-section { margin-top: 0; padding: 0 var(--section-pad); }
  .tripadvisor { margin-top: 0; padding: 10px var(--section-pad) 0; }
}

/* Contact (#contact): heading, map | opening times, phone, address, socials */
.contact-heading { margin: 120px 0 30px; }
.contact-heading__inner { padding: var(--col-pad); }
.contact { display: flex; align-items: center; margin-bottom: 120px; }
.contact__map { width: 59.999%; }
.contact__info { width: 39.957%; padding-left: 40px; }
.contact__text p { margin: 16px 0 20px; font-size: 16px; } /* 20px = Elementor container margin collapsing with the p margin */
.contact__text--last p { margin-bottom: 16px; }
.contact .social-icons { margin-top: 20px; }
@media (max-width: 1024px) {
  .contact-heading { margin: 0; padding: 40px 40px 20px; }
  .contact { margin-bottom: 40px; padding: 0 var(--section-pad-tablet); }
}
@media (max-width: 767px) {
  .contact-heading { padding: 40px 40px 20px; }
  .contact { flex-direction: column; padding: 0 var(--section-pad); }
  .contact__map, .contact__info { width: 100%; }
  .contact__info { padding: 30px 0 0; }
  .contact__text { text-align: center; }
}

/* ============ 7. Utilities ============ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
