/* ===== AshfordStudio · The Den ===== */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #131110;
  --bg-3:      #1c1814;
  --ink:       #f5efe4;
  --ink-dim:   #b8ad97;
  --muted:     #7a7264;
  --gold:      #d4a657;
  --gold-2:    #b8862f;
  --gold-soft: #f0d089;
  --bronze:    #6b4a1f;
  --line:      #2a2520;
  --maxw:      1180px;
  --radius:    14px;
  --shadow:    0 10px 40px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

h1, h2, h3 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 .5em;
}

.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .75rem;
}

.gold { color: var(--gold); }
.muted { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 50%, var(--gold-2));
  color: #1a1208;
  box-shadow: 0 6px 20px rgba(212, 166, 87, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(212, 166, 87, 0.35);
  color: #1a1208;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== Brand mark ===== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
}
.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--gold);
  filter: drop-shadow(0 2px 6px rgba(212, 166, 87, .3));
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-main {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .12em;
  color: var(--ink);
}
.brand-sub {
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .35em;
  color: var(--gold);
  margin-top: 4px;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--ink-dim);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 4rem clamp(1rem, 5vw, 3rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(212, 166, 87, 0.15), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(107, 74, 31, 0.20), transparent 50%),
    linear-gradient(160deg, #0a0a0a 0%, #14110d 60%, #1a1410 100%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 540px;
  margin: 0 0 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-lion {
  position: absolute;
  right: -3vw;
  bottom: -4vw;
  width: 55vw;
  max-width: 700px;
  color: var(--bronze);
  opacity: .22;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(212, 166, 87, 0.15));
}

/* ===== Section base ===== */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 3rem);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-dark {
  background: var(--bg-2);
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.section-sub {
  color: var(--ink-dim);
  margin: 0;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--gold), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
.service-card p {
  color: var(--ink-dim);
  margin: 0;
  font-size: .95rem;
}
.service-price {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: .04em;
  margin: 0 0 .5rem !important;
}
.services-foot {
  text-align: center;
  margin: 2rem 0 0;
  font-size: .9rem;
  font-style: italic;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-tile {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(212,166,87,.10), rgba(107,74,31,.05)),
    repeating-linear-gradient(45deg, var(--bg-3) 0 8px, var(--bg-2) 8px 16px);
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-tile[data-label]:empty::after {
  content: attr(data-label);
  font-family: 'Cinzel', serif;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .8rem;
}
.gallery-tile img,
.gallery-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-tile:hover img,
.gallery-tile:hover video {
  transform: scale(1.04);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-mark { order: -1; }
}
.about-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
}
.about-copy p {
  color: var(--ink-dim);
  margin-bottom: 1rem;
}
.about-mark svg {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  display: block;
  color: var(--gold);
  filter: drop-shadow(0 0 40px rgba(212, 166, 87, 0.25));
}

/* ===== Visit ===== */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.visit-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.visit-card h3 {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: .95rem;
}
.hours li:last-child { border-bottom: 0; }
.visit-cta { display: flex; flex-direction: column; }
.visit-cta p { color: var(--ink-dim); margin: 0 0 1.5rem; }
.visit-cta .btn { margin-top: auto; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem clamp(1rem, 5vw, 3rem);
  background: var(--bg-2);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow);
  animation: pop .25s ease;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-card h2 {
  font-size: 1.6rem;
  margin-bottom: .75rem;
}
.modal-sub {
  color: var(--ink-dim);
  font-size: .95rem;
  margin: 0 0 1.5rem;
}
.modal-close {
  position: absolute;
  top: .75rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: var(--ink-dim);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--gold); }

.phone-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}
.phone-number {
  flex: 1;
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  letter-spacing: .05em;
  color: var(--gold);
}
.btn-copy {
  padding: .5rem 1rem;
  font-size: .85rem;
}
.btn-copy.copied {
  background: var(--gold);
  color: #1a1208;
  border-color: var(--gold);
}
.modal-foot {
  text-align: center;
  font-size: .85rem;
  margin: 1.25rem 0 0;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
