/* =========================================
   Variables
   ========================================= */
:root {
  --bg:        #0B0907;
  --surface:   #131009;
  --surface2:  #221C13;
  --text:      #F2EDE8;
  --muted:     rgba(242, 237, 232, 0.52);
  --accent:    #E8421C;
  --accent-dim: rgba(232, 66, 28, 0.10);
  --border:    rgba(242, 237, 232, 0.08);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Onest', sans-serif;

  --max-w:     1140px;
  --pad-x:     56px;
  --sec-py:    120px;
  --sidebar-w: 160px;
}

/* =========================================
   Reset
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* =========================================
   Scroll reveal
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================
   Layout helpers
   ========================================= */
.container {
  width: 100%;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--sec-py) 0;
  border-top: 1px solid var(--border);
  padding-left: 50px !important;
  padding-right: 50px !important;
}

.section-surface { background: var(--surface); }

.section-head {
  margin-bottom: 64px;
}

.sec-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-head h2,
.about-main h2,
.company-left h2,
.phil-text-col h2,
.cta-left h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  max-width: 60ch;
  margin-top: 12px;
  line-height: 1.7;
}

.lead {
  font-size: 21px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(242, 237, 232, 0.75);
  margin-bottom: 20px;
}

.ext-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(232, 66, 28, 0.3);
  padding-bottom: 2px;
  margin-bottom: 28px;
  transition: border-color 0.2s;
}
.ext-link:hover { border-bottom-color: var(--accent); }

/* Buttons */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 36px;
  background: var(--accent);
  color: #fff;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(242, 237, 232, 0.3); color: var(--text); }

.btn-large { padding: 20px 52px; font-size: 15px; }

/* =========================================
   Sidebar Navigation
   ========================================= */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg);
  border-right: 1px solid rgba(242, 237, 232, 0.10);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 0 24px;
}

.sidebar-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 0 20px;
  margin-bottom: 40px;
  display: block;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  position: relative;
  transition: background 0.2s;
}
.sidebar-link:hover { background: var(--surface); }
.sidebar-link.active { background: var(--surface); }

/* Active accent bar on left edge */
.sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.sidebar-link.active::before { height: 18px; }

.sidebar-num {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
}

.sidebar-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(242, 237, 232, 0.65);
  transition: color 0.2s;
  white-space: nowrap;
}
.sidebar-link:hover .sidebar-label,
.sidebar-link.active .sidebar-label { color: var(--text); }

/* Sidebar footer */
.sidebar-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.sidebar-fs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: none;
  border: 1px solid rgba(242, 237, 232, 0.14);
  color: rgba(242, 237, 232, 0.55);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  width: 100%;
}
.sidebar-fs:hover {
  border-color: rgba(242, 237, 232, 0.28);
  color: rgba(242, 237, 232, 0.85);
}

.sidebar-fs-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fs-icon--collapse { display: none; }
.is-fullscreen .fs-icon--expand  { display: none; }
.is-fullscreen .fs-icon--collapse { display: block; }

/* CTA button */
.nav-cta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
}
.nav-cta:hover { opacity: 0.86; transform: translateY(-1px); }

/* Sidebar CTA is full-width */
.sidebar-cta {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
}

/* Logo shared style */
.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* =========================================
   Mobile Bar (shown at ≤960px)
   ========================================= */
.mobile-bar {
  display: none;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px var(--pad-x);
  background: rgba(11, 9, 7, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(242, 237, 232, 0.10);
  justify-content: space-between;
  align-items: center;
}

.mobile-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.nav-ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 12px;
}
.nav-ham span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), opacity 0.2s;
}
.nav-ham.open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-ham.open span:last-child  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--pad-x) 60px;
  gap: 4px;
  border-top: 1px solid var(--border);
}
@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav.open {
  display: flex;
  animation: mobileNavIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 800;
  color: var(--muted);
  letter-spacing: -0.02em;
  transition: color 0.2s;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav a.mobile-nav-cta {
  margin-top: 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: none;
}

/* =========================================
   Hero Animations
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 66, 28, 0.6); }
  50%       { box-shadow: 0 0 0 7px rgba(232, 66, 28, 0); }
}
@keyframes statsSlide {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-1 { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.1s; }
.anim-2 { animation: fadeUp 0.85s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.22s; }
.anim-3 { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.38s; }
.anim-photo { animation: fadeIn 1.1s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.3s; }
.anim-stats { animation: statsSlide 0.7s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.55s; }

/* =========================================
   Hero
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--pad-x) 0;
  position: relative;
  overflow: hidden;
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(ellipse at center, rgba(232, 66, 28, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
/* Bottom gradient fade into bg */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulseDot 2.4s ease-in-out infinite;
}

