:root{
  --bg:#f6f1eb;
  --surface:#ffffff;
  --surface-soft:#f8f2ec;
  --line:#dccfc0;
  --text:#2d221e;
  --muted:#6f5f56;
  --accent:#a04636;
  --accent-dark:#8d3a2b;
  --shadow:0 16px 34px rgba(56,36,26,.08);
  --radius:22px;
  --radius-sm:18px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(calc(100% - 28px),var(--max));margin:0 auto}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(14px);
  background:rgba(246,241,235,.94);
  border-bottom:1px solid var(--line);
}
.header-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
a.brand,
.brand{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}
.brand-logo{
  height:42px;
  width:auto;
  display:block;
  max-width:none;
  flex-shrink:0;
  border-radius:12px;
}
.brand-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.15;
}
.brand-copy strong{
  display:block;
  font-size:1.05rem;
  line-height:1.05;
}
.brand-copy span{
  display:block;
  color:var(--muted);
  font-size:.85rem;
  margin-top:2px;
}
.site-nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.site-nav a{
  color:var(--muted);
  font-weight:700;
  padding:8px 0;
  border-bottom:2px solid transparent;
  font-size:.95rem;
}
.site-nav a:hover,
.site-nav a.active{
  color:var(--accent);
  border-color:var(--accent);
}
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  padding:0;
}
.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  background:var(--text);
  margin:4px auto;
}

/* Typography */
h1,h2,h3{margin:0 0 10px;line-height:1.1}
h1{font-size:clamp(1.78rem,3.8vw,3.05rem)}
h2{font-size:clamp(1.56rem,3vw,2.45rem)}
h3{font-size:1.16rem}
p{margin:0 0 12px;color:var(--muted)}
.lead{font-size:1.01rem}
.meta{font-size:.92rem}
.eyebrow{
  display:inline-flex;
  align-items:center;
  padding:6px 11px;
  border-radius:999px;
  background:#f8ece4;
  color:var(--accent);
  font-size:.82rem;
  font-weight:700;
  margin-bottom:10px;
}
.tag{
  display:inline-block;
  padding:5px 9px;
  border-radius:999px;
  background:var(--surface-soft);
  color:var(--text);
  font-weight:700;
  font-size:.82rem;
  margin-bottom:8px;
}

/* Buttons */
.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.button,
.small-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  border-radius:999px;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.button{
  min-height:42px;
  padding:0 16px;
}
.small-button{
  min-height:36px;
  padding:0 12px;
  font-size:.9rem;
}
.button-primary,
.small-button{
  background:var(--accent);
  color:#fff;
  border:1px solid var(--accent);
}
.button-primary:hover,
.small-button:hover{
  background:var(--accent-dark);
  border-color:var(--accent-dark);
}
.button-secondary{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
}
.button-secondary:hover{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

/* Shared cards */
.panel,
.card,
.page-panel,
.video-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.panel,
.card,
.page-panel{padding:18px}
.card h3,
.panel h3{margin-bottom:8px}
.callout{
  padding:14px;
  border-radius:18px;
  background:#fff7f0;
  border:1px solid #edd8c8;
  margin-top:10px;
}
.list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin-bottom:7px}

/* Homepage */
body.index .hero{
  padding:24px 0 18px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  margin:0;
}
body.index .hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:18px;
  align-items:stretch;
}
body.index .hero-copy{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
  height:100%;
}
body.index .hero-card,
body.index .hero-photo-card{
  position:relative;
  overflow:hidden;
  border:.5px solid rgba(220,207,192,.65);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#ead7ca;
  height:100%;
}
body.index .hero-photo-card{
  aspect-ratio:1 / 1;
  min-height:0;
  padding:0;
}
body.index .hero-photo-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:inherit;
}
body.index .hero::before,
body.index .hero::after,
body.index .hero-card::before,
body.index .hero-card::after,
body.index .hero-photo-card::before,
body.index .hero-photo-card::after,
body.index .hero-image::before,
body.index .hero-image::after{
  display:none !important;
  content:none !important;
}
body.index .hero-image{
  margin:0 0 18px 0;
  display:block;
}
body.index .hero-image img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:16px;
}

