/* ================================================================
   SAMUEL ADAMS & COMPANY — EDITORIAL v3
   "Like opening a first edition of an architecture monograph"
   ================================================================ */

:root {
  --green: #083220;
  --brown: #592720;
  --cream: #FAF6EE;
  --parchment: #EFEAE2;
  --warm: #F5F0E8;
  --antique: #FFEFDC;
  --text: #2A2118;
  --text-mid: #4A4038;
  --text-light: #534A40;
  --rule: #C8BFA8;
  --rule-light: #DDD6C8;
  --gold: #B8860B;
  --font-d: 'Cormorant Garamond', 'Georgia', serif;
  --font-b: 'Proza Libre', 'Helvetica Neue', sans-serif;
  color-scheme: light only;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light only; }

body {
  font-family: var(--font-b);
  font-size: clamp(0.94rem, 0.88rem + 0.28vw, 1.05rem);
  line-height: 1.78;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Paper texture */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.6;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--brown); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--green); }
::selection { background: rgba(89,39,32,0.1); }
p { max-width: 56ch; }
p + p { margin-top: 1.15em; }

h2 {
  font-family: var(--font-d);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  font-weight: 400; color: var(--green);
  line-height: 1.06; letter-spacing: -0.025em;
}
h3 {
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 500; color: var(--green); line-height: 1.18;
}
h4 {
  font-family: var(--font-d);
  font-size: 1.25rem; font-weight: 600; color: var(--green);
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
.skip-link {
  position: absolute; left: -9999px; top: 1rem; z-index: 10000;
  background: var(--green); color: var(--cream);
  padding: 0.75rem 1.5rem; font-size: 0.85rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ================================================================
   DARK MODE PREVENTION — explicit backgrounds everywhere
   ================================================================ */
@media (prefers-color-scheme: dark) {
  :root { background-color: var(--cream); color: var(--text); }
  body { background-color: var(--cream); color: var(--text); }
}

.bg-cream { background-color: var(--cream) !important; }
.bg-parchment { background-color: var(--parchment) !important; }
.bg-warm { background-color: var(--warm) !important; }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background-color: rgba(250,246,238,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 clamp(2rem, 6vw, 8rem);
  height: 96px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-rule {
  position: absolute; bottom: 0; left: clamp(1.5rem,5vw,5rem); right: clamp(1.5rem,5vw,5rem);
  height: 1px; background-color: var(--rule-light);
}
.nav-logo img { height: 80px; width: auto; }
.nav-links { display: none; gap: 1.75rem; }
.nav-links a {
  font-family: var(--font-b); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-light);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }

/* Hamburger */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; width: 48px; height: 48px; gap: 5px;
  background: none; border: none; cursor: pointer; z-index: 1002;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background-color: var(--green);
  transition: transform 0.3s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mob-overlay {
  display: none; position: fixed; inset: 0;
  background-color: rgba(8,50,32,0.3); z-index: 998;
}
.mob-overlay.open { display: block; }
.mob-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(240px, 70vw);
  background-color: var(--cream);
  z-index: 1001; transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
}
.mob-nav.open { transform: translateX(0); }
.mob-nav a {
  display: block; font-size: 0.95rem; font-weight: 500;
  color: var(--text); padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule-light);
}
.mob-nav a.active { color: var(--brown); }
.mob-nav-contact { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule-light); }
.mob-nav-contact a { border-bottom: none; font-size: 0.85rem; color: var(--text-light); padding: 0.35rem 0; }

/* Nav is always hamburger — no desktop breakpoint */

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-columns: 1fr;
  padding-top: 96px;
  background-color: var(--cream);
}
.hero-text {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  background-color: var(--cream);
  position: relative;
}
.hero-text-inner {
  max-width: 480px; position: relative;
}
.hero-text-inner::before, .hero-text-inner::after {
  content: ''; position: absolute; width: 36px; height: 36px;
  border-style: solid; border-color: var(--rule);
}
.hero-text-inner::before { top: -1.5rem; left: -1.5rem; border-width: 1px 0 0 1px; }
.hero-text-inner::after { bottom: -1.5rem; right: -1.5rem; border-width: 0 1px 1px 0; }

