/* ==========================================================
   Gracewood Manor — site styles
   Colors and fonts come from the brand guide.
   ========================================================== */

:root {
  --pine: #0B2A16;
  --forest: #123F22;
  --forest-line: #3F6A48;
  --gold: #E3A21A;
  --bronze: #8C5E00;
  --cream: #FAF5E8;
  --paper: #FFFDF7;
  --sand: #EFE4C6;
  --sand-line: #D9C99A;
  --ink: #1C2A20;
  --ink-soft: #3A4A3E;
  --muted: #55645A;
  --error: #9B2C1F;

  --serif: Lora, Georgia, 'Times New Roman', serif;
  --caps: Cinzel, Georgia, serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Side margin of every page: about 3% of the screen. Pages use the rest of the width. */
  --gutter: clamp(16px, 3.2vw, 72px);
  --section: clamp(56px, 8vw, 96px);
  --header-h: 126px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--forest); }
a:hover { color: var(--pine); }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--pine); padding: 10px 16px; font-weight: 800; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--caps); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.eyebrow--gold { color: var(--gold); }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; color: var(--forest); text-wrap: balance; }
.statement { font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 2.2vw, 40px); line-height: 1.36; color: var(--forest); text-wrap: pretty; max-width: 34em; }
.statement--sm { font-size: clamp(22px, 2.6vw, 30px); }
.lead { font-size: clamp(18px, 1.4vw, 24px); color: var(--ink-soft); max-width: 36em; }
.body-lg { font-size: clamp(17px, 1.2vw, 21px); line-height: 1.65; color: var(--ink-soft); max-width: 40em; }
.numeral { font-family: var(--caps); font-weight: 700; font-size: 18px; color: var(--bronze); }
.strong { font-weight: 800; }

.textlink { align-self: flex-start; display: inline-block; font-weight: 800; font-size: 17px; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.textlink--light, .textlink--light:hover { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; font: 800 15px/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--green { background: var(--forest); color: var(--paper); }
.btn--green:hover { background: var(--pine); color: var(--paper); }
.btn--gold { background: var(--gold); color: var(--pine); }
.btn--gold:hover { background: #F0B336; color: var(--pine); }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header (sticky) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topstrip { background: var(--pine); color: #F3EBD3; }
.topstrip__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topstrip__type { font-family: var(--caps); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.topstrip__phones { display: flex; gap: 22px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.topstrip__phones a { color: var(--paper); text-decoration: none; }
.topstrip__phones a:hover { color: var(--gold); }

.navbar { background: var(--paper); border-bottom: 2px solid var(--gold); }
.navbar__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.navbar__logo { flex-shrink: 0; display: flex; }
.navbar__logo img { height: 44px; width: auto; }
.navbar__nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); font-weight: 800; font-size: 16px; }
.navbar__nav > a:not(.btn) { text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.navbar__nav > a:not(.btn):hover { border-bottom-color: var(--sand-line); }
.navbar__nav > a.is-active { color: var(--bronze); border-bottom-color: var(--gold); }
.navbar__cta { margin-left: clamp(0px, 1vw, 12px); white-space: nowrap; }
.navbar__toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--forest); background: transparent; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navbar__toggle span { display: block; width: 22px; height: 2px; background: var(--forest); transition: transform .2s, opacity .2s; }
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--ruled { border-top: 1px solid var(--sand-line); }
.section--green { background: var(--forest); color: var(--paper); }
.section--green .h2 { color: var(--paper); }
.section--green .body-lg { color: #E4EADF; }
.section--paper { background: var(--paper); border-top: 1px solid var(--sand-line); }
.section--gallery { padding-bottom: clamp(24px, 4vw, 40px); }
.section--gallery + .section--gallery { padding-top: clamp(24px, 4vw, 40px); padding-bottom: var(--section); }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.stack .eyebrow, .stack-lg .eyebrow { margin-bottom: 0; }
.stack-lg > div > .eyebrow { margin-bottom: 12px; }
.split-label { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.split-label > .eyebrow { padding-top: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head__text { max-width: 440px; font-size: 18px; color: var(--ink-soft); }

/* ---------- Gold-framed photos ---------- */
.framed { position: relative; margin: 0 14px 14px 0; }
.framed::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold); }
.framed img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.framed--flip { margin: 14px 0 0 14px; }
.framed--flip::before { inset: -14px 14px 14px -14px; }

/* ---------- Home: hero ---------- */
.hero { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 7vw, 80px); }
.hero .container { display: flex; flex-direction: column; gap: clamp(24px, 3.4vw, 36px); }
.hero__rule { display: flex; align-items: center; gap: 18px; font-family: var(--caps); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); }
.hero__rule i { flex: 1; height: 1px; background: var(--sand-line); }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 6vw, 112px); line-height: 1.03; letter-spacing: -0.01em; color: var(--forest); text-wrap: balance; }
.hero__title em { color: var(--bronze); }
.filmstrip { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr; gap: 28px; align-items: end; }
.filmstrip__item { display: flex; flex-direction: column; gap: 8px; }
.filmstrip__item--lg .framed { height: clamp(300px, 27vw, 620px); }
.filmstrip__item--md .framed { height: clamp(250px, 22.5vw, 520px); }
.filmstrip__item--sm .framed { height: clamp(200px, 18vw, 420px); }
.filmstrip figcaption { font-family: var(--caps); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding-top: 8px; }

