/* ==========================================================================
   Variables & General Reset
   ========================================================================== */
:root {
  --black: #050403;
  --black-soft: #0c0a07;
  --charcoal: #17120c;
  --navy: #1a1208;
  --navy-2: #2b1c0a;
  --red: #b77900;
  --red-bright: #f2b82b;
  --red-deep: #6b4200;
  --ivory: #efe2c0;
  --muted: #a99d84;
  --line: rgba(231,225,214,.14);
  --gold: #b8862d;
  --max: 1220px;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { 
  scroll-behavior: smooth; 
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(120,82,20,.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(183,121,0,.09), transparent 28%),
    var(--black);
  color: var(--ivory);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* Global Container Padding & Headings */
.section-pad { 
  max-width: var(--max); 
  margin: 0 auto; 
  padding: clamp(50px, 8vw, 120px) 20px; 
}

.section-kicker { 
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8e8d88; 
  margin-bottom: 16px; 
}

h1, h2, h3, .hero-stamp {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .01em;
  margin: 0;
}

h1 span, h2 span, h2 em { color: var(--red-bright); font-style: normal; }
h2 { font-size: clamp(2.2rem, 5.5vw, 5rem); }

/* Buttons & Links */
.btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  min-height: 52px; 
  padding: 0 24px; 
  border-radius: 999px;
  font-size: 12px; 
  letter-spacing: .12em; 
  text-transform: uppercase; 
  font-weight: 800;
  border: 1px solid transparent; 
  transition: all .25s ease;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 12px 26px rgba(0,0,0,.35); 
}

.btn-primary { 
  background: var(--red); 
  color: white; 
  box-shadow: 0 8px 30px rgba(183,121,0,.22); 
}

.btn-primary:hover { 
  background: #f5c13a; 
  box-shadow: 0 10px 35px rgba(242,184,43,.4); 
}

.btn-ghost { 
  border-color: rgba(231,225,214,.22); 
  color: var(--ivory); 
  background: rgba(255,255,255,.015); 
}

.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(231,225,214,.5);
}

.btn-full { width: 100%; }

.text-link {
  display: inline-flex; 
  align-items: center; 
  margin-top: 18px; 
  padding: 6px 0;
  border-bottom: 1px solid rgba(231,225,214,.25); 
  text-transform: uppercase;
  font-size: 11px; 
  letter-spacing: .16em; 
  font-weight: 800;
  transition: border-color .25s ease, color .25s ease;
  touch-action: manipulation;
}

.text-link:hover {
  border-color: var(--red-bright);
  color: #fff;
}

/* ==========================================================================
   Header & Mobile Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 80px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 clamp(16px, 4vw, 40px);

  background: rgba(7, 7, 7, 0.82);

  border-bottom: 1px solid rgba(170, 138, 88, 0.18);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  z-index: 100;

  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.96);
  border-bottom-color: rgba(238, 184, 43, 0.32);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}


/* --------------------------------------------------------------------------
   Brand
   -------------------------------------------------------------------------- */

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 44px;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .brand img {
    height: 50px;
  }
}


/* --------------------------------------------------------------------------
   Desktop Navigation
   -------------------------------------------------------------------------- */

.desktop-nav {
  display: flex;
  gap: clamp(16px, 2.5vw, 34px);
  align-items: center;
  margin-left: auto;
  margin-right: clamp(18px, 3vw, 36px);
}

.desktop-nav a {
  position: relative;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: #d9d3c9;

  padding: 8px 0;

  transition:
    color .25s ease,
    transform .25s ease;
}

.desktop-nav a:hover {
  color: var(--red-bright);
  transform: translateY(-1px);
}

.desktop-nav a.is-active {
  color: var(--red-bright);
  font-weight: 800;
}

.desktop-nav a.is-active::after {
  content: '';

  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background-color: var(--red-bright);

  border-radius: 2px;

  box-shadow:
    0 0 8px rgba(238, 184, 43, 0.45);

  animation:
    navLineIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navLineIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}


