*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --bg:#fff;
  --text:#161c39;
  --text-secondary:#555;
  --text-light:#ccc;
  --border:#e0e0e0;
  --navy:#161c39;
  --accent:#f497ff;
  --accent-dark:#93aaf8;
  --accent-light:#e5e9fc;
  --light-bg:#f6f6f6;
  --footer-bg:#161c39;
  --footer-text:#ccc;
  --radius:20px;
  --max-width:1200px;
  --nav-height:auto;
  --section-pad:80px 0;
  --font:"Helvetica Neue",Arial,sans-serif;
}

html{font-size:16px;scroll-behavior:smooth}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.3;font-weight:700;letter-spacing:-.02em;-webkit-font-smoothing:antialiased}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}

/* SECTION THEMES */
.theme-white{background:var(--bg);color:var(--text)}
.theme-black{background:var(--navy);color:#fff}
.theme-black h1,.theme-black h2,.theme-black h3,.theme-black h4,.theme-black p,.theme-black li,.theme-black label{color:#fff}
.theme-black .text-secondary{color:var(--accent-light)}
.theme-black a{color:#fff}
.theme-black .download-btn{border-color:#fff;color:#fff}
.theme-black .download-btn:hover{background:#fff;color:var(--navy)}
.theme-black .faq-item{border-color:rgba(255,255,255,.15)}
.theme-black .contact-form input,.theme-black .contact-form textarea,.theme-black .contact-form select{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}
.theme-black .contact-form button{background:#fff;color:var(--navy)}
.theme-light{background:var(--light-bg);color:var(--text)}
.theme-light-bold{background:var(--accent-light);color:var(--text)}

/* HERO WITH BACKGROUND IMAGE */
.hero-bg{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;background-size:cover;background-position:center}
.hero-bg::after{content:'';position:absolute;inset:0;background:rgba(22,28,57,.55)}
.hero-bg .hero-content{position:relative;z-index:1;padding:80px 24px;width:100%}
.hero-bg h1,.hero-bg h2,.hero-bg p{color:#fff}
.hero-bg--tall{min-height:70vh}
.hero-bg--medium{min-height:50vh}
.hero-bg--short{min-height:35vh}

/* SECTION DIVIDERS */
.section-divider{position:relative;width:100%;height:6vw;margin-top:-1px;overflow:hidden;line-height:0}
.section-divider svg{position:absolute;width:100%;height:100%;left:0;top:0}

/* NAV — matches Squarespace: transparent, fixed, navRight layout */
.site-header{position:fixed;top:0;left:0;right:0;z-index:10;background-color:transparent;padding:.6vw 1vw;pointer-events:none;transition:transform 140ms ease-in-out}
.site-header>*{pointer-events:auto}
.site-header.nav-hidden{transform:translateY(-100%)}
.site-header.scrolled{background-color:var(--navy)}
.nav-inner{max-width:3000px;margin:0 auto;width:100%;display:flex;align-items:center}
.nav-logo img{height:50px;width:auto;max-height:50px}
.nav-links{display:flex;align-items:center;margin-left:auto;padding-left:1.6vw}
.nav-links a{font-family:var(--font);font-weight:700;font-size:1rem;letter-spacing:-.02em;color:#fff;transition:opacity .2s;margin-left:1.4vw}
.nav-links a:first-child{margin-left:0}
.nav-links a:hover{opacity:.6}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px}
.nav-toggle span{display:block;width:24px;height:2px;background:#fff;margin:5px 0;transition:.3s}

/* HERO */
.hero{padding:var(--section-pad);text-align:center}
.hero h1{font-size:3.5rem;font-weight:300;letter-spacing:.15em;text-transform:uppercase;margin-bottom:24px}

/* HOMEPAGE HERO — fluid-engine grid (Squarespace layout values) */
.hero-fluid{background:var(--navy);position:relative;overflow:clip}
.hero-grid{display:grid;position:relative;grid-template-rows:repeat(32,minmax(24px,auto));grid-template-columns:minmax(6vw,1fr) repeat(8,minmax(0,calc(1500px/8))) minmax(6vw,1fr);overflow-x:clip}
.hero-img{position:relative;overflow:hidden}
.hero-img img{width:100%;height:100%;display:block}
.hero-img-1{grid-area:1/1/9/7;z-index:3}
.hero-img-1 img{object-fit:contain;object-position:38% 36.8%;border-radius:0 100px 100px 50px}
.hero-img-2{grid-area:9/4/17/11;z-index:5}
.hero-img-2 img{object-fit:cover;object-position:50% 50%;clip-path:url(#tv-mask)}
.hero-title{grid-area:11/2/16/10;z-index:7;display:flex;align-items:center;justify-content:center;position:sticky;top:calc(50vh - 10vw)}
.hero-title h1{font-size:22vw;font-weight:700;color:#fff;line-height:.85;white-space:nowrap;letter-spacing:-.02em}
.hero-img-3{grid-area:18/1/26/8;z-index:1}
.hero-img-3 img{object-fit:contain;object-position:46.66% 33.6%;border-radius:50px}
.hero-img-4{grid-area:26/7/32/11;z-index:2}
.hero-img-4 img{object-fit:contain;object-position:56% 19.2%;border-radius:0 50px 50px 10px}
@media(min-width:768px){
  .hero-grid{--cw:min(1500px,calc(100vw - 8vw));grid-template-rows:repeat(54,minmax(calc(var(--cw)*0.0215),auto));grid-template-columns:minmax(4vw,1fr) repeat(24,minmax(0,calc(1500px/24))) minmax(4vw,1fr)}
  .hero-img-1{grid-area:3/2/17/14}
  .hero-img-2{grid-area:1/15/17/26;z-index:4}
  .hero-title{grid-area:40/2/55/26;align-items:flex-end;justify-content:flex-end;position:sticky;bottom:0;top:auto}
  .hero-title h1{font-size:28vw}
  .hero-img-3{grid-area:18/10/43/27;z-index:2}
  .hero-img-4{grid-area:30/2/54/11;z-index:1}
}

/* SECTIONS */
.section{padding:var(--section-pad);max-width:var(--max-width);margin:0 auto;padding-left:24px;padding-right:24px}
.section h2{font-size:1.8rem;font-weight:400;letter-spacing:.1em;text-transform:uppercase;margin-bottom:40px}
.section h3{font-size:1.2rem;font-weight:600;margin-bottom:16px}
.section h4{font-size:1rem;font-weight:600;margin-bottom:12px;text-transform:uppercase;letter-spacing:.05em}
.section p{margin-bottom:16px;max-width:720px}
.section-full{padding:var(--section-pad);padding-left:24px;padding-right:24px}
.section-centered{text-align:center}
.section-centered p{margin-left:auto;margin-right:auto}
.desc-card{background:#fff;color:var(--text);border-radius:22px;padding:10% 12%;max-width:900px;margin:0 auto;font-weight:600;line-height:1.4}
.desc-card p,.desc-card h1,.desc-card h2,.desc-card h3,.desc-card h4{color:var(--text)}
.desc-card p{margin-bottom:10px}
.desc-card p:last-child{margin-bottom:0}

/* IMAGE GRID — rounded corners */
.img-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-bottom:40px}
.img-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}

/* IMAGE GALLERY (clients) — larger logos */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;margin-bottom:40px;align-items:center}
.gallery-grid img{width:100%;aspect-ratio:1;object-fit:contain;padding:12px}

/* RELEASES GRID — album art, tight */
.releases-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;margin-bottom:40px}
.releases-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}

/* FULL WIDTH IMAGE */
.full-img{width:100%;max-height:500px;object-fit:cover}

/* GEAR SECTIONS — side by side: photos + list */
.gear-section{margin-bottom:60px}
.gear-section h2{font-size:1.8rem;font-weight:400;letter-spacing:.1em;text-transform:uppercase;margin-bottom:24px}
.gear-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.gear-photos{display:grid;grid-template-columns:1fr;gap:12px}
.gear-photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}
.gear-photos--row{grid-template-columns:1fr 1fr 1fr}
.gear-lists{display:flex;flex-direction:column;gap:20px}
.gear-list{margin-bottom:0}
.gear-list h4{margin-bottom:8px;color:var(--text-secondary);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}
.gear-list ul{margin-bottom:0}
.gear-list li{padding:4px 0;font-size:.95rem}
.gear-list li::before{content:"\2022";margin-right:8px;color:var(--text-secondary)}
.gear-note{font-size:.85rem;color:var(--text-secondary);font-style:italic;margin-top:12px}
.theme-black .gear-list h4{color:var(--accent-light)}
.theme-black .gear-list li::before{color:var(--accent-light)}
.theme-black .gear-note{color:var(--text-light)}

/* SHOWCASE ROW — 3 images with captions */
.showcase-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:60px}
.showcase-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);margin-bottom:8px}
.showcase-item p{font-size:.8rem;text-align:center;color:var(--text-secondary)}
.theme-black .showcase-item p{color:var(--text-light)}

/* ENGINEER CARDS — grid with photo on top */
.engineer-list{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.engineer-card{display:flex;flex-direction:column}
.engineer-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius);margin-bottom:16px}
.engineer-card h2{font-size:1.1rem;margin-bottom:8px;font-weight:600}
.engineer-card p{font-size:.85rem;margin-bottom:12px;line-height:1.5}
.engineer-card .read-bio{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;font-weight:600;border-bottom:2px solid;padding-bottom:2px;display:inline-block}
.engineer-card .read-bio:hover{opacity:.6}

/* MGMT — side by side */
.mgmt{margin-top:0;padding-top:0;border-top:none}
.mgmt-layout{display:grid;grid-template-columns:300px 1fr;gap:40px;align-items:start}
.mgmt-layout img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius)}
.mgmt h2{font-size:1.8rem;font-weight:400;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}
.mgmt h3{font-size:1.2rem;font-weight:400;margin-bottom:24px;text-transform:uppercase;letter-spacing:.05em}

