/* site.css — Long Table Catering: the sections.
   ---------------------------------------------------------------------------
   Signature: the long table. Section dividers are hairlines drawn edge to edge
   across the screen, so the page is built out of long horizontal rules — the
   brand name made literal. Everything priced is set as a menu card: dish left in
   Garamond, price flush right, the unit stacked underneath in small caps.
   Rhythm: cream → ruled rail → cream → tint → cream → olive → cream → olive.
   --------------------------------------------------------------------------- */

/* ================================================================== 1 · hero */

.hero { display: grid; }
.hero__copy { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem); }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero h1 { margin-bottom: var(--sp-4); max-width: 12ch; }
.hero h1 em { color: var(--olive); }
.hero__lede { font-size: var(--fs-1); line-height: 1.55; color: var(--muted); max-width: 40ch; }
.hero__meta {
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.75rem;
  font-size: var(--fs-sm); color: var(--muted); max-width: 44ch;
}
.hero__meta b { color: var(--ink); font-weight: 600; }

@media (min-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: stretch; }
  /* Aligns the headline with the site container's left edge while the photograph
     runs to the right edge of the screen. */
  .hero__copy {
    display: flex; flex-direction: column; justify-content: center;
    padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
    padding-right: clamp(2.5rem, 5vw, 4.5rem);
    padding-block: clamp(4rem, 8vw, 7rem);
  }
  .hero__media { position: relative; min-height: 640px; }
  .hero__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* ================================================================== 2 · the priced rail */

.rail { border-block: 1px solid var(--line-2); background: var(--cream); }
.rail__grid { display: grid; grid-template-columns: 1fr 1fr; }
.rail__item { padding: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 2.4vw, 1.6rem); border-left: 1px solid var(--line); }
.rail__item:nth-child(odd) { border-left: 0; padding-left: 0; }
.rail__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
.rail__k {
  display: block; margin-bottom: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--muted);
}
.rail__v {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); line-height: 1.1;
  letter-spacing: -0.01em; color: var(--terracotta);
}
.rail__v small { display: block; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0; color: var(--muted); margin-top: 0.35rem; }
@media (min-width: 900px) {
  .rail__grid { grid-template-columns: repeat(4, 1fr); }
  /* :nth-child(odd) is (0,2,0); a bare `.rail__item` here would lose to it. */
  .rail__item, .rail__item:nth-child(odd) { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2.4vw, 1.6rem); }
  .rail__item:first-child { border-left: 0; padding-left: 0; }
  .rail__item:nth-child(n + 3) { border-top: 0; }
}

/* ================================================================== 3 · the menu card */

.menu-list { border-top: 1px solid var(--olive); }
.menu-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.menu-row h3 { grid-column: 1; grid-row: 1; margin: 0 0 0.4rem; font-size: clamp(1.28rem, 1.1rem + 0.8vw, 1.75rem); }
.menu-row__price {
  grid-column: 2; grid-row: 1; margin: 0; text-align: right; align-self: start;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-price);
  line-height: 1.05; color: var(--terracotta); white-space: nowrap;
}
.menu-row__price small {
  display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem;
}
.menu-row__price a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.menu-row__price a:hover { color: var(--terracotta-deep); }
/* :not() matters — the price is a <p> too, and a bare rule would drag it out of column 2. */
.menu-row p:not(.menu-row__price) { grid-column: 1 / -1; grid-row: 2; margin: 0; color: var(--muted); max-width: 58ch; }
@media (min-width: 620px) { .menu-row p:not(.menu-row__price) { grid-column: 1; } }