.hero-est {
  font-family: var(--font-b); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.4em;
  color: var(--brown); margin-bottom: 2rem;
}
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  font-weight: 400; line-height: 1.02;
  color: var(--green); letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-flourish {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem;
}
.hero-flourish::before, .hero-flourish::after {
  content: ''; width: 32px; height: 1px; background-color: var(--rule);
}
.hero-flourish span {
  font-family: var(--font-d); font-size: 1.1rem;
  color: var(--brown); opacity: 0.35; line-height: 1;
}
.hero-sub {
  font-family: var(--font-d);
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem);
  font-weight: 400; font-style: italic;
  color: var(--text-light); line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-mhic {
  margin-top: 3rem;
  font-size: 0.78rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--rule);
}
.hero-image {
  position: relative; overflow: hidden;
  background-color: var(--parchment);
  min-height: 50vh;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  filter: saturate(0.85) contrast(1.02);
}
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(42,33,24,0.15) 100%);
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-image { min-height: auto; }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  font-family: var(--font-b); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  padding: 0.85rem 2rem; border: none; cursor: pointer;
  transition: all 0.35s; display: inline-block;
  min-height: 48px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary { background-color: var(--brown); color: var(--cream); }
.btn-primary:hover { background-color: #3A1712; color: var(--cream); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(60,45,30,0.12); }
.btn-secondary { background-color: transparent; color: var(--green); border: 1px solid var(--rule); }
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-full { width: 100%; }
.btn-text {
  background: none; color: var(--brown); padding: 0;
  font-family: var(--font-b); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  border: none; border-bottom: 1px solid var(--rule-light);
  padding-bottom: 0.25rem; cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  display: inline-block; margin-top: 2rem;
}
.btn-text:hover { border-color: var(--brown); }

/* ================================================================
   ORNAMENTS & RULES
   ================================================================ */
.ornament { text-align: center; padding: 2.5rem 0; background-color: var(--cream); }
.ornament img { width: 80px; height: 80px; opacity: 0.3; margin: 0 auto; }
.rule { max-width: 1200px; margin: 0 auto; border: none; border-top: 1px solid var(--rule-light); background-color: transparent; }

/* ================================================================
   LAYOUT
   ================================================================ */
.section { padding: clamp(4rem, 9vw, 10rem) 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.section-label {
  font-family: var(--font-b); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.35em;
  color: var(--brown); display: block; margin-bottom: 1rem;
}
.tagline {
  font-family: var(--font-d); font-style: italic; font-weight: 400;
  color: var(--text-light); font-size: 1.1rem;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-title { margin-bottom: 1rem; text-align: center; }

.service-spread {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; padding: clamp(2.5rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--rule-light);
}
@media (min-width: 900px) {
  .service-spread { grid-template-columns: 1fr 1fr; gap: 0; }
  .service-spread-reverse .service-photo { order: -1; }
}
.service-photo {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  background-color: var(--parchment);
}
.service-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.8) contrast(1.03);
  transition: transform 6s ease;
}
.service-spread:hover .service-photo img { transform: scale(1.03); }
.service-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(42,33,24,0.04), rgba(42,33,24,0.1));
  pointer-events: none;
}
.service-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.5rem, 3vw, 3.5rem);
  position: relative; background-color: var(--cream);
}
.service-numeral {
  font-family: var(--font-d);
  font-size: clamp(8rem, 5rem + 12vw, 16rem);
  font-weight: 400; line-height: 1;
  color: var(--green); opacity: 0.05;
  position: absolute; top: -0.1em; left: clamp(0rem, 1vw, 1rem);
  pointer-events: none;
}
.service-text h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  margin-bottom: 0.75rem; position: relative; z-index: 1;
}
.service-text p {
  color: var(--text-mid); font-size: 0.9rem; line-height: 1.85;
  position: relative; z-index: 1;
}

