/* ============================================
   Namitri — Light/Playful Makeover
   ============================================ */

:root {
  /* color */
  --bg: #FFFAF3;
  --bg-2: #FFF1E0;
  --bg-3: #FFE6CC;
  --ink: #15110E;
  --ink-2: #4B413A;
  --ink-3: #8B8079;
  --orange: #FF5A1F;
  --orange-deep: #E0440D;
  --orange-soft: #FFD0B0;
  --orange-tint: #FFEADA;
  --line: rgba(21, 17, 14, 0.10);
  --line-strong: rgba(21, 17, 14, 0.20);

  /* type */
  --sans: "Helvetica Neue", "Inter Tight", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* size */
  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 16px;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.4;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::selection { background: var(--orange); color: white; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* labels */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: currentColor;
}
.eyebrow.no-line::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}
h2 { font-size: clamp(32px, 4vw, 64px); }
h3 { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; line-height: 1.15; }
p { color: var(--ink-2); text-wrap: pretty; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 250, 243, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--orange);
  display: grid; place-items: center;
  color: white; font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 18px -8px var(--orange);
  position: relative; overflow: hidden;
  transition: background .3s, color .3s, box-shadow .3s;
}
/* Front-page: white N mark */
.home .brand-mark,
.front-page .brand-mark {
  background: white;
  color: var(--orange);
  box-shadow: 0 6px 18px -8px rgba(21,17,14,.12);
}
.brand-mark::after {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255,255,255,.4) 20%, transparent 40%);
  animation: spin 6s linear infinite;
}
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-size: 16px; letter-spacing: -0.02em; }
.brand-name span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--ink-3); margin-top: 3px; }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
  padding: 7px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--orange-tint); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600; font-size: 13px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover {
  background: var(--orange); color: white;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px var(--orange);
}
.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-ghost { background: var(--orange-tint); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-arrow {
  width: 22px; height: 22px; border-radius: 999px;
  background: currentColor;
  display: grid; place-items: center;
  color: var(--orange);
}
.btn-arrow svg { color: white; }
.btn-primary .btn-arrow { color: var(--orange); }
.btn-orange .btn-arrow { color: white; }
.btn-orange .btn-arrow svg { color: var(--orange); }
.btn-ghost .btn-arrow { color: var(--ink); }
.btn-ghost .btn-arrow svg { color: var(--bg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding-top: clamp(20px, 3vw, 48px);
  padding-bottom: clamp(16px, 2vw, 36px);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: var(--orange-tint);
  border: 1px solid var(--orange-soft);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 16px;
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, .18);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(44px, 7vw, 116px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero-title .word { display: inline-block; position: relative; }
.hero-title .swirl {
  font-style: italic; font-weight: 300;
  color: var(--orange);
  position: relative;
}
.hero-title .swirl::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -.07em;
  height: .14em;
  background: var(--orange);
  border-radius: 999px;
  transform: scaleX(0); transform-origin: left;
  animation: underline-grow 1.2s .4s cubic-bezier(.6,.2,.1,1) forwards;
}
.hero-title .accent {
  display: inline-block;
  background: var(--ink); color: var(--bg);
  padding: 0.02em 0.18em 0.08em;
  border-radius: 0.12em;
  transform: rotate(-1.5deg);
  margin: 0 0.05em;
}
.hero-title .accent.orange { background: var(--orange); color: white; transform: rotate(1.5deg); }

.hero-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}
.hero-lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.5;
}
.hero-lede b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* hero side: stats card */
.hero-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 60%);
  opacity: 0.6;
}
.hero-card h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-soft);
  font-weight: 500;
  margin-bottom: 18px;
}
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative; z-index: 2;
}
.stat .n {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex; align-items: flex-start;
}
.stat .n sup { font-size: 0.45em; margin-top: 0.4em; margin-left: 2px; color: var(--orange); }
.stat .l {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 10px;
}

