:root {
  --ink: hsl(250 30% 8%);
  --navy: hsl(248 38% 12%);
  --navy-2: hsl(250 34% 17%);
  --paper: hsl(250 20% 95%);
  --text: hsl(250 18% 88%);
  --muted: hsl(250 14% 70%);
  --rule: hsl(250 22% 30%);
  --accent: hsl(250 61% 36%);
  --accent-2: hsl(275 58% 44%);
  --accent-bright: hsl(255 85% 76%);
  --gold: hsl(42 80% 64%);
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --head: "Piazzolla", system-ui, sans-serif;
  --body: "Overpass", system-ui, sans-serif;
  --max: 1240px;
  --notch: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--ink); min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -1;
  background:
    radial-gradient(40% 35% at 20% 20%, hsl(250 61% 30% / .55), transparent 70%),
    radial-gradient(35% 40% at 80% 30%, hsl(275 58% 32% / .45), transparent 70%),
    radial-gradient(45% 40% at 50% 90%, hsl(230 50% 22% / .6), transparent 70%),
    var(--ink);
  animation: mesh 28s ease-in-out infinite alternate;
}
@keyframes mesh { to { transform: translate3d(4%, -3%, 0) rotate(6deg); } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--head); color: #fff; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--accent-bright); }
p { margin: 0 0 1em; }
.kicker { font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .8em; display: block; }

