@import url(../fonts/fonts.css);

:root {
  --canvas: #F3F0EE; --lifted: #FCFBFA; --white: #FFFFFF; --ink: #141413; --charcoal: #262627;
  --slate: #696969; --dust: #D1CDC7; --ghost: #E8E2DA; --signal: #CF4500; --orbit: #F37338; --link: #3860BE;
  --font: 'Sofia Sans', Arial, sans-serif;
  --shadow-nav: 0 4px 24px rgba(0,0,0,.04); --shadow-media: 0 24px 48px rgba(0,0,0,.08);
  --wrap: 1240px; --gutter: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 450 16px/1.4 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p a, li a, .link { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; margin: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.6vw, 36px); line-height: 1.22; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 20px); line-height: 1.4; color: var(--charcoal); max-width: 34em; }
.muted { color: var(--slate); }
.small { font-size: 14px; line-height: 20px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--canvas); padding: 12px 20px; border-radius: 20px; z-index: 100; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 24px; border-radius: 20px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--canvas); font: 500 16px/20px var(--font); letter-spacing: -0.02em; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--charcoal); }
.btn:active { transform: translateY(1px); }
.btn-outline { background: var(--white); color: var(--ink); font-weight: 450; }
.btn-outline:hover { background: var(--lifted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow { width: 18px; height: 18px; flex: none; }
.satellite { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .25s; }
.satellite svg { width: 22px; height: 22px; }

/* Nav */
.nav { position: sticky; top: 16px; z-index: 50; margin: 16px auto 0; width: min(var(--wrap), 100% - 2 * 16px); }
.nav-pill { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 999px; padding: 8px 8px 8px 28px; box-shadow: var(--shadow-nav); }
.logo { font-weight: 700; font-size: 22px; letter-spacing: -0.03em; text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; }
.logo span { color: var(--signal); }
.nav-links { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 500; letter-spacing: -0.02em; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--canvas); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: var(--white); cursor: pointer; padding: 0; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--canvas); padding: 96px var(--gutter) 32px; display: none; flex-direction: column; gap: 8px; }
.menu.open { display: flex; }
.menu a:not(.btn) { font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; padding: 8px 0; }
.menu .btn { margin-top: 24px; align-self: flex-start; }
.menu-close { position: absolute; top: 24px; right: 24px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-pill { padding-left: 20px; gap: 8px; }
}
@media (max-width: 360px) { .nav-pill .btn { padding-inline: 16px; } }

