/* Airport West Coffee Co. — colours sampled from the drive-thru wall, the menu boards and the mascot */
@font-face {
  font-family: "Anton";
  src: url("/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy: #173a5e;        /* the painted wall */
  --navy-deep: #0f2440;   /* sign outlines, footer */
  --board: #0d1f38;       /* the menu boards */
  --board-blue: #3aa0e8;  /* "New to ordering?" and size letters on the boards */
  --mustard: #f2c230;     /* lettering, the cup */
  --mustard-deep: #c9971c;/* the side of the 3D letters */
  --teal: #47afca;        /* small wall dot, cup lid */
  --dot: #355590;         /* big wall dot */
  --pink: #c2509a;        /* the suit */
  --paper: #f7f7f4;       /* the white render around the window */
  --ink: #17181c;
  --muted: #4a4d55;
  --frame: #c7cbd1;       /* aluminium board frames */
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--pink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--paper); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--mustard); padding: 8px 12px; z-index: 10; font-weight: 700; }
.skip:focus { top: 8px; }

/* ---- top strip ---- */
.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 28px;
  padding: 14px var(--gutter);
  background: var(--board);
  color: #fff;
  border-bottom: 3px solid var(--mustard);
  font-weight: 700;
  font-stretch: 85%;
}
.strip__name { font-family: var(--display); font-weight: 400; font-size: 1.25rem; text-decoration: none; text-transform: uppercase; color: var(--mustard); }
.strip__nav { display: flex; gap: 20px; }
.strip__nav a { text-decoration: none; }
.strip__nav a:hover { text-decoration: underline; }
.strip__status { margin: 0 0 0 auto; display: flex; align-items: center; gap: 8px; }
.strip__status[hidden] { display: none; }
.strip__status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa0a8; }
.strip__status.is-open::before { background: #2f9d58; }

/* ---- the wall (hero) ---- */
.wall {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(36px, 6vw, 80px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  gap: 24px;
  overflow: hidden;
}
.wall__words { padding-bottom: clamp(36px, 5vw, 72px); }
.sign { margin: 0; display: flex; align-items: flex-start; gap: 0.25em; font-weight: 400; }
.sign__side {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 700 clamp(0.875rem, 1.3vw, 1rem)/1 var(--text);
  font-stretch: 85%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.3em;
}
/* painted sign, as on the wall: navy face, yellow outline, and a solid yellow 3D side */
.sign__main {
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--navy);
  -webkit-text-stroke: 0.06em var(--mustard);
  paint-order: stroke fill;
  text-shadow:
    0.012em 0.012em 0 var(--mustard), 0.024em 0.024em 0 var(--mustard),
    0.036em 0.036em 0 var(--mustard), 0.048em 0.048em 0 var(--mustard),
    0.06em 0.06em 0 var(--mustard), 0.072em 0.072em 0 var(--mustard);
}
/* "Fuel your day" in the white outlined lettering used on the wall and boards */
.wall__tag {
  margin: 0.5em 0 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  -webkit-text-stroke: 1.5px #fff;
  text-shadow: 3px 3px 0 #fff;
}
.wall__lede { max-width: 32em; margin: 1.25em 0 0; font-size: 1.125rem; }
.wall__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.wall__call { font-weight: 700; }
.wall__hours { margin: 18px 0 0; font-weight: 700; font-stretch: 85%; color: var(--mustard); }
.wall__hours a { text-decoration: none; }
.wall__hours a:hover { text-decoration: underline; }

/* the mascot stands in front of the two dots painted on the wall */
.wall__art { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.wall__art::before, .wall__art::after { content: ""; position: absolute; border-radius: 50%; }
/* anchored from the bottom so they stay behind the mascot at every width; the teal dot overlaps the big one, as on the wall */
.wall__art::before { width: min(62%, 340px); aspect-ratio: 1; background: var(--dot); left: 6%; bottom: 14%; }
.wall__art::after { width: min(34%, 190px); aspect-ratio: 1; background: var(--teal); right: 8%; bottom: 52%; }
.wall__mascot {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  margin-bottom: -2px;
  transform: rotate(4deg) translateY(6%);
  transform-origin: bottom center;
}

/* one button: square, with the sign's hard shadow; pressing pushes it in */
.btn {
  display: inline-block;
  padding: 0.75em 1.15em;
  background: var(--mustard);
  color: var(--ink);
  font-weight: 700;
  font-stretch: 90%;
  text-decoration: none;
  border: 2px solid var(--navy-deep);
  box-shadow: 4px 4px 0 var(--mustard-deep);
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.btn:hover { text-decoration: underline; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--mustard-deep); }

.label {
  margin: 0 0 0.6em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

/* ---- menu ---- */
.menu { padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 64px); }
.menu__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-bottom: 28px; }
.menu__head .label { margin: 0; }
.menu__intro { margin: 0; font-size: 1.125rem; }
.menu__intro strong { color: var(--navy); text-transform: uppercase; }
.beans { margin: 0 0 0 auto; display: flex; align-items: center; gap: 12px; font-weight: 700; font-stretch: 85%; }
.beans img { width: 112px; }

.board {
  background: var(--board);
  color: #fff;
  border: 10px solid var(--frame);
  outline: 1px solid #9ea3ab;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}
.board__letters {
  margin: 0;
  padding: 24px 6px 24px 20px;
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--board);
  -webkit-text-stroke: 2px #fff;
  text-shadow: 3px 3px 0 #fff;
  user-select: none;
}
.board__letters span { display: block; }
.board__letters .gap { margin-top: 0.4em; }
.board__title { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; color: var(--board); -webkit-text-stroke: 1.5px #fff; text-shadow: 3px 3px 0 #fff; }
/* on wide screens the stacked letters are the visible heading; the real heading stays for screen readers */
@media (min-width: 861px) {
  .board__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.board__body { padding: 24px clamp(18px, 3vw, 36px) 28px; }
.board__step {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--mustard);
  letter-spacing: 0.02em;
}
.board__step-sep { color: var(--board-blue); margin: 0 0.3em; }
.board h4 {
  margin: 20px 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--mustard);
  letter-spacing: 0.02em;
}
.board h4:first-child { margin-top: 0; }

.board__top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0 36px; }
.board__extras { border-left: 2px solid rgba(58, 160, 232, 0.55); padding-left: 28px; }
.board__bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.board--drinks .board__bottom { margin-top: 22px; padding-top: 20px; border-top: 2px solid rgba(58, 160, 232, 0.55); }

