/* ============================================================
   Matthew Phelps — Sponsorships & Partnerships
   Design system
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --forest:     #1b3329;
  --cream:      #f5f1ea;
  --orange:     #fd9228;
  --soft-cream: #ece6da;
  --white:      #ffffff;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --hand:  'Caveat', cursive;

  --radius: 12px;
  --max-w:  1200px;
  --pad-x:  clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--forest);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---- Utility ---- */

.over-header {
  font-family: var(--hand);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--orange);
  margin-bottom: 0.4rem;
  font-weight: 400;
  line-height: 1.1;
}

/* Hero "Hi, I'm Matthew" is a greeting, not a section heading */
.hero .over-header {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.35rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-bottom: 1px solid rgba(27, 51, 41, 0.1);
}

.nav-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
  text-decoration: none;
  color: var(--forest);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links > li > a {
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--forest);
  transition: opacity 0.2s;
}

.nav-links > li > a:hover { opacity: 0.55; }

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: default;
  user-select: none;
}

.dropdown-toggle svg {
  width: 10px; height: 6px;
  opacity: 0.5;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.has-dropdown:hover .dropdown-toggle svg,
.has-dropdown:focus-within .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem 0.5rem;
  min-width: 220px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s;
  border: 1px solid rgba(27, 51, 41, 0.08);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.83rem;
  text-decoration: none;
  transition: background 0.15s;
}

.dropdown-menu li a:hover { background: var(--soft-cream); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  color: var(--forest);
  line-height: 0;
}

@media (max-width: 720px) {
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    padding: 1rem var(--pad-x) 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(27, 51, 41, 0.1);
  }

  .nav-toggle { display: block; }
  .has-dropdown { position: static; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0.35rem 0 0 1rem;
    min-width: auto;
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--cream);
  padding-top: 5rem;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.5rem var(--pad-x) 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(27, 51, 41, 0.62);
  line-height: 1.82;
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
}

.hero-photo-wrap { position: relative; }

.hero-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft-cream);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.72rem 1.4rem;
  border-radius: 6px;
  border: 1.5px solid var(--forest);
  color: var(--forest);
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}

.btn-primary:hover { background: #243f32; border-color: #243f32; }

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3rem;
  }
  .hero-photo-wrap { order: -1; }
  .hero-photo { aspect-ratio: 3 / 2; }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
   How I can help
   ============================================================ */

.help { background: var(--forest); }

.help-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.help .over-header { color: var(--orange); }

.help-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(245, 241, 234, 0.65);
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
  font-style: italic;
}

.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.help-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.2rem;
  color: var(--forest);
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.help-card:hover {
  background: #c96e14;
  color: var(--cream);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
}

.help-card-icon {
  width: 52px;
  height: 52px;
  color: var(--orange);
  margin-bottom: 1.75rem;
  flex-shrink: 0;
  transition: color 0.3s;
}

.help-card:hover .help-card-icon {
  color: var(--cream);
}

.help-card-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.help-card-text {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.82;
  flex: 1;
  opacity: 0.72;
}

.help-card:hover .help-card-text {
  opacity: 0.88;
}

.help-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: currentColor;
  transition: gap 0.2s;
}

.help-card-link:hover { gap: 0.7rem; }

@media (max-width: 860px) {
  .help-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .help-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Events grid
   ============================================================ */

.events { background: var(--cream); }

.events-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.events-header { margin-bottom: 2.75rem; }

.events-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(27, 51, 41, 0.6);
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  font-style: italic;
}

.events-sub {
  font-size: 0.95rem;
  color: rgba(27, 51, 41, 0.58);
  max-width: 60ch;
  line-height: 1.7;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-rows: 240px;
}

.assoc-grid {
  grid-auto-rows: 200px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.event-logo {
  height: 32px;
  margin-bottom: 0.4rem;
}

.event-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.event-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.event-desc {
  font-size: 0.8rem;
  color: rgba(27, 51, 41, 0.58);
  line-height: 1.5;
  flex: 1;
}

.event-date {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.01em;
  margin-top: 0.25rem;
}

.event-location {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.01em;
}

.event-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.5;
  transition: opacity 0.2s, gap 0.2s;
}

.event-card-link:hover {
  opacity: 1;
  gap: 0.5rem;
}