.menu-note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--line-2);
  font-size: var(--fs-sm); color: var(--muted); max-width: 62ch;
}
.menu-note svg { flex: none; margin-top: 0.2rem; color: var(--olive); }
.menu-note a { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ================================================================== 3b · the band */

/* A photograph run to both edges of the screen, used to break a long stretch of
   reading. It earns its place on a phone above all, where a text-only run can
   otherwise go eight or nine screens without a picture. */
.band { margin: 0; }
.band img { width: 100%; height: clamp(260px, 34vw, 460px); object-fit: cover; display: block; }

/* ================================================================== 4 · how it works */

.steps { display: grid; gap: var(--sp-5); counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4.5vw, 3.25rem); } }
.steps > li { counter-increment: s; padding-top: var(--sp-3); border-top: 1px solid var(--olive); }
.steps > li::before {
  content: counter(s, decimal-leading-zero); display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1;
  color: var(--olive-soft); margin-bottom: var(--sp-3);
}
.steps h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.42rem); margin: 0 0 var(--sp-2); }
.steps p { margin: 0; color: var(--muted); max-width: 42ch; }

/* ================================================================== 5 · proof */

/* Scoped to the blockquote on purpose — a bare `.quote-big p` outranks .eyebrow
   and blows the label up to quote size in italic serif. */
.quote-big blockquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: var(--fs-quote); line-height: 1.24; letter-spacing: -0.012em;
  color: var(--ink); margin: 0 0 var(--sp-4); max-width: 21ch;
}
.quote-big footer {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted);
}
.section--olive .quote-big blockquote p { color: var(--on-dark); }
.section--olive .quote-big footer { color: var(--on-dark-muted); }
.quote-big__note {
  border-top: 1px solid var(--line-2); padding-top: var(--sp-3);
  color: var(--muted); font-size: var(--fs-sm); max-width: 36ch;
}
.section--olive .quote-big__note { border-top-color: var(--line-dark); color: var(--on-dark-muted); }

/* ================================================================== 6 · pictures */

.gal { display: grid; gap: clamp(1.1rem, 2.5vw, 1.9rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .gal { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) {
  .gal { grid-template-columns: repeat(3, 1fr); align-items: start; }
}
.gal figure { margin: 0; }
.gal .media img { transition: transform 800ms var(--ease); }
.gal figure:hover .media img { transform: scale(1.045); }
.gal figcaption { margin-top: var(--sp-3); font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); max-width: 36ch; }
.gal figcaption b {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 1.1rem; color: var(--ink); margin-bottom: 0.15rem;
}

/* ================================================================== 7 · page heads */

.pagehead { border-bottom: 1px solid var(--line-2); padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.pagehead__grid { display: grid; gap: var(--sp-4); }
@media (min-width: 900px) {
  .pagehead__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.5rem, 6vw, 4.5rem); align-items: end; }
}
.pagehead h1 { max-width: 15ch; margin-bottom: 0; }
.pagehead h1 em { color: var(--olive); }
.pagehead .lead { max-width: 44ch; margin-bottom: 0; }

.trust { border-bottom: 1px solid var(--line-2); background: var(--cream-2); }
.trust__grid { display: grid; grid-template-columns: 1fr; }
.trust__item { padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1rem, 2.4vw, 1.6rem); display: grid; gap: 0.25rem; border-top: 1px solid var(--line); }
.trust__item:first-child { border-top: 0; padding-left: 0; }
@media (min-width: 760px) {
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__item { border-top: 0; border-left: 1px solid var(--line); }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}
.trust__k { font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.trust__v { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.trust__v a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.trust__v a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* ================================================================== 8 · the long story (about) */

.story p { font-size: 1.08rem; }
.story p + p { margin-top: var(--sp-3); }
.story .signoff {
  margin-top: var(--sp-4); font-family: var(--font-body); font-size: var(--fs-xs);
  font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted);
}

/* ================================================================== 9 · the quote request */

.close__grid { display: grid; gap: var(--sp-5); }
@media (min-width: 960px) {
  .close__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
}
.close__facts { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }
.close__facts li { position: relative; padding-left: 1.7rem; color: var(--on-dark-muted); font-size: var(--fs-sm); }
.close__facts li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.9rem; height: 1px; background: var(--on-dark-muted); }

