/* ═══════════════════════════════════════════════
   PHOENIX FORGE — Commercial Site
   Shared stylesheet
   Palette:
     --coal      #18140f   backgrounds
     --forge     #252018   card backgrounds
     --iron      #3d3830   borders/dividers
     --ember     #b84a08   primary accent
     --ember-lt  #d05a10   hover state
     --ash       #8a837b   secondary text
     --stone     #e0d8ce   body text
     --parchment #f2ece2   light section bg
     --white     #fdfaf6   headings on dark
   Type:
     --display   Cormorant Garamond  (headings)
     --body      Barlow              (body/nav)
     --mono      Barlow Condensed    (labels/eyebrows)
═══════════════════════════════════════════════ */

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

:root {
  --coal:      #18140f;
  --forge:     #252018;
  --iron:      #3d3830;
  --ember:     #b84a08;
  --ember-lt:  #d05a10;
  --ash:       #8a837b;
  --stone:     #e0d8ce;
  --parchment: #f2ece2;
  --white:     #fdfaf6;
  --display:   'Cormorant Garamond', Georgia, serif;
  --body:      'Barlow', sans-serif;
  --mono:      'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--coal);
  color: var(--stone);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── UTILITY ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--ember);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 14px;
}
.section-title em { font-style: italic; font-weight: 400; }
.section-title.dark { color: var(--coal); }

.section-intro {
  font-size: 1rem;
  color: var(--ash);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 48px;
}
.section-intro.dark { color: var(--iron); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 30px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-ember  { background: var(--ember); color: var(--white); }
.btn-ember:hover { background: var(--ember-lt); }
.btn-outline { border: 1px solid rgba(224,216,206,0.35); color: var(--stone); background: transparent; }
.btn-outline:hover { border-color: var(--stone); color: var(--white); }
.btn-dark   { background: var(--coal); color: var(--white); }
.btn-dark:hover { background: var(--forge); }
.btn-ghost  { border: 1px solid rgba(61,56,48,0.6); color: var(--coal); background: transparent; }
.btn-ghost:hover { border-color: var(--coal); }
.btn-white  { background: var(--white); color: var(--ember); }
.btn-white:hover { background: var(--parchment); }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(24,20,15,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,74,8,0.18);
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-logo span { color: var(--ember); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.nav-cta {
  background: var(--ember);
  color: var(--white);
  padding: 8px 18px;
}
.nav-links a.nav-cta:hover { background: var(--ember-lt); }
.nav-links a.nav-cta.book {
  background: transparent;
  border: 1px solid rgba(224,216,206,0.3);
  color: var(--stone);
}
.nav-links a.nav-cta.book:hover { border-color: var(--stone); color: var(--white); background: transparent; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--stone);
  transition: transform 0.3s, opacity 0.3s;
}
/* Hamburger → X when open */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO (shared) ── */
.page-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 72px;
  overflow: hidden;
}
.page-hero.short { min-height: 52vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(24,20,15,0.55) 30%, rgba(24,20,15,0.1) 100%),
    linear-gradient(to top, rgba(24,20,15,0.5) 15%, transparent 50%);
}

.hero-content {
  position: relative;
  max-width: 660px;
}

.hero-h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-h1 em { font-style: italic; font-weight: 400; color: var(--stone); }

.hero-sub {
  font-size: 1rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
  opacity: 0.85;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── SECTIONS ── */
.section { padding: 88px 56px; }
.section-light { background: var(--parchment); }
.section-mid   { background: var(--forge); }
.section-dark  { background: var(--coal); }

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--forge);
  border-top: 1px solid rgba(184,74,8,0.25);
  border-bottom: 1px solid rgba(184,74,8,0.25);
  padding: 24px 56px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  padding: 8px 24px;
  border-right: 1px solid var(--iron);
  display: flex;
  flex-direction: column;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ember);
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 5px;
}

/* ── SERVICE GRID (homepage) ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.service-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  text-decoration: none;
}
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.85);
  transition: filter 0.45s, transform 0.55s;
}
.service-card:hover img {
  filter: brightness(0.95) saturate(1);
  transform: scale(1.05);
}
.service-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  background: linear-gradient(to top, rgba(24,20,15,0.72) 0%, transparent 50%);
}
.service-card-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 5px;
}
.service-card-name {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}
.service-card-link {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover .service-card-link { opacity: 1; }
.service-card.wide { grid-column: span 2; }
.service-card.wide .service-card-name { font-size: 1.9rem; }

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  gap: 4px;
}
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.featured { grid-template-columns: 2fr 1fr; }

.gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--forge);
}
.gallery-item.tall { aspect-ratio: 3/4; }
.gallery-item.wide { aspect-ratio: 16/7; grid-column: 1 / -1; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1);
  transition: transform 0.5s, filter 0.4s;
}
.gallery-item:hover img { transform: scale(1.04); filter: saturate(1.05); }

/* ── INLINE QUOTE FORM ── */
.quote-band {
  background: var(--ember);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.quote-band-text .eyebrow { color: rgba(255,255,255,0.65); }
.quote-band-text .eyebrow::after { background: rgba(255,255,255,0.45); }
.quote-band-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 440px;
}
.quote-band-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin-top: 8px;
  max-width: 400px;
}