/* Masthead */
.masthead { border-bottom: 3px double var(--rule); background: hsl(250 30% 8% / .85); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 30; }
.dateline { display: flex; justify-content: space-between; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); padding: 6px 0; }
.mast-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 12px 0; }
.nav-left, .nav-right { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right a { color: var(--text); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-left a:hover, .nav-right a:hover, [aria-current="page"] { border-bottom-color: var(--accent-bright) !important; color: #fff !important; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; }
.logo svg { width: 38px; height: 38px; }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); color: #fff; padding: 8px 12px; font: 600 .9rem var(--head); cursor: pointer; }
.mobile-nav { display: none; }

/* Split buttons */
.btn { display: inline-flex; align-items: stretch; text-decoration: none; font-family: var(--head); font-weight: 700; color: #fff; border: 0; cursor: pointer; padding: 0; background: none; font-size: 1rem; }
.btn .lbl { background: var(--grad); padding: 12px 20px; }
.btn .ico { display: grid; place-items: center; width: 46px; background: var(--accent-2); margin-left: 3px; transition: transform .25s; }
.btn .ico svg { width: 18px; height: 18px; }
.btn:hover .ico { transform: translateX(4px); }
.btn:hover { color: #fff; }
.btn.ghost .lbl { background: transparent; border: 1px solid var(--accent-bright); }
.btn.ghost .ico { background: transparent; border: 1px solid var(--accent-bright); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) grayscale(.6) brightness(.45); transform: scale(1.06); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 72px 0; align-items: center; }
.hero p.lead { font-size: 1.2rem; max-width: 36em; color: var(--text); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.mock { background: hsl(250 34% 14% / .88); border: 1px solid hsl(255 60% 70% / .35); padding: 22px; box-shadow: 0 30px 60px hsl(250 60% 4% / .6); backdrop-filter: blur(6px); }
.mock-head { display: flex; justify-content: space-between; font: 700 .78rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: 14px; }
.mock dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .95rem; }
.mock dt { color: var(--muted); }
.mock dd { margin: 0; color: #fff; font-weight: 500; }
.mock .bar { height: 8px; background: var(--rule); margin-top: 16px; }
.mock .bar span { display: block; height: 100%; width: 72%; background: var(--grad); }
.mock small { display: block; margin-top: 8px; color: var(--muted); }

/* Page intro (broadsheet) */
.page-intro { padding: 60px 0 36px; border-bottom: 1px solid var(--rule); }
.page-intro .lead { font-size: 1.2rem; max-width: 42em; }

/* Columns & rules */
section { padding: 64px 0; }
.ruled { border-top: 1px solid var(--rule); }
.cols-3 { column-count: 3; column-gap: 40px; column-rule: 1px solid var(--rule); }
.cols-2 { column-count: 2; column-gap: 40px; column-rule: 1px solid var(--rule); }
.cols-3 p:first-child::first-letter, .cols-2 p:first-child::first-letter { font-family: var(--head); font-weight: 800; font-size: 3.4em; float: left; line-height: .85; padding: 4px 8px 0 0; color: var(--accent-bright); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 3px double var(--rule); padding-bottom: 14px; margin-bottom: 32px; }
.sec-head h2 { margin: 0; }

/* Highlights strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--rule); padding: 0; }
.strip > div { padding: 22px 20px; border-right: 1px solid var(--rule); }
.strip > div:last-child { border-right: 0; }
.strip strong { display: block; font-family: var(--head); color: #fff; font-size: 1.05rem; }
.strip span { font-size: .92rem; color: var(--muted); }

/* Ticket cards */
.ticket {
  background: var(--navy-2); padding: 26px; position: relative;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  border-top: 3px solid var(--accent-bright);
}
.ticket .tno { font: 700 .74rem var(--head); letter-spacing: .18em; color: var(--gold); text-transform: uppercase; border-bottom: 1px dashed var(--rule); padding-bottom: 10px; margin-bottom: 14px; display: block; }
.ticket p:last-child { margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Figures */
figure { margin: 0; }
figure img { filter: grayscale(1); transition: filter .6s ease; width: 100%; object-fit: cover; }
figure:hover img, figure:focus-within img { filter: grayscale(0); }
figcaption { font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--rule); padding: 8px 0; font-style: italic; }
.spotlight { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.spotlight figure img { aspect-ratio: 4 / 3; }
.spec { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec th { font-family: var(--head); color: var(--gold); font-weight: 700; width: 36%; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); counter-reset: s; }
.steps li { padding: 22px 18px 6px; border-right: 1px solid var(--rule); counter-increment: s; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 800 2.6rem var(--head); color: transparent; -webkit-text-stroke: 1.2px var(--accent-bright); margin-bottom: 6px; }
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: .94rem; color: var(--muted); }
.steps.vertical { grid-template-columns: 1fr; }
.steps.vertical li { border-right: 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 110px 1fr; gap: 20px; }
.steps.vertical li::before { grid-row: span 2; }

/* Use cases list */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px double var(--rule); }
.cases article { padding: 24px 22px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cases article:nth-child(3n) { border-right: 0; }
.icon { width: 34px; height: 34px; color: var(--accent-bright); margin-bottom: 10px; }

/* CTA */
.cta { background: var(--grad); padding: 52px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: hsl(250 40% 94%); margin: 0; }
.cta .btn .lbl { background: var(--ink); }
.cta .btn .ico { background: var(--navy-2); }

/* FAQ */
details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
summary { font-family: var(--head); font-weight: 700; color: #fff; cursor: pointer; font-size: 1.1rem; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { font: 600 .9rem var(--head); color: #fff; display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: inherit; color: #fff; background: var(--navy); border: 1px solid var(--rule); padding: 12px 14px; }
.form input:focus, .form textarea:focus { border-color: var(--accent-bright); outline: none; box-shadow: 0 0 0 3px hsl(255 85% 76% / .25); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
[data-genweb-status] { margin: 0; min-height: 1.4em; font-weight: 600; }
[data-genweb-status].is-success { color: hsl(150 60% 65%); }
[data-genweb-status].is-error { color: hsl(0 80% 72%); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; }

/* Footer */
.site-footer { border-top: 3px double var(--rule); margin-top: 40px; padding-top: 48px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-grid h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.wordmark { font: 900 clamp(4rem, 17vw, 15rem) var(--head); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px hsl(255 60% 70% / .55); text-align: center; white-space: nowrap; margin: 40px 0 0; letter-spacing: -.03em; user-select: none; }
.copy { border-top: 1px solid var(--rule); padding: 16px 0 24px; font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Reveal */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: scale(.95); filter: blur(8px); transition: opacity .8s ease, transform .8s ease, filter .8s ease; }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

.center-404 { text-align: center; padding: 120px 0; }
.center-404 .actions { justify-content: center; display: flex; }

@media (max-width: 1000px) {
  .nav-left, .nav-right .navlink { display: none; }
  .mast-row { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: inline-block; }
  .logo { justify-self: center; }
  .mobile-nav.open { display: block; border-top: 1px solid var(--rule); }
  .mobile-nav ul { list-style: none; margin: 0; padding: 10px 0 16px; display: grid; gap: 4px; }
  .mobile-nav a { display: block; padding: 10px 0; color: #fff; text-decoration: none; font: 600 1.05rem var(--head); }
  .hero-inner, .spotlight, .contact-grid, .cta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { border-bottom: 1px solid var(--rule); }
  .cols-3 { column-count: 2; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip > div:nth-child(2) { border-right: 0; }
  .grid-3, .cases { grid-template-columns: 1fr 1fr; }
  .cases article:nth-child(3n) { border-right: 1px solid var(--rule); }
  .cases article:nth-child(2n) { border-right: 0; }
}
@media (max-width: 640px) {
  .dateline span:last-child { display: none; }
  .nav-right .btn { display: none; }
  .cols-3, .cols-2 { column-count: 1; }
  .strip, .steps, .grid-3, .grid-2, .cases, .foot-grid, .form .row { grid-template-columns: 1fr; }
  .strip > div, .steps li, .cases article { border-right: 0 !important; border-bottom: 1px solid var(--rule); }
  .steps.vertical li { grid-template-columns: 1fr; }
  .cta { padding: 30px 22px; }
  section { padding: 44px 0; }
}
