/* ==========================================================================
   Woody's Acharavi
   A painted taverna sign: deep pine ground, cream boards, sun yellow accent,
   an awning stripe as the recurring device. Type led, because the restaurant
   has almost no photographs of its own yet.
   Type: Archivo (expanded caps, display) + Newsreader (text).
   One committed visual world, light and dark hosts alike.
   ========================================================================== */

:root {
  --pine:       #1e2c22;
  --pine-deep:  #15201a;
  --pine-mid:   #2c3d30;
  --pine-line:  #3d5142;
  --cream:      #f2e9d8;
  --cream-dim:  #d9cdb6;
  --sun:        #e9a72c;
  --sun-deep:   #c9861a;
  --clay:       #bd5439;
  --sage:       #9fb294;
  --ink:        #1a271e;
  --ink-2:      #52644f;
  --board-line: #d8ccb4;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
  --ui: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  --fs-3xl:  clamp(2rem, 1.3rem + 3vw, 3.2rem);
  --fs-hero: clamp(2.4rem, 0.9rem + 7.4vw, 8rem);

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 72px;
  --radius: 2px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

/* --------------------------------------------------------------- base ---- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--pine);
  color: var(--cream);
  font-family: var(--text);
  font-size: var(--fs-base);
  font-optical-sizing: auto;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sun); text-underline-offset: 3px; }
a:hover { color: var(--cream); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}

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

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--sun); color: var(--pine-deep);
  padding: 0.7rem 1.2rem; font-family: var(--ui); font-weight: 700; font-size: var(--fs-sm);
}
.skip-link:focus { transform: translate(-50%, 0); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }

.eyebrow {
  font-family: var(--ui); font-size: var(--fs-xs); font-weight: 700;
  font-stretch: 112%; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sun); margin: 0;
}
.eyebrow--ink { color: var(--sun-deep); }

.lede { font-size: var(--fs-lg); color: var(--cream-dim); max-width: 58ch; }

/* The awning: the stripe over a beach cafe, used to close every section. */
.awning {
  height: 9px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg,
    var(--sun) 0 26px, var(--cream) 26px 52px);
}
.awning--thin { height: 5px; }

/* ------------------------------------------------------------ buttons ---- */

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ui); font-size: var(--fs-sm); font-weight: 700;
  font-stretch: 110%; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.9rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn--sun { background: var(--sun); color: var(--pine-deep); border-color: var(--sun); }
.btn--sun:hover { background: var(--cream); border-color: var(--cream); color: var(--pine-deep); }
.btn--outline { border-color: var(--cream); color: var(--cream); }
.btn--outline:hover { background: var(--cream); color: var(--pine-deep); }
.btn--ink { background: var(--pine); color: var(--cream); border-color: var(--pine); }
.btn--ink:hover { background: var(--sun); border-color: var(--sun); color: var(--pine-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ------------------------------------------------------------- header ---- */

.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--pine-deep);
  border-bottom: 1px solid var(--pine-line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: baseline; gap: 0.55rem; text-decoration: none; color: var(--cream); }
.brand__name {
  font-family: var(--display); font-weight: 800; font-stretch: 122%;
  font-size: 1.45rem; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1;
}
.brand__dot { color: var(--sun); }
.brand__sub {
  font-family: var(--ui); font-size: 0.5625rem; font-weight: 600; font-stretch: 110%;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage);
}

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  font-family: var(--ui); font-size: 0.8125rem; font-weight: 600; font-stretch: 105%;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-dim);
  text-decoration: none; padding: 0.55rem 0.7rem; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.25rem; height: 2px;
  background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform 0.18s ease;
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--cream); }

.nav__call {
  margin-left: 0.5rem; font-family: var(--ui); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.05em; padding: 0.6rem 1rem; background: var(--sun); color: var(--pine-deep);
  text-decoration: none; border-radius: var(--radius); white-space: nowrap;
}
.nav__call:hover { background: var(--cream); color: var(--pine-deep); }

.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 2px solid var(--pine-line); border-radius: var(--radius); cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--cream); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--cream);
  transition: transform 0.2s ease, top 0.2s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--pine-deep); padding: 2rem var(--gutter) 3rem;
  display: flex; flex-direction: column; gap: 0.2rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
body.nav-open .drawer { opacity: 1; visibility: visible; transform: none; }
body.nav-open { overflow: hidden; }
.drawer a {
  font-family: var(--display); font-weight: 800; font-stretch: 115%; text-transform: uppercase;
  font-size: 1.6rem; color: var(--cream); text-decoration: none;
  padding: 0.7rem 0; border-bottom: 1px solid var(--pine-line);
}
.drawer a:hover { color: var(--sun); }
.drawer .btn { margin-top: 1.5rem; justify-content: center; }

