/* Coffee Rush Drive Thru — concept
   Palette pulled from the hero: açaí ink, berry, mango, window-sky teal. */

:root {
  --paper: #f2f5f3;
  --paper-2: #e3ece8;
  --ink: #21122e;
  --ink-soft: #4a3d56;
  --berry: #8b2a7b;
  --berry-deep: #3a1342;
  --mango: #ffb21c;
  --sky: #9fd3d2;
  --teal: #1d5d63;
  --road: #2f2a36;
  --sign-green: #00704a;
  --sign-yellow: #ffd200;

  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--mango); color: var(--ink); padding: 10px 14px;
  font-weight: 700; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

/* "to confirm" flag used wherever a fact still needs checking */
.tbc {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--mango);
  color: var(--ink);
  padding: 0.15em 0.5em;
  border-radius: 3px;
  margin-right: 0.35em;
  vertical-align: 0.1em;
}

.concept-bar {
  margin: 0;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 0.82rem;
  text-align: center;
  padding: 8px var(--gutter);
}

/* ---------- Header ---------- */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; }
.brand-word {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--berry);
}

.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:not(.nav-cta):hover { color: var(--berry); }
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--berry); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--berry); }
.btn-line { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 48px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-kicker {
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(3.4rem, 9.4vw, 8.6rem);
  font-stretch: 78%;
  line-height: 0.86;
  letter-spacing: -0.035em;
}
.hero-title span { display: block; }
.t-berry { color: var(--berry); }
.t-mango {
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--mango) 58%, var(--mango) 92%, transparent 92%);
  width: fit-content;
}

.hero-lede {
  max-width: 34ch;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  margin: 26px 0 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The photo sits in a car-window shape: swept front edge, square back. */
.hero-window {
  position: relative;
  margin: 0;
}
.hero-window img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 58% 14px 14px 14px / 30% 14px 14px 14px;
  background: var(--sky);
}

.window-sticker {
  position: absolute;
  left: -6%;
  bottom: 9%;
  width: clamp(104px, 11vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mango);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(0.92rem, 1.2vw, 1.1rem);
  line-height: 1;
  transform: rotate(-10deg);
  box-shadow: 0 0 0 6px var(--paper);
}

/* ---------- Route strip (signature) ---------- */
.route {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 46px var(--gutter) 40px;
  overflow: hidden;
}

.road {
  position: absolute;
  left: 0; right: 0;
  top: 64px;
  height: 34px;
  background: var(--road);
  overflow: hidden;
}
.lane {
  position: absolute;
  top: 50%;
  left: -80px;
  right: -80px;
  height: 4px;
  margin-top: -2px;
  background: repeating-linear-gradient(90deg, var(--sign-yellow) 0 40px, transparent 40px 80px);
  animation: drive 2.4s linear infinite;
}
@keyframes drive { to { transform: translateX(-80px); } }

.route-stops {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.route-stops a {
  display: grid;
  justify-items: start;
  gap: 4px;
  text-decoration: none;
  padding-top: 0;
}
.route-stops strong {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  font-stretch: 85%;
  margin-top: 24px;
  line-height: 1;
}
.route-stops a span:last-child { color: var(--sky); font-size: 0.95rem; }
.route-stops a:hover strong { color: var(--mango); }

/* Irish road-sign nods: green/yellow for national, white for local roads */
.road-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--sign-green);
  color: var(--sign-yellow);
  box-shadow: 0 0 0 2px var(--paper);
  line-height: 1.1;
}
.road-badge--r { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }

/* ---------- Section heads ---------- */
.section-head {
  max-width: var(--max);
  margin: 0 auto clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-stretch: 82%;
}
.section-head p { margin: 0; color: var(--ink-soft); max-width: 44ch; }
.section-head a { color: var(--berry); font-weight: 600; }
.section-head--light p { color: var(--paper-2); }

/* ---------- Menu board ---------- */
.menu {
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}

.board {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: clamp(12px, 1.6vw, 20px);
}

.item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-body {
  position: relative;
  margin-top: auto;
  padding: 18px 20px 20px;
  max-width: 30ch;
  border-top-right-radius: var(--radius);
}
.item h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-stretch: 85%;
  margin-bottom: 6px;
}
.item p { margin: 0; font-size: 0.98rem; }

.item--coffee  { grid-column: 1 / span 4; grid-row: span 2; }
.item--acai    { grid-column: 5 / span 8; grid-row: span 2; }
.item--toastie { grid-column: 1 / span 5; min-height: 380px; }
.item--shake   { grid-column: 6 / span 7; min-height: 380px; }

