/* MDP Society — site styles */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --green: #1E3A2F;
  --green-deep: #152B22;
  --green-line: #2E4D40;
  --claret: #6E1E2B;
  --brass: #C2A06A;
  --brass-light: #E8D3AE;
  --parchment: #F2EBDD;
  --paper: #FBF7EF;
  --ink: #1A1A17;
  --body: #3A3732;
  --muted: #5A554C;
  --rule: #DCD0BC;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--parchment); }
img, svg { display: block; max-width: 100%; }

a { color: var(--parchment); }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--parchment); color: var(--green); padding: 12px 20px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

.label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--claret); }

/* Header */
.site-header { background: var(--green); border-bottom: 1px solid var(--green-line); }
.site-header .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.wordmark { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.wordmark-main { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 8px; color: var(--parchment); line-height: 1; }
.wordmark-sub { font-size: 10px; letter-spacing: 5px; color: var(--brass); }
.site-nav { display: flex; flex-wrap: wrap; gap: 36px; font-size: 13px; letter-spacing: 2.5px; }
.site-nav a { text-decoration: none; padding: 12px 0; display: inline-block; }

/* Hero */
.hero { background: var(--green); }
.hero .wrap { padding-top: 140px; padding-bottom: 160px; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.hero-rule { width: 1px; height: 64px; background: var(--brass); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 1.05; color: var(--parchment); max-width: 900px; }
.hero h1 em { font-style: italic; }
.hero-lede { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.7; color: #E4DACA; max-width: 560px; }
.button-outline { text-decoration: none; margin-top: 12px; padding: 16px 36px; border: 1px solid var(--brass); font-size: 13px; letter-spacing: 3px; color: var(--parchment); display: inline-block; }
.button-outline:hover { background: var(--brass); color: var(--green); }

/* How we work */
.how .wrap { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 64px; }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head h2, .enquire h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 48px); line-height: 1.1; color: var(--green); }
.principles { display: flex; flex-wrap: wrap; gap: 48px; margin: 0; padding: 0; list-style: none; }
.principle { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--brass); padding-top: 28px; }
.principle-num { font-family: var(--serif); font-size: 20px; color: var(--claret); }
.principle h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--green); }
.principle p, .enquire-intro p.body { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--body); max-width: 60ch; }

/* Claret band */
.band { background: var(--claret); }
.band .wrap { max-width: 900px; padding-top: 110px; padding-bottom: 110px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.band p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.35; color: var(--parchment); }
.band-rule { width: 48px; height: 1px; background: var(--brass-light); }

/* Enquiry */
.enquire .wrap { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 72px; }
.enquire-intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 20px; }
.enquire-lead { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.45; color: var(--claret); max-width: 520px; }
.short-rule { width: 48px; height: 1px; background: var(--brass); margin: 8px 0; }
.enquiry-form { flex: 1 1 440px; background: var(--paper); border: 1px solid var(--rule); padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--green); }
.field input, .field textarea { border: none; border-bottom: 1px solid #8C8476; border-radius: 0; background: transparent; font-family: inherit; font-size: 16px; color: var(--ink); padding: 8px 0; }
.field input { height: 48px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--green); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.button-solid { align-self: flex-start; min-height: 48px; padding: 0 36px; background: var(--green); border: none; color: var(--parchment); font-family: inherit; font-size: 13px; letter-spacing: 3px; cursor: pointer; }
.button-solid:hover { background: var(--green-deep); }
.form-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--green-deep); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.site-footer .wordmark-main { font-size: 22px; letter-spacing: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; color: #C9C0B0; align-items: center; }
.footer-links a { text-decoration: none; color: #C9C0B0; padding: 12px 0; display: inline-block; }
.footer-links a:hover { color: var(--brass); }

/* Simple pages: thanks, privacy, terms */
.page .wrap { max-width: 760px; padding-top: 100px; padding-bottom: 120px; }
.page h1 { margin: 0 0 32px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; color: var(--green); }
.page h2 { margin: 48px 0 12px; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--green); }
.page p, .page li { font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--body); }
.page a { color: var(--claret); }
.page a:hover { color: var(--green); }
.draft-note { border: 1px solid var(--claret); padding: 16px 20px; color: var(--claret); font-size: 14px; line-height: 1.6; margin-bottom: 40px; }

@media (max-width: 640px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .hero .wrap { padding-top: 96px; padding-bottom: 112px; }
  .how .wrap, .enquire .wrap { padding-top: 88px; padding-bottom: 88px; }
  .band .wrap { padding-top: 80px; padding-bottom: 80px; }
  .enquiry-form { padding: 32px 24px; }
  .site-nav { gap: 24px; }
}