/* hot drinks: a real table so S / M / L line up and read correctly */
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices caption { text-align: left; font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; color: var(--mustard); padding-bottom: 2px; }
.prices thead th { font-family: var(--display); font-weight: 400; font-size: 1.125rem; color: var(--board-blue); text-align: right; padding: 0 0 4px; }
.prices tbody th { text-align: left; font-weight: 400; padding: 4px 0; }
.prices tbody tr + tr { border-top: 1px solid rgba(58, 160, 232, 0.18); }
.prices td { text-align: right; font-weight: 700; padding: 4px 0 4px 12px; width: 4.6em; }
.prices small, .items small { display: block; font-size: 0.875rem; color: #c9d3e6; line-height: 1.35; font-weight: 400; }

.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 3px 0; }
.items b { grid-column: 2; grid-row: 1; font-variant-numeric: tabular-nums; text-align: right; }
.items small { grid-column: 1 / -1; }

.menu__food {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.window { margin: 0; }
.window img {
  border: 14px solid #fff;
  outline: 3px solid var(--navy-deep);
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  width: 100%;
}
.window figcaption { margin-top: 16px; max-width: 26em; }
.menu__note { margin: 28px 0 0; font-size: 0.875rem; color: var(--muted); }

/* ---- find us + hours ---- */
.find {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  background: var(--mustard);
  border-top: 3px solid var(--navy-deep);
  border-bottom: 3px solid var(--navy-deep);
}
.find__photo { width: 100%; height: 100%; object-fit: cover; min-height: 420px; border-right: 3px solid var(--navy-deep); }
.find__text { padding: clamp(40px, 6vw, 80px) var(--gutter); }
.route { margin: 0; padding: 0; list-style: none; counter-reset: route; font-size: 1.125rem; max-width: 30em; }
.route li { counter-increment: route; position: relative; padding: 0 0 18px 52px; }
.route li::before {
  content: counter(route);
  position: absolute; left: 0; top: -0.1em;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--paper);
  font-family: var(--display); font-size: 1.125rem;
}
.find__addr { margin: 8px 0 4px; font-weight: 700; }
.find__links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 700; }

