/* Windsor & Eton Guardians: main stylesheet for the three language pages. */

@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/libre-caslon-text-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/libre-caslon-text-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/libre-caslon-text-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); }

:root {
  --primary: #1B5E3B; --deep: #0f3522; --gold: #C9A84C; --gold-light: #E8D5A3;
  --parchment: #F5F0E8; --paper: #FBF8F1; --ink: #1f1f1c; --rule: #d8d0bf;
  --steel: #8A9BA8; --accent-red: #8B2020;
  --ff-serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --ff-sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-sans); font-size: 1.06rem; line-height: 1.7; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--ff-serif); font-weight: 400; line-height: 1.15; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(1120px, 90%); margin-inline: auto; }

/* ── Enquiry form (always on a dark green panel) ── */
.enq { background: var(--primary); color: var(--parchment); padding: 40px; }
.enq h2, .enq h3 { color: #fff; }
.enq label { display: block; font-size: .85rem; font-weight: 700; color: var(--gold-light); margin-bottom: 16px; }
.enq input, .enq select, .enq textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
  font: inherit; font-weight: 400; font-size: 1rem; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(232,213,163,.45); border-radius: 2px;
}
.enq select option { background: var(--deep); }
.enq textarea { min-height: 120px; resize: vertical; }
.enq ::placeholder { color: rgba(232,213,163,.55); }
.enq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enq button[type="submit"] { width: 100%; padding: 14px; margin-top: 6px; font: inherit; font-weight: 700; color: var(--deep); background: var(--gold); border: 0; border-radius: 2px; cursor: pointer; }
.enq button[type="submit"]:hover { background: #d8b95e; }
.form-hint { font-size: .85rem; color: var(--gold-light); margin: -8px 0 16px; }
.form-note { font-size: .82rem; color: var(--gold-light); margin-top: 12px; }
.form-note a { color: #fff; }
@media (max-width: 640px) { .enq { padding: 28px 22px; } .enq__row { grid-template-columns: 1fr; gap: 0; } }

/* ── FAQ ── */
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative; font-family: var(--ff-serif); font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 16px; font-size: 1.3rem; color: var(--primary); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 20px; max-width: 46em; }

/* ── Footer ── */
.foot { background: var(--deep); color: #b8c2bd; font-size: .85rem; line-height: 1.7; padding: 44px 0; }
.foot__top { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: baseline; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(232,213,163,.2); }
.foot__brand { font-family: var(--ff-serif); font-size: 1.1rem; color: #fff; }
.foot a, .foot button { color: var(--gold-light); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.foot p + p { margin-top: 6px; }

/* ── Cookie choice (same as the live site) ── */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 560px; margin-inline: auto; background: #fff; color: #2C2C2C; border: 1px solid #d9d2c3; border-radius: 6px; box-shadow: 0 6px 28px rgba(0,0,0,.22); padding: 18px 20px; font-size: .9rem; line-height: 1.55; }
.cookie-bar p { margin: 0 0 14px; }
.cookie-bar a { color: #1B5E3B; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar button { flex: 1 1 140px; padding: 10px 14px; border-radius: 4px; cursor: pointer; font: inherit; font-weight: 700; background: #1B5E3B; color: #fff; border: 2px solid #1B5E3B; }

/* ── Prospectus layout ── */
    body { background: var(--parchment); }
    .bar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
    .bar .wrap { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; align-items: center; padding: 22px 0; }
    .brand { font-family: var(--ff-serif); font-size: 1.15rem; color: #fff; text-decoration: none; }
    .bar nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .92rem; background: rgba(15,53,34,.86); padding: 8px 18px; }
    .bar nav a { color: var(--gold-light); text-decoration: none; } .bar nav a:hover { color: #fff; }
    .langs a { margin-left: 6px; } .langs a[aria-current] { color: #fff; font-weight: 700; }
    .hero { display: grid; grid-template-columns: 46% 54%; min-height: 100svh; }
    .hero__text { background: var(--primary); color: var(--parchment); display: flex; flex-direction: column; justify-content: center; padding: 130px clamp(24px, 6vw, 88px) 72px; }
    .hero__text small { font-size: .95rem; color: var(--gold); font-family: var(--ff-serif); font-style: italic; }
    h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); color: #fff; margin: 16px 0 24px; }
    .hero__text p { max-width: 30em; color: rgba(245,240,232,.9); }
    .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
    .btn { display: inline-block; padding: 14px 26px; text-decoration: none; font-weight: 700; border: 1px solid var(--gold); color: var(--gold-light); }
    .btn--solid { background: var(--gold); color: var(--deep); } .btn:hover { background: var(--gold-light); color: var(--deep); }
    .hero__art { position: relative; }
    .hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
    .hero__art figcaption { position: absolute; right: 18px; bottom: 14px; font-family: var(--ff-serif); font-style: italic; font-size: .85rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
    .ribbon { background: var(--deep); color: var(--gold-light); }
    .ribbon .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 40px; padding: 18px 0; font-family: var(--ff-serif); font-style: italic; }
    section { padding: 100px 0; }
    h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
    .lead { max-width: 40em; margin: 18px 0 0; color: #4a4a45; }
    .duo { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 80px; align-items: center; }
    .arch { position: relative; }
    .arch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; }
    .arch::after { content: ''; position: absolute; inset: -12px -12px 0; border: 1px solid var(--gold); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
    .duo p { margin-top: 16px; }
    .pledge { font-family: var(--ff-serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--primary); margin: 30px 0 0; padding-left: 22px; border-left: 2px solid var(--gold); }
    .triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .triptych img { width: 100%; height: 440px; object-fit: cover; }
    .triptych img:nth-child(2) { margin-top: 44px; }
    .white { background: #fff; }
    .people { columns: 2; column-gap: 56px; list-style: none; margin-top: 36px; }
    .people li { break-inside: avoid; padding: 14px 0 14px 22px; border-top: 1px solid var(--rule); position: relative; }
    .people li::before { content: ''; position: absolute; left: 0; top: 26px; width: 8px; height: 1px; background: var(--gold); }
    .grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--ink); }
    .grid6 article { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--rule); }
    .grid6 article:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--rule); }
    .grid6 b { display: block; font-family: var(--ff-serif); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: 14px; }
    .grid6 h3 { font-size: 1.2rem; margin-bottom: 10px; } .grid6 p { font-size: .96rem; }
    .fees { background: var(--primary); color: var(--parchment); display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 38px 44px; margin-top: 56px; }
    .fees strong { font-family: var(--ff-serif); font-weight: 400; font-size: 1.7rem; line-height: 1.2; color: var(--gold); }
    .band { position: relative; height: 460px; }
    .band img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
    .band blockquote { position: absolute; left: clamp(16px, 6vw, 90px); bottom: -70px; max-width: 620px; background: #fff; padding: 34px 38px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.5); font-family: var(--ff-serif); font-size: 1.02rem; line-height: 1.7; }
    .band cite, .second cite { display: block; font-family: var(--ff-sans); font-style: normal; font-size: .88rem; color: #5b5b55; margin-top: 12px; }
    .second { padding-top: 150px; }
    .second blockquote { font-family: var(--ff-serif); font-size: 1.08rem; line-height: 1.75; max-width: 780px; margin-left: auto; border-left: 2px solid var(--gold); padding-left: 30px; }
    .qa { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
    .qa p { margin-top: 16px; }
    .contact { background: var(--primary); color: var(--parchment); padding: 0; }
    .contact__grid { display: grid; grid-template-columns: 1fr 1fr; }
    .contact__art { position: relative; min-height: 420px; }
    .contact__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .contact__art div { position: absolute; inset: auto 0 0 0; padding: 60px 40px 34px; background: linear-gradient(transparent, rgba(15,53,34,.92)); }
    .contact__art h2 { color: #fff; } .contact__art p { color: var(--gold-light); margin-top: 10px; max-width: 30em; } .contact__art a { color: #fff; }
    .contact .enq { padding: 64px clamp(22px, 5vw, 72px); }
    @media (max-width: 900px) {
      .bar { position: static; background: var(--deep); } .bar .wrap { padding: 14px 0; } .bar nav { padding: 0; background: none; }
      .hero { grid-template-columns: 1fr; min-height: 0; } .hero__text { padding: 56px 5%; } .hero__art { height: 300px; }
      .duo, .qa, .contact__grid { grid-template-columns: 1fr; gap: 44px; } .contact__grid { gap: 0; } .arch { max-width: 300px; margin-inline: auto; }
      .people { columns: 1; } .grid6 { grid-template-columns: 1fr; } .grid6 article, .grid6 article:not(:nth-child(3n+1)) { padding: 26px 0; border-left: 0; }
      .fees { grid-template-columns: 1fr; gap: 18px; padding: 30px 26px; }
      .triptych img { height: 220px; } .triptych img:nth-child(2) { margin-top: 22px; }
      .band { height: auto; } .band img { height: 240px; } .band blockquote { position: static; max-width: none; box-shadow: none; padding: 28px 5%; }
      .second { padding-top: 56px; } section { padding: 64px 0; }
    }

/* ── Live-site additions ── */
.enq .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enq .form-group { margin-bottom: 16px; }
.enq .form-group label { margin-bottom: 0; }
.enq .form-hint { margin: 8px 0 0; }
.enq .form-submit { margin-top: 0; }
.enq__intro { color: var(--gold-light); margin-bottom: 26px; font-size: .98rem; }
@media (max-width: 640px) { .enq .form-row { grid-template-columns: 1fr; gap: 0; } }
.band figcaption { position: absolute; right: 18px; bottom: 14px; font-family: var(--ff-serif); font-style: italic; font-size: .85rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.plate { background: #fff; padding: 14px; border: 1px solid var(--rule); box-shadow: 0 22px 44px -26px rgba(0,0,0,.5); }
.nowrap { white-space: nowrap; }
html[lang="zh-Hans"] {
  --ff-serif: 'Libre Caslon Text', 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'SimSun', serif;
  --ff-sans: 'Source Sans 3', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}
html[lang="zh-Hant"] {
  --ff-serif: 'Libre Caslon Text', 'Songti TC', 'Noto Serif CJK TC', 'PMingLiU', serif;
  --ff-sans: 'Source Sans 3', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', sans-serif;
}
html[lang^="zh"] .hero__text small, html[lang^="zh"] .ribbon .wrap, html[lang^="zh"] .pledge, html[lang^="zh"] figcaption { font-style: normal; }
html[lang^="zh"] h1 { line-height: 1.3; }
html[lang^="zh"] h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
