/* Female Founders in Hospitality
   Palette and type from the FFiH Style Guide */
:root {
  --teal: #106277;
  --mint: #aeebab;
  --sand: #e7dfda;
  --peach: #f5936a;
  --orange: #f65709;
  --navy: #021b2f;
  --white: #ffffff;

  --orange-dark: #c94604;   /* hover state for primary buttons */
  --error: #b3261e;
  --text: var(--navy);
  --muted: #3c4f5e;
  --line: rgba(2, 27, 47, 0.14);

  --font: "Futura", "Futura PT", "Jost", "Century Gothic", sans-serif;
  --radius: 4px;
  --container: 1180px;
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); }

h1, h2, h3 {
  font-family: var(--font);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1.2em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-lg { font-size: 1rem; padding: 1em 2em; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.link-button {
  background: none; border: 0; padding: 0; font: inherit;
  color: inherit; text-decoration: underline; cursor: pointer;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}
.brand img { width: 96px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav a:not(.btn):hover { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle .bar {
  display: block; width: 26px; height: 2px; margin: 6px 0;
  background: var(--teal); transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--sand) 0%, #f3eeea 60%, var(--white) 100%);
  padding: 72px 0 96px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 2em; }

/* Photo carousel */
.carousel-viewport {
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mint);
  box-shadow: 0 24px 48px -24px rgba(2, 27, 47, 0.35);
  touch-action: pan-y;
}
.carousel-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; height: 100%;
  transition: transform 0.6s ease;
}
.carousel-slide { flex: 0 0 100%; height: 100%; }
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover;
  user-select: none; -webkit-user-drag: none;
}
.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 16px;
}
.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--teal); background: transparent; color: var(--teal);
  cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.carousel-btn:hover { background: var(--teal); color: var(--white); }
.carousel-btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.carousel-btn .icon-play { fill: currentColor; stroke-width: 1.5; }
.carousel-btn .icon-play, .carousel.paused .icon-pause { display: none; }
.carousel.paused .icon-play { display: block; }
.carousel-dots { display: flex; gap: 4px; }
.carousel-dots button {
  width: 24px; height: 24px; padding: 0;
  border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.carousel-dots button::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s;
}
.carousel-dots button[aria-current="true"]::before { opacity: 1; background: var(--orange); transform: scale(1.2); }

/* Sections */
.section { padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 56px; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-art {
  background: var(--mint);
  color: var(--teal);
  border-radius: 8px;
  padding: 56px 48px;
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
}
.about-art svg { width: 100%; height: auto; }
.about-copy p:not(.eyebrow) { color: var(--muted); }

/* Leadership */
.leadership { background: var(--sand); }
.team {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
}
.member {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 24px;
}
.member .photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--mint); margin-bottom: 20px; }
.member .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.4s;
}
.member:hover .photo img { transform: scale(1.04); }
.member h3 { padding: 0 16px; margin-bottom: 0.4em; }
.member p { font-size: 0.9rem; line-height: 1.45; margin: 0 16px 0.3em; }
.member .role { color: var(--navy); }
.member .ffih-role { color: var(--muted); font-style: italic; }
.linkedin {
  margin: auto auto 0;
  padding-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.linkedin svg { width: 22px; height: 22px; }
.linkedin:hover { color: var(--orange); }

/* Community CTA */
.community { background: var(--teal); color: var(--white); padding: 80px 0; }
.community h2 { color: var(--white); }
.community .eyebrow { color: var(--mint); }
.community p { max-width: 32em; margin-bottom: 0; }
.community-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.community-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.faq-intro p:not(.eyebrow) { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat;
  transition: transform 0.25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--orange); }
.answer { padding: 0 48px 24px 0; color: var(--muted); }
.answer p { margin: 0; }

/* Legal pages */
.legal { background: linear-gradient(180deg, var(--sand) 0, var(--white) 320px); padding: 80px 0 110px; }
.legal-inner { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  margin-top: 2.2em;
}
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.legal li { margin-bottom: 0.5em; }
.legal li::marker { color: var(--orange); }
.legal-meta { font-weight: 600; color: var(--teal) !important; }