.assoc-header {
  margin-top: 0;
  margin-bottom: 2.75rem;
}

/* Associations section — forest green background */
.assoc-section { background: var(--forest); }

.assoc-section .over-header    { color: var(--orange); }
.assoc-section .events-title   { color: rgba(245, 241, 234, 0.65); }
.assoc-section .events-sub     { color: rgba(245, 241, 234, 0.55); }
.assoc-section .event-card:not(.event-card-more) { background: var(--cream); }

.assoc-section .event-card-more {
  background: transparent;
  border-color: rgba(245, 241, 234, 0.25);
}

.assoc-section .event-card-more span {
  color: rgba(245, 241, 234, 0.5);
}

/* TAS badge in section headers */
.section-tas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.section-tas-logo {
  height: 80px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.section-tas-logo:hover { opacity: 1; }

.section-tas span {
  font-size: 0.8rem;
  color: rgba(27, 51, 41, 0.55);
}

.section-tas span a {
  color: rgba(27, 51, 41, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-tas span a:hover { color: var(--forest); }

/* Dark variant (on forest background) */
.section-tas--dark .section-tas-logo {
  filter: brightness(0) invert(1);
}

.section-tas--dark span       { color: rgba(245, 241, 234, 0.55); }
.section-tas--dark span a     { color: rgba(245, 241, 234, 0.75); }
.section-tas--dark span a:hover { color: var(--cream); }

.event-card-more {
  background: transparent;
  border: 1.5px dashed rgba(27, 51, 41, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}

.event-card-more span {
  font-size: 0.82rem;
  color: rgba(27, 51, 41, 0.38);
}

@media (max-width: 860px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .assoc-grid { grid-auto-rows: auto; }
}

@media (max-width: 480px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Principles — alternating panels
   ============================================================ */

.principles { background: var(--soft-cream); }

.principles-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x) 2.5rem;
}

.principles-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(27, 51, 41, 0.6);
  letter-spacing: -0.01em;
  font-style: italic;
}

.principle-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.principle-panel:last-of-type { padding-bottom: 5rem; }

.principle-photo {
  overflow: hidden;
  position: relative;
  min-height: 420px;
}

.principle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: rgba(27, 51, 41, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder span {
  font-size: 0.7rem;
  color: rgba(27, 51, 41, 0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle-text {
  padding: 3.5rem clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--soft-cream);
}

.principle-panel.flip .principle-photo { order: 2; }
.principle-panel.flip .principle-text  { order: 1; }

.principle-num {
  font-family: var(--hand);
  font-size: 1.15rem;
  color: var(--orange);
  margin-bottom: 0.9rem;
  font-weight: 400;
}

.principle-heading {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  line-height: 1.25;
}

.principle-copy {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(27, 51, 41, 0.68);
  line-height: 1.88;
  max-width: 46ch;
}

@media (max-width: 768px) {
  .principle-panel {
    grid-template-columns: 1fr;
  }
  .principle-panel.flip .principle-photo { order: 0; }
  .principle-panel.flip .principle-text  { order: 0; }
  .principle-photo { min-height: 240px; }
  .photo-placeholder { min-height: 240px; }
  .principle-text { padding: 2.5rem var(--pad-x); }
  .principle-panel:last-of-type { padding-bottom: 0; }
  .principles-last-pad { padding-bottom: 4rem; }
}

/* ============================================================
   Contact
   ============================================================ */

.contact { background: var(--cream); }

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(27, 51, 41, 0.6);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  font-style: italic;
}

.contact-sub {
  font-size: 0.95rem;
  color: rgba(27, 51, 41, 0.62);
  line-height: 1.88;
  max-width: 44ch;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(27, 51, 41, 0.55);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--forest);
  background: var(--white);
  border: 1.5px solid rgba(27, 51, 41, 0.14);
  border-radius: 8px;
  padding: 0.72rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231b3329' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.btn-submit {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.82rem 2rem;
  background: var(--forest);
  color: var(--cream);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: #243f32; }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.form-feedback {
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.form-feedback--ok  { background: #e6f0eb; color: var(--forest); }
.form-feedback--err { background: #fdecea; color: #8b2020; }

@media (max-width: 768px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer { background: var(--forest); color: var(--cream); }

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-identity p:first-child {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.footer-identity p:last-child {
  font-size: 0.8rem;
  color: rgba(245, 241, 234, 0.48);
}

.footer-nav {
  display: flex;
  gap: 3.5rem;
}

.footer-col-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.38);
  margin-bottom: 0.8rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(245, 241, 234, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.08);
}

.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem var(--pad-x);
  font-size: 0.74rem;
  color: rgba(245, 241, 234, 0.32);
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { flex-wrap: wrap; gap: 2rem; }
}

/* ============================================================
   Privacy policy page
   ============================================================ */

.policy-hero {
  background: var(--forest);
  padding-top: 5rem;
}

.policy-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem var(--pad-x) 4rem;
}

.policy-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.policy-hero time {
  font-size: 0.85rem;
  color: rgba(245, 241, 234, 0.45);
}

.policy-body {
  background: var(--cream);
}

.policy-body-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem var(--pad-x) 6rem;
}

.policy-intro {
  font-size: 1rem;
  color: rgba(27, 51, 41, 0.72);
  line-height: 1.88;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(27, 51, 41, 0.1);
}

.policy-intro ul {
  margin: 0.75rem 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.policy-intro li {
  font-size: 0.95rem;
  color: rgba(27, 51, 41, 0.65);
  line-height: 1.7;
}

.policy-summary {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(27, 51, 41, 0.1);
}

.policy-summary h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.policy-summary-item {
  margin-bottom: 1.1rem;
}

.policy-summary-item p {
  font-size: 0.93rem;
  color: rgba(27, 51, 41, 0.72);
  line-height: 1.8;
}

.policy-summary-item strong {
  color: var(--forest);
  font-weight: 500;
}

.policy-toc {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(27, 51, 41, 0.1);
}

.policy-toc h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.policy-toc ol {
  margin-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.policy-toc li a {
  font-size: 0.9rem;
  color: rgba(27, 51, 41, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.policy-toc li a:hover { color: var(--forest); }

.policy-section {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(27, 51, 41, 0.08);
}

.policy-section:first-of-type { border-top: none; padding-top: 0; }

.policy-section h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  line-height: 1.3;
}

.policy-section h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  margin-top: 1.5rem;
  letter-spacing: -0.01em;
}

.policy-section p {
  font-size: 0.93rem;
  color: rgba(27, 51, 41, 0.72);
  line-height: 1.88;
  margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
  margin: 0.5rem 0 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.policy-section li {
  font-size: 0.93rem;
  color: rgba(27, 51, 41, 0.72);
  line-height: 1.75;
}

.policy-section a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.in-short {
  background: var(--soft-cream);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: rgba(27, 51, 41, 0.65);
  font-style: italic;
  line-height: 1.7;
}

/* ============================================================
   Sub-page styles
   ============================================================ */

.subpage-hero {
  background: var(--forest);
  padding-top: 5rem;
}

.subpage-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--pad-x) 5rem;
}

.subpage-over {
  font-family: var(--hand);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--orange);
  margin-bottom: 0.4rem;
  font-weight: 400;
  line-height: 1.1;
}

.subpage-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  max-width: 20ch;
}

/* TAS affiliation — top-right of dark subpage hero */
.subpage-hero-inner { position: relative; }

.subpage-affil {
  position: absolute;
  top: 4rem;
  right: 0;
  gap: 0.4rem;
  text-align: right;
}

/* Beat the .hero-affil align-items: flex-start rule */
.hero-affil.subpage-affil { align-items: flex-end; }

.subpage-affil .hero-affil-text {
  color: rgba(245, 241, 234, 0.65);
  font-size: 0.8rem;
}

.subpage-affil .hero-affil-text a {
  color: rgba(245, 241, 234, 0.85);
}

.subpage-affil .hero-affil-text a:hover { color: var(--cream); }

.subpage-affil .tas-logo {
  height: 120px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.subpage-affil .tas-logo:hover { opacity: 1; }

@media (max-width: 768px) {
  .subpage-affil {
    position: static;
    margin-top: 2rem;
    text-align: left;
  }
  .hero-affil.subpage-affil { align-items: flex-start; }
}

.subpage-sub {
  font-size: 1rem;
  color: rgba(245, 241, 234, 0.62);
  max-width: 50ch;
  line-height: 1.8;
}

.subpage-content { background: var(--cream); }

.about-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 3rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(27, 51, 41, 0.1);
}

.about-intro-photo {
  border-radius: 12px;
  overflow: hidden;
}

.about-intro-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-intro-text p + p {
  margin-top: 1.2rem;
}

@media (max-width: 680px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.subpage-content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.subpage-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(27, 51, 41, 0.1);
}

.subpage-section:first-child {
  border-top: none;
  padding-top: 0;
}

.subpage-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  max-width: 28ch;
  line-height: 1.3;
}