/* Name */
.hero-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 10.5vw, 136px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

/* Meta block */
.hero-role {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 19px;
  font-weight: 300;
  color: rgba(242, 237, 232, 0.56);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-desc em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Photo */
.hero-right {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
}

/* Decorative corner accent */
.hero-photo-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  pointer-events: none;
  z-index: 2;
}
.hero-photo-frame::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-bottom: 2px solid rgba(232, 66, 28, 0.35);
  border-left: 2px solid rgba(232, 66, 28, 0.35);
  pointer-events: none;
  z-index: 2;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: relative;
  z-index: 1;
  filter: brightness(0.92) contrast(1.04);
}

/* =========================================
   Hero Stats — Spec-row
   ========================================= */
.hero-stats {
  border-top: 1px solid var(--border);
  margin-top: 72px;
  position: relative;
  z-index: 2;
  width: calc(100vw - var(--sidebar-w));
  margin-left: calc(-1 * var(--pad-x));
  padding: 32px var(--pad-x);
  background: rgba(19, 16, 9, 0.6);
}

.hs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 56px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.hs-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.hs-rule {
  flex: 1;
  min-width: 12px;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--border) 0,
    var(--border) 3px,
    transparent 3px,
    transparent 8px
  );
}

.hs-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* =========================================
   Marquee
   ========================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--bg);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.marquee-track .mdot {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

/* =========================================
   Logos Strip
   ========================================= */
.logos-strip {
  padding: 40px var(--pad-x);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.logos-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.logos-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  text-align: center;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logos-row img {
  height: 22px;
  width: auto;
  opacity: 0.3;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.logos-row img:hover { opacity: 0.65; }

/* =========================================
   About Section
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}

.about-main p {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 16px;
}
.about-main p:last-child { margin-bottom: 0; }

.about-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cred-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 24px 28px;
  transition: border-color 0.2s, background 0.2s;
}
.cred-card:hover {
  border-color: rgba(242, 237, 232, 0.14);
  background: #221c14;
}

.cred-card--accent {
  background: var(--accent-dim);
  border-color: rgba(232, 66, 28, 0.18);
}
.cred-card--accent:hover {
  background: rgba(232, 66, 28, 0.14);
  border-color: rgba(232, 66, 28, 0.3);
}

.cred-icon {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 12px;
}

.cred-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.cred-sub {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cred-big {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* =========================================
   iTechNotion Section
   ========================================= */
.section-company {
  background: var(--surface);
}

.company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.agent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}
.agent-pills span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232, 66, 28, 0.2);
  padding: 6px 14px;
  transition: background 0.2s;
}
.agent-pills span:hover { background: rgba(232, 66, 28, 0.16); }

.company-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  background: var(--border);
}

.csgrid-item {
  background: var(--surface2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
}
.csgrid-item:hover { background: #231d14; }

.csgrid-n {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.csgrid-l {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.company-services {
  border-top: 1px solid var(--border);
}
.company-services li {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
.company-services li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.company-services li:hover { color: var(--text); }

/* =========================================
   Ventures
   ========================================= */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.ventures-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.venture-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background 0.2s;
}

.venture-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.vmeta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.venture-card p:last-child {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
}

/* =========================================
   Products — Row list
   ========================================= */
.product-list {
  border-top: 1px solid var(--border);
}

.product-row {
  display: grid;
  grid-template-columns: 52px 220px 1fr 24px;
  gap: 0 32px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  isolation: isolate;
}
a.product-row { display: grid; }

/* Background via ::before avoids layout-property mutation on hover */
.product-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.2s;
  pointer-events: none;
  z-index: -1;
}
a.product-row:hover::before { background: rgba(232, 66, 28, 0.04); }

.product-row:hover .pr-num  { color: var(--accent); }
.product-row:hover .pr-arrow { opacity: 1; color: var(--accent); }
.product-row:hover .pr-info h3 { color: var(--text); }

.product-row--nolink { cursor: default; opacity: 0.68; }
.product-row--nolink:hover { opacity: 0.78; }
.product-row--nolink:hover .pr-num { color: var(--muted); }

.pr-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s;
  align-self: center;
}

.pr-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pr-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: rgba(242, 237, 232, 0.85);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.2s;
}

.pr-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.pr-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.pr-arrow {
  font-size: 15px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
  justify-self: end;
}

/* =========================================
   Client Wall — Logo Grid
   ========================================= */
.client-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 24px 0 0;
}

