/* ============================================================
   YOUNKERSTUDIO — Design System
   "The Architect" × Violet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-dark:      #1A1A2E;
  --bg-white:     #FFFFFF;
  --bg-soft:      #F8F8F4;

  /* Text */
  --ink:          #0F0F0F;
  --ink-mid:      #525252;
  --ink-muted:    #9CA3AF;

  /* Accent — violet */
  --violet:       #7C3AED;
  --violet-deep:  #6D28D9;
  --violet-tint:  #EDE9FE;
  --violet-dim:   rgba(124, 58, 237, 0.12);

  /* Rules / borders */
  --rule:         #E5E5E5;
  --rule-dark:    rgba(255, 255, 255, 0.1);

  /* Typography */
  --f-display:    'Outfit', system-ui, sans-serif;
  --f-body:       'Inter', system-ui, sans-serif;

  /* Z-index scale */
  --z-base:       10;
  --z-overlay:    20;
  --z-nav:        30;
  --z-modal:      50;

  /* Spacing */
  --section-pad:  96px;
  --wrap-max:     1200px;
  --wrap-narrow:  760px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-dark);
}

body {
  background: var(--bg-white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--f-body);
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ── UTILITIES ──────────────────────────────────────────── */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 40px;
}

.wrap-narrow {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 20px;
}

.section-label--dark {
  color: rgba(167, 139, 250, 0.9);
}

/* Drawn rule — animates in on scroll */
.drawn-rule {
  height: 1px;
  background: var(--rule);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawn-rule--dark {
  background: var(--rule-dark);
}

.drawn-rule.revealed {
  transform: scaleX(1);
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .drawn-rule {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(52px, 7vw, 96px); font-weight: 800; }
h2 { font-size: clamp(36px, 4.5vw, 60px); font-weight: 700; }
h3 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 600; }

.display-violet { color: var(--violet); }
.display-violet--light { color: rgba(167, 139, 250, 1); }

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-mid);
  max-width: 65ch;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}

.btn-primary:hover {
  background: var(--violet-deep);
  border-color: var(--violet-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost--dark {
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost--dark:hover {
  border-color: var(--violet);
  color: var(--violet);
}

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(26, 26, 46, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule-dark);
}

.nav-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark span {
  color: var(--violet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-cta {
  margin-left: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: calc(var(--z-nav) - 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  padding: 12px 0;
}

.mobile-nav a:hover {
  color: #fff;
}

.mobile-nav .btn {
  margin-top: 24px;
  font-size: 16px;
}

/* ── PAGE HEADER (dark hero sections) ──────────────────── */
.page-hero {
  background: var(--bg-dark);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-dark);
}

/* Subtle radial violet glow behind hero */
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  margin-top: 24px;
  max-width: 52ch;
}

/* ── SECTIONS ───────────────────────────────────────────── */
.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--bg-dark);
}

.section--soft {
  background: var(--bg-soft);
}

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

.section-header h2 {
  margin-top: 8px;
}

/* ── PROOF STRIP ────────────────────────────────────────── */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.proof-item {
  padding: 40px 36px;
  position: relative;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--rule);
}

.proof-num {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.proof-num .accent {
  color: var(--violet);
}

.proof-label {
  font-size: 14px;
  color: var(--ink-mid);
  margin-top: 8px;
  display: block;
  max-width: 20ch;
}

/* ── BENTO GRID (services) ──────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.bento-tile {
  padding: 48px 44px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.25s ease;
  cursor: default;
}

.bento-tile:hover {
  background: var(--violet-dim);
}

/* Large tile spans 2 rows */
.bento-tile--large {
  grid-row: span 2;
  border-bottom: none;
}

/* Last column tiles — no right border */
.bento-tile:nth-child(2),
.bento-tile:nth-child(3) {
  border-right: none;
}

/* Bottom row — no bottom border */
.bento-tile:nth-child(3),
.bento-tile:nth-child(4) {
  border-bottom: none;
}

.bento-tile:nth-child(4) {
  border-right: none;
}

.tile-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 20px;
}

.tile-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.tile-desc {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 38ch;
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--violet);
  margin-top: 28px;
  transition: gap 0.2s ease;
}

.tile-link:hover {
  gap: 10px;
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--rule-dark);
}

.step {
  padding: 48px 40px 0;
  position: relative;
}

.step + .step {
  border-left: 1px solid var(--rule-dark);
}

.step-num {
  font-family: var(--f-display);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  display: block;
}

.step-title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 28ch;
}