.subpage-section p {
  font-size: 0.95rem;
  color: rgba(27, 51, 41, 0.68);
  line-height: 1.92;
  max-width: 66ch;
}

.subpage-cta {
  background: var(--soft-cream);
  padding: 5rem var(--pad-x);
  text-align: center;
}

.subpage-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.subpage-cta-inner .over-header {
  display: block;
  text-align: center;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.subpage-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.subpage-cta p {
  font-size: 0.95rem;
  color: rgba(27, 51, 41, 0.62);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.subpage-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ============================================================
   Animations
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
}

.d1 { animation-delay: 0.07s; }
.d2 { animation-delay: 0.17s; }
.d3 { animation-delay: 0.29s; }

/* ============================================================
   Nav — booking button & wrapper flex
   ============================================================ */

.nav > nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.15rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--sans);
  line-height: 1;
}

.btn-book:hover { background: #2d5245; }

@media (max-width: 720px) {
  .btn-book { display: none; }
}

.btn-hero-book { display: none; }

@media (max-width: 720px) {
  .btn-hero-book { display: inline-block; }
}

/* ============================================================
   Booking page
   ============================================================ */

.booking-section {
  background: var(--cream);
  padding: 4rem var(--pad-x) 6rem;
}

.booking-section-inner {
  max-width: 800px;
  margin: 0 auto;
  transition: max-width 0.3s ease;
}

.booking-section-inner--wide {
  max-width: 960px;
}

.booking-over {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.65rem;
}

.booking-heading {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.booking-sub {
  font-size: 0.9rem;
  color: rgba(27, 51, 41, 0.6);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.booking-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 580px) {
  .booking-options { grid-template-columns: 1fr; }
}

.booking-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid rgba(27, 51, 41, 0.08);
  border-radius: 16px;
  padding: 2rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.booking-option:hover {
  border-color: rgba(27, 51, 41, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.booking-option-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
}

.booking-option-icon--brand { background: #FEF3C7; color: #D97706; }
.booking-option-icon--event { background: #CCFBF1; color: #0D9488; }
.booking-option-icon--assoc  { background: #DCFCE7; color: #16A34A; }
.booking-option-icon--other  { background: #EEF2FF; color: #4F46E5; }

.booking-option-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.booking-option-desc {
  font-size: 0.875rem;
  color: rgba(27, 51, 41, 0.58);
  line-height: 1.6;
}

.booking-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest);
  opacity: 0.55;
  transition: opacity 0.2s;
  padding: 0;
  margin-bottom: 1.5rem;
  font-family: var(--sans);
}

.booking-back:hover { opacity: 1; }

.booking-cal-wrap {
  width: 100%;
  height: 820px;
  overflow: hidden;
  border-radius: 8px;
}

.booking-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  gap: 0.75rem;
}

.booking-cs-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.booking-cs-sub {
  font-size: 0.9rem;
  color: rgba(27, 51, 41, 0.6);
  max-width: 36ch;
  line-height: 1.75;
}

.booking-cs-sub a { color: var(--forest); text-decoration: underline; }
.d4 { animation-delay: 0.43s; }
.d5 { animation-delay: 0.58s; }

/* TAS affiliation block (hero) */
.hero-affil {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tas-logo {
  height: 72px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.tas-logo:hover { opacity: 1; }

.hero-affil-text {
  font-size: 0.875rem;
  color: rgba(27, 51, 41, 0.62);
  line-height: 1.4;
  margin: 0;
}

.hero-affil-text a {
  color: rgba(27, 51, 41, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-affil-text a:hover { color: var(--forest); }

/* Footer identity link */
.footer-identity a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.75;
}

.footer-identity a:hover { opacity: 1; }
