/* Garum theme: everything that makes this site look like Garum and not like the other sites of the kit.
   Loads after style.css (the shared kit base) and overrides it. */

/* Garum: palette from the restaurant itself — the lacquered red of the dining room and the logo
   (#a31e1e), warm cream table linen, a touch of the pink lamps and cushions; Fraunces for headings,
   Work Sans for text, Caveat for the handwriting of the graffiti wall. Light theme only. The variable
   names are shared with the other booknbook restaurant sites: --olive is the brand colour, --gold the
   accent, --sand the cream. */
:root{
  --bg:#faf8f2;         /* warm off-white (the old site's background) */
  --sand:#f3ece1;       /* table linen cream */
  --sand-2:#e8dccb;
  --gold:#b5485f;       /* rose, from the lamps and cushions */
  --olive:#a31e1e;      /* Garum red: walls and logo */
  --olive-dk:#7e1616;
  --ink:#2a2422;
  --muted:#6a5e58;
  --line:#e7dccd;
  --f-label:"Work Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-head:"Fraunces",Georgia,serif;
  --f-body:"Work Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-hand:"Caveat","Segoe Print",cursive;
  color-scheme:light;
}

/* ---------------------------------------------------------------- Garum */
.sign small{display:block;margin-top:6px;font-family:var(--f-label);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.pastas{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:8px}
.pasta{display:block;text-decoration:none;background:var(--bg);border:1px solid var(--line);padding:28px 24px 26px;transition:border-color .2s,transform .2s}
.pasta:hover{border-color:var(--olive);transform:translateY(-2px)}
.pasta-n{font-family:var(--f-hand);font-size:1.6rem;color:var(--gold);line-height:1}
.pasta h3{font-size:1.6rem;margin:10px 0 8px;color:var(--olive)}
.pasta p{font-size:.95rem;color:var(--muted)}
@media (max-width:900px){.pastas{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.pastas{grid-template-columns:1fr}}
/* the handwritten wall: the photo of the wall, faded, behind the section */
.graffiti{position:relative;isolation:isolate}
.graffiti::before{content:"";position:absolute;inset:0;z-index:-1;background:url(/assets/img/graffiti-wall-texture.jpg) center/cover;opacity:.09;filter:grayscale(1)}
.hand{font-family:var(--f-hand);font-size:1.7rem;line-height:1.2;color:var(--olive);margin:6px 0 4px}
.award{display:flex;align-items:center;justify-content:center;gap:28px;text-align:left;max-width:680px;margin:0 auto}
.award img{width:120px;height:auto;flex:none}
.award p{font-family:var(--f-head);font-size:1.35rem;line-height:1.35}
@media (max-width:560px){.award{flex-direction:column;text-align:center}}
footer .flogo img{width:170px;height:auto}
/* light footer and award band (no dark blocks): cream with the red logo */
footer{background:var(--sand);color:var(--muted);border-top:1px solid var(--line)}
footer a,footer address,footer .fcol p{color:var(--ink)}
footer .fcol h2{color:var(--olive)}
footer .social a{color:var(--olive)}
.press{background:var(--bg);color:var(--ink);border-block:1px solid var(--line)}
footer a:hover{color:var(--olive)}
footer .hours dd,footer .hours-note{color:var(--muted);opacity:1}
footer .bottom{border-top-color:var(--line)}
footer .social a{border-color:var(--line);color:var(--olive)}
footer .social a:hover{background:var(--olive);color:#fff}
footer .hours .today{color:var(--olive)}
@media (min-width:1101px){.fgrid{grid-template-columns:1.4fr 1fr 1fr 1.1fr}}
/* chef band: light, with a red rule (no dark blocks) */
.band{background:var(--bg);color:var(--ink);border-top:4px solid var(--olive)}
.band h2{color:var(--ink)}
.band .text p{color:var(--ink)}
.band .sign{color:var(--olive)}
.band .more{color:var(--olive);border-bottom-color:var(--gold)}
.band .label{color:var(--gold)}
.band .photo .inset{border-color:var(--bg)}
.mcard h3,.svc h3{font-family:var(--f-head);font-size:1.6rem;line-height:1.15;text-transform:none;color:var(--olive)}
.svc h3{font-size:1.7rem}

/* ================================================================ Garum identity
   Roman arches for photos, handwriting from the graffiti wall, pill buttons, a trattoria menu
   board, text-led heroes on cream (no dark overlays). Overrides the kit's shared styles above. */
.label{font-family:var(--f-hand);font-size:1.45rem;font-weight:500;letter-spacing:0;text-transform:none;color:var(--gold);line-height:1}
.btn{border-radius:999px;padding:.9em 1.7em;font-size:.82rem;letter-spacing:.06em;font-weight:600}
.btn.light{background:#fff;color:var(--olive);border-color:#fff}
.btn.light:hover{background:var(--olive);color:#fff;border-color:var(--olive)}
.btn.light.ghost{background:transparent;color:var(--olive);border-color:var(--olive)}
.more{letter-spacing:.06em;font-size:.8rem;border-bottom:2px solid var(--gold)}
h1,h2{font-weight:400}
h2 em,h1 em{font-style:italic;color:var(--olive)}
.arch,.split .photo > img:first-child,.svc img,.mcard img{border-radius:999px 999px 6px 6px / 46% 46% 6px 6px}
.split .photo > img:first-child{aspect-ratio:3/4;object-fit:cover;width:100%}
.mcard .im{border-radius:999px 999px 6px 6px / 46% 46% 6px 6px}
.mcard img{aspect-ratio:4/5}
.svc img{aspect-ratio:4/5}
.band .photo .inset{border-radius:50%;aspect-ratio:1;object-fit:cover;border:8px solid var(--bg)}

/* header: thin address strip, logo left, menu after it */
.topline{border-bottom:1px solid var(--line);font-size:.78rem;color:var(--muted)}
.topline .wrap{display:flex!important;justify-content:space-between;gap:12px;padding-block:6px!important}
.topline a{text-decoration:none;color:var(--olive)}
@media (max-width:640px){.topline span:first-child{display:none}.topline .wrap{justify-content:center}}
@media (min-width:1101px){header .wrap{grid-template-columns:auto 1fr auto}#nav ul{justify-content:center}}
#nav a{font-family:var(--f-body);font-size:.88rem;letter-spacing:.02em;text-transform:none;font-weight:500}

/* home hero: text on cream, two arched photos, a handwritten note */
.g-hero{padding-block:clamp(28px,5vw,64px) clamp(36px,6vw,80px)}
.g-hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,72px);align-items:center}
.g-hero-txt{display:grid;gap:20px;justify-items:start}
.g-hero h1{font-size:clamp(2.6rem,6.2vw,5.2rem);line-height:1.02;letter-spacing:-.025em;max-width:12ch}
.g-hero h1 em{font-style:italic}
.g-hero-txt p{font-size:1.1rem;color:var(--muted);max-width:46ch}
.g-hero .hand{font-family:var(--f-hand);font-size:1.6rem;color:var(--gold)}
.g-hero-pics{position:relative;min-height:clamp(380px,46vw,620px)}
.g-hero-pics .big{position:absolute;right:0;top:0;width:68%;height:92%;object-fit:cover}
.g-hero-pics .small{position:absolute;left:0;bottom:0;width:42%;height:58%;object-fit:cover;border:8px solid var(--bg)}
.g-note{position:absolute;left:4%;top:8%;font-family:var(--f-hand);font-size:1.7rem;color:var(--olive);transform:rotate(-6deg)}
@media (max-width:860px){.g-hero-in{grid-template-columns:1fr}.g-hero-pics{min-height:420px}.g-note{top:2%}}

/* the dishes of Rome, scrolling */
.marquee{overflow:hidden;border-block:1px solid var(--line);background:var(--bg);padding-block:14px}
.marquee div{display:flex;gap:44px;width:max-content;animation:mq 38s linear infinite}
.marquee span{font-family:var(--f-head);font-style:italic;font-size:1.5rem;color:var(--olive);white-space:nowrap}
.marquee span::after{content:"✳";margin-left:44px;font-style:normal;font-size:.9rem;color:var(--gold);vertical-align:middle}
@keyframes mq{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee div{animation:none}}

/* trattoria menu board for the four pastas */
.board{list-style:none;padding:0;margin:6px 0 4px;display:grid;gap:4px;border-top:2px solid var(--olive);border-bottom:2px solid var(--olive)}
.board li + li{border-top:1px dashed var(--sand-2)}
.board a{display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:baseline;padding:14px 0;text-decoration:none}
.board-n{font-family:var(--f-hand);font-size:1.5rem;color:var(--gold);grid-row:1/3}
.board-name{font-family:var(--f-head);font-size:1.7rem;color:var(--olive)}
.board-dots{border-bottom:2px dotted var(--sand-2);height:0;align-self:center}
.board-d{grid-column:2/4;color:var(--muted);font-size:.95rem}
.board a:hover .board-name{font-style:italic}

/* inner pages: text-led hero on cream with an arched photo (no dark overlay) */
.page-hero{color:var(--ink);background:var(--bg);min-height:0;grid-template-columns:1.1fr .9fr;align-items:center;gap:clamp(24px,5vw,64px);padding-inline:max(20px,calc((100vw - 1200px)/2 + 20px));padding-block:clamp(28px,5vw,60px)}
.page-hero::after{display:none}
.page-hero > img{position:static;grid-column:2;grid-row:1;width:100%;height:clamp(300px,38vw,500px);border-radius:999px 999px 6px 6px / 46% 46% 6px 6px;transform:none!important}
.page-hero .ph-in{grid-column:1;grid-row:1;padding:0;align-self:center}
.page-hero .ph-in .wrap{padding:0;max-width:none}
.ph-in h1{text-shadow:none;font-size:clamp(2.3rem,4.8vw,3.9rem);letter-spacing:-.02em}
.ph-in p{color:var(--muted);opacity:1}
.ph-in .label{color:var(--gold);font-size:1.5rem}
.page-hero .crumbs,.page-hero .crumbs a{color:var(--muted)}
@media (max-width:860px){.page-hero{grid-template-columns:1fr}.page-hero > img{grid-column:1;grid-row:1;height:300px}.page-hero .ph-in{grid-row:2}}

/* home gallery: arches mixed with plain frames */
.gallery img:nth-child(3n+1){border-radius:999px 999px 6px 6px / 40% 40% 6px 6px}
.gallery img{border-radius:6px}
/* light header: cream, red logo, red pill to book */
header{background:var(--bg);color:var(--ink);border-bottom:1px solid var(--line)}
.logo img{width:132px}
#nav a{color:var(--ink);font-size:.9rem;letter-spacing:.01em}
#nav a:hover,#nav a[aria-current="page"]{color:var(--olive);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px}
.head-r .btn.light{background:var(--olive);border-color:var(--olive);color:#fff}
.head-r .btn.light:hover{background:var(--olive-dk);color:#fff}
.toggle{border-color:var(--line);color:var(--ink)}
.burger i{background:var(--ink)}
@media (max-width:1240px){#nav a{font-size:.84rem}}
/* true Roman arch: a half circle on top */
.arch,.split .photo > img:first-child,.svc img,.mcard .im,.page-hero > img,.gallery img:nth-child(3n+1){border-radius:9999px 9999px 8px 8px}
.mcard img{border-radius:0}
.page-hero .btn.light{background:var(--olive);border-color:var(--olive);color:#fff}
.page-hero .btn.light:hover{background:var(--olive-dk)}
.page-hero .btn.light.ghost{background:transparent;color:var(--olive);border-color:var(--olive)}
/* footer on tablet and phone: brand on its own row, Menus + Discover side by side, then the restaurant */
@media (max-width:1100px){
  .fgrid{grid-template-columns:1fr 1fr;gap:36px 24px}
  .fbrand,.fgrid > .fcol:last-child{grid-column:1/-1}
}
footer .fcol h2{letter-spacing:.12em;font-size:.72rem}
footer .flogo img{width:150px}
footer .hours-note,footer .hours-note.closure{background:none;padding:0;display:block;font-weight:400;color:var(--muted);font-size:.9rem}
footer .hours-note a{color:var(--olive)}
footer .fbrand p{max-width:40ch}
@media (max-width:560px){
  footer .bottom{flex-direction:column;align-items:flex-start;gap:10px}
}

/* ================================================================ mobile (phones and small tablets)
   Shorter photos, menu and service cards you swipe sideways, tighter spacing, readable sizes. */
@media (max-width:760px){
  section{padding-block:56px}
  .sec-head{margin-bottom:28px}
  .split{gap:28px}
  .split .photo > img:first-child{aspect-ratio:4/3}
  .arch,.split .photo > img:first-child,.svc img,.mcard .im,.page-hero > img,.gallery img:nth-child(3n+1){border-radius:200px 200px 8px 8px / 120px 120px 8px 8px}
  .pasta-sec .photo{display:none}
  .g-hero{padding-block:22px 40px}
  .g-hero-txt{gap:16px}
  .g-hero h1{font-size:clamp(2.4rem,11vw,3.2rem)}
  .g-hero-txt p{font-size:1rem}
  .g-hero-pics{min-height:340px;margin-top:6px}
  .g-hero-pics .big{width:72%;height:100%}
  .g-hero-pics .small{width:44%;height:62%}
  .g-note{font-size:1.4rem;top:0;left:0}
  .g-hero .actions,.split .actions{flex-wrap:wrap;gap:12px;align-items:center}
  .g-hero .btn{flex:1 1 auto;text-align:center}
  .marquee{padding-block:10px}
  .marquee span{font-size:1.2rem}
  .band .photo .inset{width:38%;right:-4px;bottom:-14px}
  /* menu and service cards: swipe sideways */
  .menus,.services{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;margin-inline:-20px;padding:0 20px 10px;scrollbar-width:none}
  .menus::-webkit-scrollbar,.services::-webkit-scrollbar{display:none}
  .menus > *,.services > *{flex:0 0 78%;scroll-snap-align:start}
  .mcard img,.svc img{aspect-ratio:1/1}
  .mcard h3,.svc h3{font-size:1.4rem}
  .board-name{font-size:1.45rem}
  .board a{padding:12px 0}
  .hand{font-size:1.45rem}
  .gallery{grid-template-columns:1fr 1fr;grid-auto-rows:150px}
  .gallery img:nth-child(n+7){display:none}
  .page-hero{padding-block:20px 36px;gap:20px}
  .page-hero > img{height:240px}
  .ph-in h1{font-size:clamp(2.1rem,9vw,2.8rem)}
  .award img{width:96px}
  .award p{font-size:1.15rem}
  .cols3{gap:26px}
  .steps{gap:22px}
}
.actions .more{align-self:center}
@media (max-width:760px){
  section .menus,section .services{padding:0 20px 10px;scroll-padding-inline:20px}
  section .menus > *,section .services > *{flex:0 0 76%}
}
/* top strip: address only, desktop only */
@media (max-width:640px){.topline{display:none}}

/* Gambero Rosso: transparent logo in the hero and in the award band */
.hero-award{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;text-decoration:none;margin-top:6px}
.hero-award img{width:min(260px,70vw);height:auto}
.hero-award span{font-family:var(--f-label);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.award img{width:min(320px,80vw);height:auto}
.fbadge img{height:44px}

/* award + Google rating side by side (one "proof" row) */
.hero-proof{display:flex;align-items:center;flex-wrap:wrap;gap:14px 26px;margin-top:22px}
.hero-proof .hero-award{margin-top:0}
.hero-proof .hero-award img{width:min(230px,52vw)}
.hero-proof .hero-rating{padding-left:22px;border-left:1px solid var(--line);width:auto}
@media (max-width:600px){.hero-proof{gap:12px 16px;flex-wrap:nowrap}.hero-proof .hero-award img{width:44vw}.hero-proof .hero-award span{font-size:.6rem;letter-spacing:.08em}.hero-proof .hero-rating{padding-left:14px;border-left:1px solid var(--line)}.hero-proof .hr-score{font-size:1.9rem}.hero-proof .hr-stars{font-size:.8rem;letter-spacing:1px}.hero-proof .hr-total{font-size:.74rem}}