/* ---------- Home: hero in two columns (photos left, slogan right) ---------- */
.hero .container.hero__split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 96px); align-items: center; }
.hero__split .filmstrip { grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(18px, 1.8vw, 32px); align-items: stretch; height: clamp(380px, min(40vw, calc(100vh - 310px)), 760px); }
.hero__split .filmstrip__item { min-height: 0; }
.hero__split .filmstrip__item--lg { grid-column: 1; grid-row: 1 / 3; }
.hero__split .filmstrip__item--md, .hero__split .filmstrip__item--sm { grid-column: 2; }
.hero__split .filmstrip__item .framed { height: auto; flex: 1; min-height: 0; }
.hero__copy { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 30px); }
.hero__split .hero__title { font-size: clamp(36px, 3.7vw, 84px); }
.hero__split .hero__foot { flex-direction: column; align-items: flex-start; gap: clamp(18px, 2vw, 28px); padding-top: 0; }
.hero__split .hero__pause { flex-basis: auto; }
@media (max-width: 900px) {
  .hero .container.hero__split { grid-template-columns: 1fr; }
  .hero__copy { order: -1; }
  .hero__split .filmstrip { height: clamp(320px, 82vw, 620px); }
}

/* ---------- Home: hero motion ----------
   1. On load: the rule draws, the headline rises, the frames wipe open.
   2. After that: the three photos rotate through the frames with a slow zoom.
   People who ask their device for less motion get a still hero (see the end of this file). */
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__line > span { display: block; }
.rotator { position: relative; height: 100%; overflow: hidden; }
.rotator__img { position: absolute !important; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.rotator__img.is-active { opacity: 1; }
.rotator__caps { position: relative; display: block; min-height: 1.6em; }
.rotator__cap { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease; }
.rotator__cap.is-active { opacity: 1; transform: none; }
.hero__pause { background: none; border: 0; padding: 8px 0; font: 700 14px/1 var(--sans); color: var(--muted); text-decoration: underline; cursor: pointer; flex-basis: 100%; text-align: left; min-height: 32px; }
.hero__pause:hover { color: var(--forest); }

@media (prefers-reduced-motion: no-preference) {
  .hero--motion .hero__rule i { transform-origin: left; animation: hero-draw 1s .1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero--motion .hero__rule span { animation: hero-fade .8s .1s both; }
  .hero--motion .hero__line > span { animation: hero-rise 1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero--motion .hero__line:nth-child(1) > span { animation-delay: .15s; }
  .hero--motion .hero__line:nth-child(2) > span { animation-delay: .32s; }
  .hero--motion .filmstrip__item { animation: hero-wipe 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero--motion .filmstrip__item:nth-child(1) { animation-delay: .5s; }
  .hero--motion .filmstrip__item:nth-child(2) { animation-delay: .68s; }
  .hero--motion .filmstrip__item:nth-child(3) { animation-delay: .86s; }
  .hero--motion .framed::before { animation: hero-frame .9s 1.3s both; }
  .hero--motion .hero__foot { animation: hero-up .9s 1.1s both; }
  .hero--motion .rotator__img.is-active { animation: hero-zoom 9s ease-out both; }
}
@keyframes hero-draw { from { transform: scaleX(0); } }
@keyframes hero-fade { from { opacity: 0; } }
@keyframes hero-rise { from { transform: translateY(110%); } }
@keyframes hero-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes hero-wipe { from { clip-path: inset(0 100% 0 0); opacity: .4; } to { clip-path: inset(-20px -20px -20px -20px); opacity: 1; } }
@keyframes hero-frame { from { opacity: 0; transform: translate(-14px, -14px); } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Home: points, media, services ---------- */
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.point { border-top: 2px solid var(--gold); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.point h3 { font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--forest); }
.point p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

.media { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.media--text-first { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.media__photo { height: clamp(260px, 32vw, 640px); }
.ruled-list { font-size: 17px; font-weight: 700; color: #F3EBD3; }
.ruled-list li { padding: 14px 0; border-bottom: 1px solid var(--forest-line); }

.service-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.service-col { border-top: 1px solid var(--sand-line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-col h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--forest); }

/* ---------- Home: "Why Gracewood" cards ---------- */
.why-head { display: flex; flex-direction: column; gap: 14px; max-width: 60em; }
.why-head .eyebrow { margin: 0; }
.why-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); }
.why-card { background: var(--paper); border: 1px solid var(--sand-line); padding: clamp(24px, 2.2vw, 40px); display: flex; flex-direction: column; gap: 12px; box-shadow: 6px 6px 0 var(--sand); transition: transform .2s ease, box-shadow .2s ease; }
.why-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--gold); }
.why-card h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.5vw, 26px); line-height: 1.2; color: var(--forest); margin-top: 6px; }
.why-card p { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.55; color: var(--ink-soft); }
.icon-badge { width: 60px; height: 60px; border-radius: 50%; background: var(--forest); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-badge .icon { width: 28px; height: 28px; }
.icon-badge--gold { background: var(--gold); color: var(--pine); }

/* ---------- Home: "The Home" with the photo on the right ---------- */
.media--photo-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }

/* ---------- Home: "Our Services" ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.svc__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__intro .eyebrow { margin: 0; }
.svc__btn { align-self: flex-start; margin-top: 8px; }
.svc__list { display: flex; flex-direction: column; gap: 14px; }
.svc-card { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 28px); padding: clamp(16px, 1.4vw, 24px) clamp(18px, 1.8vw, 30px); background: var(--cream); border: 1px solid var(--sand-line); text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s; }
.svc-card:hover { background: var(--forest); border-color: var(--forest); transform: translateX(6px); }
.svc-card__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.svc-card__text strong { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.5vw, 26px); line-height: 1.25; color: var(--forest); }
.svc-card__text span { font-size: clamp(15px, 1.05vw, 18px); color: var(--ink-soft); }
.svc-card__arrow { color: var(--bronze); display: flex; }
.svc-card:hover .svc-card__text strong { color: var(--paper); }
.svc-card:hover .svc-card__text span { color: #E4EADF; }
.svc-card:hover .svc-card__arrow { color: var(--gold); }

/* ---------- CTA band ---------- */
.cta { position: relative; color: var(--paper); text-align: center; padding: clamp(64px, 9vw, 128px) 0;
  background: linear-gradient(rgba(11, 42, 22, .88), rgba(11, 42, 22, .88)), url(../img/gallery/inside/01-living-room.jpg) center / cover no-repeat; }
.cta::before { content: ''; position: absolute; inset: clamp(14px, 1.6vw, 24px); border: 1px solid var(--gold); pointer-events: none; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta .eyebrow { margin: 0; }
.cta__title { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 5vw, 80px); line-height: 1.05; }
.cta__text { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6; color: #E4EADF; max-width: 38em; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.btn--light { border-color: var(--paper); color: var(--paper); background: transparent; gap: 10px; }
.btn--light:hover { background: var(--paper); color: var(--pine); }
.btn .icon { width: 20px; height: 20px; }

/* ---------- Inner page band ---------- */
.band { background: var(--forest); color: var(--paper); padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); border-bottom: 6px solid var(--gold); }
.band__title { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 4.6vw, 84px); line-height: 1.05; margin-bottom: 14px; text-wrap: balance; }
.band__text { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: #E4EADF; max-width: 680px; }

/* ---------- About ---------- */
.focus { background: var(--sand); padding: clamp(40px, 5vw, 64px) 0; text-align: center; }
.focus .eyebrow { margin-bottom: 20px; }
.focus__words { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; font-family: var(--serif); font-weight: 600; font-style: italic; font-size: clamp(24px, 3.2vw, 38px); color: var(--forest); }
.focus__words li { display: flex; align-items: center; }
.focus__words li + li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin: 0 clamp(12px, 2vw, 28px); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.pillar { display: flex; flex-direction: column; gap: 12px; }
.pillar__num { display: flex; align-items: center; gap: 12px; font-family: var(--caps); font-weight: 800; font-size: 40px; line-height: 1; color: var(--bronze); }
.pillar__num i { flex: 1; height: 2px; background: var(--gold); }
.pillar h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--forest); }
.pillar p { color: var(--ink-soft); }