/* hero background graphics */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-blob {
  position: absolute;
  right: -8%;
  top: 30%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF8A4F 0%, var(--orange) 38%, var(--orange-deep) 70%, transparent 100%);
  filter: blur(60px);
  opacity: 0.45;
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.hero-circuit {
  position: absolute; left: -120px; bottom: -120px;
  width: 540px; height: 540px;
  opacity: 0.6;
  color: var(--orange);
}
.hero-circuit-2 {
  position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px;
  opacity: 0.5;
  color: var(--orange-deep);
  transform: rotate(180deg);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--orange);
  color: white;
  border-top: 1px solid var(--orange-deep);
  border-bottom: 1px solid var(--orange-deep);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 36px);
  letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee-item .star {
  width: 28px; height: 28px;
  color: var(--bg);
  flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */
.section { padding: clamp(52px, 6vw, 88px) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 44px);
}
.section-head h2 { max-width: 14ch; }
.section-head .head-right { max-width: 44ch; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.about-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-card .badge {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 7px 12px;
  background: var(--orange);
  color: white;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px;
  position: relative; z-index: 2;
}
.about-card .big-N {
  position: absolute;
  left: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.07em;
  color: rgba(255,255,255,.18);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.about-card .big-N::after {
  content: ".";
  color: var(--orange);
  opacity: 0.3;
}
.about-card .circuit-deco {
  position: absolute; right: -30px; bottom: -30px;
  width: 220px; height: 220px;
  opacity: 0.25;
  color: var(--orange);
  z-index: 0;
}
.about-card .est {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-card .est-year {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: white;
  font-family: var(--sans);
}
.about-card .est-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

.about-copy h2 { margin-bottom: 20px; }
.about-copy h2 em { color: var(--orange); font-style: italic; font-weight: 400; }
.about-copy p { font-size: 16px; line-height: 1.6; margin-bottom: 14px; }

.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  transition: transform .25s ease, background .25s, border-color .25s;
}
.feature:hover { transform: translateY(-3px); background: var(--orange-tint); border-color: var(--orange-soft); }
.feature .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink); color: var(--orange);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.feature h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.feature p { font-size: 13px; color: var(--ink-2); }

/* ============================================
   SERVICES
   ============================================ */
.services-section { background: var(--ink); color: var(--bg); }
.services-section .eyebrow { color: var(--orange); }
.services-section h2 { color: var(--bg); }
.services-section .section-head .head-right { color: rgba(255,250,243,.7); }

.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
}
.service {
  background: var(--ink);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 210px;
  position: relative;
  transition: background .35s ease;
}
.service:hover { background: #1F1A16; }
.service-num {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em; color: var(--orange);
}
.service h3 { color: var(--bg); font-size: 24px; }
.service p { color: rgba(255,250,243,.6); font-size: 14px; flex: 1; }
.service .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service .tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: rgba(255,250,243,.7);
}
.service:hover .tag { border-color: var(--orange); color: var(--orange); }
.service .arrow {
  position: absolute; top: 32px; right: 32px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.service:hover .arrow { background: var(--orange); transform: translate(4px, -4px) rotate(-45deg); }

/* ============================================
   PROCESS
   ============================================ */
.process { background: var(--bg-2); }
.process-track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute; left: 5%; right: 5%; top: 36px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--ink) 0 6px, transparent 6px 12px);
  opacity: 0.25;
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: left; }
.process-num {
  width: 56px; height: 56px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
  transition: transform .35s, background .35s, color .35s;
}
.process-step:hover .process-num {
  background: var(--orange); color: white; transform: rotate(-8deg);
}
.process-num::after {
  content: ""; position: absolute; inset: -6px;
  border: 1px dashed var(--orange-soft);
  border-radius: 999px;
  opacity: 0;
  transition: opacity .35s;
}
.process-step:hover .process-num::after { opacity: 1; }
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 14px; line-height: 1.5; }

/* ============================================
   PROJECTS
   ============================================ */
.projects-head .filters {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.filter {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: var(--bg-2);
  transition: all .2s;
}
.filter.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter:hover { border-color: var(--orange); }
.filter.active:hover { border-color: var(--ink); }

/* Grid — two columns, rows sized for media + info strip */
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-auto-rows: 260px;
  gap: 16px;
}

/* Card — flex column: media fills top, info strip always at bottom */
.proj {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  background: var(--ink);
  transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s;
}
.proj:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px -8px rgba(21,17,14,.22);
}

/* Media area: gradient art background OR featured image */
.proj-media {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

/* Subtle bottom scrim so info strip boundary is always clean */
.proj-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(21,17,14,.55) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .35s;
}
.proj:hover .proj-media::after { opacity: 1; }

.proj-art {
  position: absolute; inset: 0;
  z-index: 0;
  transition: transform .7s cubic-bezier(.2,.6,.2,1);
}
.proj:hover .proj-art { transform: scale(1.06); }

/* Featured image — sits on top of the gradient art, zoom on hover */
.proj-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 1;
  transition: transform .7s cubic-bezier(.2,.6,.2,1);
}
.proj:hover .proj-thumb { transform: scale(1.06); }

