/* ============================================================
   NASEER KHAN — STUDIO PORTFOLIO
   Warm dark theme · single orange accent · editorial type
   Fonts loaded in page <head> (non-blocking).
   ============================================================ */

#about,
#services,
#testimonials,
#work,
#contact {
  scroll-margin-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Portfolio artwork protection.
   This is a visible deterrent; browser screenshots cannot be technically blocked. */
.protected-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.protected-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Ctext x='120' y='62' text-anchor='middle' dominant-baseline='middle' transform='rotate(-22 120 62)' fill='%23ffffff' fill-opacity='.18' font-family='Arial,sans-serif' font-size='13' font-weight='700' letter-spacing='2'%3E%C2%A9 NASEER KHAN%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 240px 120px;
}
.protected-asset {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.protection-notice {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 9999;
  transform: translate(-50%, 12px);
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  border: 1px solid rgba(255, 106, 26, 0.35);
  border-radius: 100px;
  background: rgba(19, 17, 16, 0.94);
  color: var(--text);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.protection-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media print {
  .protected-media,
  .protected-asset {
    visibility: hidden !important;
  }
}

:root {
  /* ---- color: warm charcoal base ---- */
  --bg:        #131110;
  --bg-2:      #1a1714;
  --surface:   #201c18;
  --surface-2: #262019;
  --line:      rgba(245, 241, 236, 0.09);
  --line-2:    rgba(245, 241, 236, 0.16);

  --text:      #f3eee7;
  --muted:     #a59c90;
  --muted-2:   #756d63;

  /* ---- accent ---- */
  --orange:    #ff6a1a;
  --orange-hi: #ff8847;
  --orange-dk: #d8500d;
  --orange-glow: rgba(255, 106, 26, 0.16);

  /* ---- type ---- */
  --display: 'Bricolage Grotesque', sans-serif;
  --sans: 'Hanken Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;

  /* ---- layout: 15% · 70% · 15% content grid ---- */
  --maxw: 70vw;
  --gutter: 0;
  --radius: 18px;
  --radius-sm: 12px;

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

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #1a1207; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- ambient grain + glow ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 700px at 78% -8%, var(--orange-glow), transparent 60%),
    radial-gradient(900px 600px at -10% 25%, rgba(255,106,26,0.06), transparent 55%);
}

/* =================== shared layout =================== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
section { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--orange);
  opacity: 0.7;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--orange);
  opacity: 0.7;
}

.section-head { max-width: 720px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.section-head p { color: var(--muted); margin-top: 18px; font-size: 18px; max-width: 560px; }

.num { font-family: var(--mono); color: var(--muted-2); font-size: 13px; letter-spacing: 0.1em; }

/* =================== buttons =================== */
.btn {
  --pad: 16px 26px;
  display: inline-flex; align-items: center; gap: 11px;
  padding: var(--pad);
  font-weight: 600; font-size: 15.5px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:disabled { opacity: .58; cursor: wait; pointer-events: none; }
.btn-txt-short { display: none; }
.btn-primary {
  background: var(--orange);
  color: #1c1206;
  box-shadow: 0 10px 30px -8px var(--orange-glow);
}
.btn-primary:hover { background: var(--orange-hi); box-shadow: 0 16px 40px -8px rgba(255,106,26,.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(245,241,236,.04); }
.btn-green {
  background: #22c55e;
  color: #052e14;
  box-shadow: 0 10px 30px -8px rgba(34, 197, 94, 0.25);
}
.btn-green:hover { background: #34d36a; }
.btn-green-outline {
  background: transparent;
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.55);
}
.btn-green-outline:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: #22c55e;
  color: #34d36a;
}

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--text);
  font-family: var(--sans);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); color: var(--orange); }
.arrow-link:hover svg { transform: translate(4px, -4px); }

/* =================== image placeholders =================== */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ph .ph-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
  padding: 10px 16px;
  border: 1px dashed var(--line-2);
  border-radius: 100px;
  background: rgba(19,17,16,0.5);
  backdrop-filter: blur(4px);
}

/* =================== SITE NAV (all pages) =================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(19, 17, 16, 0.92);
  backdrop-filter: blur(14px) saturate(1.15);
}
.site-nav.scrolled { border-bottom-color: var(--line-2); }
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  min-height: 72px;
  padding: 10px 0;
}
.site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  min-width: 0;
}
.site-nav-brand small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2px;
}
.site-nav-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange-glow);
  flex-shrink: 0;
}
.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  flex: 1;
  min-width: 0;
}
.site-nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s;
  white-space: nowrap;
}
.site-nav-links a:hover,
.site-nav-links a.is-active { color: var(--text); }
.site-nav-links a.is-active { color: var(--orange); }
.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-nav-cta { flex-shrink: 0; white-space: nowrap; }
.site-nav-menu-btn { display: none; }

.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(680px 280px at 12% 0%, rgba(255,106,26,0.1), transparent 68%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 42%);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 16px;
  max-width: 20ch;
}
.page-hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 58ch;
}

/* =================== AHERO (homepage top / template) =================== */
.ahero { position: relative; padding-top: 124px; padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.ahero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(245,241,236,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(720px 520px at 76% 36%, #000, transparent 72%);
  mask-image: radial-gradient(720px 520px at 76% 36%, #000, transparent 72%);
}
.ahero .wrap { position: relative; z-index: 1; }
.ahero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
  padding: 9px 16px 9px 12px; border-radius: 100px;
}
.pill .live { width: 7px; height: 7px; border-radius: 50%; background: #46d17a; box-shadow: 0 0 10px #46d17a; }
.pill .o {
  font-family: var(--display);
  color: #ff7a2e;
  font-weight: 800;
  font-style: italic;
  font-size: 1.12em;
  letter-spacing: 0.1em;
  text-shadow: 0 0 18px rgba(255, 106, 26, 0.45);
}
.ahero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6.1vw, 80px); line-height: 0.99; letter-spacing: -0.03em; margin-top: 22px; }
.ahero h1 .o { color: var(--orange); font-style: italic; font-weight: 500; }
.alead { color: var(--muted); font-size: clamp(16.5px, 1.45vw, 19.5px); line-height: 1.62; margin-top: 24px; max-width: 520px; }
.alead strong { color: var(--text); font-weight: 600; }
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; max-width: 480px; }
.ahero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ahero-actions .btn { min-height: 48px; }
.tb { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.tb svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.tb b { font-size: 14px; font-weight: 600; }
.tb .stars { color: var(--orange); font-size: 12px; letter-spacing: 1.5px; }
.tb small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #c4bab0;
  line-height: 1.25;
}
.photo-stage { position: relative; padding-bottom: 52px; }
.photo-stage .halo { position: absolute; inset: -6% -4% -4% -4%; z-index: 0; border-radius: 50%; background: radial-gradient(50% 50% at 50% 60%, var(--orange-glow), transparent 70%); filter: blur(8px); }
.ahero .photo-stage .video-card {
  position: absolute;
  z-index: 6;
  bottom: 28px;
  left: -40px;
  width: 240px;
}
.ahero .photo-stage .video-card:hover { transform: translateY(-6px); }
.pframe {
  position: relative; z-index: 1; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 40px 80px -40px rgba(0,0,0,0.7);
}
.pframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.pframe::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(19,17,16,0.55)); }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: rgba(26,23,20,0.72); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line-2); border-radius: 15px; padding: 13px 17px;
  box-shadow: 0 24px 50px -22px rgba(0,0,0,0.7);
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--orange); color: #1c1206; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .ico svg { width: 19px; height: 19px; }
.float-card .v { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.float-card .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }
.float-card.fc1 { top: 14%; left: -7%; animation-delay: 0s; }
.float-card.fc2 { bottom: 16%; right: -6%; left: auto; animation-delay: 1.4s; }
.float-card.fc3 { top: 8%; right: -6%; animation-delay: .7s; }
.float-card.badge { padding: 11px 16px; white-space: nowrap; }
.float-card.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.float-card.badge b { font-size: 13.5px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }
.skills { margin-top: clamp(44px, 5vw, 68px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; position: relative; z-index: 1; }
.skills .marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.skills .skills-scroll {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}
.skills:hover .skills-scroll { animation-play-state: paused; }
.skills-group {
  display: flex;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
  flex-shrink: 0;
}
.skills .it { display: flex; align-items: center; gap: 13px; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--muted); flex-shrink: 0; }
.skills .it svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
.skills .it .sep { color: var(--orange); }
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(44px, 5vw, 66px); }
.statcard { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); padding: 26px 24px 24px; transition: transform .45s var(--ease), border-color .4s; }
.statcard:hover { transform: translateY(-6px); border-color: var(--orange); }
.statcard .ico { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 18px; }
.statcard .ico svg { width: 20px; height: 20px; }
.statcard .v { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.02em; line-height: 1; }
.statcard .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-top: 9px; }