@media (max-width: 900px) {
  .nav, .nav__call { display: none; }
  .burger { display: inline-flex; }
}

/* --------------------------------------------------------------- hero ---- */

.hero { background: var(--pine); position: relative; overflow: hidden; }
.hero .wrap {
  padding-block: clamp(3rem, 7vw, 5.5rem) 0;
  display: grid; gap: clamp(2rem, 4vw, 3rem);
}
.hero h1 {
  font-size: var(--fs-hero); font-stretch: 125%; line-height: 0.86;
  letter-spacing: -0.02em; color: var(--cream);
}
.hero h1 .sun { color: var(--sun); }
.hero__sub { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; max-width: 52ch; }
.hero__sub p { font-size: var(--fs-lg); color: var(--cream-dim); }

.coast { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 320; }
@media (max-width: 700px) {
  /* On a narrow screen the panorama becomes a sliver, so crop to the half
     that carries the picture: the sun and its reflection. */
  .coast { aspect-ratio: 1200 / 560; }
  .hero h1 { font-stretch: 104%; }
  .btn { padding: 0.85rem 1.15rem; }
}

.hero--page .wrap { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.hero--page h1 { font-size: var(--fs-3xl); }
.hero--page .hero__sub { gap: 1.1rem; max-width: none; }
.hero--page .hero__sub p { max-width: 54ch; }

/* -------------------------------------------------------------- strip ---- */

.strip { background: var(--pine-deep); border-block: 1px solid var(--pine-line); }
.strip .wrap {
  display: flex; flex-wrap: wrap; gap: 0.6rem 2.5rem; padding-block: 1rem;
  justify-content: space-between; font-family: var(--ui); font-size: 0.8125rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage);
}
.strip span { display: inline-flex; align-items: center; gap: 0.6rem; }
.strip span::before { content: ""; width: 6px; height: 6px; background: var(--sun); flex: 0 0 auto; }
@media (max-width: 820px) { .strip .wrap { flex-direction: column; align-items: flex-start; gap: 0.5rem; } }

/* ----------------------------------------------------------- sections ---- */

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--board { background: var(--cream); color: var(--ink); }
.section--board h2, .section--board h3 { color: var(--ink); }
.section--board a { color: var(--clay); }
.section--board a:hover { color: var(--ink); }
.section--mid { background: var(--pine-mid); }

.section__head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head h2 { font-size: var(--fs-3xl); }
.section--board .lede { color: var(--ink-2); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.2fr 0.8fr; }
  .split--wide-right { grid-template-columns: 0.8fr 1.2fr; }
  .split--reverse > :first-child { order: 2; }
}
.split__text { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.split__text h2 { font-size: var(--fs-2xl); }
.split__text p { max-width: 54ch; }
.section--board .split__text p { color: var(--ink-2); }

.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption {
  font-family: var(--ui); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sage); margin-top: 0.7rem;
}
.section--board .figure figcaption { color: var(--ink-2); }
a.figure { display: block; text-decoration: none; }

/* ---------------------------------------------------------------- tiles -- */

.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tile {
  display: flex; flex-direction: column; gap: 0.7rem;
  background: var(--cream); color: var(--ink); text-decoration: none;
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile__top { height: 8px; background: var(--sun); }
.tile__body { padding: 0 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.tile h3 { font-size: 1.3rem; }
.tile p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.tile__more {
  margin-top: auto; font-family: var(--ui); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.tile__more::after { content: "\2192"; }
.tile:hover .tile__more { gap: 0.7rem; }
.tile img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* ---------------------------------------------------------------- menu --- */

.menubar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--pine-deep); border-bottom: 1px solid var(--pine-line);
}
/* The rail scrolls sideways, but a scrollbar under the categories looks like a
   mistake. Hide it and fade the edge instead, only on the side that has more. */
.menubar__scroll {
  display: flex; gap: 0.35rem; overflow-x: auto; padding-block: 0.65rem;
  /* run to the edge of the wrap so the row reads as continuing off screen */
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -ms-overflow-style: none;
}
.menubar__scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
.menubar .wrap { position: relative; }
.menubar .wrap::before, .menubar .wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 2;
  pointer-events: none; opacity: 0; transition: opacity 0.2s ease;
}
.menubar .wrap::before { left: 0; background: linear-gradient(90deg, rgb(21, 32, 26) 35%, rgba(21, 32, 26, 0)); }
.menubar .wrap::after { right: 0; background: linear-gradient(270deg, rgb(21, 32, 26) 35%, rgba(21, 32, 26, 0)); }
.menubar.can-start .wrap::before, .menubar.can-end .wrap::after { opacity: 1; }
.menubar a {
  flex: 0 0 auto; font-family: var(--ui); font-size: var(--fs-xs); font-weight: 700;
  font-stretch: 105%; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sage); text-decoration: none; padding: 0.45rem 0.8rem;
  border: 1px solid var(--pine-line); border-radius: var(--radius); white-space: nowrap;
  transition: all 0.15s ease;
}
.menubar a:hover { color: var(--cream); border-color: var(--sage); }
.menubar a.is-active { background: var(--sun); border-color: var(--sun); color: var(--pine-deep); }

