@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
}

:root {
  --ivory: #FAF7EF;
  --ivory-deep: #F1E9DC;
  --emerald: #004C3F;
  --emerald-dark: #00382F;
  --gold: #C69B4A;
  --gold-light: #E0C080;
  --taupe: #C9B8A6;
  --ink: #17342E;
  --white: #FFFFFF;
  --shadow: 0 18px 44px rgba(0, 56, 47, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin-top: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(2.6rem, 5.5vw, 5.2rem); letter-spacing: -.035em; }
h2 { color: var(--emerald); font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.3rem; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; background: var(--white); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(1.5rem, 6vw, 6.5rem); background: var(--ivory); border-bottom: 1px solid var(--taupe); }
.brand img { width: 150px; height: auto; }
.header-cta { flex: 0 0 auto; min-width: 166px; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .8rem 1.6rem; border: 1px solid var(--gold); border-radius: 1px; font: 600 1rem "DM Sans", Arial, sans-serif; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 56, 47, .16); }
.button-outline { background: var(--ivory); color: var(--emerald); }
.button-primary { background: var(--emerald); color: var(--ivory); }
.button-gold { width: 100%; background: var(--emerald-dark); color: var(--gold-light); border-color: var(--gold); font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; }

.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; border-bottom: 1px solid var(--taupe); }
.hero-copy { align-self: center; padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 7rem); }
.hero-copy h1 { color: var(--emerald); margin-bottom: 1rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--gold); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.gold-rule { display: block; width: 115px; height: 1px; margin: 1.5rem 0 2rem; background: var(--gold); }
.lead { max-width: 600px; font-size: 1.15rem; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-top: 2.3rem; }
.text-link { color: var(--emerald); font-weight: 600; text-decoration: none; }
.hero-image { min-height: 500px; background: url("assets/hero.jpg") center / cover no-repeat; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 2.3rem clamp(1rem, 5vw, 5rem); background: var(--ivory-deep); border-bottom: 1px solid var(--taupe); }
.trust-strip article { display: grid; justify-items: center; padding: 0 1.2rem; border-right: 1px solid var(--taupe); text-align: center; }
.trust-strip article:last-child { border-right: 0; }
.trust-icon { display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: .8rem; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; font-size: 1.45rem; }
.trust-icon.map { border: 0; }
.trust-icon.map img { width: 54px; height: 42px; object-fit: contain; }
.trust-strip strong { max-width: 190px; font-size: .92rem; }

.section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.5rem, 6vw, 7rem); }
.split-section { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 5rem; padding-right: 0; }
.section-copy { max-width: 580px; }
.detail-image { min-height: 500px; background: url("assets/detail.jpg") center / cover no-repeat; border-radius: 260px 0 0; }
.centered, .expect h2, .process h2 { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.card { padding: 2.5rem; background: var(--ivory-deep); border: 1px solid var(--taupe); box-shadow: var(--shadow); text-align: center; }
.card-icon { color: var(--gold); font-size: 2rem; }

.process { border-top: 1px solid var(--taupe); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
.steps article { position: relative; text-align: center; }
.steps article > span { display: grid; width: 56px; height: 56px; place-items: center; margin: 0 auto 1.2rem; background: var(--ivory); color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; font: 500 1.5rem "Playfair Display", Georgia, serif; }
.steps article:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 28px); width: calc(100% + 3rem - 56px); height: 1px; background: var(--taupe); z-index: -1; }

.invitation { padding: clamp(4.5rem, 7vw, 7rem) clamp(1.5rem, 6vw, 7rem); background: var(--emerald); color: var(--ivory); }
.invitation-inner { width: min(1120px, 100%); margin: 0 auto; }
#invitation-form { position: relative; isolation: isolate; }
#invitation-form.success-visible::before { content: ""; position: absolute; inset: -1.25rem; z-index: 10; background: rgba(0, 56, 47, .76); backdrop-filter: blur(2px); cursor: pointer; }
.form-intro { margin-bottom: 2.4rem; }
.form-intro h2 { margin-bottom: .5rem; color: var(--ivory); }
.form-intro .gold-rule { margin: 1rem 0 1.2rem; }
.form-intro p { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem 2rem; }
label, .field-label { display: block; font-size: .9rem; font-weight: 500; }
input, select { width: 100%; height: 54px; margin-top: .5rem; padding: 0 1rem; background: var(--ivory); color: var(--ink); border: 1px solid var(--gold); border-radius: 2px; font: 1rem "DM Sans", Arial, sans-serif; }
select { cursor: pointer; }
input:focus, select:focus { outline: 3px solid var(--gold-light); outline-offset: 2px; }
input[readonly] { background: var(--ivory-deep); color: var(--emerald); font-weight: 600; }
.phone-row { display: grid; grid-template-columns: 122px 1fr; gap: 0; }
.phone-row input:first-of-type { border-right: 0; border-radius: 2px 0 0 2px; }
.phone-row input:last-of-type { border-left-color: var(--taupe); border-radius: 0 2px 2px 0; }
.phone-help { margin: .5rem 0 0; color: var(--gold-light); font-size: .8rem; }