/* =================== ABOUT PAGE (template story/kit/philosophy) =================== */
.story { padding: clamp(60px, 8vw, 118px) 0; border-top: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: clamp(30px, 5vw, 80px); }
.story-grid .sticky { position: sticky; top: 104px; align-self: start; }
.story-badge { width: 54px; height: 54px; border-radius: 15px; background: var(--orange); color: #1c1206; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.story-badge svg { width: 26px; height: 26px; }
.story-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.story-grid h2 { font-family: var(--display); font-weight: 600; font-size: clamp(29px, 3.9vw, 50px); line-height: 1.04; letter-spacing: -0.025em; margin-top: 14px; }
.story-body p { color: var(--muted); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.7; margin-bottom: 20px; }
.story-body p strong { color: var(--text); font-weight: 600; }
.story-body .turn { display: flex; gap: 18px; align-items: flex-start; font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.3vw, 29px); color: var(--text); line-height: 1.25; letter-spacing: -0.01em; margin: 6px 0 28px; padding: 20px 24px; border: 1px solid var(--line-2); border-left: 3px solid var(--orange); border-radius: 14px; background: var(--surface); }
.story-body .turn svg { width: 26px; height: 26px; color: var(--orange); flex-shrink: 0; margin-top: 4px; }
.story-body .turn .o { color: var(--orange); }
.expertise { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.expertise span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--muted); transition: color .3s, border-color .3s; }
.expertise span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.expertise span:hover { color: var(--text); border-color: var(--text); }
.kit { padding: clamp(50px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.kit-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.kit-head .ttl { display: flex; align-items: baseline; gap: 18px; }
.kit-head .ttl .num { font-family: var(--mono); font-size: 14px; color: var(--orange); }
.kit-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.02em; }
.kit-head p { color: var(--muted); font-size: 16px; max-width: 420px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); margin-top: 54px; }
.how-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); padding: 34px 30px 32px; transition: transform .45s var(--ease), border-color .4s; overflow: hidden; }
.how-card::after { content: attr(data-n); position: absolute; top: 14px; right: 20px; font-family: var(--display); font-weight: 700; font-size: 46px; color: var(--line-2); line-height: 1; }
.how-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.how-card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--orange-glow); border: 1px solid rgba(255,106,26,0.3); display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 22px; }
.how-card .ico svg { width: 24px; height: 24px; }
.how-card h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 10px; }
.how-card p { color: var(--muted); font-size: 15.5px; line-height: 1.62; }
.philosophy { position: relative; padding: clamp(74px, 9vw, 134px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.philosophy::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(620px 360px at 50% 0%, var(--orange-glow), transparent 65%); }
.philosophy .wrap { position: relative; z-index: 1; max-width: 1020px; text-align: center; }
.philosophy .qm { font-family: var(--display); color: var(--orange); font-size: 84px; line-height: 0.5; height: 42px; }
.philosophy blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.025em; margin: 30px 0; text-wrap: balance; }
.philosophy blockquote .o { color: var(--orange); font-style: italic; font-weight: 500; }
.philosophy .by { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.philosophy .by .ln { width: 30px; height: 1px; background: var(--muted-2); }
.pcta { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }

body.has-site-nav .hero,
body.has-site-nav .ahero { padding-top: clamp(28px, 4vw, 48px); }

/* =================== NAV (legacy editor block) =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(19,17,16,0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s; }
.nav.scrolled .wrap { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.brand small { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.18em; color: var(--muted-2); text-transform: uppercase; display:block; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .25s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:1px; width:0; background: var(--orange); transition: width .3s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.menu-btn {
  display: none;
  background: rgba(32, 28, 24, 0.65);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.menu-btn:hover { border-color: rgba(255, 106, 26, 0.35); background: rgba(255, 106, 26, 0.08); }
.menu-btn .menu-icon-close { display: none; }
.menu-btn.is-open { border-color: rgba(255, 106, 26, 0.42); background: rgba(255, 106, 26, 0.1); }
.menu-btn.is-open .menu-icon-open { display: none; }
.menu-btn.is-open .menu-icon-close { display: block; }

/* =================== HERO =================== */
.hero { padding-top: 116px; padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-top: 26px;
}
.o { color: var(--orange); font-style: italic; font-weight: 500; }
.hero h1 .o { font-weight: 500; }
.hero-sub { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); margin-top: 26px; max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-stats { display: flex; gap: 40px; margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat .v { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.02em; }
.stat .v span { color: var(--orange); }
.stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }

/* hero visual: portrait + overlapping video card */
.hero-visual { position: relative; }
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 12px),
    linear-gradient(155deg, #2a2017, #19140f 70%);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.portrait::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 45%, rgba(255,106,26,0.10) 100%);
  mix-blend-mode: screen;
}
.portrait .corner {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); display:flex; align-items:center; gap:8px;
}
.portrait .corner .live { width:7px; height:7px; border-radius:50%; background: #46d17a; box-shadow:0 0 10px #46d17a; }
.portrait .ph-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.portrait::before {
  content:""; position:absolute; z-index:0; left:50%; bottom:0; transform:translateX(-50%);
  width:80%; height:62%; border-radius:50% 50% 0 0;
  background: radial-gradient(60% 80% at 50% 100%, rgba(255,106,26,0.30), transparent 70%);
  filter: blur(6px);
}
.portrait-img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.5));
}
.about-ph { position: relative; }
.about-ph .about-img {
  position: absolute; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 152%; height: auto; max-width: none; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.5));
}
.about-ph::after {
  content:""; position:absolute; z-index:1; left:50%; bottom:0; transform:translateX(-50%);
  width:84%; height:55%; border-radius:50% 50% 0 0;
  background: radial-gradient(60% 80% at 50% 100%, rgba(255,106,26,0.22), transparent 70%);
}

