/* ============================================================
   KIRO — Digital Agency (replica of lively-colors-035574.framer.app)
   ============================================================ */

@import url('/assets/fonts/fonts.css');

:root, [data-theme="dark"] {
  --bg:        #0f0e0e;
  --bg-2:      #0a0a0a;
  --surface:   #161515;
  --surface-2: #1c1b1b;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.06);
  --text:      #f1f1f1;
  --text-dim:  #a5a3a3;
  --text-mute: #6f6d6d;
  --accent:    #1b93f2;
  --accent-2:  #1276d0;
  --olive:     #465907;
  --navy:      #293052;
  --cream:     #fffbda;
  /* theme-aware helpers */
  --on-accent:  #ffffff;   /* text/icon sitting on accent or on --text chips */
  --on-invert:  #111111;   /* text/icon on a light (var(--text)) surface */
  --elevate:    rgba(255,255,255,.03);  /* subtle card top-highlight */
  --elevate-2:  rgba(255,255,255,.06);  /* hover wash */
  --chip-bg:    rgba(0,0,0,.4);         /* overlay chips on imagery */
  --chip-line:  rgba(255,255,255,.14);
  --nav-bg:     rgba(15,14,14,.72);     /* scrolled nav */
  --watermark:  rgba(255,255,255,.03);
  --radius:    18px;
  --radius-lg: 26px;
  --maxw:      1280px;
  --ease:      cubic-bezier(.22,1,.36,1);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:      'Fragment Mono', ui-monospace, monospace;
}

/* ---------- LIGHT THEME ---------- */
[data-theme="light"] {
  --bg:        #f6f5f2;
  --bg-2:      #efeee9;
  --surface:   #ffffff;
  --surface-2: #f2f1ec;
  --line:      rgba(15,14,14,.12);
  --line-2:    rgba(15,14,14,.07);
  --text:      #15130f;
  --text-dim:  #57534c;
  --text-mute: #8a857c;
  --accent:    #1580da;   /* slightly deeper blue reads better on light */
  --accent-2:  #0f66b8;
  --olive:     #4c5f0a;
  --navy:      #293052;
  --cream:     #6b5b00;
  --on-accent:  #ffffff;
  --on-invert:  #ffffff;                 /* on dark --text chips, text is white */
  --elevate:    rgba(15,14,14,.02);
  --elevate-2:  rgba(15,14,14,.05);
  --chip-bg:    rgba(255,255,255,.7);
  --chip-line:  rgba(15,14,14,.14);
  --nav-bg:     rgba(246,245,242,.8);
  --watermark:  rgba(15,14,14,.04);
}
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.mono { font-family: var(--mono); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: .98;
}
.section-head .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}
.tagline-line {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 18px;
}
.tagline-line span { color: var(--text-dim); letter-spacing: .04em; }

/* pill / tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 14px;
  background: var(--elevate);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 100px;
  transition: transform .4s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-light { background: var(--text); color: var(--on-invert); }
.btn-light:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--elevate-2); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

/* ============================================================
   NAV
   ============================================================ */
/* Thin decorative accent bar pinned to the very top */
.topbar-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 150;
  background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent) 45%, #35c6ff 100%);
}

.nav {
  position: fixed;
  top: 4px; left: 0; right: 0;   /* sit just below the decorative strip */
  z-index: 100;
  padding: 18px 0;
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; white-space: nowrap; }
.brand-logo { height: 46px; width: auto; display: block; transition: height .4s var(--ease); }
.nav.scrolled .brand-logo { height: 40px; }
/* Show the logo variant that matches the active theme */
.brand-logo--light { display: none; }
[data-theme="light"] .brand-logo--dark { display: none; }
[data-theme="light"] .brand-logo--light { display: block; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 9px 16px; border-radius: 100px; font-size: 15px; color: var(--text-dim);
  transition: color .3s, background .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--elevate-2); }

/* Home page: before scroll the nav sits over the dark 3D hero, so keep its
   text/icons light in BOTH themes (fixes invisible dark text in light mode). */
