/* =============================
   OO커피 — Brand Site Styles
   Palette:
     cream    #FAF6F0
     beige    #E8D9C4
     brown    #5C3A21
     ink      #2E1F14
     accent   #C9825A
   ============================= */

:root {
  --cream: #FAF6F0;
  --beige: #E8D9C4;
  --beige-soft: #F1E5D2;
  --brown: #5C3A21;
  --brown-dark: #3E2612;
  --ink: #2E1F14;
  --ink-mute: #6B5744;
  --accent: #C9825A;
  --accent-soft: #E7B597;
  --line: #E4D6C0;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Noto Serif KR", ui-serif, Georgia, serif;
  --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(46, 31, 20, 0.05);
  --shadow-md: 0 12px 32px rgba(46, 31, 20, 0.10);

  --container: 1120px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--brown-dark);
  margin: 0 0 18px;
}

.section-sub {
  color: var(--ink-mute);
  max-width: 560px;
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--brown);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brown-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--brown-dark);
  border-color: var(--brown);
}
.btn-ghost:hover {
  background: var(--brown);
  color: var(--cream);
}

/* =============================
   Header
   ============================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(250, 246, 240, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 240, 0.94);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown-dark);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-desktop a {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-desktop a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  gap: 4px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}
.nav-mobile a:last-child { border-bottom: none; }

/* =============================
   Hero
   ============================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 24px 100px;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(46,31,20,0.15) 0%, rgba(46,31,20,0.55) 60%, rgba(46,31,20,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-content .eyebrow {
  color: var(--accent-soft);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  margin: 0 0 22px;
  color: #FBF3E7;
  letter-spacing: -0.01em;
}
.hero-title .serif { display: block; }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(251, 243, 231, 0.88);
  margin: 0 auto 34px;
  max-width: 560px;
}
.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-cta .btn-ghost {
  color: #FBF3E7;
  border-color: rgba(251, 243, 231, 0.7);
}
.hero-cta .btn-ghost:hover {
  background: #FBF3E7;
  color: var(--brown-dark);
}
.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(251, 243, 231, 0.7);
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  display: block;
  width: 3px; height: 8px;
  background: rgba(251, 243, 231, 0.9);
  border-radius: 3px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* =============================
   About
   ============================= */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-copy .lead {
  color: var(--ink-mute);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 26px;
}
.about-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.about-points li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 15px;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.about-points strong {
  color: var(--brown-dark);
  margin-right: 6px;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-photo::after {
  content: "";
  position: absolute;
  right: -14px; bottom: -14px;
  width: 60%; height: 60%;
  background: var(--beige);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =============================
   Menu
   ============================= */
.menu { background: linear-gradient(180deg, var(--cream) 0%, var(--beige-soft) 100%); }
.menu-tabs {
  display: inline-flex;
  gap: 6px;
  background: rgba(255,255,255,0.7);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin: 0 auto 40px;
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.menu-tab {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--ink-mute);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all .25s ease;
}
.menu-tab:hover { color: var(--brown-dark); }
.menu-tab.is-active {
  background: var(--brown);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.menu-panels { position: relative; }
.menu-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.menu-panel.is-active {
  opacity: 1;
  transform: none;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.menu-card .name-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.menu-card .name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--brown-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.menu-card .price {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
.menu-card .desc {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.7;
  margin: 4px 0 0;
}
.menu-card .badge {
  align-self: flex-start;
  margin-top: 10px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--beige);
  color: var(--brown-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================
   Location
   ============================= */
.location { background: var(--cream); }
.location-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.location-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(1200px 400px at 20% 10%, rgba(232, 217, 196, 0.9), transparent 60%),
    radial-gradient(800px 300px at 90% 90%, rgba(201, 130, 90, 0.16), transparent 55%),
    linear-gradient(135deg, #F3E9D8 0%, #E8D9C4 100%);
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  color: var(--brown);
}
.map-placeholder svg { color: var(--accent); margin-bottom: 6px; }
.map-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--brown-dark);
  margin: 0;
}
.map-address {
  color: var(--ink);
  font-size: 14px;
  margin: 0;
}
.map-hint {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.location-map::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(92, 58, 33, 0.18);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.loc-dl {
  margin: 24px 0;
  display: grid;
  gap: 14px;
}
.loc-dl > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.loc-dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.loc-dl dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}
.loc-dl dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}
.loc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* =============================
   Instagram
   ============================= */
.insta { background: var(--beige-soft); }
.insta-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.insta-grid li {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.insta-grid li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.insta-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.insta-grid li:hover img { transform: scale(1.06); }
.insta-grid .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px;
  color: var(--white);
  background: linear-gradient(180deg, transparent 0%, rgba(46, 31, 20, 0.55) 100%);
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity .25s ease;
}
.insta-grid li:hover .cap { opacity: 1; }
.insta-cta {
  text-align: center;
  margin-top: 40px;
}

/* =============================
   Hours
   ============================= */
.hours { background: var(--cream); }
.hours-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}
.hours-card, .closed-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
}
.hours-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td.day {
  color: var(--brown-dark);
  font-weight: 500;
  width: 40%;
}
.hours-table td.time {
  text-align: right;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.hours-table tr.today td.day::before {
  content: "TODAY";
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(201, 130, 90, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
  margin-right: 10px;
  vertical-align: middle;
}
.hours-table tr.closed td.time { color: var(--accent); }
.hours-note {
  color: var(--ink-mute);
  font-size: 13px;
  margin: auto 0 0;
}

.closed-card {
  background: linear-gradient(160deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  border: none;
  position: relative;
  overflow: hidden;
}
.closed-card .eyebrow { color: var(--accent-soft); }
.closed-title {
  font-size: clamp(24px, 3vw, 30px);
  margin: 0 0 10px;
  color: #FBF3E7;
}
.closed-day {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--accent-soft);
  margin: 6px 0 12px;
  letter-spacing: -0.01em;
}
.closed-desc {
  color: rgba(251, 243, 231, 0.78);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.closed-badge {
  margin-top: auto;
  align-self: flex-end;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 1.5px dashed rgba(251, 243, 231, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  color: #FBF3E7;
  font-family: var(--serif);
  transform: rotate(-8deg);
}
.closed-badge span {
  font-size: 22px;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.closed-badge small {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--accent-soft);
  font-family: var(--sans);
}

/* =============================
   Footer
   ============================= */
.site-footer {
  background: var(--brown-dark);
  color: rgba(251, 243, 231, 0.78);
  padding: 64px 0 0;
}
.site-footer .brand { color: #FBF3E7; }
.site-footer .brand-mark {
  background: var(--cream);
  color: var(--brown-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-tag {
  margin: 14px 0 0;
  color: rgba(251, 243, 231, 0.6);
  font-size: 14px;
}
.footer-info p {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(251, 243, 231, 0.78);
}
.footer-info strong {
  display: inline-block;
  width: 54px;
  color: var(--accent-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-info a:hover { color: #FBF3E7; text-decoration: underline; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 243, 231, 0.2);
  color: #FBF3E7;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid rgba(251, 243, 231, 0.12);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(251, 243, 231, 0.5);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }

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

/* =============================
   Responsive
   ============================= */
@media (max-width: 960px) {
  .about-grid,
  .location-grid,
  .hours-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    aspect-ratio: 4 / 3;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-social { justify-self: start; }
}

@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { min-height: 92vh; padding-top: calc(var(--header-h) + 24px); padding-bottom: 80px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; margin: 0 auto; }
  .hero-cta .btn { width: 100%; }
  .loc-dl > div { grid-template-columns: 60px 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .menu-tab { padding: 9px 16px; font-size: 13px; }
  .menu-panel { grid-template-columns: 1fr; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 30px; height: 30px; font-size: 13px; }
  .loc-dl > div { grid-template-columns: 1fr; gap: 4px; padding-bottom: 12px; }
  .closed-badge { align-self: center; margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