.contact-list { font-style: normal; display: grid; margin-top: var(--sp-4); }
.contact-list > div { display: grid; gap: 0.15rem; padding-block: var(--sp-2); border-top: 1px solid var(--line-dark); }
.contact-list .k { font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--on-dark-muted); }
.contact-list a, .contact-list .v { color: var(--on-dark); font-size: 1rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(250, 247, 240, 0.4); justify-self: start; }
.contact-list a:hover { border-bottom-color: var(--on-dark); }

.qform, .qform__done {
  background: var(--cream); color: var(--ink);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.qform__legend {
  font-family: var(--font-display); font-size: var(--fs-2); line-height: 1.2;
  margin: 0 0 var(--sp-4); padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line-2); max-width: none; color: var(--ink);
}
.qform__grid { display: grid; gap: var(--sp-3); }
@media (min-width: 620px) {
  .qform__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-4); }
  .qform__field--wide { grid-column: 1 / -1; }
}
.qform__field { margin: 0; display: grid; gap: 0.4rem; max-width: none; }
.qform__field > label {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--ink);
}
.qform .opt { font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--muted); }
.qform input, .qform select, .qform textarea {
  width: 100%; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 0.8rem 0.9rem; font-size: 1rem; font-family: var(--font-body); color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.qform textarea { resize: vertical; min-height: 6.5rem; line-height: 1.55; }
.qform input:focus, .qform select:focus, .qform textarea:focus {
  border-color: var(--terracotta); outline: none; box-shadow: 0 0 0 3px rgba(165, 82, 42, 0.16);
}
.qform :focus-visible { outline: 2px solid var(--terracotta); outline-offset: 1px; }
.qform__hint { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.45; }
.qform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform .btn { width: 100%; margin-top: var(--sp-4); }
/* The card is cream but it sits inside the olive band — put the terracotta fill
   back, or the band's inverted rule paints a cream button on a cream card. */
.section--olive .qform .btn--primary { background: var(--terracotta); color: #FFFFFF; border-color: var(--terracotta); }
.section--olive .qform .btn--primary:hover, .section--olive .qform .btn--primary:focus-visible { background: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.qform__small { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--muted); max-width: none; }
.qform__small a { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid currentColor; }

.qform__done h3 { font-family: var(--font-display); font-size: var(--fs-2); margin: 0 0 var(--sp-3); }
.qform__done p { color: var(--muted); }
.qform__done p + p { margin-top: var(--sp-3); }
.qform__done a { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Duna Marketing sample-site bar ---------- */
/* Frosted glass: the page shows through a dark-grey translucent bar, so it belongs to every
   palette while still reading as a control. The whole bar is one link back to dunamarketing.com.
   rgba(25,28,35,.72) composited over even a pure-white page keeps white text at 6.7:1; the
   backdrop blur is decoration on top of that, never load-bearing. On phones the site's own
   .cta-bar lifts above it. */
:root { --duna-h: 54px; }
.duna-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  box-sizing: border-box; min-height: var(--duna-h);
  /* Three columns so the button stays optically centred no matter how wide the copyright is. */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem;
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(25, 28, 35, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #FFFFFF; text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-family: var(--font-body); font-size: 0.92rem; line-height: 1.3; text-align: center;
  cursor: pointer; transition: background 0.15s ease;
}
/* No colour here: `.duna-bar a` (0,1,1) would outrank .duna-bar__btn--text (0,1,0) and paint
   the text button white on white. The button classes own their colours. */
.duna-bar a { text-decoration: none; }
.duna-bar__copy {
  justify-self: start; font-size: 0.76rem; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);   /* 5.42:1 on the bar over even a white page */
  white-space: nowrap;
}
.duna-bar__note {
  grid-column: 3; justify-self: end; font-size: 0.76rem; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);   /* same 5.42:1 as the copyright */
  white-space: nowrap;
}
/* Two buttons now, side by side and optically centred in the middle column. */
.duna-bar__actions { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 0.5rem; }
.duna-bar__btn {
  /* Own dark fill over the bar's glass: transparent let each site's palette bleed through and
     muddied the white text. Black at 45% takes it from 6.7:1 to 12.7:1 in the worst case
     (a pure-white page behind the bar) while staying translucent. */
  display: inline-block; background: rgba(0, 0, 0, 0.45); color: #FFFFFF;
  border: 1.5px solid #FFFFFF; border-radius: 4px;
  padding: 0.45rem 1.1rem; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.duna-bar__btn:hover, .duna-bar__btn:focus-visible { background: #FFFFFF; color: #14171E; }
/* "Text me" is the offer on this bar, so it leads: white fill and dark label, the reverse of the
   home button, and it inverts on hover the same way. */
.duna-bar__btn--text { margin-left: 0.6rem; background: #C8102E; color: #FFFFFF; border-color: #C8102E;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(200, 16, 46, 0.32);
  display: inline-flex; align-items: center; gap: 0.45rem; }
.duna-bar__btn--text svg { width: 15px; height: 15px; flex: none; }
.duna-bar__btn--call { margin-left: 0.6rem; background: #003087; color: #FFFFFF; border-color: #003087;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 48, 135, 0.34);
  display: inline-flex; align-items: center; gap: 0.45rem; }
.duna-bar__btn--call:hover, .duna-bar__btn--call:focus-visible { background: #001D52; border-color: #001D52;
  color: #FFFFFF; box-shadow: 0 6px 18px rgba(0, 48, 135, 0.44); }
.duna-bar__btn--call svg { width: 15px; height: 15px; flex: none; }
.duna-bar__btn--text:hover, .duna-bar__btn--text:focus-visible { background: #A50D25; border-color: #A50D25;
  color: #FFFFFF; box-shadow: 0 6px 18px rgba(200, 16, 46, 0.42); }
/* Mobile: the button is the only thing that matters — drop the copyright and the tagline so
   the bar is one unambiguous tap target. */
@media (max-width: 720px) {
  /* Phones (all ad traffic): two full-width, full-label text and call buttons on one row.
     --duna-h tracks the taller bar so pages keep clearing it. */
  :root { --duna-h: 66px; }
  .duna-bar__copy, .duna-bar__note, .duna-bar .long { display: none; }
  .duna-bar { grid-template-columns: 1fr; gap: 0; padding: 0.4rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom)); }
  .duna-bar__actions { grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.5rem; }
  .duna-bar__btn { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 0.1rem 0 0.15rem;
    font-size: 0.74rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; opacity: 0.9; }
  .duna-bar__btn--text, .duna-bar__btn--call { grid-column: auto; justify-self: stretch; justify-content: center; text-align: center;
    margin-left: 0; min-height: 46px; padding: 0.4rem 0.45rem; font-size: 0.82rem; font-weight: 700; line-height: 1.15;
    white-space: normal; text-decoration: none; opacity: 1; border-radius: 10px; }
  .duna-bar__btn--text { background: #C8102E; border: 1.5px solid #C8102E; }
  .duna-bar__btn--call { background: #003087; border: 1.5px solid #003087; }
  .duna-bar__btn--text .long, .duna-bar__btn--call .long { display: inline; }
  .duna-bar__btn--text svg, .duna-bar__btn--call svg { width: 16px; height: 16px; }
}

/* Mobile: the button is the only thing that matters — drop the copyright and the tagline so
   the bar is one unambiguous tap target. */

/* Uniform legal block shared by every Duna sample site. */
.site-footer .duna-legal { grid-column: 1 / -1; margin-top: 0.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line, rgba(127, 127, 127, 0.35)); font-size: 0.85rem; line-height: 1.55; }
.site-footer .duna-legal p { margin: 0 0 0.3rem; max-width: none; }
.site-footer .duna-legal p:last-child { margin-bottom: 0; }
