/* ============================================================
   Donya LLC — Design System
   "Editorial Luxe" direction
   Palette: warm cream (#f7f2e9) + brass (#c79a5c)
            on a warm near-black (#1c1a17)
   Type:    Cormorant Garamond (display) + Manrope (text)
   ============================================================ */

:root {
  /* Brand */
  --ink:        #1c1a17;   /* warm near-black (headings/dark sections) */
  --ink-2:      #14120f;   /* deepest ink                             */
  --navy:       #1c1a17;   /* dark sections (kept name for reuse)     */
  --brass:      #c79a5c;   /* brass accent                            */
  --brass-2:    #a67c46;   /* darker brass (hover / text on light)    */
  --brass-tint: #efe7d6;   /* warm cream wash                         */
  --brass-hi:   #e2c193;   /* light brass (accents on dark)           */

  /* Neutrals */
  --paper:      #f7f2e9;   /* cream page background */
  --bone:       #efe7d6;   /* deeper cream section bg */
  --bone-2:     #e4dccd;
  --line:       #e4dccd;   /* warm hairline */
  --muted:      #6b655c;
  --muted-2:    #a89f8f;
  --text:       #2a2620;

  /* Feedback */
  --ok:         #5a7d4f;
  --err:        #b23b3b;

  /* Layout */
  --wrap:       1200px;
  --gap:        clamp(1rem, 3vw, 2rem);
  --radius:     0px;        /* sharp editorial edges */
  --radius-sm:  0px;
  --shadow:     0 40px 90px -30px rgba(28,26,23,.5);
  --shadow-sm:  0 12px 34px -18px rgba(28,26,23,.45);
  --ease:       cubic-bezier(.22,.61,.36,1);

  /* Type */
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ----- Reset-ish ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.06; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); margin: 0 0 .4em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 0 0 .5em; }
h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 .5em; }
h4 { font-weight: 600; }
p { margin: 0 0 1.1em; }