.preferences { margin: 1.8rem 0 1.2rem; padding: 0; border: 0; }
.preferences legend { margin-bottom: .8rem; font-weight: 600; }
.preferences legend small { display: block; color: var(--gold-light); font-weight: 400; }
.preference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.preferences input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.preferences span { display: flex; min-height: 56px; align-items: center; justify-content: center; gap: .65rem; padding: .75rem 1.2rem; background: transparent; color: var(--ivory); border: 1px solid var(--gold); cursor: pointer; }
.preferences input:checked + span { background: var(--ivory); color: var(--emerald); box-shadow: inset 0 0 0 2px var(--emerald); }
.preferences input:checked + span::after { content: "\2713"; margin-left: auto; }
.preferences input:focus-visible + span { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.preference-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.terms { display: flex; align-items: flex-start; gap: .7rem; margin: 1rem 0 1.4rem; }
.terms input { flex: 0 0 20px; width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--gold); }
.terms a { color: var(--gold-light); }
.privacy-note { margin: .8rem 0 0; color: var(--ivory-deep); font-size: .8rem; text-align: center; }
.website-field { position: absolute !important; left: -9999px !important; }

.validation-message { margin-top: .45rem; padding: .55rem .75rem; color: var(--emerald-dark); background: var(--gold-light); border-left: 4px solid var(--gold); font-size: .8rem; font-weight: 600; }
.has-error input, .has-error select, input[aria-invalid="true"], select[aria-invalid="true"] { border: 2px solid var(--gold-light); box-shadow: 0 0 0 3px rgba(224, 192, 128, .24); }
.form-status { display: none; margin-top: 1.2rem; padding: 1rem 1.15rem; border: 1px solid var(--gold); background: var(--ivory); color: var(--emerald-dark); }
.form-status:not(:empty) { display: block; }
.form-status h3 { margin: 0 0 .25rem; color: var(--emerald); font-size: 1.25rem; }
.form-status p { margin: 0; }
.form-status .status-actions { margin-top: .65rem; }
.form-status .status-actions a { color: var(--emerald); font-weight: 700; }
.form-status.error { background: var(--gold-light); }
.form-status.success { position: absolute; top: 50%; left: 50%; z-index: 11; width: min(680px, calc(100% - 2rem)); margin: 0; padding: 2rem 2.25rem; border-width: 2px; box-shadow: 0 24px 64px rgba(0, 31, 26, .34); text-align: center; transform: translate(-50%, -50%); cursor: pointer; }
.form-status.success h3 { margin-bottom: .6rem; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.form-status.success p { font-size: 1rem; }

.leadership { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6rem; padding-block: 3.5rem; }
.leadership > div + div { padding-left: 4rem; border-left: 1px solid var(--taupe); }
.leadership h2 { margin-bottom: .3rem; font-size: 1.75rem; }
.leadership p { margin: .25rem 0; }

footer { padding: 3.2rem clamp(1.5rem, 6vw, 7rem) 1.5rem; background: var(--emerald-dark); color: var(--ivory); }
.footer-main { display: grid; grid-template-columns: .75fr 1.6fr .65fr; align-items: start; gap: 3rem; }
.footer-brand { display: inline-flex; width: max-content; padding: .75rem; background: var(--ivory); }
.footer-brand img { width: 150px; }
.contact h2 { margin-bottom: 1rem; color: var(--ivory); font-size: 1.5rem; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-actions a { display: flex; min-height: 68px; align-items: center; gap: .8rem; padding: .7rem 1rem; border: 1px solid var(--gold); text-decoration: none; }
.contact-actions a:hover, .contact-actions a:focus-visible { background: var(--emerald); }
.contact-actions strong, .contact-actions small { display: block; }
.contact-actions small { color: var(--gold-light); }
.contact-icon { flex: 0 0 28px; width: 28px; height: 28px; color: var(--gold-light); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
footer nav { justify-self: end; }
footer nav a { display: block; margin: .4rem 0; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 2.2rem; padding-top: 1.25rem; border-top: 1px solid var(--gold); color: var(--ivory-deep); font-size: .8rem; }
.legal-page { width: min(900px, 100%); margin-inline: auto; }
.legal-page h1 { color: var(--emerald); }
.legal-page h2 { margin-top: 2rem; font-size: 1.65rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .site-header { min-height: 78px; }
  .brand img { width: 118px; }
  .header-cta { min-width: 0; min-height: 44px; padding: .65rem 1rem; }
  .hero, .split-section { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-image { order: 1; min-height: 58vw; }
  .split-section { gap: 2rem; padding-right: 0; }
  .section-copy { padding-right: 1.5rem; }
  .detail-image { min-height: 65vw; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps article::after { display: none; }
  .form-grid, .preference-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .leadership { grid-template-columns: 1fr; gap: 2rem; }
  .leadership > div + div { padding: 2rem 0 0; border-top: 1px solid var(--taupe); border-left: 0; }
  .footer-main { grid-template-columns: 1fr; }
  footer nav { justify-self: start; }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 1rem; }
  .brand img { width: 98px; }
  .hero-copy { padding-block: 3.5rem; }
  .trust-strip { grid-template-columns: 1fr; gap: 1.6rem; }
  .trust-strip article { padding-bottom: 1.5rem; border-right: 0; border-bottom: 1px solid var(--taupe); }
  .trust-strip article:last-child { border-bottom: 0; }
  .phone-row { grid-template-columns: 100px 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
  #invitation-form.success-visible::before { inset: -.75rem; }
  .form-status.success { width: calc(100% - 1rem); padding: 1.5rem 1.25rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}