.video-card {
  position: absolute;
  z-index: 6;
  bottom: 54px; left: -40px;
  width: 240px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65);
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.video-card:hover { transform: translateY(-6px); }
.video-thumb {
  aspect-ratio: 16/10;
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 12px),
    linear-gradient(155deg, #241a12, #14100c);
  display:flex; align-items:center; justify-content:center;
  overflow: hidden;
}
.video-preview-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.video-thumb .play { position: relative; z-index: 1; }
.play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 106, 26, 0.78);
  color: #1c1206;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  backdrop-filter: blur(3px);
  box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.18);
  animation: pulse 2.8s infinite;
}
.play svg { width: 10px; height: 10px; margin-left: 1px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.2); }
  70% { box-shadow: 0 0 0 8px rgba(255, 106, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); }
}
.video-meta { padding: 12px 14px; display:flex; align-items:center; justify-content:space-between; }
.video-meta b { font-size: 13.5px; }
.video-meta span { font-family: var(--mono); font-size: 10px; color: var(--muted-2); letter-spacing:0.1em; }

/* =================== MARQUEE / trust =================== */
/* Fixed logo slot — har upload isi size mein fit hoga */
.trust {
  --logo-box-w: 200px;
  --logo-box-h: 96px;
  --logo-name-w: 200px;
  padding: 48px 0 28px;
}
.trust .wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 34px 0 22px;
}
.trust-label { text-align:center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 34px; }
.marquee { position: relative; display: block; overflow: visible; }
.marquee-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-viewport::-webkit-scrollbar { display: none; }
.marquee-viewport:active { cursor: grabbing; }
.marquee-scroll {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}
.marquee-scroll--static { animation: none; }
.marquee.is-interactive .marquee-scroll { animation: none; transform: none; }
.marquee-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(19, 17, 16, .9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.marquee-nav:hover { color: #1c1206; background: var(--orange); border-color: var(--orange); transform: translateY(-50%) scale(1.06); }
.marquee-nav:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.marquee-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.marquee-nav--prev { left: 8px; }
.marquee-nav--next { right: 8px; }
@media (hover: hover) and (pointer: fine) {
  .trust:hover .marquee:not(.is-interactive) .marquee-scroll { animation-play-state: paused; }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-group {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}

.logo-item { display:flex; align-items:center; gap: 14px; color: var(--muted); white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; opacity: .55; transition: opacity .3s, color .3s; flex-shrink: 0; }
.logo-item:hover { opacity: 1; color: var(--text); }
.logo-item--image {
  opacity: 1;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: var(--logo-box-w);
  text-align: center;
}
.logo-item--image:hover { opacity: 1; }

.logo-item .glyph { width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--muted-2); display:flex; align-items:center; justify-content:center; font-size: 14px; flex-shrink: 0; }

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--logo-box-w);
  height: var(--logo-box-h);
  padding: 14px 16px;
  box-sizing: border-box;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.logo-item .logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.logo-item .logo-name {
  display: block;
  width: var(--logo-name-w);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}
.logo-item--image:hover .logo-name { color: var(--text); }

/* =================== generic section spacing =================== */
.s { padding-block: clamp(48px, 6vw, 88px); }
/* Back-to-back sections: avoid double stack of huge top + bottom padding */
.s + .s { padding-top: clamp(24px, 3.5vw, 44px); }
[data-block-type="work_grid"] .s.afh-showcase { padding-bottom: clamp(20px, 3vw, 36px); }
[data-block-type="work_grid"] + [data-block-type="services"] .s { padding-top: clamp(16px, 2.5vw, 28px); }
.s-head-row { display:flex; align-items:flex-end; justify-content:space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }

/* =================== WORK =================== */
.work-tabs { display:flex; gap: 10px; margin-bottom: 44px; }
.tab {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 100px; border: 1px solid var(--line-2);
  background: transparent; color: var(--muted); cursor: pointer; transition: all .3s;
}
.tab.active { background: var(--orange); color: #1c1206; border-color: var(--orange); }
.tab:not(.active):hover { color: var(--text); border-color: var(--text); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.work-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s;
}
.work-card.tall { grid-row: span 1; }
.work-card:hover { transform: translateY(-8px); border-color: var(--line-2); }
.work-shot {
  aspect-ratio: 16/11;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.work-shot .ph { position:absolute; inset:0; border:0; background: var(--bg); }
.work-shot .site-shot {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 100%; height: auto;
  opacity: 0; transition: opacity .6s var(--ease);
  will-change: transform;
}
.work-shot .site-shot.loaded { opacity: 1; }
.work-card[data-scroll-preview] { cursor: pointer; }
.scroll-hint {
  position: absolute; z-index: 4; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); padding: 6px 11px; border-radius: 100px;
  background: rgba(19,17,16,0.66); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(-4px); transition: all .4s var(--ease);
}
.work-card[data-scroll-preview]:hover .scroll-hint { opacity: 1; transform: none; }
.work-card[data-scroll-preview] .reveal { display: none; }
.scroll-hint .dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.work-shot .badge {
  position:absolute; top: 16px; left: 16px; z-index:3;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; background: rgba(19,17,16,0.7); border: 1px solid var(--line-2); color: var(--text);
  backdrop-filter: blur(6px);
}
.work-shot .reveal {
  position:absolute; inset:0; z-index:2;
  background: linear-gradient(180deg, transparent 40%, rgba(19,17,16,.92));
  display:flex; align-items:flex-end; padding: 22px;
  opacity: 0; transform: translateY(14px); transition: all .5s var(--ease);
}
.work-card:hover .reveal { opacity:1; transform:none; }
.work-shot .reveal .arrow-link { color: var(--orange); }
.work-info { padding: 24px 26px 28px; display:flex; align-items:flex-start; justify-content:space-between; gap: 16px; }
.work-info h3 { font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; }
.work-info p { color: var(--muted); font-size: 14.5px; margin-top: 5px; }
.work-tag { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.1em; white-space: nowrap; padding-top: 6px; }
.work-pane { display: none; }
.work-pane.active { display: grid; }

/* =================== CASE STUDIES =================== */
.case {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.case:last-child { border-bottom: 1px solid var(--line); }
.case.flip .case-visual { order: -1; }
.case-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.case h3 { font-family: var(--display); font-weight: 600; font-size: clamp(27px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 16px 0 18px; line-height: 1.05; }
.case .narr { display:flex; flex-direction: column; gap: 14px; margin: 22px 0 26px; }
.narr-row { display:flex; gap: 16px; }
.narr-row .lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); width: 90px; flex-shrink:0; padding-top: 3px; }
.narr-row .val { color: var(--muted); font-size: 15.5px; }
.case-metrics { display:flex; gap: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.cm .v { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); color: var(--orange); letter-spacing: -0.02em; }
.cm .k { font-size: 13px; color: var(--muted); margin-top: 2px; }
.case-visual .ph { aspect-ratio: 4/3; border-radius: var(--radius); }

/* =================== SERVICES =================== */
.services-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.pillar {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px 34px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform .45s var(--ease), border-color .4s, background .4s;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--orange); }
.pillar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.pillar-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--orange-glow);
  border: 1px solid rgba(255, 106, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.pillar-ico svg { width: 24px; height: 24px; }
.pillar .pn { font-family: var(--mono); font-size: 12px; color: var(--orange); letter-spacing: 0.14em; }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.01em; margin: 0 0 14px; }
.pillar-divider { height: 1px; background: var(--line-2); margin-bottom: 22px; }
.pillar > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.pillar ul { list-style: none; margin-top: 0; display: flex; flex-direction: column; gap: 12px; }
.pillar li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); line-height: 1.35; }
.pillar-item-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 106, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.pillar-item-ico svg { width: 17px; height: 17px; }