/* ── PRICING ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
}

.pricing-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 40px 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-dim);
}

.pricing-card--featured {
  border-color: var(--violet);
  background: var(--violet-tint);
}

.pricing-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 20px;
}

.pricing-rate {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-rate span {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-mid);
}

.pricing-desc {
  font-size: 15px;
  color: var(--ink-mid);
  margin-top: 16px;
  line-height: 1.65;
}

.pricing-note {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 48px;
  max-width: 56ch;
}

/* ── CONTACT FORM ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--violet);
}

.contact-link svg {
  color: var(--violet);
  flex-shrink: 0;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-white);
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  background: var(--violet);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--violet-deep);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  display: none;
}

.form-status.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--rule-dark);
  padding: 64px 0 40px;
}

.footer-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-wordmark {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-wordmark span {
  color: var(--violet);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  display: block;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

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

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #fff;
}

/* ── ABOUT PAGE SPECIFICS ───────────────────────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.philosophy-card {
  padding: 44px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.philosophy-card:nth-child(2),
.philosophy-card:nth-child(4) {
  border-right: none;
}

.philosophy-card:nth-child(3),
.philosophy-card:nth-child(4) {
  border-bottom: none;
}

.philosophy-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 20px;
}

.philosophy-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 15px;
  max-width: none;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.timeline-item {
  position: relative;
  margin-bottom: 52px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-tint);
}

.timeline-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 8px;
}

.timeline-role {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mid);
  display: block;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 52ch;
}

/* Tech grid */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.tech-col {
  padding: 36px;
}

.tech-col + .tech-col {
  border-left: 1px solid var(--rule);
}

.tech-col:nth-child(n+3) {
  border-top: 1px solid var(--rule);
}

.tech-col:nth-child(3) {
  border-left: none;
}

.tech-col:nth-child(4) {
  border-left: 1px solid var(--rule);
}

.tech-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-list li {
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}

/* ── WORK PAGE ──────────────────────────────────────────── */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s ease;
}

.project-card:last-child {
  border-bottom: none;
}

.project-card:hover {
  background: var(--violet-dim);
}

.project-meta {
  padding: 48px 40px;
  border-right: 1px solid var(--rule);
}

.project-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-tint);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.project-title {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.project-body {
  padding: 48px 48px;
}

.project-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-block-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 6px;
}

.project-block-text {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.65;
}

.project-block-text--outcome {
  color: var(--ink);
  font-weight: 500;
}

/* CTA strip */
.cta-strip {
  background: var(--violet);
  padding: 80px 0;
  text-align: center;
}

.cta-strip h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 36px;
  font-size: 18px;
}

.cta-strip .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── FAQ PAGE ───────────────────────────────────────────── */
.faq-list {
  border-top: 2px solid var(--ink);
}

/* FAQ ITEM: each item is clearly separated — easy to add/edit */
.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--violet);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-muted);
  transition: transform 0.3s ease, border-color 0.2s, color 0.2s;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--violet);
  color: var(--violet);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer.open {
  max-height: 600px;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer-inner {
  padding-bottom: 28px;
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 68ch;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .bento { grid-template-columns: 1fr; }
  .bento-tile--large { grid-row: span 1; }
  .bento-tile { border-right: none !important; }
  .bento-tile:last-child { border-bottom: none !important; }
  .project-card { grid-template-columns: 1fr; }
  .project-meta { border-right: none; border-bottom: 1px solid var(--rule); }
  .project-body { padding: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .wrap, .wrap-narrow { padding: 0 24px; }

  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .page-hero { padding: 120px 0 72px; }

  .proof-strip { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-left: none; border-top: 1px solid var(--rule); }

  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--rule-dark); padding-top: 40px; margin-top: 40px; }
  .step { padding-left: 0; }

  .pricing-grid { grid-template-columns: 1fr; max-width: none; }

  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-card { border-right: none !important; }
  .philosophy-card:last-child { border-bottom: none !important; }

  .tech-grid { grid-template-columns: 1fr; }
  .tech-col + .tech-col { border-left: none; border-top: 1px solid var(--rule); }
  .tech-col:nth-child(4) { border-left: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-nav { flex-wrap: wrap; gap: 20px; }

  .mobile-nav { display: flex; }
}

@media (max-width: 480px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
}

/* ── SKIP NAV ───────────────────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--violet);
  color: #fff;
  padding: 8px 20px;
  border-radius: 0 0 8px 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  z-index: calc(var(--z-nav) + 10);
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-nav:focus {
  top: 0;
  outline: 3px solid rgba(124, 58, 237, 0.5);
  outline-offset: 2px;
}

#main-content:focus {
  outline: none;
}

/* ── About page grids ─────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

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

@media (max-width: 768px) {
  .bio-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