.item--coffee .item-body  { background: var(--paper); }
.item--acai .item-body    { background: var(--berry); color: #fff; }
.item--toastie .item-body { background: var(--mango); }
.item--shake .item-body   { background: var(--ink); color: var(--paper); }

.item--coffee img { object-position: 50% 60%; }
.item--toastie img { object-position: 50% 70%; }
.item--shake img { object-position: 30% 50%; }

.menu-note {
  max-width: var(--max);
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Locations ---------- */
.stops {
  background: var(--berry-deep);
  color: var(--paper);
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}

.stop-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stop {
  padding: 8px clamp(18px, 2.6vw, 36px) 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  /* lane markings between the stops */
  border-left: 3px dashed rgba(255, 210, 0, 0.55);
  scroll-margin-top: 24px;
}
.stop:first-child { border-left: 0; padding-left: 0; }

.stop-no {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sky);
}
.stop h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-stretch: 85%; }
.stop-addr { margin: 0; font-size: 1.05rem; }
.eir {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mango);
}
.stop-note { margin: 0 0 8px; color: var(--paper-2); font-size: 0.96rem; flex-grow: 1; }
.stop .btn-solid { background: var(--mango); color: var(--ink); }
.stop .btn-solid:hover { background: var(--paper); }

/* ---------- Hours & contact ---------- */
.hours {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.hours-photo { margin: 0; }
.hours-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 100%; /* keeps the street shopfront out of frame */
  border-radius: var(--radius);
}

.hours-copy h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-stretch: 82%; margin-bottom: 26px; }

.hours-table { margin: 0 0 14px; }
.hours-table div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}
.hours-table div:first-child { border-top: 2px solid var(--ink); }
.hours-table dt { font-weight: 600; flex: 1; }
.hours-table dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.3em; }

.hours-note { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 12px; }

.contact-h { font-size: 1.6rem; margin: 34px 0 12px; font-stretch: 90%; }
.contact { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.contact a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.12rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-2);
}
.contact a:hover { color: var(--berry); }
.contact a span {
  width: 92px;
  flex: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}

/* ---------- Footer ---------- */
.foot {
  background: var(--ink);
  color: var(--paper-2);
  padding: 40px var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.foot > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  margin-bottom: 20px;
}
.foot-row p { margin: 0; }
.foot-brand {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1.8rem;
  color: var(--paper);
}
.foot-brand span { font-family: var(--body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mango); }
.credits { font-size: 0.82rem; margin: 6px auto 0; opacity: 0.8; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-window { max-width: 520px; width: 100%; justify-self: center; }
  .section-head { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(6, 1fr); }
  .item--coffee  { grid-column: 1 / span 3; grid-row: auto; min-height: 420px; }
  .item--acai    { grid-column: 4 / span 3; grid-row: auto; min-height: 420px; }
  .item--toastie { grid-column: 1 / span 3; }
  .item--shake   { grid-column: 4 / span 3; }
  .hours { grid-template-columns: 1fr; }
  .hours-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .top { flex-wrap: wrap; row-gap: 10px; padding-top: 14px; padding-bottom: 10px; }
  .nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 0.98rem; }
  .nav-cta { padding: 8px 14px; }

  .hero { padding-top: 12px; }
  .hero-title { font-size: clamp(3.1rem, 17vw, 4.6rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .window-sticker { left: auto; right: -2%; bottom: -4%; }

  /* road turns vertical and the stops run down it */
  .route { padding: 34px var(--gutter) 30px; }
  .road { top: 0; bottom: 0; left: calc(var(--gutter) + 18px); right: auto; width: 26px; height: auto; }
  .lane {
    top: -80px; bottom: -80px; left: 50%; right: auto;
    width: 4px; height: auto; margin: 0 0 0 -2px;
    background: repeating-linear-gradient(180deg, var(--sign-yellow) 0 32px, transparent 32px 64px);
    animation-name: drive-v;
  }
  @keyframes drive-v { to { transform: translateY(-64px); } }
  .route-stops { grid-template-columns: 1fr; gap: 22px; }
  .route-stops a {
    grid-template-columns: 62px 1fr;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
  }
  .road-badge { grid-row: span 2; justify-self: center; font-size: 0.78rem; padding: 5px 7px; text-align: center; }
  .route-stops strong { margin-top: 0; }

  .board { grid-template-columns: 1fr; }
  .item--coffee, .item--acai, .item--toastie, .item--shake { grid-column: 1; min-height: 360px; }

  .stop-list { grid-template-columns: 1fr; }
  .stop {
    border-left: 0;
    border-top: 3px dashed rgba(255, 210, 0, 0.55);
    padding: 26px 0 30px;
  }
  .stop:first-child { border-top: 0; padding-top: 0; }

  .contact a span { width: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lane { animation: none; }
  .btn { transition: none; }
}
