/* ==========================================================================
   Double L Brands - Core Stylesheet
   Shark Theory Labs
   Design system: brand tokens, layout, components, responsive.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --ink:        #101014;   /* near-black, primary text / dark sections */
  --ink-soft:   #1a1a21;   /* raised dark surface */
  --ink-line:   #2a2a33;   /* borders on dark */
  --paper:      #ffffff;
  --cream:      #f7f5f1;   /* warm off-white section bg */
  --cream-2:    #efece5;
  --muted:      #6b6b76;   /* secondary text on light */
  --muted-dark: #a7a7b2;   /* secondary text on dark */
  --accent:     #f47a34;   /* Double L brand orange (sampled from logo) */
  --accent-600: #e0692a;   /* deeper orange for filled buttons / hover */
  --accent-tint:#fff3ec;

  /* Typography */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing / sizing */
  --container: 1180px;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 18px 50px -20px rgba(16, 16, 20, 0.28);
  --shadow-sm: 0 8px 24px -12px rgba(16, 16, 20, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--ink); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark p { color: var(--paper); }
.section--cream { background: var(--cream); }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: inline-block;
}
.section--dark .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 15px 26px; border-radius: 999px; transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(244,122,52,.7); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(16,16,20,.18); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.section--dark .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.04em;
}
.brand__name { transition: color .3s var(--ease); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: 0.95rem; font-weight: 500; transition: color .2s var(--ease); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--accent); transition: width .25s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__login { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 7px; }
.nav__login svg { width: 15px; height: 15px; }

/* Header color states */
.site-header { color: #fff; }                                   /* default: over dark hero */
.site-header .nav__links a { color: rgba(255,255,255,.82); }
.site-header .nav__links a:hover { color: #fff; }
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom-color: rgba(16,16,20,.08); box-shadow: 0 6px 24px -18px rgba(16,16,20,.4); color: var(--ink); }
.site-header.scrolled .brand__name { color: var(--ink); }
.site-header.scrolled .nav__links a { color: var(--ink); }
.site-header.scrolled .nav__login { color: var(--ink); }
/* Sub-pages (dark nav on light hero) use .header--solid from load */
.header--solid { position: sticky; background: var(--paper); color: var(--ink); border-bottom-color: rgba(16,16,20,.08); }
.header--solid .brand__name { color: var(--ink); }
.header--solid .nav__links a { color: var(--ink); }
.header--solid .nav__login { color: var(--ink); }

/* Hamburger */
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav__toggle span { width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: 150px 0 110px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(244,122,52,.22), transparent 60%),
    radial-gradient(45% 45% at 8% 90%, rgba(244,122,52,.10), transparent 60%);
  pointer-events: none;
}
.hero__grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%); }
.hero__inner { position: relative; max-width: 860px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--muted-dark); border: 1px solid var(--ink-line); padding: 8px 16px; border-radius: 999px; margin-bottom: 26px; }
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(244,122,52,.2); }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--accent); }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted-dark); max-width: 640px; margin-bottom: 18px; }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--ink-line); background: var(--ink); color: var(--muted-dark); padding: 30px 0; }
.trust__row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: center; }
.trust__label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; }
.trust__logos { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; justify-content: center; }
.trust__logos span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: rgba(255,255,255,.6); letter-spacing: .01em; }

/* ---------- Generic grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid rgba(16,16,20,.08); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(16,16,20,.12); }
.card__num { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: .95rem; letter-spacing: .04em; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.section--cream .card { background: #fff; }

/* Checklist */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.02rem; }
.checklist .tick { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.section--dark .checklist .tick { background: rgba(244,122,52,.16); }
.checklist .tick svg { width: 14px; height: 14px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink-soft); min-height: 380px; position: relative; }
.split--reverse .split__media { order: -1; }

/* Stat block */
.stat-band { display: flex; flex-wrap: wrap; gap: 20px; }
.stat {
  flex: 1 1 200px; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 30px;
}
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.stat__label { color: var(--muted-dark); margin-top: 10px; font-size: .98rem; }

