/* Xpresso Sandwich & Coffee Bar
 * Design language taken from the corporate packages sheet: warm cream paper,
 * awning green, peach and sage panels, Fraunces display serif with green
 * italics, Figtree for everything else. Fonts are self-hosted (fonts.css). */

:root {
  --cream: #FBF5E9;      /* page ground */
  --card: #FFFCF5;       /* cards and panels on cream */
  --green: #306B3F;      /* brand green: headings accent, buttons, footer band */
  --green-dark: #245431; /* hover */
  --green-soft: #E2ECE1; /* sage: notes, icon chips */
  --peach: #F6E3D4;      /* warm highlight panels */
  --terracotta: #B8572E; /* badges and small accents only */
  --ink: #2B2620;        /* body text */
  --muted: #6B645A;
  --line: #EADFCC;
  --line-soft: #F1E8D8;
  --on-green: #FBF5E9;
  --on-green-muted: #CFE0D2;
  --error: #9B2C1F;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-btn: 999px;
  --shadow: 0 1px 2px rgba(43, 38, 32, 0.04), 0 8px 24px rgba(43, 38, 32, 0.05);
  --gutter: 20px;
  --max: 1140px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 4.2vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--green); }

p { margin: 0 0 16px; max-width: 66ch; }

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

.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--green); color: var(--on-green); font-weight: 700;
  padding: 12px 16px; border-radius: var(--radius-btn); text-decoration: none;
}
.skip:focus { top: 8px; }

.num, .price, time { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Header ---------- */

.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; min-height: 76px;
}
.wordmark { display: inline-flex; align-items: center; padding: 10px 0; text-decoration: none; }
.site-header__inner > .wordmark { flex: 1 1 0; min-width: 0; }
.wordmark__img { display: block; height: 34px; width: auto; max-width: 100%; }
@media (min-width: 720px) { .site-header .wordmark__img { height: 42px; } }
.site-footer .wordmark__img { height: 40px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; border-radius: 2px;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: none; width: 100%; padding-bottom: 12px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 4px;
  color: var(--ink); text-decoration: none; font-weight: 600; border-top: 1px solid var(--line-soft);
}
.site-nav a:hover { color: var(--green); }
.site-nav a.is-active { color: var(--green); }
.site-nav .nav-call { color: var(--green); }

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .nav-toggle { display: none; }
  .site-header__inner > .wordmark { flex: 0 1 auto; }
  .site-nav { display: block; width: auto; padding: 0; }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav a { border-top: 0; padding: 0 11px; min-height: 44px; border-radius: var(--radius-btn); }
  .site-nav a:hover { background: var(--card); }
  .site-nav a.is-active { background: var(--green-soft); }
  .site-nav .nav-call {
    margin-left: 8px; background: var(--green); color: var(--on-green); padding: 0 18px;
  }
  .site-nav .nav-call:hover { background: var(--green-dark); color: var(--on-green); }
}

.awning { display: none; }

.noscript-chrome { background: var(--cream); padding: 12px 0; border-bottom: 1px solid var(--line); }
.noscript-chrome ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.noscript-chrome a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Ordering notice ---------- */

.banner { background: var(--green-soft); color: var(--ink); font-size: 0.95rem; }
.banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.banner p { margin: 0; padding: 9px 0; }
.banner a { color: var(--green); font-weight: 700; white-space: nowrap; }
.banner__close {
  flex: none; width: 44px; height: 44px; background: transparent; border: 0;
  color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer;
}

/* ---------- Buttons, tags, chips ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px; border-radius: var(--radius-btn);
  border: 1.5px solid var(--green); font: inherit; font-weight: 700; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--on-green); }
.btn--ghost { background: var(--card); color: var(--green); }
.btn--ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 0; }
.btn-row__or { display: inline-flex; align-items: center; min-height: 50px; color: var(--muted); font-weight: 600; }

.tag, .eyebrow {
  display: inline-block; margin: 0 0 10px; color: var(--terracotta);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

.badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-btn);
  background: var(--terracotta); color: #FFF8F0; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-btn);
  font-size: 0.95rem; line-height: 1.3;
}
a.chip { color: var(--ink); text-decoration: none; font-weight: 600; min-height: 44px; }
a.chip:hover { border-color: var(--green); color: var(--green); }
.chip .price { color: var(--green); font-weight: 700; }

.diet {
  display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--green-soft);
  color: var(--green); font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  line-height: 1.6; letter-spacing: 0.04em; text-decoration: none; vertical-align: middle;
}
abbr.diet[title] { text-decoration: none; cursor: help; }

/* Round icon chip, as on the printed menus */
.ico {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green);
}
.ico svg { width: 18px; height: 18px; }
.ico--lg { width: 52px; height: 52px; }
.note .ico--lg, .card--peach .ico--lg { background: var(--card); }
.ico--lg svg { width: 24px; height: 24px; }