/* Abstract art gradient backgrounds */
.art-mesh-1 { background:
  radial-gradient(circle at 80% 20%, #FF8A4F 0%, transparent 50%),
  radial-gradient(circle at 20% 80%, #B8350B 0%, transparent 60%),
  linear-gradient(135deg, #FF5A1F 0%, #C13409 100%);
}
.art-mesh-2 { background:
  radial-gradient(circle at 30% 30%, #2B2926 0%, transparent 60%),
  linear-gradient(160deg, #15110E 0%, #2A2521 100%);
}
.art-mesh-3 { background:
  radial-gradient(circle at 70% 30%, #FFD0B0 0%, transparent 60%),
  linear-gradient(135deg, #FFE6CC 0%, #FF8A4F 100%);
}
.art-mesh-4 { background:
  radial-gradient(circle at 50% 50%, #4B413A 0%, transparent 70%),
  linear-gradient(135deg, #FFFAF3 0%, #FFE6CC 100%);
}
.art-mesh-5 { background:
  radial-gradient(circle at 50% 30%, #FF5A1F 0%, transparent 50%),
  linear-gradient(160deg, #15110E 0%, #361A0B 100%);
}

/* Info strip — always dark, always readable, never overlaps image */
.proj-info {
  flex: 0 0 auto;
  background: var(--ink);
  color: white;
  padding: 14px 20px 18px;
  position: relative;
}
.proj-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  min-width: 0;
}
.proj-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.proj-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,90,31,.18);
  color: var(--orange);
  border: 1px solid rgba(255,90,31,.3);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.proj-title {
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: white;
  padding-right: 40px;
}
.proj.big .proj-title { font-size: clamp(20px, 2.2vw, 26px); }
.proj-subtitle {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  padding-right: 40px;
  line-height: 1.4;
  font-style: italic;
}
.proj-meta-line {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  padding-right: 40px;
}

/* Arrow button revealed on hover */
.proj-arrow {
  position: absolute;
  right: 20px; bottom: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  color: white;
  opacity: 0;
  transform: translateX(6px) rotate(0deg);
  transition: opacity .25s, transform .25s;
}
.proj:hover .proj-arrow {
  opacity: 1;
  transform: translateX(0) rotate(-45deg);
}

/* Big card spans 2 rows */
.proj.big { grid-row: span 2; grid-column: 1; }

/* ============================================
   TESTIMONIALS
   ============================================ */
/* ── Testimonial grid ── */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.t-card {
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.t-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange-soft);
  box-shadow: 0 12px 32px -12px rgba(255,90,31,.2);
}
.t-card.featured {
  background: var(--ink);
  border-color: var(--ink);
}

/* top row: stars + logo */
.t-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.t-stars { display: flex; gap: 2px; color: var(--orange); }
.t-stars svg { width: 13px; height: 13px; }
.t-logo {
  height: 22px; width: auto;
  object-fit: contain; opacity: .7;
  filter: grayscale(1);
}
.t-card.featured .t-logo { filter: grayscale(1) invert(1); }

/* quote */
.t-quote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  flex: 1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t-card.featured .t-quote { color: rgba(255,250,243,.85); }

/* author row */
.t-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.t-card.featured .t-author { border-top-color: rgba(255,250,243,.12); }

.t-photo {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: grid; place-items: center;
  font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}
.t-meta strong { font-size: 13px; display: block; color: var(--ink); }
.t-card.featured .t-meta strong { color: var(--bg); }
.t-meta span { font-size: 11px; color: var(--ink-3); display: block; }
.t-card.featured .t-meta span { color: rgba(255,250,243,.5); }

/* ============================================
   INSIGHTS
   ============================================ */
.insights { background: var(--bg-2); }
.insights-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.insight {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column;
  transition: transform .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.insight:hover { transform: translateY(-4px); border-color: var(--orange-soft); }
.insight .cat {
  display: inline-flex; align-self: flex-start;
  padding: 5px 10px;
  background: var(--orange-tint);
  color: var(--orange-deep);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}
.insight h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 14px;
  font-weight: 700;
  flex: 1;
}
.insight .meta {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.insight .meta .read {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange-deep);
}

.insight.feature {
  grid-row: span 1;
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  min-height: 260px;
  padding: 32px;
}
.insight.feature::before {
  content: ""; position: absolute; right: -120px; bottom: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 60%);
  opacity: 0.5;
}
.insight.feature h3 { font-size: 32px; color: var(--bg); position: relative; }
.insight.feature .cat { background: var(--orange); color: white; }
.insight.feature .meta { color: rgba(255,250,243,.5); border-top-color: rgba(255,250,243,.12); position: relative; }
.insight.feature .meta .read { color: var(--orange-soft); }

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: clamp(40px, 5vw, 72px) 0;
}
.cta-block {
  background: var(--orange);
  border-radius: 28px;
  padding: clamp(32px, 4vw, 60px);
  position: relative;
  overflow: hidden;
  color: white;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 40px;
  align-items: end;
}
.cta-block h2 {
  font-size: clamp(32px, 4vw, 64px);
  color: white;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}
.cta-block h2 em {
  font-style: italic; font-weight: 300;
  color: white;
  opacity: 0.92;
}
.cta-block .lede {
  color: rgba(255,255,255,.85);
  margin-top: 24px;
  font-size: 18px;
  max-width: 38ch;
}
.cta-actions {
  display: flex; flex-direction: column; gap: 14px;
  position: relative; z-index: 2;
}
.cta-pill {
  background: white; color: var(--ink);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: transform .25s, background .25s;
}
.cta-pill:hover { transform: translateY(-2px); background: var(--ink); color: white; }
.cta-pill:hover .cta-pill-arrow { background: var(--orange); color: white; }
.cta-pill div .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.cta-pill div .val { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.cta-pill:hover div .lbl { color: var(--orange-soft); }
.cta-pill-arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--ink); color: white;
  display: grid; place-items: center;
  transition: background .25s, color .25s;
}

.cta-bg-circuit {
  position: absolute; right: -100px; top: -100px;
  width: 600px; height: 600px;
  color: white;
  opacity: 0.18;
  pointer-events: none;
}
.cta-bg-text {
  position: absolute;
  bottom: -8%; left: -3%; right: -3%;
  font-size: 28vw;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: white;
  opacity: 0.08;
  pointer-events: none;
  white-space: nowrap;
}

/* ============================================
   FORM
   ============================================ */
.form-section { padding-bottom: clamp(52px, 6vw, 88px); padding-top: 0; }
.form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 3.5vw, 48px);
}
.form-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: end;
}
.form-head h2 { font-size: clamp(28px, 3.5vw, 48px); }
.form-head p { font-size: 16px; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: span 2; }
.field label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font: 500 16px/1.4 var(--sans);
  color: var(--ink);
  transition: border-color .2s, background .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--orange); }
.chip.on { background: var(--ink); color: white; border-color: var(--ink); }

.form-submit { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-3); max-width: 40ch; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink); color: var(--bg);
  padding: clamp(48px, 6vw, 80px) 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,250,243,.12);
}
.footer-brand .brand-name b { color: white; }
.footer-brand p {
  color: rgba(255,250,243,.6);
  font-size: 14px; line-height: 1.6;
  margin: 22px 0 28px;
  max-width: 36ch;
}
.footer h5 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  color: rgba(255,250,243,.75);
  font-size: 15px;
  transition: color .2s, padding-left .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer ul a:hover { color: white; padding-left: 6px; }
