/* =====================================================================
   TLO WEB DESIGNS — Global Stylesheet
   Editorial / minimalist system (Sonet-inspired) with warm brass accents
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Backgrounds / Darks */
  --dark-900: #000000;
  --dark-800: #0a0a0a;
  --dark-700: #141414;
  --dark-600: #1f1f1f;

  /* Brand Accents (Gold / Brass) */
  --brand: #d09831;
  --brand-700: #a6741f;
  --brand-hover: #b8822a;
  --brand-300: #dbb05c;

  /* Contrast Sections */
  --cream: #f5efe6;
  --cream-dim: #ede4d3;

  /* Text */
  --ink: #f4f1ec;
  --ink-dim: rgba(244, 241, 236, 0.62);
  --ink-faint: rgba(244, 241, 236, 0.38);
  --ink-on-cream: #14110c;
  --ink-on-cream-dim: rgba(20, 17, 12, 0.6);

  /* Typography */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Oswald', 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Motion */
  --ease: cubic-bezier(.16, .8, .24, 1);

  /* Hairlines */
  --line-dark: rgba(255, 255, 255, .14);
  --line-cream: rgba(20, 17, 12, .12);

  /* Layout */
  --wrap: 1320px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 76px;

  /* Shadows */
  --shadow-warm: 0 2px 4px rgba(0,0,0,.4),
                 0 24px 60px -20px rgba(166, 116, 31, .28),
                 0 2px 0 rgba(219, 176, 92, .06) inset;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--dark-900);
  color: var(--ink);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--brand); color: var(--dark-900); }

/* ---------- 3. TYPOGRAPHY SCALE ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.005em; text-transform: uppercase; }
.display {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 0.94;
  text-transform: uppercase;
}
.h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink-dim); line-height: 1.55; font-weight: 400; }
.mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
}
.serif-accent { font-style: italic; color: var(--brand-300); font-weight: 400; }

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 12vw, 11rem); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.cream { background: var(--cream); color: var(--ink-on-cream); }
.cream h1,.cream h2,.cream h3,.cream h4 { color: var(--ink-on-cream); }
.cream .lead { color: var(--ink-on-cream-dim); }
.cream .mono { color: var(--brand-700); }
.dark-800 { background: var(--dark-800); }
.dark-700 { background: var(--dark-700); }
.charcoal { background: #0a0a0a; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--brand-300);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brand); display: inline-block; }
.cream .eyebrow { color: var(--brand-700); }
.cream .eyebrow::before { background: var(--brand-700); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }

/* ---------- 5. HAIRLINES ---------- */
.hr { height: 1px; width: 100%; background: var(--line-dark); border: 0; }
.cream .hr { background: var(--line-cream); }
.rule--draw { transform: scaleX(0); transform-origin: left center; }

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.05rem 1.9rem;
  font-size: .82rem; letter-spacing: .04em; font-weight: 500;
  border-radius: 999px;
  transition: transform .5s var(--ease), background-color .35s var(--ease),
              color .35s var(--ease), box-shadow .5s var(--ease), border-color .35s var(--ease);
  will-change: transform;
  position: relative;
}
.btn svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--brand); color: var(--dark-900); }
.btn--primary:hover { background: var(--brand-hover); box-shadow: 0 14px 40px -12px rgba(208,152,49,.6); }
.btn--ghost { border: 1px solid var(--line-dark); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-300); }
.cream .btn--ghost { border-color: var(--line-cream); color: var(--ink-on-cream); }
.cream .btn--ghost:hover { border-color: var(--brand-700); color: var(--brand-700); }
.btn--magnetic { will-change: transform; }
.btn--lg { padding: 1.2rem 2.3rem; font-size: .9rem; }