/* ENGINEER PROFILE (full page) */
.profile{max-width:800px;margin:0 auto;padding:80px 24px}
.profile img{width:320px;height:320px;object-fit:cover;border-radius:var(--radius);margin-bottom:32px}
.profile h1{font-size:2.2rem;font-weight:300;letter-spacing:.1em;text-transform:uppercase;margin-bottom:24px}
.profile p{margin-bottom:16px;line-height:1.7}
.profile .contact-info{margin-top:32px;padding-top:24px;border-top:1px solid var(--border)}
.profile .contact-info p{font-size:.95rem}

/* RATES */
.rate-tier{margin-bottom:48px}
.rate-tier h4{margin-bottom:16px}
.rate-tier ul{margin-bottom:16px}
.rate-tier li{padding:8px 0;border-bottom:1px solid var(--border);font-size:.95rem;display:flex;justify-content:space-between}
.rate-tier li span{font-weight:500}
.rate-note{font-size:.85rem;color:var(--text-secondary);margin-bottom:8px}
.rate-vendors{font-size:.9rem;margin-top:8px}
.amenities li{border:none;display:list-item;padding:4px 0}
.amenities li::before{content:"\2022";margin-right:8px;color:var(--text-secondary)}
.download-btn{display:inline-block;padding:12px 24px;border:1px solid var(--text);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;font-weight:500;transition:all .2s;margin-bottom:32px}
.download-btn:hover{background:var(--text);color:var(--bg)}

