/* =========================================================
   Groulpi — brand layer on top of the template (styles.css)
   Tokens from brand/BRAND.md. Loaded after styles.css.
   ========================================================= */

:root {
  /* Brand tokens */
  --ink: #13212B;
  --signal: #FFC83D;
  --pine: #127A62;
  --pine-deep: #0E5C4A;   /* pine text on mist (6.8:1) */
  --pine-light: #3DBE99;  /* pine on dark surfaces (7:1 on ink) */
  --mist: #E6EFEC;
  --paper: #FAFAF6;
  --clay: #D9624A;
  --clay-text: #B4422C;   /* clay as text on paper (5.3:1) */
  --sky: #CFE3F2;
  --muted: #4A5862;       /* secondary text on paper/mist/white (6.2–7.3:1) */
  --muted-dark: #B4C2C9;  /* secondary text on ink (9:1) */
  --line: #D5DED9;
  --dark-bg: #0E171E;
  --dark-surface: #16232C;
  --dark-text: #EEF2EF;

  --font-display: "Unbounded", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Re-map template variables */
  --white: #FFFFFF;
  --black: var(--ink);
  --primary: var(--ink);
  --secondary: var(--muted);
  --brand: var(--pine);
  --body: var(--paper);
  --neutral-50: #FFFFFF;
  --neutral-100: #F1F5F2;
  --neutral-200: #E3EAE6;
  --neutral-300: var(--line);
  --neutral-400: var(--muted-dark);
  --neutral-500: var(--muted);
  --neutral-600: #3A4852;
  --neutral-700: #2A3843;
  --neutral-800: #1C2B35;
  --neutral-900: var(--dark-surface);
  --neutral-950: var(--ink);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
}
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-thumb { background-color: var(--muted); border-radius: 10px; }
body::-webkit-scrollbar-track { background: var(--mist); }

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6,
.font-main, .heading-title, .text-display-1, .text-display-2 {
  font-family: var(--font-display);
  color: var(--ink);
}
h1, .h1, h2, .h2, h3, .h3 { font-weight: 700; }
h4, .h4, h5, .h5, h6, .h6 { font-weight: 600; }
h4, .h4 { font-size: 30px; line-height: 1.2; }
h5, .h5 { font-size: 24px; line-height: 1.25; }
h6, .h6 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
@media (max-width: 767px) {
  h4, .h4 { font-size: 24px; }
  h5, .h5 { font-size: 21px; }
  h6, .h6 { font-size: 19px; }
}
p { color: inherit; }
.text-secondary { color: var(--muted) !important; }
.text-white { color: #FFFFFF !important; }
.text-brand { color: var(--pine) !important; }
.fw-semibold { font-weight: 700 !important; }
.mono, code, .code { font-family: var(--font-mono); font-size: 0.92em; }
a { color: inherit; }
a.g-link, .g-prose a:not(.tf-btn):not(.tf-btn-2) {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
a.g-link:hover, .g-prose a:not(.tf-btn):not(.tf-btn-2):hover { color: var(--ink); }
.text-body-1 { font-size: 19px; line-height: 1.55; }
.text-body-3 { font-size: 16px; line-height: 1.5; }

/* Template gradient text → solid ink */
.text-gradient-1, .text-gradient-2, .text-gradient-3 {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--ink);
  padding-bottom: 0; margin-bottom: 0;
}

.text-display-2 {
  font-size: 84px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
@media (max-width: 1199px) { .text-display-2 { font-size: 64px; } }
@media (max-width: 767px) { .text-display-2 { font-size: 40px; line-height: 1.08; } }

.heading-section .heading-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
@media (max-width: 1199px) { .heading-section .heading-title { font-size: 42px; } }
@media (max-width: 767px) { .heading-section .heading-title { font-size: 30px; line-height: 1.15; } }

.heading-section .heading-sub {
  font-family: var(--font-mono);
  font-weight: 500 !important;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--signal);
  box-shadow: none;
  border-radius: 6px;
  padding: 5px 12px 5px 28px;
  margin-bottom: 24px;
}
.heading-section .heading-sub::before { background-color: var(--ink); left: 12px; }
.heading-section .heading-sub.style-1 { background: var(--signal); color: var(--ink); box-shadow: none; }
.heading-section .heading-sub.alt { background: var(--paper); border: 1.5px solid var(--ink); }
.heading-section .heading-sub.alt::before { background-color: var(--pine); }
.heading-section .lede { font-size: 19px; color: var(--muted); max-width: 640px; margin-top: 20px; }
.heading-section.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Focus (visible, high contrast) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ink) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px var(--signal) !important;
  border-radius: 6px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible, footer a:focus-visible,
