:root {
  --ink: #14161A;
  --ink-2: #23262C;
  --bone: #F3EEE5;
  --bone-2: #E9E2D5;
  --ember: #E4572E;
  --ember-deep: #B83F1C;
  --muted: #6B6E73;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--ember); font-weight: 400; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
h1 { font-size: clamp(44px, 9vw, 128px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: 24px; line-height: 1.15; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ember-deep); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--ember); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bone);
  padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--ember); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(228,87,46,.6); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-big { font-size: clamp(16px, 2.2vw, 22px); padding: 20px 34px; background: var(--ember); }
.btn-big:hover { background: var(--bone); color: var(--ink); }
.link-arrow { font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--pad);
  background: rgba(20,22,26,.88); backdrop-filter: blur(12px); color: var(--bone);
  border-bottom: 1px solid rgba(243,238,229,.08);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; }
.brand b { font-weight: 800; margin-left: 2px; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--ember); }
.nav .btn { background: var(--ember); }
.nav .btn:hover { background: var(--bone); color: var(--ink); }
.brand-icon { border-radius: 10px; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px;
  min-height: min(calc(100vh - 74px), 860px); padding: 40px var(--pad) 80px;
  background: var(--ink); color: var(--bone);
}
.hero h1 { color: var(--bone); }
.hero .eyebrow { color: var(--ember); }
.hero .btn { background: var(--ember); }
.hero .btn:hover { background: var(--bone); color: var(--ink); }
.hero .link-arrow { border-color: var(--bone); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #C9C5BD; max-width: 34ch; margin: 28px 0 36px; }
.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-art { position: relative; max-width: 520px; justify-self: center; width: 100%; }
.glow {
  position: absolute; inset: 10% 0 20%; border-radius: 50%;
  background: radial-gradient(circle, rgba(228,87,46,.28) 0%, transparent 65%);
  filter: blur(20px);
}
.hero-mark { position: relative; width: 100%; height: auto; mix-blend-mode: lighten; animation: bob 7s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.tag {
  position: absolute; z-index: 2; background: var(--bone); color: var(--ink); border: 1.5px solid var(--ink);
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 4px 4px 0 var(--ember);
}
.tag-1 { top: 20%; left: -8%; transform: rotate(-6deg); }
.tag-2 { bottom: 26%; left: -6%; transform: rotate(4deg); }
.tag-3 { top: 44%; right: -4%; transform: rotate(7deg); background: var(--ember); color: var(--ink); box-shadow: 4px 4px 0 var(--bone); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* marquee */
.marquee { background: var(--ember); color: var(--ink); overflow: hidden; padding: 22px 0; }
.track { display: flex; gap: 40px; width: max-content; animation: slide 30s linear infinite; font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); font-style: italic; }
.track i { color: var(--bone); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section { padding: clamp(80px, 11vw, 150px) var(--pad); }
.section-head { max-width: 900px; margin-bottom: 64px; }

.noise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(20,22,26,.12); border: 2px solid rgba(20,22,26,.12); border-radius: var(--radius); overflow: hidden; }
.noise-grid article { background: var(--bone); padding: 36px 28px 44px; transition: background .25s; }
.noise-grid article:hover { background: #fff8ee; }
.num { font-family: var(--serif); font-size: 15px; color: var(--ember-deep); display: block; margin-bottom: 44px; }
.noise-grid p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.punch { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; max-width: 30ch; margin-top: 64px; }

.conductor { background: var(--ember); color: var(--ink); }
.conductor blockquote { max-width: 1100px; }
.conductor p { font-family: var(--serif); font-size: clamp(28px, 4vw, 54px); line-height: 1.15; letter-spacing: -0.02em; }
.conductor em { color: var(--bone); }
.conductor cite { display: block; margin-top: 32px; font-style: normal; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 24px; }
.steps span { font-family: var(--serif); font-size: 64px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--ink); line-height: 1; display: block; margin-bottom: 20px; }
.steps p { color: var(--muted); margin-top: 12px; font-size: 15px; }

.services { background: var(--bone-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.card { background: var(--bone); border-radius: var(--radius); padding: 40px 34px; border: 1.5px solid rgba(20,22,26,.1); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20,22,26,.35); }
.card-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 18px; }
.card h3 { font-size: 32px; margin-bottom: 12px; }
.card > p { color: var(--muted); }
.card ul { list-style: none; margin-top: 28px; border-top: 1px solid rgba(20,22,26,.12); }
.card li { padding: 12px 0 12px 28px; border-bottom: 1px solid rgba(20,22,26,.08); position: relative; font-size: 15px; }
.card li::before { content: "✳"; position: absolute; left: 0; color: var(--ember); }
.card-feature { background: var(--ink); color: var(--bone); border-color: var(--ink); transform: translateY(-12px); }
.card-feature:hover { transform: translateY(-18px); }
.card-feature > p { color: #B9B6AF; }
.card-feature .card-kicker { color: var(--ember); }
.card-feature ul, .card-feature li { border-color: rgba(243,238,229,.14); }

.tech { background: var(--ink); color: var(--bone); display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.tech-copy p:last-child { color: #B9B6AF; margin-top: 24px; font-size: 18px; max-width: 36ch; }
.tech-list { list-style: none; }
.tech-list li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(243,238,229,.14); }
.tech-list li:first-child { border-top: 1px solid rgba(243,238,229,.14); }
.tech-list b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.tech-list span { color: #B9B6AF; }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.people article { border: 1.5px solid rgba(20,22,26,.12); border-radius: var(--radius); padding: 40px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--bone); display: grid; place-items: center; font-family: var(--serif); font-size: 24px; margin-bottom: 24px; }
.people article:nth-child(2) .avatar { background: var(--ember); }
.role { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); margin: 8px 0 16px; }
.people p:last-child { color: var(--muted); }

.contact { background: var(--ink); color: var(--bone); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.contact h2 { font-size: clamp(48px, 8vw, 110px); font-weight: 800; letter-spacing: -0.04em; }
.contact p { color: #B9B6AF; font-size: 18px; margin-bottom: 12px; }

.footer { background: var(--ink); color: #8C8981; display: flex; justify-content: space-between; padding: 28px var(--pad); font-size: 13px; border-top: 1px solid rgba(243,238,229,.1); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero, .tech { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; padding-top: 32px; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .noise-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cards, .people { grid-template-columns: 1fr; }
  .card-feature { transform: none; }
  .nav nav a:not(.btn) { display: none; }
  .tag-1, .tag-2 { left: 0; }
  .tag-3 { right: 0; }
  .hero-art { max-width: 360px; }
  .tech-list li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .noise-grid, .steps { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 6px; }
}

.contact-icon { border-radius: 24px; box-shadow: 0 20px 60px -20px rgba(228,87,46,.5); }

/* task chips */
.tasks { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; max-width: 1100px; }
.tasks li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 12px 20px; font-weight: 500; font-size: 15px; background: var(--bone); transition: background .2s, color .2s, transform .2s; }
.tasks li:nth-child(3n+1) { background: var(--ink); color: var(--bone); }
.tasks li:hover { background: var(--ember); color: var(--ink); transform: translateY(-2px); }

/* buckets */
.buckets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(20,22,26,.12); border: 2px solid rgba(20,22,26,.12); border-radius: var(--radius); overflow: hidden; }
.buckets article { background: var(--bone); padding: 40px 32px 48px; }
.buckets article:nth-child(2) { background: #fff8ee; }
.buckets .num { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-family: var(--sans); margin-bottom: 28px; }
.buckets h3 { font-size: 30px; }
.buckets p { color: var(--muted); margin-top: 14px; }

/* sample report */
.report { background: var(--bone); border-radius: var(--radius); border: 1.5px solid rgba(20,22,26,.1); padding: clamp(28px, 4vw, 56px); max-width: 1100px; box-shadow: 0 40px 80px -50px rgba(20,22,26,.45); }
.report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.report-top h3 { font-size: 36px; }
.sample-flag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--bone); padding: 8px 14px; border-radius: 999px; }
.report-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.report-stats div { border-top: 3px solid var(--ember); padding-top: 16px; }
.report-stats b { display: block; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.report-stats span { color: var(--muted); font-size: 15px; }
.report table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 20px; }
.report th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 0; border-bottom: 1.5px solid var(--ink); }
.report td { padding: 14px 0; border-bottom: 1px solid rgba(20,22,26,.1); }
.report td:not(:first-child), .report th:not(:first-child) { text-align: right; }
.fine { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

/* restaurants */
.section-sub { color: var(--muted); font-size: 18px; max-width: 60ch; margin-top: 20px; }
.restaurants .card ul { display: none; }

@media (max-width: 960px) {
  .buckets, .report-stats { grid-template-columns: 1fr; }
}
