:root {
  --ink: #221f1c;
  --body-text: #57514a;
  --muted: #8a8078;
  --paper: #fffdf9;
  --paper-alt: #fff6e0;
  --white: #ffffff;
  --gold: #ffd315;
  --gold-deep: #c77700;
  --cream-text: #fbeed9;
  --shadow: 0 20px 40px -20px rgba(34, 31, 28, 0.18);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
html, body { margin: 0; padding: 0; }

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

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 600; }
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 16px;
  background: var(--gold);
  border-radius: 2px;
}
h2.center::after { margin-inline: auto; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: inherit; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 0.6em;
}
.center { text-align: center; }
.section-lead.center { max-width: 640px; margin-inline: auto; color: var(--body-text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 1px 2px rgba(34,31,28,0.08); }
.btn-primary:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(199,119,0,0.55); }
.btn-primary:active { transform: scale(0.96); box-shadow: 0 1px 2px rgba(34,31,28,0.08); }
.btn-ghost { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.7); backdrop-filter: blur(2px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-large { padding: 1em 1.9em; font-size: 1.02rem; }
.btn-small { padding: 0.55em 1.1em; font-size: 0.92rem; }
.phone-btn { flex-shrink: 0; }
.phone-icon { width: 18px; height: 18px; flex-shrink: 0; display: none; }

@media (max-width: 560px) {
  .phone-text { display: none; }
  .phone-icon { display: block; }
  .phone-btn { padding: 0.7em; border-radius: 50%; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34,31,28,0.08);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(34,31,28,0.35); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: 0 1 auto; cursor: pointer; }
.brand-logo { border-radius: 8px; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  overflow: hidden;
  text-overflow: ellipsis;
}

.primary-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
}
.primary-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--body-text);
  padding-block: 10px;
  transition: color 0.2s var(--ease);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold-deep); }
.phone-btn { flex: 0 0 auto; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.15);
  will-change: transform;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,20,6,0.2) 0%, rgba(34,20,6,0.32) 55%, rgba(24,14,4,0.8) 100%);
}
.hero-content {
  position: relative;
  padding-block: 90px 70px;
}
.hero-content .eyebrow { color: var(--gold); opacity: 0.95; }
.typed-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: cursor-blink 0.9s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .typed-cursor { display: none; }
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 1.8rem + 3vw, 4.2rem);
  font-weight: 600;
}
.hero .lead {
  max-width: 46ch;
  font-size: 1.15rem;
  color: var(--cream-text);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.5em; }

/* Sections */
.section { padding-block: 88px; }
.section.alt { background: var(--paper-alt); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -24px rgba(34, 31, 28, 0.28);
}
.card-media {
  height: 170px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px; }
.card-body p { color: var(--body-text); margin: 0; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 56px;
}
.testimonial {
  position: relative;
  margin: 0;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(34,31,28,0.12);
}
.quote-mark {
  position: absolute;
  top: -30px;
  left: -6px;
  font-family: var(--font-head);
  font-size: 4.5rem;
  color: var(--gold);
  line-height: 1;
  user-select: none;
}
.stars { color: var(--gold-deep); letter-spacing: 0.15em; margin: 20px 0 12px; font-size: 1.05rem; }
.testimonial blockquote {
  margin: 0 0 22px;
  color: var(--body-text);
  font-size: 0.98rem;
  flex-grow: 1;
}
.testimonial figcaption { display: flex; flex-direction: column; line-height: 1.4; }
.testimonial figcaption span { color: var(--muted); font-size: 0.85rem; }

/* Split section */
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius);
  min-height: 380px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.split-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.split-media.map { align-self: stretch; }
.split-text p { color: var(--body-text); }

.location-facts {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.location-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body-text);
  font-size: 0.95rem;
}
.location-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
  flex-shrink: 0;
}

/* Contact */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 48px;
  border-top: 1px solid rgba(34,31,28,0.12);
  border-bottom: 1px solid rgba(34,31,28,0.12);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 260px;
  padding: 28px 26px;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid rgba(34,31,28,0.12);
  transition: background 0.25s var(--ease);
}
.contact-item:last-child { border-right: none; }
.contact-item:not(.static):hover { background: var(--paper-alt); }
.contact-item:not(.static):hover .contact-icon { background: var(--gold); color: var(--ink); transform: scale(1.06); }
.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-text { display: flex; flex-direction: column; min-width: 0; }
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-item strong { font-size: 1rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream-text); padding-top: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; color: var(--white); }
.footer-brand img { border-radius: 8px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a, .footer-contact span {
  color: var(--cream-text);
  opacity: 0.85;
  text-decoration: none;
  font-size: 0.94rem;
}
.footer-nav a:hover, .footer-contact a:hover { opacity: 1; color: var(--gold); text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { padding-block: 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
.footer-bottom p { margin: 0; font-size: 0.82rem; opacity: 0.6; }
.photo-credits { font-size: 0.72rem !important; }

/* Mobile */
@media (max-width: 880px) {
  html { scroll-padding-top: 138px; }

  .primary-nav {
    order: 3;
    flex-basis: 100%;
    gap: 8px 20px;
    padding-block: 8px;
    border-top: 1px solid rgba(34,31,28,0.08);
  }

  .card-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .split-inner { grid-template-columns: 1fr; }
  .split-media { min-height: 260px; }
  .contact-item { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(34,31,28,0.12); }
  .contact-item:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .hero { min-height: 92vh; }
}

@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; }
}