.footer ul a::before {
  content: "→";
  opacity: 0; margin-right: -8px;
  transition: opacity .2s, margin-right .2s;
  color: var(--orange);
}
.footer ul a:hover::before { opacity: 1; margin-right: 0; }

.socials { display: flex; gap: 8px; }
.social {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,250,243,.06);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
  color: rgba(255,250,243,.7);
}
.social:hover { background: var(--orange); color: white; }

.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,250,243,.5);
  flex-wrap: wrap;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 90, 31, .08); }
}
@keyframes underline-grow { to { transform: scaleX(1); } }
@keyframes float-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .hero-row, .form-head { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { min-height: 280px; order: -1; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .proj.big { grid-row: span 2; grid-column: span 2; }
  .t-grid, .insights-grid { grid-template-columns: 1fr 1fr; }
  .cta-block { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .service-grid, .feature-grid, .process-track, .projects-grid, .t-grid, .insights-grid, .footer-top, .form-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-auto-rows: auto; }
  .proj { min-height: 260px; }
  .proj-media { min-height: 180px; }
  .field.full, .proj.big { grid-column: span 1; }
  .proj.big { grid-row: span 1; }
  .hero-title { font-size: clamp(48px, 14vw, 100px); }
}

/* ============================================
   LEGAL PAGES (Privacy, Terms, Cookies)
   ============================================ */
.legal-page {
  padding: clamp(40px, 5vw, 56px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.legal-hero {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.legal-hero h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 16px;
  line-height: 1;
}
.legal-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 14px;
}
.legal-body {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}
.legal-body p { margin-bottom: 1.1em; }
.legal-body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  margin: 2.4em 0 0.7em;
  letter-spacing: -0.02em;
}
.legal-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.6em 0 0.5em;
}
.legal-body ul {
  padding-left: 1.4em;
  margin-bottom: 1.1em;
}
.legal-body ul li { margin-bottom: 0.4em; }
.legal-body a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: var(--orange-deep); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-officer {
  background: var(--bg-2);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 1.2em 0;
}
.legal-officer p { margin: 0; line-height: 1.8; }
.legal-table-wrap {
  overflow-x: auto;
  margin: 1em 0 1.4em;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.legal-table th {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  text-align: left;
}
.legal-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: var(--bg-2); }

/* ============================================
   BLOG ARCHIVE (index.php / home.php / archive.php)
   ============================================ */
.blog-page {
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.blog-hero {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.blog-hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--ink);
  margin-top: 16px;
}
.blog-lede {
  font-size: 18px;
  color: var(--ink-2);
  margin-top: 18px;
  max-width: 480px;
  line-height: 1.6;
}
.blog-grid {
  margin-bottom: clamp(40px, 6vw, 64px);
}
.blog-grid .insight h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-grid .insight h3 a:hover { color: var(--orange); }
.insight-excerpt {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight.feature .insight-excerpt { color: rgba(255,250,243,.65); }
.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0 0;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  transition: background .2s, color .2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.blog-pagination .page-numbers.dots { border: none; background: none; }
.blog-empty {
  padding: 80px 0;
  text-align: center;
}
.blog-empty h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--ink);
}
.blog-empty p { color: var(--ink-2); margin-top: 12px; }

/* ============================================
   PROJECT ARCHIVE — /work/ (archive-project.php)
   ============================================ */
.wk-page {
  padding: clamp(72px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg);
}

/* ── Page header ── */
.wk-head {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.wk-head__h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.93;
  color: var(--ink);
  margin-top: 14px;
}
.wk-head__h1 em { font-style: italic; font-weight: 300; color: var(--orange); }
.wk-head__lede {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 42ch;
  align-self: end;
  padding-bottom: 4px;
}

/* ── Filters ── */
.wk-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.wk-filters .filter { text-decoration: none; }

/* ── Row list ── */
.wk-list {
  border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 5vw, 56px);
}

.wk-item {
  display: grid;
  grid-template-columns: 36px 200px 1fr auto 44px;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: center;
  padding: clamp(20px, 2.5vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: padding .3s cubic-bezier(.2,.6,.2,1);
}
.wk-item:hover {
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 -12px;
  border-radius: 14px;
  background: var(--bg-2);
  border-bottom-color: transparent;
}
.wk-item:hover + .wk-item { border-top: 1px solid transparent; }

/* Number */
.wk-item__n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  flex-shrink: 0;
}

/* Thumbnail */
.wk-item__img {
  width: 200px;
  height: 126px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  flex-shrink: 0;
  position: relative;
}
.wk-item__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.wk-item:hover .wk-item__thumb { transform: scale(1.06); }
.wk-item__art { position: absolute; inset: 0; }