/* ================================================================
   QUOTE BAND
   ================================================================ */
.quote-band {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  text-align: center;
  background-color: var(--parchment);
}
.quote-band blockquote {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 0.9rem + 2.2vw, 2.6rem);
  font-weight: 400; font-style: italic;
  color: var(--green); line-height: 1.25;
  max-width: 20ch; margin: 0 auto;
}
.quote-band cite {
  display: block; margin-top: 1.5rem;
  font-family: var(--font-b); font-style: normal;
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--brown);
}

/* ================================================================
   PROCESS
   ================================================================ */
.process-header {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem;
}
.process-header h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.process-intro { color: var(--text-light); font-size: 0.9rem; }

@media (min-width: 768px) {
  .process-header { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
}
.process-table {
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
}
.process-row {
  display: grid; grid-template-columns: 1fr; gap: 0.35rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule-light);
  transition: background-color 0.3s;
}
.process-row:last-child { border-bottom: none; }
.process-row:hover { background-color: rgba(8,50,32,0.015); }
@media (min-width: 768px) {
  .process-row { grid-template-columns: 70px 180px 1fr; gap: 2.5rem; align-items: baseline; padding: 1.5rem 0; }
}
.phase-num { font-family: var(--font-d); font-size: 0.9rem; font-weight: 600; color: var(--brown); }
.phase-name { font-family: var(--font-d); font-size: 1.3rem; font-weight: 500; color: var(--green); }
.phase-desc { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; }
.phase-wk {
  display: block; font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--text-light); opacity: 0.4; margin-top: 0.15rem;
}

/* ================================================================
   WARRANTY
   ================================================================ */
.warranty-layout {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .warranty-layout { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.warranty-image {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  background-color: var(--parchment);
}
.warranty-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.warranty-image::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(42,33,24,0.12) 100%);
  pointer-events: none;
}
.warranty-content h2 { margin-bottom: 0.5rem; }
.warranty-tagline { margin: 0.5rem 0 2.5rem; }

.tier { padding: 1.5rem 2rem; margin-bottom: 2px; }
.tier h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.tier p { font-size: 0.9rem; line-height: 1.7; }
.tier-label {
  font-family: var(--font-b); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3em;
  display: block; margin-bottom: 0.5rem;
}
.t1 { background-color: var(--green); color: var(--cream); }
.t1 h3 { color: var(--cream); }
.t1 .tier-label { color: var(--gold); }
.t1 p { color: rgba(253,248,240,0.7); }
.t2 { background-color: rgba(8,50,32,0.04); }
.t2 .tier-label { color: var(--brown); }
.t3 { border: 1px solid var(--rule-light); background-color: var(--cream); }
.t3 .tier-label { color: var(--brown); }

/* ================================================================
   PORTFOLIO
   ================================================================ */
.portfolio-title { margin-bottom: 2.5rem; }
.folio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
@media (min-width: 900px) {
  .folio-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.folio-item {
  position: relative; overflow: hidden; aspect-ratio: 1;
  background-color: var(--parchment); display: block;
}
a.folio-item { color: inherit; text-decoration: none; }
.folio-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
  transition: transform 4s ease, filter 0.6s;
}
.folio-item:hover img { transform: scale(1.05); filter: saturate(0.9) contrast(1.05); }
.folio-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(8,50,32,0.75) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.folio-item:hover .folio-caption { transform: translateY(0); }
.folio-caption h3 { font-size: 0.95rem; color: var(--cream); margin-bottom: 0.1rem; }
.folio-caption span { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(253,248,240,0.6); }
.portfolio-note {
  text-align: center; margin: 2rem auto 0;
  font-size: 0.9rem; color: var(--text-light);
  font-family: var(--font-d);

/* ================================================================
   REVIEWS
   ================================================================ */
}
.review-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .review-grid { grid-template-columns: 1fr 1fr 1fr; } }
.review-card {
  background: var(--cream); border-radius: 6px;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--rule-light);
}
.review-stars {
  color: #D4A017; font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.review-text {
  font-family: var(--font-d); font-size: 1.05rem; line-height: 1.65;
  font-style: italic; color: var(--text); max-width: none;
}
.review-author {
  margin-top: 1.25rem; font-weight: 600; color: var(--green);
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.review-source {
  font-size: 0.72rem; color: var(--text-light); letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 0.15rem;
}

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(8,50,32,0.92); display: none;
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 92vw; max-height: 90vh;
  object-fit: contain; border-radius: 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--cream);
  font-size: 2.5rem; cursor: pointer; line-height: 1;
  opacity: 0.7; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
}
.portfolio-note .btn-text { margin-top: 0; margin-left: 0.5rem; }

