/* Baggerstown Events page. Every rule is scoped under .bt-events to avoid collisions with the theme. */
@font-face{font-family:BTRoboto;src:url('assets/Roboto-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:BTRoboto;src:url('assets/Roboto-Bold.woff2') format('woff2');font-weight:700 900;font-display:swap}

html:has(.bt-events){scroll-behavior:smooth;scroll-padding-top:100px}

.bt-events{--green:#85fe01;--purple:#742f8a;--ink:#080808;--white:#fff;--muted:#c7c7c7;background:var(--ink);color:var(--white);font:18px/1.55 BTRoboto,Roboto,Arial,sans-serif;margin-top:0!important}
.bt-events *{box-sizing:border-box}

/* Neutralise theme / block-layout defaults inside the page. */
.bt-events :where(.wp-block-group,.wp-block-buttons)>*{margin-block-start:0;margin-block-end:0}
.bt-events p{margin:0}
.bt-events h1,.bt-events h2,.bt-events h3{font-family:inherit;color:inherit;font-weight:700;line-height:.98;margin:0;letter-spacing:-.035em;text-transform:none}
.bt-events a:not(.wp-element-button){color:inherit;font-family:inherit;text-decoration:none}
.bt-events a{touch-action:manipulation}
.bt-events a:focus-visible{outline:3px solid var(--green);outline-offset:6px}
.bt-events img{display:block;max-width:100%;height:auto}
.bt-events figure.wp-block-image{margin:0}
.bt-events mark{background:transparent!important;color:inherit}
.bt-events h1 mark,.bt-events h2 mark{color:var(--green)!important}

.bt-events .wrap{width:min(1240px,calc(100% - 80px));margin-left:auto;margin-right:auto;max-width:none}

/* Buttons */
.bt-events .wp-block-buttons{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.bt-events .wp-block-button .wp-block-button__link{display:inline-flex;justify-content:center;align-items:center;gap:14px;padding:17px 22px;background:var(--green);color:#080808;font-family:inherit;font-size:16px;font-weight:700;line-height:1.35;border:2px solid var(--green);border-radius:0;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.bt-events .wp-block-button .wp-block-button__link:hover{background:#fff;border-color:#fff;color:#080808}
.bt-events .wp-block-button .wp-block-button__link:after{content:none}
.bt-events .wp-block-button.is-white .wp-block-button__link{background:#fff;border-color:#fff}
.bt-events .wp-block-button.is-white .wp-block-button__link:hover{background:var(--green);border-color:var(--green)}
.bt-events .wp-block-button.is-white{flex-shrink:0}
.bt-events .wp-block-button.is-outline .wp-block-button__link{background:transparent;color:#fff;border-color:#6b6b6b}
.bt-events .wp-block-button.is-outline .wp-block-button__link:hover{color:#080808;background:var(--green);border-color:var(--green)}
.bt-events .wp-block-button.text-link .wp-block-button__link{background:none;border:0;padding:0;color:#fff;font-size:15px;text-decoration:underline;text-underline-offset:6px}
.bt-events .wp-block-button.text-link .wp-block-button__link:hover{color:var(--green);background:none}

/* Shared type */
.bt-events .eyebrow{color:var(--green);text-transform:uppercase;letter-spacing:.14em;font-size:13px;font-weight:700;line-height:1.55;margin:0 0 18px}
.bt-events h1{font-size:clamp(42px,5.1vw,74px)}
.bt-events h2{font-size:clamp(40px,5.2vw,70px)}
.bt-events ul.wp-block-list{list-style:none;margin:20px 0 28px;padding:0}
.bt-events ul.wp-block-list li{position:relative;padding:0 0 0 19px;margin:0 0 12px}
.bt-events ul.wp-block-list li:before{content:'+';position:absolute;left:0;color:var(--green);font-weight:700}
.bt-events .text-link-inline{font-weight:700;font-size:15px;margin-top:auto}
.bt-events .text-link-inline a{text-decoration:underline!important;text-underline-offset:6px}
.bt-events .text-link-inline a:hover{color:var(--green)}

/* Hero */
.bt-events .hero{position:relative;padding:92px 0 86px;background:url('assets/graffiti.png') right top/100% 100% no-repeat,url('assets/texture.png') center/cover;isolation:isolate}
.bt-events .hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:50px;align-items:center}
.bt-events .lede{max-width:480px;font-size:21px;color:#e3e3e3;margin:28px 0}
.bt-events .hero-photo{margin:0;transform:rotate(2deg);border:3px solid var(--purple);box-shadow:14px 14px 0 #742f8a80}
.bt-events .hero-photo img{width:100%;aspect-ratio:1.25;object-fit:cover}
.bt-events .hero-photo figcaption{font-size:14px;font-weight:700;background:var(--purple);color:#fff;padding:13px 18px;margin:0;text-align:left}

/* Ribbon */
.bt-events .ribbon{background:var(--green);color:#080808;text-align:center;padding:18px 20px;font-weight:700;font-size:18px;letter-spacing:.1em}
.bt-events .ribbon mark{padding:0 22px;color:var(--purple)!important}

/* Sections */
.bt-events .section{padding-top:98px;padding-bottom:98px}
.bt-events .section-heading{margin-bottom:46px}
.bt-events .section-heading .intro{color:var(--muted);margin:24px 0 0;white-space:nowrap}

/* Spaces */
.bt-events .space-grid,.bt-events .package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.bt-events .space{border-bottom:4px solid var(--purple);display:flex;flex-direction:column}
.bt-events .space>figure img{width:100%;aspect-ratio:1.75;object-fit:cover;border-bottom:4px solid var(--purple)}
.bt-events .space-body{padding:28px 0 32px;display:flex;flex-direction:column;flex:1}
.bt-events .space .eyebrow{font-size:11px;margin-bottom:12px}
.bt-events .space h3,.bt-events .package h3{font-size:30px;line-height:1.05}
.bt-events .stats{display:flex;gap:22px;margin:24px 0 8px;font-size:13px;color:var(--muted)}
.bt-events .stats strong{display:block;font-size:27px;line-height:1.2;color:var(--green)}
.bt-events .space ul.wp-block-list{font-size:16px;flex:1}
.bt-events .combine{margin-top:48px;background:var(--purple);padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.bt-events .combine h3{font-size:27px;text-transform:uppercase;line-height:1.1}
.bt-events .combine p{margin:9px 0 0;font-size:17px}

/* Half buyouts */
.bt-events .half{background:#121212 url('assets/graffiti.png') center/100% 100% no-repeat}
.bt-events .package{background:#111;border:1px solid #494949;border-top:6px solid var(--purple);padding:30px 27px;display:flex;flex-direction:column}
.bt-events .package:last-child{border-top-color:var(--green)}
.bt-events .package ul.wp-block-list{flex:1;font-size:18px;margin-top:30px}
.bt-events .package .wp-block-button .wp-block-button__link{font-size:14px;padding:13px 10px;width:100%}
.bt-events .package .wp-block-buttons,.bt-events .package .wp-block-button{width:100%}
.bt-events .minimum{font-size:14px;color:var(--muted);margin:22px 0 0!important}

/* Total Takeover */
.bt-events .takeover-title{max-width:960px;margin-bottom:44px}
.bt-events .takeover h2{font-size:clamp(64px,8vw,112px)}
.bt-events .takeover-title h3{font-size:27px;margin-top:24px;text-transform:uppercase;line-height:1.2}
.bt-events .takeover-title p:not(.eyebrow){max-width:740px;color:var(--muted);margin-top:20px}
.bt-events .takeover-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:48px;align-items:center}
.bt-events .takeover-grid>figure img{width:100%;aspect-ratio:1.4;object-fit:cover;border-bottom:7px solid var(--purple)}
.bt-events .takeover-details h3{color:var(--green);font-size:31px}
.bt-events .takeover-details ul.wp-block-list{font-size:18px}

/* Inquiry */
.bt-events .inquiry{background:var(--purple);position:relative}
.bt-events .inquiry-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:start}
.bt-events .inquiry h2{font-size:clamp(40px,4.4vw,61px)}
.bt-events .inquiry p{max-width:530px}
.bt-events .inquiry-intro{margin-top:16px!important}
.bt-events .inquiry-panel{background:#080808;padding:38px;border-top:5px solid var(--green)}
.bt-events .inquiry-panel h3{font-size:31px;line-height:1.1}
.bt-events .inquiry-panel>p{color:var(--muted);margin:16px 0!important}
.bt-events .inquiry-panel .wp-block-buttons{margin-top:8px!important}
.bt-events .inquiry-panel>p.form-caption{font-size:13px;margin-bottom:0!important}
.bt-events .contact{margin-top:32px!important;padding-top:22px;border-top:1px solid #444}
.bt-events .contact p{margin:0;color:#fff}
.bt-events .contact p:first-child{font-size:14px;margin:0 0 10px}
.bt-events .contact a{display:block;overflow-wrap:anywhere}
.bt-events .contact a:hover{color:var(--green)}

/* Playbooks */
.bt-events .playbooks{margin-top:38px!important;scroll-margin-top:36px}
.bt-events .playbooks h3{font-size:27px;line-height:1.15}
.bt-events .playbooks>p{font-size:17px;line-height:1.6;margin-top:16px}
.bt-events .playbook-list{display:grid;gap:12px;margin-top:25px}
.bt-events .playbook-download{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:#080808;border-left:4px solid var(--green)}
.bt-events .playbook-download strong{display:block;font-size:18px;line-height:1.3}
.bt-events .playbook-download small{display:block;margin-top:7px;color:var(--muted);font-size:14px;line-height:1.4}
.bt-events .download-label{flex-shrink:0;color:var(--green);font-size:13px;font-weight:700}
.bt-events .playbook-download:hover{background:#181818}
.bt-events .playbook-download:hover strong{color:var(--green)}

@media(min-width:1600px){.bt-events .hero{background-size:100% 100%,cover}}
@media(max-width:1100px){.bt-events .section-heading .intro{white-space:normal}}
@media(max-width:1000px){
  .bt-events .wrap{width:calc(100% - 48px)}
  .bt-events .hero-grid{gap:30px}
  .bt-events h1{font-size:48px}
  .bt-events .hero-photo{transform:none}
  .bt-events .space-grid,.bt-events .package-grid{gap:20px}
  .bt-events .space h3,.bt-events .package h3{font-size:24px}
  .bt-events .stats{gap:14px}
  .bt-events .package{padding:24px 20px}
  .bt-events .takeover-grid,.bt-events .inquiry-grid{gap:32px}
  .bt-events .inquiry-panel{padding:28px}
  .bt-events .playbook-download{align-items:flex-start;flex-direction:column;gap:12px}
}
@media(max-width:720px){
  html:has(.bt-events){scroll-padding-top:20px}
  .bt-events{font-size:17px}
  .bt-events .wrap{width:calc(100% - 36px)}
  .bt-events .hero{padding:52px 0 60px;background-size:auto 100%,cover}
  .bt-events .hero-grid,.bt-events .takeover-grid,.bt-events .inquiry-grid{grid-template-columns:1fr;gap:34px}
  .bt-events h1{font-size:clamp(35px,9vw,60px)}
  .bt-events .hero-photo img{aspect-ratio:1.55}
  .bt-events .ribbon{font-size:12px;letter-spacing:.03em}
  .bt-events .ribbon mark{padding:0 7px}
  .bt-events .section{padding-top:64px;padding-bottom:64px}
  .bt-events .space-grid,.bt-events .package-grid{grid-template-columns:1fr;gap:36px}
  .bt-events .space h3,.bt-events .package h3{font-size:31px}
  .bt-events .space>figure img{aspect-ratio:1.8}
  .bt-events .space-body{padding-bottom:24px}
  .bt-events .combine{padding:25px;flex-direction:column;align-items:flex-start}
  .bt-events .combine h3{font-size:25px}
  .bt-events .package{padding:30px}
  .bt-events .package .wp-block-buttons,.bt-events .package .wp-block-button{width:auto}
  .bt-events .package .wp-block-button .wp-block-button__link{font-size:16px;padding:15px;width:auto}
  .bt-events .package ul.wp-block-list{margin-bottom:24px}
  .bt-events .takeover h2{font-size:76px}
  .bt-events .takeover-title h3{font-size:23px}
  .bt-events .takeover-grid>figure img{aspect-ratio:1.6}
  .bt-events .inquiry-panel{padding:27px}
  .bt-events .inquiry h2{font-size:44px}
  .bt-events .playbook-download{flex-direction:row;align-items:center}
  .bt-events .playbook-download strong{font-size:17px}
  .bt-events .download-label{font-size:12px}
}
@media(max-width:420px){.bt-events .playbook-download{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){html:has(.bt-events){scroll-behavior:auto}.bt-events *{transition:none!important}}