.provider { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.provider__photo { height: 360px; }
.provider__monogram { height: 320px; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--caps); font-weight: 700; font-size: 96px; color: var(--gold); }
.provider__role { font-size: 18px; font-weight: 800; color: var(--gold); }

/* ---------- Services ---------- */
.ledger-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.ledger__row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--sand-line); }
.ledger__row:first-child { padding-top: 0; }
.ledger__row:last-child { border-bottom: 0; }
.ledger__title { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.25; color: var(--forest); margin-bottom: 4px; }
.ledger__row p { color: var(--ink-soft); }
.ledger-figure { display: flex; flex-direction: column; gap: 16px; }
.ledger-figure .framed { height: clamp(380px, 34vw, 640px); }
.ledger-figure .framed img { object-position: 35% 50%; }
.ledger-figure figcaption { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--forest); }

.serve { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; }
.serve li { padding: 8px clamp(20px, 3vw, 40px); border-left: 2px solid var(--gold); }
.serve li:first-child { padding-left: 0; border-left: 0; }

.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; counter-reset: step; }
.steps::before { content: ''; position: absolute; left: 32px; right: 10%; top: 31px; border-top: 3px dotted var(--gold); }
.steps__item { position: relative; display: flex; flex-direction: column; gap: 10px; }
.steps__item:nth-child(even) { padding-top: 56px; }
.steps__item:nth-child(even)::before { content: ''; position: absolute; left: 31px; top: 31px; height: 26px; border-left: 3px dotted var(--gold); }
.steps__num { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--forest); border: 3px solid var(--gold); color: var(--paper); font-family: var(--caps); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.steps__item:last-child .steps__num { background: var(--gold); border-color: var(--forest); color: var(--pine); }
.steps__title { font-size: 18px; font-weight: 800; color: var(--forest); }
.steps__text { font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- The Home (gallery) ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 19vw, 400px); gap: 16px; }
.gallery__item { position: relative; overflow: hidden; grid-column: span 4; background: var(--sand); }
.gallery__item a { display: block; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item a:hover img { transform: scale(1.03); }
.gallery__item figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--cream); color: var(--forest); font-family: var(--caps); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 12px; pointer-events: none; }
/* The first photo in each gallery is the big one. */
.gallery__item:first-child { grid-column: span 7; grid-row: span 2; }
.gallery__item:nth-child(2), .gallery__item:nth-child(3) { grid-column: span 5; }
.gallery--1 .gallery__item:first-child { grid-column: 1 / -1; }
.gallery--2 .gallery__item:nth-child(2) { grid-row: span 2; }
/* Four photos: an even two-by-two. Five: one large, two beside it, two below. */
@media (min-width: 901px) {
  .gallery--4 .gallery__item:nth-child(n) { grid-column: span 6; grid-row: span 1; }
  .gallery--4 { grid-auto-rows: clamp(260px, 24vw, 480px); }
  .gallery--5 .gallery__item:nth-child(n+4) { grid-column: span 6; }
  .gallery--5 .gallery__item:nth-child(n+4) { grid-row: span 1; }
}

