:root {
  --forest: #173f35;
  --forest-deep: #0d2b24;
  --ink: #23241f;
  --cream: #f8f3e8;
  --paper: #fffdf8;
  --orange: #ed7b51;
  --mint: #9ed8c7;
  --lime: #d8e458;
  --line: rgba(35,36,31,.18);
  --shadow: 0 24px 70px rgba(23,63,53,.12);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.section-shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(5rem, 10vw, 9rem); }
.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; }
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 100; padding: .75rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 86px; padding: 10px max(20px, calc((100vw - 1180px) / 2)); background: rgba(248,243,232,.92); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); }
.site-header.is-scrolled { border-color: var(--line); }
.brand { width: 108px; text-decoration: none; }
.navigation { display: flex; align-items: center; gap: 1.8rem; }
.navigation a { font-size: .84rem; font-weight: 800; text-decoration: none; }
.navigation a:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-button { padding: .7rem 1rem; border: 1px solid var(--forest); }
.menu-button { display: none; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--forest); background: transparent; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: var(--forest); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 10ch; margin-bottom: 1.5rem; font-size: clamp(3.6rem, 8.5vw, 7.6rem); }
h2 { margin-bottom: 1.4rem; font-size: clamp(2.7rem, 5.6vw, 5.4rem); }
h3 { margin-bottom: 1rem; font-size: clamp(1.7rem, 3vw, 2.55rem); font-weight: 750; letter-spacing: -.035em; }
.eyebrow { margin-bottom: 1.25rem; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.lead { font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.45; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 1.25rem; border: 1px solid currentColor; font-size: .88rem; font-weight: 850; text-decoration: none; }
.button-primary { border-color: var(--forest); background: var(--forest); color: white; }
.button-primary:hover { background: var(--forest-deep); }
.button-light { background: var(--cream); color: var(--forest); }
.text-link, .card-link { font-weight: 850; text-underline-offset: .3em; }

.hero { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 8vw, 8rem); min-height: calc(100vh - 86px); padding-block: clamp(4rem, 8vw, 8rem); align-items: center; }
.hero-lead { max-width: 42rem; margin-bottom: 2rem; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }
.hero-mark { position: relative; aspect-ratio: 1; min-width: 0; }
.hero-ring { position: absolute; inset: 0; border: clamp(22px, 4vw, 48px) solid var(--orange); border-radius: 50%; }
.hero-disc { position: absolute; inset: 13%; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); }
.hero-disc img { width: 72%; }

.programmes { background: var(--forest); color: white; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 5rem; margin-bottom: clamp(3rem, 7vw, 6rem); align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { max-width: 11ch; margin: 0; }
.section-heading > p:last-child { margin: 0; color: rgba(255,255,255,.72); }
.programme-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.28); border-left: 1px solid rgba(255,255,255,.28); }
.programme-card { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; min-height: 370px; padding: clamp(1.5rem, 4vw, 3rem); border-right: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.programme-card p { color: rgba(255,255,255,.72); }
.programme-card .programme-time { color: var(--lime); font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.programme-number { color: var(--orange) !important; font-weight: 900; }
.programme-card .card-link { display: inline-block; color: white; }
.card-button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.card-button::after { content: " →"; }
.card-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: 1rem; }
.programme-featured { background: var(--orange); }
.programme-featured .programme-time, .programme-featured .programme-number { color: var(--forest-deep) !important; }
.programme-featured p { color: rgba(13,43,36,.8); }
.programme-featured .card-link { color: var(--forest-deep); }
.programme-soft { background: #245e50; }
.programme-wide { grid-column: 1 / -1; min-height: 280px; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 10vw, 9rem); }
.about h2 { max-width: 8ch; }
.about-copy { padding-top: 4rem; }
.about-copy a { font-weight: 800; }

.rental { background: var(--orange); color: var(--forest-deep); }
.rental-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 10vw, 10rem); }
.rental h2 { max-width: 7ch; }
.rental-copy ul { margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.rental-copy li { padding: .8rem 0; border-bottom: 1px solid rgba(13,43,36,.28); }
.rental-copy li::before { content: "—"; margin-right: .7rem; }

.food { background: var(--mint); }
.food-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 10vw, 10rem); }
.food h2 { max-width: 8ch; }

