/* OLIVE & STONE — restaurant & café concept
   Palette: deep olive, charcoal, ivory, sandstone, soft gold. Literata display. */

:root {
  --badge-bg: rgba(34, 40, 28, 0.9);
  --badge-dot: #c9a227;
  --ivory: #f4eee2;
  --sand: #e7ddc9;
  --ink: #23261f;
  --muted: #6d6a5c;
  --olive: #4a5a33;
  --deep: #2f3a24;
  --char: #23261f;
  --gold: #b8923f;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --serif: Literata, Georgia, serif;
}

body.olive {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.o-wrap { width: min(1180px, 92vw); margin: 0 auto; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* ---------------- header ---------------- */
.o-head { position: absolute; inset: 0 0 auto; z-index: 30; padding: 22px 0 0; }

.o-head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.o-logo {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  color: #fff;
}
.o-logo svg { grid-row: span 2; color: rgba(255, 255, 255, 0.85); }
.o-logo__name { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.05; }
.o-logo__sub { font-size: 8px; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.8; margin-top: 3px; }

.o-nav ul { display: flex; gap: 24px; }
.o-nav a { color: rgba(255, 255, 255, 0.94); font-size: 12.5px; padding-bottom: 6px; border-bottom: 1px solid transparent; }
.o-nav a:hover { border-bottom-color: rgba(255, 255, 255, 0.45); }
.o-nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, 0.85); }

.o-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--olive); color: #f6f0e1;
  font-size: 12px; padding: 10px 18px; border-radius: 3px; white-space: nowrap;
}
.o-cta:hover { background: #57693c; }

/* ---------------- hero ---------------- */
.o-hero {
  position: relative; isolation: isolate;
  height: clamp(420px, 41vw, 640px);
  background: #1d2118;
  overflow: hidden;
}

.o-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; }

.o-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 22, 15, 0.72) 0%, rgba(18, 22, 15, 0.42) 45%, rgba(18, 22, 15, 0.05) 78%),
    linear-gradient(0deg, rgba(16, 20, 13, 0.55), rgba(16, 20, 13, 0) 46%);
}

.o-hero__body { padding-top: clamp(104px, 12vw, 168px); }

.o-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.o-eyebrow span { display: block; width: 30px; height: 1px; background: currentColor; opacity: 0.6; }
.o-eyebrow--center { justify-content: center; }
.o-eyebrow--light { color: #e2cf9f; }

.o-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
}

.o-hero__sub {
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 26px);
  color: rgba(255, 255, 255, 0.9);
}

.o-hero__text {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.84);
}

.o-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.o-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 3px;
  font-size: 12px; letter-spacing: 0.03em;
}
.o-btn--solid { background: var(--olive); color: #f7f2e4; }
.o-btn--solid:hover { background: #57693c; }
.o-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.o-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.o-btn--outline { border: 1px solid rgba(35, 38, 31, 0.45); color: #2c3025; background: none; }
.o-btn--outline:hover { background: rgba(35, 38, 31, 0.06); }

.o-hero__arrow {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
}

/* ---------------- shared ---------------- */
.o-sec { padding: 68px 0; }

.o-h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.18;
  color: #23261f;
  text-align: center;
}
.o-h2--light { color: #fff; text-align: left; }

/* ---------------- menu ---------------- */
.o-menu { padding-top: 58px; padding-bottom: 60px; }

.o-dishes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.o-dish img { width: 100%; aspect-ratio: 1.30; object-fit: cover; border-radius: 2px; }

.o-dish h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  color: #2a2d24;
}

.o-dish p {
  margin-top: 4px;
  font-size: 11.5px;
  color: #7a7666;
  text-align: center;
}

/* ---------------- story ---------------- */
.o-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #efe7d8;
}

.o-story__img { width: 100%; height: 100%; min-height: 380px; max-height: 500px; object-fit: cover; }

.o-story__body { display: flex; align-items: center; padding: 58px clamp(28px, 5vw, 78px); }
.o-story__in { max-width: 480px; }
.o-story .o-h2 { text-align: left; }
.o-story p:not(.o-eyebrow) { margin: 18px 0 28px; font-size: 14px; line-height: 1.85; color: #565345; }

/* ---------------- gallery ---------------- */
.o-gal-sec { padding-top: 62px; padding-bottom: 66px; }

.o-gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.o-gal img { width: 100%; aspect-ratio: 1.32; object-fit: cover; border-radius: 2px; }

/* ---------------- reservation band ---------------- */
.o-reserve {
  position: relative; isolation: isolate;
  padding: 60px 0;
  overflow: hidden;
  background: #262d1d;
}

.o-reserve__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.o-reserve::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(30, 36, 24, 0.88) 0%, rgba(30, 36, 24, 0.72) 55%, rgba(30, 36, 24, 0.55) 100%);
}