/* ---------- Sections ---------- */

.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section--line { border-top: 1px solid var(--line); }
.corp-section, #enquiry, #packages { scroll-margin-top: 16px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }

/* Hero with the soft shapes from the printed sheet */
.hero { position: relative; overflow: hidden; padding: 56px 0 48px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.hero::before { width: 520px; height: 520px; right: -180px; top: -240px; background: var(--peach); }
.hero::after { width: 300px; height: 300px; right: -120px; top: 150px; background: var(--green-soft); }
.hero > .wrap { position: relative; }
.hero h1 { max-width: 15ch; margin-bottom: 18px; }
@media (min-width: 860px) { .hero { padding: 88px 0 72px; } }

.page-head { position: relative; overflow: hidden; padding: 40px 0 8px; }
.page-head::before {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  width: 380px; height: 380px; right: -160px; top: -220px; background: var(--peach);
}

.ticker ul {
  list-style: none; margin: 0; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 6px 0;
  background: var(--green-soft); border-radius: var(--radius); color: var(--ink); font-size: 0.98rem;
}
.ticker li + li::before { content: "·"; padding: 0 10px; color: var(--muted); }
@media (max-width: 719px) { .ticker ul { flex-direction: column; } .ticker li + li::before { content: none; } }
.ticker b, .ticker a { color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }

.note {
  display: flex; gap: 14px; align-items: center; padding: 16px 20px; margin: 0 0 24px;
  background: var(--green-soft); border-radius: var(--radius);
}
.note p { margin: 0; }

.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 12px; }
.card > :last-child { margin-bottom: 0; }
.card .card__cta { margin-top: auto; padding-top: 8px; }
.card__link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }
.card__link::after { content: "→"; transition: transform 0.15s ease; }
.card__link:hover::after { transform: translateX(3px); }
.card--feature { border: 2px solid var(--green); }
.card--peach { background: var(--peach); border-color: transparent; box-shadow: none; }

/* Package cards */
.package { position: relative; padding-top: 28px; }
.package .badge { position: absolute; top: -13px; left: 22px; }
.package h3 { font-size: 1.45rem; margin-bottom: 6px; }
.price-big { display: flex; align-items: baseline; gap: 8px; margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.price-big strong { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--green); }
.inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inc li { display: flex; align-items: center; gap: 12px; }
.inc .or { color: var(--terracotta); font-weight: 700; }

.addons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; }
@media (min-width: 720px) { .addons { grid-template-columns: 1fr 1fr; } .addons--single { grid-template-columns: 1fr; } }
.addons .badge { margin-left: 8px; font-size: 0.65rem; padding: 3px 9px; vertical-align: middle; }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.addons .price { color: var(--green); font-weight: 700; white-space: nowrap; }

.feature-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.feature-row__main { display: flex; align-items: center; gap: 18px; }
.feature-row h3 { margin: 0 0 4px; }
.feature-row p { margin: 0; }
.feature-row .price-big { border: 0; padding: 0; margin: 0; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 0.9rem; }

.panel {
  background: var(--green); color: var(--on-green); border-radius: var(--radius); padding: 36px 24px;
}
.panel h2 { color: var(--on-green); }
.panel p { color: var(--on-green-muted); }
.panel a:not(.btn) { color: var(--on-green); }
.panel .btn--primary { background: var(--cream); color: var(--green); border-color: var(--cream); }
.panel .btn--primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--green-dark); }
.panel .btn-row__or { color: var(--on-green-muted); }
.panel :focus-visible { outline-color: var(--cream); }
@media (min-width: 720px) { .panel { padding: 48px; } }

.prose h2 { margin-top: 32px; }
.prose ul { padding-left: 20px; max-width: 66ch; }
.prose li { margin-bottom: 6px; }