.cw-cell {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 36px;
  transition: background 0.2s;
}
.cw-cell:hover { background: var(--surface2); }

.cw-cell img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.cw-cell:hover img { opacity: 0.9; }

.cw-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.client-footnote {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* =========================================
   Speaking Grid
   ========================================= */
.speaking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.sg-featured {
  overflow: hidden;
}
.sg-featured img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.85);
  transition: transform 0.6s ease, filter 0.35s;
}
.sg-featured:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

.sg-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.sg-secondary img {
  width: 100%;
  height: 100%;
  min-height: 205px;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.7);
  transition: transform 0.6s ease, filter 0.35s;
  display: block;
}
.sg-secondary img:hover {
  transform: scale(1.05);
  filter: brightness(1) saturate(0.9);
}

.sg-secondary > * { overflow: hidden; }

/* =========================================
   Philosophy Split (full bleed)
   ========================================= */
.section-philosophy {
  padding: 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

/* Full-bleed override — prevents the .section !important padding from indenting the split */
#philosophy { padding-left: 0 !important; padding-right: 0 !important; }

.phil-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.phil-photo-col {
  position: relative;
  overflow: hidden;
}
.phil-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.65) saturate(0.8);
  transition: filter 0.4s;
}
.phil-photo-col:hover img { filter: brightness(0.75) saturate(0.9); }

.phil-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 40px;
  background: linear-gradient(to top, rgba(11,9,7,0.92) 0%, transparent 100%);
}
.phil-photo-overlay span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.phil-text-col {
  padding: 80px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}
.phil-text-col p {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
  max-width: 520px;
}
.phil-text-col p:last-child { margin-bottom: 0; }
.phil-text-col strong { color: var(--accent); font-weight: 500; }

/* =========================================
   Work With Me (CTA)
   ========================================= */
.section-cta {
  background: var(--bg);
}

.cta-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}

.cta-left p {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 380px;
}