/* =================== PROCESS =================== */
.process { margin-top: 90px; }
.steps { display:grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2vw,28px); margin-top: 50px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-2); }
.step-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--orange-glow);
  border: 1px solid rgba(255, 106, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 18px;
}
.step-ico svg { width: 24px; height: 24px; }
.step .sn { font-family: var(--mono); font-size: 12px; color: var(--orange); letter-spacing: 0.14em; }
.step h4 { font-family: var(--display); font-weight: 600; font-size: 21px; margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step::after { content:""; position:absolute; top:-1px; left:0; width: 0; height: 2px; background: var(--orange); transition: width .8s var(--ease); }
.step.in::after { width: 38px; }

/* =================== TESTIMONIALS =================== */
.tgrid { columns: 2; column-gap: clamp(20px,2.4vw,30px); }
.tcard {
  break-inside: avoid; margin-bottom: clamp(20px,2.4vw,30px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 30px 30px 26px;
  transition: border-color .4s;
}
.tcard:hover { border-color: var(--line-2); }
.tcard .quote-mark { font-family: var(--display); color: var(--orange); font-size: 50px; line-height: 0.6; height: 26px; }
.tcard blockquote { font-size: 18px; line-height: 1.55; margin: 18px 0 24px; letter-spacing: -0.01em; }
.tcard.big blockquote { font-size: 21px; }
.tperson { display:flex; align-items:center; gap: 14px; }
.tperson .ava { width: 44px; height: 44px; border-radius: 50%; flex-shrink:0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 8px), linear-gradient(155deg,#2a2017,#16110c);
  border: 1px solid var(--line-2); }
.tperson b { font-size: 15px; display:block; }
.tperson span { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.08em; }
.stars { color: var(--orange); font-size: 13px; letter-spacing: 2px; margin-bottom: 4px; }

/* =================== ABOUT =================== */
.about-grid { display:grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px,5vw,70px); align-items: center; }
.about-story-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.about-milestones {
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.about-milestone {
  position: relative;
  padding-bottom: 36px;
}
.about-milestone:last-child { padding-bottom: 0; }
.about-milestone::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px var(--orange-glow);
}
.about-milestone-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.about-milestone-body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.about-milestone-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.about-photo .ph { aspect-ratio: 3/4; border-radius: var(--radius); }
.about-body h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px,4vw,50px); letter-spacing: -0.02em; line-height: 1.05; margin: 22px 0 24px; }
.about-body p { color: var(--muted); font-size: 18px; margin-bottom: 18px; line-height: 1.65; }
.about-body p strong { color: var(--text); font-weight: 600; }
.sig { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 30px; color: var(--text); margin-top: 14px; }
.about-tags { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 30px; }
.about-tags span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--muted); }

/* =================== CONTACT =================== */
.contact { padding: clamp(80px,11vw,150px) 0; }
.contact-card {
  border-radius: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(255,106,26,0.14), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--bg-2));
  padding: clamp(44px, 6vw, 84px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 6vw, 78px); letter-spacing: -0.03em; line-height: 0.98; }