.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0; padding-top: 16px; }
.crumbs a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }

/* Split layout: text + visual panel */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }

/* ---------- Menu (price list, as on the printed sheet) ---------- */

.jump { position: sticky; top: 0; z-index: 10; background: rgba(251, 245, 233, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.jump ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.jump a.chip { white-space: nowrap; }

.menu-key { font-size: 0.95rem; color: var(--muted); }

.menu-section {
  margin: 28px 0; padding: 28px 24px 16px; scroll-margin-top: 76px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (min-width: 720px) { .menu-section { padding: 36px 40px 24px; } }
.menu-section > h2 { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.1rem); }
.menu-section > p { color: var(--muted); }
.menu-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0 48px; }
@media (min-width: 720px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.menu-item h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.menu-item__name { flex: 1; min-width: 0; }
.menu-item .price { font-weight: 700; color: var(--green); white-space: nowrap; }
.menu-item p { margin: 2px 0 0; font-size: 0.88rem; color: var(--muted); }

.options { margin: 18px 0 8px; }
.options h3 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.options p { font-size: 0.95rem; color: var(--muted); margin-bottom: 8px; }
.options .chip { background: var(--cream); }

.featured { margin: 24px 0; }

/* ---------- Tables, map, forms ---------- */

.hours { border-collapse: collapse; width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.hours th, .hours td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); }
.hours th { font-weight: 500; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { font-variant-numeric: tabular-nums lining-nums; font-weight: 700; color: var(--green); }

.map-card {
  display: block; position: relative; min-height: 220px; border: 1px solid var(--line); border-radius: var(--radius);
  background-color: var(--green-soft);
  background-image: linear-gradient(90deg, rgba(255, 252, 245, 0.85) 10px, transparent 10px), linear-gradient(0deg, rgba(255, 252, 245, 0.85) 10px, transparent 10px);
  background-size: 90px 70px; color: var(--ink); text-decoration: none; overflow: hidden;
}
.map-card__pin {
  position: absolute; left: 50%; top: 42%; width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--terracotta); border: 3px solid var(--card);
}
.map-card__label {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 700;
}
.map-card:hover .map-card__label { color: var(--green); }

.form { display: grid; gap: 18px; max-width: 720px; }
.form .row-2 { display: grid; gap: 18px; }
@media (min-width: 720px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; }
.field .hint { font-size: 0.9rem; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; width: 100%; min-height: 50px; padding: 11px 14px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--green); }
.field textarea { min-height: 120px; resize: vertical; }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; }
.radio-row input { width: 22px; height: 22px; min-height: 0; accent-color: var(--green); }
.error { color: var(--error); font-size: 0.9rem; font-weight: 700; }
.error:empty { display: none; }
.req { color: var(--muted); font-weight: 400; }

.alert { border-radius: var(--radius); padding: 18px 22px; border: 2px solid var(--error); background: var(--card); }
.alert--success { border-color: var(--green); background: var(--green-soft); }
.alert h3 { font-size: 1.1rem; }
.alert ul { margin: 0; padding-left: 20px; }

/* ---------- Footer: the green "How to order" band ---------- */

.site-footer { background: var(--green); color: var(--on-green-muted); margin-top: 64px; font-size: 0.98rem; }
.site-footer a { color: var(--on-green); }
.site-footer :focus-visible { outline-color: var(--cream); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 44px; padding-bottom: 8px; }
.footer-top h2 { color: var(--on-green); margin: 0; font-size: clamp(1.6rem, 1.5vw + 1rem, 2rem); }
.footer-grid { display: grid; gap: 22px; padding-top: 24px; padding-bottom: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item .ico { width: 46px; height: 46px; background: rgba(251, 245, 233, 0.14); color: var(--on-green); }
.contact-item .ico svg { width: 20px; height: 20px; }
.footer-h { color: var(--on-green-muted); font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 2px; }
.contact-item p { margin: 0; color: var(--on-green); font-size: 1.05rem; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(251, 245, 233, 0.18); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 22px; font-size: 0.9rem; }
.footer-legal { margin: 0; }
.tap { display: inline-flex; align-items: center; min-height: 44px; }

.not-found { padding: 64px 0; }
.mt-12 { margin-top: 12px; }