/* --------------------------------------------------------------------------
   Header CTA
   -------------------------------------------------------------------------- */

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: 1px solid rgba(238, 184, 43, 0.5);

  padding: 10px 18px;

  border-radius: 4px;

  background: rgba(170, 138, 88, 0.08);

  color: var(--ivory);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;

  transition:
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease;
}

.header-cta:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  color: var(--black);

  transform: translateY(-2px);
}

.header-cta span {
  display: inline-block;
  margin-left: 4px;
}


/* --------------------------------------------------------------------------
   Mobile Menu Toggle
   -------------------------------------------------------------------------- */

.menu-toggle {
  display: none;

  background: transparent;

  border: 1px solid rgba(238, 184, 43, 0.38);

  width: 46px;
  height: 46px;

  position: relative;

  cursor: pointer;

  touch-action: manipulation;

  -webkit-tap-highlight-color: transparent;

  transition:
    border-color .25s ease,
    background-color .25s ease;
}

.menu-toggle:hover {
  border-color: var(--red-bright);
  background: rgba(238, 184, 43, 0.06);
}

.menu-toggle span {
  position: absolute;

  left: 10px;

  width: 24px;
  height: 2px;

  background: var(--red-bright);

  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease,
    top 0.3s ease;
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 26px;
}


/* X STATE */

.menu-toggle.is-open span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}


/* --------------------------------------------------------------------------
   Mobile Menu
   -------------------------------------------------------------------------- */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu {
  position: fixed;

  inset: 80px 12px auto 12px;

  max-height: calc(100vh - 96px);

  overflow-y: auto;

  display: flex;
  flex-direction: column;

  gap: 6px;

  padding: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(10, 10, 10, .99),
      rgba(18, 14, 9, .98)
    );

  border: 1px solid rgba(170, 138, 88, .24);

  border-radius: 8px;

  z-index: 99;

  box-shadow:
    0 22px 60px rgba(0, 0, 0, .72),
    0 0 0 1px rgba(238, 184, 43, .04);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  animation:
    slideDown .3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --------------------------------------------------------------------------
   Mobile Navigation Links
   -------------------------------------------------------------------------- */

.mobile-menu a {
  padding: 14px 12px;

  color: var(--ivory);

  text-transform: uppercase;
  letter-spacing: .12em;

  font-size: 14px;
  font-weight: 700;

  border-radius: 4px;

  transition:
    background-color .2s ease,
    color .2s ease,
    padding-left .2s ease;
}

.mobile-menu a:hover {
  color: var(--red-bright);
  background: rgba(238, 184, 43, .05);
  padding-left: 16px;
}

.mobile-menu a:not(.mobile-menu-cta):active {
  background-color: rgba(238, 184, 43, .08);
}

.mobile-menu a.is-active {
  color: var(--red-bright);

  font-weight: 800;

  padding-left: 14px;

  border-left: 3px solid var(--red-bright);

  background: rgba(238, 184, 43, .07);
}


/* --------------------------------------------------------------------------
   Mobile Quick Actions
   -------------------------------------------------------------------------- */

.mobile-quick-actions {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;

  margin-top: 16px;
  margin-bottom: 4px;
}

.mobile-quick-actions .btn {
  min-height: 44px;

  padding: 10px;

  border-radius: 4px;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .1em;

  text-align: center;
}


/* --------------------------------------------------------------------------
   Mobile Schedule CTA
   -------------------------------------------------------------------------- */

.mobile-menu-cta {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-top: 12px;

  padding: 14px 18px !important;

  background: var(--red);

  color: #050403 !important;

  border: 1px solid var(--red-bright);

  border-radius: 4px;

  text-align: center;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .1em;

  text-transform: uppercase;

  transition:
    background-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.mobile-menu-cta:hover {
  background: var(--red-bright);

  color: #050403 !important;

  transform: translateY(-2px);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, .45);
}