.g-drawer a:focus-visible, .g-drawer button:focus-visible, .box-black a:focus-visible {
  outline-color: var(--signal) !important;
  box-shadow: 0 0 0 6px var(--ink) !important;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 5000;
  background: var(--signal); color: var(--ink); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden-g {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.tf-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink) !important;
  background: var(--signal) !important;
  box-shadow: inset 0 -3px 0 rgba(19, 33, 43, 0.18), 0 2px 0 var(--ink) !important;
  border: 2px solid var(--ink);
  padding: 12px 24px;
  min-height: 52px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tf-btn:hover {
  background: #FFD465 !important;
  transform: translateY(-1px);
  box-shadow: inset 0 -3px 0 rgba(19, 33, 43, 0.18), 0 4px 0 var(--ink) !important;
}
.tf-btn-2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink) !important;
  background: transparent !important;
  border: 2px solid var(--ink);
  box-shadow: none !important;
  padding: 12px 24px;
  min-height: 52px;
  text-decoration: none;
}
.tf-btn-2:hover { background: var(--mist) !important; color: var(--ink) !important; }
.on-dark .tf-btn-2, .box-black .tf-btn-2 { color: var(--dark-text) !important; border-color: var(--dark-text); }
.on-dark .tf-btn-2:hover, .box-black .tf-btn-2:hover { background: var(--dark-surface) !important; color: #fff !important; }
.tf-btn .icon, .tf-btn-2 .icon { font-size: 18px; }

/* ---------- Header (sticky, condenses on scroll) ---------- */
.tf-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: 20px; margin-bottom: -96px;
  view-transition-name: site-header;
  transition: none;
  pointer-events: none; /* only the pill is interactive */
}
.tf-header .header-inner,
.tf-header.header2 .header-inner {
  pointer-events: auto;
  max-width: 1080px;
  min-height: 68px;
  background: rgba(250, 250, 246, 0.9);
  border: 1.5px solid var(--ink);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
          backdrop-filter: blur(16px) saturate(1.2);
  padding: 8px 8px 8px 24px;
  gap: 16px;
  box-shadow: 0 0 0 rgba(19, 33, 43, 0);
  transition: transform .35s cubic-bezier(.22,.8,.24,1), box-shadow .35s ease, background-color .35s ease, max-width .35s cubic-bezier(.22,.8,.24,1);
}
.tf-header.is-condensed .header-inner {
  transform: translateY(-10px);
  max-width: 1040px;
  background: rgba(250, 250, 246, 0.97);
  box-shadow: 0 14px 34px -18px rgba(19, 33, 43, 0.45), 0 2px 0 var(--ink);
}
.tf-header .logo-site { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.tf-header .logo-site img { height: 30px; width: auto; display: block; transition: height .35s ease; }
.tf-header.is-condensed .logo-site img { height: 28px; }
.nav-menu-main { gap: 4px; margin: 0; padding: 0; }
.item-link {
  font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none;
  aspect-ratio: auto; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 99px;
  transition: color .2s ease, background-color .2s ease;
}
.item-link::before { display: none; }
.item-link:hover { color: var(--ink); background: var(--mist); }
.item-link.active, .item-link[aria-current="page"] { color: var(--ink); background: var(--signal); box-shadow: inset 0 0 0 1.5px var(--ink); }
.link1:hover { color: var(--ink) !important; }
.tf-header .tf-btn { min-height: 48px; padding: 8px 20px; font-size: 16px; white-space: nowrap; }
.tf-header .header-cta[aria-current="page"] { box-shadow: inset 0 -3px 0 rgba(19,33,43,.18), 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink) !important; }
@media (max-width: 1199px) { .item-link { font-size: 15px; padding: 0 10px; } .tf-header .header-inner { gap: 8px; } }
@media (max-width: 991px) {
  .tf-header { padding-top: 12px; margin-bottom: -84px; }
  .tf-header .header-inner { margin: 0 12px; padding: 6px 6px 6px 18px; min-height: 64px; }
  .tf-header.is-condensed .header-inner { transform: translateY(-4px); }
  .tf-header .header-cta { margin-left: auto; }
}
@media (max-width: 767px) {
  .tf-header .logo-site img { height: 28px; }
}

/* Hamburger */
.g-burger {
  flex-shrink: 0; width: 50px; height: 50px; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 99px;
  transition: transform .2s ease, background-color .2s ease;
}
.g-burger:hover { background: #22394A; }
.g-burger:active { transform: scale(.94); }
.g-burger__box { position: relative; display: block; width: 20px; height: 14px; }
.g-burger__box span {
  position: absolute; left: 0; height: 2px; width: 100%; border-radius: 2px; background: currentColor;
  transition: width .3s cubic-bezier(.22,.8,.24,1), transform .3s cubic-bezier(.22,.8,.24,1);
}
.g-burger__box span:nth-child(1) { top: 0; }
.g-burger__box span:nth-child(2) { top: 6px; width: 70%; left: auto; right: 0; }
.g-burger__box span:nth-child(3) { top: 12px; width: 45%; left: auto; right: 0; }
.g-burger:hover .g-burger__box span { width: 100%; }
.g-burger[aria-expanded="true"] .g-burger__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.g-burger[aria-expanded="true"] .g-burger__box span:nth-child(2) { transform: scaleX(0); }
.g-burger[aria-expanded="true"] .g-burger__box span:nth-child(3) { width: 100%; transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.g-drawer { position: fixed; inset: 0; z-index: 3000; }
.g-drawer[hidden] { display: none; }
.g-drawer__scrim {
  position: absolute; inset: 0; background: rgba(14, 23, 30, 0.55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .32s ease; cursor: pointer;
}
.g-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(440px, calc(100% - 36px));
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--dark-text);
  border-left: 1.5px solid rgba(238, 242, 239, 0.14);
  border-radius: 28px 0 0 28px;
  box-shadow: -30px 0 60px -24px rgba(0, 0, 0, 0.55);
  padding: 14px 24px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  transform: translate3d(100%, 0, 0);
  transition: transform .32s cubic-bezier(.22,.8,.24,1);
  will-change: transform;
}
.g-drawer.is-open .g-drawer__scrim { opacity: 1; }
.g-drawer.is-open .g-drawer__panel { transform: none; }
.g-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; margin-bottom: 20px; }
.g-drawer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.g-drawer__logo img { height: 30px; width: auto; }
.g-drawer__close {
  position: relative; width: 50px; height: 50px; flex-shrink: 0; cursor: pointer;
  border-radius: 99px; background: transparent; color: var(--dark-text);
  border: 1.5px solid rgba(238, 242, 239, 0.35);
  transition: background-color .2s ease, border-color .2s ease, transform .3s cubic-bezier(.22,.8,.24,1);
}
.g-drawer__close:hover { background: rgba(238, 242, 239, 0.08); border-color: var(--dark-text); transform: rotate(90deg); }
.g-x::before, .g-x::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.g-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.g-drawer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.g-drawer__nav li {
  border-bottom: 1px solid rgba(238, 242, 239, 0.12);
  opacity: 0; transform: translate3d(28px, 0, 0);
  transition: opacity .3s ease, transform .4s cubic-bezier(.22,.8,.24,1);
}
.g-drawer__nav li:first-child { border-top: 1px solid rgba(238, 242, 239, 0.12); }
.g-drawer.is-open .g-drawer__nav li { opacity: 1; transform: none; transition-delay: calc(90ms + var(--i, 0) * 45ms); }
.g-drawer__link {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 62px; padding: 10px 4px 10px 20px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 6.2vw, 27px);
  line-height: 1.15; letter-spacing: -0.02em; color: var(--dark-text); text-decoration: none;
  transition: color .2s ease;
}
.g-drawer__link::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 28px; border-radius: 6px;
  background: var(--signal); transform: translateY(-50%) scaleY(0); transform-origin: center;
  transition: transform .25s cubic-bezier(.22,.8,.24,1);
}
.g-drawer__link .icon { font-size: 18px; opacity: .45; transition: transform .25s ease, opacity .25s ease; }
.g-drawer__link:hover { color: #FFFFFF; }
.g-drawer__link:hover::before { transform: translateY(-50%) scaleY(.6); }
.g-drawer__link:hover .icon { opacity: 1; transform: translate(2px, -2px); }
.g-drawer__link[aria-current="page"] { color: var(--signal); }
.g-drawer__link[aria-current="page"]::before { transform: translateY(-50%) scaleY(1); }
.g-drawer__link[aria-current="page"] .icon { opacity: 1; color: var(--signal); }
.g-drawer__foot {
  margin-top: auto; padding-top: 32px; display: grid; gap: 14px;
  opacity: 0; transform: translate3d(0, 12px, 0);
  transition: opacity .3s ease, transform .4s cubic-bezier(.22,.8,.24,1);
}
.g-drawer.is-open .g-drawer__foot { opacity: 1; transform: none; transition-delay: .38s; }
.g-drawer__cta { width: 100%; min-height: 56px !important; font-size: 18px !important; gap: 10px; }
.g-drawer__meta {
  display: flex; align-items: center; gap: 10px; margin: 6px 0 0;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-dark);
}
.g-drawer__meta .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pine-light); box-shadow: 0 0 0 4px rgba(61, 190, 153, 0.2); flex-shrink: 0; }
.g-drawer__mail {
  display: inline-flex; align-items: center; min-height: 44px; width: fit-content;
  color: var(--dark-text); font-weight: 700; font-size: 17px;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(238, 242, 239, 0.35); transition: color .2s ease, text-decoration-color .2s ease;
}
.g-drawer__mail:hover { color: var(--signal); text-decoration-color: var(--signal); }
.g-drawer a:focus-visible, .g-drawer button:focus-visible { outline-color: var(--signal) !important; box-shadow: 0 0 0 6px var(--ink) !important; }
@media (min-width: 992px) { .g-drawer { display: none !important; } }
@media (max-height: 560px) { .g-drawer__link { min-height: 50px; } .g-drawer__head { margin-bottom: 8px; } }