/* ---------- 7. NAVIGATION ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-dark);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: baseline; gap: .55rem; font-weight: 600; letter-spacing: -.02em; font-size: 1.12rem; }
.brand .dot { color: var(--brand); }
.brand small { display: block; margin-top: 2px; line-height: 1; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .28em; color: var(--ink-faint); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); }
.nav-links a { font-size: .88rem; color: var(--ink-dim); position: relative; padding: .4rem 0; transition: color .3s var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--brand);
  transition: width .4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1.2rem; }
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Services dropdown ---- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-has-drop > a { display: inline-flex; align-items: center; gap: .35rem; }
.nav-caret { width: 13px; height: 13px; transition: transform .35s var(--ease); opacity: .8; }
.nav-has-drop:hover .nav-caret { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: calc(100% + 14px); left: -1.2rem; min-width: 264px;
  display: flex; flex-direction: column; padding: .6rem;
  background: rgba(13,13,14,.94); backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--line-dark); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-has-drop:hover .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop a { padding: .68rem .85rem !important; border-radius: 9px; font-size: .85rem; width: 100%; transition: background-color .3s var(--ease), color .3s var(--ease); }
.nav-drop a::after { display: none; }
.nav-drop a:hover, .nav-drop a.active { background: rgba(208,152,49,.1); color: var(--brand-300); }

/* ---------- 8. HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(3rem,7vw,6rem); padding-top: calc(var(--nav-h) + 3rem); overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: .95; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 78% 12%, transparent 40%, rgba(10,10,10,.55) 100%),
              linear-gradient(180deg, rgba(10,10,10,.35) 0%, transparent 30%, rgba(10,10,10,.7) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow { margin-bottom: clamp(1.5rem, 4vw, 2.6rem); }
.hero h1 { max-width: 15ch; margin-bottom: 1.8rem; }
.hero .char { display: inline-block; opacity: 0; will-change: transform, opacity; }
.type-cursor {
  display: inline-block; width: .045em; height: .82em; margin-left: .06em;
  background: var(--brand); transform: translateY(.06em);
  animation: blink 1s steps(1) infinite;
}
.type-cursor.done { animation: none; opacity: 0; transition: opacity .5s ease; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { max-width: 46ch; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: clamp(1.6rem,4vw,3.4rem); margin-top: clamp(2.6rem,6vw,4rem); padding-top: 1.8rem; border-top: 1px solid var(--line-dark); }
.hero-meta .stat b { display: block; font-size: clamp(1.5rem,3vw,2.3rem); font-weight: 500; letter-spacing: -.03em; }
.hero-meta .stat span { color: var(--ink-dim); font-size: .82rem; }

/* Free demo badge */
.free-badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .95rem;
  border: 1px solid var(--brand-700); border-radius: 999px; color: var(--brand-300);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(208,152,49,.06);
}
.free-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(208,152,49,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(208,152,49,.5);} 70%{box-shadow:0 0 0 10px rgba(208,152,49,0);} 100%{box-shadow:0 0 0 0 rgba(208,152,49,0);} }

/* ---------- 9. TEXT CARD ---------- */
.text-card {
  background: linear-gradient(180deg, var(--dark-700), var(--dark-800));
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-warm);
  transition: transform .6s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease);
  position: relative; overflow: hidden;
}
.text-card:hover { transform: translateY(-6px); border-color: rgba(208,152,49,.4); }
.text-card .idx { font-family: var(--font-mono); font-size: .72rem; color: var(--brand); letter-spacing: .2em; }
.text-card h3 { margin: 1rem 0 .8rem; }
.text-card p { color: var(--ink-dim); font-size: .96rem; }
.cream .text-card { background: #fff; border-color: var(--line-cream); color: var(--ink-on-cream); box-shadow: 0 2px 3px rgba(20,17,12,.05), 0 22px 50px -26px rgba(166,116,31,.3); }
.cream .text-card p { color: var(--ink-on-cream-dim); }

/* ---------- 10. SERVICES / FEATURE LIST ---------- */
.feature-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.6rem; align-items: start; padding: clamp(1.6rem,3vw,2.4rem) 0; border-top: 1px solid var(--line-dark); transition: padding-left .5s var(--ease); }
.feature-row:hover { padding-left: .8rem; }
.feature-row:last-child { border-bottom: 1px solid var(--line-dark); }
.cream .feature-row { border-color: var(--line-cream); }
.feature-row .num { font-family: var(--font-mono); color: var(--brand); font-size: .8rem; letter-spacing: .18em; padding-top: .4rem; }
.feature-row h3 { margin-bottom: .5rem; }
.feature-row p { color: var(--ink-dim); max-width: 62ch; font-size: .98rem; }
.cream .feature-row p { color: var(--ink-on-cream-dim); }
.feature-row .arrow { align-self: center; color: var(--ink-faint); transition: color .4s var(--ease), transform .5s var(--ease); }
.feature-row:hover .arrow { color: var(--brand); transform: translateX(6px); }

