/* HAVE AN AVO Atelier – tokens sampled from the brand logo (_source/img/logo.png) */

:root {
  --ink: #12241C;          /* deep avocado-skin green-black */
  --ink-soft: #1D3529;
  --surface: #FAFBF9;      /* cool green-tinted white */
  --surface-2: #F1F5F1;
  --mint: #99E0C0;         /* brand mint, exact */
  --mint-deep: #2F7F5E;    /* AA-safe mint for text on light */
  --orange: #F79822;       /* brand orange, exact */
  --muted: #5C6B63;
  --line: #DCE5DE;

  --display: "Bricolage Grotesque", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1180px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

a { color: var(--mint-deep); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--mint);
  padding: 0.75rem 1.1rem;
  z-index: 50;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin: 0 0 1.1rem;
}
.kicker--dark { color: var(--muted); }
.kicker--mint { color: var(--mint); }

/* ---------- masthead ---------- */

.masthead {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 1.4rem var(--pad) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.brand__mark { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-top: 0.28rem;
}

.nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.4vw, 1.9rem);
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 0.15rem;
  display: inline-block;
  min-height: 44px;
  line-height: 1.9;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}
.nav a:hover { border-bottom-color: var(--orange); }

.nav__cta {
  background: var(--ink);
  color: var(--mint) !important;
  border-radius: 999px;
  padding: 0.55rem 1.25rem !important;
  line-height: 1.9;
  border-bottom: 0 !important;
  transition: background-color 180ms ease;
}
.nav__cta:hover { background: var(--ink-soft); }

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

.hero {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--pad) clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.45rem, 1.35rem + 5.1vw, 5rem);
  max-width: 15ch;
}

.hero__attrib {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin: 1.15rem 0 0;
  letter-spacing: 0.01em;
}

.hero__lede {
  margin: 1.9rem 0 0;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.hero__rating {
  margin: 1.9rem 0 0;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--muted);
}
.hero__rating strong { color: var(--ink); }
.hero__asof { display: block; margin-top: 0.3rem; opacity: 0.85; }

.hero__motif { justify-self: center; width: min(300px, 72vw); }
.hero__motif svg { display: block; width: 100%; height: auto; }

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--orange); color: #241304; }
.btn--primary:hover { background: #E88A14; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--outline {
  background: transparent;
  color: var(--mint);
  border: 2px solid rgba(153, 224, 192, 0.5);
}
.btn--outline:hover { border-color: var(--mint); }

/* ---------- service clock (signature) ---------- */

.clock {
  background: var(--ink);
  color: var(--surface);
  padding: clamp(3rem, 7vw, 5rem) var(--pad);
}

.clock__h {
  max-width: var(--shell);
  margin: 0 auto 2.6rem;
  color: var(--mint);
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 700;
}

.clock__list {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}

.clock__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 1.4rem;
  row-gap: 0.35rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(153, 224, 192, 0.28);
}
.clock__list li:last-child { border-bottom: 1px solid rgba(153, 224, 192, 0.28); }

.clock__time {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem);
  color: var(--mint);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.clock__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.clock__note {
  grid-column: 2;
  color: rgba(250, 251, 249, 0.72);
  font-size: 0.96rem;
}

.clock__foot {
  max-width: var(--shell);
  margin: 2.3rem auto 0;
  font-family: var(--mono);
  font-size: 0.83rem;
  color: rgba(250, 251, 249, 0.7);
  line-height: 1.8;
}
.clock__foot a {
  color: var(--mint);
  display: inline-block;
  padding: 0.75rem 0;
}

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

/* width set in rem, not ch: the ch unit here resolves against this wrapper's
   1rem body font, not the much larger display heading inside it. */
.section-head { max-width: 22rem; }

.menu {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad) clamp(2.5rem, 5vw, 3.5rem);
}

.menu h2, .room h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.9rem);
  font-weight: 700;
}

.menu__grid {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 4vw, 3rem);
}

.course h3 {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint-deep);
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--mint);
  margin-bottom: 0.4rem;
}

.dishes { list-style: none; margin: 0; padding: 0; }

.dishes li {
  padding: 1rem 0.9rem;
  border-radius: 14px;
  border-bottom: 1px solid var(--line);
  transition: background-color 200ms ease;
}
.dishes li:hover { background: var(--surface-2); }
.dishes li:last-child { border-bottom: 0; }

.dishes span {
  display: block;
  font-weight: 500;
  font-size: 1.06rem;
}
.dishes em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.menu__foot {
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.83rem;
  color: var(--muted);
}

/* ---------- room ---------- */

.room {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad) clamp(3.5rem, 8vw, 6rem);
}

.facts {
  list-style: none;
  margin: clamp(2.25rem, 4vw, 3.25rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.facts li {
  background: var(--surface);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.facts strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}
.facts span { color: var(--muted); font-size: 0.92rem; }

.room__note {
  margin: 2.2rem 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
}

/* ---------- visit ---------- */

.visit {
  background: var(--ink);
  color: var(--surface);
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
}

.visit__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.75rem, 6vw, 5rem);
}

.visit h2 {
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  font-weight: 700;
  color: var(--surface);
}

.visit address {
  font-style: normal;
  margin-top: 1.5rem;
  font-size: 1.14rem;
  line-height: 1.75;
  color: rgba(250, 251, 249, 0.9);
}

.visit__transport {
  margin: 1.5rem 0 0;
  max-width: 40ch;
  color: rgba(250, 251, 249, 0.68);
  font-size: 0.98rem;
}

.visit__h3 {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.4rem;
}

.visit__line { margin: 0 0 0.6rem; }

.big-link {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--surface);
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 0.12rem;
  display: inline-block;
  transition: color 180ms ease;
}
.big-link:hover { color: var(--mint); }
.big-link--sm {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem);
  border-bottom-width: 2px;
  padding-top: 0.5rem;
  padding-bottom: 0.4rem;
}

.actions--dark { margin-top: 2.3rem; }

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

.foot {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad) 3rem;
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.foot__brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}
.foot__brand span {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-left: 0.5rem;
}
.foot__addr { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.94rem; }
.foot__addr a { color: var(--mint-deep); display: inline-block; padding: 0.75rem 0; }
.foot__meta { margin: 0; font-family: var(--mono); font-size: 0.76rem; color: var(--muted); }

/* ---------- 404 ---------- */

.nf {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
}
.nf__code {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--mint-deep);
  margin: 0 0 1.3rem;
}
.nf h1 {
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  max-width: 18ch;
}
.nf p.nf__lede { margin: 1.5rem 0 0; max-width: 46ch; color: var(--ink-soft); }

/* ---------- breakpoints ---------- */

@media (min-width: 720px) {
  .clock__list li {
    grid-template-columns: 7.5rem 14rem 1fr;
    align-items: baseline;
    column-gap: 2rem;
  }
  .clock__note { grid-column: 3; }
  .facts { grid-template-columns: 1fr 1fr; }
  .menu__grid { grid-template-columns: 1fr 1fr; }
  .section-head { max-width: 30rem; }
}

@media (min-width: 1000px) {
  .hero { grid-template-columns: 1.55fr 1fr; }
  .hero__motif { width: 300px; justify-self: end; }
  .menu__grid { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .visit__inner { grid-template-columns: 1.1fr 1fr; }
  .section-head { max-width: 38rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover { transform: none; }
}
