/* ============================================================
   ORVANO Coffee House — production site styles
   Editorial warm palette · Spectral / Karla
   ============================================================ */

:root {
  --bg:       #f3ebde;
  --surface:  #fbf6ec;
  --surface-2:#f6eddd;
  --ink:      #281f18;
  --ink-soft: #4a3c30;
  --muted:    #7c6a57;
  --accent:   #9c5a34;   /* copper */
  --gold:     #b0894f;   /* brand gold */
  --line:     #e2d6c2;
  --line-soft:#ece2d2;

  --font-head: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;

  --maxw: 1180px;
  --r: 6px;
  --r-lg: 16px;
  --shadow: 0 22px 60px -28px rgba(40, 27, 16, .45);
  --shadow-sm: 0 10px 30px -18px rgba(40, 27, 16, .4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* warm, lit background instead of a flat block of cream */
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 85% -8%,  rgba(176, 137, 79, .20), transparent 60%),
    radial-gradient(900px 560px at -8% 12%,   rgba(156, 90, 52, .13),  transparent 55%),
    radial-gradient(820px 820px at 50% 118%,  rgba(176, 137, 79, .12), transparent 60%),
    linear-gradient(180deg, #f7f0e4 0%, #f1e7d5 60%, #efe3cf 100%);
  background-attachment: fixed, fixed, fixed, fixed;
  background-repeat: no-repeat;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.07;
  margin: 0;
  letter-spacing: -0.012em;
  color: var(--ink);
}

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin: 0 0 16px;
}
.eyebrow--light { color: var(--gold); }

.lead {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--ink-soft);
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  cursor: pointer;
  transition: transform .14s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: #8a4d2b; border-color: #8a4d2b; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.arrow::after { content: "→"; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 38px; height: 38px; flex: none;
}
.brand__text { line-height: 1; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.26em;
  display: block;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
  border-radius: 0;
}
.nav a.btn { margin-left: 10px; padding: 11px 20px; font-size: 13.5px; color: #fff; border-bottom: 0; border-radius: 999px; }
.nav a.btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; position: relative;
  width: 20px; height: 2px; margin: 0 auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { content:""; position: absolute; top: -6px; }
.nav-toggle span::after  { content:""; position: absolute; top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(22,14,7,.86) 0%, rgba(22,14,7,.30) 48%, rgba(22,14,7,.18) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 64px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(46px, 8vw, 92px);
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__lead {
  color: rgba(255,255,255,.9);
  font-size: clamp(18px, 2.3vw, 22px);
  max-width: 48ch;
  margin: 22px 0 30px;
}
.hero .eyebrow { color: var(--gold); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--surface { background: linear-gradient(180deg, rgba(251,246,236,.88), rgba(246,237,221,.74)); }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* split (image + copy) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--rev .split__media { order: 2; }
.split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }
.split h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.split p { font-size: 18px; color: var(--ink-soft); }

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pillar {
  background: var(--surface);
  padding: 38px 34px;
}
.pillar__num {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.pillar h3 { font-size: 23px; margin: 16px 0 10px; }
.pillar p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* feature band (image full width with overlay copy) */
.band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(22,14,7,.82) 0%, rgba(22,14,7,.45) 55%, rgba(22,14,7,.1) 100%);
}
.band__inner { position: relative; z-index: 2; max-width: 40ch; }
.band h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.band p { color: rgba(255,255,255,.88); font-size: 18px; }
.band .eyebrow { color: var(--gold); }

/* menu preview / list rows */
.menu-rows { max-width: 680px; }
.menu-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--line);
}
.menu-row__name { font-weight: 700; font-family: var(--font-head); font-size: 18px; }
.menu-row__desc { color: var(--muted); font-size: 13.5px; }
.menu-row__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-5px); min-width: 16px; }
.menu-row__price { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent); }

/* full menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
}
.menu-group h3 {
  font-size: 25px;
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 12px;
}
.menu-group h3 .rule { flex: 1; border-bottom: 1px solid var(--line); }
.menu-item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px dotted var(--line);
}
.menu-item__main { display: flex; flex-direction: column; }
.menu-item__name { font-weight: 700; }
.menu-item__desc { color: var(--muted); font-size: 13.5px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--muted); flex: 1; font-size: 15px; }

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .span-2 { grid-column: span 2; }
.gallery .span-row-2 { grid-row: span 2; }

/* page header (interior pages) */
.page-head { padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 52px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); max-width: 16ch; }
.page-head .lead { margin-top: 20px; }

/* image banner (interior page hero) */
.page-banner {
  position: relative;
  min-height: clamp(360px, 50vh, 470px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.page-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,14,7,.86) 0%, rgba(22,14,7,.32) 58%, rgba(22,14,7,.18) 100%);
}
.page-banner__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px 52px; }
.page-banner h1 { color: #fff; font-size: clamp(40px, 6vw, 74px); max-width: 16ch; text-shadow: 0 2px 26px rgba(0,0,0,.25); }
.page-banner .lead { color: rgba(255,255,255,.9); margin-top: 16px; }
.page-banner .eyebrow { color: var(--gold); }

/* visit / info */
.info-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.info-label {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.info-block { margin-bottom: 30px; }
.hours { display: grid; gap: 0; max-width: 360px; }
.hours div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 10px 0; border-bottom: 1px dotted var(--line);
  font-size: 15.5px;
}
.hours .day { color: var(--muted); font-weight: 600; }
.hours .time { font-variant-numeric: tabular-nums; }
.map-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map-card img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

/* callout strip */
.callout {
  background: color-mix(in oklab, var(--accent) 8%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--accent) 20%, var(--line));
  border-radius: var(--r-lg);
  padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.callout h3 { font-size: 24px; }
.callout p { margin: 4px 0 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: color-mix(in oklab, #fff 80%, var(--ink));
  padding: 70px 0 28px;
  margin-top: 0;
}
.site-footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255,255,255,.5); }
.foot-tag { margin-top: 16px; max-width: 32ch; font-size: 14px; color: rgba(255,255,255,.65); }
.site-footer h4 {
  font-family: var(--font-body); color: rgba(255,255,255,.55);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px;
}
.site-footer a { display: block; color: rgba(255,255,255,.82); margin-bottom: 9px; font-size: 14.5px; }
.site-footer a:hover { color: var(--gold); }
.foot-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 26px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 72px;
    flex-direction: column; align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    gap: 2px;
    transform: translateY(-130%);
    transition: transform .28s ease;
    box-shadow: var(--shadow-sm);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 8px; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery .span-2, .gallery .span-row-2 { grid-column: span 1; grid-row: span 1; }
  .callout { flex-direction: column; align-items: flex-start; }
  .callout .btn { width: 100%; justify-content: center; }
  .hero { min-height: 76vh; }
  .hero__inner { padding-bottom: 44px; }
  .hero .row { flex-direction: column; align-items: stretch; }
  .hero .row .btn { justify-content: center; }
  .band { min-height: 360px; }
  .band__inner, .hero h1 { max-width: 100%; }
  .page-banner { min-height: 320px; }
  .pillar { padding: 28px 26px; }
  .brand__name { font-size: 19px; letter-spacing: 0.2em; }
}