/* ---------- 11. WORK / CASE STUDIES ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); }
.work-card { position: relative; border-radius: 16px; overflow: hidden; background: var(--dark-700); border: 1px solid var(--line-dark); transition: transform .6s var(--ease), border-color .5s var(--ease); }
.work-card:hover { transform: translateY(-5px); border-color: rgba(208,152,49,.4); }
.work-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.1s var(--ease), filter .6s var(--ease); filter: grayscale(.2) contrast(1.02); }
.work-card:hover .work-media img { transform: scale(1.06); filter: grayscale(0); }
.work-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,.55)); }
.work-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.work-body { padding: clamp(1.4rem,2.6vw,2rem); display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.work-body .idx { font-family: var(--font-mono); font-size: .72rem; color: var(--brand); letter-spacing: .2em; }
.work-body h3 { margin: .3rem 0 .5rem; }
.work-body p { color: var(--ink-dim); font-size: .92rem; }
.work-body .go { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--ink-dim); transition: all .5s var(--ease); }
.work-card:hover .work-body .go { background: var(--brand); color: var(--dark-900); border-color: var(--brand); }

/* ---------- 12. PRICING ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; }
.price-card {
  border: 1px solid var(--line-dark); border-radius: 20px; padding: clamp(1.8rem, 3vw, 2.6rem);
  background: linear-gradient(180deg, var(--dark-800), var(--dark-900)); display: flex; flex-direction: column;
  transition: transform .6s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease);
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(208,152,49,.35); }
.price-card.featured {
  border-color: var(--brand); background: linear-gradient(180deg, rgba(208,152,49,.09), var(--dark-800));
  box-shadow: var(--shadow-warm); position: relative; padding-top: calc(clamp(1.8rem, 3vw, 2.6rem) + 1.4rem);
}
.price-card .tier { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-300); }
.price-card .featured-flag { position: absolute; top: 1.3rem; left: clamp(1.8rem, 3vw, 2.6rem); right: auto; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .18em; color: var(--dark-900); background: var(--brand); padding: .3rem .6rem; border-radius: 6px; }
.price-card .amt { display: flex; align-items: baseline; gap: .4rem; margin: 1.4rem 0 .3rem; }
.price-card .amt b { font-size: clamp(2.4rem,4vw,3.2rem); font-weight: 500; letter-spacing: -.03em; }
.price-card .amt span { color: var(--ink-faint); font-size: .8rem; }
.price-card .desc { color: var(--ink-dim); font-size: .92rem; margin-bottom: 1.6rem; }
.price-features { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; flex: 1; }
.price-features li { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-dim); }
.price-features li svg { flex-shrink: 0; width: 17px; height: 17px; color: var(--brand); margin-top: 2px; }
.price-card .btn { width: 100%; }

/* ---------- 13. MARQUEE ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-dark); padding-block: 1.5rem; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 3rem; align-items: center; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: clamp(1.4rem,3vw,2.3rem); font-weight: 500; letter-spacing: -.03em; color: var(--ink-faint); }
.marquee-track .sep { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 14. CTA BAND ---------- */
.cta-band { background: var(--cream); color: var(--ink-on-cream); border-radius: clamp(20px,3vw,32px); padding: clamp(2.6rem,6vw,5.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; margin-bottom: 1.2rem; }
.cta-band .lead { max-width: 52ch; margin-inline: auto; margin-bottom: 2.2rem; }
.cta-band .btn--primary { background: var(--dark-900); color: var(--cream); }
.cta-band .btn--primary:hover { background: var(--dark-700); }

/* ---------- 15. FOOTER ---------- */
.footer { background: var(--dark-800); border-top: 1px solid var(--line-dark); padding-block: clamp(3.5rem,7vw,6rem) 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 2.5rem; margin-bottom: 3.5rem; }
.footer .brand { font-size: 1.5rem; margin-bottom: 1.2rem; }
.footer p { color: var(--ink-dim); font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.2rem; font-weight: 400; }
.footer-col a, .footer-col address { display: block; color: var(--ink-dim); font-size: .92rem; margin-bottom: .75rem; font-style: normal; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--brand-300); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.footer-bottom p, .footer-bottom a { color: var(--ink-faint); font-size: .8rem; }

/* ---------- 16. PAGE HEADER (interior pages) ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(4rem,9vw,8rem)); padding-bottom: clamp(2.5rem,6vw,5rem); }
.page-head h1 { max-width: 18ch; margin: 1.4rem 0 1.4rem; }
.page-head .lead { max-width: 56ch; }

/* ---------- 17. REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); }

/* ---------- 18. CASE STUDY DETAIL ---------- */
.cs-hero-media { border-radius: 18px; overflow: hidden; aspect-ratio: 16/8; border: 1px solid var(--line-dark); }
.cs-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cs-meta { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; border-block: 1px solid var(--line-dark); padding-block: 2rem; margin-block: clamp(2.5rem,5vw,4rem); }
.cs-meta .k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .5rem; }
.cs-meta .v { font-size: 1rem; }
.prose { max-width: 68ch; }
.prose p { color: var(--ink-dim); margin-bottom: 1.4rem; font-size: 1.03rem; line-height: 1.7; }
.prose h3 { margin: 2.6rem 0 1rem; }
.prose ul.ticks li { display: flex; gap: .7rem; color: var(--ink-dim); margin-bottom: .8rem; }
.prose ul.ticks svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split { grid-template-columns: 1fr; }
  .cs-meta { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: rgba(10,10,10,.97); backdrop-filter: blur(20px); padding: 1rem var(--gutter) 2rem; border-bottom: 1px solid var(--line-dark);
  }
  .nav.open .nav-links a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; }
  .nav.open .nav-item { display: block; width: 100%; }
  .nav.open .nav-has-drop > a { border-bottom: 1px solid var(--line-dark); padding: 1rem 0; font-size: 1.1rem; }
  .nav.open .nav-caret { display: none; }
  .nav.open .nav-drop {
    position: static; opacity: 1; visibility: visible; transform: none; min-width: 0;
    background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 0 0 .4rem 1rem;
  }
  .nav.open .nav-drop a { font-size: .95rem !important; padding: .7rem 0 !important; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--ink-dim); }
  .g-3, .g-4, .price-grid, .work-grid, .g-2 { grid-template-columns: 1fr; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero-meta { gap: 1.4rem; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .type-cursor { display: none; }
}

/* =====================================================================
   WOW LAYER — preloader, grain, custom cursor, masked reveals,
   double-arrow pills, horizontal scroll, stat blocks, sliders, mesh
   ===================================================================== */

/* ---------- GRAIN / NOISE OVERLAY ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 160px 160px; opacity: .05;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference; }
.cursor-dot { width: 7px; height: 7px; background: #fff; }
.cursor-ring { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.7); transition: width .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease); }
.cursor-ring.grow { width: 74px; height: 74px; border-color: var(--brand); background: rgba(208,152,49,.12); mix-blend-mode: normal; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor .btn { cursor: none; }
@media (hover: none), (max-width: 820px) { .cursor-dot, .cursor-ring { display: none; } html.has-cursor, html.has-cursor * { cursor: auto; } }

/* ---------- PRELOADER ---------- */
.tlo-preloader { position: fixed; inset: 0; z-index: 10001; background: var(--dark-900); display: grid; place-items: center; overflow: hidden; }
.tlo-preloader .pl-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.tlo-preloader .pl-logo { width: 92px; height: 92px; filter: drop-shadow(0 0 30px rgba(208,152,49,.35)); animation: plspin 2.4s var(--ease) infinite alternate; }
@keyframes plspin { from { transform: rotate(-6deg) scale(.98); } to { transform: rotate(6deg) scale(1.02); } }
.tlo-preloader .pl-bar { width: 220px; max-width: 60vw; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.tlo-preloader .pl-bar span { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--brand-700), var(--brand-300)); }
.tlo-preloader .pl-count { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .3em; color: var(--brand-300); }
.tlo-preloader .pl-word { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-faint); }
body.pl-active { overflow: hidden; }

