/* Elaborate Design Homes · site styles
   Built from the Elaborate Design Homes design system (The Art of Building Well). */

:root {
  --charcoal: #221F20;
  --surface: #F5F5F3;
  --white: #FFFFFF;
  --panel: #E4E4E3;
  --ink: #1C1B1B;
  --text: #2B2929;
  --text-2: #3A3838;
  --muted: #5A5858;
  --ink-dark: #F5F3F0;
  --text-dark: #EDEBE8;
  --text-dark-2: #CFCBC6;
  --muted-dark: #B5B2AE;
  --silver-100: #BBBBBB;
  --silver-200: #B2B2B2;
  --silver-300: #ABABAB;
  --silver-400: #8C8C8C;
  --silver-500: #7C7C7C;
  --silver-600: #5E5B5B;
  --silver-700: #565656;
  --red: #E31B23;
  --red-deep: #C2161D;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --rule-light: linear-gradient(90deg, #7C7C7C, #BBBBBB 50%, #7C7C7C);
  --rule-dark: linear-gradient(90deg, #565656, #B2B2B2 50%, #565656);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 2px solid var(--red-deep); outline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--charcoal); color: var(--text-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--ink-dark); }
.section--dark a { color: var(--ink-dark); }

/* ---------- Signature details ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 12px; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--silver-400); flex: none; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--muted-dark); }
.section--dark .eyebrow::before, .hero .eyebrow::before { background: var(--silver-300); }

.lead-in { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; color: var(--muted); letter-spacing: 0; text-transform: none; margin-bottom: 6px; }
.section--dark .lead-in, .hero .lead-in { color: var(--silver-300); }
.display { font-weight: 200; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: 0.1em; text-transform: uppercase; }
.display--xl { font-size: clamp(40px, 6.2vw, 86px); letter-spacing: 0.12em; line-height: 1.04; }

.diamond { display: flex; align-items: center; gap: 10px; margin: 28px 0; }
.diamond::before, .diamond::after { content: ""; width: 72px; height: 1px; }
.diamond::before { background: linear-gradient(90deg, rgba(172,172,172,0), #ACACAC); }
.diamond::after { background: linear-gradient(90deg, #ACACAC, rgba(172,172,172,0)); }
.diamond span { width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.diamond--center { justify-content: center; }

.rule { height: 1px; border: 0; margin: 0; background: var(--rule-light); }
.section--dark .rule { background: var(--rule-dark); }

.framed { position: relative; }
.framed::before, .framed::after { content: ""; position: absolute; pointer-events: none; z-index: 0; }
.framed::before { inset: 16px; border: 1px solid var(--silver-400); }
.framed::after { inset: 24px; border: 1px solid var(--silver-600); }
.framed > * { position: relative; z-index: 1; }

.intro { max-width: 620px; color: var(--text-2); }
.section--dark .intro { color: var(--text-dark-2); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 48px; }
.head-row .intro { flex: 1 1 340px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--red-deep); color: var(--white); }
.btn--primary:hover { background: #A81219; color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.section--dark .btn--ghost, .hero .btn--ghost { border-color: var(--silver-200); color: var(--ink-dark); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--ink-dark); color: var(--charcoal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Header ---------- */
.topbar { background: var(--charcoal); color: var(--text-dark-2); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: var(--ink-dark); text-decoration: none; }
.topbar__links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header { background: var(--surface); position: sticky; top: 0; z-index: 50; }
.site-header::after { content: ""; display: block; height: 1px; background: var(--rule-light); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav__list a { font-size: 13px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; padding: 10px 0; display: inline-block; }
.nav__list a[aria-current="page"] { color: var(--red-deep); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 12px; }
.menu { display: none; }
.menu > summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__icon { width: 22px; height: 12px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; }
.menu__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--ink); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--silver-100); padding: 12px var(--gutter) 28px; box-shadow: 0 1px 0 var(--silver-100); }
.menu__panel ul { list-style: none; margin: 0 0 18px; padding: 0; }
.menu__panel li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--panel); font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
  .brand img { height: 44px; }
  .topbar__tag { display: none; }
  .topbar__links a:not(:first-child) { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { background: var(--charcoal); color: var(--text-dark); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.hero h1 { color: var(--ink-dark); }
.hero p { color: var(--text-dark-2); font-size: 18px; max-width: 34em; }
.hero__media { border: 1px solid var(--silver-400); aspect-ratio: 4 / 3.2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .wrap { grid-template-columns: 1fr; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.page-hero p { max-width: 40em; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Pillars / credentials ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.pillar { border-top: 2px solid; border-image: var(--rule-light) 1; padding-top: 16px; }
.pillar h3, .pillar__title { margin: 0 0 6px; font-size: 14px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink); }
.pillar p { margin: 0; font-size: 15px; color: var(--text-2); }
.pillar--key { border-top: 1px solid var(--red); border-image: none; padding-top: 17px; }
.pillar--key h3, .pillar--key .pillar__title { color: var(--red-deep); }
.credentials { padding: 48px 0 56px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 36px; }
.service { border-top: 2px solid; border-image: var(--rule-light) 1; padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.service__num { font-weight: 200; font-size: 40px; line-height: 1; color: var(--silver-400); }
.service h3 { font-size: 15px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.service p { margin: 0; font-size: 16px; color: var(--text-2); }

.service-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid; border-image: var(--rule-light) 1; }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail__media { border: 1px solid var(--silver-400); aspect-ratio: 3 / 2; overflow: hidden; }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail--flip .service-detail__media { order: 2; }
.service-detail ul { margin: 16px 0 0; padding: 0; list-style: none; }
.service-detail li { padding: 8px 0 8px 22px; position: relative; color: var(--text-2); }
.service-detail li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; gap: 28px; }
  .service-detail--flip .service-detail__media { order: 0; }
}

/* ---------- Projects ---------- */
.projects { display: grid; gap: 64px; }
.project__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; border-top: 1px solid; border-image: var(--rule-light) 1; padding-top: 14px; margin-top: 16px; }
.project__name { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); }
.project__type { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--muted); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 760px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--silver-400) transparent; }
.gallery figure { margin: 0; scroll-snap-align: start; border: 1px solid var(--silver-400); background: var(--charcoal); aspect-ratio: 3 / 2; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure.is-portrait img { object-fit: contain; }
.gallery-hint { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin: 10px 0 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(180deg, var(--red), var(--silver-300) 55%, #626262); }
.timeline li { display: grid; grid-template-columns: 15px 64px minmax(0, 1fr); gap: 0 24px; padding: 16px 0; align-items: start; }
.timeline__dot { width: 15px; height: 15px; border-radius: 50%; background: var(--red); margin-top: 10px; position: relative; }
.timeline__dot--open { background: var(--charcoal); border: 1px solid #9A9A9A; }
.timeline__num { font-weight: 200; font-size: 34px; line-height: 1; color: var(--silver-300); }
.timeline h3 { font-size: 15px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; margin: 2px 0 4px; }
.timeline p { margin: 0; font-size: 16px; color: #C4C0BB; }
.timeline-key { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; font-size: 14px; color: #C4C0BB; }
.timeline-key span { display: inline-flex; align-items: center; gap: 10px; }
.timeline-key i { width: 11px; height: 11px; border-radius: 50%; background: var(--red); display: inline-block; }
.timeline-key i.open { background: transparent; border: 1px solid #9A9A9A; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .timeline li { grid-template-columns: 15px 44px minmax(0, 1fr); gap: 0 16px; } .timeline__num { font-size: 26px; } }

/* ---------- Awards ---------- */
.awards-panel { background: var(--charcoal); color: var(--text-dark); padding: clamp(48px, 6vw, 72px) clamp(36px, 5vw, 64px); }
.awards-panel h2 { color: var(--ink-dark); }
.awards-panel p { color: var(--text-dark-2); }
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 36px; }
.award { border-top: 1px solid var(--red); padding-top: 16px; }
.award--finalist { border-top-color: var(--silver-400); }
.award__badge { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.3em; color: var(--ink-dark); }
.award__badge::before { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.award--finalist .award__badge { color: var(--text-dark-2); }
.award--finalist .award__badge::before { background: transparent; border: 1px solid var(--silver-300); }
.award__title { margin: 0 0 4px; font-size: 18px; font-weight: 400; line-height: 1.35; color: var(--ink-dark); }
.award__meta { margin: 0; font-family: var(--serif); font-style: italic; font-size: 19px; color: #C4C0BB; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.person__photo { border: 1px solid var(--silver-400); aspect-ratio: 4 / 4.4; overflow: hidden; background: #E9E5DA; margin-bottom: 20px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__photo--bernie { background: linear-gradient(90deg, #A0988D 50%, #E9E5DA 50%); }
.person__photo--bernie img { object-fit: contain; }
.person h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.1; }
.person__role { margin: 4px 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--red-deep); }

/* ---------- Quotes ---------- */
.quote-panel { background: var(--charcoal); color: var(--text-dark); margin: 0 0 28px; padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px); display: flex; gap: 24px; outline: 1px solid var(--silver-500); outline-offset: -10px; }
.quote-panel__mark { font-family: var(--serif); font-size: 120px; line-height: .7; color: var(--red); padding-top: 22px; flex: none; }
.quote-panel blockquote { margin: 0 0 20px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; color: var(--ink-dark); }
.quote-panel figcaption, .quote figcaption { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-dark); }
.quote-panel figcaption strong { color: var(--ink-dark); font-weight: 500; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.quote { margin: 0; background: var(--surface); padding: 30px 34px 34px; border-top: 2px solid; border-image: var(--rule-light) 1; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.section--white .quote { background: var(--surface); }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); }
.quote figcaption { color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-weight: 500; }
@media (max-width: 560px) { .quote-panel { flex-direction: column; gap: 0; } .quote-panel__mark { font-size: 90px; padding-top: 30px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--charcoal); color: var(--text-dark); text-align: center; }
.cta-band .wrap { padding-top: clamp(72px, 9vw, 104px); padding-bottom: clamp(72px, 9vw, 104px); display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { color: var(--ink-dark); }
.cta-band p { color: var(--text-dark-2); max-width: 34em; margin-bottom: 28px; }
.cta-band .lead-in { color: var(--silver-300); }
.cta-band .diamond { margin: 20px 0 24px; }
.cta-band .btn--ghost { border-color: var(--silver-200); color: var(--ink-dark); }
.cta-band .btn--ghost:hover { background: var(--ink-dark); color: var(--charcoal); }
.cta-band .eyebrow { color: var(--muted-dark); }
.cta-band .eyebrow::before { background: var(--silver-300); }

/* ---------- Contact & form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.details { margin: 28px 0 0; padding-top: 28px; border-top: 1px solid; border-image: var(--rule-light) 1; display: grid; gap: 22px; }
.details dt { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 6px 0 0; font-size: 18px; }
.details dd.big { font-size: 26px; font-weight: 200; letter-spacing: 0.06em; }
.details a { text-decoration: none; }

.form { background: var(--white); padding: clamp(28px, 4vw, 52px); position: relative; outline: 1px solid var(--silver-100); outline-offset: -8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 2px; background: var(--red); }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-weight: 300; color: var(--ink); background: var(--white); border: 1px solid var(--silver-400); border-radius: 0; min-height: 50px; padding: 10px 14px; width: 100%; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--red-deep); outline-offset: 1px; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; }
.honeypot { display: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 32px; }
.post-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.post-card__img { border: 1px solid var(--silver-400); aspect-ratio: 3 / 2; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__meta { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); border-top: 1px solid; border-image: var(--rule-light) 1; padding-top: 12px; }
.post-card h2, .post-card h3 { font-size: 20px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; }
.post-card:hover h2, .post-card:hover h3 { color: var(--red-deep); }
.post-card p { margin: 0; color: var(--text-2); font-size: 16px; }

.article { max-width: 720px; margin: 0 auto; }
.article__meta { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-dark); margin-top: 18px; }
.article__hero { max-width: 1040px; margin: 0 auto; border: 1px solid var(--silver-400); aspect-ratio: 16 / 9; overflow: hidden; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 18px; color: var(--text); }
.prose h2 { font-weight: 200; font-size: clamp(24px, 3vw, 32px); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; margin: 48px 0 16px; }
.prose h3 { font-size: 15px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin: 32px 0 10px; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 36px 0; padding: 26px 30px; background: var(--charcoal); color: var(--ink-dark); font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.3; outline: 1px solid var(--silver-500); outline-offset: -8px; }
.prose .callout { background: var(--panel); padding: 24px 28px; position: relative; margin: 32px 0; }
.prose .callout::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 2px; background: var(--red); }
.prose .callout p:last-child { margin: 0; }
.breadcrumb { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 22px; }
.breadcrumb a { color: var(--text-dark-2); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--text-dark); padding: 24px 0 28px; }
.site-footer .framed { padding: 64px clamp(28px, 4vw, 48px) 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; }
.footer-grid img { width: 230px; }
.footer-grid p { color: var(--text-dark-2); font-size: 16px; max-width: 26em; }
.footer-grid .diamond { margin: 20px 0; }
.footer-grid .diamond::before, .footer-grid .diamond::after { width: 48px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-nav a, .footer-social a { color: var(--text-dark); text-decoration: none; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; display: inline-block; padding: 8px 0; }
.footer-contact { display: grid; gap: 8px; font-size: 16px; color: var(--text-dark-2); font-style: normal; }
.footer-contact a { color: var(--text-dark); text-decoration: none; }
.footer-contact .big { font-size: 22px; font-weight: 200; letter-spacing: 0.06em; color: var(--ink-dark); }
.footer-social { display: flex; gap: 22px; margin-top: 6px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid; border-image: var(--rule-dark) 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-dark); }
.site-footer a:hover { color: var(--white); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-48 { margin-top: 48px; }
.mt-32 { margin-top: 32px; }
.stack-24 > * + * { margin-top: 24px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.media-frame { border: 1px solid var(--silver-400); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