.features { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); }
.features__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; font-size: 18px; font-weight: 700; color: var(--forest); }
.features__list li { padding: 14px 0; border-bottom: 1px solid var(--sand-line); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__lines { display: flex; flex-direction: column; gap: 16px; font-size: clamp(17px, 1.7vw, 19px); }
.contact__lines li { display: flex; align-items: center; gap: 14px; }
.contact__lines svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--bronze); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__lines a { text-decoration: none; }
.contact__lines a:hover { text-decoration: underline; }
.contact__map { height: clamp(300px, 24vw, 460px); border: 1px solid var(--sand-line); background: var(--sand); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact__provider { display: flex; align-items: center; gap: 18px; padding-top: 22px; border-top: 1px solid var(--sand-line); color: var(--muted); font-size: 15px; }
.contact__provider strong { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--forest); }
.monogram { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--gold); font-family: var(--caps); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }

.letter { background: var(--paper); border: 1px solid var(--sand-line); box-shadow: 10px 10px 0 var(--gold); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; margin-right: 10px; }
.letter__greeting { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(26px, 3vw, 32px); color: var(--forest); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 800; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 0; border-bottom: 2px solid #C9BB92; border-radius: 0; background: transparent; color: var(--ink); font: 400 17px/1.4 var(--sans); padding: 8px 2px; }
.field textarea { border: 1px solid #C9BB92; background: #fff; padding: 10px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 2px 0 var(--forest); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 14px; font-weight: 700; }
.tourbox { background: #F2EAD3; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.check { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; color: var(--forest); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--forest); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; font-size: 16px; border: 2px solid; }
.notice strong { display: block; }
.notice--ok { background: #E9F3E4; border-color: var(--forest); color: var(--pine); }
.notice--error { background: #FBEAE6; border-color: var(--error); color: var(--error); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: #C9D4C4; padding: 56px 0 28px; font-size: 15px; }
/* Extra room on the left of the footer; change the number to taste. */
.site-footer .container { padding-left: calc(var(--gutter) + clamp(16px, 3vw, 64px)); }
.site-footer a { color: #F3EBD3; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: clamp(32px, 5vw, 64px); margin-bottom: 36px; }
/* Logo block: stacked logo, centered, moved in from the left. */
.site-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; width: min(100%, 400px); margin-left: clamp(0px, 5.8vw, 120px); }
.site-footer .logo-badge--stacked { padding: 12px 20px; }
.site-footer .logo-badge--stacked img { height: clamp(72px, 5vw, 96px); }
.logo-badge { display: inline-block; background: var(--cream); border-radius: 10px; padding: 12px 16px; }
.logo-badge img { height: 40px; width: auto; }
.site-footer__tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: #F3EBD3; }
.site-footer__blurb { font-size: 15px; line-height: 1.6; color: #C9D4C4; max-width: 34em; margin-top: -6px; }
.site-footer__nav, .site-footer__contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav { font-weight: 700; }
.site-footer__phones, .site-footer__phones a { color: var(--paper); font-weight: 800; }
.site-footer__legal { border-top: 1px solid #2C4A35; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; }
.site-footer__legal a { color: var(--gold); }

/* ---------- Phone call bar (shown on small screens only) ---------- */
.callbar { display: none; }

/* ==========================================================
   Smaller screens
   ========================================================== */
@media (max-width: 1080px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-label { grid-template-columns: 1fr; gap: 12px; }
  .split-label > .eyebrow { padding-top: 0; }
  .ledger-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .provider, .features { grid-template-columns: 240px minmax(0, 1fr); }
  .provider__monogram { height: 240px; font-size: 72px; }
  .provider__photo { height: 280px; }
}

/* The menu becomes a button below this width, before the links run out of room. */
@media (max-width: 1100px) {
  :root { --header-h: 108px; }
  .navbar__inner { min-height: 68px; }
  .navbar__logo img { height: 36px; }
  .navbar__toggle { display: flex; }
  .navbar__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--gold); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(11, 42, 22, .18); }
  .navbar__nav.is-open { display: flex; }
  .navbar__nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--sand-line); font-size: 18px; }
  .navbar__cta { margin: 16px 0 0; }
  .site-header { position: sticky; }
  .navbar { position: relative; }
}

@media (max-width: 900px) {
  .media, .media--text-first, .media--photo-right, .ledger-wrap, .contact, .provider, .features { grid-template-columns: 1fr; }
  .media--text-first .media__photo { order: -1; }
  .ledger-figure .framed { height: 300px; }
  .pillars { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .svc { grid-template-columns: 1fr; }
  .svc__intro { position: static; }
  .letter { margin-right: 10px; }
  .provider__monogram { height: 160px; width: 160px; font-size: 56px; }
  .provider__photo { height: 320px; max-width: 320px; }

  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps::before { left: 31px; right: auto; top: 32px; bottom: 32px; border-top: 0; border-left: 3px dotted var(--gold); }
  .steps__item, .steps__item:nth-child(even) { padding: 0 0 0 86px; min-height: 64px; justify-content: center; gap: 2px; }
  .steps__item:nth-child(even)::before { display: none; }
  .steps__num { position: absolute; left: 0; top: 0; }

  .gallery { grid-auto-rows: 200px; }
  .gallery__item, .gallery__item:nth-child(2), .gallery__item:nth-child(3) { grid-column: span 6; }
  .gallery__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
}

@media (max-width: 640px) {
  :root { --header-h: 100px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .topstrip__inner { min-height: 32px; justify-content: center; }
  .topstrip__phones { display: none; }
  .topstrip__type { font-size: 10px; letter-spacing: 0.1em; white-space: nowrap; }
  .hero__rule span:last-child { display: none; }
  .filmstrip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .filmstrip__item--lg { grid-column: 1 / -1; }
  .filmstrip__item--lg .framed { height: 230px; }
  .filmstrip__item--md .framed, .filmstrip__item--sm .framed { height: 150px; }
  .btn-row, .btn-row .btn { width: 100%; }
  .points { grid-template-columns: 1fr 1fr; gap: 20px; }
  .service-cols { grid-template-columns: 1fr; gap: 0; }
  .service-col { flex-direction: row; align-items: baseline; gap: 16px; padding: 14px 0; }
  .service-col .numeral { width: 24px; flex-shrink: 0; }
  .service-col h3 { font-size: 20px; }
  .serve { grid-template-columns: 1fr; }
  .serve li, .serve li:first-child { padding: 14px 0 14px 18px; border-left: 2px solid var(--gold); }
  .serve li + li { margin-top: 12px; }
  .focus__words { flex-direction: column; align-items: center; gap: 6px; }
  .focus__words li + li::before { display: none; }
  .features__list, .field-row { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 36px minmax(0, 1fr); }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item, .gallery__item:first-child, .gallery__item:nth-child(2), .gallery__item:nth-child(3) { grid-column: 1 / -1; grid-row: auto; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand { margin-left: 0; align-items: flex-start; text-align: left; width: auto; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .why-cards { grid-template-columns: 1fr; }
  .svc-card__arrow { display: none; }

  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--pine); border-top: 3px solid var(--gold); padding: 12px 16px; }
  .callbar a { min-height: 48px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; text-decoration: none; }
  .callbar__call { border: 2px solid var(--gold); color: var(--paper); }
  .callbar__tour { background: var(--gold); color: var(--pine); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
