/* ===========================================================
   NewType Digital — styles.css
   Brand colors: #0066FF (blue), #0A0A0A (near-black), white
   Typography: Host Grotesk (variable)
   =========================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Host Grotesk";
  src: url("assets/fonts/HostGrotesk.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("assets/fonts/HostGrotesk-Italic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --blue: #0066FF;
  --blue-dark: #0052CC;
  --blue-soft: #E6F0FF;
  --black: #0A0A0A;
  --ink: #1A1A1A;
  --gray-900: #1F1F1F;
  --gray-700: #404040;
  --gray-500: #737373;
  --gray-300: #D4D4D4;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --gray-50:  #FAFAFA;
  --white: #FFFFFF;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --section-y: clamp(4rem, 8vw, 7rem);

  --t-fast: 150ms ease;
  --t-base: 250ms ease;

  --shadow-sm: 0 1px 2px rgba(10,10,10,0.06), 0 1px 3px rgba(10,10,10,0.04);
  --shadow-md: 0 8px 24px rgba(10,10,10,0.08);
  --shadow-lg: 0 20px 40px rgba(10,10,10,0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Host Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--blue-dark); }
em { font-style: italic; color: var(--blue); font-weight: 500; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--black);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-y) 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 1rem; }
.section-lede {
  font-size: 1.125rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-base), color var(--t-base), border-color var(--t-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--black);
}
.btn-ghost:hover { color: var(--blue); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--gray-700);
  position: relative;
}
.nav-links a:hover { color: var(--black); }
.nav-cta { padding: 0.65rem 1.2rem; font-size: 0.9rem; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform var(--t-base);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.hero-copy {
  min-width: 0;
  max-width: 640px;
}
.hero-headline {
  margin: 0.5rem 0 1.5rem;
  font-weight: 800;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--gray-700);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.hero-meta {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}
/* ---------- Hero ascending graph (subtle background) ---------- */
.hero-graph {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-graph-grid {
  stroke-width: 1;
  opacity: 0.5;
}
.hero-graph-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.65;
}
.hero-graph-line-dashed {
  stroke-dasharray: 4 7;
  stroke-width: 1.75;
  opacity: 0.45;
}
.hero-graph-glow {
  fill: var(--blue);
  opacity: 0.18;
}
.hero-graph-point {
  fill: var(--blue);
  opacity: 0.9;
  stroke: var(--white);
  stroke-width: 1.5;
}

/* ---------- Proof bento section ---------- */
.proof-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.proof-header {
  text-align: center;
  margin-bottom: 3rem;
}
.proof-header h2 { margin-bottom: 0.5rem; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.proof-tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
  animation: proofRise 0.7s ease-out backwards;
}
.proof-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.proof-tile:nth-child(1) { animation-delay: 0.05s; }
.proof-tile:nth-child(2) { animation-delay: 0.15s; }
.proof-tile:nth-child(3) { animation-delay: 0.25s; }
.proof-tile:nth-child(4) { animation-delay: 0.35s; }
.proof-tile:nth-child(5) { animation-delay: 0.45s; }
@keyframes proofRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Featured tile (spans 2 columns) */
.proof-featured {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.featured-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.featured-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.featured-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
}
.featured-stat {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.featured-num {
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
}
.featured-label {
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
}
.proof-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  padding: 0.25rem 0;
}
.proof-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, #66A3FF 0%, var(--blue) 100%);
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
  animation: barGrow 1s ease-out backwards;
}
.proof-chart .bar:nth-child(1) { animation-delay: 0.5s; }
.proof-chart .bar:nth-child(2) { animation-delay: 0.6s; }
.proof-chart .bar:nth-child(3) { animation-delay: 0.7s; }
.proof-chart .bar:nth-child(4) { animation-delay: 0.8s; }
.proof-chart .bar:nth-child(5) { animation-delay: 0.9s; }
.proof-chart .bar:nth-child(6) { animation-delay: 1s; }
@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.proof-chart .bar { transform-origin: bottom; }
.featured-quote {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.5;
  padding-left: 1rem;
  border-left: 3px solid var(--blue);
  margin: 0;
}
.featured-quote-attr {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Brand tile */
.proof-brand {
  background: linear-gradient(135deg, #0066FF 0%, #002B80 100%);
  border-color: var(--blue);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  box-shadow: 0 20px 40px -20px rgba(0,102,255,0.4);
}
.proof-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/pattern.png");
  background-size: 140%;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.proof-brand img {
  position: relative;
  width: 55%;
  height: auto;
  z-index: 1;
  animation: brandFloat 6s ease-in-out infinite;
}
@keyframes brandFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.proof-brand .brand-tagline {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.proof-brand .brand-tagline em { color: var(--white); }

/* Stat tile */
.proof-stat .stat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.85rem;
  display: block;
}
.proof-stat .stat-num {
  font-size: clamp(2.25rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.proof-stat .stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}
.proof-stat.dark {
  background: var(--black);
  border-color: var(--black);
}
.proof-stat.dark .stat-tag { color: rgba(255,255,255,0.5); }
.proof-stat.dark .stat-num { color: var(--blue); }
.proof-stat.dark .stat-label { color: rgba(255,255,255,0.7); }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}
.service-card.featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.service-card.featured h3,
.service-card.featured .service-num { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.75); }
.service-card.featured .service-list li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.12); }
.service-card.featured .service-link { color: var(--blue); }
.service-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--gray-700); margin-bottom: 1.5rem; }
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}
.service-list li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-700);
}
.service-list li:first-child { border-top: 0; padding-top: 0; }
.service-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
  margin-top: auto;
}
.service-link:hover { color: var(--blue-dark); }