/* Info */
.wk-item__info { min-width: 0; }
.wk-item__cat {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 8px;
}
.wk-item__title {
  font-size: clamp(17px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
  transition: color .2s;
}
.wk-item:hover .wk-item__title { color: var(--orange-deep); }
.wk-item__sub {
  font-size: 13px;
  color: var(--ink-2);
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 10px;
}
.wk-item__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Service tags */
.wk-item__tags {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}
.wk-item__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Arrow */
.wk-item__arr {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid; place-items: center;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: background .25s, color .25s, border-color .25s, transform .3s;
}
.wk-item:hover .wk-item__arr {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  transform: rotate(-45deg);
}

.wk-pagination { margin-top: 0; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .wk-head { grid-template-columns: 1fr; }
  .wk-head__lede { max-width: 56ch; }
  .wk-item { grid-template-columns: 32px 160px 1fr 40px; }
  .wk-item__tags { display: none; }
  .wk-item__img { width: 160px; height: 100px; }
}
@media (max-width: 640px) {
  .wk-item { grid-template-columns: 160px 1fr 36px; gap: 14px; }
  .wk-item__n { display: none; }
  .wk-item__img { width: 120px; height: 80px; border-radius: 10px; }
  .wk-item__arr { width: 36px; height: 36px; }
}

/* ============================================
   JOURNAL / BLOG INDEX (home.php)
   ============================================ */
:root { --serif: "Newsreader", "Iowan Old Style", Georgia, serif; }

.jr-page { background: var(--bg); }

/* ── Hero ── */
.jr-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.jr-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.jr-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.jr-hero h1 em {
  font-style: italic;
  color: var(--orange);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.jr-hero-lede {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 36ch;
  margin-bottom: 24px;
}
.jr-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.jr-hero-meta b { color: var(--orange-deep); font-weight: 500; }

/* ── Filter bar ── */
.jr-filters {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.jr-filters-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.jr-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.jr-tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color .2s, background .2s;
}
.jr-tab:hover { color: var(--ink); }
.jr-tab.active { color: var(--orange-deep); background: var(--orange-tint); }
.jr-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ── Featured post ── */
.jr-featured {
  padding: clamp(52px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
.jr-featured-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  text-decoration: none;
  transition: opacity .25s;
}
.jr-featured-link:hover { opacity: 0.88; }
.jr-featured-img {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, #FFD0B0 0%, transparent 60%),
    linear-gradient(135deg, #FFE6CC 0%, #FF8A4F 100%);
}
.jr-featured-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.jr-featured-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.jr-featured-meta .jr-feat-cat { color: var(--orange-deep); }
.jr-featured h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}
.jr-featured-excerpt {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
  margin-bottom: 28px;
}
.jr-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  text-decoration: none;
}
.jr-read-more::after {
  content: "→";
  transition: transform .25s;
  display: inline-block;
}
.jr-featured-link:hover .jr-read-more::after { transform: translateX(4px); }

/* ── Post list ── */
.jr-list { padding: 0 0 clamp(72px, 9vw, 120px); }
.jr-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 2fr 130px 90px;
  gap: 32px;
  align-items: baseline;
  padding: clamp(24px, 3.5vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: padding-left .3s cubic-bezier(.2,.6,.2,1);
}
.jr-row:hover { padding-left: 16px; }
.jr-row::before {
  content: "";
  position: absolute;
  left: -8px; top: 50%; transform: translateY(-50%);
  width: 0; height: 1px;
  background: var(--orange);
  transition: width .3s cubic-bezier(.2,.6,.2,1);
}
.jr-row:hover::before { width: 16px; }
.jr-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  transition: color .2s;
}
.jr-row:hover .jr-num { color: var(--orange-deep); }
.jr-row-cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.jr-row h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
.jr-row-date, .jr-row-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.jr-row-time { text-align: right; }

/* ── Subscribe ── */
.jr-subscribe {
  padding: clamp(52px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.jr-sub-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.jr-sub-inner h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 18px;
}
.jr-sub-inner h2 em { font-style: italic; color: var(--orange); }
.jr-sub-form {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  margin-top: 24px;
}
.jr-sub-form input {
  flex: 1;
  background: transparent;
  border: 0;
  font: 500 16px/1.4 var(--sans);
  color: var(--ink);
  outline: none;
  padding: 8px 0;
}
.jr-sub-form input::placeholder { color: var(--ink-3); }
.jr-sub-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 0;
  transition: color .2s;
}
.jr-sub-btn:hover { color: var(--orange); }
.jr-sub-note {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 12px;
  line-height: 1.5;
}
.jr-sub-side {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 2.4;
}
.jr-sub-side b { color: var(--ink); }
.jr-sub-msg {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange-deep);
  margin-top: 10px;
  min-height: 20px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .jr-hero-grid,
  .jr-featured-link,
  .jr-sub-inner { grid-template-columns: 1fr; }
  .jr-featured-img { aspect-ratio: 16 / 9; }
  .jr-row {
    grid-template-columns: 60px 1fr;
    gap: 10px 16px;
    grid-template-areas:
      "num cat"
      ". title"
      ". date";
  }
  .jr-num      { grid-area: num; }
  .jr-row-cat  { grid-area: cat; }
  .jr-row h3   { grid-area: title; }
  .jr-row-date { grid-area: date; }
  .jr-row-time { display: none; }
}
@media (max-width: 640px) {
  .jr-hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .jr-featured h2 { font-size: clamp(24px, 6vw, 36px); }
}

/* ============================================
   SINGLE BLOG POST (single.php)
   ============================================ */