/* Hero */
.hero { padding-block: 64px 32px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 11em; }
.hero .lead { margin-top: 24px; }
.hero .btn-row { margin-top: 32px; }
.hero-note { margin-top: 24px; }
.stadium { position: relative; border-radius: 40px; background: var(--ink); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-media); }
.stadium .shot { position: absolute; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,.35); background: var(--charcoal); }
.stadium .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-a { width: 62%; aspect-ratio: 16/10; left: 6%; top: 9%; animation: drift 9s ease-in-out infinite alternate; }
.shot-b { width: 52%; aspect-ratio: 16/10; right: 5%; top: 40%; animation: drift 11s ease-in-out -3s infinite alternate-reverse; }
.shot-c { width: 21%; aspect-ratio: 9/19; left: 14%; bottom: -6%; border-radius: 20px; animation: drift 10s ease-in-out -5s infinite alternate; }
.stadium .tag { position: absolute; left: 24px; bottom: 24px; z-index: 2; background: var(--white); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
@keyframes drift { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Ghost heading */
.ghost { font-size: clamp(64px, 13vw, 160px); line-height: .9; color: var(--ghost); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; pointer-events: none; user-select: none; }
.ghost-wrap { position: relative; overflow: hidden; }
.ghost-wrap .ghost { position: absolute; top: clamp(24px, 5vw, 64px); left: 50%; transform: translateX(-50%); }

/* Section heads */
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 48px; position: relative; }
.head h2 { margin-top: 16px; }
@media (max-width: 800px) { .head { grid-template-columns: 1fr; } }

/* Steps with portraits and orbit */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; z-index: 1; }
.orbit { position: absolute; left: 0; top: 0; width: 100%; height: 220px; z-index: 0; pointer-events: none; overflow: visible; }
.orbit path { fill: none; stroke: var(--orbit); stroke-width: 1.5; }
.portrait { position: relative; width: min(100%, 220px); aspect-ratio: 1; margin-bottom: 24px; }
.portrait .disc { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-media); background: var(--lifted); }
.portrait .disc img { width: 100%; height: 100%; object-fit: cover; }
.portrait .num { position: absolute; right: 0; bottom: 4%; width: 56px; height: 56px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.steps h3 { margin-top: 12px; }
.steps p { margin-top: 8px; color: var(--charcoal); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .orbit { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .portrait { width: 180px; } }

/* Template cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.tcard { position: relative; background: var(--lifted); border-radius: 40px; padding: 12px 12px 28px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-media); }
.tcard .thumb { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--ghost); }
.tcard .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.tcard:hover .thumb img { transform: scale(1.03); }
.tcard .chip { position: absolute; left: 16px; top: 16px; }
.tcard .body { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tcard .body p { color: var(--charcoal); }
.tcard .actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 16px 0; margin-top: auto; }
.tcard .satellite { position: absolute; right: 24px; top: calc((100% - 24px) * 0 + 12px); }
.tcard .badge { font-size: 14px; color: var(--slate); }
.tcard.is-hidden { display: none; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--dust); font: 500 14px/20px var(--font); color: var(--ink); }
button.chip { cursor: pointer; min-height: 44px; }
button.chip[aria-pressed="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
button.chip[aria-pressed="true"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

/* Price cards */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 1000px) { .prices { grid-template-columns: 1fr; max-width: 560px; } }
.price { background: var(--lifted); border-radius: 40px; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.price.featured { background: var(--ink); color: var(--canvas); }
.price.featured .muted { color: #B9B4AD; }
.price.featured .btn { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.price .amount { font-size: 56px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.price .amount small { font-size: 16px; font-weight: 450; letter-spacing: 0; color: inherit; opacity: .7; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.ticks li.no { color: var(--slate); }
.ticks li.no::before { width: 12px; height: 0; border-left: 0; transform: none; top: 10px; border-color: var(--dust); }
.price .btn { margin-top: auto; align-self: flex-start; }
.extras { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--lifted); border-radius: 40px; padding: clamp(28px, 4vw, 48px); }
.list-lines { list-style: none; padding: 0; margin: 0; }
.list-lines li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--dust); }
.list-lines li:last-child { border-bottom: 1px solid var(--dust); }
.list-lines .n { font-weight: 700; color: var(--signal); }
.list-lines h3 { font-size: 20px; }
.list-lines p { margin-top: 4px; color: var(--charcoal); }

/* FAQ */
.faq { border-top: 1px solid var(--dust); }
.faq details { border-bottom: 1px solid var(--dust); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 24px; max-width: 40em; color: var(--charcoal); }

/* Table */
.table-wrap { overflow-x: auto; border-radius: 24px; background: var(--lifted); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--dust); vertical-align: top; }
.compare thead th { font-size: 20px; font-weight: 500; }
.compare tbody th { font-weight: 450; }
.compare td { text-align: center; }
.yes::before { content: "Included"; }
.no::before { content: ""; }

/* Forms */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 500; }
.field .hint { font-size: 14px; color: var(--slate); }
.input { width: 100%; min-height: 48px; padding: 12px 20px; border: 1.5px solid var(--dust); border-radius: 24px; background: var(--white); font: 450 16px/22px var(--font); color: var(--ink); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 26px) 21px, calc(100% - 20px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.input:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--signal); }
.error { color: var(--signal); font-size: 14px; display: none; }
.field.has-error .error { display: block; }
fieldset { border: 0; padding: 0; margin: 0; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 8px; }
.option { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border: 1.5px solid var(--dust); border-radius: 24px; background: var(--white); cursor: pointer; min-height: 48px; }
.option input { margin: 3px 0 0; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.option:has(input:checked) { border-color: var(--ink); }
.option b { font-weight: 500; display: block; }
.option span { font-size: 14px; color: var(--slate); }
.picked { display: flex; gap: 16px; align-items: center; padding: 12px; border-radius: 24px; background: var(--white); border: 1.5px solid var(--ink); }
.picked img { width: 96px; height: 64px; object-fit: cover; object-position: top; border-radius: 14px; flex: none; }
.picked[hidden] { display: none; }
.done { display: none; }
.form-sent .done { display: block; }
.form-sent .form { display: none; }

/* Footer */
.footer { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 100px) 0 clamp(64px, 8vw, 120px); margin-top: 32px; }
.footer h2 { max-width: 14em; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
.footer .btn { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.footer .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.fgrid h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #9E9A94; font-weight: 700; }
.fgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fgrid a { text-decoration: none; font-size: 14px; display: inline-flex; min-height: 32px; align-items: center; }
.fgrid a:hover { text-decoration: underline; }
.fbottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: #9E9A94; }
@media (max-width: 800px) { .fgrid { grid-template-columns: 1fr 1fr; } }

/* Viewer */
.viewer { position: fixed; inset: 0; z-index: 80; background: var(--ink); display: none; flex-direction: column; }
.viewer.open { display: flex; }
.vbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--white); flex-wrap: wrap; }
.vbar .vname { font-weight: 500; font-size: 18px; margin-right: auto; min-width: 0; overflow-wrap: anywhere; }
.vbar .btn { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.vbar .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.vseg { display: inline-flex; background: var(--charcoal); border-radius: 999px; padding: 4px; }
.vseg button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: #CFCAC3; font: 500 14px var(--font); cursor: pointer; }
.vseg button[aria-pressed="true"] { background: var(--canvas); color: var(--ink); }
.vstage { flex: 1; display: grid; place-items: center; padding: 0 16px 16px; min-height: 0; }
.vframe { width: 100%; height: 100%; border: 0; border-radius: 20px; background: var(--white); transition: width .35s; }
.viewer.phone .vframe { width: min(390px, 100%); }
.vclose { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; }
@media (max-width: 700px) { .vseg, .vbar .open-tab { display: none; } .vbar .vname { flex-basis: calc(100% - 60px); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot-a, .shot-b, .shot-c { animation: none; }
  * { scroll-behavior: auto !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Nav, menu and footer links keep their own colour (the body-link blue is for text only) */
.nav-links a, .fgrid a, .menu a:not(.btn) { color: inherit; }

/* Hero photo (generated, 5 Nov): one photo instead of the screenshot collage, at every width. */
.stadium .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
@media (max-width: 640px) { .stadium { aspect-ratio: 4 / 5; border-radius: 32px; } }

/* Lucius AI Assistant (assets/js/assistant.js): a round button bottom right, a panel above it,
   a full-screen sheet on small phones. */
.assistant-open { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: var(--canvas); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-media); transition: transform .2s; }
.assistant-open:hover { transform: translateY(-2px); }
.assistant-open svg { width: 24px; height: 24px; }
.assistant.is-open .assistant-open { display: none; }
.assistant-panel { position: fixed; right: 20px; bottom: 20px; z-index: 71; width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 120px)); background: var(--lifted); border-radius: 24px; box-shadow: 0 24px 64px rgba(0,0,0,.18); display: flex; flex-direction: column; overflow: hidden; }
.assistant-panel[hidden] { display: none; }
.assistant-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 20px; background: var(--white); border-bottom: 1px solid var(--dust); }
.assistant-head b { font-weight: 500; margin-right: auto; }
.assistant-dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9E5B; }
.assistant-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.assistant-close svg { width: 20px; height: 20px; }
.assistant-start { flex: 1; display: grid; align-content: center; gap: 12px; padding: 24px; }
.assistant-start[hidden], .assistant-chat[hidden] { display: none; }
.assistant-start h3 { font-size: 22px; }
.assistant-error { color: var(--signal); margin: 0; }
.assistant-chat { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.assistant-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.assistant-msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.assistant-msg.from-bot { align-self: flex-start; background: var(--white); border-bottom-left-radius: 6px; }
.assistant-msg.from-user { align-self: flex-end; background: var(--ink); color: var(--canvas); border-bottom-right-radius: 6px; }
.assistant-send { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--dust); background: var(--white); }
.assistant-send .input { flex: 1; min-width: 0; }
@media (max-width: 520px) {
  .assistant-panel { inset: 0; width: auto; height: auto; border-radius: 0; }
  .assistant-open { right: 16px; bottom: 16px; }
}

/* The logo image in the nav (assets/logo.png, from logo option A in the site's colours). */
.logo img { display: block; height: 30px; width: auto; }
@media (max-width: 360px) { .logo img { height: 26px; } }
