/* ===== OO Coffee — base ===== */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --cream: #FAF6F0;
  --cream-deep: #F3EBE1;
  --brown: #8B6B4F;
  --brown-dark: #74573E;
  --espresso: #3E2F26;
  --terracotta: #C98A6B;
  --muted: #7A6A5E;
  --line: rgba(62, 47, 38, 0.10);
  --card: #FFFDFA;
  --shadow-sm: 0 2px 10px rgba(62, 47, 38, 0.05);
  --shadow-md: 0 10px 28px rgba(62, 47, 38, 0.08);
  --shadow-lg: 0 20px 48px rgba(62, 47, 38, 0.12);
  --radius: 18px;
  --radius-lg: 26px;
  --nav-h: 68px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--espresso);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.is-stuck {
  background: rgba(250, 246, 240, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(62, 47, 38, 0.05);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--brown);
  color: #fff;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--espresso); background: rgba(139, 107, 79, 0.09); }
.nav-link.is-current { color: var(--brown-dark); background: rgba(139, 107, 79, 0.13); }

.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--espresso);
  color: var(--cream);
  font-size: .92rem;
  font-weight: 500;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--brown); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle .bar {
  display: block;
  width: 18px; height: 1.8px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -26%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 130%);
  height: 820px;
  background:
    radial-gradient(42% 46% at 50% 40%, rgba(201, 138, 107, 0.22), transparent 70%),
    radial-gradient(38% 42% at 24% 62%, rgba(139, 107, 79, 0.18), transparent 72%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(3rem, 11vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-tagline {
  max-width: 580px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn-sm { padding: 11px 22px; font-size: .92rem; }
.btn-icon { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--brown); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brown-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost { background: rgba(255, 253, 250, .75); color: var(--espresso); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-outline { background: transparent; color: var(--espresso); border-color: rgba(139, 107, 79, .4); }
.btn-outline:hover { background: var(--brown); color: #fff; border-color: var(--brown); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.scroll-cue {
  margin-top: 58px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s ease;
}
.scroll-cue:hover { color: var(--brown); }
.cue-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--terracotta), transparent);
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px; height: 14px;
  background: var(--brown);
  animation: cueDrop 2.1s ease-in-out infinite;
}
@keyframes cueDrop {
  0%   { transform: translateY(-16px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--cream-deep); }

.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-title {
  font-size: clamp(1.9rem, 4.6vw, 2.75rem);
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 1.01rem; }

/* ===== Tabs ===== */
.tabs {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(139, 107, 79, 0.10);
}
.tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: .96rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 32px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s ease;
}
.tab.is-active { color: var(--espresso); }
.tab-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), width .32s cubic-bezier(.4, 0, .2, 1);
}

