/* ==========================================================================
   The Baldwin Architectural Group — shared stylesheet
   Cloned 1:1 from https://www.baldwinarchitect.com (Wix source, runtime stripped)
   Fonts are loaded per-page via <link> to fonts.googleapis.com (see each <head>).
   Source proprietary faces -> Google equivalents:
     PlayfairDisplay-Bold  -> Playfair Display   (display serif headings)
     CormorantGaramond     -> Cormorant Garamond (secondary serif accents)
     Poppins / Madefor     -> Poppins            (body / nav / UI)
   Page subagents append page-scoped rules below under a banner comment
   whose text is "page:" + the slug. They must not edit anything above.
   ========================================================================== */

:root {
  --black: #000000;
  --near-black: #0a0a0a;
  --navy: #212937;
  --navy-2: #2b3140;
  --gold: #bba962;
  --gold-light: #e0cd85;
  --gold-deep: #a8934e;
  --white: #ffffff;
  --off-white: #f7f6f4;
  --paper: #fbfaf8;
  --text: #1a1a1a;
  --text-soft: #4a4a4d;
  --muted: #8f8f8f;
  --footer-text: #595959;
  --line: #e4e2dc;
  --line-dark: rgba(255,255,255,0.14);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --serif-2: "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --radius: 4px;
  --shadow-sm: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-md: 0 14px 40px rgba(0,0,0,0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .4em; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold);
  color: #000; padding: 10px 16px; z-index: 2000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- shared display type ---------- */
.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em;
  font-size: .8rem; font-weight: 600; color: var(--gold);
}
.display {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .01em;
}
.gold { color: var(--gold); }
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--text); letter-spacing: .01em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; font-size: .82rem;
  padding: 15px 30px; border-radius: var(--radius); cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease);
}
.btn-gold { background: var(--gold); color: #1a1500; border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: #000; transform: translateY(-2px); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #1a1500; transform: translateY(-2px); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
/* Transparent overlay header — matches the source, which is position:relative,
   fully transparent and NOT sticky: it sits on top of each page's hero. */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; color: #fff;
  border-bottom: 0;
}
.header-inner {
  max-width: 1360px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand img.logo { height: 46px; width: auto; }
.social { display: flex; align-items: center; gap: 12px; }
.social a { opacity: .9; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.social a:hover { opacity: 1; transform: translateY(-2px); }
.social img { height: 20px; width: 20px; }

.main-nav { margin-left: auto; }
.main-nav > ul {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px;
}
.main-nav > ul > li { position: relative; }
.main-nav a.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: #fff;
  padding: 8px 0; position: relative;
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right .3s var(--ease);
}
.main-nav a.nav-link:hover::after,
.main-nav a.nav-link[aria-current="page"]::after { right: 0; }
.has-dropdown > a .caret { font-size: .6em; transition: transform .3s var(--ease); }
.has-dropdown:hover > a .caret,
.has-dropdown:focus-within > a .caret { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 232px; background: #0d0d0d; border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-md); border-radius: 6px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block; padding: 11px 22px; color: #eee;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.dropdown li a:hover { background: rgba(187,169,98,.14); color: var(--gold-light); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 12px 22px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); transition: background .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.icon-btn img { height: 18px; width: 18px; }

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-block; margin-left: auto; order: 3; }
  .main-nav { order: 4; flex-basis: 100%; margin-left: 0; display: none; }
  /* the header is transparent, so the opened mobile panel needs its own backdrop */
  .main-nav.open { display: block; background: rgba(10,10,10,.94); border-radius: 6px; padding: 4px 18px; }
  .main-nav > ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 0; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 16px; min-width: 0;
  }
  .header-cta { order: 2; margin-left: auto; }
  .header-cta .btn { display: none; }
}

/* ==========================================================================
   HERO (shared shell)
   ========================================================================== */
.hero {
  position: relative; color: #fff; text-align: center;
  display: flex; align-items: center; justify-content: center;
  min-height: 560px; overflow: hidden; background: var(--black);
}
.hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); z-index: 1; }
.hero .hero-content { position: relative; z-index: 2; padding: 90px 24px; max-width: 900px; }
.hero h1 {
  font-family: var(--serif); font-weight: 700; color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.12; letter-spacing: .01em;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hero .hero-sub {
  font-family: var(--sans); font-weight: 300; letter-spacing: .04em;
  color: #f0eee9; font-size: 1.05rem; margin: 14px 0 6px;
}
.hero .hero-rule { width: 260px; max-width: 70%; height: 1px; background: var(--gold); margin: 22px auto; opacity: .8; }
.hero .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* interior page hero (smaller, with breadcrumb) */
.page-hero { min-height: 420px; }
.breadcrumb {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em;
  font-size: .74rem; color: #d9d4c6; margin-bottom: 14px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* The source footer is WHITE with navy headings and grey body copy; only the
   bottom copyright bar is dark (navy with a gold parallelogram across it). */
.site-footer { background: var(--white); color: var(--footer-text); }
.footer-main {
  max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start;
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--footer-text); font-size: .92rem; line-height: 1.75; max-width: 460px; }
.footer-contact h3 {
  font-family: var(--serif); color: var(--navy); font-size: 1.7rem; text-align: right; margin-bottom: 22px;
}
.footer-contact ul { list-style: none; margin: 0; padding: 0; }
.footer-contact li {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 10px 0; font-size: .95rem;
}
.footer-contact li .fc-ico {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.footer-contact li .fc-ico svg { width: 12px; height: 12px; display: block;
  fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact a:hover { color: var(--gold-deep); }
.footer-nav {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
  border-top: 1px solid var(--line);
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; color: var(--navy); position: relative; padding-bottom: 4px;
}
.footer-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right .3s var(--ease);
}
.footer-nav a:hover::after, .footer-nav a[aria-current="page"]::after { right: 0; }
/* navy bar with a centred gold parallelogram — the source's exact gradient */
.footer-bar { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.footer-bar::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(124deg,
    var(--navy) 13.1579%, var(--gold) 13.1579%,
    var(--gold) 82.4561%, var(--navy) 82.4561%);
}
.footer-bar-inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bar .copy { font-size: .8rem; letter-spacing: .02em; color: #fff; }
.footer-bar .copy strong { color: #fff; font-weight: 600; }
.footer-bar .social a { opacity: .95; }
.footer-bar .social img { height: 18px; width: 18px; }

@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-contact h3, .footer-contact li { text-align: left; justify-content: flex-start; }
  .footer-brand p { max-width: none; }
  .footer-bar-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   SHARED CONTENT COMPONENTS
   ========================================================================== */
/* Service / feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  position: relative; overflow: hidden; border-radius: 6px; min-height: 320px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: transform .6s var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.05) 100%); }
.svc-card:hover img { transform: scale(1.06); }
.svc-card .svc-body { position: relative; z-index: 2; padding: 26px; }
.svc-card h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; color: var(--gold-light); }
.svc-card p { margin: 0; font-size: .92rem; color: #ece9e2; }

/* value / why-choose icon rows */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 60px; max-width: 900px; margin: 0 auto; }
.value-item { display: flex; align-items: center; gap: 18px; }
.value-item .vi-ico {
  width: 66px; height: 66px; flex: 0 0 auto; border-radius: 8px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.value-item .vi-ico img { width: 34px; height: 34px; }
.value-item h4 { font-family: var(--serif); font-size: 1.25rem; margin: 0; color: var(--text); }

/* detailed service list (interior pages) */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card img { width: 100%; height: 210px; object-fit: cover; }
.feature-card .fc-txt { padding: 22px 24px 26px; }
.feature-card h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--text); }
.feature-card p { margin: 0; font-size: .93rem; color: var(--text-soft); }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 54px; max-width: 1000px; margin: 0 auto; }
.why-item { display: flex; gap: 18px; }
.why-item .why-ico { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 8px; background: var(--gold);
  display: flex; align-items: center; justify-content: center; }
.why-item .why-ico img { width: 28px; height: 28px; }
.why-item h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; color: var(--text); margin: 4px 0 8px; }
.why-item p { margin: 0; font-size: .92rem; color: var(--text-soft); }

/* gallery grid ("See Our Work" / "From Vision to Reality") */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px;
}
.gallery a { display: block; overflow: hidden; border-radius: 4px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.07); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* testimonial band */
.testimonial {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  padding: 96px 0; background: var(--navy);
}
.testimonial .t-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.testimonial .t-overlay { position: absolute; inset: 0; background: rgba(15,20,30,.78); z-index: 1; }
.testimonial .t-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; padding: 0 24px; }
.testimonial .t-quote { font-family: var(--serif-2); font-size: 1.5rem; line-height: 1.6; font-style: italic; color: #f2efe8; }
.testimonial .t-author { margin-top: 18px; font-family: var(--sans); letter-spacing: .06em; color: var(--gold-light); font-size: .92rem; }
.testimonial .t-stars { height: 16px; width: auto; margin: 16px auto 0; display: block; }

/* contact / form block */
.contact-block { background: var(--white); }
.contact-form { max-width: 900px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; letter-spacing: .04em; color: var(--text-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  padding: 13px 14px; border: 0; border-bottom: 1px solid #cfcdc6; background: var(--off-white);
  border-radius: 2px; transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--gold); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-submit { text-align: center; margin-top: 30px; }
.hp-field { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* contact info strip */
.contact-info { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.contact-info .ci-item { display: flex; align-items: center; gap: 14px; padding: 4px 34px; }
.contact-info .ci-item + .ci-item { border-left: 1px solid var(--line); }
/* the source uses bare gold line-art glyphs here, not ringed icons */
.contact-info .ci-ico { width: 34px; height: 34px; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: center; color: var(--gold); flex: 0 0 auto; }
.contact-info .ci-ico svg { width: 32px; height: 32px; display: block;
  fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-info .ci-label { font-weight: 600; font-size: .9rem; color: var(--text); }
.contact-info .ci-val { font-size: .9rem; color: var(--text-soft); }

/* leaflet map */
#site-map { width: 100%; height: 460px; background: #e9e7e1; z-index: 0; }

@media (max-width: 900px) {
  .cards-3, .feature-list { grid-template-columns: 1fr; }
  .value-grid, .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-info .ci-item + .ci-item { border-left: 0; }
}

/* ==========================================================================
   MOTION — reproduces the source's scroll/entrance reveals & hover life.
   Content is ALWAYS visible: reveals are pure-CSS on-load animations with
   animation-fill-mode:both, so if any script fails the copy still shows.
   ========================================================================== */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn   { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes slideInLeft  { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse    { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(187,169,98,.5); } 50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(187,169,98,0); } }

.reveal      { animation: fadeUp .9s var(--ease) both; }
.reveal-slow { animation: fadeIn 1.2s var(--ease) both; }
.reveal-zoom { animation: zoomIn 1.2s var(--ease) both; }
.reveal-left { animation: slideInLeft 1s var(--ease) both; }
.reveal-right{ animation: slideInRight 1s var(--ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; }
.d4 { animation-delay: .48s; } .d5 { animation-delay: .6s; }

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

/* ==========================================================================
   page:about-us
   ========================================================================== */
.about-intro .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro .intro-media img { width: 100%; border-radius: 6px; box-shadow: var(--shadow-sm); }
.about-intro .intro-copy h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--text); margin-bottom: 22px;
}
.about-intro .intro-copy p { border-left: 3px solid var(--gold); padding-left: 20px; color: var(--text-soft); }

.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-head h2 { color: #fff; }

.about-why { background: var(--off-white); }
.about-why .why-grid { grid-template-columns: 1fr; max-width: 960px; gap: 0; }
.about-why .why-item { border: 1px solid var(--line); padding: 34px 40px; margin-top: -1px; background: var(--paper); }
.about-why .why-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.about-why .why-item:nth-child(even) .why-ico { margin-left: auto; }

.why-cta {
  background: var(--navy); color: #fff; text-align: center; max-width: 960px;
  margin: 56px auto 0; padding: 56px 40px; border-radius: 4px;
}
.why-cta h3 { font-family: var(--serif); color: var(--gold-light); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.why-cta p { color: #e7e5df; max-width: 760px; margin: 0 auto 26px; }

@media (max-width: 900px) {
  .about-intro .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-why .why-item, .about-why .why-item:nth-child(even) {
    flex-direction: column; text-align: left;
  }
  .about-why .why-item:nth-child(even) .why-ico { margin-left: 0; }
}

/* ==========================================================================
   page:commercial-architect
   ========================================================================== */
/* commercial uses <img class="intro-media"> (image IS the element), so scope to
   img.intro-media — a bare .intro-media would also hit the wrapper <div class="intro-media">
   that architectural-design / about-us use and fight their .intro-media img height. */
img.intro-media { width: 100%; height: 380px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-sm); }

.section-dark { background: var(--navy); color: #d7d9de; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #c3c6cd; }

.cta-box {
  max-width: 760px; margin: 56px auto 0; background: var(--near-black);
  border: 1px solid var(--line-dark); border-radius: 8px; padding: 44px 40px;
  text-align: center;
}
.cta-box h3 { font-family: var(--serif); color: var(--gold-light); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .5em; }
.cta-box p { color: #d7d9de; font-size: .95rem; max-width: 560px; margin: 0 auto 1.6em; }

@media (max-width: 900px) {
  img.intro-media { height: 260px; }
}

/* ==========================================================================
   page:restaurant-architect
   ========================================================================== */
/* two-column intro (image + copy) — prefixed ra- (restaurant-architect) to
   avoid colliding with other pages' same-shaped-but-different intro rules */
.ra-intro-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center;
}
.ra-intro-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-sm); }
.ra-intro-copy h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: var(--text); }
.ra-intro-copy p { color: var(--text-soft); }

/* dark section wrapper for the services block */
.section.ra-navy { background: var(--navy); color: #d7d9de; }
.section.ra-navy .section-head h2 { color: #fff; }
.section.ra-navy .section-head p { color: #c7cad2; }

/* CTA box within the "Why Choose Us" section */
.ra-cta {
  max-width: 820px; margin: 56px auto 0; background: var(--navy); color: #fff;
  text-align: center; padding: 46px 40px; border-radius: 8px;
}
.ra-cta h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.15rem; color: var(--gold-light); margin-bottom: 16px; }
.ra-cta p { color: #d7d9de; max-width: 620px; margin: 0 auto 26px; }

@media (max-width: 900px) {
  .ra-intro-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   page:architectural-design
   ========================================================================== */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.intro-media img {
  width: 100%; height: 420px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-sm);
}
.intro-copy h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--text); }
.intro-copy p { color: var(--text-soft); }

.services-dark { background: var(--navy); }
.services-dark .section-head h2,
.services-dark .section-head p { color: #fff; }
.services-dark .section-head p { color: #c9ccd3; }

.cta-panel {
  margin-top: 54px; background: var(--navy); color: #fff; text-align: center;
  padding: 54px 40px; border-radius: 8px;
}
.cta-panel h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff; }
.cta-panel p { color: #c9ccd3; max-width: 640px; margin: 0 auto 26px; }

.gallery-dark { background: var(--navy); }
.gallery-dark .section-head h2 { color: #fff; }
.gallery-dark .gallery > div { display: block; overflow: hidden; border-radius: 4px; }
.gallery-dark .gallery > div:hover img { transform: scale(1.07); }
.gallery-dark .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media img { height: 300px; }
}

/* ==========================================================================
   page:home
   ========================================================================== */
.home-transform { padding: 0; }
.home-transform-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.ht-panel { background: var(--navy); color: #fff; padding: 76px 60px; display: flex; flex-direction: column; justify-content: center; }
.ht-panel h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; margin-bottom: 22px; }
.ht-panel p { color: #d7d9de; font-size: .98rem; }
.ht-panel .btn { margin-top: 10px; align-self: flex-start; }
.ht-image { min-height: 460px; overflow: hidden; }
.ht-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.home-apart { background: var(--off-white); text-align: center; }
.home-values { grid-auto-flow: column; grid-template-rows: repeat(3, 1fr); text-align: left; }
.home-apart > .container > .btn { display: inline-block; margin-top: 44px; }

/* the portrait sits flush with the bottom of the section, as in the source */
.home-meet { padding-bottom: 0; }
.home-meet-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.home-meet-media { align-self: end; }
.home-meet-grid img { width: 100%; display: block; }
.home-meet-text h2 { margin-bottom: 18px; }
.home-meet-text p { color: var(--text-soft); border-left: 1px solid var(--line); padding-left: 18px; }

.home-vision { position: relative; overflow: hidden; color: #fff; }
.home-vision .hv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.home-vision .hv-overlay { position: absolute; inset: 0; background: rgba(10,14,20,.74); z-index: 1; }
.home-vision .container { position: relative; z-index: 2; }
.home-vision .section-head h2 { color: #fff; }

@media (max-width: 900px) {
  .home-transform-grid { grid-template-columns: 1fr; }
  .ht-image { min-height: 320px; }
  .home-values { grid-auto-flow: row; grid-template-rows: none; }
  .home-meet-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   page:contact
   ========================================================================== */
.contact-block .section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.contact-page-hero .hero-overlay { background: rgba(0,0,0,0.72); }

/* ==========================================================================
   FIDELITY PASS — components rebuilt to match the source
   (kept last in the file so they win over the earlier page-scoped rules)
   ========================================================================== */

/* --- section with a full-bleed photo behind a navy wash -------------------
   The source uses this for "From Vision to Reality" (home) and "See Our Work"
   (all interior pages) — the photo is the section's BACKGROUND, not a
   separate full-bleed band sitting above it. */
.photo-section { position: relative; overflow: hidden; color: #fff; }
.photo-section .ps-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.photo-section .ps-overlay { position: absolute; inset: 0; background: rgba(33,41,55,.87); z-index: 1; }
.photo-section > .container { position: relative; z-index: 2; }
.photo-section .section-head h2 { color: #fff; }
.photo-section .section-head p { color: #c9ccd3; }

/* --- gold service tiles ---------------------------------------------------
   Source: navy section, contiguous grid of photo tiles under a ~95% gold
   wash, centred serif title + body in white. Replaces the white cards. */
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.svc-tiles .feature-card {
  position: relative; overflow: hidden; min-height: 340px;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  border-radius: 0; box-shadow: none; margin: -1px 0 0 -1px;
}
.svc-tiles .feature-card:hover { transform: none; box-shadow: none; }
.svc-tiles .feature-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.svc-tiles .feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(187,169,98,.95);
}
.svc-tiles .feature-card .fc-txt {
  position: relative; z-index: 2; min-height: 340px; padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.svc-tiles .feature-card h3 {
  font-family: var(--serif); font-size: 1.3rem; color: #fff; margin-bottom: .55em;
}
.svc-tiles .feature-card p { margin: 0; font-size: .95rem; color: #fff; line-height: 1.65; }

/* --- testimonial carousel (auto-advancing) -------------------------------- */
.testimonial .t-track { display: grid; }
.testimonial .t-slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.testimonial .t-slide.is-active { opacity: 1; visibility: visible; }
.testimonial .t-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: none; border: 0; cursor: pointer; padding: 10px 16px;
  color: #fff; font-size: 2.2rem; line-height: 1; opacity: .75;
  transition: opacity .25s var(--ease);
}
.testimonial .t-nav:hover, .testimonial .t-nav:focus-visible { opacity: 1; }
.testimonial .t-prev { left: 12%; }
.testimonial .t-next { right: 12%; }
.testimonial .t-dots {
  position: relative; z-index: 3; display: flex; gap: 10px;
  justify-content: center; margin-top: 30px;
}
.testimonial .t-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,.75);
  transition: background .25s var(--ease);
}
.testimonial .t-dot.is-active { background: #fff; }

/* --- "See Our Work" horizontal carousel ---------------------------------- */
.sow-carousel { position: relative; }
.sow-track {
  display: grid; grid-auto-flow: column dense;
  grid-template-rows: repeat(2, 200px); grid-auto-columns: 300px; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.sow-track::-webkit-scrollbar { display: none; }
.sow-track > * {
  display: block; overflow: hidden; border-radius: 3px; scroll-snap-align: start;
}
.sow-track > .tall { grid-row: span 2; }
.sow-track > .wide { grid-column: span 2; }
.sow-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sow-track > *:hover img { transform: scale(1.06); }
.sow-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: none; border: 0; cursor: pointer; padding: 8px 12px;
  color: #fff; font-size: 2.4rem; line-height: 1; opacity: .8;
  transition: opacity .25s var(--ease);
}
.sow-arrow:hover, .sow-arrow:focus-visible { opacity: 1; }
.sow-prev { left: -6px; }
.sow-next { right: -6px; }

/* --- map band (every page carries one, directly above the footer) --------- */
.map-section { width: 100%; }
.site-map { width: 100%; height: 370px; background: #eceae4; z-index: 0; }
.site-map .leaflet-container { font-family: var(--sans); background: #eceae4; }
/* the source map is a pale, desaturated Google style — match it without
   needing a keyed tile provider */
.site-map .leaflet-tile-pane { filter: grayscale(1) contrast(.86) brightness(1.12); }
.site-map .leaflet-popup-content { font-size: .82rem; line-height: 1.5; }
.site-map .leaflet-popup-content strong { color: var(--navy); }
.map-pin svg { width: 30px; height: 38px; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }

@media (max-width: 900px) {
  .svc-tiles { grid-template-columns: 1fr; }
  .sow-track { grid-template-rows: repeat(2, 150px); grid-auto-columns: 220px; }
  .sow-prev { left: -10px; } .sow-next { right: -10px; }
  .testimonial .t-prev { left: 0; } .testimonial .t-next { right: 0; }
  .testimonial .t-nav { font-size: 1.8rem; padding: 8px 6px; }
  /* on one column the portrait no longer defines the section's bottom edge */
  .home-meet { padding-bottom: 84px; }
  .home-meet-media { align-self: auto; }
  .site-map { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .sow-track { scroll-behavior: auto; }
  .testimonial .t-slide { transition: none; }
}