.mobile-menu-cta span {
  display: inline-block;
  margin-left: 4px;
}


/* --------------------------------------------------------------------------
   Mobile Breakpoint
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

}


/* --------------------------------------------------------------------------
   Small Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {

  .site-header {
    height: 72px;
  }

  .brand img {
    height: 46px;
    max-width: 160px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    inset: 72px 8px auto 8px;
    max-height: calc(100vh - 84px);
    padding: 16px;
  }

}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px clamp(16px, 4vw, 60px) 40px;
  isolation: isolate;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -4;
  filter: contrast(108%) brightness(85%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 75% 30%, rgba(7, 7, 7, 0.4) 0%, rgba(7, 7, 7, 0.88) 70%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.75) 0%, rgba(7, 7, 7, 0.4) 40%, rgba(7, 7, 7, 0.95) 100%);
  z-index: -3;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  filter: blur(80px);
  opacity: 0.65;
}

.hero-glow-primary {
  width: min(60vw, 550px);
  height: min(60vw, 550px);
  top: 15%;
  left: -5%;
  background: radial-gradient(circle, rgba(183,121,0,0.28) 0%, transparent 70%);
}

.hero-glow-secondary {
  width: min(50vw, 500px);
  height: min(50vw, 500px);
  bottom: 10%;
  right: 10%;
  background: radial-gradient(circle, rgba(58,38,10,0.45) 0%, transparent 70%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
  }
}

.hero-copy,
.hero-mark {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.hero-copy {
  position: relative;
  max-width: 720px;
}

@media (max-width: 981px) {
  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }
}

.eyebrow {
  color: #c9b98f;
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

h1 {
  font-size: clamp(2.8rem, 7.5vw, 7.5rem);
  line-height: 0.94;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-sub {
  max-width: 580px;
  color: #d5c8aa;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  margin: 20px 0 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

@media (max-width: 981px) {
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

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

@media (max-width: 981px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(231, 225, 214, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 580px) {
  .hero-trust {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }
}

.hero-trust > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-trust strong {
  color: #e5d3a4;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.hero-trust span {
  color: #9d9078;
  font-size: 10px;
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(60vw, 320px);
  height: min(60vw, 320px);
  margin: 0 auto;
  justify-self: center;
}

@media (min-width: 992px) {
  .hero-mark {
    width: min(35vw, 380px);
    height: min(35vw, 380px);
  }
}

.hero-badge-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(183,121,0,0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
}

.hero-mark img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-mark:hover img {
  transform: scale(1.04);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring-outer {
  inset: 0;
  border: 1px dashed rgba(231, 225, 214, 0.15);
  animation: spin 60s linear infinite;
}

.hero-ring-inner {
  inset: 10%;
  border: 1px solid rgba(183,121,0,0.25);
}

.hero-stamp {
  position: absolute;
  bottom: -5%;
  right: -5%;
  color: rgba(231, 225, 214, 0.05);
  font-size: clamp(4rem, 10vw, 7rem);
  user-select: none;
  pointer-events: none;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-scroll {
  display: none;
}

@media (min-width: 1024px) {
  .hero-scroll {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: #8e805f;
    transform: rotate(90deg);
    transform-origin: right center;
    z-index: 2;
  }

  .hero-scroll span {
    width: 40px;
    height: 1px;
    background: rgba(231, 225, 214, 0.35);
  }
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro { border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

@media (min-width: 860px) {
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.lead { font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.55; color: #ddd0b4; }
.intro-copy p:not(.lead) { color: #979691; }

/* ==========================================================================
   San Antonio Heritage Section
   ========================================================================== */
.san-antonio-heritage { border-top: 1px solid var(--line); }
.heritage-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1rem; }

@media (min-width: 900px) {
  .heritage-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 4rem; }
}

