/* Broadstage Media: light green + yellow */
:root {
  --leaf: #C9EBB0;        /* light green */
  --leaf-soft: #EEF7E6;   /* page background */
  --leaf-deep: #9FD47F;
  --sun: #F7D23E;         /* yellow */
  --sun-soft: #FFF4C2;
  --moss: #1F3B22;        /* text, dark green */
  --moss-2: #45694A;      /* secondary text */
  --white: #FFFFFF;
  --line: rgba(31, 59, 34, 0.14);
  --error: #B42318;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--leaf-soft);
  color: var(--moss);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--sun); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, transform .15s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sun); color: var(--moss); border-color: var(--moss); box-shadow: 4px 4px 0 var(--moss); }
.btn-primary:hover { background: #FFDD55; }
.btn-ghost { background: transparent; color: var(--moss); border-color: var(--moss); }
.btn-ghost:hover { background: rgba(255,255,255,.5); }
.btn-dark { background: var(--moss); color: var(--sun); }
.btn-dark:hover { background: #2B4F2F; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(201, 235, 176, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand small { font-weight: 500; font-size: .95rem; margin-left: 4px; color: var(--moss-2); letter-spacing: 0; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { text-decoration: none; font-weight: 500; padding: 10px 14px; border-radius: 999px; }
.site-nav a:hover { background: rgba(255,255,255,.55); }
.site-nav .nav-cta { background: var(--moss); color: var(--sun); margin-left: 6px; }
.site-nav .nav-cta:hover { background: #2B4F2F; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--moss); background: var(--sun); cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 50%; width: 20px; height: 2px; background: var(--moss); border-radius: 2px; transform: translateX(-50%); transition: transform .2s, opacity .2s; content: ""; }
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { background: var(--leaf); padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -0.035em; max-width: 13ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--moss-2); margin-top: 22px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Gate panel: signature element */
.gate { background: var(--moss); color: var(--leaf-soft); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); box-shadow: 10px 10px 0 var(--sun); }
.gate-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .95rem; }
.gate-live { display: inline-flex; align-items: center; gap: 8px; background: rgba(247, 210, 62, .16); color: var(--sun); font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(247,210,62,.7); } 100% { box-shadow: 0 0 0 10px rgba(247,210,62,0); } }
.gate-name { color: var(--leaf); }
.gate-count { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 22px 0 16px; }
.gate-number { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.2rem); line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.gate-unit { color: var(--leaf); font-size: 1.05rem; }
.gate-bar { height: 12px; background: rgba(201,235,176,.18); border-radius: 999px; overflow: hidden; }
.gate-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf-deep), var(--sun)); border-radius: inherit; transition: width .6s ease; }
.gate-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .9rem; color: var(--leaf); }
.gate-meta strong { color: var(--white); font-weight: 600; }
.gate-feed { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.gate-feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; background: rgba(255,255,255,.06); border-radius: var(--radius-sm); font-size: .92rem; }
.gate-feed li.is-new { animation: slideIn .45s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.tag { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--leaf); color: var(--moss); }
.tag-vip { background: var(--sun); }
.tag-press { background: var(--white); }
.time { color: var(--leaf); font-size: .82rem; white-space: nowrap; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2, .access h2, .contact h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
.section-head p { color: var(--moss-2); max-width: 52ch; }

/* Services: varied sizes, not identical cards */
.service-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service { grid-column: span 2; background: var(--white); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.service h3 { font-size: 1.45rem; font-weight: 700; }
.service p { color: var(--moss-2); }
.service-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--leaf); display: grid; place-items: center; margin-bottom: 6px; }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--moss); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.service-points { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.service-points li { font-size: .85rem; font-weight: 500; background: var(--leaf-soft); padding: 5px 12px; border-radius: 999px; }
.service-feature { grid-column: span 2; grid-row: span 2; background: var(--sun); border-color: var(--moss); border-width: 2px; }
.service-feature .service-icon { background: var(--moss); }
.service-feature .service-icon svg { stroke: var(--sun); }
.service-feature h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.service-feature p { color: var(--moss); font-size: 1.1rem; }
.badge-art { width: min(100%, 260px); margin: auto; padding: 16px 0; }
.service-feature .service-points li { background: rgba(255,255,255,.6); }
.service-list .service:nth-child(1) { grid-column: 1 / span 2; }
.service-list .service:nth-child(2) { grid-column: 3 / span 2; }
.service-list .service-feature { grid-column: 5 / span 2; grid-row: 1 / span 2; }
.service-list .service:nth-child(4) { grid-column: 1 / span 2; }
.service-list .service:nth-child(5) { grid-column: 3 / span 2; }
.service-cta { grid-column: 1 / -1 !important; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; background: transparent; border: 2px dashed var(--leaf-deep); }
.service-cta h3 { font-size: 1.35rem; }
.service-cta p { flex: 1 1 320px; }

/* Access */
.access { background: var(--sun-soft); border-top: 2px solid var(--moss); border-bottom: 2px solid var(--moss); }
.access-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.access-copy { position: sticky; top: 110px; display: grid; gap: 22px; justify-items: start; }
.access-copy p { color: var(--moss-2); max-width: 48ch; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; row-gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.steps li:first-child { padding-top: 0; }
.steps li::before { content: counter(step); grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--moss); color: var(--sun); font-family: var(--display); font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; }
.steps h3 { font-size: 1.35rem; font-weight: 700; align-self: end; }
.steps p { color: var(--moss-2); }

/* Events */
.event-types { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.event-types li { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.4rem); padding: 14px 24px; border-radius: 999px; background: var(--white); border: 2px solid var(--moss); }
.event-types li:nth-child(3n+1) { background: var(--leaf); }
.event-types li:nth-child(4n+2) { background: var(--sun); }

/* Contact */
.contact { background: var(--leaf); }
.contact-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info > p { color: var(--moss-2); margin-top: 18px; max-width: 44ch; }
.contact-details { margin: 34px 0 0; display: grid; gap: 18px; }
.contact-details div { border-top: 1px solid var(--line); padding-top: 14px; }
.contact-details dt { font-size: .9rem; color: var(--moss-2); }
.contact-details dd { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.35rem); overflow-wrap: anywhere; }
.contact-details a { text-decoration: none; border-bottom: 2px solid var(--sun); }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); border: 2px solid var(--moss); box-shadow: 10px 10px 0 var(--sun); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--moss-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--moss);
  background: var(--leaf-soft); border: 2px solid transparent; border-radius: 12px;
  padding: 13px 14px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231F3B22' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); background: var(--white); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #FFF5F4; }