/* Scroll lock while the drawer is open (works on iOS Safari too) */
html.menu-open { overflow: hidden; }
html.menu-open body { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; padding-right: var(--sbw, 0px); }

/* ---------- Hero ---------- */
.section-hero { padding: 16px 16px 0; min-height: unset; }
.section-hero .hero-image {
  background: var(--mist) !important;
  background-image: none !important;
  border: 1.5px solid var(--ink);
  overflow: hidden;
}
.section-hero .hero-image .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.section-hero .content-wrap { padding: 170px 0 80px; position: relative; z-index: 2; }
.section-hero .content-wrap .sub {
  font-family: var(--font-mono); font-size: 14px; font-weight: 500 !important;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); box-shadow: none;
}
.section-hero .content-wrap .sub .pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--pine); display: inline-block;
}
.section-hero .content-wrap .title { margin-bottom: 24px; }
.section-hero .content-wrap .text { font-size: 21px; line-height: 1.5; color: var(--ink); max-width: 700px; margin: 0 auto 32px; }
.section-hero .content-wrap .bot-btns { flex-wrap: wrap; gap: 12px; }
.section-hero .hl {
  background: linear-gradient(transparent 58%, var(--signal) 58%, var(--signal) 92%, transparent 92%);
  padding: 0 .08em;
}
.section-hero.v1 .content-wrap, .section-hero.v2 .content-wrap { padding: 160px 0 72px; }
.section-hero .scroll-more {
  background-color: var(--paper); border: 1.5px solid var(--ink); border-bottom: 0;
  text-decoration: none; color: var(--ink); width: 280px;
}
.section-hero .scroll-more .icon { color: var(--ink); }
@media (max-width: 767px) {
  .section-hero { padding: 12px 12px 0; }
  .section-hero .content-wrap { padding: 120px 0 64px; }
  .section-hero.v1 .content-wrap, .section-hero.v2 .content-wrap { padding: 120px 0 48px; }
  .section-hero .content-wrap .text { font-size: 18px; }
  .section-hero .content-wrap .bot-btns { flex-direction: column; align-items: stretch; }
  .section-hero .scroll-more { display: none; }
}

/* Hero ticket row */
.hero-tickets {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-top: 56px; position: relative; z-index: 2;
}
.hero-tickets .ticket:nth-child(1) { transform: rotate(-4deg); }
.hero-tickets .ticket:nth-child(2) { transform: rotate(2deg) translateY(10px); }
.hero-tickets .ticket:nth-child(3) { transform: rotate(-1.5deg); }
@media (max-width: 767px) {
  .hero-tickets { gap: 12px; margin-top: 40px; }
  .hero-tickets .ticket { transform: none !important; width: 100%; }
}