/* Pills / tags */
.snap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.snap { display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(16,16,20,.1); background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.snap:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.snap img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .snap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .snap-grid { grid-template-columns: 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid rgba(16,16,20,.12); border-radius: 999px; padding: 11px 17px; font-family: var(--font-display); font-weight: 500; font-size: .94rem; transition: all .25s var(--ease); }
.pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.section--dark .pill { border-color: var(--ink-line); color: var(--muted-dark); }
.section--dark .pill:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Testimonial slider ---------- */
.tslider { position: relative; max-width: 860px; margin-inline: auto; }
.tslide { display: none; text-align: center; animation: fade .5s var(--ease); }
.tslide.is-active { display: block; }
.tslide__quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.35; letter-spacing: -.02em; }
.section--dark .tslide__quote { color: #fff; }
.tslide__who { margin-top: 26px; font-family: var(--font-display); font-weight: 600; }
.tslide__role { color: var(--muted-dark); font-size: .95rem; }
.section--cream .tslide__role { color: var(--muted); }
.tslider__dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.tslider__dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); transition: all .25s var(--ease); }
.section--cream .tslider__dots button { background: rgba(16,16,20,.16); }
.tslider__dots button.is-active { background: var(--accent); width: 26px; border-radius: 999px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Static testimonial cards (results page) */
.quote-card { background: #fff; border: 1px solid rgba(16,16,20,.08); border-radius: var(--radius); padding: 32px; }
.quote-card__stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 16px; font-size: .9rem; }
.quote-card p { font-size: 1.05rem; line-height: 1.55; }
.quote-card__who { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(16,16,20,.08); font-family: var(--font-display); font-weight: 600; }
.quote-card__role { color: var(--muted); font-size: .92rem; font-family: var(--font-body); font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(44px, 6vw, 76px); overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(244,122,52,.28), transparent 65%); }
.cta-band__inner { position: relative; max-width: 660px; margin-inline: auto; }
.cta-band p { color: var(--muted-dark); margin: 16px 0 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 72px 0 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--ink-line); }
.footer__brand .brand { color: #fff; margin-bottom: 16px; }
.footer__brand p { color: var(--muted-dark); max-width: 320px; font-size: .96rem; }
.footer__col h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer__col a, .footer__col li { display: block; color: var(--muted-dark); font-size: .96rem; margin-bottom: 12px; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .88rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Page hero (sub-pages) ---------- */
.pagehero { background: var(--cream); padding: 130px 0 70px; border-bottom: 1px solid rgba(16,16,20,.06); }
.pagehero__inner { max-width: 780px; }
.pagehero h1 { margin: 14px 0 18px; }
.pagehero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.breadcrumb { font-size: .85rem; color: var(--muted); font-family: var(--font-display); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .88rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(16,16,20,.14); background: #fff; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(244,122,52,.12); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Utility ---------- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 48px; }
.maxw-620 { max-width: 620px; } .maxw-720 { max-width: 720px; }
.txt-muted { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links, .nav__login.desktop-only { display: none; }
  .nav__toggle { display: flex; }
  .mobile-menu { position: fixed; inset: 76px 0 auto 0; background: var(--paper); color: var(--ink);
    border-bottom: 1px solid rgba(16,16,20,.1); box-shadow: var(--shadow); padding: 22px 24px 30px;
    display: grid; gap: 6px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: 99; }
  .mobile-menu.open { transform: none; }
  .mobile-menu a { padding: 13px 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid rgba(16,16,20,.06); }
  .mobile-menu .btn { margin-top: 12px; justify-content: center; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { justify-content: flex-start; }
}
@media (min-width: 769px) { .mobile-menu { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- SVG Wordmark Logo ---------- */
.brand { text-decoration: none; }
.brand__logo { height: 28px; width: auto; display: block; }
.footer__brand .brand__logo { height: 34px; }
/* homepage overlay header: white logo over the dark hero, dark logo once scrolled onto white */
.site-header--overlay .brand__logo--dark { display: none; }
.site-header--overlay.scrolled .brand__logo--light { display: none; }
.site-header--overlay.scrolled .brand__logo--dark { display: block; }

/* Bracket motif as a decorative frame (reused on cards / media) */
.framed { position: relative; }
.framed::before, .framed::after {
  content: ""; position: absolute; width: 26px; height: 26px; border: 3px solid var(--accent); pointer-events: none;
}
.framed::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.framed::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* Portrait media */
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-soft); box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.portrait__fallback { display: none; }
.portrait img.err + .portrait__fallback,
.portrait img[data-broken] + .portrait__fallback {
  display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  background: linear-gradient(150deg, var(--ink), var(--ink-soft)); color: var(--muted-dark); text-align: center; padding: 24px;
}

/* ---------- Brand wordmark lockup (brackets framing the name) ---------- */
.brand__lockup { position: relative; padding: 8px 15px; display: inline-flex; }
.brand__word { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -0.01em; color: currentColor; white-space: nowrap; line-height: 1; }
.brand__lockup::before, .brand__lockup::after { content: ""; position: absolute; width: 11px; height: 11px; border: 2.5px solid var(--accent); }
.brand__lockup::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.brand__lockup::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.footer__brand .brand__word { font-size: 1.22rem; }

/* ==========================================================================
   CLIENT PORTAL
   ========================================================================== */
.portal-body { background: var(--ink); color: #fff; min-height: 100vh; }

/* Login screen */
.plogin { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; position: relative; overflow: hidden; }
.plogin::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 45% at 50% 8%, rgba(244,122,52,.22), transparent 60%); pointer-events: none; }
.plogin__card { position: relative; width: 100%; max-width: 440px; background: var(--ink-soft); border: 1px solid var(--ink-line);
  border-radius: 22px; padding: 42px 38px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.plogin__card .brand { justify-content: center; margin-bottom: 26px; color: #fff; }
.plogin h1 { font-size: 1.7rem; text-align: center; }
.plogin p.sub { color: var(--muted-dark); text-align: center; margin: 10px 0 26px; font-size: .98rem; }
.plogin .field label { color: #fff; }
.plogin .field input { background: #101014; border-color: var(--ink-line); color: #fff; }
.plogin .field input::placeholder { color: #666; }
.plogin .btn { width: 100%; justify-content: center; margin-top: 18px; }
.plogin__note { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted-dark); font-size: .84rem; margin-top: 22px; }
.plogin__note svg { width: 14px; height: 14px; stroke: var(--accent); }
.plogin__back { text-align: center; margin-top: 20px; }
.plogin__back a { color: var(--muted-dark); font-size: .88rem; }
.plogin__back a:hover { color: #fff; }

/* Info banner (explains the demo/gate) */
.pbanner { background: rgba(244,122,52,.12); border: 1px solid rgba(244,122,52,.3); color: #ffd8c4;
  border-radius: 12px; padding: 12px 16px; font-size: .85rem; margin-top: 22px; line-height: 1.5; }
.pbanner strong { color: #fff; }

/* Dashboard */
.ptopbar { position: sticky; top: 0; z-index: 20; background: rgba(16,16,20,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line); }
.ptopbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.ptopbar .brand { color: #fff; }
.puser { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--muted-dark); }
.pavatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.plogout { color: var(--muted-dark); font-family: var(--font-display); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.plogout:hover { color: #fff; }
.plogout svg { width: 15px; height: 15px; }

.pmain { padding: 44px 0 80px; }
.pwelcome h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.pwelcome p { color: var(--muted-dark); margin-top: 8px; }

.pgrid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 34px; }
.panel { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 26px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.panel__head h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.panel__head h2 svg { width: 20px; height: 20px; stroke: var(--accent); }
.panel__tag { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); font-family: var(--font-display); font-weight: 600; border: 1px solid var(--ink-line); padding: 5px 11px; border-radius: 999px; }

/* Analytics embed */
.embed { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--ink-line); background: #0b0b0e; min-height: 420px; }
.embed iframe { width: 100%; height: 460px; border: 0; display: block; }
.embed__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px;
  background: repeating-linear-gradient(45deg, #0c0c10, #0c0c10 12px, #101015 12px, #101015 24px); }
.embed__placeholder .inner { max-width: 420px; }
.embed__placeholder svg { width: 40px; height: 40px; stroke: var(--accent); margin-bottom: 14px; }
.embed__placeholder h3 { color: #fff; }
.embed__placeholder p { color: var(--muted-dark); font-size: .92rem; margin-top: 8px; }

/* KPI row (sample) */
.kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #101015; border: 1px solid var(--ink-line); border-radius: 12px; padding: 16px; }
.kpi__label { color: var(--muted-dark); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-display); font-weight: 600; }
.kpi__val { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; margin-top: 6px; }
.kpi__delta { font-size: .82rem; margin-top: 4px; }
.kpi__delta.up { color: #4ade80; } .kpi__delta.down { color: #f87171; }

/* Files */
.files { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.file { display: flex; align-items: center; gap: 14px; background: #101015; border: 1px solid var(--ink-line); border-radius: 12px; padding: 16px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.file:hover { border-color: var(--accent); transform: translateY(-2px); }
.file__icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(244,122,52,.14); color: var(--accent); display: grid; place-items: center; flex: 0 0 42px; }
.file__icon svg { width: 20px; height: 20px; }
.file__meta { flex: 1; min-width: 0; }
.file__name { font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: #fff; }
.file__sub { color: var(--muted-dark); font-size: .8rem; margin-top: 2px; }
.file__dl { color: var(--muted-dark); flex: 0 0 auto; }
.file__dl:hover { color: var(--accent); }
.file__dl svg { width: 18px; height: 18px; }

@media (min-width: 900px) { .pgrid { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 620px) { .kpis { grid-template-columns: repeat(2,1fr); } .files { grid-template-columns: 1fr; } }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 800px; margin-inline: auto; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; display: grid; gap: 8px; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal__meta { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.legal__note { background: var(--cream); border: 1px solid rgba(16,16,20,.08); border-radius: 12px; padding: 18px 20px; margin-top: 36px; }
.legal__note p { margin: 0; font-size: .92rem; }

/* ---------- Client logo strip ---------- */
.logostrip__label { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.logostrip { display: flex; flex-wrap: wrap; gap: 46px; align-items: center; justify-content: center; }
.logostrip img { height: 40px; width: auto; filter: grayscale(1); opacity: .55; transition: opacity .25s var(--ease), filter .25s var(--ease); }
.logostrip img:hover { filter: none; opacity: 1; }
.section--dark .logostrip__label { color: var(--muted-dark); }
.logostrip.logostrip--mono { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px 44px; align-items: center; justify-items: center; }
.logostrip.logostrip--mono img { height: 74px; width: auto; filter: none; opacity: .7; }
.logostrip.logostrip--mono img:hover { opacity: 1; }
@media (max-width: 780px) { .logostrip.logostrip--mono { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; } .logostrip.logostrip--mono img { height: 58px; } }
@media (max-width: 600px) { .logostrip { gap: 30px; } .logostrip img { height: 32px; } }

/* ==========================================================================
   VISUAL UPGRADES - hero visual, wider strips, press logos, portal showcase
   ========================================================================== */

/* Hero two-column layout */
.hero__layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.hero .hero__inner { max-width: 620px; }
.hero__visual { position: relative; margin: 10px 18px; }
.hero__photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 50px 100px -34px rgba(0,0,0,.75); border: 1px solid var(--ink-line); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,20,.10) 0%, transparent 40%, rgba(16,16,20,.55) 100%); }
/* bracket accents framing the photo */
.hero__visual::before, .hero__visual::after { content: ""; position: absolute; width: 46px; height: 46px; border: 3px solid var(--accent); z-index: 4; }
.hero__visual::before { top: -16px; left: -16px; border-right: 0; border-bottom: 0; }
.hero__visual::after { bottom: -16px; right: -16px; border-left: 0; border-top: 0; }
/* floating stat chips */
.hero__chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  background: rgba(24,24,30,.86); backdrop-filter: blur(12px); border: 1px solid var(--ink-line);
  border-radius: 14px; padding: 13px 16px; box-shadow: 0 20px 45px -18px rgba(0,0,0,.7); }
.hero__chip .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(244,122,52,.16); color: var(--accent); display: grid; place-items: center; flex: 0 0 38px; }
.hero__chip .ic svg { width: 20px; height: 20px; }
.hero__chip .n { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; line-height: 1; }
.hero__chip .l { font-size: .74rem; color: var(--muted-dark); margin-top: 4px; }
.hero__chip--a { top: 40px; left: -34px; }
.hero__chip--b { bottom: 48px; right: -30px; }

@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; gap: 44px; }
  .hero .hero__inner { max-width: none; }
  .hero__visual { max-width: 420px; margin: 20px auto; }
}
@media (max-width: 520px) {
  .hero__chip--a { left: -8px; top: 22px; } .hero__chip--b { right: -8px; bottom: 30px; }
  .hero__chip { padding: 10px 12px; } .hero__chip .l { display: none; }
}

/* Wider container */
.container--wide { max-width: 1340px; }

/* Bigger client logo strip (overrides earlier) */
.logostrip { gap: 64px; }
.logostrip img { height: 58px; }
.logostrip__label { font-size: .85rem; margin-bottom: 36px; }
@media (max-width: 600px) { .logostrip { gap: 30px; } .logostrip img { height: 38px; } }

/* Press logos image */
.press-logos { height: 30px; width: auto; opacity: .92; }
@media (max-width: 700px) { .press-logos { height: 22px; } }
@media (max-width: 480px) { .trust__row { flex-direction: column; gap: 16px; } }

/* Portal showcase */
.showcase { display: grid; grid-template-columns: .84fr 1.16fr; gap: 60px; align-items: center; }
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; gap: 40px; } }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--ink-line);
  box-shadow: 0 50px 100px -34px rgba(0,0,0,.7); background: #0b0b0e; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: #15151b; border-bottom: 1px solid var(--ink-line); }
.browser__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #3a3a44; }
.browser__bar .u { margin-left: 14px; font-size: .78rem; color: var(--muted-dark); }
.browser img { width: 100%; display: block; }

/* ==========================================================================
   ENGRAVED HERO (dark premium; logo etched into a block - Hickman vibe)
   ========================================================================== */
.hero--engraved { background: #0c0c10; }
.hero--engraved::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 50% at 74% 34%, rgba(244,122,52,.22), transparent 60%),
    radial-gradient(42% 42% at 12% 88%, rgba(244,122,52,.08), transparent 60%);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__engrave { position: relative; display: grid; place-items: center; min-height: 440px; perspective: 1500px; }
.hero__block {
  position: relative; width: min(100%, 470px); aspect-ratio: 1 / 1; border-radius: 28px;
  background: linear-gradient(150deg, #191920 0%, #0e0e13 62%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 60px rgba(0,0,0,.5),
              0 50px 90px -34px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.04);
  transform: rotateY(-16deg) rotateX(7deg) rotate(-2deg); transform-style: preserve-3d;
  display: grid; place-items: center; overflow: hidden;
}
.hero__block::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, transparent 42%, rgba(255,255,255,.06) 50%, transparent 58%);
}
.hero__etch {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  line-height: .96; text-align: center; letter-spacing: -.02em; color: #141419; user-select: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.10), 0 -1px 1px rgba(0,0,0,.8), 0 3px 5px rgba(0,0,0,.55);
}
.hero__block-bracket { position: absolute; width: 34px; height: 34px; border: 3px solid var(--accent); opacity: .85; }
.hero__block-bracket--tl { top: 28px; left: 28px; border-right: 0; border-bottom: 0; }
.hero__block-bracket--br { bottom: 28px; right: 28px; border-left: 0; border-top: 0; }
@media (max-width: 900px) {
  .hero__engrave { min-height: 300px; margin-top: 6px; }
  .hero__block { width: min(78%, 360px); transform: rotateY(-10deg) rotateX(5deg) rotate(-1deg); }
}
@media (max-width: 520px) { .hero__block { width: min(86%, 320px); } }

/* ==========================================================================
   GROWTH COMMAND CENTER (portal dashboard modules)
   ========================================================================== */
.cc-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 14px; padding: 15px 20px; margin-top: 26px; }
.cc-status__item { color: #fff; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.cc-status__item .m { color: var(--muted-dark); }
.cc-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.15); flex: 0 0 auto; }
.cc-status__link { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.cc-section { margin-top: 28px; }
.cc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.cc-head h2 { font-size: 1.35rem; color: #fff; }
.cc-head span { color: var(--muted-dark); font-size: .9rem; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cc-card { display: flex; flex-direction: column; background: var(--ink-soft); border: 1px solid var(--ink-line);
  border-radius: 14px; padding: 20px; transition: transform .2s var(--ease), border-color .2s var(--ease); position: relative; }
.cc-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.cc-card__icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(244,122,52,.14); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px; }
.cc-card__icon svg { width: 22px; height: 22px; }
.cc-card h3 { color: #fff; font-size: 1.05rem; }
.cc-card p { color: var(--muted-dark); font-size: .88rem; margin-top: 5px; flex: 1; }
.cc-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.cc-pill { font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; font-family: var(--font-display); font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.cc-pill--live { background: rgba(74,222,128,.14); color: #4ade80; }
.cc-pill--ex { background: rgba(167,167,178,.13); color: var(--muted-dark); }
.cc-card__open { color: var(--muted-dark); display: inline-flex; }
.cc-card:hover .cc-card__open { color: var(--accent); }
.cc-card__open svg { width: 18px; height: 18px; }

/* Results page: work category + sample tag */
.work-cat { font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sample { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); border: 1px solid var(--ink-line); border-radius: 999px; padding: 2px 7px; margin-left: 9px; vertical-align: middle; }

/* Results: work portfolio (site screenshots) */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.work-card { display: block; border: 1px solid rgba(16,16,20,.08); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(16,16,20,.14); }
.work-thumb { overflow: hidden; background: var(--cream); border-bottom: 1px solid rgba(16,16,20,.06); }
.work-thumb img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-body { padding: 18px 20px 20px; }
.work-body h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.work-body h3 svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.work-card:hover .work-body h3 svg { color: var(--accent); }

/* ==========================================================================
   CASE STUDIES + POSITIONING
   ========================================================================== */
.cs { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.cs--rev .cs__media { order: -1; }
@media (max-width: 900px) { .cs { grid-template-columns: 1fr; gap: 34px; } .cs--rev .cs__media { order: 0; } }
.cs__body .lead { margin-top: 14px; }
.cs__body p { margin-top: 14px; }
.section--dark .cs__body p { color: var(--muted-dark); }
.cs-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-stat { border-radius: 14px; padding: 22px; border: 1px solid rgba(16,16,20,.09); background: #fff; }
.section--cream .cs-stat { background: #fff; }
.section--dark .cs-stat { background: var(--ink-soft); border-color: var(--ink-line); }
.cs-stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.1rem); color: var(--accent); line-height: 1; letter-spacing: -.02em; }
.cs-stat span { display: block; margin-top: 9px; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.section--dark .cs-stat span { color: var(--muted-dark); }
.cs-stat .samp { font-size: .58rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border: 1px solid rgba(16,16,20,.18); border-radius: 999px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.section--dark .cs-stat .samp { color: var(--muted-dark); border-color: var(--ink-line); }
.cs-quote { border-left: 3px solid var(--accent); padding-left: 22px; margin-top: 34px; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.5; }
.section--dark .cs-quote { color: #fff; }
.cs-quote cite { display: block; margin-top: 14px; font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: .9rem; color: var(--muted); }
.section--dark .cs-quote cite { color: var(--muted-dark); }

/* Bigger-problems / pain points */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .problems { grid-template-columns: 1fr; } }
.problem { display: flex; gap: 14px; align-items: flex-start; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 14px; padding: 20px 22px; }
.problem .q { color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1; flex: 0 0 auto; }
.problem p { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.35; }

/* Positioning statement band */
.posband { max-width: 900px; margin-inline: auto; text-align: center; }
.posband p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; letter-spacing: -.01em; }
.posband .accent { color: var(--accent); }

/* Branding & creative gallery (masonry) */
.bgallery { columns: 3; column-gap: 18px; }
@media (max-width: 900px) { .bgallery { columns: 2; } }
@media (max-width: 560px) { .bgallery { columns: 1; } }
.bshot { break-inside: avoid; margin-bottom: 18px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(16,16,20,.09); background: #fff; box-shadow: var(--shadow-sm); }
.bshot img { width: 100%; display: block; }
.bcap { text-align: center; margin-top: 14px; }

/* Hero media inside the L frame (2026-11-23) */
.hero__block--media .hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero__block--media .hero__slide--2 { opacity: 0; animation: heroFade 14s ease-in-out infinite; }
@keyframes heroFade { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.hero__block--media .hero__block-bracket { z-index: 3; }
.hero__block--media::after { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero__block--media .hero__slide--2 { animation: none; opacity: 0; } }
.hero__block--media .hero__block-bracket { animation: heroBracket 14s ease-in-out infinite; }
@keyframes heroBracket { 0%, 40% { opacity: .85; } 50%, 90% { opacity: 0; } 100% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .hero__block--media .hero__block-bracket { animation: none; } }
/* About: uniform story copy (2026-11-23) */
.about-prose p { font-size: 1.075rem; line-height: 1.7; margin: 0 0 1.1em; }
.about-prose h2 + p { margin-top: 18px; }
