/* Vishal Sood — personal portfolio
   Light, quiet, conversion-focused. One accent. */

:root {
  --bg: #f3f2ee;
  --paper: #fffcf8;
  --ink: #152028;
  --body: #2c3a44;
  --muted: #5c6c78;
  --line: #e3e0d8;
  --line-strong: #d3cfc4;
  --accent: #0f5c4c;
  --accent-deep: #0b473b;
  --accent-soft: #e6f2ee;
  --dark: #101816;
  --dark-2: #1a2622;
  --on-dark: #f4f1ea;
  --on-dark-muted: #c5cdc8;
  --danger: #8e2f2f;
  --shadow: 0 24px 60px rgba(21, 32, 40, 0.08);
  --shadow-sm: 0 10px 30px rgba(21, 32, 40, 0.06);
  --display: "Outfit", "Segoe UI", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header: 72px;
  --wrap: 1120px;
  --radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

a { color: var(--accent-deep); text-underline-offset: 3px; }

a:hover { color: var(--accent); }

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

::selection { background: var(--accent); color: #fff; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.wrap-s { width: min(760px, calc(100% - 40px)); margin-inline: auto; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3, .display {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.03em;
  font-weight: 560;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.05;
  font-weight: 580;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  max-width: 18em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.lede, .prose p { color: var(--body); }

.prose { display: grid; gap: 14px; max-width: 62ch; }

.prose p { font-size: 1.05rem; }

.section { padding: 64px 0; }

.section-head { margin-bottom: 40px; max-width: 740px; }

.section-head h2 { margin-bottom: 16px; }

.section-head .prose { max-width: 68ch; }

.muted { color: var(--muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(243, 242, 238, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 252, 248, 0.92);
}

.header-inner {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
  white-space: nowrap;
}

.logo:hover { color: var(--ink); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav-desktop a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 550;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="true"] { color: var(--accent-deep); }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.nav-panel {
  position: fixed;
  inset: var(--header) 0 0 0;
  background: var(--paper);
  z-index: 39;
  padding: 12px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.nav-panel a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.nav-panel .btn { margin-top: 18px; text-align: center; }

body.nav-open { overflow: hidden; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 620;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.btn.nav-desktop { display: none; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }

.btn-ghost-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--accent-deep);
  text-decoration: none;
  min-height: 44px;
}

.text-link::after { content: "→"; transition: transform 0.2s ease; }
.text-link:hover::after { transform: translateX(3px); }
.text-link:hover { color: var(--accent); }

button.text-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  padding: 28px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(21, 32, 40, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 32, 40, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-copy { display: grid; gap: 18px; justify-items: start; }

.kicker {
  display: grid;
  gap: 4px;
  margin: 0;
}

.kicker strong {
  font-family: var(--display);
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink);
}

.kicker span {
  color: var(--accent);
  font-weight: 620;
  font-size: 0.98rem;
}

.hero-copy .prose p { font-size: 1.05rem; color: var(--body); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 0; list-style: none; }

.pills li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
}

.availability {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  max-width: 46ch;
}

.availability i {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  font-style: normal;
}

/* Hero board */

.hero-visual { position: relative; min-height: 280px; }

.board {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.board-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #faf9f6;
}

.board-top .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e4e0d6;
}

.board-top strong {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: 0;
}

.board > img { width: 100%; height: auto; display: block; }

.board-top em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.board-body { display: grid; }

.board-side {
  display: none;
  padding: 16px 12px;
  background: #f7f6f2;
  border-right: 1px solid var(--line);
}

.board-side span {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.board-side span.is-on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.board-main { padding: 16px; display: grid; gap: 14px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metrics div {
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 12px;
}

.metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metrics strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-weight: 580;
}

.term-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }

.term-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 0 8px 8px 0;
}

.term-table td {
  padding: 9px 8px 9px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
}

.redact {
  display: inline-block;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e7e3da, #f4f1ea 50%, #e7e3da);
  vertical-align: middle;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.board-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #faf9f6;
}

.board-foot p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted);
}