/* ---------- Ticket / wristband motif ---------- */
.ticket {
  --t-bg: var(--paper);
  --notch: 11px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: 250px;
  background: var(--t-bg);
  border-radius: 14px;
  text-align: left;
  color: var(--ink);
  filter: drop-shadow(0 2px 0 var(--ink)) drop-shadow(0 0 0.6px var(--ink)) drop-shadow(0 0 0.6px var(--ink));
  -webkit-mask:
    radial-gradient(circle var(--notch) at calc(100% - 78px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - 78px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at calc(100% - 78px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - 78px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket.signal { --t-bg: var(--signal); }
.ticket.mist { --t-bg: var(--mist); }
.ticket.sky { --t-bg: var(--sky); }
.ticket .t-main { padding: 16px 18px; }
.ticket .t-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ticket .t-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.2; margin: 4px 0 6px; }
.ticket .t-meta { font-family: var(--font-mono); font-size: 13px; }
.ticket .t-stub {
  width: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-left: 2px dashed rgba(19, 33, 43, 0.55);
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
.ticket .t-stub strong { font-family: var(--font-display); font-size: 22px; letter-spacing: 0; }

/* Perforated edge divider */
.perf {
  height: 14px;
  background:
    radial-gradient(circle at 7px 7px, var(--paper) 4px, transparent 4.5px) 0 0 / 22px 14px repeat-x;
}

/* ---------- Built around chips (replaces partner marquee) ---------- */
.section-partner .partner-wrap { gap: 24px; align-items: center; flex-wrap: wrap; }
.section-partner .partner-wrap .text { color: var(--muted) !important; font-family: var(--font-mono); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--ink); border-radius: 99px; padding: 8px 16px;
  font-weight: 700; font-size: 15px; background: var(--paper);
}
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pine); }
.chips li:nth-child(3n+2)::before { background: var(--signal); box-shadow: 0 0 0 1.5px var(--ink); }
.chips li:nth-child(3n)::before { background: var(--ink); }

/* ---------- Panels ---------- */
.box-white {
  background-color: #FFFFFF;
  border: 1.5px solid var(--ink);
}
.box-mist { background: var(--mist); border-radius: 40px; margin: 0 16px; border: 1.5px solid var(--ink); }
.box-black { background-color: var(--ink); color: var(--dark-text); }
.box-black .heading-title, .box-black h1, .box-black h2, .box-black h3, .box-black h4, .box-black h5, .box-black h6 { color: var(--dark-text); }
.box-black p, .box-black .text-secondary { color: var(--muted-dark) !important; }
.box-black a.g-link { color: var(--pine-light); }
.box-black a.g-link:hover { color: #fff; }
@media (max-width: 991px) { .box-mist { margin: 0 12px; } }
@media (max-width: 767px) { .box-mist, .box-white, .box-black { border-radius: 24px; } }

/* ---------- Generic cards ---------- */
.g-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  padding: 32px;
  height: 100%;
  box-shadow: 0 3px 0 var(--ink);
}
.g-card.mist { background: var(--mist); }
.g-card.signal { background: var(--signal); }
.g-card.ink { background: var(--ink); color: var(--dark-text); }
.g-card.ink h3, .g-card.ink h4, .g-card.ink h5, .g-card.ink h6 { color: var(--dark-text); }
.g-card.ink p { color: var(--muted-dark); }
.g-card h3, .g-card h4, .g-card h5, .g-card h6 { margin-bottom: 12px; }
.g-card p { color: var(--muted); }
.g-card.signal p { color: var(--ink); }
.g-card .g-icon {
  width: 60px; height: 60px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; background: var(--signal); color: var(--ink); border: 1.5px solid var(--ink); margin-bottom: 24px;
}
.g-card.signal .g-icon { background: var(--paper); }
.g-label, .g-card .g-label {
  font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--pine-deep); display: block; margin-bottom: 10px;
}
.g-card.ink .g-label { color: var(--pine-light); }
@media (max-width: 767px) { .g-card { padding: 24px; border-radius: 22px; } }

.g-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.g-list li { position: relative; padding-left: 30px; }
.g-list li::before {
  content: ""; position: absolute; left: 4px; top: 0.5em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--pine); box-shadow: 0 0 0 3px var(--mist);
}
.g-card.ink .g-list li::before, .box-black .g-list li::before { background: var(--signal); box-shadow: 0 0 0 3px var(--dark-surface); }

/* ---------- Cards on dark bands ---------- */
.g-card.dark { background: var(--dark-surface); border-color: var(--dark-text); box-shadow: none; color: var(--dark-text); }
.g-card.dark h3, .g-card.dark h4, .g-card.dark h5, .g-card.dark h6 { color: var(--dark-text); }
.g-card.dark p { color: var(--muted-dark); }
.g-card.dark .g-label { color: var(--pine-light); }

/* ---------- Process (How it works) ---------- */
.process-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  border-radius: 28px;
  min-height: 100%;
}
.process-card .icon {
  background: var(--signal); color: var(--ink); box-shadow: none; border: 1.5px solid var(--ink);
  margin-bottom: 48px; width: 64px; height: 64px; font-size: 28px;
}
.process-card .content { margin-bottom: 40px; }
.process-card .content .title::after { background: var(--line); }
.process-card .content .text { color: var(--muted) !important; }
.process-card .bot .time { font-family: var(--font-mono); font-size: 13px; border-color: var(--ink); font-weight: 500 !important; }
.process-card .bot .number { font-family: var(--font-display); font-size: 48px; line-height: 1; }
.process-card .bot .number .text-neutral-400 { color: var(--ink) !important; }
.process-card .bot .number .text-neutral-200 { color: var(--muted) !important; }
.swiper-slide { height: auto; }
.group-btn-slider .nav-prev-swiper, .group-btn-slider .nav-next-swiper {
  background: var(--paper) !important; color: var(--ink) !important; border: 1.5px solid var(--ink);
  box-shadow: none !important; cursor: pointer;
}
.group-btn-slider .nav-prev-swiper:hover, .group-btn-slider .nav-next-swiper:hover { background: var(--signal) !important; }
.group-btn-slider .swiper-button-disabled { opacity: .4; }