/* ================================================================
   ABOUT
   ================================================================ */
.about-title { margin-bottom: 3rem; }
.about-feature {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .about-feature { grid-template-columns: 1.2fr 0.85fr; gap: 5rem; }
}
.drop-cap::first-letter {
  font-family: var(--font-d); font-size: 4.5em; font-weight: 400;
  float: left; line-height: 0.72; margin-right: 0.08em; margin-top: 0.06em;
  color: var(--green);
}
.pull-quote {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  font-weight: 400; font-style: italic;
  color: var(--green); line-height: 1.3;
  margin: 2rem 0; padding-left: 1.75rem;
  border-left: 2px solid var(--brown);
}
.about-portrait { }
.about-portrait img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}
.about-portrait figcaption {
  margin-top: 1rem; font-family: var(--font-d);
  font-size: 1.05rem; font-weight: 500; color: var(--green);
}
.about-portrait .role {
  font-family: var(--font-b); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--text-light); margin-top: 0.2rem;
}

.pillars {
  display: grid; grid-template-columns: 1fr;
  border-top: 2px solid var(--green); margin-top: 4rem;
}
@media (min-width: 768px) { .pillars { grid-template-columns: 1fr 1fr 1fr; } }
.pillar {
  padding: 2rem;
  border-bottom: 1px solid var(--rule-light);
  border-right: 1px solid var(--rule-light);
  background-color: var(--cream);
}
.pillar h4 { margin-bottom: 0.75rem; }
.pillar p { font-size: 0.92rem; color: var(--text-light); line-height: 1.78; }

/* ================================================================
   RESOURCES
   ================================================================ */
.toc { border-top: 2px solid var(--green); margin-top: 3rem; }
.toc-row {
  display: grid; grid-template-columns: 1fr; gap: 0.35rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule-light);
  transition: padding-left 0.3s;
}
@media (min-width: 768px) {
  .toc-row { grid-template-columns: 80px 1fr auto; align-items: baseline; gap: 2rem; }
}
.toc-row:hover { padding-left: 0.5rem; }
.toc-cat {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3em; color: var(--brown);
}
.toc-row h3 { font-size: 1.2rem; }
.toc-row h3 a { color: var(--green); transition: color 0.3s; }
.toc-row h3 a:hover { color: var(--brown); }
.toc-row p { font-size: 0.88rem; color: var(--text-light); margin-top: 0.2rem; }
.toc-arr {
  font-family: var(--font-d); font-size: 1.1rem; color: var(--rule);
  transition: color 0.3s, transform 0.3s; display: none;
}
@media (min-width: 768px) { .toc-arr { display: block; } }
.toc-row:hover .toc-arr { color: var(--brown); transform: translateX(3px); }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-header { text-align: center; margin-bottom: 1.5rem; }
.contact-header p { margin-left: auto; margin-right: auto; }
.contact-header + div { margin-bottom: 0; }
/* CTA sections at end of pages — less padding than content sections */
.section:last-of-type { padding: clamp(3rem, 6vw, 5rem) 0; }
.contact-split { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .contact-split { grid-template-columns: 1fr 280px; } }

