/* ==========================================================================
   La Mossa — lamossapizza.com
   Black and white. The photographs and the type do the work; no accent colour.
   Display face: Cormorant Garamond. Wordmark and labels: Montserrat, which is
   the closest free match to the geometric sans on the shop sign.
   ========================================================================== */

:root {
  --ink:      #0d0d0d;
  --paper:    #ffffff;
  --mid:      #5a5a58;
  --soft:     #8a8a86;
  --rule:     #e0dfdb;
  --wash:     #f6f5f2;   /* warm-biased neutral, not a flat grey */

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:    "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gut:   22px;
  --stack: 76px;
  --maxw:  1080px;
  --prose: 660px;
}

@media (min-width: 800px) { :root { --gut: 48px; --stack: 128px; } }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { list-style: none; padding: 0; }

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

.visually-hidden {
  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: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  font-size: 13px; font-weight: 700;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- the mark ---------- */
.wordmark, .footer__mark { margin: 0; line-height: 0; }
.wordmark img { width: clamp(190px, 34vw, 330px); height: auto; }
.footer__mark img { width: 168px; height: auto; margin: 0 auto; }
.wordmark__o {
  display: inline-block;
  position: relative;
  width: .88em; height: .88em;
  margin: 0 .04em;
  vertical-align: -.07em;
  border-radius: .06em;
  background: currentColor;
}
.wordmark__o::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 57%; height: 57%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--mark-hole, #0d0d0d);
}

/* ---------- shared ---------- */
.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  color: var(--soft);
}

.display {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -.005em;
  line-height: 1.05;
}

section { max-width: var(--maxw); margin: 0 auto; padding: var(--stack) var(--gut); }

/* ─────────────────────────  HERO  ───────────────────────── */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gut) clamp(48px, 9vh, 96px);
  overflow: hidden;
  background: #0d0d0d;
  --mark: #fff;
  --mark-hole: #0d0d0d;
}

.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 38% 50%;
}

/* Two stops, weighted to the bottom, so the type sits on near-black while the
   sky at the top stays open. */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(13,13,13,.52) 0%,
      rgba(13,13,13,.28) 22%,
      rgba(13,13,13,.62) 52%,
      rgba(13,13,13,.90) 80%,
      rgba(13,13,13,.97) 100%);
}

.hero__inner {
  position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0,0,0,.5);
}

.wordmark { font-size: clamp(30px, 8.4vw, 74px); margin: 0; }

.hero__kicker {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.hero__tagline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(21px, 3.4vw, 33px);
  line-height: 1.3;
  margin-top: 22px;
  color: #fff;
  text-wrap: balance;
}