.field-error { color: var(--error); font-size: .88rem; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty, .form-status:not([data-state]) { display: none; }
.form-status { padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status[data-state="success"] { background: var(--leaf); }
.form-status[data-state="error"] { background: #FDE7E5; color: var(--error); }

/* Footer */
.site-footer { background: var(--moss); color: var(--leaf-soft); padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.brand-footer small { color: var(--leaf); }
.footer-note { margin-top: 14px; max-width: 40ch; color: var(--leaf); }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--sun); }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(201,235,176,.2); font-size: .88rem; color: var(--leaf); }

/* Responsive */
@media (max-width: 1024px) {
  .service-list { grid-template-columns: 1fr 1fr; }
  .service-list .service, .service-list .service:nth-child(n) { grid-column: auto; grid-row: auto; }
  .service-list .service-feature { grid-column: 1 / -1; grid-row: auto; }
  .badge-art { display: none; }
  .service-cta { grid-column: 1 / -1 !important; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--leaf); padding: 12px clamp(18px, 4vw, 40px) 20px;
    border-bottom: 2px solid var(--moss);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }

  .hero-inner, .access-inner, .contact-inner, .section-head { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .access-copy { position: static; }
  .gate { max-width: 560px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .service-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .gate { box-shadow: 6px 6px 0 var(--sun); }
  .contact-form { box-shadow: 6px 6px 0 var(--sun); }
  .gate-meta { flex-direction: column; gap: 2px; }
  .steps li { grid-template-columns: 48px 1fr; column-gap: 14px; }
  .steps li::before { width: 44px; height: 44px; font-size: 1.15rem; }
  .event-types li { padding: 10px 18px; }
  .service-cta { flex-direction: column; align-items: flex-start; }
}

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