/* ---------- Audience cards ---------- */
.aud-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.aud-card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.aud-card .product { font-family: var(--font-mono); font-size: 13px; color: var(--pine-deep); text-transform: uppercase; letter-spacing: .08em; }
.aud-card.ink .product { color: var(--pine-light); }
.aud-card .go { margin-top: auto; padding-top: 20px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.aud-card .go .icon { transition: transform .2s ease; }
.aud-card:hover .go .icon { transform: translate(2px, -2px); }

/* ---------- Scout chat mock ---------- */
.chat-mock {
  background: #FFFFFF;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 4px 0 var(--ink);
  overflow: hidden;
  max-width: 560px;
  margin-left: auto;
}
.chat-mock .chat-top {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: var(--ink); color: var(--dark-text);
}
.chat-mock .chat-top img { width: 36px; height: 36px; }
.chat-mock .chat-top .who { font-weight: 700; line-height: 1.2; }
.chat-mock .chat-top .who small { display: block; font-weight: 400; font-size: 13px; color: var(--muted-dark); font-family: var(--font-mono); }
.chat-mock .chat-body { padding: 20px; display: grid; gap: 12px; background: var(--paper); }
.chat-mock .msg { max-width: 86%; padding: 12px 16px; border-radius: 18px; font-size: 16px; line-height: 1.45; }
.chat-mock .msg .from { display: block; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; color: var(--muted); }
.chat-mock .msg.user { justify-self: end; background: var(--sky); border-bottom-right-radius: 6px; }
.chat-mock .msg.scout { justify-self: start; background: #FFFFFF; border: 1.5px solid var(--ink); border-bottom-left-radius: 6px; }
.chat-mock .plan { margin-top: 10px; border: 1.5px dashed var(--ink); border-radius: 14px; overflow: hidden; }
.chat-mock .plan dl { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.chat-mock .plan dt, .chat-mock .plan dd { padding: 8px 12px; margin: 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.chat-mock .plan dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 10px; }
.chat-mock .plan dl > :nth-last-child(-n+2) { border-bottom: 0; }
.chat-mock .plan .mono { font-size: 14px; }
.chat-mock .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.chat-mock .actions span {
  font-weight: 700; font-size: 14px; border: 1.5px solid var(--ink); border-radius: 99px; padding: 6px 14px; background: var(--paper);
}
.chat-mock .actions span.primary { background: var(--signal); }
.chat-mock .note-chip { display: inline-flex; gap: 8px; align-items: center; background: var(--mist); border-radius: 10px; padding: 8px 12px; font-size: 14.5px; margin-top: 8px; }
.chat-mock .note-chip .icon { color: var(--pine-deep); }
.chat-mock .chat-input {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1.5px solid var(--ink); background: #fff;
  color: var(--muted); font-size: 15px;
}
.chat-mock .chat-input .fake-field { flex: 1; border: 1.5px solid var(--line); border-radius: 99px; padding: 8px 14px; }
.chat-mock .chat-input .send { width: 38px; height: 38px; border-radius: 50%; background: var(--signal); border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.chat-mock .typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.chat-mock .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: g-bounce 1s infinite; }
.chat-mock .typing i:nth-child(2) { animation-delay: .15s; }
.chat-mock .typing i:nth-child(3) { animation-delay: .3s; }
.chat-mock .js-reveal { transition: opacity .4s ease, transform .4s ease; }
.chat-mock .js-reveal.is-hidden { opacity: 0; transform: translateY(8px); }
@keyframes g-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.chat-caption { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 560px; margin-left: auto; }
@media (max-width: 991px) { .chat-mock, .chat-caption { margin-left: 0; max-width: 100%; } }
@media (max-width: 767px) { .chat-mock .msg { max-width: 94%; } }

/* ---------- Guide recruiting band ---------- */
.guide-band {
  margin: 0 16px; border-radius: 40px; background: var(--signal); border: 1.5px solid var(--ink);
  position: relative; overflow: hidden;
}
.guide-band .inner { padding: 72px 0; position: relative; z-index: 2; }
.guide-band h2 { font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 16px; }
.guide-band p { font-size: 19px; max-width: 560px; }
.guide-band .band-art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 420px; max-width: 45%; opacity: 1; }
@media (max-width: 991px) {
  .guide-band { margin: 0 12px; }
  .guide-band .band-art { display: none; }
  .guide-band h2 { font-size: 36px; }
}
@media (max-width: 767px) {
  .guide-band { border-radius: 24px; }
  .guide-band .inner { padding: 48px 0; }
  .guide-band h2 { font-size: 28px; }
}

/* ---------- CTA panel ---------- */
.cta-panel {
  margin: 0 16px; border-radius: 40px; background: var(--ink); color: var(--dark-text); position: relative; overflow: hidden;
}
.cta-panel .inner { padding: 96px 0; position: relative; z-index: 2; }
.cta-panel h2 { color: var(--dark-text); font-size: 56px; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 20px; }
.cta-panel p { color: var(--muted-dark); font-size: 19px; max-width: 620px; margin: 0 auto 32px; }
.cta-panel .route-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
@media (max-width: 991px) { .cta-panel { margin: 0 12px; } .cta-panel h2 { font-size: 40px; } }
@media (max-width: 767px) { .cta-panel { border-radius: 24px; } .cta-panel .inner { padding: 56px 0; } .cta-panel h2 { font-size: 30px; } }

/* ---------- Code / fact rows ---------- */
.fact-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: #fff; }
.fact-table th, .fact-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 17px; }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }
.fact-table th { width: 34%; background: var(--mist); font-weight: 700; }
.fact-table td .mono { background: var(--signal); padding: 1px 6px; border-radius: 4px; font-size: 15px; }
.fact-table caption { caption-side: bottom; padding-top: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
@media (max-width: 767px) {
  .fact-table, .fact-table tbody, .fact-table tr, .fact-table th, .fact-table td { display: block; width: 100%; }
  .fact-table th { border-bottom: 0; padding-bottom: 6px; }
  .fact-table td { padding-top: 6px; }
}

.callout {
  border: 1.5px solid var(--ink); border-left: 10px solid var(--signal); border-radius: 16px;
  background: #fff; padding: 20px 24px; font-size: 17px;
}
.callout.pine { border-left-color: var(--pine); }
.callout strong { font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.accordion-asked .accordion-asked-item {
  background-color: #FFFFFF; border: 1.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); padding: 20px 28px;
}
.accordion-asked .accordion-button { background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 19px; text-align: left; width: 100%; box-shadow: none; padding: 4px 0; }
.accordion-asked .accordion-button:not(.collapsed) { color: var(--ink); background: transparent; }
.accordion-asked .accordion-button:hover { color: var(--pine-deep); }
.accordion-asked .accordion-button span { background: var(--signal); border: 1.5px solid var(--ink); box-shadow: none; }
.accordion-asked .accordion-button span::before, .accordion-asked .accordion-button span::after { background-color: var(--ink); }
.accordion-asked .accordion-body { color: var(--muted); padding: 12px 0 4px; font-size: 17px; }
@media (max-width: 767px) { .accordion-asked .accordion-asked-item { padding: 16px 18px; } .accordion-asked .accordion-button { font-size: 17px; } }

/* ---------- Contact / form ---------- */
.section-contact { padding: 0 16px; }
.form-contact {
  background: #FFFFFF; border: 1.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink); padding: 40px; border-radius: 32px;
}
.form-contact .heading { margin-bottom: 8px; }
.form-contact .form-note { color: var(--muted); margin-bottom: 28px; font-size: 16px; }
.form-contact fieldset { margin-bottom: 20px; }
.form-contact label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.form-contact label .opt { font-weight: 400; color: var(--muted); }
.form-contact input, .form-contact select, .form-contact textarea {
  width: 100%; font-family: var(--font-body); font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--muted); border-radius: 12px; padding: 12px 14px; min-height: 52px;
}
.form-contact select { appearance: auto; -webkit-appearance: menulist; }
.form-contact textarea { height: 140px; border-radius: 12px; resize: vertical; }
.form-contact input::placeholder, .form-contact textarea::placeholder { color: #66737B; }
.form-contact input:focus, .form-contact select:focus, .form-contact textarea:focus { border-color: var(--ink); }
.form-contact .tf-btn { width: 100%; cursor: pointer; }
.form-status {
  margin-top: 20px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--ink);
  background: var(--mist); font-size: 17px;
}
.form-status[hidden] { display: none; }
@media (max-width: 767px) { .form-contact { padding: 24px; border-radius: 22px; } .section-contact { padding: 0; } }

.contact-side .contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-side .contact-item .icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--signal); border: 1.5px solid var(--ink); color: var(--ink);
}
.contact-side .contact-item .title { font-weight: 700; }
.contact-side .contact-item .text { color: var(--muted); }