/* ---------- LOGO IN CHROME ---------- */
.brand-mark { width: 38px; height: 38px; display: inline-block; flex-shrink: 0; transition: transform .6s var(--ease), filter .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 14px rgba(208,152,49,.5)); }
.brand { gap: .8rem; align-items: center; }
.footer .brand-mark { width: 52px; height: 52px; }

/* ---------- WIDE DISPLAY HEADINGS (Sonet signature) ---------- */
.display.wide { word-spacing: .08em; }
.h1.wide, .h2.wide { word-spacing: .12em; }
.h2.wide, .display.wide { font-weight: 400; }

/* ---------- MASKED WORD REVEAL ---------- */
.reveal-word { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-word .rw-inner { display: inline-block; transform: translateY(110%); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .reveal-word .rw-inner { transform: none !important; }
}
[data-reveal] { opacity: 1; }

/* ---------- DOUBLE-ARROW PILL BUTTON ---------- */
.btn--pill { position: relative; overflow: hidden; }
.btn--pill .lbl { position: relative; z-index: 2; transition: color .5s var(--ease); }
.btn--pill .ar { width: 14px; height: 14px; position: relative; z-index: 2; transition: transform .5s var(--ease); }
.btn--pill .ar--l { transform: translateX(-2px); opacity: .55; }
.btn--pill:hover .ar--r { transform: translateX(5px); }
.btn--pill:hover .ar--l { transform: translateX(0); opacity: 1; }
.btn--pill::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--brand-300); transform: translateX(-101%); transition: transform .55s var(--ease); }
.btn--primary.btn--pill:hover::before { transform: translateX(0); }
.btn--primary.btn--pill:hover { background: var(--brand); }

