/* ============================================================
   Seoul Yoga & Tea — dawn / Han River aesthetic
   Fraunces (display) + Hanken Grotesk (body)
   ============================================================ */

:root {
  --ink:        #2b2620;
  --ink-soft:   #5c554b;
  --paper:      #faf4ea;
  --paper-2:    #f3ead9;
  --paper-3:    #ece0cb;
  --dawn:       #e9a06a;
  --dawn-deep:  #d6814a;
  --blush:      #e7b29a;
  --sage:       #6f8466;
  --sage-deep:  #54664c;
  --river:      #8aa6a8;
  --line:       rgba(43, 38, 32, 0.12);

  --shadow-sm: 0 2px 10px rgba(86, 64, 40, 0.08);
  --shadow-md: 0 14px 40px -14px rgba(86, 64, 40, 0.28);
  --shadow-lg: 0 30px 70px -28px rgba(86, 64, 40, 0.40);

  --maxw: 1120px;
  --r: 18px;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

::selection { background: var(--dawn); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(250, 244, 234, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.18rem;
  letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
}
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--dawn), var(--dawn-deep));
  box-shadow: 0 0 0 4px rgba(233, 160, 106, 0.18);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500;
  font-size: 0.95rem; transition: color 0.2s;
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper) !important;
  font-weight: 600 !important; transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--sage-deep); transform: translateY(-1px); }
@media (max-width: 720px) {
  .nav a:not(.nav-cta) { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s;
}
.btn-primary {
  background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--sage-deep); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 92vh; display: flex; align-items: center;
  padding: clamp(40px, 8vh, 90px) clamp(20px, 5vw, 56px) clamp(60px, 10vh, 110px);
  overflow: hidden;
}
.hero-sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(233,160,106,0.55) 0%, transparent 55%),
    linear-gradient(178deg, #cdddd9 0%, #e8ddca 38%, #f4dcbf 62%, #f0c79f 100%);
}
.hero-sky .sun {
  position: absolute; left: 50%; bottom: -6%;
  width: 46vw; height: 46vw; max-width: 520px; max-height: 520px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,243,222,0.95) 0%, rgba(244,196,143,0.55) 38%, transparent 68%);
  filter: blur(2px);
}
.hero::after { /* soft horizon line */
  content: ""; position: absolute; left: 0; right: 0; bottom: clamp(80px,16vh,180px);
  height: 1px; background: linear-gradient(90deg, transparent, rgba(84,102,76,0.35), transparent);
  z-index: -1;
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem;
  font-weight: 600; color: var(--sage-deep); margin-bottom: 22px;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.4vw, 4.7rem);
  line-height: 1.04; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic; font-weight: 500;
  color: var(--dawn-deep);
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--ink-soft); max-width: 600px; margin: 0 auto 30px;
}
.hero-facts {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px; margin-bottom: 34px;
  font-size: 1rem; color: var(--ink);
}
.hero-facts strong { font-weight: 700; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dawn-deep); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- section scaffolding ---------- */
section { padding: clamp(64px, 11vh, 130px) clamp(20px, 5vw, 56px); }
.section-head { max-width: var(--maxw); margin: 0 auto clamp(40px, 6vh, 68px); }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.75rem; font-weight: 700; color: var(--sage-deep); margin-bottom: 14px;
}
.section-head h2, .find-text h2, .cta h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em;
}