.o-reserve__in { display: flex; align-items: center; justify-content: space-between; gap: 36px; }

.o-reserve__copy { max-width: 560px; color: #fff; }
.o-reserve__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #e6d3a6; margin-bottom: 14px; }
.o-reserve__copy .o-h2 { margin-bottom: 10px; }
.o-reserve__copy p { font-size: 13.5px; color: rgba(255, 255, 255, 0.82); max-width: 46ch; }
.o-btn--wide { padding: 14px 26px; }

/* ---------------- info ---------------- */
.o-info { background: #fff; padding: 34px 0; }

.o-info__in {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 320px;
  gap: 30px;
  align-items: center;
}

.o-info__item { display: flex; align-items: flex-start; gap: 12px; padding-right: 20px; border-right: 1px solid rgba(35, 38, 31, 0.2); }
.o-info__item:last-of-type { border-right: 0; }
.o-info__item svg { color: #4a5a33; flex: 0 0 auto; margin-top: 2px; }
.o-info__item h3 { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #8b8677; font-weight: 600; }
.o-info__item p { margin-top: 4px; font-size: 12px; line-height: 1.6; color: #34372c; }
.o-info__item em { font-style: normal; color: #9a9585; }

.o-map { position: relative; height: 96px; border-radius: 3px; overflow: hidden; border: 1px solid #e2ddce; }
.o-map__label { position: absolute; left: 8px; bottom: 6px; font-size: 8.5px; letter-spacing: 0.04em; color: #6d6a5c; background: rgba(255,255,255,.85); padding: 2px 6px; border-radius: 2px; }

/* ---------------- footer ---------------- */
.o-foot { background: var(--deep); color: #ece6d6; padding: 42px 0 18px; }

.o-foot__grid + .o-foot__base { margin-top: 34px; }

.o-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 34px; }

.o-logo--foot { color: #f3eddd; }
.o-logo--foot svg { display: none; }

.o-foot__brand p { margin-top: 14px; font-size: 12px; line-height: 1.7; color: rgba(238, 231, 215, 0.62); max-width: 34ch; }

.o-foot__h { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(238, 231, 215, 0.5); margin-bottom: 12px; }

.o-foot__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; }
.o-foot__nav a { font-size: 12px; color: rgba(238, 231, 215, 0.85); }
.o-foot__nav a:hover { color: #fff; }

.o-foot__social ul { display: flex; gap: 9px; }
.o-foot__social span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(238, 231, 215, 0.3); border-radius: 50%; color: rgba(238, 231, 215, 0.85); }

.o-foot__base {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 16px; border-top: 1px solid rgba(238, 231, 215, 0.16);
  font-size: 10.5px; color: rgba(238, 231, 215, 0.55);
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .o-nav ul { gap: 16px; }
  .o-nav a { font-size: 11.5px; }
  .o-info__in { grid-template-columns: repeat(3, 1fr); }
  .o-map { grid-column: 1 / -1; height: 90px; }
}

@media (max-width: 900px) {
  .o-nav { display: none; }
  .o-hero::after {
    background:
      linear-gradient(180deg, rgba(18, 22, 15, 0.55) 0%, rgba(18, 22, 15, 0.32) 42%, rgba(18, 22, 15, 0.62) 100%);
  }
  .o-hero__body { padding-top: 140px; }

  .o-sec { padding: 64px 0; }
  .o-dishes { grid-template-columns: 1fr 1fr; gap: 22px; }
  .o-story { grid-template-columns: 1fr; }
  .o-story__img { min-height: 300px; max-height: 360px; }
  .o-story__body { padding: 48px 6vw 56px; }
  .o-gal { grid-template-columns: 1fr 1fr; gap: 12px; }
  .o-reserve__in { flex-direction: column; align-items: flex-start; gap: 22px; }
  .o-info__in { grid-template-columns: 1fr; gap: 18px; }
  .o-info__item { border-right: 0; border-bottom: 1px solid rgba(35, 38, 31, 0.14); padding-bottom: 16px; }
  .o-footer__grid,
  .o-foot__grid { grid-template-columns: 1fr 1fr; }
  .o-foot__base { flex-direction: column; }
}

@media (max-width: 620px) {
  .o-hero { height: 620px; }
  .o-hero h1 { font-size: 40px; }
  .o-logo__name { font-size: 20px; }
  .o-cta { padding: 9px 14px; font-size: 11px; }
  .o-h2 { font-size: 26px; }
  .o-dishes { grid-template-columns: 1fr 1fr; gap: 16px; }
  .o-dish h3 { font-size: 15px; }
  .o-dish p { font-size: 10.5px; }
  .o-foot__grid { grid-template-columns: 1fr; }
  .o-hero__arrow { display: none; }
}

@media (max-width: 360px) {
  .o-hero { height: 660px; }
  .o-dishes { grid-template-columns: 1fr; }
  .o-gal { gap: 8px; }
}
