:root {
  --coral: #FF9E88;
  --turquoise: #2DD4BF;
  --purple: #7C4DFF;
  --ink: #1A1A1A;
  --paper: #f7f3ee;
  --paper-warm: #EFE8DF;
  --muted: #5A5A5A;
  --subtle: #8A8A8A;
  --line: rgba(26, 26, 26, 0.12);
  --display: 'Playfair Display', 'Times New Roman', serif;
  --body: 'Inter Tight', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag::before { content: '[ '; opacity: 0.45; }
.tag::after  { content: ' ]'; opacity: 0.45; }

/* ============ NAV ============ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 238, 0.85);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { width: 30px; height: 30px; animation: spin 32s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--coral);
  color: var(--paper) !important;
  opacity: 1 !important;
  border: 2px solid var(--coral);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px 100px;
  z-index: 2;
}
.hero-tag {
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 44px;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}
.hero h1 span {
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s forwards;
}
.hero h1 span:nth-child(1) { animation-delay: 0.2s; }
.hero h1 span:nth-child(2) { animation-delay: 0.35s; }
.hero h1 span:nth-child(3) { animation-delay: 0.5s; }

.hero-sub {
  max-width: 56ch;
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.85s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--coral); transform: translateY(-2px); }
.btn-secondary { border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--coral); color: var(--paper); border: var(--coral); }
.btn svg { transition: transform 0.15s; }
.btn:hover svg { transform: translate(3px, -3px); }

.hero-fractal {
  position: absolute;
  top: 90px;
  right: -80px;
  width: 460px;
  height: 460px;
  z-index: -1;
  animation: float 22s ease-in-out infinite, fadeIn 1.6s 0.3s forwards;
  opacity: 0;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(8deg); }
}
@keyframes fadeIn { to { opacity: 0.85; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ PROOF BAR ============ */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 40px;
  background: var(--paper-warm);
  position: relative;
  z-index: 2;
}
.proof-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 760px) {
  .proof-inner { grid-template-columns: 1fr; gap: 20px; }
}
.proof-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.proof-logos {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--body);
  font-weight: 400;
  font-size: 18px;
  color: var(--subtle);
  opacity: 0.8;
}
.proof-logos span { letter-spacing: -0.01em; }

/* ============ SECTION SHELL ============ */
section.block {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
  z-index: 2;
}
.block-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 860px) {
  .block-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
}
.block-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 80ch;
}
.block-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}

/* ============ HOW I HELP ============ */
.help-text p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(16px, 3vw, 24px);
  line-height: 1.35;
  margin-bottom: 24px;
  max-width: 100;
}
.help-text p:last-child { margin-bottom: 0; }
.highlight-text {
  font-weight: 500;
  background: linear-gradient(180deg, transparent 62%, rgba(45, 212, 191, 0.4) 62%);
  padding: 0 3px;
}
.help-text strong,
.hero-sub strong,
.case-card strong,
.about-text strong {
  font-weight: 500;
  background: linear-gradient(180deg, transparent 62%, rgba(45, 212, 191, 0.4) 62%);
  padding: 0 3px;
}

.help-text-indented { padding-left: 268px; }
.help-text-note {
  color: var(--muted);
  font-family: var(--body);
  font-size: clamp(14px, 2.2vw, 18px);
}
@media (max-width: 760px) {
  .help-text-indented { padding-left: 0; }
}

/* ============ SERVICES ============ */
.services {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
  z-index: 2;
}

.services-intro {
  max-width: 100ch;
  font-size: 16px;
  font-family: var(--body);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 64px;
  padding-left: 268px;
}
@media (max-width: 1260px) {
  .services-intro { padding-left: 200; font-size: 16px; margin-bottom: 40px; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1040px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
}

.service-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(26, 26, 26, 0.15);
}
@media (max-width: 1040px) {
  .service-card { padding: 36px 28px 32px; }
}

.service-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.service-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.service-pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--coral);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  font-weight: 500;
}

.service-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

.service-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 16px;
}

.service-duration {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 28px;
}

.service-card > p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 32px;
}

.service-changes {
  margin-top: auto;
  padding-bottom: 28px;
}
.service-changes-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 20px;
}
.service-changes ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-changes li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.service-changes li::before {
  content: '–';
  color: var(--subtle);
  font-family: var(--mono);
}

.service-cta {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s, gap 0.2s;
}
.service-cta:hover {
  color: var(--coral);
  gap: 14px;
}
.service-cta svg { transition: transform 0.2s; }
.service-cta:hover svg { transform: translateX(3px); }

.services-outro {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.services-outro p {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 44ch;
  margin: 0 auto 32px;
}

/* ============ CASE STUDIES ============ */
.cases {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
  z-index: 2;
}
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 960px) {
  .cases-grid { grid-template-columns: 1fr; gap: 32px; }
}
.case-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(26, 26, 26, 0.15);
}
@media (max-width: 960px) {
  .case-card { padding: 36px 28px 32px; }
}
.case-client {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 16px;
}
.case-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}
.case-card h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}
.case-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 24px;
}
.case-section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
  margin-top: 24px;
}
.case-section-label:first-of-type { margin-top: 0; }
.case-card > p,
.case-section p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0;
}
.case-outcome {
  margin-top: auto;
  padding-top: 28px;
}
.case-outcome ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-outcome li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.case-outcome li::before {
  content: '–';
  color: var(--subtle);
  font-family: var(--mono);
}
.case-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}
.case-pills .pill {
  font-size: 11px;
  padding: 5px 10px;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-portrait {
  position: relative;
  aspect-ratio: 3/3;
  background: linear-gradient(135deg, var(--coral) 0%, var(--purple) 100%);
  border-radius: 8px;
  overflow: hidden;
}
.about-portrait svg {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 50%;
  opacity: 0.7;
  mix-blend-mode: soft-light;
}
.about-portrait .initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: 200px;
  color: var(--paper);
  letter-spacing: -0.05em;
  mix-blend-mode: overlay;
}
.about-text h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.about-text h3 em { font-style: italic; color: var(--coral); font-weight: 400; }
.about-text p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 20px;
  color: var(--muted);
}
.about-text p:first-of-type { color: var(--ink); font-size: 18px; }
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.pill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  background: var(--paper);
}

/* ============ CTA ============ */
.cta {
  padding: 80px 40px;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.cta-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.cta .tag { display: inline-block; margin-bottom: 32px; color: var(--ink); }
.cta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
}
.cta h2 em { font-style: italic; color: var(--coral); font-weight: 400; }
.cta p {
  font-size: 16px;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 44px;
  line-height: 1.55;
}
.cta-email {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  transition: all 0.2s;
}
.cta-email:hover { color: var(--coral); border-color: var(--coral); }
.cta-bg {
  position: absolute;
  width: 720px;
  height: 720px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.35;
  animation: spin 80s linear infinite;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 40px;
  position: relative;
  z-index: 2;
  background: var(--paper-warm);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

/* ============ MOBILE ============ */
@media (max-width: 760px) {
  .nav-inner { padding: 16px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 60px 20px 60px; }
  section.block { padding: 80px 20px; }
  .services { padding: 80px 20px; }
  .hero-fractal { display: none; }
  .cta { padding: 100px 20px; }
  .proof { padding: 24px 20px; }
  footer { padding: 32px 20px; }
}