.heritage-content p:not(.lead) { color: #979691; margin-top: 1rem; }

.heritage-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.heritage-badges .badge strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: #fff;
  line-height: 1;
}

.heritage-badges .badge span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.heritage-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(231,225,214,.15);
  box-shadow: var(--shadow);
  min-height: 250px;
}

@media (min-width: 600px) {
  .heritage-media { min-height: 320px; }
}

.heritage-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(115%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.heritage-media:hover img { transform: scale(1.04); filter: grayscale(0%); }

.media-watermark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.media-card-caption {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(7,7,7,0.95) 0%, transparent 100%);
}

.caption-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red-bright);
}

.media-card-caption h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #fff;
  margin: 0.2rem 0 0;
  text-transform: uppercase;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services { border-top: 1px solid var(--line); }

.services-header {
  margin-bottom: 2rem;
  max-width: 680px;
}

.services-intro-copy {
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
  margin-top: 0.75rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.85rem;
  padding: 1.5rem 0.25rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-radius: 8px;
}

.service-item:hover {
  background-color: rgba(255, 255, 255, 0.025);
  border-bottom-color: rgba(242,184,43,0.4);
}

.service-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red-bright);
  line-height: 1;
}

.service-category {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f805f;
  margin-bottom: 0.25rem;
}

.service-content h3 {
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.4rem 0;
}

.service-content p {
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.6;
  color: #9d9078;
  margin: 0;
  max-width: 580px;
}

@media (min-width: 768px) {
  .services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }

  .service-item {
    grid-template-columns: 44px 1fr;
    gap: 1.15rem;
    padding: 2rem 0.75rem;
  }
}

/* ==========================================================================
   Featured Work Gallery Grid
   ========================================================================== */
.work { border-top: 1px solid var(--line); }

.section-head { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
  margin-bottom: 28px; 
}

.section-head p { max-width: 480px; color: #9d917a; font-size: 13px; margin: 0; }

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
  }
  .section-head p { font-size: 14px; }
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) and (max-width: 899px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-wide {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
  }

  .project-card { grid-column: span 6; }
  .project-tall { grid-column: span 6; grid-row: span 2; }
  .project-wide { grid-column: span 12; grid-row: span 1; }
}