/* ----- Layout helpers ----- */
.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-bone { background: var(--bone); }
.bg-ink  { background: var(--ink); color: #c9c0b0; }
.bg-navy { background: var(--navy); color: #c9c0b0; }
.center  { text-align: center; }
.grid { display: grid; gap: var(--gap); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--sans); font-weight: 700; font-size: .74rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--brass-2);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--brass); display: inline-block; }
.bg-ink .eyebrow, .bg-navy .eyebrow { color: var(--brass-hi); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.bg-ink .lead, .bg-navy .lead { color: #a89f8f; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05rem 1.9rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: all .25s var(--ease);
  line-height: 1;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn--primary:hover { background: var(--brass-hi); border-color: var(--brass-hi); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(199,154,92,.65); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(247,242,233,.5); }
.btn--outline-light:hover { border-color: var(--paper); background: rgba(247,242,233,.08); }
.btn--lg { padding: 1.15rem 2.1rem; font-size: .82rem; }
.btn--block { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.topbar {
  background: var(--ink); color: #c9c0b0; font-size: .8rem; letter-spacing: .01em;
  border-bottom: 1px solid rgba(247,242,233,.08);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.topbar a { color: #c9c0b0; }
.topbar a:hover { color: var(--brass); }
.topbar-info { display: flex; gap: 1.4rem; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-social { display: flex; gap: 1rem; align-items: center; }
.topbar-social svg { width: 16px; height: 16px; }
@media (max-width: 720px){ .topbar-info span.hide-sm { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(247,242,233,.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { height: 44px; width: auto; }
.brand-logo--footer { height: 50px; }
@media (max-width: 480px){ .brand-logo { height: 38px; } }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.01em; }
.brand-name span { color: var(--brass-2); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; font-size: .96rem; color: var(--text); position: relative; padding: .3rem 0; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background: var(--brass); transition: width .25s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--brass-2); }
.nav-toggle { display: none; background: none; border: none; padding: .4rem; color: var(--ink); }
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 940px){
  .nav-toggle { display: block; }
  .nav-links, .nav .nav-phone { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--paper); padding: 1.2rem 1.4rem 1.8rem; gap: .2rem; align-items: stretch;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: .85rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: .8rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: var(--paper); overflow: hidden;
  background:
    linear-gradient(100deg, rgba(20,18,15,.86) 0%, rgba(20,18,15,.58) 45%, rgba(20,18,15,.2) 100%),
    radial-gradient(1200px 600px at 80% -10%, rgba(199,154,92,.22), transparent 60%),
    var(--navy);
}
.hero::after { /* subtle blueprint grid */
  content:""; position:absolute; inset:0; opacity:.10; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
          mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.hero .wrap { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-inner { max-width: 720px; }
.hero h1 { color: var(--paper); }
.hero h1 em { font-style: italic; color: var(--brass-hi); }
.hero .lead { color: #e8e0d2; font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-badge { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: #e8e0d2; }
.hero-badge svg { width: 22px; height: 22px; color: var(--brass-hi); flex: none; }
.hero-badge strong { color: var(--paper); font-family: var(--serif); font-weight: 600; }

/* ============================================================
   TRUST STRIP / STATS
   ============================================================ */
.trust-strip { background: var(--ink); color: #cfd6dd; border-bottom: 1px solid rgba(255,255,255,.06); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3rem; padding: 1.1rem 0; text-align: center; }
.trust-item { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--brass); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(247,242,233,.12); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: var(--ink); padding: 2.4rem 1.4rem; text-align: center; }
.stat-num { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 500; color: var(--paper); line-height: 1; }
.stat-num span { color: var(--brass); }
.stat-label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-top: .7rem; font-weight: 600; }
@media (max-width: 640px){ .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .cards { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brass); }
.card-media { aspect-ratio: 16/10; position: relative; }
.card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--brass-tint); color: var(--brass-2); display: grid; place-items: center; margin-bottom: 1rem; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.1rem; }
.card ul { list-style: none; margin: 0 0 1.3rem; padding: 0; }
.card ul li { position: relative; padding-left: 1.5rem; font-size: .95rem; margin-bottom: .5rem; color: var(--text); }
.card ul li::before { content:""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--brass); }
.card-link { margin-top: auto; font-weight: 700; color: var(--brass-2); display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ============================================================
   IMAGE PLACEHOLDER (swap for real photos)
   ============================================================ */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 180px;
  background:
    repeating-linear-gradient(135deg, rgba(20,18,15,.04) 0 14px, rgba(20,18,15,.07) 14px 28px),
    linear-gradient(160deg, #efe7d6, #e2d7c1);
  display: grid; place-items: center; text-align: center; color: #9b917f;
  overflow: hidden;
}
.ph[data-tone="dark"] { background:
    repeating-linear-gradient(135deg, rgba(247,242,233,.04) 0 14px, rgba(247,242,233,.07) 14px 28px),
    linear-gradient(160deg, #2a2620, #14120f); color: #a89f8f; }
.ph-inner { padding: 1rem; }
.ph svg { width: 34px; height: 34px; opacity: .5; margin-bottom: .5rem; }
.ph-label { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ph-sub { font-size: .72rem; opacity: .75; margin-top: .2rem; }

/* ============================================================
   SPLIT / FEATURE
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.checklist { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brass-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0863a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.bg-ink .checklist li, .bg-navy .checklist li { color: #cdd7e2; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
@media (max-width: 860px){ .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px){ .process { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: .5rem; }
.step-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--brass); line-height: 1; opacity: .55; }
.step h3 { font-size: 1.15rem; margin: .6rem 0 .4rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.bg-navy .step p, .bg-ink .step p { color: #9fabb8; }

/* ============================================================
   GALLERY
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.4rem; }
.filter {
  border: 1.5px solid var(--line); background: #fff; color: var(--text);
  padding: .55rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--brass); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .gallery { grid-template-columns: 1fr; } }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.tile .ph { min-height: 0; }
.tile-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.3rem; color: #fff; opacity: 0; transition: opacity .3s var(--ease);
  background: linear-gradient(to top, rgba(20,18,15,.9), rgba(20,18,15,.15) 55%, transparent);
}
.tile:hover .tile-overlay { opacity: 1; }
.tile-tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.tile-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.tile-loc { font-size: .85rem; color: #cdd7e2; }
.is-hidden { display: none !important; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .quotes { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--brass); letter-spacing: 2px; margin-bottom: .9rem; }
.quote p { font-size: 1.02rem; color: var(--text); font-style: italic; }
.quote-by { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--brass); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.quote-name { font-weight: 700; font-size: .95rem; }
.quote-meta { font-size: .82rem; color: var(--muted); }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px){ .areas { grid-template-columns: 1fr; } }
.area { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.area h3 { display: flex; align-items: center; gap: .5rem; }
.area h3 svg { width: 20px; height: 20px; color: var(--brass-2); }
.area ul { columns: 2; list-style: none; padding: 0; margin: .8rem 0 0; font-size: .93rem; color: var(--muted); }
.area ul li { margin-bottom: .4rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background:
   linear-gradient(120deg, rgba(20,18,15,.9), rgba(20,18,15,.78)),
   radial-gradient(700px 400px at 90% 120%, rgba(199,154,92,.28), transparent 60%), var(--navy); color: var(--paper); }
.cta-band .wrap { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.cta-band h2 { color: var(--paper); margin-bottom: .3em; }
.cta-band p { color: #d8cfbe; margin: 0; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px){ .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label .req { color: var(--brass-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bone); color: var(--text); transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(199,154,92,.28); background: #fff;
}
.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.form-note a { color: var(--brass-2); font-weight: 600; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* Contact info list */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--brass-tint); color: var(--brass-2); display: grid; place-items: center; }
.info-ico svg { width: 22px; height: 22px; }
.info-item h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; }
.info-item a, .info-item p { font-size: 1.08rem; font-weight: 600; color: var(--ink); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #a7afb8; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name { color: #fff; }
.footer-about p { font-size: .95rem; color: #9aa3ad; margin: 1rem 0 1.2rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-col a { color: #a7afb8; font-size: .95rem; }
.footer-col a:hover { color: var(--brass); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; margin-bottom: .7rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brass); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--brass); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; color: #7f8891; }
.footer-bottom a { color: #9aa3ad; }
.footer-bottom a:hover { color: var(--brass); }
.footer-license { display: inline-flex; align-items: center; gap: .5rem; }
.footer-license svg { width: 15px; height: 15px; color: var(--brass); }

/* ----- Mobile sticky call bar ----- */
.callbar { display: none; }
@media (max-width: 940px){
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    box-shadow: 0 -4px 20px -8px rgba(0,0,0,.35);
  }
  .callbar a { padding: .95rem; text-align: center; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .95rem; }
  .callbar svg { width: 18px; height: 18px; }
  .callbar .cb-call { background: var(--ink); color: #fff; }
  .callbar .cb-quote { background: var(--brass); color: var(--ink); }
  body { padding-bottom: 56px; }
}

/* ----- Page hero (interior pages) ----- */
.page-hero { position: relative; background:
   linear-gradient(120deg, rgba(20,18,15,.9), rgba(20,18,15,.72)),
   radial-gradient(800px 400px at 85% -20%, rgba(199,154,92,.22), transparent 60%), var(--navy);
   color: var(--paper); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.6rem, 6vw, 4rem); }
.page-hero .eyebrow { color: var(--brass-hi); }
.page-hero h1 { color: var(--paper); margin-bottom: .3em; }
.page-hero p { color: #d8cfbe; max-width: 56ch; margin: 0; }
.crumbs { font-size: .85rem; color: #a89f8f; margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--brass); }
.crumbs span { color: var(--brass); }

/* ----- FAQ ----- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; background: #fff; overflow: hidden; }
.faq summary { padding: 1.15rem 1.3rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brass-2); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.3rem; margin: 0; color: var(--muted); }

/* ----- Reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ----- Alert (form fallback) ----- */
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; margin-bottom: 1.2rem; }
.alert-ok { background: #eaf5ef; color: var(--ok); border: 1px solid #bfe0cd; }

/* utilities */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.text-brass{color:var(--brass-2)}
.divider{height:1px;background:var(--line);border:0;margin:0}

/* ============================================================
   MASONRY GALLERY + LIGHTBOX  (projects)
   ============================================================ */
.masonry { column-count: 3; column-gap: 1rem; }
@media (max-width: 900px){ .masonry { column-count: 2; } }
@media (max-width: 560px){ .masonry { column-count: 1; } }
.mtile {
  display: block; position: relative; break-inside: avoid; margin: 0 0 1rem;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in;
  background: var(--bone-2);
}
.mtile img { width: 100%; display: block; transition: transform .55s var(--ease); }
.mtile:hover img { transform: scale(1.05); }
.mtile-cap {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.1rem; color: #fff; opacity: 0; transition: opacity .3s var(--ease);
  background: linear-gradient(to top, rgba(20,18,15,.92), rgba(20,18,15,.08) 58%, transparent);
}
.mtile:hover .mtile-cap { opacity: 1; }
.mtile-tag { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.mtile-title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; margin-top: .15rem; }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(9,12,16,.95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-stage { margin: 0; text-align: center; max-width: 94vw; }
.lb-img { max-width: 94vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.85); }
.lb-cap { color: #e8ecf1; margin-top: 1rem; font-size: .95rem; letter-spacing: .02em; }
.lb-cap b { color: var(--brass); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-right: .5rem; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.1); border: none; color: #fff; cursor: pointer;
  border-radius: 50%; display: grid; place-items: center; transition: background .2s var(--ease), color .2s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: var(--brass); color: #ffffff; }
.lb-close { top: 1.2rem; right: 1.4rem; width: 46px; height: 46px; font-size: 2rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.2rem; line-height: 1; }
.lb-prev { left: 1.4rem; } .lb-next { right: 1.4rem; }
@media (max-width: 560px){
  .lb-nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .lb-prev { left: .5rem; } .lb-next { right: .5rem; } .lb-close { top: .6rem; right: .7rem; }
}

/* ---- Real photos in tiles / cards / split (home) ---- */
.hero--home {
  background:
    linear-gradient(100deg, rgba(20,18,15,.82) 0%, rgba(20,18,15,.55) 42%, rgba(20,18,15,.15) 75%),
    url("../img/projects/img009.jpg") center 38%/cover no-repeat,
    var(--navy);
}
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.tile:hover > img { transform: scale(1.05); }
a.tile { display: block; }
.card-media { overflow: hidden; }
.card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.split-media { position: relative; }
.split-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   BLOG
   ============================================================ */
.wrap--narrow { width: min(100% - 2.4rem, 760px); margin-inline: auto; }

/* Blog listing cards */
.blog-card .card-body { padding: 1.5rem 1.6rem 1.7rem; }
.blog-card-meta { display: flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .7rem; }
.blog-card h3 { margin-bottom: .6rem; }
.blog-card h3 a { color: var(--ink); transition: color .2s var(--ease); }
.blog-card h3 a:hover { color: var(--brass-2); }
.blog-empty { text-align: center; color: var(--muted); font-size: 1.1rem; padding: 3rem 0; }

/* Tag chips */
.blog-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.blog-tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-2); background: var(--brass-tint); padding: .3rem .7rem; border-radius: 2px; }

/* Article page */
.blog-article { padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(3rem, 7vw, 5rem); }
.blog-back { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--brass-2); margin-bottom: 1.8rem; }
.blog-back svg { width: 16px; height: 16px; }
.blog-back:hover { color: var(--brass); }
.blog-article-head h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: .2em 0 .5em; }
.blog-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.blog-article-cover { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; }
.blog-article-cover img { width: 100%; display: block; }

/* Article body typography */
.blog-article-body { font-size: 1.1rem; line-height: 1.75; color: var(--text); }
.blog-article-body > *:first-child { margin-top: 0; }
.blog-article-body p { margin: 0 0 1.3rem; }
.blog-article-body h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.2rem 0 .8rem; }
.blog-article-body h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin: 1.8rem 0 .7rem; }
.blog-article-body ul, .blog-article-body ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.blog-article-body li { margin-bottom: .5rem; }
.blog-article-body a { color: var(--brass-2); text-decoration: underline; text-underline-offset: 3px; }
.blog-article-body a:hover { color: var(--brass); }
.blog-article-body blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--brass); font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink); }
.blog-article-body img { border-radius: var(--radius); margin: 1.6rem 0; }

/* End-of-article CTA */
.blog-cta { margin-top: 3rem; padding: 2.4rem; text-align: center; background: var(--bone); border-top: 3px solid var(--brass); }
.blog-cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.blog-cta p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.4rem; }