.contact-card h2 .o { color: var(--orange); font-style: italic; }
.contact-card p { color: var(--muted); font-size: 19px; margin: 24px auto 40px; max-width: 520px; }
.contact-lead-wrap { margin: 24px auto 40px; max-width: 640px; }
.contact-lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}
.contact-actions { display:flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-wa { background: #25d366; color: #06310f; }
.btn-wa:hover { background: #34e376; }
.contact-details {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-details-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 22px;
}
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-inline: auto;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 124px;
  height: 100%;
  padding: 16px 12px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(19, 17, 16, 0.62);
  transition: border-color .3s, background .3s, transform .35s var(--ease);
  min-width: 0;
  text-align: center;
}
.contact-detail:hover {
  border-color: rgba(255, 106, 26, 0.42);
  background: rgba(255, 106, 26, 0.07);
  transform: translateY(-3px);
}
.contact-detail--wa:hover { border-color: rgba(37, 211, 102, 0.45); background: rgba(37, 211, 102, 0.08); }
.contact-detail--tel:hover { border-color: rgba(255, 106, 26, 0.42); background: rgba(255, 106, 26, 0.07); }
.contact-detail-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  margin-top: 0;
  background: rgba(255, 106, 26, 0.12);
  border: 1px solid rgba(255, 106, 26, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.contact-detail--wa .contact-detail-ico {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.28);
  color: #34e376;
}
.contact-detail-ico svg { width: 19px; height: 19px; }
.contact-detail-body { width: 100%; min-width: 0; }
.contact-detail-lab {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 7px;
}
.contact-detail-val {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-detail--long .contact-detail-val {
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.4;
}
.contact-detail:hover .contact-detail-val { color: #fff; }

/* contact form */
.contact-form {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: left;
  width: 100%;
  max-width: min(820px, 94%);
  margin-inline: auto;
}
.contact-form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.contact-form-row .contact-field { margin-top: 0; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-form > .contact-field + .contact-field,
.contact-form-row + .contact-field { margin-top: 12px; }
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  background: #131110;
  border: 1px solid rgba(245, 241, 236, 0.12);
  color: #f3eee7;
  padding: 14px 16px;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  line-height: 1.25;
  -webkit-appearance: none;
  appearance: none;
}
.contact-input:focus { outline: 2px solid rgba(255, 106, 26, 0.45); outline-offset: 1px; border-color: var(--orange); }
.contact-textarea { min-height: 120px; resize: vertical; }
.contact-submit { margin-top: 12px; width: 100%; justify-content: center; }
.contact-form-status { margin-top: 10px; font-size: 14px; color: #a59c90; text-align: center; }

/* =================== FOOTER =================== */
.footer { border-top: 1px solid var(--line); padding: 46px 0; }
.footer .wrap { display:flex; align-items:center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 17px; }
.footer-links { display:flex; gap: 26px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color .3s; }
.footer-links a:hover { color: var(--text); }
.footer small { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.06em; }

/* =================== VIDEO MODAL =================== */
.modal { position: fixed; inset: 0; z-index: 200; display:none; align-items:center; justify-content:center; padding: 24px; }
.modal.open { display:flex; }
.modal-bg { position:absolute; inset:0; background: rgba(8,7,6,0.86); backdrop-filter: blur(8px); opacity:0; transition: opacity .4s; }
.modal.open .modal-bg { opacity: 1; }
.modal-inner {
  position: relative; z-index: 2; width: min(900px, 100%); aspect-ratio: 16/9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2);
  background: var(--surface); transform: scale(.94); opacity:0; transition: all .45s var(--ease);
}
.modal.open .modal-inner { transform: scale(1); opacity: 1; }
.modal-inner .ph { position:absolute; inset:0; border:0; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(19,17,16,.7); color: var(--text); cursor: pointer; display:flex; align-items:center; justify-content:center; }

/* =================== reveal animation =================== */
/* Default = visible. Animation is "armed" by JS only when the browser is
   actually rendering frames (rAF fires). In frozen/offscreen contexts the
   arm step never runs, so content stays visible instead of stuck hidden. */
.reveal-up { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-up.armed { opacity: 0; transform: translateY(30px); }
.reveal-up.armed.in { opacity: 1; transform: none; }
.reveal-up.d1 { transition-delay: .08s; }
.reveal-up.d2 { transition-delay: .16s; }
.reveal-up.d3 { transition-delay: .24s; }

/* =================== RESPONSIVE =================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: min(460px, 100%); margin-inline: auto; width: 100%; }
  .hero-copy { max-width: none; text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .case, .case.flip { grid-template-columns: 1fr; }
  .case .case-visual, .case.flip .case-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .ahero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ahero { text-align: center; }
  .ahero .pill { justify-content: center; margin-inline: auto; }
  .alead { max-width: none; }
  .trust-row { max-width: none; width: 100%; }
  .photo-stage { max-width: none; width: 100%; margin: 0; }
  .float-card.fc1 { left: 0; }
  .float-card.fc2 { right: 0; left: auto; }
  .story-grid { grid-template-columns: 1fr; gap: 26px; }
  .story-grid .sticky { position: static; }
  .how-grid { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .philosophy blockquote { font-size: clamp(24px, 6.5vw, 42px); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; margin-inline: auto; width: 100%; }
  .about-body { text-align: center; }
  .about-body .eyebrow { justify-content: center; }
  .about-tags { justify-content: center; }
  .tgrid { columns: 1; }
  .s-head-row { flex-direction: column; align-items: stretch; gap: 24px; margin-bottom: 40px; }
  .s-head-row .section-head { max-width: none; }
  .s-head-row .work-tabs { margin-bottom: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .s-head-row .work-tabs::-webkit-scrollbar { display: none; }
  .case-metrics { flex-wrap: wrap; gap: 24px; }
}

/* Mobile: 90% centered column · 5% space each side */
@media (max-width: 900px) {
  :root { --maxw: 90%; --gutter: 0; }

  .wrap {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-inline: 0;
    box-sizing: border-box;
  }

  .ahero { text-align: center; }

  .ahero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .ahero h1,
  .alead,
  .pill,
  .trust-row,
  .ahero-actions,
  .photo-stage,
  .section-head,
  .afh-showcase-head,
  .contact-card,
  .contact-lead-wrap,
  .contact-details-head {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .section-head .eyebrow,
  .contact-card .eyebrow,
  .afh-showcase-head .eyebrow,
  .ahero .pill {
    justify-content: center;
    margin-inline: auto;
  }

  .pill {
    display: inline-flex;
    width: auto;
    max-width: 100%;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-inline: auto;
  }

  .tb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 8px;
    gap: 8px;
  }

  .tb b,
  .tb small { white-space: normal; line-height: 1.25; }

  .ahero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ahero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .statcard { text-align: center; }
  .statcard .ico { margin-inline: auto; }
}

@media (max-width: 720px) {
  body { font-size: 16px; -webkit-text-size-adjust: 100%; }

  .nav .wrap { height: 72px; }
  .nav.scrolled .wrap { height: 64px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .brand { font-size: 17px; gap: 10px; min-width: 0; }
  .brand span { min-width: 0; }
  .brand small { font-size: 9px; letter-spacing: 0.12em; }

  .hero { padding-top: 96px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .hero-sub { font-size: 16px; margin-inline: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats {
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 36px;
    padding-top: 24px;
  }
  .hero-stats .stat {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }
  .hero-stats .stat .v { font-size: clamp(22px, 6.5vw, 32px); }
  .hero-stats .stat .k {
    font-size: 9px;
    letter-spacing: 0.08em;
    line-height: 1.25;
  }

  body.has-site-nav .ahero { padding-top: 12px; }
  .ahero { padding-bottom: 20px; text-align: center; }
  .ahero-copy { width: 100%; align-items: center; }
  .ahero h1 { font-size: clamp(36px, 10vw, 48px); line-height: 1.02; margin-top: 14px; }
  .pill {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 9px 14px 9px 12px;
    border-radius: 100px;
    text-align: center;
    line-height: 1.3;
    justify-content: center;
    margin-inline: auto;
  }
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    width: 100%;
    gap: 8px;
    margin-top: 20px;
    margin-inline: 0;
  }
  .tb {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 12px 8px;
    border-radius: 14px;
    min-width: 0;
    gap: 8px;
  }
  .tb b { font-size: 13px; line-height: 1.25; white-space: normal; }
  .tb small { font-size: 9px; line-height: 1.25; white-space: normal; color: #c4bab0; }
  .alead { margin-inline: auto; font-size: 16px; line-height: 1.58; max-width: none; text-align: center; }
  .ahero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    width: 100%;
  }
  .ahero-actions .btn {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    font-size: 15px;
    gap: 10px;
    justify-content: center;
    border-radius: 14px;
    white-space: nowrap;
  }
  .ahero-actions .btn svg { width: 18px; height: 18px; }
  .ahero-actions .btn-txt-long { display: inline; }
  .ahero-actions .btn-txt-short { display: none; }
  .photo-stage { max-width: none; width: 100%; margin: 0; padding-bottom: 0; }
  .photo-stage .float-card { display: none; }
  .ahero .photo-stage .video-card {
    width: 100%;
    max-width: 100%;
    position: relative;
    left: auto;
    transform: none;
    bottom: auto;
    margin-top: 14px;
  }
  .ahero .photo-stage .video-card:hover { transform: translateY(-6px); }
  .ahero-grid { gap: 24px; }

  .ahero .skills { margin-top: 24px; padding: 14px 0; }
  .skills { margin-top: 28px; padding: 14px 0; }
  .skills .it { font-size: 16px; gap: 10px; }
  .skills .it svg { width: 17px; height: 17px; }
  .statbar { margin-top: 24px; gap: 8px; width: 100%; }
  .statcard { padding: 16px 12px 14px; }
  .statcard .ico { width: 36px; height: 36px; margin-bottom: 12px; }
  .statcard .v { font-size: clamp(22px, 6.5vw, 30px); }
  .statcard .k { font-size: 9px; letter-spacing: 0.08em; line-height: 1.25; }

  .video-thumb .play {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    background: rgba(255, 106, 26, 0.72);
  }
  .video-thumb .play svg { width: 8px; height: 8px; margin-left: 1px; }

  .s { padding-block: clamp(32px, 8vw, 52px); }
  .s + .s { padding-top: clamp(16px, 3vw, 24px); }
  [data-block-type="work_grid"] .s.afh-showcase { padding-bottom: clamp(14px, 3vw, 22px); }
  [data-block-type="work_grid"] + [data-block-type="services"] .s { padding-top: clamp(10px, 2vw, 18px); }
  .section-head { text-align: center; max-width: none; width: 100%; }
  .section-head .eyebrow { justify-content: center; }
  .afh-showcase-head { max-width: none; width: 100%; text-align: center; }
  .section-head h2 { font-size: clamp(26px, 7.5vw, 36px); margin-top: 12px; line-height: 1.05; }
  .section-head p { font-size: 15px; line-height: 1.55; max-width: none; }
  .afh-showcase-head .eyebrow { justify-content: center; }
  .afh-showcase-head p { font-size: 15px; }
  .afh-showcase-grid { margin-top: 28px; gap: 18px; }
  .afh-showcase-footer { margin-top: 20px; }

  .work-grid { grid-template-columns: 1fr; gap: 20px; }
  .work-info { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
  .work-info h3 { font-size: 20px; }
  .work-tag { padding-top: 0; white-space: normal; }
  .scroll-hint { opacity: 1; transform: none; font-size: 9px; padding: 5px 9px; }

  .pillar { padding: 24px 20px; }
  .pillar h3 { font-size: 22px; margin-bottom: 12px; }
  .pillar > p { font-size: 14px; margin-bottom: 14px; }
  .pillar li { font-size: 14px; gap: 10px; }
  .pillar-item-ico { width: 30px; height: 30px; }
  .steps { grid-template-columns: 1fr; }

  .tcard { padding: 22px 20px 18px; margin-bottom: 16px; }
  .tcard blockquote { font-size: 15px; line-height: 1.55; }
  .tcard.big blockquote { font-size: 17px; }

  .about-body p { font-size: 16px; }
  .sig { font-size: 24px; }

  .contact { padding: clamp(32px, 7vw, 48px) 0; }
  .contact-card { padding: 20px 16px; text-align: center; }
  .contact-card h2 { font-size: clamp(28px, 8.5vw, 38px); }
  .contact-card .eyebrow { justify-content: center; }
  .contact-card p { font-size: 15px; margin-bottom: 20px; }
  .contact-lead-wrap { margin: 16px 0 0; max-width: none; text-align: center; }
  .contact-lead { font-size: 15px; line-height: 1.6; }
  .contact-actions--desktop { display: none; }
  .contact-form { margin-top: 24px; padding-top: 24px; max-width: 100%; }
  .contact-details { margin-top: 32px; padding-top: 28px; }
  .contact-details-grid {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    gap: 8px;
    width: 100%;
  }
  .contact-detail { min-height: 100px; padding: 12px 8px; }
  .contact-detail-lab { font-size: 8px; letter-spacing: 0.1em; }
  .contact-detail-val { font-size: 11px; }
  .contact-detail--long .contact-detail-val { font-size: 10px; line-height: 1.35; }
  .contact-form-row { grid-template-columns: 1fr; }

  .footer { padding: 36px 0; }
  .footer .wrap { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px 20px; }
  .footer-links a { font-size: 13px; }

  .modal-inner { width: calc(100vw - 32px); max-height: calc(100vh - 32px); margin: 16px; }
  .narr-row { flex-direction: column; gap: 6px; }
  .narr-row .lab { width: auto; }

  .trust { padding: 32px 0 20px; }
  .trust .wrap { padding: 20px 0 14px; }
  .trust-label { font-size: 10px; margin-bottom: 22px; }
  .trust {
    --logo-box-w: 148px;
    --logo-box-h: 76px;
    --logo-name-w: 148px;
  }
  .marquee-group { gap: 32px; padding-right: 32px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 8px; }
  .hero-stats .stat .v { font-size: clamp(20px, 6vw, 28px); }
  .hero-stats .stat .k { font-size: 8px; letter-spacing: 0.05em; }
  .ahero h1 { font-size: clamp(32px, 9.5vw, 40px); }
  .alead { font-size: 15px; }
  .ahero-actions .btn { font-size: 14px; min-height: 50px; }
  .pill { font-size: 9px; padding: 9px 10px; }
  .tb b { font-size: 13px; }
  .tab { padding: 9px 16px; font-size: 11px; flex-shrink: 0; }
  .logo-item { font-size: 18px; }
  .btn { font-size: 15px; padding: 14px 22px; min-height: 48px; }
  .contact-card h2 { font-size: clamp(26px, 8vw, 34px); }
  .contact-detail-val { font-size: 11px; }
  .contact-detail--long .contact-detail-val { font-size: 10px; }
  .site-nav-brand { font-size: clamp(18px, 5.2vw, 22px); }
}

/* touch devices: reduce hover lift, enable tap scroll on work cards */
@media (hover: none), (pointer: coarse) {
  .work-card:hover { transform: none; }
  .afh-card:hover { transform: none; }
  .contact-detail:hover { transform: none; }
  .pillar:hover { transform: none; }
  .statcard:hover { transform: none; }
  .work-card[data-scroll-preview] .reveal {
    display: flex;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .work-card[data-scroll-preview].is-scrolling .site-shot.loaded {
    transition: transform 8s linear;
  }
  .web-mock.work-card[data-scroll-preview] { cursor: default; }
  .magnetic { transform: none !important; }
}

body.menu-open { overflow: hidden; touch-action: none; }

/* safe areas for notched phones */
@supports (padding: max(0px)) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .nav { padding-top: env(safe-area-inset-top); }
  @media (max-width: 900px) {
    body { padding-left: 0; padding-right: 0; }
    .wrap {
      width: 90%;
      max-width: 90%;
      margin-left: auto;
      margin-right: auto;
      padding-inline: 0;
    }
    .site-nav .wrap {
      width: 90%;
      max-width: 90%;
      margin-left: auto;
      margin-right: auto;
      padding-inline: 0;
    }
  }
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  pointer-events: none;
}
.mobile-menu.open {
  display: block;
  pointer-events: auto;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding:
    max(76px, calc(64px + env(safe-area-inset-top)))
    max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    24px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 106, 26, 0.1), transparent 55%),
    linear-gradient(180deg, #1c1916 0%, #131110 100%);
  border-left: 1px solid var(--line-2);
  box-shadow: -28px 0 64px rgba(0, 0, 0, 0.45);
  transform: translateX(104%);
  transition: transform 0.42s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.mobile-menu-brand {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}
.mobile-menu-link.is-active {
  background: rgba(255, 106, 26, 0.08);
  border-color: rgba(255, 106, 26, 0.28);
}
.mobile-menu-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange);
  width: 22px;
  flex-shrink: 0;
}
.mobile-menu-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 4.8vw, 22px);
  letter-spacing: -0.02em;
  color: var(--muted);
  line-height: 1.2;
}
.mobile-menu-link.is-active .mobile-menu-text { color: var(--text); }
.mobile-menu-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.mobile-menu-cta {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 15px;
  border-radius: 14px;
}
.mobile-menu.open .mobile-menu-link {
  animation: mobileMenuIn 0.45s var(--ease) both;
}
.mobile-menu.open .mobile-menu-link:nth-child(1) { animation-delay: 0.04s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { animation-delay: 0.08s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { animation-delay: 0.12s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { animation-delay: 0.16s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { animation-delay: 0.2s; }
.mobile-menu.open .mobile-menu-link:nth-child(6) { animation-delay: 0.24s; }
.mobile-menu.open .mobile-menu-foot { animation: mobileMenuIn 0.45s var(--ease) 0.28s both; }
@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel,
  .mobile-menu-backdrop,
  .mobile-menu-link,
  .mobile-menu-foot { animation: none !important; transition: none !important; }
  .mobile-menu.open .mobile-menu-panel { transform: none; }
}

/* =================== AFH SHOWCASE + PAGES =================== */
.btn-sm { padding: 12px 20px; font-size: 14px; }
.site-nav-minimal { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(19,17,16,0.9); backdrop-filter: blur(10px); }
.site-nav-minimal-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.site-brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange-glow); }
.site-nav-links { display: flex; gap: 22px; }
.site-nav-links a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.site-nav-links a:hover, .site-nav-links a.is-active { color: var(--text); }
.site-footer-minimal { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 20px; }
.site-footer-minimal-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.site-footer-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s;
}
.site-footer-links a:hover { color: var(--text); }
.site-footer-copy { color: var(--muted-2); font-size: 13px; }
.afh-showcase-head p { color: var(--muted); margin-top: 16px; font-size: 18px; max-width: 620px; }
.afh-showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 34px); margin-top: 44px; }
.afh-showcase-footer { margin-top: 24px; text-align: center; }
.afh-view-all { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); padding: 12px 22px; border: 1px solid var(--line-2); border-radius: 100px; transition: all .35s var(--ease); }
.afh-view-all:hover { background: var(--orange); color: #1c1206; border-color: var(--orange); }
.afh-view-all svg { width: 16px; height: 16px; }
.afh-showcase-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; }
.afh-card { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden; transition: transform .45s var(--ease), border-color .35s; }
.afh-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.afh-browser { border-bottom: 1px solid var(--line); }
.afh-browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(0,0,0,0.22); border-bottom: 1px solid var(--line); }
.afh-dots { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.afh-browser-url {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  background: var(--surface-2);
  padding: 6px 16px;
  border-radius: 100px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.afh-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.afh-dot-red { background: #ff5f57; }
.afh-dot-yellow { background: #febc2e; }
.afh-dot-green { background: #28c840; }
.afh-browser-viewport { aspect-ratio: 16/10; position: relative; overflow: hidden; background: #111; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.afh-browser-viewport.work-shot { aspect-ratio: 16/10; }
.afh-browser-viewport.work-shot .ph { border: 0; background: #111; }
.afh-browser-viewport.work-shot .site-shot {
  position: absolute; top: 0; left: 0; width: 100%; min-width: 100%; height: auto; max-width: none;
  display: block; will-change: transform; pointer-events: none;
}
.afh-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 16px; }
.afh-card-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.afh-card-top h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--orange); }
.afh-card-top p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.afh-asset-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.afh-asset-thumb {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  overflow: hidden; padding: 6px; cursor: zoom-in; display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, transform .3s;
}
.afh-asset-thumb:hover { border-color: var(--orange); transform: translateY(-2px); }
.afh-asset-thumb img { width: 100%; height: 100%; object-fit: contain; }
.afh-card-preview-wrap {
  display: block; width: 100%; padding: 0; border: 0; background: var(--bg);
  aspect-ratio: 16/10; position: relative; cursor: zoom-in; overflow: hidden;
}
.afh-card-preview {
  width: 100%; height: 100%; object-fit: contain; object-position: center top;
  display: block; background: var(--bg);
}
.afh-browser-viewport.afh-card-preview-wrap .mockup-zoom-hint { opacity: 1; transform: none; }
.afh-card[data-scroll-preview] .scroll-hint { opacity: 1; transform: none; }
.afh-card-enlarge {
  position: absolute; top: 14px; right: 14px; z-index: 6;
  border: 0; padding: 7px 11px; margin: 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); border-radius: 100px;
  background: rgba(19,17,16,0.72); border: 1px solid var(--line-2);
  cursor: zoom-in; pointer-events: auto;
}
.afh-card-enlarge::after { content: "Enlarge"; }
.afh-browser-viewport.work-shot .scroll-hint { z-index: 5; pointer-events: none; }
.afh-card-link {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 13px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 106, 26, 0.35);
  background: rgba(255, 106, 26, 0.08);
  color: var(--text); font-weight: 600; font-size: 14px;
  transition: all .35s var(--ease);
}
.afh-card-link svg { width: 16px; height: 16px; color: var(--orange); transition: color .35s var(--ease); }
.afh-card-link:hover { border-color: var(--orange); background: var(--orange); color: #1c1206; }
.afh-card-link:hover svg { color: #1c1206; }
body.work-page { min-height: 100vh; }
.work-index { padding: clamp(36px, 5vw, 72px) 0 0; }
.work-index-hero { max-width: 760px; margin-bottom: 48px; }
.work-index-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.03em; line-height: 1.02; }
.work-index-hero p { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 62ch; line-height: 1.65; }
.work-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 28px); padding-bottom: clamp(48px, 6vw, 80px); }
.work-index-empty { grid-column: 1 / -1; text-align: center; padding: 48px 0; }
.work-detail { padding: clamp(40px, 5vw, 64px) 0 0; }
.work-detail-hero {
  max-width: 100%;
  margin-bottom: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.work-detail-logo {
  width: 52px; height: 52px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 8px; margin-bottom: 28px; overflow: hidden;
}
.work-detail-logo img { width: 100%; height: 100%; object-fit: contain; }
.work-detail-hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(42px, 5.8vw, 72px); letter-spacing: -0.03em; line-height: 1.02;
}
.work-detail-lead {
  color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); line-height: 1.7;
  max-width: 58ch; margin-top: 20px;
}
.work-detail-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.work-detail-meta {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px);
  margin-top: 32px; padding: 0; list-style: none;
}
.work-detail-meta li {
  font-size: 13px; color: var(--text); line-height: 1.4;
}
.work-detail-meta li span {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 5px;
}
.work-detail-block {
  margin-bottom: 0;
  padding: clamp(44px, 5.5vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
.work-detail-block-head {
  display: grid; grid-template-columns: minmax(180px, 0.75fr) 1fr;
  gap: clamp(24px, 5vw, 64px); align-items: start; margin-bottom: clamp(28px, 3.5vw, 40px);
}
.work-detail-block-head h2, .work-detail-included h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.02em; line-height: 1.1;
}
.work-detail-block-head p {
  color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 52ch;
}
.work-detail-media { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.work-detail-media--mockup { gap: clamp(18px, 2.4vw, 28px); }
.mockup-layout--two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mockup-layout--full { grid-template-columns: 1fr; }
.detail-website-scroll { width: 100%; }
.detail-website-scroll .detail-website-viewport {
  aspect-ratio: 16 / 8.5; min-height: clamp(340px, 42vw, 560px); background: #0d0d0d;
}
.detail-website-scroll[data-scroll-preview] { cursor: default; }
.detail-website-scroll[data-scroll-preview] .scroll-hint { opacity: 1; transform: none; }
.detail-website-lightbox {
  position: absolute; inset: 0; z-index: 4; border: 0; padding: 0; margin: 0;
  background: transparent; cursor: zoom-in; opacity: 0; pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .detail-website-viewport:hover .detail-website-lightbox { opacity: 1; pointer-events: auto; }
}
.mockup-frame {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; text-align: left;
  transition: opacity .35s var(--ease);
}
.mockup-frame:hover { opacity: 0.92; }
.mockup-logo-card {
  background: #fff; border-radius: 16px; padding: clamp(28px, 4vw, 48px);
  min-height: clamp(220px, 28vw, 320px);
  display: flex; align-items: center; justify-content: center;
}
.mockup-logo-card img {
  max-height: clamp(140px, 18vw, 220px); width: auto; max-width: 100%; object-fit: contain;
}
.mockup-clean {
  position: relative; width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #111;
}
.mockup-clean img { width: 100%; height: auto; display: block; }
.mockup-clean--business_card,
.mockup-clean--postcard {
  aspect-ratio: 1.75 / 1; display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 1.5vw, 16px); background: #0f0f0f;
}
.mockup-clean--business_card img,
.mockup-clean--postcard img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.mockup-clean--brochure img,
.mockup-clean--flyer img { max-height: none; }
.mockup-clean--brochure { border: 0; background: transparent; }
.mockup-clean--flyer {
  max-width: 420px; margin: 0 auto; border: 0; background: transparent;
}
.mockup-clean--social { border: 0; background: transparent; border-radius: 8px; }
.mockup-clean--social img { width: 100%; }
.mockup-clean .mockup-zoom-hint { right: 14px; bottom: 14px; }
.mockup-clean:hover .mockup-zoom-hint { opacity: 1; transform: none; }
.mockup-stage {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  padding: clamp(14px, 1.8vw, 20px); overflow: hidden; height: 100%;
}
.mockup-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 260px at 80% 0%, rgba(255,106,26,0.09), transparent 65%);
}
.mockup-stage--logo { padding: clamp(16px, 2vw, 22px); min-height: auto; display: flex; align-items: center; justify-content: center; }
.mockup-media {
  position: relative; z-index: 1; width: 100%; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff;
  box-shadow: 0 16px 36px -24px rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.mockup-media img { width: 100%; height: auto; max-height: 240px; object-fit: contain; display: block; }
.mockup-media--logo { background: var(--bg); min-height: auto; padding: 16px; }
.mockup-media--logo img { max-height: 180px; width: auto; max-width: 100%; margin: 0 auto; }
.mockup-media--social { background: var(--bg-2); padding: 10px; }
.mockup-media--social img { max-height: 240px; }
.mockup-pair { width: 100%; }
.mockup-pair-stage {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  padding: clamp(22px, 3vw, 36px);
}
.mockup-pair-item {
  padding: 0; border: 0; background: transparent; cursor: zoom-in; text-align: left;
  display: flex; flex-direction: column; gap: 10px;
}
.mockup-side-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
}
.mockup-pair-frame {
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  box-shadow: 0 20px 44px -28px rgba(0,0,0,0.75);
  padding: clamp(12px, 1.6vw, 18px); min-height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.mockup-pair-frame img { width: 100%; height: auto; max-height: min(42vh, 460px); object-fit: contain; display: block; }
.mockup-pair--business_card .mockup-pair-frame { min-height: 180px; }
.mockup-pair--postcard .mockup-pair-frame { min-height: 200px; }
.mockup-pair--brochure .mockup-pair-frame,
.mockup-pair--flyer .mockup-pair-frame { min-height: min(46vh, 500px); }
.mockup-pair-stage .mockup-zoom-hint { right: 18px; bottom: 18px; }
.mockup-pair-stage:hover .mockup-zoom-hint { opacity: 1; transform: none; }
.mockup-social-bar {
  display: flex; align-items: center; gap: 7px; margin-bottom: 14px; position: relative; z-index: 1;
}
.mockup-social-label {
  margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-2);
}
.afh-browser--mockup { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--surface); }
.afh-browser--detail { width: 100%; }
.afh-browser--mockup .mockup-viewport { position: relative; min-height: auto; background: var(--bg); }
.afh-browser--mockup .mockup-viewport--contain { display: flex; align-items: flex-start; justify-content: center; padding: 12px 14px; }
.afh-browser--mockup .mockup-viewport img { width: 100%; height: auto; max-height: 320px; object-fit: contain; object-position: top center; display: block; }
.mockup-zoom-hint {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); padding: 7px 11px; border-radius: 100px;
  background: rgba(19,17,16,0.72); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px); transition: all .35s var(--ease); pointer-events: none;
}
.mockup-frame:hover .mockup-zoom-hint,
.mockup-pair-stage:hover .mockup-zoom-hint,
.afh-card-preview-wrap:hover .mockup-zoom-hint { opacity: 1; transform: none; }
.work-detail-empty { padding: 40px 0; text-align: center; }
.lightbox-nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(19,17,16,0.82); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-nav[hidden] { display: none !important; }
.work-detail-media.is-website { grid-template-columns: 1fr; }
.afh-browser--large .afh-browser-viewport { aspect-ratio: 16/9; }
.work-detail-shot { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.work-detail-shot img { width: 100%; height: auto; display: block; }
.work-detail-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); padding: 0; cursor: zoom-in; text-align: left; transition: transform .4s var(--ease), border-color .35s; }
.work-detail-item:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work-detail-item img { width: 100%; height: auto; display: block; background: var(--bg-2); }
.work-detail-included {
  padding: clamp(44px, 5.5vw, 72px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 0;
}
.work-detail-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.work-detail-list li {
  position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.55;
}
.work-detail-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
}
.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 40px); }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(8,7,6,0.92); cursor: zoom-out; }
.lightbox-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(19,17,16,0.8); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-figure { position: relative; z-index: 2; max-width: min(1100px, 96vw); max-height: 90vh; margin: 0; }
.lightbox-figure img { max-width: 100%; max-height: calc(90vh - 48px); width: auto; height: auto; display: block; border-radius: 12px; border: 1px solid var(--line-2); }
.lightbox-figure figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 1024px) {
  .work-index-grid { grid-template-columns: repeat(2, 1fr); }
  .work-detail-block-head { grid-template-columns: 1fr; gap: 16px; }
  .mockup-pair-stage { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-nav .wrap {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .site-nav-inner {
    min-height: 64px;
    padding: 8px 0;
    gap: 14px;
  }
  .site-nav-links,
  .site-nav-cta { display: none; }
  .site-nav-brand {
    flex: 1;
    min-width: 0;
    font-size: clamp(21px, 5.8vw, 26px);
    line-height: 1.05;
  }
  .site-nav-brand small {
    font-size: 9px;
    letter-spacing: 0.13em;
    margin-top: 3px;
  }
  .site-nav-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }
  .site-nav-actions {
    flex-shrink: 0;
    margin-inline-end: 2px;
  }
  .site-nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 768px) {
  .afh-showcase-grid, .work-index-grid { grid-template-columns: 1fr; }
  .mockup-layout--two-col { grid-template-columns: 1fr; }
}