/* RATE SEPARATOR */
.rate-separator{max-width:720px;margin:0 auto 40px;padding:20px 0;text-align:center;letter-spacing:6px;color:var(--accent-dark);font-size:1.2rem}

/* FAQ */
.faq-list{max-width:720px}
.faq-item{margin-bottom:32px;padding-bottom:32px;border-bottom:1px solid var(--border)}
.faq-item:last-child{border-bottom:none}
.faq-item h4{margin-bottom:12px}
.faq-item p{font-size:.95rem}

/* CONTACT */
.contact-split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.contact-info-block{padding:32px}
.contact-info-block h1{font-size:2rem;font-weight:700;margin-bottom:12px}
.contact-info-block h3{font-size:1rem;margin-bottom:4px;font-weight:400}
.contact-form label{display:block;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;font-weight:500}
.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:12px;border:1px solid var(--border);font-family:var(--font);font-size:.95rem;margin-bottom:16px;background:var(--bg)}
.contact-form textarea{min-height:120px;resize:vertical}
.contact-form button{padding:12px 32px;background:var(--text);color:var(--bg);border:none;font-family:var(--font);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:opacity .2s}
.contact-form button:hover{opacity:.8}

/* FOOTER — white theme, matching live site */
.site-footer{background:#fff;color:var(--text);padding:60px 24px}
.footer-inner{max-width:var(--max-width);margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start}
.site-footer h3{font-size:clamp(2rem,5vw,4rem);font-weight:700;letter-spacing:.02em;margin-bottom:4px;color:var(--text);line-height:1.1}
.site-footer p{font-size:.85rem;margin-bottom:0;color:var(--text-secondary)}
.footer-links{display:flex;flex-direction:column;gap:8px;text-align:right}
.footer-links a{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;transition:opacity .2s;color:var(--text)}
.footer-links a:hover{opacity:.6}

/* ANNOUNCEMENT BAR */
.announcement{background:var(--navy);color:#fff;text-align:center;padding:8px;font-size:.75rem;letter-spacing:.15em;text-transform:uppercase}

/* RESPONSIVE */
@media(max-width:768px){
  .site-header{padding:6vw 6vw}
  .site-header.scrolled{padding:.6vw 1vw}
  .nav-logo img{max-height:30px;height:30px}
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:var(--navy);flex-direction:column;padding:24px;border-bottom:1px solid rgba(255,255,255,.15);gap:16px;margin-left:0;padding-left:24px}
  .nav-links a{margin-left:0}
  .nav-links.open{display:flex}
  .nav-toggle{display:block}
  .hero h1{font-size:2.2rem}
  .hero-bg--tall{min-height:50vh}
  .engineer-list{grid-template-columns:1fr}
  .engineer-card img{max-width:400px}
  .mgmt-layout{grid-template-columns:1fr}
  .gear-layout{grid-template-columns:1fr}
  .showcase-row{grid-template-columns:1fr}
  .contact-split{grid-template-columns:1fr}
  .section{padding:48px 0;padding-left:16px;padding-right:16px}
  .img-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
  .releases-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  .profile{padding:48px 16px}
  .profile img{width:100%;height:auto}
  .section-divider{height:8vw}
  .footer-inner{flex-direction:column;align-items:flex-start;gap:16px}
  .footer-links{text-align:left}
  :root{--section-pad:48px 0}
}