.post-page {
  background: var(--bg);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.post-hero {
  padding: clamp(40px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.post-hero-inner { max-width: 800px; }
.post-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.post-eyebrow .cat {
  background: var(--orange-tint);
  color: var(--orange-deep);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
}
.post-divider { color: var(--line-strong); }
.post-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  text-wrap: balance;
}
.post-lede {
  font-size: 20px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 640px;
}
.post-cover {
  margin: 40px 0;
}
.post-cover img {
  width: 100%;
  height: clamp(240px, 45vw, 560px);
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.post-thumbnail {
  margin-bottom: 40px;
}
.post-thumbnail img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* Post body — extends legal-body with WP block styles */
.post-body {
  max-width: 720px;
  margin: 40px 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}
.post-body p { margin-bottom: 1.2em; }
.post-body h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
  margin: 2.2em 0 0.6em;
  letter-spacing: -0.02em;
}
.post-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.8em 0 0.5em;
}
.post-body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.4em 0 0.4em;
}
.post-body ul, .post-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
.post-body ul li, .post-body ol li { margin-bottom: 0.5em; }
.post-body blockquote {
  margin: 2em 0;
  padding: 24px 32px;
  background: var(--orange-tint);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 19px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.post-body blockquote p { margin: 0; }
.post-body pre {
  background: var(--ink);
  color: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  margin: 1.6em 0;
}
.post-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-2);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--orange-deep);
}
.post-body pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.post-body a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body a:hover { color: var(--orange-deep); }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.5em 0;
}
.post-body figure { margin: 2em 0; }
.post-body figcaption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 10px;
}
.post-body hr {
  border: none;
  border-top: 1px solid var(--line-strong);
  margin: 2.5em 0;
}

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-tags-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.post-tags .tag { font-size: 13px; }

/* Prev / Next navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 48px 0 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: var(--bg-2);
  border-radius: var(--radius);
  transition: background .2s;
}
.post-nav-item:hover { background: var(--orange-tint); }
.post-nav-next { text-align: right; }
.post-nav-dir {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.post-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-back { margin-top: 8px; }

/* Responsive — post + blog */
@media (max-width: 768px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
  .post-body { font-size: 16px; }
  .blog-grid.insights-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SINGLE PROJECT (case study)
   ============================================ */
.proj-page { background: var(--bg); }
.proj-page .section { padding-top: 0; padding-bottom: 0; }

.proj-hero {
  padding: clamp(40px, 5vw, 56px) 0 clamp(40px, 6vw, 64px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.proj-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color .2s;
  margin-bottom: 28px;
}
.proj-back:hover { color: var(--ink); }
.proj-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.proj-tag-inline {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--orange-tint);
  color: var(--orange-deep);
  padding: 4px 10px;
  border-radius: 999px;
}
.proj-hero-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 880px;
}
.proj-summary {
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 680px;
  color: var(--ink-2);
}

/* Featured image — rounded card below title, natural proportions */
.proj-cover {
  padding: 40px 0 0;
  background: var(--bg);
}
.proj-cover-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 8px 40px -8px rgba(21,17,14,.14);
}

/* Metrics bar */
.proj-metrics-bar {
  background: var(--ink);
  color: white;
  padding: 48px 0;
}
.proj-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 60px;
  justify-content: center;
}
.proj-metric-val {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
}
.proj-metric-lbl {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
}

/* Case study body */
.proj-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}
.proj-col .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.proj-col p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.proj-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.proj-content {
  max-width: 740px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0; /* override .post-body margin: 40px 0 */
}
.proj-content p { margin-bottom: 1.2em; }
.proj-content h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
  margin: 2.2em 0 0.6em;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.proj-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.8em 0 0.5em;
  line-height: 1.2;
}
.proj-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.4em 0 0.4em;
}
.proj-content ul, .proj-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
.proj-content ul li, .proj-content ol li { margin-bottom: 0.5em; }
.proj-content blockquote {
  margin: 2em 0;
  padding: 24px 32px;
  background: var(--orange-tint);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 19px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.proj-content blockquote p { margin: 0; }
.proj-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}
.proj-content a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.proj-content a:hover { color: var(--orange-deep); }
.proj-content strong { color: var(--ink); font-weight: 600; }
.proj-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 2em 0;
  display: block;
  box-shadow: 0 4px 24px -4px rgba(21,17,14,.12);
}
.proj-content code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-2);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--orange-deep);
}
.proj-content pre {
  background: var(--ink);
  color: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  margin: 1.6em 0;
}
.proj-content pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

/* Project prev/next nav */
.proj-nav {
  border-top: 1px solid var(--line);
}
.proj-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.proj-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  max-width: 40%;
}
.proj-nav-link--next {
  text-align: right;
  align-items: flex-end;
}
.proj-nav-dir {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-2);
}
.proj-nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}
.proj-nav-link:hover .proj-nav-title { color: var(--orange); }

/* ============================================
   PROJECT DETAIL — single-project.php (pd-*)
   ============================================ */

/* ── Hero ── */
.pd-hero {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: 0;
  background: var(--bg);
}

.pd-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 40px;
}
.pd-crumbs a { color: var(--ink-3); text-decoration: none; transition: color .2s; }
.pd-crumbs a:hover { color: var(--orange-deep); }
.pd-crumbs .sep { color: var(--orange); opacity: .6; }

/* Two-column: title block left, summary right */
.pd-head {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.pd-title {
  font-size: clamp(40px, 7vw, 112px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--ink);
  text-wrap: balance;
  margin-top: 18px;
}
.pd-title em { font-style: italic; font-weight: 300; color: var(--orange); }
.pd-subtitle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-top: 16px;
  display: block;
}
.pd-summary {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 44ch;
  padding-bottom: 6px;
}
.pd-summary b { color: var(--ink); font-weight: 600; }

/* ── Meta strip ── */
.pd-meta-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
.pd-meta-row > div {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.pd-meta-row > div:last-child { border-right: none; }
/* label */
.pd-meta-row .pd-meta-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 400;
}
/* value */
.pd-meta-row .pd-meta-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
.pd-meta-row .pd-meta-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2BB573;
  flex-shrink: 0;
}

/* ── Summary column: stacks summary + live-site button ── */
.pd-summary-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 6px;
  max-width: 44ch;
}
.pd-summary { max-width: 100%; padding-bottom: 0; }
.pd-live-btn { margin-top: 24px; }