.hero__cue {
  display: inline-block;
  margin-top: 26px;
  /* padding brings the hit area past 44px without moving the underline */
  padding: 16px 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.5);
  transition: border-color .2s ease;
}
.hero__cue::after { content: " \2193"; }
@media (hover: hover) { .hero__cue:hover { border-color: #fff; } }

/* ─────────────────────────  ORDER  ───────────────────────── */
.order { padding-top: clamp(52px, 8vh, 88px); padding-bottom: 0; }
.order .eyebrow { display: block; margin-bottom: 22px; }

.order__list { display: grid; gap: 10px; }
@media (min-width: 800px) {
  .order__list { grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
}

.btn {
  display: block;
  height: 100%;
  padding: 22px 18px;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.btn__label {
  display: block;
  font-size: 14px; font-weight: 700;
  letter-spacing: .14em; text-indent: .14em;
  text-transform: uppercase;
}
.btn__note {
  display: block; margin-top: 5px;
  font-size: 12px; letter-spacing: .04em; color: var(--soft);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary .btn__note { color: rgba(255,255,255,.6); }

@media (hover: hover) {
  .btn:hover { background: var(--ink); color: var(--paper); }
  .btn:hover .btn__note { color: rgba(255,255,255,.6); }
  .btn--primary:hover { background: #2a2a28; border-color: #2a2a28; }
}

.order__aside {
  margin-top: 16px;
  font-size: 13px;
  color: var(--soft);
  text-align: center;
}

/* ─────────────────────────  ABOUT  ───────────────────────── */
.about { max-width: calc(var(--prose) + var(--gut) * 2); text-align: center; }
.about__lead {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(25px, 4vw, 40px);
  line-height: 1.28;
  text-wrap: balance;
}
.about__body {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mid);
}

/* ─────────────────────────  MENU  ───────────────────────── */
.menu { padding-top: 0; }

.menu__head {
  text-align: center;
  max-width: var(--prose);
  margin: 0 auto clamp(38px, 6vw, 62px);
  padding-top: var(--stack);
  border-top: 1px solid var(--rule);
}
.menu__head .display { font-size: clamp(36px, 7vw, 62px); }
.menu__note {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--soft);
}

.menu__grid { display: grid; gap: clamp(34px, 5vw, 54px); }
@media (min-width: 720px) { .menu__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .menu__grid { grid-template-columns: repeat(3, 1fr); } }

.course__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
  padding-bottom: 11px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--ink);
}

.course__items li {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule);
}
.course__items li:last-child { border-bottom: 0; }

/* rows: photograph, then the name */
.course__items--thumbs li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}
.course__items--thumbs img {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--wash);
}
.course__label { display: block; }

.course__hint {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--soft);
  margin-top: 3px;
}

.course__prose {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--mid);
}

.menu__foot {
  max-width: var(--prose);
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--mid);
}

/* ─────────────────────────  THE PLACE  ───────────────────────── */
.band { margin: 0; }
.band img {
  width: 100%;
  height: clamp(300px, 62vh, 620px);
  object-fit: cover;
  object-position: 50% 34%;   /* the umbrella and the boats, not just the plate */
}
.band figcaption {
  max-width: var(--maxw);
  margin: 14px auto 0;
  padding: 0 var(--gut);
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--soft);
}

/* ─────────────────────────  GALLERY  ───────────────────────── */
.gallery .eyebrow { display: block; margin-bottom: 26px; }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 800px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.gallery__grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--wash);
}

/* ─────────────────────────  VISIT  ───────────────────────── */
.visit .eyebrow { display: block; margin-bottom: 26px; }
.visit__grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .visit__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.visit__h {
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-indent: .22em; text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 10px;
}
.visit__h--gap { margin-top: 34px; }

.visit__address {
  font-family: var(--display);
  font-style: normal;
  font-size: 22px;
  line-height: 1.45;
}

.link-arrow {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  /* 15px above + 10px below clears the 44px tap minimum */
  padding: 15px 0 10px;
}
.link-arrow::after { content: " \2192"; }

.visit__tel {
  display: inline-block;
  font-family: var(--display);
  font-size: 30px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

.visit__hours { font-family: var(--display); font-size: 22px; line-height: 1.5; }
.visit__hours strong { font-weight: 600; }
.visit__fine { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--soft); }

.map {
  margin-top: clamp(38px, 6vw, 58px);
  aspect-ratio: 16 / 10;
  background: var(--wash);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 800px) { .map { aspect-ratio: 21 / 9; } }

/* ─────────────────────────  FOOTER  ───────────────────────── */
.footer {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 9vw, 88px) var(--gut);
  --mark: #fff;
  --mark-hole: #0d0d0d;
}
.footer__mark { font-size: 17px; }
.footer__line {
  margin-top: 16px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .3em; text-indent: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.footer__links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 26px;
  margin-top: 26px;
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
}
.footer__links a {
  display: inline-block;
  text-decoration: none;
  /* the visible rule stays put; the padding is the tap area */
  padding: 13px 4px 12px;
  border-bottom: 0;
  position: relative;
}
.footer__links a::after {
  content: "";
  position: absolute; left: 4px; right: 4px; bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
@media (hover: hover) { .footer__links a:hover::after { border-color: #fff; } }

.footer__legal {
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
}