/* ---------- MESH ACCENT BAND ---------- */
.mesh-band { position: relative; background: var(--dark-900); overflow: hidden; }
.mesh-band .mesh-bg { position: absolute; inset: -10% -5%; z-index: 0; background-image: url("../img/mesh-brass.webp"); background-size: cover; background-position: center; opacity: .5; filter: saturate(1.1); }
.mesh-band .mesh-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 50%, transparent, var(--dark-900) 92%); }
.mesh-band .wrap { position: relative; z-index: 1; }

/* ---------- STAT BLOCKS (Sonet-style number + image + copy) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.stat-block { border-top: 1px solid var(--line-dark); padding-top: 1.6rem; }
.stat-block .big { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, var(--brand-300)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-block .lbl { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-300); margin: 1rem 0 .8rem; }
.stat-block p { color: var(--ink-dim); font-size: .95rem; margin-bottom: 1.4rem; }
.stat-block .stat-media { aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-dark); }
.stat-block .stat-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.02); transition: transform 1s var(--ease), filter .6s var(--ease); }
.stat-block:hover .stat-media img { transform: scale(1.05); filter: grayscale(0); }

/* ---------- HORIZONTAL SCROLL "SCROLL TO EXPLORE" ---------- */
.hscroll-section { padding: 0; background: var(--dark-800); }
.hscroll-wrap { height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hscroll-track { display: flex; gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; padding-inline: var(--gutter); will-change: transform; }
.h-panel { flex: 0 0 auto; width: min(460px, 82vw); display: flex; flex-direction: column; justify-content: flex-end; }
.h-panel.intro { justify-content: center; width: min(520px, 86vw); }
.h-panel.intro .mono { color: var(--brand-300); }
.h-panel.intro h2 { margin: 1.2rem 0 1.4rem; }
.h-panel.intro .scroll-hint { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink-faint); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.h-panel.intro .scroll-hint svg { width: 34px; height: 12px; }
.h-card { background: linear-gradient(180deg, var(--dark-700), var(--dark-800)); border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: border-color .5s var(--ease), transform .6s var(--ease); }
.h-card:hover { border-color: rgba(208,152,49,.4); transform: translateY(-4px); }
.h-card .h-media { aspect-ratio: 4/3; overflow: hidden; }
.h-card .h-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); transition: transform 1s var(--ease); }
.h-card:hover .h-media img { transform: scale(1.06); }
.h-card .h-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.h-card .h-body .num { font-family: var(--font-mono); color: var(--brand); font-size: .72rem; letter-spacing: .2em; }
.h-card .h-body h3 { margin: .8rem 0 .7rem; }
.h-card .h-body p { color: var(--ink-dim); font-size: .93rem; }
@media (max-width: 820px) {
  .hscroll-wrap { height: auto; display: block; padding-block: clamp(4rem,10vw,6rem); }
  .hscroll-track { flex-direction: column; }
  .h-panel, .h-panel.intro { width: 100%; }
}