.board-foot ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.board-foot li {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Experience strip */

.strip {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.strip-item { padding: 22px 8px; }

.strip-item + .strip-item { box-shadow: inset 1px 0 0 var(--line); }

.strip-item:nth-child(n + 3) { box-shadow: inset 0 1px 0 var(--line); }

.strip-item:nth-child(4) { box-shadow: inset 1px 1px 0 var(--line); }

.strip-item strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 580;
  line-height: 1.1;
}

.strip-item span { color: var(--muted); font-size: 0.92rem; }

/* Timeline */

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding-bottom: 22px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.timeline li:last-child::before { display: none; }

.step-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 650;
  position: relative;
  z-index: 1;
}

.timeline h3 {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline p { color: var(--body); margin: 0; }

.split {
  display: grid;
  gap: 36px;
}

.pull {
  margin-top: 28px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 22px;
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

/* Capability grid */

.cap-grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cap-grid li {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 620;
  font-size: 0.98rem;
  min-height: 64px;
  display: flex;
  align-items: center;
}

.statement {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.statement h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  max-width: 28em;
  margin-bottom: 16px;
}

.not-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; color: var(--muted); }

.ask {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

/* Cases */

.case {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 18px;
}

.case + .case,
.case-grid { margin-top: 16px; }

.case-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip-alert {
  border-color: transparent;
  background: #f3eee4;
  color: #6d5420;
}

.case h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 8px; }

.meta { display: grid; gap: 4px; margin: 0; }
.meta div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; font-size: 0.95rem; }
.meta dt { color: var(--muted); margin: 0; }
.meta dd { margin: 0; color: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  background: var(--bg);
  border-radius: 14px;
  padding: 12px;
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 560;
}

.stats span { color: var(--muted); font-size: 0.85rem; }

.work { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.work li { padding-left: 2px; }

.shots {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shot {
  margin: 0;
  display: grid;
  gap: 6px;
}

.shot button {
  padding: 0;
  border: 1px solid var(--line);
  background: #faf9f6;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  width: 100%;
}

.shot img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top center;
  background: #fff;
}

.case--feature .shots { grid-template-columns: 1fr; }

.shot figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.shot figcaption .text-link { min-height: 0; }

.case-grid { display: grid; gap: 16px; }

.footnote {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 70ch;
}

/* Frames */

.frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.frame img { width: 100%; height: auto; }

.frame button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

/* Tracking / columns */

.questions { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }

.questions li {
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-weight: 620;
}

.band {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.3;
}

.tri {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.tri article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.tri h3 {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--accent);
}

.stack-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }

.stack-notes li {
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.stack-notes strong { font-family: var(--display); font-weight: 580; }

.check-grid {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.check-grid li { color: var(--ink); font-weight: 600; }

/* Projects */

.project {
  display: grid;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.project:last-child { border-bottom: 1px solid var(--line); }

.stage { position: relative; }

.browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.browser-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f6f5f1;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3dfd6;
  font-style: normal;
}

.browser img,
.phone img { width: 100%; height: auto; }

.phone {
  display: none;
}

.project h3 { font-size: 1.55rem; margin: 6px 0; }

.project .work { margin-top: 8px; }

/* Agencies */

.agencies {
  background: #e7f0ec;
  border-radius: 28px;
  padding: 28px 20px;
}

.agency-grid, .engage {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.engage article, .plain-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 92, 76, 0.08);
}

.engage h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.trust {
  margin-top: 18px;
  padding-top: 8px;
}

.trust h3 { margin-bottom: 8px; }

.service-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(15, 92, 76, 0.16);
}

.service-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(15, 92, 76, 0.16);
  color: var(--ink);
  font-weight: 620;
}

/* Industries, process, tools */

.industry-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.industry-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 620;
}

.meta-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  max-width: 760px;
}

.steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.steps em {
  font-style: normal;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 620;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.steps h3 { margin: 6px 0; font-size: 1.15rem; }

.about-facts {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.about-facts div {
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.about-facts strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.15rem; }

.proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.proof button {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}

.proof img { width: 100%; height: auto; object-fit: contain; background: #fff; }

.tools {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.tools li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.92rem;
}

.tools svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.7; }

/* CTA + form */

.cta-section { padding-bottom: 40px; }

.cta {
  background: var(--dark);
  color: var(--on-dark-muted);
  border-radius: 28px;
  padding: 28px 20px 22px;
}

.cta h2 { color: var(--on-dark); max-width: 16ch; }

.cta .prose p { color: var(--on-dark-muted); }

.path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  color: var(--on-dark);
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 650;
}

.path li::after { content: "·"; margin: 0 8px; color: #8fbeb0; }
.path li:last-child::after { content: ""; }

.direct {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}

.direct a { color: #fff; font-weight: 650; }

.form {
  margin-top: 22px;
  background: var(--paper);
  color: var(--body);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.form h3 { font-size: 1.15rem; }

.fields { display: grid; gap: 12px; }

label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 700; color: var(--ink); }

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  min-height: 48px;
  padding: 10px 12px;
  font-weight: 500;
}

textarea { min-height: 120px; resize: vertical; }

input:focus,
select:focus,
textarea:focus { border-color: var(--accent); outline: 2px solid transparent; }

.is-invalid { border-color: var(--danger); }

.field-error { color: var(--danger); font-size: 0.82rem; font-weight: 650; min-height: 0; }

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 650;
}

.form-status[hidden] { display: none; }

.form-status.is-ok { background: var(--accent-soft); color: var(--accent-deep); }
.form-status.is-err { background: #f8e8e8; color: var(--danger); }

.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Footer */

.site-footer { padding: 28px 0 40px; }

.footer-grid { display: grid; gap: 18px; }

.site-footer strong {
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  color: var(--ink);
}

.site-footer p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 0; }

.footer-links a { color: var(--ink); font-weight: 700; text-decoration: none; }

.legal {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Lightbox */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1040px, calc(100% - 24px));
  width: 100%;
}

.lightbox::backdrop { background: rgba(16, 24, 22, 0.82); }

.lightbox-inner {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
}

.lightbox img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: #111; }

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
}

.lightbox-bar p { margin: 0; color: var(--ink); font-size: 0.92rem; }

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

/* Reveal — content stays visible. Motion is optional and never hides a section. */

.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal.is-in {
    animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes rise {
  from { transform: translateY(10px); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .reveal.is-in { animation: none; transform: none; opacity: 1; }
}

/* Tablet and up */

@media (min-width: 720px) {
  .strip-grid { grid-template-columns: repeat(4, 1fr); }
  .strip-item { padding: 26px 18px; }
  .strip-item + .strip-item,
  .strip-item:nth-child(n + 3),
  .strip-item:nth-child(4) { box-shadow: inset 1px 0 0 var(--line); }
  .strip-item:first-child { box-shadow: none; }

  .cap-grid { grid-template-columns: repeat(4, 1fr); }
  .cap-grid li { border-right: 1px solid var(--line); }
  .cap-grid li:nth-child(4n) { border-right: 0; }
  .cap-grid li:nth-last-child(-n + 4) { border-bottom: 0; }

  .shots { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .tri { grid-template-columns: repeat(3, 1fr); }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .industry-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: repeat(4, 1fr); }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .full { grid-column: 1 / -1; }
  .engage { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr; align-items: end; }
  .agencies { padding: 48px; }
  .cta { padding: 48px; }
  .board-body { grid-template-columns: 168px 1fr; }
  .board-side { display: block; }
}

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .nav-desktop { display: flex; }
  a.btn.nav-desktop { display: inline-flex; }
  .nav-panel { display: none; }

  .browser { display: block; }
  .phone {
    display: block;
    position: absolute;
    width: 132px;
    right: 0;
    bottom: -12px;
    border: 6px solid #1a2420;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
  }

  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; }
  .hero-visual { margin-top: 12px; }

  .split { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
  .split-reverse { grid-template-columns: 1.05fr 0.95fr; }
  .about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }

  .cta-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }
  .form { margin-top: 0; padding: 22px; }

  .project {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    padding: 36px 0;
  }

  .project:nth-child(even) .stage { order: 2; }

  .stage { padding-right: 56px; }

  .case { padding: 28px; }
  .section { padding: 72px 0; }
}

@media (max-width: 719px) {
  .cap-grid li:nth-child(2n) { border-right: 0; }
  .cap-grid li:nth-last-child(-n + 2) { border-bottom: 0; }
  .legal { flex-direction: column; }
  h1 { max-width: none; }
  .browser { display: none; }
  .phone {
    display: block;
    width: min(230px, 72%);
    margin: 8px auto 0;
    border: 6px solid #1a2420;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
  }
}