.board {
  background: var(--cream); color: var(--ink); border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  scroll-margin-top: calc(var(--header-h) + 60px);
}
.board__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; }
.board__head h2 { font-size: var(--fs-2xl); color: var(--ink); }
.board__rule { height: 3px; background: var(--sun); margin: 1rem 0 0; border: 0; }
.board__note {
  font-family: var(--ui); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--clay);
}
.board__intro { margin-top: 1.1rem; color: var(--ink-2); max-width: 60ch; }

.dishes { display: grid; gap: 0 clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 800px) { .dishes { grid-template-columns: 1fr 1fr; } }
.dish { padding: 0.85rem 0; border-bottom: 1px solid var(--board-line); }
.dish:last-child { border-bottom: 0; }
.dish__name {
  font-family: var(--ui); font-size: 1.0625rem; font-weight: 700; font-stretch: 105%;
  letter-spacing: 0.01em; color: var(--ink); margin: 0;
}
.dish__desc { font-size: var(--fs-sm); color: var(--ink-2); margin: 0.2rem 0 0; line-height: 1.5; max-width: 50ch; }
.dish__tag {
  display: inline-block; margin-top: 0.4rem; font-family: var(--ui); font-size: 0.6875rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay);
  border: 1px solid currentColor; padding: 0.1rem 0.5rem; border-radius: 100px;
}
.dish--wide { grid-column: 1 / -1; }

.served {
  margin-top: 1.5rem; font-family: var(--ui); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
  border-top: 2px solid var(--sun); padding-top: 0.9rem; display: inline-block;
}

/* --------------------------------------------------------------- facts --- */

.facts { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact h3 {
  font-family: var(--ui); font-size: var(--fs-xs); font-weight: 700; font-stretch: 108%;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); margin-bottom: 0.8rem;
}
.section--board .fact h3 { color: var(--sun-deep); }
.fact address { font-style: normal; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; border-bottom: 1px solid var(--pine-line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.section--board .hours th, .section--board .hours td { border-bottom-color: var(--board-line); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.ticklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.ticklist li::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 0.6em; background: var(--sun);
}
@media (min-width: 620px) { .ticklist--two { grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; } }

/* ---------------------------------------------------------------- form --- */

.form { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--ui); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.field input, .field select, .field textarea {
  font-family: var(--text); font-size: var(--fs-base); color: var(--ink);
  background: #fff; border: 1px solid var(--board-line); border-radius: var(--radius);
  padding: 0.75rem 0.85rem; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sun-deep); box-shadow: 0 0 0 3px rgba(233, 167, 44, 0.25);
}
.form__note { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--ink-2); }
.form .btn { grid-column: 1 / -1; justify-self: start; }

/* -------------------------------------------------------------- footer --- */

.footer { background: var(--pine-deep); color: var(--sage); font-size: var(--fs-sm); }
.footer .wrap { padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer h3 {
  font-family: var(--ui); font-size: var(--fs-xs); font-weight: 700; font-stretch: 108%;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); margin-bottom: 0.9rem;
}
.footer a { color: var(--cream-dim); text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer address { font-style: normal; }
.footer .brand { margin-bottom: 1rem; }
.footer__hours { display: grid; grid-template-columns: auto auto; gap: 0.3rem 1.5rem; font-variant-numeric: tabular-nums; }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--pine-line);
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between;
  font-size: var(--fs-xs); color: #7d8f76;
}
.social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--pine-line); border-radius: 50%;
}
.social a:hover { border-color: var(--sun); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* ------------------------------------------------------------- reveals --- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile:hover { transform: none; }
}

/* --------------------------------------------------------------- print --- */

@media print {
  .header, .drawer, .menubar, .footer, .strip, .btn-row, .social, .coast { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .board { background: #fff; padding: 0; margin-bottom: 1rem; }
  .board, .dish { page-break-inside: avoid; }
}