.home-page .nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,.7); }
.home-page .nav:not(.scrolled) .nav-links a:hover,
.home-page .nav:not(.scrolled) .nav-links a.active { color: #fff; background: rgba(255,255,255,.14); }
.home-page .nav:not(.scrolled) .nav-lead { color: rgba(255,255,255,.8); }
.home-page .nav:not(.scrolled) .nav-lead .role { color: rgba(255,255,255,.5); }
.home-page .nav:not(.scrolled) .theme-toggle,
.home-page .nav:not(.scrolled) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.28); }
.home-page .nav:not(.scrolled) .nav-toggle span,
.home-page .nav:not(.scrolled) .nav-toggle span::before,
.home-page .nav:not(.scrolled) .nav-toggle span::after { background: #fff; }
/* Use the light-on-dark logo variant over the dark hero, even in light theme */
.home-page .nav:not(.scrolled) .brand-logo--dark { display: block; }
.home-page .nav:not(.scrolled) .brand-logo--light { display: none; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-lead {
  display: flex; align-items: center; gap: 10px; padding-right: 4px;
  font-size: 13px; color: var(--text-dim);
}
.nav-lead img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.nav-lead .role { font-family: var(--mono); font-size: 10px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.lang-switch a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 100px; color: var(--text-mute);
  transition: background .25s, color .25s;
}
.lang-switch a.on { background: var(--text); color: var(--on-invert); }
.lang-switch a:not(.on):hover { color: var(--text); }
.home-page .nav:not(.scrolled) .lang-switch { border-color: rgba(255,255,255,.28); }
.home-page .nav:not(.scrolled) .lang-switch a { color: rgba(255,255,255,.7); }
.home-page .nav:not(.scrolled) .lang-switch a.on { background: #fff; color: #111; }

.mobile-menu__lang { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.mobile-menu__lang a {
  font-size: 14px; color: rgba(255,255,255,.7); padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 100px; transition: background .25s, color .25s;
}
.mobile-menu__lang a.on { background: #fff; color: var(--accent); border-color: #fff; }

/* Theme toggle inside the mobile menu panel */
.mobile-menu__theme {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 16px; padding: 12px 20px; align-self: center;
  color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 100px;
  font-size: 14px; transition: background .25s;
}
.mobile-menu__theme:hover { background: rgba(255,255,255,.14); }
.mobile-menu__theme .icon-sun, .mobile-menu__theme .icon-moon,
.mobile-menu__theme .lbl-light, .mobile-menu__theme .lbl-dark { display: none; }
/* In dark mode: offer switching to light. In light mode: offer dark. */
[data-theme="dark"] .mobile-menu__theme .icon-sun,
[data-theme="dark"] .mobile-menu__theme .lbl-light { display: inline-block; }
[data-theme="light"] .mobile-menu__theme .icon-moon,
[data-theme="light"] .mobile-menu__theme .lbl-dark { display: inline-block; }

/* Theme toggle button */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, transform .3s;
}
.theme-toggle:hover { background: var(--elevate-2); transform: translateY(-1px); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { display: none; }
/* In dark mode show the sun (click -> go light); in light mode show the moon. */
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---- Mobile full-screen menu panel ---- */
.mobile-menu {
  position: fixed;
  top: 12px; left: 12px; right: 12px;
  z-index: 200;
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  /* hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(.98);
  transform-origin: top center;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
  pointer-events: none;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
body.menu-open { overflow: hidden; }

.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
/* Brand logo inside the orange/accent panel: force the light-on-dark variant for contrast */
.mobile-menu__head .brand-logo--dark { display: block; }
.mobile-menu__head .brand-logo--light { display: none; }
.mobile-menu__head .brand-logo { height: 46px; }
.mobile-menu__close {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: #fff; border-radius: 50%; transition: background .25s;
}
.mobile-menu__close:hover { background: rgba(255,255,255,.15); }

.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0 26px; }
.mobile-menu__links a {
  color: #fff; font-size: 22px; font-weight: 500; letter-spacing: -.01em;
  padding: 12px 20px; border-radius: 100px; transition: background .25s, opacity .25s;
}
.mobile-menu__links a:hover, .mobile-menu__links a.active { background: rgba(255,255,255,.14); }

.mobile-menu__cta {
  display: flex; align-items: center; justify-content: space-between;
  background: #0a0a0a; color: #fff;
  padding: 8px 8px 8px 26px; border-radius: 100px;
  font-size: 17px; font-weight: 500; align-self: center; width: min(320px, 100%);
  transition: transform .3s var(--ease);
}
.mobile-menu__cta:hover { transform: translateY(-2px); }
.mobile-menu__cta .ic {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #0a0a0a;
  display: grid; place-items: center; font-size: 20px; margin-left: 16px; flex: none;
  transition: transform .3s var(--ease);
}
.mobile-menu__cta:hover .ic { transform: rotate(-45deg); }

/* Show the panel only on mobile widths */
@media (min-width: 721px) { .mobile-menu { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 168px 0 60px; position: relative; }

/* Hero with full-bleed background image */
.hero--bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 168px 0 90px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--bg .container { position: relative; z-index: 2; width: 100%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,14,14,.55) 0%, rgba(15,14,14,.35) 40%, rgba(15,14,14,.88) 100%),
    linear-gradient(90deg, rgba(15,14,14,.6) 0%, rgba(15,14,14,.15) 60%);
}

/* Hero hosting the interactive 3D scene */
.hero--scene {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 168px 0 70px;
  background: #030306;
  overflow: hidden;
}
.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
  pointer-events: none;   /* passive backdrop — let mouse pass through (right-click, select text) */
}
.hero--scene .hero-overlay {
  background: linear-gradient(180deg,
    rgba(3,3,6,0) 0%, rgba(3,3,6,0) 42%,
    rgba(3,3,6,.55) 72%, rgba(3,3,6,.92) 100%);
  pointer-events: none;
}
/* Content sits above the scene and is fully interactive (selectable text, right-click). */
.hero--scene .container { position: relative; z-index: 2; width: 100%; }
/* Hero copy sits over the dark 3D scene in BOTH themes — keep it light. */
.hero--scene h1 { color: #f4f4f4; }
.hero--scene .hero-lede { color: #eaeaea; }
.hero--scene .hero-tags { color: #d6d6d6; }
.hero--scene .hero-badge { color: rgba(255,255,255,.5); }
.hero--scene .hero-rating p { color: #d6d6d6; }
.hero--scene .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.hero--scene .btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-bottom: 42px; flex-wrap: wrap; }
.hero-badge { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--text-mute); }
.hero h1 {
  font-size: clamp(34px, 6.5vw, 104px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--accent); }
.hero-tags { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 34px 0; font-family: var(--mono); font-size: 14px; letter-spacing: .05em; color: var(--text-dim); }
.hero-tags .plus { color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; margin-top: 46px; align-items: end; }
.hero-lede { font-size: clamp(18px, 2vw, 24px); line-height: 1.4; color: var(--text); max-width: 620px; letter-spacing: -.01em; }
.hero-lede .lede-mark { color: var(--accent); }
.hero-rating { display: flex; flex-direction: column; gap: 12px; }

/* Hero "Let's Talk" CTA — mobile only; desktop already has it in the header */
.hero-cta-mobile { display: none; }
.stars { display: flex; gap: 4px; color: var(--accent); font-size: 18px; }
.hero-rating .stars { color: #ff642b; }  /* rating stars keep the orange accent */
.hero-rating p { font-size: 14px; color: var(--text-dim); }
.hero-media { margin-top: 60px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; position: relative; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* marquee brand row */
.brand-strip { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 26px 0; overflow: hidden; }
.marquee { display: flex; gap: 56px; width: max-content; align-items: center; animation: scroll-x 34s linear infinite; }
.brand-item { display: inline-flex; align-items: center; gap: 12px; opacity: .6; transition: opacity .3s; }
.brand-item:hover { opacity: 1; }
/* Monochrome: strip logo colour, tint to the text colour */
.marquee img { height: 30px; width: auto; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
/* Light mode: show the logos in their original colours (silhouette reads poorly on a light bg) */
[data-theme="light"] .marquee img { filter: none; }
.brand-name { font-family: var(--mono); font-size: 16px; letter-spacing: -.01em; color: var(--text); white-space: nowrap; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; background: linear-gradient(180deg, var(--elevate), transparent); }
.stat .eyebrow { margin-bottom: 26px; }
.stat .num { font-size: clamp(52px, 7vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1; display: flex; align-items: baseline; }
.stat .num .suffix { color: var(--accent); font-size: .5em; margin-left: 4px; }
.stat .label { margin-top: 12px; color: var(--text-dim); font-size: 15px; }

/* ============================================================
   WORK
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--line-2); background: var(--surface);
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover img { transform: scale(1.05); }
.work-card--static { cursor: default; }  /* display-only card (keeps hover zoom) */
.work-card .overlay {
  position: absolute; inset: 0; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, transparent 40%, rgba(0,0,0,.55) 100%);
}
.work-card .tags { display: flex; gap: 8px; }
.work-card .tag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; padding: 6px 11px; border-radius: 100px; background: rgba(0,0,0,.4); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.work-card .foot { display: flex; align-items: center; justify-content: space-between; }
.work-card .foot h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.work-card .foot .go { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; transition: transform .4s var(--ease); }
.work-card:hover .foot .go { transform: rotate(-45deg); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { display: grid; gap: 16px; }
.service {
  display: grid; grid-template-columns: 80px 1.4fr 1fr auto; gap: 30px; align-items: center;
  padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: background .4s, border-color .4s; position: relative; overflow: hidden;
}
.service:hover { background: var(--surface); border-color: var(--line); }
.service .idx { font-family: var(--mono); font-size: 13px; color: var(--text-mute); }
.service h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -.03em; }
.service p { color: var(--text-dim); font-size: 15px; line-height: 1.5; max-width: 460px; }
.service .stags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.service .thumb { width: 0; height: 90px; border-radius: 12px; overflow: hidden; opacity: 0; transition: width .5s var(--ease), opacity .5s; }
.service:hover .thumb { width: 130px; opacity: 1; }
.service .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-marquee-band { overflow: hidden; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 20px 0; margin-bottom: 54px; }
.tst-band-track { display: flex; gap: 34px; width: max-content; animation: scroll-x 30s linear infinite; font-family: var(--mono); font-size: 22px; letter-spacing: .08em; color: var(--text-mute); text-transform: uppercase; }
/* Reviews keep the original orange accent (not the site-wide blue) */
.tst-band-track span.dot { color: #ff642b; }
.tst-card .rate .stars { color: #ff642b; }
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: linear-gradient(180deg, var(--elevate), transparent); display: flex; flex-direction: column; gap: 22px; }
.tst-card .rate { display: flex; align-items: center; gap: 10px; }
.tst-card .rate .score { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.tst-card .rate .stars { font-size: 15px; }
.tst-card .quote { font-size: 17px; line-height: 1.5; color: var(--text); flex: 1; }
.tst-card .who { display: flex; align-items: center; gap: 12px; }
.tst-card .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tst-card .who .n { font-size: 15px; font-weight: 500; }
.tst-card .who .r { font-size: 12px; color: var(--text-mute); font-family: var(--mono); }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-cta {
  grid-column: span 2; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; background: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
}
.team-cta h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -.03em; }
.team-cta p { opacity: .85; font-size: 15px; }
.team-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 3/4; border: 1px solid var(--line-2); }
.team-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .8s var(--ease); }
.team-card:hover img { filter: grayscale(0); transform: scale(1.04); }
.team-card .info { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(10,10,10,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); }
.team-card .info .n { font-size: 16px; font-weight: 500; color: #fff; }
.team-card .info .r { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.p-step { display: grid; grid-template-columns: 90px 1fr auto; gap: 30px; align-items: start; padding: 34px 8px; border-bottom: 1px solid var(--line); transition: background .4s; }
.p-step:hover { background: var(--surface); }
.p-step .idx { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.p-step h3 { font-size: clamp(24px, 3vw, 38px); font-weight: 500; letter-spacing: -.03em; }
.p-step .desc { color: var(--text-dim); font-size: 15px; line-height: 1.5; max-width: 520px; margin-top: 14px; }
.p-step .timeline { font-family: var(--mono); font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.toggle { display: inline-flex; padding: 5px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); }
.toggle button { padding: 10px 22px; border-radius: 100px; font-size: 14px; color: var(--text-dim); transition: background .3s, color .3s; }
.toggle button.on { background: var(--text); color: var(--on-invert); }
.price-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; background: linear-gradient(180deg, var(--elevate), transparent); }
.price-card .badge { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--text-mute); }
.price-card .amount { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 8px; }
.price-card .amount .val { font-size: 76px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.price-card .amount .per { color: var(--text-mute); font-size: 16px; }
.price-card .desc { color: var(--text-dim); font-size: 15px; line-height: 1.5; margin-bottom: 28px; }
.price-card .incl-title { font-size: 13px; color: var(--text-mute); font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.price-card ul { display: grid; gap: 12px; margin-bottom: 28px; }
.price-card li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.price-card li .tick { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 11px; flex: none; }
.price-card .trial { text-align: center; font-size: 13px; color: var(--text-mute); margin-top: 14px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; text-align: left; font-size: clamp(17px, 2vw, 22px); font-weight: 500; letter-spacing: -.02em; }
.faq-q .ic { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .4s, background .3s; font-size: 16px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 4px 26px; color: var(--text-dim); font-size: 15px; line-height: 1.6; max-width: 620px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 500; letter-spacing: -.03em; line-height: .98; margin-bottom: 22px; }
.contact-info p.sub { color: var(--text-dim); font-size: 17px; max-width: 440px; margin-bottom: 40px; }
.contact-line { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-line .k { font-family: var(--mono); font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.contact-line .v { font-size: clamp(20px, 3vw, 30px); font-weight: 500; letter-spacing: -.02em; margin-top: 6px; }
.contact-form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; background: var(--surface); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--text-mute); font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px; color: var(--text); font-size: 15px; font-family: inherit; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--olive); margin-bottom: 16px; }
.flash-ok { background: rgba(70,89,7,.2); border: 1px solid var(--olive); color: #c3e06a; padding: 14px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; padding-top: 90px; border-top: 1px solid var(--line-2); overflow: hidden; }
.footer-cta { text-align: center; margin-bottom: 70px; }
.footer-cta h2 { font-size: clamp(44px, 9vw, 150px); font-weight: 500; letter-spacing: -.04em; line-height: .92; text-transform: none; }
.footer-cta h2 .accent { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding: 50px 0; border-top: 1px solid var(--line); }
.footer-brand .logo { font-size: 52px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; white-space: nowrap; }
.footer-brand .logo .dot { color: var(--accent); }
.footer-logo { margin-bottom: 20px; }
.footer-logo .brand-logo { height: 96px; width: auto; }
.footer-fullname { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--text-mute); text-transform: uppercase; margin-bottom: 18px; }
.footer-tagline { font-size: 14px; line-height: 1.5; color: var(--text-dim); margin-bottom: 26px; max-width: 300px; }
.footer-tagline span { color: var(--text-mute); }
.footer-brand .contact-line { border-color: var(--line-2); }
.footer-col h4 { font-family: var(--mono); font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.footer-col a { display: block; padding: 8px 0; color: var(--text-dim); font-size: 15px; transition: color .3s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-mute); flex-wrap: wrap; }
.footer-watermark { font-size: clamp(46px, 15vw, 230px); font-weight: 800; letter-spacing: -.04em; line-height: .8; text-align: center; color: var(--watermark); user-select: none; padding-bottom: 20px; white-space: nowrap; }

/* ============================================================
   PROJECT DETAIL / PAGE HEADERS
   ============================================================ */
.page-hero { padding: 190px 0 60px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(46px, 8vw, 120px); font-weight: 500; letter-spacing: -.045em; line-height: .92; text-transform: uppercase; }
.page-hero p.lede { color: var(--text-dim); font-size: clamp(17px, 2vw, 22px); max-width: 640px; margin-top: 26px; }
.pj-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 50px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.pj-meta .k { font-family: var(--mono); font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.pj-meta .v { font-size: 17px; margin-top: 8px; }
.pj-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/8; margin-bottom: 30px; }
.pj-cover img { width: 100%; height: 100%; object-fit: cover; }
.pj-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pj-gallery img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-2); }
.pj-gallery img:first-child { grid-column: span 2; aspect-ratio: 16/7; object-fit: cover; }
.pj-body { max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--text-dim); margin: 50px 0; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .stats, .tst-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-cta { grid-column: span 2; }
  .faq-wrap, .pricing-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pj-meta { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .section { padding: 74px 0; }
  .nav-links, .nav-lead { display: none; }
  .nav-right .btn-light { display: none; }  /* hide "Let's Talk" in the header — the hero shows it instead (.hero-cta-mobile) */

  /* "Let's Talk" moves into the hero, above the rating, so the CTA is visible without opening the menu */
  .hero-cta-mobile {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--text); color: var(--on-invert);
    padding: 7px 7px 7px 24px; border-radius: 100px;
    font-size: 16px; font-weight: 500; width: min(320px, 100%);
    margin: 4px 0 22px; transition: transform .3s var(--ease);
  }
  .hero-cta-mobile .ic {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--bg); color: var(--text);
    display: grid; place-items: center; font-size: 18px; margin-left: 14px; flex: none;
    transition: transform .3s var(--ease);
  }
  .hero-cta-mobile:active { transform: translateY(1px); }
  .hero-cta-mobile:hover .ic { transform: rotate(-45deg); }
  /* Hero sits on the dark 3D scene — force the light-on-dark pill regardless of theme */
  .home-page .hero--scene .hero-cta-mobile { background: #fff; color: #0a0a0a; }
  .home-page .hero--scene .hero-cta-mobile .ic { background: #0a0a0a; color: #fff; }
  .nav-right .theme-toggle,
  .nav-right .lang-switch { display: none; }  /* move theme + language into the menu panel on mobile */
  .nav-toggle { display: flex; }
  .work-grid, .service { grid-template-columns: 1fr; }
  .service { gap: 14px; }
  .service .stags { justify-content: flex-start; }
  .service .thumb { display: none; }
  .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .p-step { grid-template-columns: 1fr; gap: 8px; }
  .pj-meta, .pj-gallery { grid-template-columns: 1fr; }
  .pj-gallery img:first-child { grid-column: auto; }
  .hero-tags { font-size: 12px; }
}

/* ---- Small phones (≤400px, incl. 320px) ---- */
@media (max-width: 400px) {
  /* Guard against any horizontal overflow */
  html, body { max-width: 100%; overflow-x: hidden; }
  .container { padding: 0 16px; }

  /* Long words / URLs / addresses must wrap instead of overflowing */
  h1, h2, h3, p, a, span, li, .contact-line .v, .footer-tagline { overflow-wrap: anywhere; word-break: break-word; }

  /* Hero */
  .hero--scene { padding: 130px 0 56px; min-height: 92vh; }
  .hero h1 { font-size: clamp(26px, 9.5vw, 40px); letter-spacing: -.03em; }
  .hero-top { gap: 10px; margin-bottom: 30px; }
  .hero-badge { font-size: 10px; letter-spacing: .1em; }
  .hero-top .hero-badge:last-child { display: none; }  /* drop the duplicate brand badge on tiny screens */
  .hero-tags { gap: 6px 8px; font-size: 11px; margin: 22px 0; }
  .hero-tags .plus { margin: 0; }
  .hero-lede { font-size: 15px; max-width: 100%; }
  .hero-rating p { font-size: 13px; }

  /* Section headings */
  .section-head h2 { font-size: clamp(30px, 10vw, 46px); }
  .section-head { margin-bottom: 32px; }
  .section-head .meta { font-size: 11px; }
  .page-hero { padding: 130px 0 44px; }
  .page-hero h1 { font-size: clamp(34px, 13vw, 56px); }
  .page-hero p.lede { font-size: 16px; }

  /* Stats / cards */
  .stat { padding: 28px 22px; }
  .stat .num { font-size: clamp(44px, 15vw, 60px); }

  /* Work / services */
  .work-card .foot h3 { font-size: 18px; }
  .service { padding: 24px 20px; }
  .service h3 { font-size: clamp(24px, 8vw, 30px); }

  /* Testimonials */
  .tst-card { padding: 26px 22px; }
  .tst-band-track { font-size: 18px; gap: 22px; }

  /* Process */
  .p-step { padding: 26px 4px; }
  .p-step h3 { font-size: clamp(22px, 7vw, 28px); }

  /* Pricing */
  .price-card { padding: 30px 24px; }
  .price-card .amount .val { font-size: 58px; }

  /* Contact */
  .contact-info h2 { font-size: clamp(40px, 15vw, 60px); }
  .contact-line .v { font-size: 18px; }
  .contact-form { padding: 26px 20px; }

  /* FAQ */
  .faq-q { font-size: 16px; }

  /* Footer */
  .footer-cta h2 { font-size: clamp(40px, 15vw, 70px); }
  .footer-logo .brand-logo { height: 78px; }
  .footer-watermark { font-size: clamp(40px, 22vw, 90px); }

  /* Mobile menu panel: give room at very small widths */
  .mobile-menu { top: 8px; left: 8px; right: 8px; padding: 18px 16px 22px; }
  .mobile-menu__links a { font-size: 20px; }
  .mobile-menu__cta { width: 100%; font-size: 16px; padding-left: 20px; }

  /* Brand logo in nav a touch smaller so it never crowds the burger */
  .brand-logo { height: 40px; }
}