.section{padding:22px 0 30px}
.section-head{margin-bottom:14px}
.split{display:grid;grid-template-columns:1fr;gap:16px;align-items:start}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}


/* Gallery page wrappers */
.wrap{
  width:min(calc(100% - 32px), var(--max));
  margin:28px auto 56px;
}
.hero{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
  margin-bottom:24px;
}
.hero .lead{margin:0;color:var(--muted)}
.caption{
  padding:10px 12px 12px;
}
.gallery-card{
  color:inherit;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  background:#f5eee6;
  padding:20px 0 30px;
}
.footer-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-nav{display:flex;gap:14px;flex-wrap:wrap}
.footer-nav a{color:var(--muted);font-weight:700}
.social-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.social-links a{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  border:1px solid var(--line);
  color:var(--muted);
  transition:all .25s ease;
  position:relative;
  overflow:hidden;
}
.social-links svg{
  width:18px;
  height:18px;
  fill:currentColor;
  position:relative;
  z-index:1;
}
.social-links a:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 20px rgba(0,0,0,.08);
}
.social-links a::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:50%;
  opacity:0;
  transition:opacity .25s ease;
}
.social-links a[aria-label="Instagram"]::before{
  background:radial-gradient(circle at 30% 30%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.social-links a[aria-label="Facebook"]::before{
  background:radial-gradient(circle, rgba(24,119,242,0.35), rgba(24,119,242,0));
}
.social-links a[aria-label="X"]::before{
  background:radial-gradient(circle, rgba(0,0,0,0.25), rgba(0,0,0,0));
}
.social-links a:hover::before{opacity:1}
.social-links a[aria-label="Instagram"]:hover{color:#E1306C}
.social-links a[aria-label="Facebook"]:hover{color:#1877F2}
.social-links a[aria-label="X"]:hover{color:#000}

/* Generic page hero */
.page-hero{padding:24px 0 12px}
.page-panel .eyebrow + h1,
.page-panel h1{margin-top:0}
.page-panel p,
.page-panel .lead,
.hero-copy p,
.card p{max-width:none}

/* Video / gallery cards */
.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.video-card{overflow:hidden}
.video-thumb{
  display:block;
  position:relative;
  aspect-ratio:16/9;
  background:#ddd;
  overflow:hidden;
}
.video-thumb img{width:100%;height:100%;object-fit:cover}
.video-thumb:after{
  content:"▶";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:64px;
  height:64px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(159,61,49,.92);
  color:#fff;
  font-size:1.65rem;
}
.video-copy{padding:14px}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
  gap:18px;
}
.gallery-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  padding:12px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gallery-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  border-color:var(--accent);
}
.gallery-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:12px;
  background:#f4efe9;
}
.gallery-caption,
.caption{
  color:var(--text);
  font-size:.92rem;
  line-height:1.3;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(20,18,16,.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
  padding:24px;
}
.lightbox.open{display:flex}
.lightbox-inner{
  position:relative;
  width:min(94vw, 1200px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.lightbox img{
  max-width:100%;
  max-height:82vh;
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.lightbox-bar,
.lightbox-caption{
  color:#fff;
  font-size:.95rem;
  text-align:center;
  opacity:.9;
}
.lb-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:none;
  width:46px;
  height:46px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:24px;
  cursor:pointer;
}
.lb-btn:hover{background:rgba(255,255,255,.22)}
.lb-prev{left:-8px}
.lb-next{right:-8px}
.lb-close{
  position:absolute;
  top:-8px;
  right:0;
  border:none;
  width:40px;
  height:40px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:22px;
  cursor:pointer;
}

/* Maps and tables */
.map-wrap{
  margin:14px 0 18px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.map-wrap iframe{
  display:block;
  width:100%;
  height:320px;
  border:0;
}
.table-wrap{overflow-x:auto}
.data-table{width:100%;border-collapse:collapse;font-size:.95rem}
.data-table th,
.data-table td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left}
.data-table thead{background:#faf7f2}
.data-table tfoot,
.data-table tfoot th{font-weight:700}

/* Resume */
.resume-layout{
  display:grid;
  grid-template-columns:minmax(260px, .95fr) minmax(0, 2fr);
  gap:24px;
  align-items:start;
}
.resume-card h2,
.year-summary-card h2{margin-bottom:16px}
.year-summary{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
}
.year-summary-item{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
  font-variant-numeric:tabular-nums;
}
.year-summary-item strong{
  flex:0 0 auto;
  display:block;
  margin:0;
  font-weight:700;
  color:var(--text);
  white-space:nowrap;
}
.year-summary-item span{
  flex:1 1 auto;
  min-width:0;
  margin:0;
  color:var(--muted);
  text-align:right;
  white-space:nowrap;
}
.resume-entry strong,
.resume-title,
.gallery-caption{color:var(--text)}

/* Performance list: tighter two-column layout with balanced fill */
.masonry{
  column-count:2;
  column-gap:20px;
  column-fill:balance;
}
.resume-entry{
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  page-break-inside:avoid;
  display:inline-block;
  width:100%;
  margin:0 0 10px;
  padding:0 0 9px;
  border-bottom:1px solid var(--line);
  font-weight:400;
}
.resume-entry strong{
  display:block;
  margin-bottom:2px;
  font-size:.98rem;
  line-height:1.24;
}
.resume-title{
  display:block;
  margin:0 0 1px;
  line-height:1.26;
}
.resume-meta{
  display:block;
  color:var(--muted);
  text-align:left;
  line-height:1.24;
}

/* Misc page-specific helpers */
a[href*="goo.gl/maps"]{
  color:var(--accent);
  font-weight:600;
}
a[href*="goo.gl/maps"]:hover{
  color:var(--accent-dark);
  text-decoration:underline;
}
.card img{
  width:100%;
  border-radius:12px;
  margin-bottom:10px;
}
.dance-card img{
  display:block;
  margin-bottom:26px;
}
.dance-card h3,
.dance-card .dance-title,
.dance-card .title{
  margin-top:10px;
  position:relative;
}
.history-page ul{
  margin-top:6px;
  margin-bottom:10px;
  padding-left:18px;
}
.history-page li{
  margin:2px 0;
  line-height:1.25;
}
.executive-page p{
  margin:4px 0;
  line-height:1.2;
}
hr.soft{border:none;border-top:1px solid var(--line);margin:14px 0}

/* Responsive */
@media (max-width: 920px){
  body.index .hero-grid,
  .grid-2,
  .grid-3,
  .video-grid,
  .resume-layout{grid-template-columns:1fr}

  .masonry{column-count:1; column-gap:0}

  .site-nav{
    position:absolute;
    top:72px;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:10px 14px 14px;
    background:rgba(246,241,235,.98);
    border-bottom:1px solid var(--line);
  }
  .site-nav.open{display:flex}
  .site-nav a{
    width:100%;
    padding:10px 0;
    border-bottom:1px solid rgba(220,207,192,.7);
  }
  .nav-toggle{display:block}
}

@media (max-width: 700px){
  .gallery-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
  .lb-btn{width:40px;height:40px}
}

@media (max-width: 640px){
  body.index .hero{padding-top:18px}
  body.index .hero-copy,
  .page-panel,
  .card,
  .panel{padding:16px}
  body.index .hero-photo-card{aspect-ratio:auto;min-height:350px}
  .brand-copy strong{font-size:.94rem}
  .brand-copy span{font-size:.78rem}
}

@media (min-width: 1400px){
  .page-panel p:not(.lead){
    max-width:85ch;
    margin-left:auto;
    margin-right:auto;
  }
}