/* ── Cover image ── */
.pd-cover-wrap {
  padding: 8px 0 0;
  background: var(--bg);
}
.pd-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 2px 32px rgba(21,17,14,.07), 0 1px 4px rgba(21,17,14,.04);
}
.pd-cover-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}
.pd-cover-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  padding: 6px 13px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  color: white;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── Body: sidebar + content ── */
.pd-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.pd-body--no-aside { grid-template-columns: 1fr; max-width: 720px; }

.pd-body aside {
  position: sticky;
  top: 96px;
  align-self: start;
}
.pd-aside-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}
.pd-aside-card h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 16px;
}
.pd-aside-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pd-aside-card li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink); line-height: 1.4;
}
.pd-aside-card li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* Content blocks */
.pd-blocks { display: flex; flex-direction: column; }
.pd-block { padding-bottom: 44px; }
.pd-block + .pd-block { padding-top: 44px; border-top: 1px solid var(--line); }
.pd-block .eyebrow { color: var(--orange-deep); display: block; margin-bottom: 12px; }
.pd-block h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 14px;
}
.pd-block p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
  max-width: 68ch;
}

/* ── Results strip ── */
.pd-results {
  background: var(--ink);
  color: var(--bg);
  border-radius: 20px;
  padding: clamp(32px, 4.5vw, 56px) clamp(28px, 4vw, 52px);
  margin: clamp(24px, 4vw, 48px) 0;
  position: relative;
  overflow: hidden;
}
.pd-results::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 65%);
  opacity: 0.45;
  pointer-events: none;
}
.pd-results .eyebrow { color: var(--orange-soft); margin-bottom: 28px; display: block; }
.pd-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative; z-index: 2;
}
.pd-result-num {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--bg);
}
.pd-result-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,250,243,.5);
  margin-top: 10px;
}

/* ── Next project ── */
.pd-next {
  background: var(--orange);
  color: white;
  border-radius: 24px;
  padding: clamp(32px, 4.5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin: clamp(24px, 4vw, 48px) 0;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: transform .3s cubic-bezier(.2,.6,.2,1), box-shadow .3s;
}
.pd-next:hover { transform: translateY(-4px); box-shadow: 0 20px 48px -8px rgba(224,68,13,.35); }
.pd-next-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.pd-next h2 {
  font-size: clamp(22px, 3vw, 46px);
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.pd-next-arrow {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: white;
  color: var(--orange);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .3s;
}
.pd-next:hover .pd-next-arrow { transform: rotate(-15deg) scale(1.08); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .pd-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .pd-summary-col { max-width: 100%; }
  .pd-meta-row { grid-template-columns: 1fr 1fr; }
  .pd-meta-row > div:nth-child(2) { border-right: none; }
  .pd-meta-row > div:nth-child(3) { border-top: 1px solid var(--line); }
  .pd-meta-row > div:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
  .pd-body { grid-template-columns: 1fr; }
  .pd-body aside { position: static; }
  .pd-results-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pd-cover { border-radius: 12px; }
  .pd-meta-row { grid-template-columns: 1fr 1fr; }
  .pd-meta-row > div { padding: 14px 16px; }
  .pd-results-grid { grid-template-columns: 1fr 1fr; }
  .pd-next-arrow { display: none; }
}

/* ── Cover art (gradient fallback when no hero image) ── */
.pd-cover-art {
  position: absolute;
  inset: 0;
}

/* ── Gallery grid ── */
.pd-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: clamp(24px, 4vw, 48px) 0;
}
.pd-gallery-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.pd-gallery-slot.wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}
.pd-gallery-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .pd-gallery { grid-template-columns: 1fr; }
  .pd-gallery-slot.wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ============================================
   LEAD MAGNET SECTION
   ============================================ */
.lead-magnet-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lm-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.lm-desc {
  margin: 16px 0 24px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.lm-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lm-bullets li {
  font-size: .9375rem;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.lm-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.lm-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.lm-card-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.lm-card-sub {
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.lm-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lm-success {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--ink);
  padding: 24px 0;
}

@media (max-width: 768px) {
  .lm-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .proj-metrics { gap: 28px 40px; }
  .proj-cols { grid-template-columns: 1fr; gap: 32px; }
  .proj-nav-inner { flex-direction: column; gap: 20px; }
  .proj-nav-link { max-width: 100%; }
  .proj-nav-link--next { align-items: flex-start; }
}

/* ============================================
   FORM THANK-YOU STATE
   ============================================ */
.form-thank-you {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 56px 48px;
  animation: fty-in .45s cubic-bezier(.22,1,.36,1) both;
}
@keyframes fty-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fty-icon { line-height: 0; }
.form-thank-you h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
}
.fty-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0;
}
.fty-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 28px;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  max-width: 480px;
}
.fty-step {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fty-step-n {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--orange);
  min-width: 24px;
}
.fty-step-t {
  font-size: .9375rem;
  color: var(--ink);
}
.fty-note {
  font-size: .875rem;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 640px) {
  .form-thank-you {
    padding: 36px 24px;
    gap: 20px;
  }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 8px;
}
.trust-client {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 20px;
  white-space: nowrap;
  transition: color .2s;
}
.trust-client:hover { color: var(--ink); }
.trust-sep {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--orange-soft);
  flex-shrink: 0;
}
.trust-more {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  padding: 0 20px;
  white-space: nowrap;
}

/* ============================================
   TECH STACK SECTION
   ============================================ */
