/* Cassilhaus Foster Arts — site styles
   Palette from the CHFA identity package:
   vermilion #F04F2A · cream #F1DFAA · olive #473B1A · dark olive #231C11 */

:root {
  --vermilion: #F04F2A;
  --vermilion-deep: #D63F1C;
  --cream: #F1DFAA;
  --cream-soft: #F8EFD3;   /* lighter cream for large fields */
  --paper: #FBF6E8;        /* page ground */
  --olive: #473B1A;
  --olive-mid: #6E5F35;
  --dark: #231C11;
  --ink: #231C11;
  --muted: #7A6E4E;
  --line: rgba(35, 28, 17, 0.14);
  --maxw: 1120px;
  --sans: "Montserrat", "Gotham", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 500; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.lede { font-size: 1.2rem; line-height: 1.55; font-weight: 400; color: var(--olive); }
.eyebrow {
  display: inline-block; font-size: 0.92rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--vermilion); margin-bottom: 1rem;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.narrow { max-width: 720px; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--vermilion); color: #fff; }
.btn-primary:hover { background: var(--vermilion-deep); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: var(--cream); }
.btn-light { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-light:hover { background: var(--cream); color: var(--dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 232, 0.92); backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-header .logo img { height: 36px; width: auto; }
.site-header nav { display: flex; gap: 1.6rem; align-items: center; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-header nav a { text-decoration: none; color: var(--olive); }
.site-header nav a:hover { color: var(--vermilion); }
.site-header nav .btn { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
@media (max-width: 640px) { .site-header nav a:not(.btn) { display: none; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--cream); padding: 4rem 0 2.5rem; margin-top: 5rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.site-footer img { height: 96px; width: auto; margin-bottom: 1.2rem; }
.site-footer h4 { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vermilion); margin-bottom: 0.8rem; }
.site-footer p, .site-footer li { font-size: 0.92rem; color: rgba(241, 223, 170, 0.85); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(241,223,170,.35); }
.site-footer a:hover { border-color: var(--vermilion); }
.site-footer .legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(241,223,170,.18); font-size: 0.78rem; line-height: 1.6; color: rgba(241,223,170,.6); }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr; gap: 2rem; } }

/* Utilities */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-cream { background: var(--cream-soft); }
.bg-dark { background: var(--dark); color: var(--cream); }
.bg-vermilion { background: var(--vermilion); color: #fff; }
.rule { height: 4px; width: 56px; background: var(--vermilion); border: 0; margin: 0 0 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