.project-card {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(231,225,214,.14);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  cursor: pointer;
  background: var(--black-soft);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  .project-card {
    min-height: 280px;
    padding: 1.5rem;
  }
}

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  filter: grayscale(15%) contrast(105%);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,7,0) 20%, rgba(7,7,7,0.92) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.card-content { position: relative; z-index: 2; color: #fff; }

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.card-content h3 { font-size: clamp(1.3rem, 2.2vw, 2.2rem); margin: 0; }

.card-content p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.2rem 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card:hover .card-bg { transform: scale(1.05); filter: grayscale(0%); }

/* ==========================================================================
   About Section
   ========================================================================== */
.about-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(130deg, #100d09, #24180a 58%, #3a2205);
}

@media (min-width: 900px) {
  .about-card { 
    grid-template-columns: 1.1fr .9fr; 
    border-radius: 24px;
  }
}

.about-copy { padding: clamp(20px, 4vw, 55px); }
.about-copy > p { color: #9d917a; }

.about-points { margin-top: 24px; display: grid; gap: 12px; }

.about-points div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.about-points strong { color: var(--red-bright); font-size: 11px; letter-spacing: .15em; }
.about-points span { color: #c9bda3; font-size: 12px; }

.about-mark {
  min-height: 240px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 30px 20px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 45%, rgba(183,121,0,.17), transparent 30%),
    linear-gradient(160deg, rgba(255,255,255,.03), rgba(0,0,0,.15));
}

@media (min-width: 900px) {
  .about-mark { border-top: 0; border-left: 1px solid var(--line); min-height: 100%; padding: 0; }
}

.about-circle {
  width: min(220px, 50%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(231,225,214,.16);
  display: grid;
  place-items: center;
  position: relative;
}

.about-circle img { width: 75%; height: 75%; object-fit: contain; }

.about-mark p {
  text-align: center;
  margin: 16px 0 0;
  font: 700 1rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: .22em;
  color: rgba(231,225,214,.72);
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process { border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }

@media (min-width: 860px) {
  .process-grid { grid-template-columns: .85fr 1.15fr; gap: 70px; }
}

.process-intro p { color: #96886e; }
.steps { display: grid; }

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 600px) {
  .step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 20px 0;
  }
}

.step:last-child { border-bottom: 1px solid var(--line); }
.step > span { font: 700 14px "Barlow Condensed", sans-serif; color: var(--red-bright); }
.step h3 { font-size: clamp(1.25rem, 2.2vw, 1.8rem); margin: 0; }
.step p { margin: 4px 0 0; color: #93856b; font-size: 13px; max-width: 600px; }

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1rem; }

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; margin-top: 1.5rem; }
  .faq-intro { position: sticky; top: 6rem; }
}

.faq-intro p { color: #8c806b; font-size: 0.95rem; max-width: 400px; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.faq-item:hover { border-color: rgba(242,184,43,0.4); background: rgba(22, 22, 22, 0.8); }
.faq-item[open] { border-color: rgba(242,184,43,0.6); background: rgba(25, 25, 25, 0.9); }

.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  touch-action: manipulation;
}

@media (min-width: 600px) {
  .faq-item summary { padding: 1.25rem 1.5rem; }
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #eee3c8;
  padding-right: 0.75rem;
}

.faq-item summary::after {
  content: '+';
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  color: var(--red-bright);
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); color: #fff; }

.faq-item p {
  padding: 0 1.25rem 1rem 1.25rem;
  margin: 0;
  color: #a89a80;
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.85rem;
}

@media (min-width: 600px) {
  .faq-item p {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 0.95rem;
    padding-top: 1rem;
  }
}

/* ==========================================================================
   Contact Section & Map
   ========================================================================== */
.contact { border-top: 1px solid var(--line); }

.contact-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(18px, 3.5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 76% 18%, rgba(183,121,0,.15), transparent 26%),
    linear-gradient(135deg, rgba(36,24,10,.98), rgba(8,7,5,.96));
}

@media (min-width: 900px) {
  .contact-shell { 
    grid-template-columns: .87fr 1.13fr; 
    gap: 50px; 
    border-radius: 24px;
  }
}

.contact-copy p { color: #a3977f; }
.contact-details { display: grid; gap: 14px; margin-top: 24px; }
.contact-details div { display: grid; gap: 3px; padding-top: 10px; border-top: 1px solid var(--line); }
.contact-details span { font-size: 9px; letter-spacing: .18em; color: #796d59; }
.contact-details strong { font-size: 12px; word-break: break-word; }

/* Enhanced Form Inputs */
.contact-form {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(231,225,214,.1);
  border-radius: 14px;
  padding: clamp(16px, 3vw, 32px);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

@media (min-width: 600px) {
  .contact-form { border-radius: 18px; }
}

.field-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

@media (min-width: 550px) {
  .field-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

.contact-form label { display: grid; gap: 6px; margin-bottom: 14px; }
.contact-form label > span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #b9aa8e; font-weight: 700; }

.contact-form input, 
.contact-form textarea, 
.contact-form select {
  width: 100%;
  border: 1px solid rgba(231,225,214,.15);
  background: rgba(255,255,255,.04);
  color: var(--ivory);
  padding: 12px 14px;
  border-radius: 10px;
  outline: none;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  transition: all 0.25s ease;
}

.contact-form textarea { resize: vertical; min-height: 110px; }

.contact-form select { 
  appearance: none; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23e7e1d6' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); 
  background-repeat: no-repeat; 
  background-position: right 14px center; 
}

.contact-form input:focus, 
.contact-form textarea:focus, 
.contact-form select:focus {
  border-color: var(--red-bright);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 15px rgba(242,184,43,0.25);
}

.contact-form option { background-color: var(--black-soft); color: var(--ivory); }

.form-note { color: #6e624f; font-size: 10px; margin: 12px 0 0; text-align: center; }
.form-status { min-height: 22px; margin-top: 10px; text-align: center; font-size: 12px; }
.botcheck { display: none !important; }

.map-embed-wrapper {
  position: relative;
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .map-embed-wrapper {
    margin-top: 32px;
    height: 380px;
  }
}

/* ==========================================================================
   404 / Error Page
   ========================================================================== */
.error-page {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + clamp(40px, 10vw, 100px)) clamp(16px, 4vw, 60px) clamp(60px, 10vw, 100px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.error-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
  opacity: 0.55;
  width: min(70vw, 620px);
  height: min(70vw, 620px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(183,121,0,0.22) 0%, transparent 70%);
}

.error-content {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-code {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 11rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(231, 225, 214, 0.35);
  text-shadow: 0 0 60px rgba(183,121,0,0.25);
  margin: 0 0 8px;
}

.error-content h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 16px;
}

.error-content h1 span { color: var(--red-bright); }

.error-content .lead {
  max-width: 480px;
  color: #d5c8aa;
  margin: 0 0 32px;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 480px) {
  .error-actions .btn { width: 100%; }
}

.error-links {
  margin-top: 40px;
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.error-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #968a73;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.error-links a:hover,
.error-links a:focus-visible {
  color: #fff;
  border-color: var(--red-bright);
}

/* ==========================================================================
   Standalone Page Hero (Blog, Blog Post, Contact)
   ========================================================================== */
.page-hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(80px + clamp(34px, 7vw, 64px)) 20px clamp(30px, 5vw, 50px);
  isolation: isolate;
}

.page-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
  opacity: 0.45;
  width: min(60vw, 480px);
  height: min(60vw, 480px);
  top: 0;
  left: 50%;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(183,121,0,0.2) 0%, transparent 70%);
}

.page-hero .lead { margin-top: 14px; max-width: 640px; }

/* ==========================================================================
   Blog Listing
   ========================================================================== */
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 8px;
}

@media (min-width: 640px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .blog-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.blog-card:hover,
.blog-card:focus-within {
  border-color: rgba(242,184,43,0.4);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-3px);
}

.blog-card-meta {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8e8d88;
  margin-bottom: 12px;
}

.blog-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 10px;
}

.blog-card p {
  color: #9d9078;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.blog-card .text-link { margin-top: 0; }

/* ==========================================================================
   Blog Post Body
   ========================================================================== */
.post-nav-back { margin-bottom: 26px; display: inline-flex; }

.post-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px clamp(60px, 8vw, 100px);
}

.post-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8e8d88;
  margin: 22px 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.post-body h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin: 42px 0 14px;
}

.post-body p {
  color: #c9c5bc;
  margin: 0 0 18px;
  line-height: 1.75;
}

.post-body p.lead { color: #ddd0b4; margin-bottom: 24px; }

.post-cta {
  margin-top: 48px;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 12%, rgba(183,121,0,0.14), transparent 30%),
    linear-gradient(135deg, rgba(36,24,10,0.95), rgba(10, 10, 10, 0.96));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.post-cta p { margin: 0; color: #c9c5bc; max-width: 420px; }
.post-cta .btn { flex-shrink: 0; }

.post-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.post-related .section-kicker { margin-bottom: 18px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { max-width: var(--max); margin: 0 auto; padding: 0 20px 34px; }

.footer-brand { 
  display: flex; 
  flex-direction: column;
  gap: 16px; 
  padding-top: 30px; 
  border-top: 1px solid var(--line); 
}

@media (min-width: 600px) {
  .footer-brand { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer-brand img { width: 80px; height: auto; object-fit: contain; }
.footer-brand p { color: #756a59; font-size: 11px; margin: 0; line-height: 1.6; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.footer-nav a { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #968a73; padding: 4px 0; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(231,225,214,.08);
  color: #6a5d4c;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (min-width: 600px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-credit {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(231,225,214,.08);
  color: #6a5d4c;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-credit a {
  color: #968a73;
  text-decoration: underline;
  text-decoration-color: rgba(231,225,214,.25);
  text-underline-offset: 2px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--red-bright);
  text-decoration-color: var(--red-bright);
}

@media (min-width: 600px) {
  .footer-credit { justify-content: flex-end; text-align: right; }
}

/* ==========================================================================
   Lightbox & Touch Modal
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background-color: rgba(7, 7, 7, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 16px;
}

.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-content { position: relative; max-width: 95vw; max-height: 85vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 70vh; object-fit: contain; border-radius: 6px; }

.lightbox-caption {
  margin-top: 1rem; color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem); letter-spacing: 0.05em; text-transform: uppercase;
}

.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  color: #fff;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 2rem; cursor: pointer; z-index: 1010;
  border-radius: 50%;
  touch-action: manipulation;
}

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 1.25rem; width: 44px; height: 44px;
  display: grid; place-items: center;
  cursor: pointer; z-index: 1010; border-radius: 50%;
  touch-action: manipulation;
}

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

@media (min-width: 768px) {
  .lightbox-prev { left: 1.5rem; }
  .lightbox-next { right: 1.5rem; }
}

/* ==========================================================================
   Contact / Quote Modal
   ========================================================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .3s ease, visibility 0s linear 0s;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.contact-modal-panel {
  position: relative;
  width: 100%;
  /* 92vh falls back correctly on browsers without dvh support; the second
     declaration overrides it with the *actual* visible viewport height on
     mobile browsers, so the panel can never render taller than what's on
     screen and push its own top edge (and the close button) off-screen
     when the address bar is showing. */
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 76% 12%, rgba(183,121,0,.16), transparent 30%),
    linear-gradient(135deg, rgba(36,24,10,.99), rgba(8,7,5,.99));
  border: 1px solid var(--line);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 40px);
  padding-top: 68px;
  transform: translateY(24px);
  transition: transform .35s ease;
}

.contact-modal.is-open .contact-modal-panel { transform: translateY(0); }

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--ivory);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: manipulation;
  z-index: 5;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  background: var(--red-bright);
  border-color: var(--red-bright);
  transform: rotate(90deg);
}

.contact-modal-body h2 { margin: 6px 0 10px; }
.contact-modal-lead { color: #a3977f; margin: 0 0 22px; }
.contact-modal-body .contact-form { padding: 0; background: none; border: 0; box-shadow: none; }

.contact-modal-success {
  text-align: center;
  padding: 20px 0 6px;
}

.contact-modal-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(231,196,106,.12);
  border: 1px solid rgba(231,196,106,.4);
  color: #e7c46a;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
}

.contact-modal-success h3 { margin: 0 0 10px; }
.contact-modal-success p { color: #a3977f; margin: 0 0 24px; }

body.modal-open { overflow: hidden; }

@media (min-width: 640px) {
  .contact-modal { align-items: center; padding: 24px; }
  .contact-modal-panel {
    max-width: 640px;
    border-radius: 24px;
    max-height: 88vh;
    max-height: 88dvh;
  }
  .contact-modal.is-open .contact-modal-panel { transform: translateY(0) scale(1); }
  .contact-modal-panel { transform: translateY(0) scale(.97); }
}

@media (max-height: 480px) and (orientation: landscape) {
  .contact-modal-panel { max-height: 96vh; max-height: 96dvh; }
}

/* ==========================================================================
   Animations & Accessibility
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (prefers-reduced-data: reduce) {
  .hero-video { display: none; }
  .hero { background: url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}