.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact h2 { max-width: 12ch; }
.contact-copy > p:not(.eyebrow) { max-width: 38rem; }
.contact-links { display: grid; border-top: 1px solid var(--line); }
.contact-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 800; text-decoration: none; }
.contact-links a:hover { padding-left: .5rem; }
.contact-form { padding: clamp(1.4rem, 4vw, 2.8rem); background: var(--paper); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .45rem; margin-bottom: 1rem; font-size: .86rem; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: .85rem; border: 1px solid #85877f; border-radius: 0; background: white; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(23,63,53,.2); border-color: var(--forest); }
.contact-form button { cursor: pointer; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-status { min-height: 1.5em; margin: 1rem 0 0; font-weight: 750; }
.form-status.is-success { color: #326434; }
.form-status.is-error { color: #9b2d24; }
.form-note { margin: 1rem 0 0; color: #5b5d56; font-size: .78rem; }
.inline-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; }

.site-footer { padding-block: 4rem 1.5rem; background: var(--forest-deep); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 3rem; }
.footer-brand { display: grid; grid-template-columns: 126px 1px minmax(150px, 1fr); gap: 1.5rem; align-items: center; }
.footer-brand .footer-vanamali-logo { width: 126px; }
.footer-brand-divider { width: 1px; height: 92px; background: rgba(255,255,255,.24); }
.footer-parent-brand p { margin-bottom: .15rem; color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-youth-logo { display: block !important; width: fit-content; }
.footer-youth-logo img { width: auto; height: 94px; object-fit: contain; object-position: left top; filter: brightness(0) invert(1); }
.site-footer nav, .site-footer > .footer-grid > div:last-child { display: grid; align-content: start; gap: .6rem; }
.site-footer a, .site-footer button { width: fit-content; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.75); font: inherit; text-decoration: none; cursor: pointer; }
.site-footer a:hover, .site-footer button:hover { color: white; text-decoration: underline; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.55); font-size: .8rem; }
.footer-bottom p { margin: 0; }

.legal-dialog { width: min(680px, calc(100% - 32px)); max-height: min(82vh, 760px); padding: clamp(1.5rem, 5vw, 3.2rem); border: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.legal-dialog::backdrop, .programme-dialog::backdrop { background: rgba(13,43,36,.78); }
.legal-dialog h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.dialog-close { position: sticky; top: 0; float: right; width: 44px; height: 44px; border: 1px solid var(--ink); background: var(--paper); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.programme-dialog { width: min(760px, calc(100% - 32px)); max-height: min(88vh, 900px); padding: clamp(1.5rem, 5vw, 3.2rem); border: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.programme-dialog-wide { width: min(1120px, calc(100% - 32px)); }
.programme-dialog h2 { max-width: 12ch; margin-bottom: 1.2rem; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.dialog-kicker { margin-bottom: 1rem; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.dialog-lead { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; }
.programme-dialog-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.programme-dialog-image { width: 100%; margin-top: 1rem; border: 1px solid var(--line); }
.booking-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button-outline { border-color: var(--forest); color: var(--forest); }
.button-outline:hover { background: rgba(23,63,53,.08); }
.event-motto { color: var(--forest); font-weight: 850; letter-spacing: .05em; }

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 680px); }
  .site-header { min-height: 72px; padding-inline: 14px; }
  .brand { width: 94px; }
  .menu-button { display: block; }
  .navigation { position: fixed; inset: 72px 0 auto; display: none; padding: 1.5rem 20px 2rem; background: var(--cream); border-bottom: 1px solid var(--line); }
  .navigation.is-open { display: grid; }
  .navigation a { padding: .8rem 0; font-size: 1.1rem; }
  .nav-button { border: 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-mark { width: min(76vw, 420px); margin: 1rem auto 0; }
  .section-heading, .about-grid, .rental-grid, .food-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading .eyebrow { grid-column: auto; }
  .programme-grid { grid-template-columns: 1fr; }
  .programme-wide { grid-column: auto; }
  .programme-card { min-height: 0; grid-template-columns: 44px 1fr; }
  .about-copy { padding-top: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-template-columns: 112px 1px minmax(130px,1fr); gap: 1.1rem; }
  .footer-brand .footer-vanamali-logo { width: 112px; }
  .footer-brand-divider { height: 78px; }
  .footer-youth-logo img { width: auto; height: 86px; }
  .programme-dialog-grid { grid-template-columns: 1fr; }
  .programme-dialog-image { margin-top: 0; }
}

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