.tech-stack-section {
  background: var(--ink);
  color: var(--bg);
}
.tech-stack-section .eyebrow { color: var(--orange); }
.tech-stack-section .section-head .head-right { color: rgba(255,250,243,.65); }
.tech-stack-section h2 { color: var(--bg); }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.stack-card {
  background: rgba(255,250,243,.04);
  border: 1px solid rgba(255,250,243,.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background .3s, border-color .3s;
}
.stack-card:hover {
  background: rgba(255,250,243,.07);
  border-color: var(--orange);
}
.stack-card-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange);
  display: grid; place-items: center;
  color: white;
  margin-bottom: 18px;
  font-size: 20px;
}
.stack-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stack-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid rgba(255,250,243,.12);
  border-radius: 999px;
  color: rgba(255,250,243,.65);
}

.stack-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255,250,243,.08);
  padding-top: 40px;
}
.stack-proof-item { text-align: left; }
.stack-proof-val {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
}
.stack-proof-lbl {
  font-size: 13px;
  color: rgba(255,250,243,.55);
  margin-top: 8px;
  line-height: 1.4;
}

/* Stack pills in About section */
.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.stack-pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--bg);
  transition: border-color .2s, color .2s, background .2s;
}
.stack-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-tint);
}

/* ============================================
   FORM QUICK ACTIONS
   ============================================ */
.form-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.form-quick-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.form-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}
.form-quick-btn:hover {
  border-color: var(--orange);
  background: var(--orange-tint);
  color: var(--ink);
}
.form-quick-btn svg { flex-shrink: 0; }

/* ============================================
   WHATSAPP FLOAT + STICKY CTA
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px -6px rgba(37,211,102,.55);
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 32px -8px rgba(37,211,102,.6);
}

.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 190;
  background: var(--ink);
  color: var(--bg);
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  border-top: 1px solid rgba(255,250,243,.08);
}
.sticky-cta[hidden] {
  display: none;
}
.sticky-cta-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.sticky-cta-copy p {
  font-size: 14px;
  color: rgba(255,250,243,.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta-close {
  background: none;
  border: none;
  color: rgba(255,250,243,.5);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  transition: color .2s;
  flex-shrink: 0;
}
.sticky-cta-close:hover { color: white; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-title .swirl::after { animation: none; transform: scaleX(1); }
  .brand-mark::after { animation: none; }
  .hero-tag .dot { animation: none; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* Responsive — tech stack + trust bar */
@media (max-width: 980px) {
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .stack-proof { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .stack-grid { grid-template-columns: 1fr; }
  .stack-proof { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { justify-content: flex-start; }
  .wa-float { bottom: 80px; right: 20px; width: 48px; height: 48px; }
  .sticky-cta { padding: 12px var(--pad); }
  .sticky-cta-copy p { display: none; }
}

/* ============================================
   CAREERS — Archive + Single
   ============================================ */

/* Archive hero */
.careers-hero.section { padding-top: clamp(40px, 5vw, 56px); }
.careers-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 20px;
}
.careers-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.careers-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.careers-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.careers-perk-ico { font-size: 22px; line-height: 1; flex-shrink: 0; }
.careers-perk b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.careers-perk span { font-size: 12px; color: var(--ink-3); margin-top: 3px; display: block; }

/* Department filters */
.careers-filters { display: flex; gap: 6px; flex-wrap: wrap; }

/* Jobs list */
.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .25s;
}
.job-card:hover {
  border-color: var(--orange);
  background: var(--bg);
  transform: translateY(-2px);
}
.job-dept {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: block;
  margin-bottom: 6px;
}
.job-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.job-excerpt {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.job-meta-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  white-space: nowrap;
}
.job-arrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
  white-space: nowrap;
  transition: letter-spacing .2s;
}
.job-card:hover .job-arrow { letter-spacing: 0.14em; }

.jobs-empty {
  text-align: center;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.jobs-empty p { font-size: 16px; color: var(--ink-2); }
.jobs-empty a:not(.btn) { color: var(--orange); }

/* Single job */
.job-page { background: var(--bg); }
.job-hero {
  border-bottom: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: 40px;
}
.job-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color .2s;
  margin-bottom: 24px;
}
.job-back:hover { color: var(--ink); }
.job-hero-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 12px 0 20px;
  color: var(--ink);
}
.job-badges { display: flex; gap: 8px; flex-wrap: wrap; }

/* Two-column layout */
.job-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
.job-summary {
  font-size: 1.125rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

/* Apply card */
.job-apply-wrap { position: sticky; top: 92px; }
.job-apply-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.job-apply-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.job-apply-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.job-apply-form { display: flex; flex-direction: column; gap: 14px; }
.field-hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-left: 8px;
}
.field-file {
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.field-file:hover { border-color: var(--orange); }
.job-apply-note {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 4px;
}
.job-apply-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 16px 0;
}
.job-apply-success h3 { font-size: 20px; color: var(--ink); margin: 0; }
.job-apply-success p  { font-size: 15px; color: var(--ink-2); margin: 0; }
.job-apply-success a  { color: var(--orange); }

.job-closed-tag {
  background: #4B413A;
  color: #fff;
  border-color: transparent;
}

.job-closed-notice {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 15px;
  color: var(--ink-2);
}
.job-closed-notice a { color: var(--orange); }

@media (max-width: 980px) {
  .careers-perks { grid-template-columns: 1fr 1fr; }
  .job-layout { grid-template-columns: 1fr; }
  .job-apply-wrap { position: static; }
}
@media (max-width: 640px) {
  .careers-perks { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .job-card-meta { flex-wrap: wrap; }
}