.fg { margin-bottom: 1.25rem; }
.fl {
  display: block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--text-light); margin-bottom: 0.35rem;
}
.fi, .fs {
  width: 100%; padding: 0.7rem 0;
  border: none; border-bottom: 1px solid var(--rule-light);
  background-color: transparent;
  font-family: var(--font-b); font-size: 0.95rem; color: var(--text);
  transition: border-color 0.2s;
}
.fi:focus, .fs:focus { outline: none; border-bottom-color: var(--brown); box-shadow: 0 2px 0 0 var(--brown); }
.fs {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5' stroke='%236B6258' fill='none' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center;
  padding-right: 1.5rem;
}
.ft {
  width: 100%; min-height: 100px; resize: vertical;
  border: 1px solid var(--rule-light); padding: 0.75rem;
  font-family: var(--font-b); font-size: 0.95rem; color: var(--text);
  background-color: transparent;
}
.ft:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 2px rgba(89,39,32,0.2); }
.fassure {
  text-align: center; font-size: 0.7rem;
  color: var(--text-light); margin-top: 1rem;
}

.contact-info {
  border-left: 1px solid var(--rule-light);
  padding-left: 2.5rem; height: fit-content;
}
.contact-info h3 { font-family: var(--font-d); font-size: 1.3rem; color: var(--green); margin-bottom: 1.5rem; }
.contact-info p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 0.5rem; line-height: 1.7; }
.contact-info p strong { color: var(--green); }
.contact-info a { color: var(--brown); }
.contact-neighborhoods {
  margin-top: 1.5rem; font-family: var(--font-d);
  font-size: 0.88rem; color: var(--rule);
}
.contact-mhic {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--rule); margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .contact-info {
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--rule-light); padding-top: 2rem;
  }
}

.form-success { display: none; text-align: center; padding: 3rem 0; }
.form-success h3 { font-family: var(--font-d); color: var(--green); margin-bottom: 0.75rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background-color: var(--green); color: var(--cream);
  padding: clamp(4rem, 7vw, 7rem) 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 0.8fr 1.5fr; } }