/* ---------- about ---------- */
.about { background: var(--paper); }
.about-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.lead {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.45; color: var(--ink);
}
.value-list { list-style: none; display: grid; gap: 26px; }
.value-list li { display: flex; gap: 18px; align-items: flex-start; }
.v-num {
  font-family: var(--f-display); font-size: 1rem; font-weight: 600;
  color: var(--dawn-deep); padding-top: 4px; min-width: 28px;
}
.value-list h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 4px; }
.value-list p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- details ---------- */
.details { background: var(--paper-2); }
.detail-cards {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.d-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.d-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.d-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--paper-3); color: var(--sage-deep);
  font-size: 1.3rem; margin-bottom: 18px;
}
.d-card { position: relative; }
.d-tag {
  position: absolute; top: 14px; right: 16px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--dawn);
}
.d-card h3 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft); font-weight: 700; margin-bottom: 10px;
}
.d-big { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.d-meta { font-size: 0.9rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- gallery ---------- */
.gallery { background: var(--paper); }
.gallery-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 16px;
  grid-auto-flow: dense;
}
.g-item {
  overflow: hidden; border-radius: var(--r); background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}
.g-item img { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-big { grid-column: span 2; grid-row: span 2; }
/* square 1x1 tiles: show the bottom of the photo */
.g-item:not(.g-tall):not(.g-wide):not(.g-big) img { object-position: bottom; }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 5vw, 64px);
  background: rgba(20, 16, 12, 0.88);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.28s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-stage {
  margin: 0; max-width: 92vw; max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.lb-img {
  max-width: 92vw; max-height: 80vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--r); box-shadow: 0 24px 70px rgba(0,0,0,0.5);
  animation: lbPop 0.32s cubic-bezier(.2,.7,.2,1);
}
@keyframes lbPop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.lb-caption {
  color: rgba(255,255,255,0.82); font-size: 0.92rem; text-align: center;
  max-width: 60ch; line-height: 1.4;
}
.lb-close, .lb-nav {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; color: #fff;
  background: rgba(255,255,255,0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.26); }
.lb-nav:active { transform: translateY(-50%) scale(0.92); }
.lb-close {
  top: 18px; right: 22px; width: 46px; height: 46px;
  border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.lb-close:hover { transform: scale(1.08); }
.lb-nav {
  top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  font-size: 2rem; line-height: 1; padding-bottom: 4px;
}
.lb-prev { left: clamp(10px, 3vw, 38px); }
.lb-next { right: clamp(10px, 3vw, 38px); }
.lb-counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.85rem; letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lb-img { max-height: 72vh; }
}

/* ---------- detail note ---------- */
.detail-note {
  max-width: var(--maxw); margin: 32px auto 0; text-align: center;
  color: var(--ink-soft); font-size: 0.98rem;
}
.detail-note a {
  color: var(--dawn-deep); text-decoration: none; font-weight: 600;
  border-bottom: 1.5px solid transparent; transition: border-color 0.2s;
}
.detail-note a:hover { border-color: var(--dawn-deep); }

/* ---------- find us ---------- */
.find { background: var(--sage-deep); color: var(--paper); }
.find .kicker { color: var(--blush); }
.find .section-head { text-align: center; }
.find .section-head h2 { color: var(--paper); }

/* seasonal venue cards */
.venues {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.venue {
  background: rgba(250, 244, 234, 0.07);
  border: 1px solid rgba(250, 244, 234, 0.18);
  border-radius: var(--r); padding: 34px 32px;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.venue:hover { transform: translateY(-5px); background: rgba(250, 244, 234, 0.11); }
.venue-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--blush); margin-bottom: 14px;
}
.venue h3 {
  font-family: var(--f-display); font-weight: 500; font-size: 1.6rem;
  color: var(--paper); margin-bottom: 12px;
}
.venue p { color: rgba(250, 244, 234, 0.82); margin-bottom: 24px; }
.venue strong { color: var(--paper); font-weight: 600; }
@media (max-width: 760px) { .venues { grid-template-columns: 1fr; } }
.contact-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.faq-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 4px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: 1.18rem; font-weight: 500;
  color: var(--ink);
  padding: 18px 0; padding-right: 32px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; color: var(--dawn-deep); line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  color: var(--ink-soft); font-size: 1.02rem;
  padding-bottom: 20px; max-width: 64ch;
}
.faq-item a { color: var(--dawn-deep); text-decoration: underline; }
.faq-item a:hover { color: var(--sage-deep); }
.find-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 70px);
  align-items: center;
}
.find-text h2 { color: var(--paper); margin-bottom: 18px; }
.find-text p { color: rgba(250,244,234,0.82); font-size: 1.08rem; max-width: 440px; margin-bottom: 28px; }
.find-text strong { color: var(--paper); font-weight: 600; }
.find-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.find .btn-primary { background: var(--paper); color: var(--ink); }
.find .btn-primary:hover { background: var(--dawn); color: #fff; }
.find .btn-ghost { color: var(--paper); border-color: rgba(250,244,234,0.4); }
.find .btn-ghost:hover { border-color: var(--paper); }
.find-card {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(233,160,106,0.35), transparent 70%),
    linear-gradient(160deg, #6f8466 0%, #45543e 100%);
  display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.find-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(250,244,234,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,244,234,0.10) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-pin { position: relative; z-index: 1; width: 26px; height: 26px; margin-bottom: 14px; }
.map-pin span {
  position: absolute; inset: 0; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); background: var(--dawn);
  box-shadow: 0 0 0 8px rgba(233,160,106,0.25);
}
.map-label { position: relative; z-index: 1; font-family: var(--f-display); font-size: 1.25rem; color: var(--paper); line-height: 1.3; }
.map-label small { font-family: var(--f-body); font-size: 0.85rem; color: rgba(250,244,234,0.7); }

/* ---------- cta ---------- */
.cta { background: var(--paper-2); text-align: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 30px; }
.cta-actions { margin-bottom: 30px; }
.cta-socials { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.cta-socials a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600;
  border-bottom: 1.5px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.cta-socials a:hover { color: var(--dawn-deep); border-color: var(--dawn-deep); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: var(--paper);
  text-align: center; padding: 54px 24px;
}
.foot-brand { font-family: var(--f-display); font-size: 1.4rem; margin-bottom: 10px; }
.foot-meta { color: rgba(250,244,234,0.6); font-size: 0.95rem; margin-bottom: 18px; }
.foot-copy { color: rgba(250,244,234,0.4); font-size: 0.85rem; }

/* ---------- reveal animation ---------- */
.reveal-base { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal-base.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-base { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-cards { grid-template-columns: 1fr 1fr; }
  .find-inner { grid-template-columns: 1fr; }
  .find-card { max-width: 420px; }
}
@media (max-width: 480px) {
  .detail-cards { grid-template-columns: 1fr; }
  .hero-actions, .find-actions { width: 100%; }
  .btn { width: 100%; justify-content: center; }
}