/* ---------- Team cards ---------- */
.person-card { display: flex; gap: 20px; align-items: center; }
.person-card .avatar {
  width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0; border: 1.5px solid var(--ink);
  background: var(--mist); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink);
}
.person-card .avatar.signal { background: var(--signal); }
.person-card .name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.person-card .role { color: var(--muted); }

/* ---------- Link cards (team.html) ---------- */
.link-card {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; padding: 40px; min-height: 260px;
  border: 1.5px solid var(--ink); border-radius: 32px; background: #fff; box-shadow: 0 4px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.link-card:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.link-card.signal { background: var(--signal); }
.link-card .lc-title { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
.link-card .lc-desc { color: var(--muted); font-size: 18px; }
.link-card.signal .lc-desc { color: var(--ink); }
.link-card .lc-go { margin-top: auto; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 767px) { .link-card { padding: 28px; min-height: 0; } .link-card .lc-title { font-size: 28px; } }

/* ---------- Explorer page: larger, plainer ---------- */
.explorer-mode { font-size: 20px; line-height: 1.6; }
.explorer-mode .g-card p, .explorer-mode .g-list li { font-size: 20px; color: var(--ink); }
.explorer-mode .text-secondary { color: var(--ink) !important; }
.step-pic {
  display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center;
  padding: 20px; border: 1.5px solid var(--ink); border-radius: 24px; background: #fff; box-shadow: 0 3px 0 var(--ink); height: 100%;
}
.step-pic .pic {
  width: 96px; height: 96px; border-radius: 22px; background: var(--mist); border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--ink);
}
.step-pic .pic.signal { background: var(--signal); }
.step-pic .pic.sky { background: var(--sky); }
.step-pic .k { font-family: var(--font-mono); font-size: 14px; color: var(--pine-deep); text-transform: uppercase; letter-spacing: .06em; }
.step-pic h3 { font-size: 22px; line-height: 1.25; margin: 2px 0 4px; }
.step-pic p { margin: 0; font-size: 19px; }
@media (max-width: 575px) { .step-pic { grid-template-columns: 72px 1fr; padding: 16px; gap: 14px; } .step-pic .pic { width: 72px; height: 72px; font-size: 30px; } }

.say-no {
  background: var(--ink); color: var(--dark-text); border-radius: 32px; padding: 48px; border: 1.5px solid var(--ink);
}
.say-no h2 { color: var(--signal); font-size: 52px; line-height: 1.05; margin-bottom: 16px; letter-spacing: -0.03em; }
.say-no p { color: var(--dark-text); font-size: 20px; }
@media (max-width: 767px) { .say-no { padding: 28px; border-radius: 24px; } .say-no h2 { font-size: 34px; } }

/* Phone mock (Explorer app) */
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; border: 2px solid var(--ink); border-radius: 44px; padding: 14px;
  background: var(--ink); box-shadow: 0 6px 0 rgba(19,33,43,.25);
}
.phone .screen { background: var(--paper); border-radius: 32px; padding: 22px 18px; display: grid; gap: 14px; }
.phone .screen .q { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.phone .opt {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; min-height: 72px;
  border: 2px solid var(--ink); border-radius: 18px; padding: 8px; background: #fff; font-weight: 700; font-size: 20px;
}
.phone .opt .pic { width: 64px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--mist); }
.phone .opt.yes { background: var(--signal); }
.phone .readaloud { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 18px; }