.mini-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
  flex: 1;
  max-width: 380px;
}
.mini-form input,
.mini-form select,
.mini-form textarea {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.9rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.mini-form input::placeholder,
.mini-form select::placeholder { color: rgba(255,255,255,0.5); }
.mini-form input:focus,
.mini-form select:focus,
.mini-form textarea:focus { border-color: rgba(255,255,255,0.65); }
.mini-form select option { background: var(--coal); color: var(--stone); }
.mini-form textarea { resize: vertical; min-height: 80px; }

/* ── PROCESS STEPS ── */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 56px;
}
.process-step {
  border-top: 2px solid rgba(184,74,8,0.3);
  padding-top: 22px;
}
.process-step-num {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(184,74,8,0.13);
  line-height: 1;
  margin-bottom: 6px;
}
.process-step-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.process-step p { font-size: 0.9rem; color: var(--ash); line-height: 1.7; }

/* ── CAPABILITIES LIST ── */
.cap-list { display: flex; flex-direction: column; border-top: 1px solid var(--iron); }
.cap-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--iron);
}
.cap-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
  flex-shrink: 0;
  margin-top: 7px;
}
.cap-item strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 3px;
}
.cap-item span { font-size: 0.9rem; color: var(--ash); line-height: 1.6; }

/* light bg caps */
.cap-list.light { border-top-color: rgba(61,56,48,0.2); }
.cap-list.light .cap-item { border-bottom-color: rgba(61,56,48,0.15); }
.cap-list.light .cap-item strong { color: var(--coal); }
.cap-list.light .cap-item span { color: var(--iron); }

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 48px;
}
.review-card {
  background: var(--forge);
  padding: 32px 28px;
}
.review-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.star {
  width: 11px; height: 11px;
  background: var(--ember);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.review-quote {
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 22px;
}
.review-attr {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}
.review-attr strong { display: block; color: var(--stone); margin-bottom: 2px; }

/* ── CLASSES PANEL ── */
.classes-panel {
  background: var(--forge);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.classes-panel-img {
  overflow: hidden;
  min-height: 420px;
}
.classes-panel-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1); }
.classes-panel-body {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── CONTACT FORM (full) ── */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--forge);
  border: 1px solid var(--iron);
  color: var(--stone);
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--ember); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select option { background: var(--coal); }

/* ── ABOUT PORTRAIT ── */
.about-portrait {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.portrait-img {
  position: sticky;
  top: 80px;
  overflow: hidden;
}
.portrait-img img { width: 100%; display: block; filter: saturate(1); }
.about-body p { font-size: 0.97rem; color: var(--ash); line-height: 1.8; margin-bottom: 20px; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--stone); font-weight: 600; }

/* ── FOOTER ── */
.site-footer {
  background: var(--forge);
  border-top: 1px solid rgba(184,74,8,0.18);
  padding: 60px 56px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 16px; font-size: 1.05rem; }
.footer-brand p { font-size: 0.85rem; color: var(--ash); line-height: 1.75; max-width: 260px; }
.footer-brand .footer-contact { margin-top: 20px; }
.footer-brand .footer-contact a {
  display: block;
  font-size: 0.85rem;
  color: var(--ash);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.footer-brand .footer-contact a:hover { color: var(--white); }
.footer-col-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(138,131,123,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.76rem; color: rgba(138,131,123,0.55); }

/* ── BREADCRUMB ── */
.breadcrumb {
  position: relative;
  z-index: 5;
  padding: 78px 56px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a, .breadcrumb span {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--stone); }
.breadcrumb .sep { color: var(--iron); }
.breadcrumb .current { color: var(--ember); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .site-nav { padding: 0 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px; left: 0; right: 0;
    z-index: 999;
    background: rgba(24,20,15,0.98);
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--ember);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex !important; }
  .nav-links li { border-bottom: 1px solid var(--iron); width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; width: 100%; }
  .nav-links a.nav-cta,
  .nav-links a.nav-cta.book {
    margin: 0;
    display: block;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }
  .nav-toggle { display: flex; }

  .page-hero { padding: 0 24px 56px; min-height: 80vh; }
  .breadcrumb { padding: 72px 24px 0; }
  .section { padding: 64px 24px; }
  .stat-strip { padding: 20px 24px; gap: 12px; }
  .stat-item { min-width: 100px; padding: 6px 14px; border-right: none; border-bottom: 1px solid var(--iron); }
  .stat-item:last-child { border-bottom: none; }

  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.wide { grid-column: 1 / -1; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip { direction: ltr; }

  .gallery-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .gallery-grid.featured { grid-template-columns: 1fr; }

  .process-row { grid-template-columns: 1fr 1fr; gap: 32px; }

  .reviews-grid { grid-template-columns: 1fr; }

  .classes-panel { grid-template-columns: 1fr; }
  .classes-panel-img { min-height: 280px; }
  .classes-panel-body { padding: 40px 28px; }

  .about-portrait { grid-template-columns: 1fr; }
  .portrait-img { position: static; }

  .contact-form { grid-template-columns: 1fr; }
  .form-field.full { grid-column: 1; }

  .quote-band { padding: 40px 24px; flex-direction: column; }
  .mini-form { max-width: 100%; }

  .site-footer { grid-template-columns: 1fr 1fr; padding: 48px 24px 32px; }
  .footer-bottom { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid.cols-3,
  .gallery-grid.cols-2 { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; transform: none !important; }
}