@media (min-width: 1040px) and (max-width: 1180px) {
  .nav-desktop { gap: 14px; }
  .nav-desktop a { font-size: 0.86rem; }
}

/* Hero stack */

.hero h1 { max-width: 11em; }

.hero-stack { display: grid; gap: 12px; }

.stack-ads,
.stack-page {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  align-self: start;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.stack-row {
  display: grid;
  gap: 12px;
  align-items: stretch;
}

.stack-page { margin: 0; }

.stack-card {
  margin: 0;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.stack-card strong {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: #fff;
}

.stack-card span,
.stack-card em { color: var(--on-dark-muted); font-style: normal; font-size: 0.92rem; }

.hero-line {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

/* Results */

.result-grid { display: grid; gap: 14px; }

.result-card {
  display: grid;
  gap: 4px;
  align-content: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}

.result-card:hover { border-color: var(--accent); color: inherit; }

.result-card em {
  font-style: normal;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-card strong {
  font-family: var(--display);
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-top: 8px;
}

.result-card b { font-weight: 700; color: var(--ink); }

.result-card span { color: var(--muted); }

/* Capability groups */

.cap-six { display: grid; gap: 12px; margin-top: 28px; }

.cap-six article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.cap-six h3 { font-size: 1.15rem; margin-bottom: 6px; }

.cap-six p { margin: 0; color: var(--muted); }

/* Case study crop */

.shot-crop img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
}

.more-work { margin-top: 28px; }

.more-work summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent-deep);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.more-grid { display: grid; gap: 14px; margin-top: 12px; }

.more-grid img { width: 100%; height: auto; border-radius: 12px; margin-top: 8px; background: #f7f5f1; }

.more-grid .text-link { display: block; }

/* Advantage */

.advantage {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.advantage article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.advantage h3 { margin-bottom: 8px; }

/* Dark agency panel */

.agencies.is-dark {
  background: var(--dark);
  color: var(--on-dark);
}

.agencies.is-dark h2,
.agencies.is-dark h3 { color: #fff; }

.agencies.is-dark .eyebrow { color: #9dcec0; }

.agencies.is-dark .eyebrow::before { background: #9dcec0; }

.agencies.is-dark > p,
.agencies.is-dark .engage p { color: var(--on-dark-muted); }

.agencies.is-dark .engage article {
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
}

@media (min-width: 720px) {
  .agencies.is-dark .engage { grid-template-columns: 1fr 1fr; }
}

/* Evidence */

.evidence { display: grid; gap: 22px; }

.evidence-item { margin: 0; }

.evidence-metric {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--ink);
}

.evidence-item button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #f7f5f1;
  cursor: zoom-in;
}

.evidence-item img { width: 100%; height: auto; display: block; background: #f7f5f1; }

.evidence-item figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

.site-row { display: grid; gap: 14px; margin-top: 28px; }

.site-row a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.site-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f7f5f1;
}

.site-row strong { display: block; margin-top: 8px; color: var(--ink); }

/* About portrait */

.portrait {
  margin: 0;
  background: var(--accent);
  border-radius: 24px;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.portrait-fallback {
  font-family: var(--display);
  font-size: 4.5rem;
  letter-spacing: -0.04em;
  color: #f4f1ea;
}

.portrait figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #f4f1ea;
  font-weight: 700;
  z-index: 1;
}

/* Tool groups */

.tool-groups { display: grid; gap: 18px; }

.tool-groups h3 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.seo-note {
  margin-top: 8px;
  padding: 22px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.seo-note p { margin: 8px 0 0; color: var(--body); max-width: 62ch; }

@media (min-width: 720px) {
  .result-grid,
  .advantage,
  .cap-six,
  .more-grid { grid-template-columns: repeat(3, 1fr); }

  .cap-six { grid-template-columns: repeat(3, 1fr); }

  .site-row { grid-template-columns: repeat(3, 1fr); }

  .stack-row { grid-template-columns: minmax(0, 1.55fr) minmax(148px, 0.72fr); }

  .hero-stack .stack-page,
  .hero-stack .stack-card {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    inset: auto;
  }
}

@media (min-width: 1040px) {
  .hero-stack { margin-right: 8px; }
  .tool-groups { grid-template-columns: 1fr 1fr; gap: 28px; }
  .evidence { gap: 28px; }
}