/* ---------- Footer ---------- */
footer.g-footer {
  margin: 16px 16px 16px; border-radius: 40px; background: var(--ink); color: var(--dark-text); padding: 72px 0 0;
}
footer.g-footer .footer-content { text-align: left; padding-bottom: 56px; }
footer.g-footer .footer-logo img { height: 44px; width: auto; }
footer.g-footer .f-tag { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--dark-text); margin: 28px 0 10px; letter-spacing: -0.02em; }
footer.g-footer .f-sub { color: var(--muted-dark); font-size: 17px; max-width: 420px; }
footer.g-footer .f-head { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); margin-bottom: 14px; }
footer.g-footer .f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.g-footer .f-links a { color: var(--dark-text); text-decoration: none; font-size: 17px; }
footer.g-footer .f-links a:hover { color: var(--signal); text-decoration: underline; }
footer.g-footer .footer-bottom { padding: 24px 0 32px; display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
footer.g-footer .footer-bottom::before { background: rgba(238, 242, 239, 0.18); }
footer.g-footer .footer-bottom > * { width: auto; }
footer.g-footer .footer-bottom p, footer.g-footer .footer-bottom a { color: var(--muted-dark); font-size: 15px; }
footer.g-footer .footer-bottom a { text-decoration: none; }
footer.g-footer .footer-bottom a:hover { color: var(--signal); }
footer.g-footer .team-link { font-size: 13px !important; opacity: .9; text-decoration: underline !important; }
footer.g-footer .route { display: block; width: 100%; height: 40px; margin-top: 40px; }
@media (max-width: 991px) { footer.g-footer { margin: 12px; } }
@media (max-width: 767px) {
  footer.g-footer { border-radius: 24px; padding-top: 48px; }
  footer.g-footer .f-tag { font-size: 26px; }
  footer.g-footer .footer-bottom { justify-content: flex-start; }
  footer.g-footer .footer-bottom > * { justify-content: flex-start !important; }
}

/* ---------- Go top ---------- */
#goTop { background: var(--ink); border: 1.5px solid var(--signal); width: 48px; height: 48px; }
#goTop .border-progress { border-color: var(--signal); }

/* ---------- 404 ---------- */
.section-404 { padding-top: 200px !important; }
.section-404 .title { font-size: 64px; line-height: 1.05; margin-bottom: 20px; }
.section-404 .desc { color: var(--muted); font-size: 20px; margin-bottom: 32px; }
@media (max-width: 767px) { .section-404 { padding-top: 150px !important; } .section-404 .title { font-size: 36px; } }

/* ---------- Misc ---------- */
.list-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.list-tags .tags-item, .list-tags span {
  border: 1.5px solid var(--ink); border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: 15px; background: var(--paper); color: var(--ink);
}
.pill-status {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px;
  border: 1.5px solid var(--ink); border-radius: 99px; padding: 4px 12px; background: var(--paper);
}
.pill-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pine); }
.placeholder-mark { background: var(--signal); padding: 0 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .9em; }
.mb-24 { margin-bottom: 24px; }
.gy-24 { --bs-gutter-y: 24px; }
.max-680 { max-width: 680px; }
.section-features .features-item .icon { background: var(--signal) !important; color: var(--ink) !important; box-shadow: none !important; border: 1.5px solid var(--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .effectFade { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .chat-mock .js-reveal.is-hidden { opacity: 1; transform: none; }
  .hero-tickets .ticket { transform: none !important; }
}
footer.g-footer .f-email { color: var(--muted-dark); font-size: 17px; }
.process-slide .swiper { padding-bottom: 8px; }
a, button, input, select, textarea { font-family: inherit; }
.section-services-single, .section-work-single { margin-top: 0; }
.section-about-us .heading-section { margin-bottom: 24px; }
.chat-mock .plan .mono, .fact-table .mono { white-space: nowrap; }
.section-hero .content-wrap .sub { max-width: 100%; flex-wrap: wrap; text-align: center; }
@media (max-width: 575px) { .section-hero .content-wrap .sub { font-size: 12.5px; } }
.say-no p + p, .g-prose p + p { margin-top: 12px; }
.form-contact input[type], .form-contact select, .form-contact textarea {
  border: 1.5px solid var(--muted) !important; background: var(--paper) !important; border-radius: 12px !important;
  padding: 12px 14px !important; color: var(--ink) !important; font-size: 17px !important; height: auto; min-height: 52px;
}
.form-contact textarea { height: 140px !important; }
.form-contact input[type]:focus, .form-contact select:focus, .form-contact textarea:focus { border-color: var(--ink) !important; }
.form-contact select { display: block; box-sizing: border-box; width: 100%; -webkit-appearance: menulist; appearance: menulist; line-height: 1.4; }
.form-contact select option { all: revert; background-color: #fff; color: var(--ink); }
.form-contact input[type], .form-contact textarea { box-sizing: border-box; display: block; width: 100%; }

/* =========================================================
   v3 polish: responsive, tap targets, states, motion
   ========================================================= */

/* Pre-hide scroll-reveal content only until GSAP takes over (set in <head>). */
html.js-anim .effectFade { opacity: 0; }

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 104px; }
@media (max-width: 991px) { [id] { scroll-margin-top: 92px; } }

/* Never allow sideways scroll from decorative overflow */
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; }
.container { width: 100%; max-width: 1256px; padding-left: 28px; padding-right: 28px; }
@media (max-width: 991px) { .container { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 575px) { .container { padding-left: 20px; padding-right: 20px; } }
h1, h2, h3, .heading-title, .text-display-2 { overflow-wrap: break-word; text-wrap: balance; }
p, li, .lede { text-wrap: pretty; }

/* Hero type scale on phones: fits "Outings, handled." on two clean lines */
@media (max-width: 767px) {
  .text-display-2 { font-size: clamp(34px, 10.4vw, 46px); line-height: 1.06; letter-spacing: -0.03em; }
  .section-hero .content-wrap { padding: 112px 0 56px; }
  .section-hero.v1 .content-wrap, .section-hero.v2 .content-wrap { padding: 112px 0 44px; }
  .section-hero .content-wrap .text { font-size: 17.5px; line-height: 1.55; }
  .heading-section .heading-title { font-size: clamp(26px, 7.6vw, 32px); }
}
@media (min-width: 768px) and (max-width: 991px) { .text-display-2 { font-size: 58px; } }

/* Tickets never force overflow in narrow columns */
.ticket { min-width: 0; }
.hero-tickets .ticket { min-width: 250px; }
@media (max-width: 767px) { .hero-tickets .ticket { min-width: 0; } }
.ticket .t-main { min-width: 0; }
.ticket .t-title { overflow-wrap: anywhere; }

/* Buttons: consistent hover / active / focus */
.tf-btn, .tf-btn-2 {
  gap: 10px; border-radius: 99px; cursor: pointer; user-select: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.tf-btn:active { transform: translateY(1px); box-shadow: inset 0 -2px 0 rgba(19, 33, 43, 0.18), 0 1px 0 var(--ink) !important; }
.tf-btn-2:hover { transform: translateY(-1px); }
.tf-btn-2:active { transform: translateY(1px); }
.tf-btn .icon, .tf-btn-2 .icon { transition: transform .2s ease; }
.tf-btn:hover .icon-arrow-top-right, .tf-btn-2:hover .icon-arrow-top-right { transform: translate(2px, -2px); }
.tf-btn.ink { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0,0,0,.35), 0 2px 0 rgba(19,33,43,.35) !important; }
.tf-btn.ink:hover { background: #22394A !important; box-shadow: inset 0 -3px 0 rgba(0,0,0,.35), 0 4px 0 rgba(19,33,43,.35) !important; }
.on-dark .tf-btn:focus-visible, .box-black .tf-btn:focus-visible, .cta-panel .tf-btn:focus-visible { outline-color: var(--signal) !important; box-shadow: 0 0 0 6px var(--ink) !important; }
@media (max-width: 575px) {
  .cta-panel .d-flex > .tf-btn, .cta-panel .d-flex > .tf-btn-2,
  .section-404 .d-flex > .tf-btn, .section-404 .d-flex > .tf-btn-2 { flex: 1 1 100%; }
}

/* Cards: subtle, consistent hover */
.g-card, .process-card, .step-pic { transition: transform .25s ease, box-shadow .25s ease; }
.aud-card:hover, .link-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--ink); }
.aud-card:active, .link-card:active { transform: translateY(-1px); box-shadow: 0 3px 0 var(--ink); }
.process-card:hover { box-shadow: 0 6px 0 var(--ink); }
.g-card .g-icon, .contact-side .contact-item .icon { flex-shrink: 0; }
.g-card .g-icon .icon, .g-icon i { line-height: 1; display: block; }

/* Tap targets (>= 44px) */
.accordion-asked .accordion-button { min-height: 48px; gap: 16px; }
footer.g-footer .f-links { gap: 0; }
footer.g-footer .f-links a { display: inline-flex; align-items: center; min-height: 44px; }
footer.g-footer .f-email { color: var(--dark-text); overflow-wrap: anywhere; }
footer.g-footer .footer-bottom a,
footer.g-footer .team-link { display: inline-flex; align-items: center; min-height: 44px; }
footer.g-footer .footer-logo { display: inline-flex; min-height: 44px; align-items: center; }
footer.g-footer .footer-bottom p { margin: 0; }
.contact-side a, .g-prose a { overflow-wrap: anywhere; }

/* Footer on phones: tidy two-column links, stacked bottom row */
@media (max-width: 767px) {
  footer.g-footer { padding-top: 40px; }
  footer.g-footer .footer-content { padding-bottom: 32px; }
  footer.g-footer .f-tag { margin-top: 20px; }
  footer.g-footer .route { margin-top: 24px; }
  footer.g-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 0 24px; }
}
@media (max-width: 400px) {
  footer.g-footer .footer-content .col-6 { width: 100%; }
}

