/* New Amberden Hall — site stylesheet (v2)
   Cream ground, deep green, warm gold. Cormorant Garamond display, Jost text. */
:root {
  --cream: #f6f2ea;
  --cream-deep: #efe9dd;
  --cream-hover: #e8e1d2;
  --paper: #fdfbf6;
  --ink: #1b2620;
  --body: #3a4540;
  --muted: #6b726d;
  --green: #1f3d2b;
  --green-deep: #172f21;
  --green-scrim: 16, 30, 22;
  --gold: #8a7247;
  --gold-light: #cdbb90;
  --rule: #ddd5c5;
  --rule-strong: #b7ad9a;
  --tile: #e2dbcc;
  --on-dark: #ece6d8;
  --on-dark-muted: #cfc8b8;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --wide: 1320px;
  --text: 640px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.7;
  font-variant-numeric: lining-nums; text-wrap: pretty; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; letter-spacing: -0.005em; }
p { margin: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--cream); padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow { display: block; font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; color: var(--gold); line-height: 1.4; }
.eyebrow--light { color: var(--gold-light); }
.h-display { font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; }
.h-1 { font-weight: 300; font-size: clamp(40px, 5vw, 68px); line-height: 1.06; }
.h-2 { font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; }
.h-3 { font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.18; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; color: var(--body); }
.copy { color: var(--body); }
.stack > * + * { margin-top: 1.1em; }
.italic-note { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; color: var(--green); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.container { max-width: var(--wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section--sm { padding: clamp(56px, 7vw, 88px) 0; }
.section--flush-top { padding-top: 0; }
.band--green { background: var(--green); color: var(--cream); }
.band--green .copy, .band--green .lede { color: var(--on-dark); }
.band--deep { background: var(--cream-deep); }

/* Two-column editorial intro: statement left, text right. */
.editorial { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.editorial__head .eyebrow { margin-bottom: 22px; }
.editorial__body { max-width: var(--text); padding-top: 6px; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(246, 242, 234, 0.96); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--rule); }
.site-header__inner { max-width: var(--wide); margin: 0 auto; height: var(--header-h); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { text-decoration: none; color: var(--green); display: flex; flex-direction: column; gap: 3px; justify-self: start; }
.wordmark:hover { color: var(--green); }
.wordmark__name { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.wordmark__sub { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; color: var(--gold); white-space: nowrap; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); margin: 0; padding: 0; list-style: none; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav__extra { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--green); color: var(--green); font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; padding: 12px 14px; cursor: pointer; }
.menu-toggle__bars { display: inline-block; width: 14px; height: 8px; margin-right: 8px; vertical-align: -1px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .wordmark__name { font-size: 23px; }
  .wordmark__sub { font-size: 8.5px; letter-spacing: 0.26em; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-actions .btn { display: none; }
  .site-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--green); padding: 40px var(--gutter) 48px; display: flex; flex-direction: column; justify-content: space-between; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; }
  .site-nav[data-open] { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav { flex-direction: column; gap: 0; text-transform: none; letter-spacing: 0; font: 300 38px/1.15 var(--serif); }
  .nav a { color: var(--cream); display: block; padding: 12px 0; border-bottom: 1px solid rgba(246, 242, 234, 0.14); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold-light); }
  .nav__extra { display: block; color: var(--on-dark-muted); font-size: 15px; line-height: 1.8; margin-top: 32px; }
  .nav__extra p a { color: var(--cream); }
  .nav__extra .btn { margin-right: 8px; }
  .nav__extra .btn { margin-top: 20px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 30px; text-decoration: none; cursor: pointer; font: 500 11.5px/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.btn--sm { padding: 12px 18px; }
.btn--green { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn--green:hover { background: var(--green-deep); color: var(--cream); }
.btn--green-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--green-outline:hover { background: var(--green); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--green); border-color: var(--cream); }
.btn--cream:hover { background: #fff; color: var(--green); }
.btn--cream-outline { background: transparent; color: var(--cream); border-color: rgba(246, 242, 234, 0.7); }
.btn--cream-outline:hover { background: var(--cream); color: var(--green); border-color: var(--cream); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--green); padding-bottom: 6px; border-bottom: 1px solid var(--gold-light); }
.link-arrow::after { content: '→'; font-size: 14px; letter-spacing: 0; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--green); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--cream); }
.link-arrow--light:hover { color: var(--cream); }

/* ---------- Heroes (text over photo) ---------- */
.hero { position: relative; overflow: hidden; background: var(--green); color: var(--cream); display: flex; }
.hero__media, .hero__media img, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; }
.hero__content { position: relative; width: 100%; }
.hero .eyebrow { color: var(--cream); opacity: .92; margin-bottom: 18px; }

.hero--home { height: calc(100svh - var(--header-h)); min-height: 560px; max-height: 940px; align-items: flex-end; }
.hero--home .hero__scrim { background: linear-gradient(90deg, rgba(var(--green-scrim), .45) 0%, rgba(var(--green-scrim), 0) 62%), linear-gradient(0deg, rgba(var(--green-scrim), .8) 0%, rgba(var(--green-scrim), .38) 45%, rgba(var(--green-scrim), .1) 75%); }
.hero--home .hero__content { padding-bottom: clamp(48px, 8vh, 96px); }
.hero--home h1 { max-width: 19ch; }
.hero--home .lede { color: var(--on-dark); max-width: 44ch; margin-top: 22px; }
.hero--home .btn-row { margin-top: 36px; }
@media (max-width: 640px) { .hero--home { height: calc(100svh - var(--header-h) - 64px); min-height: 520px; } .hero--home .lede { display: none; } }

.hero--confetti { height: clamp(380px, calc(100svh - var(--header-h) - 170px), 820px); align-items: flex-end; justify-content: center; text-align: center; }
.hero--confetti picture img { object-position: center 45%; opacity: .92; }
.hero--confetti .hero__scrim { background: linear-gradient(180deg, rgba(var(--green-scrim), 0) 35%, rgba(var(--green-scrim), .55) 100%); }
.hero--confetti .hero__content { padding-bottom: clamp(40px, 7vh, 80px); }
.hero--confetti h1 { font-size: clamp(56px, 8vw, 112px); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero--confetti .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.4); }
@media (max-width: 700px) { .hero--confetti { height: clamp(360px, calc(100svh - 260px), 620px); } }

/* ---------- Page header (inner pages): title on cream, wide photo beneath ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-head__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-head .eyebrow { margin-bottom: 22px; }
.page-head .lede { max-width: 46ch; }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; gap: 20px; } }
.page-band { position: relative; height: clamp(300px, 58vw, 720px); max-height: 78svh; overflow: hidden; background: var(--tile); }
.page-band img { width: 100%; height: 100%; object-fit: cover; }
.page-band--contained { max-width: var(--wide); margin: 0 auto; }
/* Inset photo: sits within the text width, page background showing as a border around it. */
.page-band--inset { height: clamp(240px, 46vw, 620px); }

/* ---------- Home cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; gap: 56px; } }
.card { text-decoration: none; color: inherit; display: grid; gap: 22px; align-content: start; }
.card:hover { color: inherit; }
.card__image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__image img { transform: scale(1.04); }
.card__num { font: 500 11px/1 var(--sans); letter-spacing: .3em; color: var(--gold); margin-bottom: 12px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--body); }
.card .link-arrow { margin-top: 18px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); flex-wrap: wrap; }
.section-head .eyebrow { margin-bottom: 16px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(64px, 8vw, 100px) 0; }
.stat { text-align: center; padding: 8px 16px; }
.stat + .stat { border-left: 1px solid rgba(246, 242, 234, .16); }
.stat__value { font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 5.4vw, 76px); line-height: 1; margin-bottom: 14px; font-variant-numeric: lining-nums; }
.stat__label { font: 500 11px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 44px; } .stat:nth-child(3) { border-left: 0; } }

/* ---------- Photo strip (home) ---------- */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.strip a { aspect-ratio: 3 / 4; overflow: hidden; background: var(--tile); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__text { max-width: 560px; }
.split__text .eyebrow { margin-bottom: 20px; }
.split__text h2 { margin-bottom: 26px; }
.split__media { overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.split__media--land { aspect-ratio: 5 / 4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split__media, .split--reverse .split__media { order: -1; aspect-ratio: 4 / 3; } }

/* ---------- Spec list ---------- */
.spec { margin: 36px 0 0; display: grid; grid-template-columns: max-content 1fr; font-size: 16px; line-height: 1.6; border-bottom: 1px solid var(--rule); }
.spec dt, .spec dd { padding: 15px 0; border-top: 1px solid var(--rule); margin: 0; }
.spec dt { font: 500 11px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding-right: 32px; padding-top: 18px; }
.spec dd { color: var(--ink); }
.spec--travel { grid-template-columns: 1fr max-content; }
.spec--travel dt { font: 400 16px/1.6 var(--sans); letter-spacing: 0; text-transform: none; color: var(--body); padding-top: 15px; padding-right: 24px; }
.spec--travel dd { text-align: right; font-weight: 500; white-space: nowrap; }

/* ---------- Features on green ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px clamp(32px, 4vw, 64px); }
.features > div { border-top: 1px solid rgba(246,242,234,.2); padding-top: 28px; }
.features .eyebrow { margin-bottom: 18px; }
.features h3 { margin-bottom: 14px; }
.features p { color: var(--on-dark-muted); font-size: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.two-up > div { border-top: 1px solid rgba(246,242,234,.2); padding-top: 28px; }
.two-up .eyebrow { margin-bottom: 18px; }
.two-up h2 { margin-bottom: 18px; }
.two-up p { color: var(--on-dark-muted); }
.two-up .btn { margin-top: 28px; }
@media (max-width: 760px) { .two-up { grid-template-columns: 1fr; } }

/* ---------- Justified gallery: natural proportions, story order ---------- */
.jgallery { display: flex; flex-wrap: wrap; gap: 10px; --row: 260px; }
.jgallery::after { content: ''; flex-grow: 999; }
.jgallery a { position: relative; flex-grow: calc(var(--r) * 100); flex-basis: calc(var(--r) * var(--row)); aspect-ratio: var(--r); overflow: hidden; background: var(--tile); cursor: zoom-in; }
.jgallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jgallery a:hover img { transform: scale(1.035); }
.jgallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0)); opacity: 0; transition: opacity .3s; }
.jgallery a:hover figcaption, .jgallery a:focus-visible figcaption { opacity: 1; }
@media (max-width: 700px) { .jgallery { --row: 100px !important; gap: 6px; } }
.jgallery--fill::after { display: none; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.gallery-head p { color: var(--muted); font-size: 15px; }

/* ---------- Quote ---------- */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0 0 28px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; color: var(--green); }
.quote cite { font: 500 11px/1 var(--sans); font-style: normal; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

/* ---------- Closing call to action (photo band) ---------- */
.cta { position: relative; overflow: hidden; color: var(--cream); background: var(--green); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--green-scrim), .88) 0%, rgba(var(--green-scrim), .6) 55%, rgba(var(--green-scrim), .3) 100%); }
.cta__content { position: relative; padding-top: clamp(88px, 12vw, 160px); padding-bottom: clamp(88px, 12vw, 160px); }
.cta h2 { max-width: 14ch; margin-bottom: 22px; }
.cta p { color: var(--on-dark); max-width: 46ch; margin-bottom: 36px; }
.cta .phone { margin-top: 28px; font-size: 15px; color: var(--on-dark-muted); }
.cta .phone a { color: var(--cream); }
@media (max-width: 640px) { .cta__scrim { background: rgba(var(--green-scrim), .72); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 32px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.form__grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.field input, .field textarea { font: 400 17px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; background: transparent; padding: 10px 0; width: 100%; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.field input[type="date"] { min-height: 46px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.field input::placeholder, .field textarea::placeholder { color: #9d968a; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--green); }
.seg button { padding: 15px 10px; border: 0; cursor: pointer; font: 500 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; background: transparent; color: var(--green); transition: background .2s, color .2s; }
.seg button:hover { background: var(--cream-hover); }
.seg button[aria-pressed="true"] { background: var(--green); color: var(--cream); }
.form [hidden] { display: none !important; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .form__foot .btn { width: 100%; } }
.form__status { font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--green); padding: 24px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.form__status--error { font: 400 16px/1.6 var(--sans); color: #7a2e21; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside { background: var(--green); color: var(--cream); padding: clamp(36px, 4vw, 56px); }
.contact-aside .eyebrow { margin-bottom: 14px; }
.contact-aside h2 { margin-bottom: 20px; }
.contact-aside p { color: var(--on-dark-muted); font-size: 16px; }
.contact-aside hr { border: 0; border-top: 1px solid rgba(246,242,234,.18); margin: 32px 0; }
.contact-aside .big { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; overflow-wrap: anywhere; }
.contact-aside a { color: var(--cream); text-decoration: none; }
.contact-aside .link-arrow { color: var(--cream); margin-top: 20px; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.location-grid figure { margin: 0; overflow: hidden; background: var(--tile); min-height: 420px; }
.location-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.location-grid h2 { margin-bottom: 10px; }
.location-grid .address { color: var(--body); margin-bottom: 36px; }
.location-grid .note { font-size: 15px; color: var(--body); margin: 24px 0 30px; }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } .location-grid figure { min-height: 0; aspect-ratio: 4 / 3; } }
.map { height: clamp(320px, 42vw, 540px); background: var(--tile); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75) sepia(.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--rule); color: var(--body); font-size: 15px; }
.site-footer__inner { max-width: var(--wide); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--gutter) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__brand, .site-footer__inner > div:last-child { grid-column: 1 / -1; } }
.site-footer__name { font-family: var(--serif); font-size: 30px; color: var(--green); line-height: 1.1; margin-bottom: 12px; }
.site-footer .eyebrow { margin-bottom: 14px; font-size: 10.5px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.site-footer a { text-decoration: none; color: var(--body); }
.site-footer a:hover { color: var(--gold); }
.site-footer__legal { max-width: var(--wide); margin: 0 auto; padding: 22px var(--gutter) 32px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(12, 22, 16, .96); opacity: 0; transition: opacity .3s ease; }
.lightbox[data-open] { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox__caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); padding: 0 80px; }
.lightbox__count { position: absolute; top: 28px; left: 32px; font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--on-dark-muted); }
.lightbox button { position: absolute; width: 56px; height: 56px; background: transparent; border: 0; color: var(--cream); cursor: pointer; font-family: Georgia, serif; opacity: .75; transition: opacity .2s; line-height: 1; padding: 0; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 12px; right: 16px; font-size: 36px; }
.lightbox__prev { top: 50%; left: 8px; transform: translateY(-50%); font-size: 44px; }
.lightbox__next { top: 50%; right: 8px; transform: translateY(-50%); font-size: 44px; }
body.lightbox-open { overflow: hidden; }

/* ---------- Motion (JS adds .js to <html>) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js img.fade { opacity: 0; transition: opacity .7s ease; }
.js img.fade.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js img.fade { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Brand page ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.brand-tile { background: var(--paper); border: 1px solid var(--rule); padding: 72px 40px; display: grid; place-items: center; text-align: center; }
.brand-tile--green { background: var(--green); border-color: var(--green); color: var(--cream); }
.monogram { font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: 1; letter-spacing: .06em; color: var(--green); margin-bottom: 30px; }
.brand-tile--green .monogram { color: var(--cream); }
.monogram-rule { width: 56px; height: 1px; background: var(--gold); margin-bottom: 26px; }
.brand-tile--green .monogram-rule { background: var(--gold-light); }
.mark { display: grid; place-items: center; font-family: var(--serif); font-weight: 300; letter-spacing: .06em; }

@media print { .site-header, .site-footer, .btn, .lightbox, .cta { display: none !important; } body { background: #fff; } .js .reveal { opacity: 1; transform: none; } }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__count { display: none; }

/* ---------- Phone comfort: no sideways wobble, thumb-sized links, readable labels ---------- */
@media (max-width: 600px) {
  .site-header__inner { gap: 10px; }
  .wordmark { min-width: 0; }
  .wordmark__sub { letter-spacing: .14em; }
  .menu-toggle { min-height: 44px; padding: 0 12px; }
  .eyebrow, .btn, .link-arrow, .seg button { font-size: 12px; }
  .field { font-size: 12px; }
  .spec dt { font-size: 11.5px; }
  .stat__label { font-size: 11.5px; }
  .link-arrow { padding-top: 14px; }
  .site-footer .eyebrow { font-size: 11.5px; }
  .site-footer ul { line-height: 1.4; }
  .site-footer li a, .site-footer p a { display: inline-block; padding: 10px 0; }
  .contact-aside .link-arrow { padding-top: 14px; }
  .cta .phone a, .nav__extra p a { display: inline-block; padding: 11px 0; }
}

.photo-credit { margin: 0; padding: 28px var(--gutter); text-align: center; font-size: 13px; color: var(--muted); background: var(--cream); }
.photo-credit a { color: var(--body); text-decoration: underline; text-underline-offset: 3px; }
.photo-credit a:hover { color: var(--gold); }
