/*
 * Quiet Luxury Atelier direction: warm ivory and chalk surfaces, charcoal ink,
 * Oxblood Ink accents, thin architectural rules, offset editorial composition,
 * and restrained motion. Keep typography tactile and hierarchy spacious.
 */



:root {
  --primary: #25483d;
  --primary-foreground: #fffaf3;
  --background: #f5f1ea;
  --foreground: #292923;
  --card: #fbf8f2;
  --card-foreground: #292923;
  --popover: #fbf8f2;
  --popover-foreground: #292923;
  --secondary: #ebe5dc;
  --secondary-foreground: #292923;
  --muted: #ebe5dc;
  --muted-foreground: #756f66;
  --accent: #d4a771;
  --accent-foreground: #292923;
  --destructive: #9d3c45;
  --destructive-foreground: #fffaf3;
  --border: rgba(41, 41, 35, 0.15);
  --input: rgba(41, 41, 35, 0.2);
  --ring: #25483d;
  --radius: 0.25rem;
  --paper: #f5f1ea;
  --paper-deep: #e8e0d5;
  --chalk: #fbf8f2;
  --ink: #292923;
  --ink-soft: #5f5a52;
  --forest: #25483d;
  --brass: #bc8c5d;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
::selection { background: var(--forest); color: var(--chalk); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slowDrift { from { transform: scale(1.05); } to { transform: scale(1); } }

.content-width { width: min(100% - 48px, 1240px); margin: 0 auto; }
.site-shell { overflow: hidden; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding: 14px clamp(22px, 4vw, 68px); color: var(--chalk); transition: background 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.site-header.is-scrolled { background: rgba(251, 248, 242, 0.94); color: var(--ink); box-shadow: 0 1px 0 rgba(41, 41, 35, 0.12); backdrop-filter: blur(14px); }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark-wrap { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid currentColor; }
.brand-mark { width: 24px; height: 24px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: "Cormorant Garamond", serif; font-size: 23px; font-weight: 600; letter-spacing: 0.2em; line-height: 0.8; }
.brand-subtitle { font-size: 7px; font-weight: 700; letter-spacing: 0.26em; opacity: 0.72; }
.desktop-nav { display: flex; gap: clamp(18px, 3vw, 42px); margin-left: auto; margin-right: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
.desktop-nav a, .footer-nav a { transition: color 180ms ease, opacity 180ms ease; }
.desktop-nav a:hover, .footer-nav a:hover { color: var(--forest); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; gap: 7px; align-items: center; font-size: 11px; letter-spacing: 0.03em; opacity: 0.9; transition: opacity 180ms ease; }
.header-phone:hover { opacity: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; line-height: 1; text-transform: uppercase; transition: transform 160ms var(--ease-out), background 180ms ease, color 180ms ease, border-color 180ms ease; cursor: pointer; }
.button:active { transform: scale(0.97); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.button-dark { background: var(--ink); color: var(--chalk); }
.button-dark:hover { background: var(--forest); }
.button-forest { background: var(--forest); color: var(--chalk); }
.button-forest:hover { background: #522329; transform: translateY(-2px); }
.button-light-outline { border-color: rgba(251, 248, 242, 0.52); color: var(--chalk); }
.button-light-outline:hover { border-color: var(--chalk); background: rgba(251, 248, 242, 0.12); }
.mobile-menu-toggle, .mobile-nav { display: none; }

.hero-section { position: relative; display: flex; align-items: center; min-height: min(820px, 100vh); padding: 160px 0 100px; color: var(--chalk); isolation: isolate; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { z-index: -2; background-position: center; background-size: cover; animation: slowDrift 1.2s var(--ease-out) both; }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(28, 28, 24, 0.82) 0%, rgba(28, 28, 24, 0.54) 40%, rgba(28, 28, 24, 0.05) 88%), linear-gradient(0deg, rgba(28, 28, 24, 0.55), transparent 42%); }
.hero-content { position: relative; padding-left: clamp(20px, 7vw, 100px); }
.hero-kicker, .eyebrow, .section-label, .form-heading, .footer-bottom, .service-number, .trust-index { font-size: 10px; font-weight: 700; letter-spacing: 0.21em; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 12px; opacity: 0.84; animation: heroReveal 700ms 80ms var(--ease-out) both; }
.kicker-line { width: 44px; height: 1px; background: var(--brass); }
.hero-content h1 { max-width: 750px; margin: 27px 0 24px; font-family: "Cormorant Garamond", serif; font-size: clamp(58px, 8.3vw, 120px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.82; animation: heroReveal 700ms 150ms var(--ease-out) both; }
.hero-content h1 em, h2 em, .footer-phrase em { font-weight: 400; }
.hero-lede { max-width: 415px; margin: 0 0 34px; color: rgba(251, 248, 242, 0.84); font-size: 15px; line-height: 1.7; animation: heroReveal 700ms 220ms var(--ease-out) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: heroReveal 700ms 290ms var(--ease-out) both; }
.hero-scroll { position: absolute; top: calc(100% + 90px); left: clamp(20px, 7vw, 100px); display: flex; align-items: center; gap: 9px; font-size: 9px; letter-spacing: 0.21em; text-transform: uppercase; opacity: 0.75; transition: opacity 180ms ease; }
.hero-scroll:hover { opacity: 1; }
.hero-side-note { position: absolute; right: 40px; bottom: 46px; display: flex; align-items: center; gap: 14px; writing-mode: vertical-rl; font-size: 9px; letter-spacing: 0.22em; opacity: 0.7; }
.hero-side-note span { width: 1px; height: 56px; background: var(--brass); }

.section-pad { padding: clamp(88px, 12vw, 165px) 0; }
.intro-section { background: var(--paper); }
.intro-layout { display: grid; grid-template-columns: 120px minmax(0, 650px) 1fr; gap: clamp(30px, 7vw, 112px); align-items: start; }
.section-label { display: flex; align-items: center; gap: 12px; color: var(--forest); white-space: nowrap; }
.label-rule { display: inline-block; width: 34px; height: 1px; background: var(--brass); }
.intro-copy { padding-top: 30px; }
.eyebrow { margin: 0 0 18px; color: var(--forest); }
.eyebrow-light { color: #d7a778; }
h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(47px, 6vw, 79px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.9; }
.intro-copy h2 { max-width: 630px; }
.body-copy { max-width: 495px; margin: 31px 0 27px; color: var(--ink-soft); font-size: 15px; line-height: 1.72; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--brass); font-size: 10px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; transition: color 180ms ease, gap 180ms ease; }
.text-link:hover { gap: 15px; color: var(--forest); }
.intro-aside { display: flex; align-items: flex-start; gap: 14px; padding-top: 185px; }
.aside-number { font-family: "Cormorant Garamond", serif; font-size: clamp(84px, 9vw, 135px); font-weight: 600; letter-spacing: -0.08em; line-height: 0.7; }
.aside-number span { color: var(--forest); font-size: 0.35em; vertical-align: top; }
.aside-caption { padding-top: 4px; color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.55; text-transform: uppercase; }

.section-forest { background: var(--ink); color: var(--chalk); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 74px; }
.section-heading-row h2 { max-width: 520px; }
.heading-note { max-width: 270px; margin: 0 7% 8px 0; color: rgba(251, 248, 242, 0.6); font-size: 13px; line-height: 1.7; }
.services-list { border-top: 1px solid rgba(251, 248, 242, 0.22); }
.service-item { display: grid; grid-template-columns: 76px 64px minmax(0, 1fr) 25px; align-items: center; min-height: 128px; gap: 26px; border-bottom: 1px solid rgba(251, 248, 242, 0.22); transition: padding 220ms var(--ease-out), background 220ms ease; }
.service-item:hover { padding: 0 24px; background: rgba(251, 248, 242, 0.05); }
.service-number { color: #d7a778; }
.service-icon { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid rgba(251, 248, 242, 0.28); color: #d7a778; }
.service-copy h3 { margin: 0 0 8px; font-family: "Cormorant Garamond", serif; font-size: 29px; font-weight: 600; letter-spacing: -0.01em; }
.service-copy p { max-width: 500px; margin: 0; color: rgba(251, 248, 242, 0.6); font-size: 13px; line-height: 1.6; }
.service-arrow { color: #d7a778; transition: transform 180ms var(--ease-out); }
.service-item:hover .service-arrow { transform: translate(4px, -4px); }
.trust-strip { background: var(--forest); color: var(--chalk); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 108px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 24px clamp(10px, 2.5vw, 36px); border-right: 1px solid rgba(251, 248, 242, 0.2); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.45; text-transform: uppercase; }
.trust-item:first-child { border-left: 1px solid rgba(251, 248, 242, 0.2); }
.trust-item svg { flex: 0 0 auto; color: #e7bf89; }
.trust-index { align-self: flex-start; color: rgba(251, 248, 242, 0.56); font-size: 8px; }

.portfolio-section { background: var(--chalk); }
.portfolio-header { display: grid; grid-template-columns: 120px minmax(0, 1fr) 245px; gap: clamp(30px, 6vw, 95px); align-items: end; margin-bottom: 68px; }
.portfolio-title-wrap .eyebrow { margin-bottom: 17px; }
.portfolio-intro { max-width: 230px; margin: 0 0 5px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.portfolio-grid { display: grid; grid-template-columns: 1.02fr 1.08fr 0.96fr; gap: clamp(28px, 3.4vw, 52px) 22px; align-items: start; }
.portfolio-card { margin: 0; }
.portfolio-image-wrap { overflow: hidden; background: var(--paper-deep); }
.portfolio-tall .portfolio-image-wrap { aspect-ratio: 4 / 5; }
.portfolio-wide .portfolio-image-wrap { aspect-ratio: 3 / 2; }
.portfolio-square .portfolio-image-wrap { aspect-ratio: 1 / 1; }
.portfolio-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), filter 350ms ease; }
.portfolio-card:hover img { transform: scale(1.035); filter: saturate(0.92); }
.portfolio-card figcaption { display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: start; gap: 12px; padding-top: 16px; }
.portfolio-card figcaption > span { color: var(--forest); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; }
.portfolio-card figcaption strong, .portfolio-card figcaption small { display: block; }
.portfolio-card figcaption strong { font-family: "Cormorant Garamond", serif; font-size: 23px; font-weight: 600; line-height: 0.95; }
.portfolio-card figcaption small { margin-top: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.portfolio-card figcaption svg { color: var(--forest); transition: transform 180ms ease; }
.portfolio-card:hover figcaption svg { transform: translate(3px, -3px); }
.portfolio-card:nth-child(2) { margin-top: 94px; }
.portfolio-card:nth-child(4) { margin-top: 40px; }
.portfolio-card:nth-child(5) { margin-top: -50px; }

.about-section { background: var(--paper-deep); }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr); gap: clamp(50px, 9vw, 150px); align-items: center; }
.about-art { position: relative; min-height: 510px; }
.sample-card { position: absolute; width: min(64%, 370px); aspect-ratio: 0.74; box-shadow: 0 20px 55px rgba(41, 41, 35, 0.14); }
.sample-card-back { top: 32px; left: 16%; background: #b6a78f; transform: rotate(8deg); }
.sample-card-front { top: 4px; left: 8%; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; background: var(--chalk); transform: rotate(-6deg); }
.sample-label { color: var(--forest); font-size: 9px; font-weight: 700; letter-spacing: 0.17em; }
.sample-pattern { display: block; flex: 1; margin-top: 20px; background-color: #ddd3c4; background-image: radial-gradient(circle at 20% 10%, rgba(107, 46, 53, 0.36) 0 5%, transparent 5.5%), radial-gradient(circle at 70% 34%, rgba(107, 46, 53, 0.26) 0 7%, transparent 7.5%), linear-gradient(115deg, transparent 45%, rgba(188, 140, 93, 0.34) 46% 47%, transparent 48%); background-size: 82px 95px, 110px 140px, 120px 140px; }
.about-art-caption { position: absolute; right: 6%; bottom: 42px; color: var(--forest); font-family: "Cormorant Garamond", serif; font-size: 22px; font-style: italic; line-height: 0.92; transform: rotate(-7deg); }
.about-copy { padding-bottom: 15px; }
.about-copy .section-label { margin-bottom: 58px; }
.about-copy .body-copy { max-width: 470px; }
.about-signature { display: flex; align-items: center; gap: 14px; margin-top: 37px; color: var(--ink-soft); font-family: "Cormorant Garamond", serif; font-size: 21px; font-style: italic; }
.signature-line { display: inline-block; width: 54px; height: 1px; background: var(--brass); }

.contact-section { position: relative; background: var(--ink); color: var(--chalk); background-image: linear-gradient(90deg, rgba(251, 248, 242, 0.035) 1px, transparent 1px), linear-gradient(rgba(251, 248, 242, 0.025) 1px, transparent 1px); background-size: 112px 112px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(46px, 9vw, 145px); align-items: start; }
.contact-intro .section-label { margin-bottom: 62px; }
.light-label { color: #e5c294; }
.contact-intro h2 { max-width: 500px; }
.contact-lede { max-width: 400px; margin: 32px 0 37px; color: rgba(251, 248, 242, 0.63); font-size: 14px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 16px; color: rgba(251, 248, 242, 0.8); font-size: 12px; }
.contact-details a, .contact-details > span { display: flex; align-items: center; gap: 12px; transition: color 180ms ease; }
.contact-details a:hover { color: #e5c294; }
.contact-details svg { flex: 0 0 auto; color: #d7a778; }
.form-panel { position: relative; padding: clamp(28px, 4vw, 49px); background: var(--chalk); color: var(--ink); box-shadow: 12px 12px 0 rgba(188, 140, 93, 0.32); }
.form-panel::before, .form-panel::after { position: absolute; width: 10px; height: 10px; border-color: var(--brass); content: ""; }
.form-panel::before { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.form-panel::after { right: 12px; bottom: 12px; border-right: 1px solid; border-bottom: 1px solid; }
.form-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); color: var(--forest); }
.form-heading svg { color: var(--brass); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 19px; padding: 30px 0 28px; }
.form-field { display: flex; flex-direction: column; gap: 9px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.form-field i { color: var(--forest); font-style: normal; }
.form-field-full { grid-column: 1 / -1; }
.form-field input, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--input); border-radius: 0; padding: 10px 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; resize: vertical; transition: border-color 180ms ease, box-shadow 180ms ease; }
.form-field textarea { min-height: 96px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #aaa297; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--forest); box-shadow: 0 1px 0 var(--forest); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--border); padding-top: 25px; }
.form-footer > span { max-width: 150px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.error-message { color: var(--destructive) !important; margin-top: 5px; font-size: 11px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; animation: fadeIn 0.3s ease; }
.form-success { color: var(--forest); font-family: "Cormorant Garamond", serif; font-size: 31px; line-height: 1.05; }

.map-section { background: var(--paper); padding: 84px 0 96px; }
.map-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(38px, 7vw, 115px); align-items: center; }
.map-copy h2 { font-size: clamp(46px, 5.7vw, 74px); }
.map-copy .body-copy { margin: 28px 0; }
.map-frame { position: relative; height: 330px; border: 1px solid rgba(41, 41, 35, 0.15); filter: grayscale(1) sepia(0.18); }
.map-frame::before { position: absolute; z-index: 1; top: 12px; left: 12px; width: 24px; height: 24px; border-top: 1px solid var(--forest); border-left: 1px solid var(--forest); content: ""; pointer-events: none; }
.map-frame .map-embed { width: 100%; height: 100% !important; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.site-footer { position: relative; padding: 62px 0 26px; background: var(--chalk); }
.site-footer::before { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--forest) 0 18%, var(--brass) 18% 18.5%, transparent 18.5% 100%); content: ""; opacity: 0.9; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 40px; padding-bottom: 72px; border-bottom: 1px solid var(--border); }
.footer-brand { color: var(--ink); }
.footer-phrase { font-family: "Cormorant Garamond", serif; font-size: 39px; font-weight: 600; letter-spacing: -0.02em; line-height: 0.82; }
.footer-nav { display: flex; justify-content: end; gap: 20px; padding-top: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: #898278; font-size: 8px; letter-spacing: 0.11em; }
.footer-bottom a:hover { color: var(--forest); }

@media (max-width: 1020px) {
  .desktop-nav, .header-phone { display: none; }
  .mobile-menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; background: transparent; color: currentColor; cursor: pointer; }
  .mobile-nav { position: absolute; top: calc(100% - 1px); right: 22px; display: flex; flex-direction: column; width: min(320px, calc(100vw - 44px)); padding: 12px 22px 22px; background: var(--chalk); color: var(--ink); box-shadow: 0 18px 40px rgba(41, 41, 35, 0.17); animation: fadeIn 180ms ease both; }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 10px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
  .mobile-nav a svg { color: var(--forest); }
  .mobile-quote { margin-top: 18px; }
  .intro-layout, .portfolio-header { grid-template-columns: 85px minmax(0, 1fr); }
  .intro-aside { display: none; }
  .portfolio-intro { grid-column: 2; }
  .about-layout { gap: 50px; }
  .contact-layout { gap: 55px; }
}

@media (max-width: 720px) {
  .content-width { width: min(100% - 38px, 600px); }
  .site-header { min-height: 70px; padding: 12px 19px; }
  .brand-mark-wrap { width: 34px; height: 34px; }
  .brand-mark { width: 21px; height: 21px; }
  .brand-name { font-size: 20px; }
  .brand-subtitle { font-size: 6px; }
  .header-cta { display: none; }
  .hero-section { min-height: 720px; padding: 130px 0 85px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(28, 28, 24, 0.86), rgba(28, 28, 24, 0.33)), linear-gradient(0deg, rgba(28, 28, 24, 0.65), transparent 52%); }
  .hero-content { padding-left: 0; }
  .hero-content h1 { font-size: clamp(56px, 16vw, 92px); }
  .hero-lede { max-width: 390px; font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-side-note { right: 18px; bottom: 28px; }
  .hero-scroll { top: calc(100% + 25px); left: 0; }
  .section-pad { padding: 86px 0; }
  .intro-layout, .portfolio-header, .about-layout, .contact-layout, .map-layout { display: block; }
  .section-label { margin-bottom: 47px; font-size: 9px; }
  .intro-copy { padding-top: 0; }
  h2 { font-size: clamp(50px, 14.5vw, 77px); }
  .intro-copy .body-copy { margin-top: 25px; }
  .section-heading-row { display: block; margin-bottom: 51px; }
  .heading-note { margin: 25px 0 0; }
  .service-item { grid-template-columns: 37px 47px minmax(0, 1fr); gap: 15px; min-height: 145px; }
  .service-item:hover { padding: 0 10px; }
  .service-arrow { display: none; }
  .service-copy h3 { font-size: 25px; }
  .service-copy p { font-size: 12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { min-height: 91px; padding: 18px 13px; border-bottom: 1px solid rgba(251, 248, 242, 0.2); font-size: 9px; }
  .trust-item:nth-child(odd) { border-left: 1px solid rgba(251, 248, 242, 0.2); }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: 0; }
  .portfolio-header { margin-bottom: 48px; }
  .portfolio-title-wrap { margin-bottom: 26px; }
  .portfolio-intro { max-width: 300px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 35px 12px; }
  .portfolio-card:nth-child(2), .portfolio-card:nth-child(4), .portfolio-card:nth-child(5) { margin-top: 0; }
  .portfolio-card:nth-child(2), .portfolio-card:nth-child(5) { margin-top: 44px; }
  .portfolio-card figcaption { grid-template-columns: 17px minmax(0, 1fr); gap: 8px; padding-top: 11px; }
  .portfolio-card figcaption svg { display: none; }
  .portfolio-card figcaption strong { font-size: 19px; }
  .portfolio-card figcaption small { font-size: 7px; }
  .about-art { min-height: 415px; margin-bottom: 45px; }
  .sample-card { width: 66%; }
  .sample-card-front { left: 10%; }
  .sample-card-back { left: 17%; }
  .about-art-caption { right: 1%; bottom: 28px; }
  .about-copy .section-label, .contact-intro .section-label { margin-bottom: 45px; }
  .contact-lede { margin-top: 24px; }
  .form-panel { margin-top: 50px; padding: 25px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 21px; padding: 25px 0; }
  .form-field-full { grid-column: auto; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .form-footer > span { max-width: 220px; }
  .map-section { padding: 75px 0 82px; }
  .map-copy { margin-bottom: 42px; }
  .map-frame { height: 270px; }
  .footer-main { display: block; padding-bottom: 48px; }
  .footer-phrase { margin: 45px 0 35px; font-size: 36px; }
  .footer-nav { justify-content: start; flex-wrap: wrap; gap: 15px 24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 11px; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.dark { --background: #292923; --foreground: #fbf8f2; }

/* Standalone map card: remains useful when index.html is opened locally. */
.map-frame { display: grid; place-items: center; min-height: 330px; background: linear-gradient(145deg, rgba(232,224,213,.96), rgba(214,204,190,.88)), repeating-linear-gradient(35deg, transparent 0 18px, rgba(107,46,53,.08) 19px 20px); }
.map-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: min(290px, 78%); padding: 27px 29px; background: rgba(251,248,242,.94); color: var(--ink); box-shadow: 10px 10px 0 rgba(188,140,93,.25); transition: transform 180ms var(--ease-out), box-shadow 180ms ease; }
.map-card:hover { transform: translateY(-4px); box-shadow: 14px 14px 0 rgba(188,140,93,.28); }
.map-pin { color: var(--forest); font-size: 25px; line-height: 1; }
.map-card strong { font-family: "Cormorant Garamond", serif; font-size: 30px; line-height: .95; }
.map-card > span:not(.map-pin) { color: var(--ink-soft); font-size: 12px; }
.map-card small { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--brass); color: var(--forest); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 1020px) { .mobile-nav.is-open { display: flex; } }

:root {
  --forest: #25483d;
  --forest-light: #45675a;
  --paper: #f7f4ed;
  --paper-deep: #ebe4d7;
  --ink: #222b27;
  --ink-soft: #65706a;
  --brass: #b88b5a;
  --ease-out: cubic-bezier(.23,1,.32,1);
}
body { background: var(--paper); color: var(--ink); }
.site-header { background: rgba(247,244,237,.94); }
.header-phone:hover, .desktop-nav a:hover, .footer-nav a:hover { color: var(--forest); }
.button-forest { background: var(--forest); color: #fff; }
.button-forest:hover { background: var(--forest-light); }
.section-forest { background: var(--forest); }
.section-forest .service-item { border-color: rgba(247,244,237,.22); }
.section-forest .service-item:hover { background: rgba(247,244,237,.06); }
.trust-strip { background: #1d352e; }
.portfolio-section, .about-section, .intro-section, .map-section { background: var(--paper); }
.hero-image { background-image: url('../images/hero-cover.jpg'); }
.map-frame { position: relative; min-height: 340px; overflow: hidden; background: #d8d4cb; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(.72) contrast(.92); }
.map-open-link { position: absolute; right: 18px; bottom: 18px; z-index: 2; padding: 10px 14px; background: var(--forest); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.map-open-link:hover { background: var(--forest-light); }
.form-panel { border-top-color: var(--brass); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(37,72,61,.14); }
.text-link { color: var(--forest); border-bottom-color: var(--brass); }
.text-link:hover { color: var(--forest-light); }
.about-section .sample-card-front { background: var(--forest); }
.about-section .sample-pattern { background-image: linear-gradient(135deg, rgba(247,244,237,.18) 25%, transparent 25%, transparent 50%, rgba(247,244,237,.18) 50%, rgba(247,244,237,.18) 75%, transparent 75%); }
@media (max-width: 760px) { .map-frame, .map-frame iframe { min-height: 285px; } .map-open-link { right: 12px; bottom: 12px; } }

/* Offline-first map fallback: the exact Clark location stays visible when a local file blocks iframe rendering. */
.map-frame { background-image: linear-gradient(90deg, rgba(29,53,46,.08), rgba(247,244,237,0) 44%), url('../images/chester-map-preview.webp'); background-size: cover; background-position: center; }
.map-frame iframe { opacity: 0; pointer-events: none; }
.map-frame::after { content: '2300 W 4TH ST · CHESTER, PA 19013'; position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 10px 14px; background: rgba(247,244,237,.94); color: #25483d; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
@media (max-width: 760px) { .map-frame::after { left: 12px; bottom: 12px; max-width: 60%; line-height: 1.4; } }
/* Chester Prestige alternate variant: split hero, card UI, slate + coral palette */
:root{--ink:#1f2933;--slate:#2f4858;--slate-deep:#20323f;--coral:#e2785c;--sand:#f5f1eb;--white:#fffdf9;--line:#d7d2ca;--shadow:0 18px 50px rgba(31,41,51,.12);--radius:16px}
html{scroll-behavior:smooth}
body{background:var(--sand);color:var(--ink);font-family:'Source Sans Pro',Arial,sans-serif}
.site-header{background:rgba(255,253,249,.94);border:1px solid rgba(47,72,88,.14);border-radius:16px;box-shadow:0 8px 24px rgba(31,41,51,.08);margin:14px auto;width:min(1180px,calc(100% - 28px));top:12px}
.hero-section{background:var(--sand)!important;min-height:620px;padding:48px 0}
.hero-section .content-width{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:44px;align-items:center}
.hero-section .hero-content{color:var(--ink)!important;max-width:590px;background:var(--white);border-radius:var(--radius);padding:52px;box-shadow:var(--shadow);position:relative;z-index:2}
.hero-section .hero-content h1{color:var(--slate-deep)!important;font-family:'Poppins',Arial,sans-serif;font-size:clamp(44px,5.7vw,78px);line-height:1.02;letter-spacing:-.045em}
.hero-section .hero-content h1 em{color:var(--coral)!important}
.hero-section .hero-lede{color:#53616d!important}
.hero-section .hero-image{position:relative!important;inset:auto!important;grid-column:2;grid-row:1;min-height:560px;border-radius:var(--radius);background-size:cover;background-position:center;box-shadow:var(--shadow);overflow:hidden}
.hero-section .hero-overlay{display:none}
.button{border-radius:999px;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.button:hover,.text-link:hover{transform:translateY(-2px)}
.button-forest{background:var(--coral)!important;color:#fff!important;box-shadow:0 8px 18px rgba(226,120,92,.25)}
.section-pad{padding:112px 0}
.section-label{color:var(--coral)!important}
.service-item,.trust-item,.portfolio-card,.form-panel,.map-frame{background:var(--white);border:1px solid rgba(47,72,88,.12);border-radius:var(--radius);box-shadow:0 10px 30px rgba(31,41,51,.06);transition:transform .22s ease,box-shadow .22s ease}
.service-item:hover,.trust-item:hover,.portfolio-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.section-forest{background:var(--slate-deep)!important;border-radius:24px;margin:0 auto;width:min(1180px,calc(100% - 28px));color:#fff}
.section-forest h2,.section-forest p,.section-forest .eyebrow{color:#fff!important}
.trust-strip{background:var(--slate)!important;border-radius:24px;margin:22px auto;width:min(1180px,calc(100% - 28px))}
.trust-item{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18);color:#fff}
.portfolio-section{background:var(--sand)!important}.portfolio-card{overflow:hidden}.portfolio-card img{transition:transform .35s ease}.portfolio-card:hover img{transform:scale(1.035)}
.contact-section{background:var(--slate-deep)!important;border-radius:24px;margin:0 auto;width:min(1180px,calc(100% - 28px))}
.form-panel{padding:32px}.form-field input,.form-field textarea{border-radius:12px;border:1px solid var(--line);background:#fff}
.form-field input:focus,.form-field textarea:focus{outline:3px solid rgba(226,120,92,.25);border-color:var(--coral)}
.error-message{color:#b33e2f!important;background:#fff2ef;border-radius:8px;padding:5px 8px}
.fade-in{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}.fade-in.is-visible{opacity:1;transform:none}
@media(max-width:820px){.hero-section .content-width{grid-template-columns:1fr;gap:22px}.hero-section .hero-content{padding:32px}.hero-section .hero-image{grid-column:1;grid-row:1;min-height:400px}.hero-section .hero-content{grid-row:2}.section-pad{padding:76px 0}.section-forest,.trust-strip,.contact-section{border-radius:0;width:100%;margin-left:0;margin-right:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.fade-in{opacity:1;transform:none;transition:none}.button,.service-item,.trust-item,.portfolio-card{transition:none}}
/* Ensure the split hero renders the local cover image in standalone file mode. */
.hero-section .hero-image{background-image:url('../images/hero-cover.jpg')!important;}
@media(max-width:820px){.hero-section .hero-image{display:block!important;min-height:320px!important;}}
/* Final split-hero structure correction: image and copy are sibling grid items. */
.hero-section{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:44px}
.hero-section .hero-image{grid-column:2;grid-row:1;display:block!important;position:relative!important;inset:auto!important;width:100%;min-height:560px;background-image:url('../images/hero-cover.jpg')!important;background-size:cover;background-position:center}
.hero-section .hero-content{grid-column:1;grid-row:1;width:100%;max-width:590px;margin:0 auto;padding:52px}
.hero-section .hero-overlay{display:none!important}
@media(max-width:820px){.hero-section{grid-template-columns:1fr;gap:22px}.hero-section .hero-image{grid-column:1;grid-row:1;min-height:320px}.hero-section .hero-content{grid-column:1;grid-row:2;padding:32px}}