/* Tables: contained, never push the page sideways */
.fact-table { max-width: 100%; }
.fact-table td, .fact-table th { overflow-wrap: anywhere; }
@media (max-width: 767px) { .fact-table th, .fact-table td { padding-left: 16px; padding-right: 16px; } }

/* Back-to-top button: comfortable target, hidden while the drawer is open */
#goTop { width: 52px; height: 52px; }
html.menu-open #goTop { opacity: 0; visibility: hidden; }

/* Swiper nav buttons: >= 44px */
.group-btn-slider .nav-prev-swiper, .group-btn-slider .nav-next-swiper { min-width: 48px; min-height: 48px; transition: background-color .2s ease, transform .2s ease; }
.group-btn-slider .nav-prev-swiper:active, .group-btn-slider .nav-next-swiper:active { transform: scale(.95); }

/* Smooth cross-page transitions (Chromium); off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: g-vt-out .22s ease both; }
  ::view-transition-new(root) { animation: g-vt-in .32s cubic-bezier(.22,.8,.24,1) both; }
  ::view-transition-group(site-header) { animation-duration: .3s; }
}
@keyframes g-vt-out { to { opacity: 0; } }
@keyframes g-vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  html.js-anim .effectFade { opacity: 1; }
  .g-drawer *, .g-drawer { transition-delay: 0s !important; }
  .g-drawer__nav li, .g-drawer__foot { transform: none !important; }
  .tf-header .header-inner { transition: none; }
}

/* Header/hero on phones + tablets: one clean floating header bar.
   The hero card starts below the header instead of framing it (no nested outlines). */
@media (max-width: 1199px) {
  .tf-header .header-inner, .tf-header.header2 .header-inner { max-width: calc(100% - 48px); }
}
@media (max-width: 991px) {
  .tf-header .header-inner, .tf-header.header2 .header-inner { max-width: none; margin: 0 12px; }
  .section-hero .hero-image { inset: 88px 12px 0 12px; }
  .section-hero .content-wrap,
  .section-hero.v1 .content-wrap,
  .section-hero.v2 .content-wrap { padding-top: 124px; }
}
@media (max-width: 767px) {
  .section-hero .content-wrap,
  .section-hero.v1 .content-wrap,
  .section-hero.v2 .content-wrap { padding-top: 120px; }
}
.contact-side .contact-item a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 992px) { .section-hero .hero-image { inset: 104px 16px 0 16px; } }
.g-drawer__panel:focus { outline: none; }
section[tabindex="-1"]:focus, main:focus, #wrapper:focus, .g-drawer__panel:focus { outline: none !important; box-shadow: none !important; }
