/* ===========================================================================
   Dragon's Foot Healing — site styles
   Palette drawn from the brand: gold wordmark, sage studio walls,
   salt-lamp amber, warm cream. Single stylesheet, no build step.
   =========================================================================== */

:root {
  /* Soft Sage & Brass — airy */
  --gold:        #b98b3e;  /* brass */
  --gold-light:  #d8b978;
  --gold-deep:   #856325;  /* deep brass for text/links on light */
  --ink:         #2c352d;  /* slate-green: headings, footer, dark UI */
  --sage:        #93a186;  /* muted sage accent */
  --sage-deep:   #6f7d66;
  --amber:       #c07d3e;  /* warm accent for notes */
  --cream:       #f7f4ec;  /* off-white */
  --cream-2:     #eef0e6;
  --paper:       #ffffff;  /* white */
  --text:        #2c352d;  /* slate-green text */
  --muted:       #6d7268;
  --line:        #e4e4d8;

  --max:      1140px;
  --radius:   14px;
  --shadow:   0 18px 40px -20px rgba(28, 24, 19, .45);
  --shadow-sm:0 8px 20px -12px rgba(28, 24, 19, .40);

  --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 .8em;
}

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--sage  { background: #e7ece1; color: var(--text); }
.section--sage h1, .section--sage h2, .section--sage h3 { color: var(--ink); }
.section--sage .eyebrow { color: var(--gold-deep); }
.section--paper { background: var(--paper); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.narrow { max-width: 72ch; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 24, 19, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(198, 154, 63, .3);
}
/* centered logo, split left/right nav */
.nav {
  display: flex; align-items: center; gap: 1rem;
  min-height: 74px; position: relative;
}
.nav__menu { display: contents; }
.nav__group {
  display: flex; align-items: center; gap: 1.3rem;
  list-style: none; margin: 0; padding: 0;
}
.nav__group--left  { order: 1; flex: 1; justify-content: flex-start; }
.nav__brand        { order: 2; flex: 0 0 auto; display: flex; align-items: center; }
.nav__group--right { order: 3; flex: 1; justify-content: flex-end; }
.nav__brand img { height: 44px; width: auto; }
.nav__group a {
  color: #e9e1d0; font-size: .84rem; font-weight: 600;
  letter-spacing: .05em; text-decoration: none; padding: .3rem 0;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav__group a:hover { color: #fff; border-color: var(--gold); }
.nav__group a[aria-current="page"] { color: var(--gold-light); border-color: var(--gold); }
.nav__group .btn, .nav__group .btn:hover { border-bottom: 0; }
.nav__group .btn--gold { color: var(--ink); }
.nav__social { display: flex; align-items: center; gap: .7rem; }
.nav__social a { color: #e9e1d0; border-bottom: 0; padding: 0; display: inline-flex; }
.nav__social a:hover { color: var(--gold-light); border-bottom: 0; }
.nav__social svg { width: 18px; height: 18px; display: block; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: #e9e1d0; padding: .4rem; font-size: 1.5rem; line-height: 1; order: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; padding: .8rem 1.5rem; border-radius: 999px;
  border: 0; transition: transform .12s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--gold {
  color: var(--ink);
  background: #d9b352;
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: #e3bd5e; }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.08); }
.btn--ink { color: #fff; background: var(--ink); }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.nav .btn { white-space: nowrap; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(0.4rem, 1.2vw, 1rem) 0 clamp(3rem, 8vw, 5rem);
  background:
    radial-gradient(130% 95% at 50% -10%, rgba(198,154,63,.30), rgba(198,154,63,0) 58%),
    linear-gradient(158deg, #271f15 0%, #1b1712 46%, #120f0a 100%);
}
/* faint dragon-D watermark flourish */
.hero__watermark {
  position: absolute; top: 50%; right: -3%; transform: translateY(-50%);
  width: min(58vw, 600px); opacity: .07; pointer-events: none; user-select: none;
  animation: heroDrift 14s ease-in-out infinite alternate;
}
.hero__inner { position: relative; z-index: 1; }
.hero__mark {
  width: clamp(260px, 56vw, 560px); margin: 0 auto 1.4rem;
  filter: drop-shadow(0 6px 22px rgba(0,0,0,.55));
}
.hero h1 { color: #fff; }
.hero .lead { color: #f1ead9; margin-inline: auto; }
.hero__cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

@keyframes heroDrift { from { transform: translateY(-52%) rotate(-1.5deg); } to { transform: translateY(-48%) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero__watermark { animation: none; }
}
.tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--gold-light);
  margin: 0 0 1rem;
}

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card__price {
  font-family: var(--font-display); font-size: 2rem; color: var(--gold-deep);
  font-weight: 700; margin: .2rem 0 .4rem;
}
.card__note { font-size: .9rem; color: var(--muted); }

/* split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__body h2 { margin-top: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { border-radius: 10px; aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow-sm); }
.gallery img.wide { aspect-ratio: 4/3; }

/* Instagram reel embed */
.ig-embed { max-width: 340px; margin: 0 auto; }
.ig-embed iframe {
  width: 100%; height: 720px; border: 0; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm); display: block;
}
@media (max-width: 480px) { .ig-embed iframe { height: 680px; } }

/* feature list */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .6rem; }
.ticks li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold-deep);
}

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.pills li {
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; color: var(--text);
}

/* callout / cta band */
.band {
  background: linear-gradient(135deg, #2c352d, #46503f);
  color: #fff; text-align: center; border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.4rem); box-shadow: var(--shadow);
}
.band h2 { color: #fff; }
.band .lead { color: #efe7d5; margin-inline: auto; }

/* editorial note for the client (removable) */
.note {
  border-left: 3px solid var(--amber); background: #fdf6ea;
  padding: .8rem 1rem; border-radius: 0 8px 8px 0; font-size: .9rem;
  color: var(--muted); margin: 1.2rem 0;
}
.note strong { color: var(--amber); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: #d9d0bd;
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}
.site-footer a { color: var(--gold-light); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer__grid img { height: 34px; margin: 0 0 1rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .16em; margin: 0 0 .8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; font-size: .92rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem;
  font-size: .82rem; color: #9c937f; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav { min-height: 62px; justify-content: center; }
  .nav__toggle { display: block; position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); }
  .nav__brand { order: 0; }
  .nav__menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); padding: .5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(193,154,63,.3);
  }
  .site-header.menu-open .nav__menu { display: block; }
  .nav__group { flex-direction: column; align-items: flex-start; gap: 0; flex: none; }
  .nav__group li { width: 100%; }
  .nav__group a { display: block; width: 100%; padding: .75rem 0; }
  .nav__social { flex-direction: row; padding: .7rem 0; gap: 1.1rem; }
  .nav__group--right .btn { margin-top: .6rem; display: inline-block; width: auto; }
  .split, .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ===========================================================================
   ELEVATED / "FUN" LAYER — motion, atmosphere, motifs, interactions
   =========================================================================== */

/* --- Hero: shimmering gold wordmark (masked) --- */
.hero__mark {
  width: clamp(230px, 48vw, 480px); aspect-ratio: 1600 / 914;
  margin: 0 auto .3rem;
  background: linear-gradient(105deg, #a9781f 0%, #e6c56a 40%, #fff4d2 50%, #e6c56a 60%, #a9781f 100%);
  background-size: 250% 100%;
  -webkit-mask: url("../images/logo-wordmark-gold.png?v=2") center/contain no-repeat;
          mask: url("../images/logo-wordmark-gold.png?v=2") center/contain no-repeat;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.5));
  animation: shimmer 6.5s linear infinite;
}
@keyframes shimmer { from { background-position: 125% 0; } to { background-position: -25% 0; } }

/* --- Hero: atmosphere (texture + vignette + particles) --- */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../images/studio-shelves.jpg") center/cover;
  opacity: .10; mix-blend-mode: luminosity; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(95% 75% at 50% 38%, transparent, rgba(9,7,4,.68));
  pointer-events: none;
}
.hero__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__watermark { z-index: 1; }
.hero__inner { z-index: 2; }

/* --- Hover life --- */
.card { transition: box-shadow .3s ease; }
.card:hover { box-shadow: var(--shadow); }
.gallery img { transition: box-shadow .3s ease; cursor: zoom-in; }
.gallery img:hover { box-shadow: var(--shadow); }

/* --- Ornamental divider (mystical motif) --- */
.divider-orn {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  width: min(100% - 2.5rem, 640px); margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.6rem) 0;
}
.divider-orn::before, .divider-orn::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider-orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider-orn img { width: 40px; height: auto; opacity: .92; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.section--sage .divider-orn::before { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.section--sage .divider-orn::after  { background: linear-gradient(90deg, var(--gold-light), transparent); }

/* small flourish under centered headings */
.flourish { display: block; width: 64px; height: 14px; margin: -.2rem auto 1rem;
  color: var(--gold-deep); }
.section--sage .flourish { color: var(--gold-deep); }

/* --- Parchment grain on paper sections --- */
.section--paper { position: relative; }
.section--paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
.section--paper > .wrap { position: relative; z-index: 1; }

/* --- FAQ accordion --- */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: 600 1.08rem/1.5 var(--font-body); color: var(--ink);
  padding: 1.15rem 2.4rem 1.15rem 0; position: relative;
}
.faq__q::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-deep); font-size: 1.5rem; transition: transform .25s ease;
}
.faq__item.open .faq__q::after { content: "\2013"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq__a p { margin: 0; padding: 0 0 1.15rem; color: var(--muted); }


/* --- Lightbox --- */
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 2rem; background: rgba(11,9,6,.92); opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow); }
.lb__close { position: absolute; top: .8rem; right: 1.3rem; background: none; border: 0; color: #fff;
  font-size: 2.2rem; line-height: 1; cursor: pointer; }

/* --- Sticky booking bar --- */
.bookbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  transform: translateY(130%); transition: transform .35s ease;
  background: rgba(28,24,19,.97); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(198,154,63,.35); box-shadow: 0 -8px 24px -14px rgba(0,0,0,.6); }
.bookbar.show { transform: none; }
.bookbar__in { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.bookbar__txt { color: #efe7d5; font-size: .95rem; margin-right: auto; }
.bookbar__txt strong { color: var(--gold-light); font-family: var(--font-display); font-size: 1.15rem; font-style: italic; }
.bookbar__close { background: none; border: 0; color: #9c937f; font-size: 1.3rem; cursor: pointer; line-height: 1; }
@media (max-width: 560px) { .bookbar__txt { display: none; } .bookbar__in { justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .hero__mark { animation: none; background-position: 40% 0; }
}

/* Contact: hours table + map embed */
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .2rem 0 1.2rem; }
.hours th, .hours td { padding: .34rem 0; border-bottom: 1px solid rgba(44,53,45,.08); font-weight: 400; }
.hours th { text-align: left; color: var(--ink); }
.hours td { text-align: right; color: var(--muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); line-height: 0; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }
