/* ==========================================================================
   Captured by Mallary — shared design system
   ==========================================================================

   HOW TO EDIT THIS FILE
   ---------------------
   Almost everything you'll want to change lives in the :root block below.
   Phone, email, colors, fonts, spacing — change once, every page updates.

   Don't add color hex codes or font names elsewhere — reference the
   variables (--gold, --display, etc.) so consistency stays automatic.

   ========================================================================== */

:root {

  /* ===== PHONE & EMAIL — edit here, every page updates ===================
     The auto-wire script in nav.js reads these and rewrites every tel:,
     sms:, and mailto: link on page load. Keep the formats exactly as shown.
     ====================================================================== */

  --phone-display: "(813) 553-1699";
  --phone-link: "+18135531699";
  --email: "capturedbymallary@gmail.com";

  /* ===== BRAND COLORS ====================================================
     Editorial palette: warm cream + deep ink + brushed gold + rust accent.
     Change a value here and the entire site shifts.
     ====================================================================== */

  --ink: #1a1612;          /* near-black, warm                          */
  --ink-soft: #2b2520;     /* secondary text on light backgrounds       */
  --cream: #f4ede2;        /* page background                           */
  --cream-deep: #e8dec9;   /* alternating section background            */
  --paper: #fbf7ee;        /* card / form background                    */
  --gold: #b08442;         /* brushed primary accent                    */
  --gold-bright: #d4a464;  /* lighter gold for dark sections            */
  --rust: #8c4a2a;         /* secondary accent — italic headlines       */
  --line: rgba(26,22,18,0.18);   /* hairline borders                    */
  --muted: rgba(26,22,18,0.65);  /* low-emphasis text                   */

  /* ===== TYPOGRAPHY ======================================================
     Three fonts: editorial display serif (Cormorant Garamond), italic
     accent (Italiana), body sans-serif (Inter).
     ====================================================================== */

  --display: 'Cormorant Garamond', 'Didot', 'Times New Roman', serif;
  --editorial: 'Italiana', 'Didot', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ===== LAYOUT ==========================================================
     Container max-width, section padding, breakpoints. Used throughout.
     ====================================================================== */

  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}


/* ==========================================================================
   GLOBAL RESET + BASE
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 56px;   /* room for sticky mobile call bar */
}

@media (min-width: 900px) { body { padding-bottom: 0; } }

/* Subtle film grain across the page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}


/* ==========================================================================
   TYPOGRAPHY SCALE
   ========================================================================== */

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--ink);
}

h1 { font-size: clamp(3.25rem, 8.5vw, 8rem); font-weight: 400; }
h2 { font-size: clamp(2.5rem, 5.5vw, 5rem); font-weight: 400; }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 500; }

h1 em, h2 em, h3 em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--rust);
  letter-spacing: 0;
}

p { color: var(--ink-soft); }


/* ==========================================================================
   FAILSAFE NAV STYLES — also inlined in every <head> as safety net
   ========================================================================== */

.mobile-nav {
  position: fixed !important;
  inset: 0;
  transform: translateX(100%);
  z-index: 105;
}
.mobile-nav.open { transform: translateX(0); }
.nav-toggle { display: flex; }

@media (min-width: 900px) {
  .nav-toggle, .mobile-nav { display: none !important; }
}


/* ==========================================================================
   NAVIGATION (desktop)
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(244, 237, 226, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  padding: 0.75rem 0;
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  max-width: 200px;
  transition: opacity 0.3s ease;
}
.nav.scrolled .brand-logo { height: 36px; }
.brand-logo-footer {
  height: 56px;
  max-width: 240px;
  margin-bottom: 0.5rem;
}
.brand {
  font-family: var(--editorial);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}
.brand i {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
}
.brand-monogram {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  background: var(--ink);
  color: var(--cream);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  color: var(--ink);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.7rem 1.25rem !important;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: var(--rust);
  transform: translateY(-1px);
}
.nav-cta::after { display: none; }

/* Hamburger (mobile only) */
.nav-toggle {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }


/* ==========================================================================
   DESKTOP DROPDOWN MENUS
   ========================================================================== */

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-dropdown.open .nav-dropdown-trigger::after,
.nav-dropdown:hover .nav-dropdown-trigger::after { width: 100%; }
.nav-dropdown-trigger .caret {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}
.nav-dropdown.open .nav-dropdown-trigger .caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.75rem;
  min-width: 260px;
  box-shadow: 0 20px 50px rgba(26,22,18,0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  list-style: none;
  z-index: 100;
}
/* Invisible hover bridge — fixes the "death triangle" */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  color: var(--ink);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover {
  background: var(--cream);
  color: var(--rust);
}
.nav-dropdown-menu a.all-link {
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  font-style: italic;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0;
}


/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--cream);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 105;
}

.mobile-nav-inner {
  max-width: 500px;
  margin: 0 auto;
}

.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.mobile-nav-link {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: var(--rust); }

.mobile-nav-group { border-bottom: 1px solid var(--line); }
.mobile-nav-grouptrigger {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mobile-nav-arrow {
  font-size: 0.9rem;
  font-family: var(--body);
  color: var(--muted);
  transition: transform 0.25s;
  display: inline-block;
}
.mobile-nav-group.open .mobile-nav-arrow {
  transform: rotate(-180deg);
  color: var(--gold);
}

.mobile-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 1rem;
}
.mobile-nav-group.open .mobile-nav-sub {
  max-height: 1000px;
  padding-bottom: 0.75rem;
}
.mobile-nav-sublink {
  display: block;
  padding: 0.6rem 0;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}
.mobile-nav-sublink:hover { color: var(--rust); }
.mobile-nav-sublink-all {
  font-style: italic;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.mobile-nav-cta {
  display: block;
  margin-top: 2rem;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 1.2rem;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.mobile-nav-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.mobile-nav-contact a {
  display: block;
  padding: 0.5rem;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--rust);
}

body.nav-open { overflow: hidden; }


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--body);
  min-height: 44px;
  text-align: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26,22,18,0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { background: var(--gold-bright); }
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline-light:hover {
  background: var(--cream);
  color: var(--ink);
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn:hover .arrow { transform: translateX(4px); }


/* ==========================================================================
   STICKY MOBILE CALL BAR
   ========================================================================== */

.call-bar {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 1rem;
  text-align: center;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  min-height: 56px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.call-bar .gold { color: var(--gold-bright); }
@media (min-width: 900px) { .call-bar { display: none; } }


/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section { padding: var(--section-y) 0; position: relative; }
.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--cream); }
.section-dark p { color: rgba(244,237,226,0.78); }
.section-dark .eyebrow { color: var(--gold-bright); }
.section-dark .eyebrow::before { background: var(--gold-bright); }
.section-cream-deep { background: var(--cream-deep); }


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 4rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(176,132,66,0.18), transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text { position: relative; }
.hero-h1 {
  margin: 1.5rem 0 2rem;
  position: relative;
}
.hero-h1 .line { display: block; }
.hero-h1 .line:nth-child(2) { padding-left: clamp(2rem, 8vw, 6rem); }
.hero-h1 .line:nth-child(3) { padding-left: clamp(1rem, 4vw, 3rem); }
.hero-sub {
  font-size: 1.125rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  color: var(--ink-soft);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  margin-top: 3.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-meta-item .num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 400;
  display: block;
  line-height: 1;
}
.hero-meta-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(26,22,18,0.25);
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,22,18,0.4));
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image-tag {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  color: var(--cream);
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-badge {
  position: absolute;
  top: -1.5rem; right: -1.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 0.95rem;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: rotate(2deg);
}
.hero-badge em {
  font-family: var(--editorial);
  color: var(--rust);
  font-style: italic;
}
.hero-badge .stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.2rem;
}


/* ==========================================================================
   PAGE HERO (compact, used on subpages)
   ========================================================================== */

.page-hero {
  padding: 9rem 0 4rem;
  position: relative;
  background: var(--cream-deep);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; right: -20%;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(176,132,66,0.15), transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.page-hero h1 {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
}
.page-hero p.lead {
  font-size: 1.15rem;
  max-width: 640px;
  color: var(--ink-soft);
}

/* Page hero with image (used on service pages) */
.page-hero-with-image { padding: 9rem 0 5rem; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.page-hero-with-image .page-hero-inner { max-width: none; }
.page-hero-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(26,22,18,0.18);
}
.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .page-hero-image { max-width: 480px; margin: 0 auto; }
}

/* Service-page portfolio strip */
.service-portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-portfolio-item {
  margin: 0;
  aspect-ratio: 4/5;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.service-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-portfolio-item:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .service-portfolio { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .service-portfolio { grid-template-columns: 1fr; }
}


/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
  padding: 6rem 0 0;
  background: var(--cream-deep);
}
.breadcrumbs-inner {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.breadcrumbs a:hover { color: var(--rust); }
.breadcrumbs .sep { color: var(--line); }
.breadcrumbs .current { color: var(--ink); }


/* ==========================================================================
   MARQUEE
   ========================================================================== */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 1.25rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee span {
  font-family: var(--editorial);
  font-size: 1.5rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.marquee span::after {
  content: '✦';
  margin-left: 4rem;
  color: var(--gold);
  font-size: 1rem;
  vertical-align: middle;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}


/* ==========================================================================
   GRID PATTERNS (reusable across pages)
   ========================================================================== */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.intro-image {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-image-caption {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: var(--cream);
  padding: 0.6rem 0.9rem;
  font-family: var(--editorial);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.intro-content h2 { margin-bottom: 2rem; }
.intro-content p { font-size: 1.1rem; margin-bottom: 1.25rem; }
.intro-signature {
  margin-top: 2.5rem;
  font-family: var(--editorial);
  font-size: 2rem;
  color: var(--rust);
  font-style: italic;
}
.intro-signature small {
  display: block;
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: normal;
}


/* ==========================================================================
   SERVICES (cards)
   ========================================================================== */

.services-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.services-head h2 { margin: 1.5rem 0; }
.services-head p { font-size: 1.1rem; }
.section-dark .services-head p { color: rgba(244,237,226,0.78); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(244,237,226,0.15);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.section:not(.section-dark) .service-card {
  background: var(--paper);
  border-color: var(--line);
}
.service-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-6px);
}
.service-card .num {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--gold-bright);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 1.5rem;
}
.section:not(.section-dark) .service-card .num { color: var(--gold); }
.service-card h3 { margin-bottom: 1rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.65; }
.service-card ul {
  list-style: none;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.service-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(244,237,226,0.08);
  font-size: 0.88rem;
  color: rgba(244,237,226,0.7);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section:not(.section-dark) .service-card ul li {
  border-color: var(--line);
  color: var(--ink-soft);
}
.service-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold-bright);
  border-radius: 50%;
}
.section:not(.section-dark) .service-card ul li::before { background: var(--gold); }
.service-link {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 500;
  margin-top: auto;
}
.section:not(.section-dark) .service-link { color: var(--rust); }


/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.gallery-head h2 { margin-top: 1.5rem; max-width: 700px; }
.gallery-head .col-right { max-width: 360px; }
.gallery-head p { font-size: 1.05rem; }

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 999px;
  font-family: var(--body);
  color: var(--ink);
  transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  grid-auto-rows: 1fr;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: 4px;
  aspect-ratio: 4/5;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,22,18,0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .meta {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  color: var(--cream);
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.gallery-item:hover .meta { opacity: 1; transform: translateY(0); }
.gallery-item .meta .tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 0.25rem;
}
.gallery-item .meta .title {
  font-family: var(--display);
  font-size: 1.1rem;
}
/* Masonry-like layout via grid spans */
.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; aspect-ratio: 4/6.5; }
.gallery-item:nth-child(2) { grid-column: span 4; aspect-ratio: 4/3.2; }
.gallery-item:nth-child(3) { grid-column: span 4; aspect-ratio: 4/3.2; }
.gallery-item:nth-child(4) { grid-column: span 4; aspect-ratio: 4/3.2; }
.gallery-item:nth-child(5) { grid-column: span 4; aspect-ratio: 4/3.2; }
.gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 2; aspect-ratio: 4/6.5; }
.gallery-item:nth-child(7) { grid-column: span 4; aspect-ratio: 4/3.2; }
.gallery-item:nth-child(8) { grid-column: span 4; aspect-ratio: 4/3.2; }
.gallery-cta {
  text-align: center;
  margin-top: 4rem;
}


/* ==========================================================================
   PROCESS
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.process-list { list-style: none; }
.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-item:first-child { padding-top: 0; }
.process-item .step {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 60px;
}
.process-item h3 { margin-bottom: 0.5rem; }
.process-item p { font-size: 0.98rem; color: var(--ink-soft); }
.process-sticky { position: sticky; top: 8rem; }
.process-image {
  aspect-ratio: 3/4;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}
.process-image img { width: 100%; height: 100%; object-fit: cover; }


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-head { text-align: center; margin-bottom: 4rem; }
.testimonials-head h2 { margin: 1.5rem 0 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  border-radius: 4px;
}
.testimonial .stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.testimonial blockquote {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 2rem;
}
.testimonial .author {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.testimonial .author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 1rem;
}
.testimonial .author .name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.testimonial .author .role {
  font-size: 0.78rem;
  color: var(--muted);
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-head { margin-bottom: 4rem; max-width: 760px; }

.faq-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 3.5rem;
}
.faq-category-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.faq-category-title::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.4rem 0;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
  line-height: 1.3;
}
.faq-q:hover { color: var(--rust); }
.faq-q .icon {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-family: var(--body);
}
.faq-item.open .faq-q .icon {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner {
  padding: 0 0 1.5rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 95%;
  font-family: var(--body);
}
.faq-item.open .faq-a { max-height: 500px; }


/* ==========================================================================
   AREAS SERVED — pill list
   ========================================================================== */

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.area-chip {
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(244,237,226,0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(244,237,226,0.85);
  transition: all 0.3s ease;
}
.section:not(.section-dark) .area-chip {
  border-color: var(--line);
  color: var(--ink-soft);
}
.area-chip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}


/* ==========================================================================
   QUOTE FORM (used on every page)
   ========================================================================== */

.quote-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 720px;
  margin: 0 auto;
}
.section-dark .quote-form-card { background: rgba(255,255,255,0.04); border-color: rgba(244,237,226,0.15); }

.quote-form-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}
.form-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.section-dark .form-sub { color: var(--gold-bright); }

.form-row { margin-bottom: 1rem; }
.form-row.two {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 600px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.section-dark .form-field label { color: var(--cream); }
.form-field label .opt {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--body);
  font-size: 16px;
  padding: 0.85rem 1rem;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}
.section-dark .form-field input,
.section-dark .form-field select,
.section-dark .form-field textarea {
  background: rgba(0,0,0,0.2);
  border-color: rgba(244,237,226,0.18);
  color: var(--cream);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1.1rem 2rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 56px;
}
.form-submit:hover {
  background: var(--rust);
  transform: translateY(-2px);
}
.form-or {
  text-align: center;
  font-family: var(--editorial);
  font-size: 1.1rem;
  color: var(--muted);
  margin: 1.5rem 0;
  font-style: italic;
}
.form-call {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.active { display: block; }
.form-success .check {
  width: 64px; height: 64px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}
.form-success h3 { margin-bottom: 1rem; }


/* ==========================================================================
   CTA STRIPS
   ========================================================================== */

.cta-strip {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212,164,100,0.18), transparent 60%);
}
.cta-strip > .wrap { position: relative; z-index: 2; }
.cta-strip h2 { color: var(--cream); margin: 1.5rem 0; }
.cta-strip h2 em { color: var(--gold-bright); }
.cta-strip p {
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: rgba(244,237,226,0.8);
}
.cta-strip .phone-big {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--gold-bright);
  margin: 1.5rem 0;
  letter-spacing: 0.02em;
}


/* ==========================================================================
   RELATED GRID — used on service & city subpages
   ========================================================================== */

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.related-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26,22,18,0.08);
}
.related-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.related-card h4 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.related-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.related-card .link {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 500;
}


/* ==========================================================================
   PROSE CONTENT (used on service & city pages)
   ========================================================================== */

.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  margin: 3rem 0 1.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}
.prose h3 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}
.prose p,
.prose ul {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose ul { padding-left: 1.5rem; }
.prose ul li { margin-bottom: 0.4rem; }
.prose ul li::marker { color: var(--gold); }
.prose a {
  color: var(--rust);
  border-bottom: 1px dashed var(--rust);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: var(--paper);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 0.4rem 0; }
.footer-col a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--rust); }
.footer-brand p {
  font-size: 0.95rem;
  margin: 1rem 0;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
}
.footer-social a:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}


/* ==========================================================================
   IMAGE PLACEHOLDERS — render while real images are pending
   When you add real images, set src="" → src="/images/[filename].webp" and
   these placeholders will hide automatically (via the onerror in the HTML).
   ========================================================================== */

.img-placeholder {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent),
    linear-gradient(45deg, var(--ink), var(--ink-soft));
  background-size: 40px 40px, 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244,237,226,0.4);
  font-family: var(--editorial);
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
}


/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.75s; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .intro-grid,
  .process-grid { grid-template-columns: 1fr; gap: 3rem; }
  .faq-categories { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { gap: 1rem; }
  .gallery-item:nth-child(1) { grid-column: span 6; grid-row: auto; aspect-ratio: 4/5; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(7),
  .gallery-item:nth-child(8) { grid-column: span 6; aspect-ratio: 4/5; }
  .gallery-item:nth-child(6) { grid-column: span 6; grid-row: auto; aspect-ratio: 4/5; }
  .hero-badge { top: -1rem; right: 0; }
  .nav-dropdown { display: none; }      /* hidden on mobile, drawer takes over */
  .nav-links li:not(.always-visible) { display: none; }
}

@media (max-width: 720px) {
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-item:nth-child(n) { grid-column: span 12; }
  .hero-h1 .line:nth-child(2),
  .hero-h1 .line:nth-child(3) { padding-left: 0; }
  .hero-meta { gap: 1.5rem; }
  .hero-meta-item .num { font-size: 2rem; }
  body { font-size: 16px; }
  .gallery-head { flex-direction: column; align-items: start; }
}


/* ==========================================================================
   ACCESSIBILITY — reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
}