.hours { margin-top: 44px; padding-top: 30px; border-top: 3px solid var(--navy-deep); max-width: 30em; }
.hours table { width: 100%; border-collapse: collapse; font-size: 1.125rem; }
.hours th, .hours td { padding: 10px 0; text-align: left; border-bottom: 1px solid rgba(15, 36, 64, 0.25); }
.hours th { font-weight: 400; }
.hours td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr.is-today th { font-weight: 700; }
.hours tr.is-today th::after { content: "today"; margin-left: 10px; padding: 1px 6px 2px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--navy); color: var(--paper); vertical-align: 2px; }
.hours__note { margin: 14px 0 0; }

/* ---- reviews ---- */
.word { padding: 56px var(--gutter) 88px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 6vw, 96px); }
.word .label { grid-column: 1 / -1; }
.word blockquote { margin: 0; }
.word blockquote p { margin: 0; }
.word footer { margin-top: 8px; font-weight: 700; font-stretch: 85%; color: var(--muted); }
.word__big p { font-family: var(--display); font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.05; text-transform: uppercase; color: var(--navy); }
.word__more { display: flex; flex-direction: column; gap: 24px; }
.word__more blockquote { padding-left: 18px; border-left: 4px solid var(--teal); font-size: 1.125rem; }
.word__source { grid-column: 1 / -1; margin: 36px 0 0; font-size: 0.875rem; color: var(--muted); }

/* ---- footer ---- */
.foot {
  background: var(--navy-deep);
  color: var(--paper);
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 6vw, 96px);
}
.foot p { margin: 0 0 12px; }
.foot__big { font-family: var(--display); font-size: clamp(1.75rem, 3.5vw, 2.4rem); line-height: 1.05; text-transform: uppercase; color: var(--mustard); }

/* ---- 404 ---- */
.wall--lost { grid-template-columns: 1fr; min-height: calc(100vh - 60px); align-items: center; }

/* ---- narrower screens ---- */
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; border-width: 8px; }
  .board__letters { display: none; }
  .board__top { grid-template-columns: 1fr; }
  .board__extras { border-left: 0; padding-left: 0; margin-top: 22px; padding-top: 20px; border-top: 2px solid rgba(58, 160, 232, 0.55); }
  .menu__food { grid-template-columns: 1fr; }
  .find { grid-template-columns: 1fr; }
  .find__photo { min-height: 0; max-height: 460px; border-right: 0; border-bottom: 3px solid var(--navy-deep); }
  .word { grid-template-columns: 1fr; }
  .word__more { padding-top: 28px; }
  .foot { grid-template-columns: 1fr; }
  .beans { margin-left: 0; }
}
@media (max-width: 700px) {
  .wall { grid-template-columns: 1fr; }
  .wall__words { padding-bottom: 8px; }
  .wall__art::before { width: 58%; left: 10%; bottom: 12%; }
  .wall__art::after { width: 30%; right: 12%; bottom: 50%; }
  .wall__mascot { width: min(72%, 320px); }
}
@media (max-width: 600px) {
  .board__bottom { grid-template-columns: 1fr; }
  .board__body { padding-left: 16px; padding-right: 16px; }
  .prices td { width: 3.4em; padding-left: 4px; }
  .prices thead th { padding-left: 4px; }
  .board--food .board__bottom > div + div h4:first-child { margin-top: 20px; }
  .board--drinks .board__bottom > div + div h4:first-child { margin-top: 20px; }
}
@media (max-width: 520px) {
  .strip__status { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