/* ---------- FEATURED CASE SLIDER ---------- */
.cs-slider { position: relative; overflow: hidden; }
.cs-slides { display: flex; transition: transform .8s var(--ease); }
.cs-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.cs-slide .cs-slide-media { aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-dark); }
.cs-slide .cs-slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cs-slide .k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-300); }
.cs-slide h3 { margin: 1rem 0 1rem; }
.cs-slide p { color: var(--ink-dim); margin-bottom: 1.6rem; max-width: 46ch; }
.cs-controls { display: flex; gap: .8rem; margin-top: 2.5rem; align-items: center; }
.cs-arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--ink); transition: all .4s var(--ease); }
.cs-arrow:hover { background: var(--brand); color: var(--dark-900); border-color: var(--brand); }
.cs-progress { flex: 1; height: 1px; background: var(--line-dark); position: relative; }
.cs-progress span { position: absolute; left: 0; top: 0; height: 100%; background: var(--brand); transition: width .8s var(--ease); }
@media (max-width: 820px) { .cs-slide { grid-template-columns: 1fr; } }

/* ---------- PAGE FADE-IN (interior pages) ---------- */
body.page-fade { opacity: 0; }
body.page-fade.ready { opacity: 1; transition: opacity .6s var(--ease); }

/* ---------- SCROLL-FADE SECTION BACKDROPS ---------- */
.page-head, .section--tight { position: relative; }
.section > .wrap, .section--tight > .wrap, .page-head > .wrap { position: relative; z-index: 2; }
.section-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: 0; will-change: opacity;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.section-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,10,.9), rgba(9,9,10,.78) 42%, rgba(9,9,10,.92));
}
.charcoal .section-bg::after {
  background: linear-gradient(180deg, rgba(6,6,6,.9), rgba(6,6,6,.76) 45%, rgba(6,6,6,.93));
}
.card-link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-300); transition: gap .3s var(--ease), color .3s var(--ease);
}
.card-link:hover { gap: .85rem; color: var(--brand); }
.founder-portrait {
  width: 100%; max-width: 420px; margin-top: 1.8rem; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-dark); box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.25) contrast(1.02); transition: transform 1s var(--ease), filter .6s var(--ease); }
.founder-portrait:hover img { transform: scale(1.04); filter: grayscale(0); }
.founder-bio p + p { margin-top: 1.1rem; }
.founder-bio p { color: var(--ink-dim); }
.founder-bio p:first-child { color: var(--ink); }

/* ---------- REVIEW CARDS ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2rem); }
.review-card {
  background: var(--dark-700); border: 1px solid var(--line-dark); border-radius: 18px; padding: clamp(1.6rem, 2.4vw, 2.1rem);
  display: flex; flex-direction: column; transition: border-color .5s var(--ease), transform .6s var(--ease);
}
.review-card:hover { border-color: rgba(208,152,49,.4); transform: translateY(-4px); }
.stars { display: inline-flex; gap: .18rem; color: var(--brand); margin-bottom: 1.1rem; }
.stars svg { width: 18px; height: 18px; }
.review-card blockquote { margin: 0 0 1.5rem; font-size: .98rem; line-height: 1.6; color: var(--ink); flex: 1; }
.review-card figcaption { margin-top: auto; }
.rev-name { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .005em; font-size: 1.05rem; }
.rev-meta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-300); }
@media (max-width: 820px) { .review-grid { grid-template-columns: 1fr; } }
.page-head .section-bg::after {
  background: linear-gradient(180deg, rgba(9,9,10,.82), rgba(9,9,10,.72) 45%, rgba(9,9,10,.95));
}

/* ---------- MONTHLY PLANS ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(1rem,1.4vw,1.4rem); align-items: stretch; }
@media (max-width:1500px){ .plans-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:960px){ .plans-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px){ .plans-grid { grid-template-columns: 1fr; } }
.price-card .tagline { color: var(--ink); font-size: .92rem; line-height: 1.4; margin: .2rem 0 1rem; }
.price-card .plan-note { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-300); margin: -.4rem 0 1.4rem; line-height: 1.5; }
.plan-table-wrap { overflow-x: auto; margin-top: clamp(2.5rem,5vw,4rem); border: 1px solid var(--line-dark); border-radius: 16px; -webkit-overflow-scrolling: touch; }
.plan-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.plan-table th, .plan-table td { padding: .85rem 1rem; text-align: center; border-bottom: 1px solid var(--line-dark); font-size: .86rem; }
.plan-table thead th { font-family: var(--font-display); font-weight: 500; color: var(--ink); background: var(--dark-700); font-size: .98rem; }
.plan-table thead th small { display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; color: var(--ink-faint); margin-top: .25rem; }
.plan-table tbody th { text-align: left; font-weight: 400; color: var(--ink-dim); white-space: nowrap; }
.plan-table tbody tr:last-child td, .plan-table tbody tr:last-child th { border-bottom: 0; }
.plan-table .chk { color: var(--brand); font-weight: 700; }
.plan-table .no { color: var(--ink-faint); }
.plan-table td.col-hl { background: rgba(208,152,49,.07); }
.plan-table thead th.col-hl { background: rgba(208,152,49,.16); color: var(--brand-300); }

/* ---------- BLOG / ARTICLE PROSE ---------- */
.prose { max-width: 44rem; }
.prose p { color: var(--ink-dim); font-size: 1.06rem; line-height: 1.78; margin-bottom: 1.5rem; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem,3vw,2.1rem); line-height: 1.15; margin: 2.8rem 0 1rem; color: var(--ink); }
.prose h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin: 2rem 0 .8rem; color: var(--ink); }
.prose ul { margin: 0 0 1.6rem 1.3rem; }
.prose li { color: var(--ink-dim); line-height: 1.72; margin-bottom: .65rem; list-style: disc; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand-300); text-decoration: underline; text-underline-offset: 3px; }
.post-meta { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-300); }