.panels { position: relative; }
.panel { display: none; }
.panel.is-active { display: block; animation: fadeUp .42s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ===== Menu cards ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.menu-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 138, 107, .4);
}
.menu-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}
.menu-name { font-size: 1.14rem; font-weight: 600; }
.menu-price {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
}
.menu-desc { color: var(--muted); font-size: .93rem; line-height: 1.65; }
.menu-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(201, 138, 107, .14);
  color: var(--brown-dark);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ===== Location ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: stretch;
}
.map-frame {
  position: relative;
  min-height: 400px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #F0E5D8, #E6D7C6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 107, 79, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 107, 79, .11) 1px, transparent 1px);
  background-size: 48px 48px;
}
.map-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 46%, rgba(255, 253, 250, .85) 46.4%, rgba(255, 253, 250, .85) 50%, transparent 50.4%),
    linear-gradient(28deg, transparent 62%, rgba(255, 253, 250, .7) 62.4%, rgba(255, 253, 250, .7) 65%, transparent 65.4%);
}
.map-pin {
  position: relative;
  z-index: 2;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card);
  color: var(--terracotta);
  box-shadow: 0 10px 26px rgba(62, 47, 38, .18);
  animation: pinFloat 3.4s ease-in-out infinite;
}
.map-pin svg { width: 30px; height: 30px; }
@keyframes pinFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.map-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 253, 250, .9);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.location-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.card-title {
  font-size: .78rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.card-title + .card-title, .find-list + .card-title { margin-top: 28px; }
.address {
  font-style: normal;
  font-size: 1.04rem;
  line-height: 1.8;
}
.find-list { display: grid; gap: 14px; }
.find-list li {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.62;
  padding-left: 14px;
  border-left: 2px solid rgba(201, 138, 107, .35);
}
.find-key {
  display: block;
  font-weight: 600;
  color: var(--espresso);
  font-size: .86rem;
}
.location-card .btn { margin-top: 28px; }

/* ===== Instagram ===== */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.ig-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
.ig-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ig-art { position: absolute; inset: 0; display: block; }
.ig-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .34), transparent 42%),
    radial-gradient(circle at 76% 74%, rgba(62, 47, 38, .20), transparent 48%);
}
.art-1 { background: linear-gradient(140deg, #D9BFA6, #B48F6D); }
.art-2 { background: linear-gradient(140deg, #EBD9C4, #C98A6B); }
.art-3 { background: linear-gradient(140deg, #C2A287, #7E5F45); }
.art-4 { background: linear-gradient(140deg, #F0E2D1, #A98263); }
.art-5 { background: linear-gradient(140deg, #E2C9AF, #8B6B4F); }
.art-6 { background: linear-gradient(140deg, #B08E72, #5C4535); }
.art-7 { background: linear-gradient(140deg, #D6C3B2, #93705A); }
.art-8 { background: linear-gradient(140deg, #F5E6D6, #C08F72); }

.ig-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 26px 16px 14px;
  background: linear-gradient(to top, rgba(62, 47, 38, .72), transparent);
  color: #FFFDFA;
  font-size: .84rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
}
.ig-tile:hover .ig-caption, .ig-tile:focus-within .ig-caption { opacity: 1; transform: none; }

.ig-cta { margin-top: 36px; text-align: center; }

/* ===== Hours ===== */
.hours-wrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}
.hours-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px 28px;
  box-shadow: var(--shadow-sm);
}
.hours-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  flex-wrap: wrap;
}
.hours-row:last-child { border-bottom: 0; }
.hours-day { font-weight: 600; font-size: 1rem; white-space: nowrap; }
.hours-dots {
  flex: 1 1 40px;
  min-width: 24px;
  height: 1px;
  background-image: linear-gradient(90deg, var(--line) 50%, transparent 50%);
  background-size: 7px 1px;
  transform: translateY(-4px);
}
.hours-time { color: var(--muted); font-size: .96rem; text-align: right; }
.hours-row.is-closed .hours-time { color: var(--terracotta); font-weight: 500; }
.hours-row.is-today {
  background: rgba(201, 138, 107, .10);
  border-radius: 14px;
  padding-left: 14px;
  padding-right: 14px;
  margin: 0 -14px;
  border-bottom-color: transparent;
}
.hours-row.is-today .hours-day::after {
  content: "Today";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.hours-note {
  background: var(--espresso);
  color: #EFE4D8;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.note-status {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
}
.note-body { font-size: .94rem; line-height: 1.75; color: rgba(239, 228, 216, .78); }

/* ===== Footer ===== */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.footer-line { color: var(--muted); font-size: .93rem; margin-top: 4px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-col h3 {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.footer-col p { color: var(--muted); font-size: .93rem; line-height: 1.9; }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: .86rem;
}
.to-top { transition: color .2s ease; }
.to-top:hover { color: var(--brown); }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .location-grid, .hours-wrap, .footer-inner { grid-template-columns: 1fr; }
  .map-frame { min-height: 300px; }
  .section { padding: 76px 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    background: rgba(250, 246, 240, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-link { padding: 12px 14px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; text-align: center; padding: 13px 20px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .nav-inner { padding: 0 18px; }
  .hero { padding: calc(var(--nav-h) + 48px) 0 72px; min-height: 0; }
  .scroll-cue { margin-top: 42px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .menu-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ig-caption { opacity: 1; transform: none; font-size: .76rem; padding: 22px 12px 11px; }
  .location-card, .hours-note { padding: 24px; }
  .hours-list { padding: 8px 20px; }
  .hours-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 15px 0; }
  .hours-dots { display: none; }
  .hours-time { text-align: left; }
  .hours-row.is-today { padding: 15px 14px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 10px 16px; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1 1 180px; }
  .ig-cta .btn, .location-card .btn { width: auto; }
}

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