/* Application page */
.apply-hero { background: linear-gradient(180deg, var(--sand) 0%, #f3eeea 70%, var(--white) 100%); padding: 72px 0 40px; }
.apply-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.apply-hero p:not(.eyebrow):not(.lead) { color: var(--muted); }
.apply-body { padding: 16px 0 110px; }
.apply-narrow { max-width: 820px; }

.terms-box {
  background: var(--sand);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 28px 32px 12px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}
.terms-box h2 { font-size: 1.1rem; letter-spacing: 0.08em; }

.form-note { font-size: 0.9rem; color: var(--muted); }
.req { color: var(--orange-dark); font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.error-summary {
  border: 2px solid var(--error);
  background: #fdf1f0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.error-summary[hidden] { display: none; }
.error-summary h2 { color: var(--error); font-size: 1rem; letter-spacing: 0.06em; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--error); }

.form-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 32px 12px;
  margin: 0 0 32px;
  min-width: 0;
}
.form-section > legend {
  display: flex; align-items: center; gap: 12px;
  padding: 0 12px;
  margin-left: -12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.step {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-size: 1rem; letter-spacing: 0;
}

.field { margin-bottom: 26px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field-short { max-width: 320px; }
.field > label, .field .label, .choice-group > legend {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.choice-group { border: 0; padding: 0; }
.choice-group > legend { padding: 0; }
.field-hint { font-size: 0.88rem; color: var(--muted); margin: -4px 0 10px; line-height: 1.5; }

.application input[type="text"],
.application input[type="email"],
.application input[type="tel"],
.application input[type="url"],
.application input[type="number"],
.application textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #b7c2ca;
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.application textarea { resize: vertical; min-height: 110px; }
.application input:focus, .application textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(16, 98, 119, 0.2);
}
.application [aria-invalid="true"]:not([type=radio]):not([type=checkbox]) { border-color: var(--error); }

.input-suffix { position: relative; }
.input-suffix input { padding-right: 40px !important; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }

.choices { display: grid; gap: 10px; }
.choices.inline { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid #cfd7dc;
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  line-height: 1.35;
  transition: border-color 0.15s, background-color 0.15s;
}
.choices.inline .choice { min-width: 96px; }
.choice:hover { border-color: var(--teal); }
.choice:has(input:checked) { border-color: var(--teal); background: rgba(174, 235, 171, 0.3); }
.choice input[type="radio"], .choice input[type="checkbox"] {
  flex: none; width: 20px; height: 20px; margin: 0;
  accent-color: var(--teal);
  cursor: pointer;
}
.choice-other { cursor: default; flex-wrap: wrap; }
.choice-other label { cursor: pointer; }
.choice-other input[type="text"] { flex: 1 1 200px; width: auto !important; padding: 8px 12px !important; }

.file-drop {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  border: 2px dashed #b7c2ca;
  border-radius: 8px;
  padding: 24px;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.15s, background-color 0.15s;
}
.file-drop:hover, .file-drop.dragging { border-color: var(--teal); background: rgba(174, 235, 171, 0.2); }
.file-drop:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(16, 98, 119, 0.2); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop strong { color: var(--teal); text-decoration: underline; }
.file-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.has-error .file-drop { border-color: var(--error); }

.field-error {
  color: var(--error);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 8px 0 0;
}
.field-error::before { content: "! "; }

.founder-note { margin: 10px 0 0; padding: 10px 14px; background: rgba(245, 147, 106, 0.18); border-radius: var(--radius); color: var(--navy); }
.founder-note[hidden] { display: none; }

.conditional { border-left: 3px solid var(--mint); padding-left: 20px; margin-bottom: 20px; }
.conditional[hidden] { display: none; }

.agree { padding: 24px 32px; }
.agree-choice { border: 0; padding: 0; align-items: flex-start; font-weight: 600; color: var(--navy); }
.agree-choice:has(input:checked) { background: none; }
.agree-choice input { margin-top: 2px !important; }

.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-actions .btn:disabled { opacity: 0.6; cursor: progress; }
.form-status { margin: 0; font-weight: 600; color: var(--teal); }
.form-status.error { color: var(--error); }

.thank-you {
  text-align: center;
  background: var(--sand);
  border-radius: 8px;
  padding: 56px 40px;
  outline: none;
}
.thank-you[hidden] { display: none; }
.thank-you h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.thank-you p:not(.eyebrow) { color: var(--muted); max-width: 36em; margin-left: auto; margin-right: auto; }

/* Header login button */
.site-nav .nav-login { padding: 0.7em 1.3em; margin-left: -20px; }

/* Login page */
.login-page {
  background: linear-gradient(180deg, var(--sand) 0%, #f3eeea 60%, var(--white) 100%);
  padding: 80px 0 120px;
}
.login-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 24px 48px -24px rgba(2, 27, 47, 0.3);
  text-align: center;
}
.login-card h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.login-card h2 { font-size: 1.3rem; }
.login-card p { color: var(--muted); }
.login-step[hidden] { display: none; }
.login-step:focus { outline: none; }
.login-form { text-align: left; }
.login-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.login-form input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid #b7c2ca;
  border-radius: var(--radius);
}
.login-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(16, 98, 119, 0.2); }
.login-form input[aria-invalid] { border-color: var(--error); }
.login-form .field-error { margin-top: 8px; }
.login-form .field-error::before { content: none; }
.login-form .btn { width: 100%; margin-top: 20px; }
.login-form .btn:disabled { opacity: 0.6; cursor: progress; }
.login-icon { font-size: 2.6rem; color: var(--teal) !important; margin: 0; }
.demo-note { background: rgba(174, 235, 171, 0.35); border-radius: var(--radius); padding: 10px 14px; font-size: 0.9rem; }
.demo-buttons { display: grid; gap: 12px; }

@media (max-width: 820px) {
  .site-nav .nav-login { margin-left: 0; margin-top: 12px; }
}

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.8); padding: 64px 0 40px; font-size: 0.9rem; }
.site-footer a { color: inherit; }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--peach); }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 48px;
  align-items: center;
}
.site-footer .brand img {
  width: 110px;
  background: var(--white);
  border-radius: 6px;
  padding: 8px;
}
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-end; }
.footer-nav a {
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600;
}
.footer-legal { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 24px; }
.copyright { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, 0.6); }