/* ---------- Approach ---------- */
.approach { background: var(--gray-50); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.approach-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.approach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.approach-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.approach-item p { color: var(--gray-700); font-size: 0.95rem; margin: 0; }

/* ---------- Results ---------- */
.results { background: var(--white); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.result-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}
.result-stat {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.stat-num {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}
.result-card p { color: var(--gray-700); margin: 0; }
.results-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 2.5rem;
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--black);
  color: var(--white);
  position: relative;
}
.testimonial-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-mark {
  display: block;
  font-size: 6rem;
  line-height: 1;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: -1rem;
}
.testimonial blockquote {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 2rem;
  color: var(--white);
}
.testimonial cite {
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.testimonial cite strong { color: var(--white); }

/* ---------- FAQ ---------- */
.faq { background: var(--gray-50); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq details[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--blue);
  font-size: 1.5rem;
  transition: transform var(--t-base);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 1rem 0 0;
  color: var(--gray-700);
  font-size: 0.98rem;
}

/* ---------- Final CTA ---------- */
.cta-final {
  background: var(--blue);
  color: var(--white);
  background-image: url("assets/pattern.png");
  background-size: 400px;
  background-blend-mode: soft-light;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-final h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}
.cta-final h2 em { color: var(--white); font-style: italic; }
.cta-final p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  max-width: 540px;
  margin: 0 auto 2rem;
}
.cta-final .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.cta-final .btn-primary:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.cta-meta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.cta-meta a { color: var(--white); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  font-size: 0.95rem;
  max-width: 320px;
  color: rgba(255,255,255,0.6);
}
.footer-logo { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  padding: 0.3rem 0;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===========================================================
   INNER PAGES
   =========================================================== */

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.page-hero .page-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Thank-you page ---------- */
.thank-you-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}
.thank-you-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.thank-you-icon svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 10px 20px rgba(0, 102, 255, 0.2));
  animation: checkmarkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes checkmarkPop {
  0%   { opacity: 0; transform: scale(0.4); }
  100% { opacity: 1; transform: scale(1); }
}
.thank-you-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ---------- Service deep-dive blocks ---------- */
.service-block {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-block:nth-of-type(even) { background: var(--gray-50); }
.service-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.service-block-copy .eyebrow { margin-bottom: 0.75rem; }
.service-block-copy h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); }
.service-block-copy p {
  color: var(--gray-700);
  font-size: 1.05rem;
}
.deliverables {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.deliverables h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.deliverables ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.deliverables li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--gray-200);
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.deliverables li:first-child { border-top: 0; }
.deliverables li::before {
  content: "→";
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Process timeline ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--gray-700); font-size: 0.95rem; margin: 0; }

/* ---------- About: founder + values ---------- */
.founder {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 3rem;
}
.founder-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 20px 40px -20px rgba(0, 102, 255, 0.3);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-bio h3 { margin-bottom: 0.5rem; }
.founder-role {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ---------- Case studies grid (full page) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-card .result-tag { margin-bottom: 0; }
.case-card h3 { font-size: 1.4rem; margin: 0; }
.case-card .case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.case-card .case-stat .stat-num {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.case-card .case-stat .stat-label {
  font-size: 0.8rem;
}
.case-card p { color: var(--gray-700); margin: 0; }
.case-quote {
  background: var(--gray-50);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 0;
  color: var(--gray-700);
  font-style: italic;
  font-size: 0.95rem;
}
.case-quote-attr {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-quote.is-placeholder {
  border-left-color: var(--gray-300);
  color: var(--gray-500);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--gray-200);
}
.contact-detail:last-child { border-bottom: 1px solid var(--gray-200); }
.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.contact-detail p,
.contact-detail a { margin: 0; color: var(--gray-700); font-size: 0.98rem; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { margin-bottom: 0.5rem; }
.contact-form-card .form-intro {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.form-field label .req { color: var(--blue); }
.form-field input,
.form-field textarea,
.form-field select {
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
}
.form-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-featured { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; padding: 2rem; }
  .founder-photo { max-width: 220px; }
  .case-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-logo img { height: 42px; }
  .approach-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .case-card .case-stats { grid-template-columns: 1fr; gap: 0.5rem; }
  .contact-form-card { padding: 1.5rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-featured { grid-column: span 1; }
}
