/* ==========================================================================
   Event Tech Studio: light theme only
   No dark-mode media query is used anywhere; color-scheme is locked to light.
   ========================================================================== */

:root {
  color-scheme: light;

  --paper:       #FFFDFB;
  --surface:     #FFFFFF;
  --line:        #EADFEA;
  --ink:         #2B1238;
  --slate:       #6A5A78;

  --magenta:     #D1246B;
  --magenta-deep:#A71A54;
  --violet:      #6A3FD0;
  --teal:        #0C8F80;
  --gold:        #F2A413;

  --pink-soft:   #FDE8F0;
  --violet-soft: #ECE6FB;
  --teal-soft:   #DDF4F0;
  --gold-soft:   #FFF1D2;
  --tint:        #FAF3F8;

  --font-display: 'Syne', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--magenta-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--slate); }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; z-index: 200; }
.skip-link:focus { top: 1rem; color: #fff; }
ul.plain { list-style: none; margin: 0; padding: 0; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1rem; max-width: 68ch; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--slate); }
.eyebrow { margin: 0 0 1rem; font: 700 .8rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--magenta-deep); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { padding: .65rem 1.2rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 251, .92); backdrop-filter: 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: 4.5rem; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; font: 700 1.15rem/1 var(--font-display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--slate); text-decoration: none; font-weight: 600; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--magenta); }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; transition: transform .2s, opacity .2s; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Colour helpers ---------- */
.tint-pink   { background: var(--pink-soft);   border-color: #F6CADD; }
.tint-violet { background: var(--violet-soft); border-color: #D6CBF5; }
.tint-teal   { background: var(--teal-soft);   border-color: #B5E6DE; }
.tint-gold   { background: var(--gold-soft);   border-color: #F4DBA3; }
.dot-pink   { background: var(--magenta); color: #fff; }
.dot-violet { background: var(--violet);  color: #fff; }
.dot-teal   { background: var(--teal);    color: #fff; }
.dot-gold   { background: var(--gold);    color: var(--ink); }
.tone-pink   { --tone: var(--magenta); }
.tone-violet { --tone: var(--violet); }
.tone-teal   { --tone: var(--teal); }
.tone-gold   { --tone: var(--gold); }

/* ---------- Hero + pinboard (the one memorable element) ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy .lead { max-width: 33rem; }

.board {
  display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(circle, rgba(106, 63, 208, .16) 1.4px, transparent 1.6px) 0 0 / 22px 22px,
    var(--surface);
  border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 28px 56px -32px rgba(106, 63, 208, .35);
}
.board-card {
  display: flex; align-items: center; gap: 1rem;
  margin-left: var(--x); padding: 1.05rem 1.25rem;
  border: 1px solid; border-radius: 18px;
  transform: rotate(var(--r));
  box-shadow: 0 10px 24px -14px rgba(43, 18, 56, .35);
  animation: pop .7s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i) * .16s + .15s);
}
.board-card strong { display: block; font: 700 1.1rem/1.3 var(--font-display); }
.board-text { display: block; color: var(--slate); font-size: .95rem; line-height: 1.45; }
.board-icon { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; }
.board-caption { margin: .5rem 0 0; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); text-align: center; max-width: none; }
@keyframes pop {
  from { opacity: 0; transform: translateY(18px) rotate(0deg); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--r)); }
}

/* ---------- Vendor marquee ---------- */
.marquee { overflow: hidden; background: var(--surface); border-block: 1px solid var(--line); padding-block: 1rem; }
.marquee-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; gap: .75rem; padding-right: .75rem; }
.marquee-list li { padding: .5rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section.pad-top-0 { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 42rem; }
.section-head h2 { margin-bottom: .85rem; }
.section-head .lead { margin: 0; }

.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); margin-bottom: 1.1rem; max-width: 20ch; }
.page-hero .lead { max-width: 44rem; margin: 0; }

.statement { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.statement h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; }
.statement .lead { color: var(--ink); }

/* ---------- Flagship band (soft violet, keeping the whole site light) ---------- */
.section-plum { background: linear-gradient(135deg, var(--violet-soft), var(--pink-soft)); }
.section-plum h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.flagship { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow-light { color: var(--magenta-deep); }
.flagship-headline, .product-headline { font: 700 clamp(1.15rem, 2vw, 1.4rem)/1.35 var(--font-display); margin-bottom: 1rem; color: var(--magenta-deep); }
.feature-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 2rem; }
.feature-chips li { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.dot { width: .65rem; height: .65rem; border-radius: 50%; display: inline-block; }

/* ---------- Image placeholders and phone frames ---------- */
.ph, .media { width: 100%; border-radius: 22px; }
.media { object-fit: cover; border: 1px solid var(--line); }
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem .75rem; text-align: center; color: #9A86AD;
  background:
    repeating-linear-gradient(135deg, rgba(106, 63, 208, .06) 0 14px, transparent 14px 28px),
    var(--tint);
  border: 1.5px dashed #CDB9DD;
}
.ph-label { font-weight: 700; color: var(--slate); font-size: .9rem; line-height: 1.3; }
.ph-hint { font-size: .75rem; color: #9A86AD; word-break: break-all; }

.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.phones > :nth-child(2) { transform: translateY(1.75rem); }
.phones-hero { grid-template-columns: repeat(2, 1fr); max-width: 24rem; margin-inline: auto; width: 100%; }
.phones-hero > :nth-child(2) { transform: translateY(2.5rem); }
.product-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ---------- Features, audiences, vendors ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid; border-radius: 22px; }
.feature .board-icon { margin-bottom: 1.1rem; }
.feature h3 { margin-bottom: .5rem; }
.feature p { margin: 0; color: var(--slate); }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.audience { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--tone); border-radius: 18px; padding: 1.5rem 1.5rem 1rem; }
.audience h3 { margin-bottom: .75rem; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: .6rem 0 .6rem 1.9rem; border-top: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: .15rem; top: .95rem; width: .5rem; height: .85rem; border: solid var(--tone, var(--teal)); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(.85); }

.vendor-cloud { display: flex; flex-wrap: wrap; gap: .75rem; }
.vendor-cloud li { padding: .7rem 1.35rem; border-radius: 999px; font: 700 1.02rem/1.2 var(--font-body); }
.chip-pink   { background: var(--pink-soft);   color: var(--magenta-deep); }
.chip-violet { background: var(--violet-soft); color: #4A27A8; }
.chip-teal   { background: var(--teal-soft);   color: #0A6B60; }
.chip-gold   { background: var(--gold-soft);   color: #7A4E00; }

/* ---------- About ---------- */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0 0 .9rem; }
.about-card { background: var(--pink-soft); border: 1px solid #F6CADD; border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.about-card h2 { font: 700 .85rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--magenta-deep); margin-bottom: .5rem; }
.about-card-name { font: 800 2.2rem/1.1 var(--font-display); margin-bottom: .75rem; }
.belief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.belief { border-top: 4px solid var(--c); padding-top: 1.1rem; }
.belief-pink { --c: var(--magenta); } .belief-violet { --c: var(--violet); } .belief-teal { --c: var(--teal); }
.belief h3 { margin-bottom: .5rem; }
.belief p { color: var(--slate); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold-soft); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.cta-inner h2 { margin-bottom: .6rem; }
.cta-inner .lead { margin: 0; max-width: 38rem; color: #5B4A68; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
label { font-weight: 700; font-size: .98rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 9rem; }
input:hover, select:hover, textarea:hover { border-color: #CDB9DD; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(106, 63, 208, .16); }
[aria-invalid="true"] { border-color: #B4261F; }
.field-error { margin: 0; color: #B4261F; font-size: .93rem; font-weight: 600; }
.form-note { margin: 0; font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }

.notice { padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid; margin: 0; max-width: none; }
.notice-error { background: #FDF1F0; border-color: #F0C4C1; color: #B4261F; font-weight: 600; }
.notice-ok { background: var(--teal-soft); border-color: #B5E6DE; }
.notice-ok h2 { font-size: 1.5rem; margin-bottom: .6rem; }

.contact-details { background: var(--violet-soft); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact-details h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.contact-details dl { margin: 0; display: grid; gap: 1rem; }
.contact-details dt { font-weight: 700; font-size: .9rem; color: var(--slate); }
.contact-details dd { margin: .1rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr; gap: 2rem 3rem; }
.footer-brand { font: 700 1.25rem/1.2 var(--font-display); margin-bottom: .6rem; }
.footer-head { font-weight: 700; margin-bottom: .75rem; }
.site-footer ul.plain li { margin-bottom: .45rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--magenta); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: clamp(2rem, 4vw, 3rem); padding-block: 1.25rem; border-top: 1px solid var(--line); color: var(--slate); font-size: .93rem; }
.footer-base p { margin: 0; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; z-index: 100; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: min(calc(100% - 2 * var(--gutter)), 1000px); margin: 0;
  padding: 1.25rem 1.5rem; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 12px 40px rgba(43, 18, 56, .2);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-text { flex: 1 1 28rem; }
.cookie-banner h2 { margin-bottom: .4rem; font-size: 1.35rem; }
.cookie-banner p { margin: 0; font-size: .95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.cookie-dialog {
  width: min(100% - 2rem, 42rem); max-width: none; max-height: min(90vh, 48rem);
  padding: clamp(1.25rem, 4vw, 2rem); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 72px rgba(43, 18, 56, .28);
}
.cookie-dialog::backdrop { background: rgba(43, 18, 56, .55); }
.cookie-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-dialog-head h2 { font-size: 1.65rem; }
.cookie-dialog > form > p { margin-top: 1rem; }
.cookie-options { margin: 1.5rem 0 !important; }
.cookie-options li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.cookie-options label { font-weight: 700; }
.cookie-options p { margin: .25rem 0 0; color: var(--slate); font-size: .9rem; }
.cookie-options input { flex: none; width: 1.2rem; height: 1.2rem; accent-color: var(--magenta); }
.icon-close { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; padding: .5rem; background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; }
.icon-close svg { width: 100%; height: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .two-col, .statement, .flagship, .product-hero { grid-template-columns: 1fr; }
  .feature-grid, .audience-grid, .belief-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .phones { max-width: 30rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { color: var(--magenta-deep); }
  .site-nav .btn { width: 100%; }
}

@media (max-width: 560px) {
  .field-row, .footer-grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .board-card { margin-left: 0; }
  .phones { gap: .6rem; }
  .ph-hint { display: none; }
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 1rem; padding: 1rem; }
  .cookie-banner .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-banner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .board-card { animation: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee-list { flex-wrap: wrap; }
  .marquee-list[aria-hidden="true"] { display: none; }
  * { transition-duration: .01ms !important; }
}