.cta-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.cs-item {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.cs-item:hover { background: var(--surface2); }

.cs-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.cs-item h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cs-item p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

/* =========================================
   Footer
   ========================================= */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 6px;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(242, 237, 232, 0.72);
  padding: 8px 14px;
  border: 1px solid rgba(242, 237, 232, 0.12);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover {
  color: var(--text);
  border-color: rgba(242, 237, 232, 0.28);
  background: rgba(242, 237, 232, 0.04);
}
.footer-social a svg { flex-shrink: 0; }

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* =========================================
   Responsive — Tablet (960px)
   ========================================= */
@media (max-width: 960px) {
  :root { --pad-x: 32px; --sec-py: 88px; --sidebar-w: 0px; }

  .section { padding-left: 32px !important; padding-right: 32px !important; }

  .sidebar { display: none; }
  .mobile-bar { display: flex; }
  .nav-ham { display: flex; }

  .hero { padding: 100px var(--pad-x) 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-right { max-width: 340px; }
  .hero-stats { margin-left: calc(-1 * var(--pad-x)); }
  .hs-row { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-right { display: grid; grid-template-columns: repeat(3, 1fr); }

  .company-inner { grid-template-columns: 1fr; gap: 48px; }

  .ventures-grid,
  .ventures-grid--2 { grid-template-columns: 1fr; }

  .product-row {
    grid-template-columns: 40px 180px 1fr 20px;
    gap: 0 20px;
  }

  .speaking-grid { grid-template-columns: 1fr; }
  .sg-featured img { min-height: 300px; }
  .sg-secondary { grid-template-columns: repeat(4, 1fr); }
  .sg-secondary img { min-height: 120px; }

  .phil-split { grid-template-columns: 1fr; min-height: auto; }
  .phil-photo-col { min-height: 360px; }
  .phil-text-col { padding: 60px var(--pad-x); }

  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-left p { max-width: none; }

  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}

/* =========================================
   Responsive — Mobile (600px)
   ========================================= */
@media (max-width: 600px) {
  :root { --pad-x: 20px; --sec-py: 72px; --sidebar-w: 0px; }

  .section { padding-left: 20px !important; padding-right: 20px !important; }

  .mobile-bar .nav-cta { display: none; }

  /* Hero: compact everything to fit within the fixed 100dvh container.
     slides-wrapper has overflow-y:hidden so the slide cannot scroll — all
     content must fit. Approach: tighter margins, landscape photo crop,
     2-col stats (halves their vertical footprint). */
  .hero { padding-top: 72px; }
  .hero-inner { gap: 16px; }

  /* Photo: landscape crop, fixed height — shows face, takes ~165px */
  .hero-right { display: block; max-height: 165px; overflow: hidden; }
  .hero-photo { height: 165px; aspect-ratio: unset; }
  .hero-photo-frame::before,
  .hero-photo-frame::after { display: none; }

  /* Text: tighter margins to reclaim vertical space */
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-name { font-size: clamp(48px, 12.5vw, 68px); margin-bottom: 14px; }
  .hero-role { font-size: 12px; margin-bottom: 8px; }
  .hero-desc { font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Stats: 2-column grid cuts height from ~330px → ~110px */
  .hero-stats { padding: 10px var(--pad-x); }
  .hs-row { grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
  .hs-item { padding: 8px 0; }
  .hs-label { font-size: 8px; letter-spacing: 0.06em; max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hs-val { font-size: 16px; }

  .about-right { grid-template-columns: 1fr; }

  .ventures-grid { grid-template-columns: 1fr; }
  .venture-card { padding: 28px 20px; }

  .product-row {
    grid-template-columns: 36px 1fr 18px;
    gap: 0 16px;
  }
  .product-row .pr-desc { display: none; }

  .speaking-grid { grid-template-columns: 1fr; }
  .sg-secondary { grid-template-columns: repeat(2, 1fr); }

  .cta-services { grid-template-columns: 1fr; }

  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .client-wall .cw-cell { padding: 20px 16px; }

  .footer-social { gap: 18px; flex-wrap: wrap; justify-content: center; }

  .section-head h2,
  .about-main h2,
  .company-left h2,
  .phil-text-col h2,
  .cta-left h2 { font-size: clamp(36px, 8vw, 52px); }
}

/* =========================================
   Presentation / Slide Layout
   ========================================= */
html, body {
  overflow: hidden;
  height: 100%;
}

.slides-wrapper {
  display: flex;
  margin-left: var(--sidebar-w);
  width: calc(100vw - var(--sidebar-w));
  height: 100vh;
  height: 100dvh;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slides-wrapper::-webkit-scrollbar { display: none; }

.slide {
  min-width: calc(100vw - var(--sidebar-w));
  width: calc(100vw - var(--sidebar-w));
  height: 100vh;
  height: 100dvh;
  flex-shrink: 0;
  scroll-snap-align: start;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slide::-webkit-scrollbar { display: none; }

/* Slides don't use border-top (they're side-by-side, not stacked) */
.slide.section { border-top: none; }

/* Hero slide — exact viewport fit */
.hero.slide {
  min-height: unset;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Footer inside last slide */
.slide footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: auto;
}

/* Slide navigation arrows */
.slide-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 9, 7, 0.72);
  border: 1px solid rgba(242, 237, 232, 0.22);
  color: rgba(242, 237, 232, 0.82);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, opacity 0.3s;
}
.slide-arrow:hover {
  background: rgba(11, 9, 7, 0.90);
  border-color: rgba(242, 237, 232, 0.40);
  color: var(--text);
}
.slide-arrow--prev { left: calc(var(--sidebar-w) + 16px); }
.slide-arrow--next { right: 16px; }

/* Slide counter */
.slide-indicator {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 232, 0.65);
  pointer-events: none;
}
#slide-cur { color: var(--accent); }
.si-sep { color: rgba(242, 237, 232, 0.30); }

/* Keyboard hint */
.kbd-hint {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(242, 237, 232, 0.65);
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.kbd-hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  border: 1px solid rgba(242,237,232,0.28);
  padding: 0 5px;
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(242, 237, 232, 0.65);
  background: rgba(242,237,232,0.06);
}

/* Hide arrows on mobile (touch swipe handles it) */
@media (max-width: 960px) {
  .slide-arrow { display: none; }
  .kbd-hint { display: none; }
  .slide-indicator { right: 16px; bottom: 16px; }
}

/* =========================================
   Presentation mode (fullscreen)
   ========================================= */
.is-fullscreen {
  --sidebar-w: 0px;
}
.is-fullscreen .sidebar { display: none; }
.is-fullscreen .slide-arrow { display: none; }
.is-fullscreen .slide-indicator { display: none; }
.is-fullscreen .kbd-hint { display: none; }
.is-fullscreen .pres-nav { display: flex; }

/* Presentation nav — horizontal bottom strip */
.pres-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(11, 9, 7, 0.97);
  border-top: 1px solid rgba(242, 237, 232, 0.14);
  padding: 0 24px;
  height: 52px;
}

.pn-items {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pn-item {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(242, 237, 232, 0.38);
  background: none;
  border: none;
  padding: 0 14px;
  height: 52px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.pn-item:hover { color: rgba(242, 237, 232, 0.75); background: rgba(242, 237, 232, 0.04); }
.pn-item.active { color: var(--accent); }
.pn-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.pn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(242, 237, 232, 0.18);
  color: rgba(242, 237, 232, 0.60);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  margin: 0 20px;
  flex-shrink: 0;
}
.pn-arrow:hover { border-color: rgba(242,237,232,0.38); color: var(--text); }

/* =========================================
   Slide layout overrides — per-slide 100vh
   ========================================= */

/* 1 — Recalibrate section padding for slide context (120px → fluid 48–72px) */
.slide.section {
  padding: clamp(48px, 5.5vh, 72px) 0;
}

/* 2 — Section headers: tighter margin-bottom in slides */
.slide .section-head {
  margin-bottom: 36px;
}

/* 3 — Hero: reduce top padding, let inner area fill remaining height */
.hero.slide {
  padding-top: clamp(64px, 8vh, 96px);
}
.hero.slide .hero-inner {
  flex: 1;
  min-height: 0;
}

/* 4 — About: center content vertically, stretch cred cards to fill column */
#about.slide {
  display: flex;
  align-items: center;
}
#about.slide .container { width: 100%; }
#about.slide .about-grid { align-items: stretch; }
#about.slide .about-right {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#about.slide .cred-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 5 — Ventures: card grid fills remaining slide height after header */
#ventures.slide {
  display: flex;
  flex-direction: column;
}
#ventures.slide .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#ventures.slide .section-head { flex-shrink: 0; }
#ventures.slide .ventures-grid {
  flex: 1;
  min-height: 0;
}
#ventures.slide .venture-card {
  padding: clamp(24px, 3.5vh, 40px) 32px;
}

/* 6 — Products: tighter header, list uses overflow-y scroll within slide */
#products.slide .section-head { margin-bottom: 20px; }

/* 7 — Clients: single container fills slide, client-wall grows to fill */
#clients.slide {
  display: flex;
  flex-direction: column;
}
#clients.slide > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#clients.slide .section-head { flex-shrink: 0; }
#clients.slide .client-wall {
  flex: 1;
  min-height: 0;
  margin: 0;
}
#clients.slide .client-footnote {
  flex-shrink: 0;
  padding-top: 14px;
}
#clients.slide .cw-cell {
  padding: clamp(10px, 1.5vh, 20px) 16px;
}
#clients.slide .cw-cell img { height: 70px; }