.footer p, .footer a { font-size: 0.88rem; color: rgba(253,248,240,0.5); line-height: 1.8; }
.footer a:hover { color: var(--cream); }
.footer-brand-name { font-size: 0.92rem; color: rgba(253,248,240,0.7); margin-bottom: 0.75rem; }
.footer-mhic {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.3em; color: rgba(253,248,240,0.35); margin-top: 1.5rem;
}
.fh {
  font-family: var(--font-b); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.35em;
  color: rgba(253,248,240,0.45); margin-bottom: 1rem;
}
.footer-links a { display: block; padding: 0.18rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(253,248,240,0.15);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.footer-cr { font-size: 0.78rem; color: rgba(253,248,240,0.4); }
.footer-v {
  font-family: var(--font-d); font-style: italic;
  font-size: 0.72rem; color: rgba(253,248,240,0.35);
  max-width: 48ch; text-align: right;
}
.nbhd { columns: 3; column-gap: 1rem; }
.nbhd span { display: block; font-size: 0.82rem; color: rgba(253,248,240,0.5); padding: 0.1rem 0; }

/* ================================================================
   PRINT
   ================================================================ */
@media print {
  body::after { display: none; }
  .nav, .footer, .ornament, .mob-nav, .mob-overlay { display: none !important; }
  body { background: white; color: black; font-size: 12pt; }
  .hero { min-height: auto; }
  .hero-image { display: none; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   ARTICLE PAGES
   ================================================================ */
.article-hero {
  background-color: var(--parchment);
  padding: calc(96px + clamp(4rem,9vw,10rem)) 0 clamp(3rem,5vw,5rem);
  text-align: center;
}
.article-hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  font-weight: 400; color: var(--green);
  line-height: 1.1; letter-spacing: -0.02em;
  max-width: 18ch; margin: 0 auto 1.25rem;
}
.article-meta {
  display: flex; justify-content: center; gap: 2rem;
  font-size: 0.88rem; color: var(--text-light);
}
.article-body {
  padding: clamp(3rem,6vw,6rem) 0;
  background-color: var(--cream);
}
.article-body .container {
  max-width: 680px;
}
.article-body p {
  font-size: 1rem; line-height: 1.85;
  margin-bottom: 1.25em;
  color: var(--text-mid);
}
.article-body h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  margin-top: 2.5em; margin-bottom: 0.75em;
}
.article-body h3 {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  margin-top: 2em; margin-bottom: 0.5em;
}
.article-body blockquote {
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 400; font-style: italic;
  color: var(--green); line-height: 1.5;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 3px solid var(--brown);
  background-color: var(--antique);
  margin: 2em 0; max-width: 56ch;
}
.article-body strong { color: var(--green); }
.article-back {
  display: inline-block; font-size: 0.88rem; font-weight: 500;
  color: var(--brown); margin-bottom: 2.5rem;
}
.article-cta {
  text-align: center; padding: 3rem 2rem;
  border: 1px solid var(--rule-light); margin-top: 3rem;
  background-color: var(--cream);
}
.article-cta h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.article-cta p { margin: 0 auto 1.5rem; color: var(--text-light); }
.related {
  padding: clamp(4rem,7vw,7rem) 0;
  background-color: var(--parchment);
}

/* ================================================================
   PAGE HERO (subpages)
   ================================================================ */
.page-hero {
  padding: calc(96px + clamp(4rem, 8vw, 8rem)) 0 clamp(3rem, 5vw, 5rem);
  text-align: center;
  background-color: var(--parchment);
}
.page-hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 2rem + 3vw, 4rem);
  font-weight: 400; color: var(--green);
  line-height: 1.06; letter-spacing: -0.02em;
  max-width: 16ch; margin: 0 auto 0.75rem;
}
.page-hero .tagline {
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.15rem);
  max-width: 42ch; margin: 0 auto;
}

/* ================================================================
   ARTICLE PAGES
   ================================================================ */
.article-hero {
  padding: calc(96px + clamp(4rem, 8vw, 8rem)) 0 clamp(3rem, 5vw, 5rem);
  text-align: center;
  background-color: var(--parchment);
}
.article-hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  font-weight: 400; color: var(--green);
  line-height: 1.08; max-width: 20ch;
  margin: 0 auto 1rem;
}
.article-meta {
  display: flex; justify-content: center; gap: 1.5rem;
  font-size: 0.88rem; color: var(--text-light);
}
.article-body {
  padding: clamp(3rem, 6vw, 6rem) 0;
  background-color: var(--cream);
}
.article-body .container {
  max-width: 680px;
}
.article-body p {
  font-size: 1rem; line-height: 1.85;
  margin-bottom: 1.25em;
  color: var(--text-mid);
}
.article-body h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  margin: 2.5em 0 0.75em;
}
.article-body h3 {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  margin: 2em 0 0.5em;
}
.article-body blockquote {
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 400; font-style: italic;
  color: var(--green); line-height: 1.45;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 2px solid var(--brown);
  background-color: var(--antique);
  margin: 2em 0; max-width: 56ch;
}
.article-body strong { color: var(--green); }
.article-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--brown); margin-bottom: 2.5rem;
}

.article-cta {
  text-align: center; padding: 3rem 2rem;
  border: 1px solid var(--rule-light);
  margin-top: 3rem; background-color: var(--cream);
}
.article-cta h2 { margin-bottom: 0.5rem; font-size: 1.75rem; }
.article-cta p { margin: 0 auto 1.5rem; color: var(--text-light); }

.related-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background-color: var(--parchment);
}
.related-section h2 { text-align: center; margin-bottom: 2.5rem; }