/* Cookie consent */
.consent-banner {
  position: fixed;
  left: 24px; bottom: 24px; z-index: 100;
  width: min(440px, calc(100vw - 32px));
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(2, 27, 47, 0.25);
  font-size: 0.9rem;
  line-height: 1.55;
}
.consent-banner[hidden] { display: none; }
.consent-title { font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--navy); margin-bottom: 0.6em; }
.consent-banner p { color: var(--muted); margin-bottom: 1.2em; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 auto; font-size: 0.75rem; padding: 0.8em 1em; letter-spacing: 0.08em; }

.consent-modal {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(2, 27, 47, 0.35);
}
.consent-modal::backdrop { background: rgba(2, 27, 47, 0.55); }
.consent-form { display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.consent-modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.consent-modal-head h2 { font-size: 1.1rem; text-transform: none; letter-spacing: 0; color: var(--navy); margin: 0; }
.icon-button {
  background: none; border: 0; font-size: 1.8rem; line-height: 1;
  color: var(--navy); cursor: pointer; padding: 0 4px;
}
.consent-modal-body { overflow-y: auto; padding: 20px 24px; font-size: 0.88rem; color: var(--muted); }
.consent-category { border-top: 1px solid var(--line); padding: 16px 0 4px; }
.consent-category p { margin-bottom: 0.8em; }
.consent-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.consent-row h3 { font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: var(--navy); margin: 0 0 0.3em; }
.always-on { color: var(--teal); font-weight: 600; font-size: 0.8rem; }
.consent-modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); }

/* Toggle switch */
.switch {
  appearance: none;
  flex: none;
  width: 44px; height: 24px;
  border-radius: 24px;
  background: #c3cbd1;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0;
}
.switch::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s;
}
.switch:checked { background: var(--teal); }
.switch:checked::after { transform: translateX(20px); }

.consent-revisit {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(2, 27, 47, 0.3);
}
.consent-revisit[hidden] { display: none; }
.consent-revisit svg { width: 24px; height: 24px; fill: currentColor; }
.consent-revisit:hover { background: var(--orange); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .about-inner, .faq-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-art { order: 2; }
  .section { padding: 80px 0; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .brand img { width: 76px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  /* Centre the odd card out in the two-column grid */
  .member:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
  .member h3 { font-size: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .consent-banner { left: 16px; bottom: 16px; }
  .answer { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; }
  .form-section { padding: 24px 16px 4px; }
  .agree { padding: 20px 16px; }
  .terms-box { padding: 20px 20px 4px; }
  .apply-hero { padding: 48px 0 32px; }
  .thank-you { padding: 40px 20px; }
}

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