/* 8 — Speaking: container is flex column, grid grows to fill */
#speaking.slide {
  display: flex;
  flex-direction: column;
}
#speaking.slide > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#speaking.slide .section-head { flex-shrink: 0; }
#speaking.slide .speaking-grid {
  flex: 1;
  min-height: 0;
}
#speaking.slide .sg-featured { min-height: 0; }
#speaking.slide .sg-featured img { min-height: 0; height: 100%; }
#speaking.slide .sg-secondary img { min-height: 0; height: 100%; }

/* 9 — Philosophy: full-bleed split fills the entire slide */
#philosophy.slide {
  padding: 0;
  overflow: hidden;
}
#philosophy.slide .phil-split {
  min-height: unset;
  height: 100vh;
  height: 100dvh;
}
#philosophy.slide .phil-text-col {
  padding: clamp(48px, 6vh, 80px) clamp(36px, 4vw, 68px);
}

/* 10 — Work: flex column pushes footer to slide bottom */
#work.slide {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
#work.slide > .container {
  flex: 1;
  display: flex;
  align-items: center;
}
#work.slide footer {
  flex-shrink: 0;
  margin-top: 0;
}

/* Swipe navigation hint — mobile only */
.swipe-hint {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(242, 237, 232, 0.65);
  pointer-events: none;
  transition: opacity 0.6s ease;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .swipe-hint { display: block; }
}

/* =========================================
   Reduced Motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  .anim-1, .anim-2, .anim-3, .anim-photo, .anim-stats {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .pulse-dot { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation-play-state: paused; }
  .sg-featured img,
  .sg-secondary img { transition: filter 0.35s; }
  .sg-featured:hover img,
  .sg-secondary img:hover { transform: none; }
  .product-row::before { transition: none; }
  .sidebar-link::before { transition: none; }
}