/* ---------- ACCESSIBILITY (WCAG 2.1 AA baseline) ---------- */
.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 2000;
  background: var(--brand); color: #14110c; font-family: var(--font-mono);
  font-size: .85rem; font-weight: 600; padding: .7rem 1.1rem; border-radius: 4px;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- NATIVE CONTACT FORM (FIX 4) ---------- */
.contact-form label { display: block; margin-bottom: 1.1rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: .5rem; padding: .8rem .9rem;
  background: rgba(255,255,255,.03); color: var(--ink);
  border: 1px solid var(--line-dark); border-radius: 6px;
  font-family: var(--font); font-size: 15px; line-height: 1.5;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand); background: rgba(208,152,49,.06);
}
.contact-form select option { color: #14110c; }
.contact-form button { margin-top: .4rem; }
.form-success {
  margin-bottom: 1.2rem; padding: .85rem 1.1rem; border-radius: 6px;
  background: rgba(208,152,49,.12); border: 1px solid var(--brand);
  color: var(--brand-300); font-family: var(--font-mono); font-size: .85rem;
}

/* ---------- MOBILE STICKY CTA BAR (FIX 13) ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 820px) {
  .mobile-cta-bar {
    display: flex; gap: 0; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 900; border-top: 1px solid var(--line-dark);
    background: rgba(10,10,10,.94); backdrop-filter: blur(12px);
    padding-bottom: env(safe-area-inset-bottom, 0);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-cta-bar.show { transform: translateY(0); }
  .mobile-cta-bar a {
    flex: 1; height: 52px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  }
  .mobile-cta-bar .mcb-call { color: var(--ink); background: transparent; }
  .mobile-cta-bar .mcb-book { color: #14110c; background: var(--brand); }
}


/* ---------- BLOG ARTICLE — long-form components ---------- */
.post-tldr {
  border: 1px solid var(--brand); background: rgba(208,152,49,.08);
  border-radius: 12px; padding: 1.3rem 1.5rem; margin: 0 0 2.4rem;
}
.post-tldr .lbl {
  display: block; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-300); margin-bottom: .55rem;
}
.post-tldr p { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.65; }

.prose .table-wrap { overflow-x: auto; margin: 1.6rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 460px; }
.prose th, .prose td { border: 1px solid var(--line-dark); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-300); }
.prose td { color: var(--ink-dim); line-height: 1.55; }
.prose td strong { color: var(--ink); }

.post-script {
  border-left: 3px solid var(--brand); background: rgba(255,255,255,.03);
  padding: 1rem 1.2rem; margin: 1.5rem 0; border-radius: 0 8px 8px 0;
}
.post-script .lbl {
  display: block; font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-300); margin-bottom: .5rem;
}
.post-script p { margin: 0; color: var(--ink); font-style: italic; }
.prose .faq-q { color: var(--ink); font-weight: 600; margin: 1.6rem 0 .4rem; font-family: var(--font-display); font-size: 1.12rem; }

