/* Somersham Victory Hall – mockup stylesheet */
:root{
  --brick:#8a2a1f; --brick-dark:#6b1f17; --cream:#fbf6ee; --sand:#f1e7d6;
  --ink:#2a211c; --muted:#5d5148; --gold:#e0a53a; --green:#3f6b4a; --white:#fff;
  --radius:14px; --shadow:0 6px 24px rgba(60,35,20,.10);
  --max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Source Sans 3",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:1.0625rem;line-height:1.6;color:var(--ink);background:var(--cream)}
img{max-width:100%;display:block;height:auto}
a{color:var(--brick)}
a:hover{color:var(--brick-dark)}
h1,h2,h3{font-family:"Fraunces",Georgia,serif;line-height:1.15;color:var(--ink);margin:0 0 .5em}
h1{font-size:clamp(2.1rem,5vw,3.4rem);font-weight:700}
h2{font-size:clamp(1.6rem,3.4vw,2.3rem);font-weight:650}
h3{font-size:1.25rem;font-weight:650}
p{margin:0 0 1em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}
.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:.6rem 1rem;z-index:100}
.skip:focus{left:1rem}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.placeholder{display:inline-block;background:#fff3c4;border:2px dashed #b8860b;color:#5a4300;padding:.15rem .5rem;border-radius:6px;font-weight:600;font-size:.95rem}
.placeholder-box{background:#fff8dc;border:2px dashed #b8860b;color:#5a4300;border-radius:var(--radius);padding:1.25rem;text-align:center;font-weight:600}

/* Header */
.site-header{background:var(--white);border-bottom:1px solid #eadfcd;position:sticky;top:0;z-index:50}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:72px}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--ink)}
.brand-mark{width:44px;height:44px;border-radius:10px;background:var(--brick);color:#fff;display:grid;place-items:center;font-family:"Fraunces",serif;font-weight:700;font-size:1.1rem;letter-spacing:.02em}
.brand-text{font-family:"Fraunces",serif;font-weight:700;font-size:1.15rem;line-height:1.1}
.brand-text small{display:block;font-family:"Source Sans 3",sans-serif;font-weight:500;font-size:.8rem;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.menu{display:flex;align-items:center;gap:.25rem;list-style:none;margin:0;padding:0}
.menu a{display:block;padding:.55rem .8rem;border-radius:8px;text-decoration:none;color:var(--ink);font-weight:600}
.menu a:hover{background:var(--sand)}
.menu a[aria-current="page"]{color:var(--brick);background:var(--sand)}
.btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--brick);color:#fff !important;text-decoration:none;font-weight:700;padding:.8rem 1.3rem;border-radius:999px;border:2px solid var(--brick);transition:background .15s}
.btn:hover{background:var(--brick-dark);border-color:var(--brick-dark)}
.btn.ghost{background:transparent;color:var(--brick) !important}
.btn.ghost:hover{background:var(--sand)}
.btn.light{background:#fff;color:var(--brick) !important;border-color:#fff}
.btn.light:hover{background:var(--sand)}
.menu .btn{padding:.55rem 1.1rem;margin-left:.5rem}
.menu-toggle{display:none;background:none;border:2px solid var(--ink);border-radius:8px;padding:.45rem .7rem;font:inherit;font-weight:700;cursor:pointer}
@media (max-width:900px){
  .menu-toggle{display:block}
  .menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;padding:.75rem 1.25rem 1.25rem;border-bottom:1px solid #eadfcd;box-shadow:var(--shadow)}
  .menu.open{display:flex}
  .menu .btn{display:flex;margin:.5rem 0 0;justify-content:center}
}

/* Hero */
.hero{background:linear-gradient(135deg,var(--sand),var(--cream));padding:3.5rem 0 3rem}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:2.5rem;align-items:center}
.eyebrow{display:inline-block;font-weight:700;color:var(--green);text-transform:uppercase;letter-spacing:.08em;font-size:.85rem;margin-bottom:.6rem}
.lead{font-size:1.2rem;color:var(--muted);max-width:36em}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0}
.hero-photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:6px solid #fff;transform:rotate(1deg)}
.hero-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.quick-facts{display:flex;flex-wrap:wrap;gap:1.25rem;margin-top:1.25rem;padding:0;list-style:none;color:var(--muted);font-size:.98rem}
.quick-facts strong{display:block;font-family:"Fraunces",serif;font-size:1.6rem;color:var(--brick);line-height:1.1}
@media (max-width:800px){.hero-grid{grid-template-columns:1fr}.hero{padding:2rem 0}.hero-photo{transform:none}}

/* Sections */
section{padding:3.5rem 0}
.section-alt{background:#fff}
.section-head{max-width:46em;margin-bottom:2rem}
.section-head p{color:var(--muted)}
.grid{display:grid;gap:1.5rem}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){.g3,.g4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.g2,.g3,.g4{grid-template-columns:1fr}}
.card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.section-alt .card{background:var(--cream)}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.card-body{padding:1.25rem 1.35rem 1.4rem}
.card-body p:last-child{margin-bottom:0}
.tag{display:inline-block;background:var(--sand);color:var(--brick-dark);font-weight:700;font-size:.8rem;padding:.2rem .6rem;border-radius:999px;margin-bottom:.5rem}
.split{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
@media (max-width:800px){.split{grid-template-columns:1fr}}
.rounded{border-radius:var(--radius);box-shadow:var(--shadow);width:100%}

/* CTA band */
.cta-band{background:var(--brick);color:#fff;border-radius:var(--radius);padding:2.25rem;display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:space-between}
.cta-band h2{color:#fff;margin-bottom:.25rem}
.cta-band p{margin:0;color:#f7e6df}
.cta-band a:not(.btn){color:#fff}

/* Timetable */
.days{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem}
.day{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:1.1rem 1.25rem}
.day h3{color:var(--brick);border-bottom:2px solid var(--sand);padding-bottom:.4rem;margin-bottom:.5rem}
.day ul{list-style:none;margin:0;padding:0}
.day li{display:grid;grid-template-columns:6.6rem 1fr;gap:.5rem;padding:.4rem 0;border-bottom:1px dashed #eadfcd;font-size:.98rem}
.day li:last-child{border-bottom:0}
.day time{font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)}
.room{display:inline-block;font-size:.75rem;font-weight:700;padding:.05rem .45rem;border-radius:999px;margin-left:.25rem;vertical-align:middle}
.room.large{background:#e3efe6;color:#24452e}
.room.small{background:#f6e2dc;color:#6b1f17}
.room.combined{background:#e7e2f3;color:#3b2f63}
.room.community{background:#fdf0cf;color:#5a4300}
.legend{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1.25rem;color:var(--muted);font-size:.95rem}

/* Lists, details */
.contact-list{list-style:none;padding:0;margin:0}
.contact-list li{display:flex;gap:.75rem;align-items:flex-start;padding:.55rem 0;border-bottom:1px solid #eadfcd}
.contact-list .ico{flex:0 0 1.75rem;height:1.75rem;border-radius:50%;background:var(--sand);display:grid;place-items:center;font-size:.95rem}
details.group{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:1rem}
details.group summary{cursor:pointer;padding:1rem 3rem 1rem 1.25rem;font-size:1.1rem;list-style:none;display:flex;flex-direction:column;gap:.15rem;position:relative}
details.group summary::-webkit-details-marker{display:none}
details.group summary::after{position:absolute;right:1.25rem;top:1rem;content:"+";font-size:1.4rem;line-height:1;color:var(--brick)}
details.group[open] summary::after{content:"–"}
details.group .inner{padding:0 1.25rem 1.25rem}
details.group summary span{font-weight:500;color:var(--muted);font-size:.95rem}
.posters{columns:4 220px;column-gap:1rem}
.posters figure{break-inside:avoid;margin:0 0 1rem;background:#fff;padding:.5rem;border-radius:10px;box-shadow:var(--shadow)}
.posters figcaption{font-size:.85rem;color:var(--muted);padding:.4rem .2rem 0}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem}
.gallery img{aspect-ratio:1/1;object-fit:cover;border-radius:10px}
.timeline{border-left:3px solid var(--gold);padding-left:1.5rem;margin:0;list-style:none}
.timeline li{position:relative;padding-bottom:1.1rem}
.timeline li::before{content:"";position:absolute;left:-2.05rem;top:.35rem;width:.9rem;height:.9rem;border-radius:50%;background:var(--brick);border:3px solid var(--cream)}
.timeline strong{color:var(--brick)}
.page-hero{background:var(--sand);padding:2.75rem 0 2.25rem}
.page-hero p{color:var(--muted);max-width:44em;font-size:1.15rem;margin:0}
.notice{background:#fff;border-left:6px solid var(--gold);border-radius:10px;padding:1rem 1.25rem;box-shadow:var(--shadow)}
.map-frame{width:100%;height:380px;border:0;border-radius:var(--radius);box-shadow:var(--shadow)}
table.committee{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
table.committee th,table.committee td{text-align:left;padding:.6rem 1rem;border-bottom:1px solid #eadfcd}
table.committee th{background:var(--sand);width:40%}

/* Footer */
.site-footer{background:#2a211c;color:#eadfcd;padding:3rem 0 1.5rem;margin-top:0}
.site-footer a{color:#fff}
.site-footer h3{color:#fff;font-size:1.1rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}
@media (max-width:800px){.footer-grid{grid-template-columns:1fr}}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{padding:.2rem 0}
.footer-base{border-top:1px solid #4a3d34;margin-top:2rem;padding-top:1rem;font-size:.9rem;color:#cbbcab;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem}
.mockup-flag{background:#2a211c;color:#fff3c4;text-align:center;font-size:.85rem;padding:.35rem 1rem}
@media (max-width:480px){.brand-text small{display:none}.brand-text{font-size:1.05rem}.brand-mark{width:40px;height:40px}.quick-facts{gap:1rem}.cta-band{padding:1.5rem}}
