:root {
  --ink: #111111;
  --paper: #F4F1EA;
  --surface: #EDE9E0;
  --text: #111111;
  --muted: rgba(17,17,17,0.55);
  --faint: rgba(17,17,17,0.32);
  --ghost: rgba(17,17,17,0.12);
  --line: rgba(17,17,17,0.12);
  --display: "Archivo", -apple-system, sans-serif;
  --sans: "Archivo", -apple-system, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(48px, 8.5vw, 110px); line-height: 0.92; font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.02; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.arrow-box { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--text); display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* nav pill */
.nav-pill { position: fixed; top: 26px; left: 50%; transform: translateX(-50%); z-index: 200; background: var(--ink); color: #F4F1EA; border-radius: 20px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; font-family: var(--display); font-weight: 700; font-size: 15px; }
.nav-pill-toggle { width: 32px; height: 32px; border-radius: 8px; background: #F4F1EA; color: var(--ink); border: none; cursor: pointer; font-size: 20px; letter-spacing: 1px; display: flex; align-items: center; justify-content: center; }
.nav-dropdown { position: fixed; top: 70px; left: 50%; transform: translateX(-50%) translateY(-8px); background: var(--ink); border-radius: 16px; padding: 12px; z-index: 199; width: 190px; display: flex; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.nav-dropdown.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { background: #F4F1EA; color: var(--ink); border-radius: 8px; padding: 10px 14px; font-size: 14px; font-weight: 500; transition: transform .2s; }
.nav-dropdown a:hover { transform: translateX(6px); }

/* hero + bio sticky sequence */
.hero-scroll-wrap { position: relative; height: 230vh; }
.hero-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero-pin .wrap { height: 100%; position: relative; padding-top: 90px; padding-bottom: 40px; }

.hero-stage { position: absolute; inset: 90px 32px 40px 32px; max-width: calc(var(--max) - 64px); margin: 0 auto; transition: opacity 0.3s ease; }
.hero-headline { text-align: left; }
.hero-bottom-row { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--display); font-weight: 800; font-size: 22px; }
.hero-bottom-row .tag { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }

.hero-photo { position: absolute; background: #111 center/cover no-repeat; will-change: transform, width, height, top, left; z-index: 3; }

.bio-grid { display: none; position: absolute; inset: 90px 32px 40px 32px; max-width: calc(var(--max) - 64px); margin: 0 auto; grid-template-columns: 1fr 1fr; }
.bio-grid.show { display: grid; }
.bio-left { display: flex; flex-direction: column; gap: 24px; }
.bio-hey { font-size: clamp(36px, 5vw, 56px); font-weight: 800; text-transform: uppercase; margin: 0; }
.bio-left-body { display: flex; flex-direction: column; gap: 16px; max-width: 340px; }
.bio-left-body p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.bio-right { display: flex; align-items: center; justify-content: flex-end; text-align: right; padding-left: 45%; }
.bio-right p { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 280px; }

@media (max-width: 800px) {
  .hero-scroll-wrap { height: 210vh; }
  .hero-photo { display: none; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-right { padding-left: 0; align-items: flex-start; text-align: left; }
}

/* scroll-reveal text section */
.reveal-text-section { padding: 140px 0; }
.reveal-text { max-width: 760px; margin: 0 auto; text-align: center; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.35; }
.reveal-text span { color: var(--ghost); transition: color 0.3s linear; }
.reveal-text span.on { color: var(--text); }

/* sections */
section { padding: 90px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; flex-wrap: wrap; gap: 12px; }

/* services list */
.services-list { border-top: 1px solid var(--line); }
.service-row { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 8px; }
.service-row h3 { font-size: 21px; }
.service-tags { font-size: 13px; color: var(--faint); }
.service-tags .dot { margin: 0 8px; }

/* featured work cards */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card { display: block; }
.work-card .thumb { border-radius: 16px; overflow: hidden; background: var(--surface); aspect-ratio: 1.45; display: flex; align-items: center; justify-content: center; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card .thumb.placeholder { border: 1px dashed var(--line); }
.work-card .thumb.placeholder p { font-size: 12px; color: var(--faint); text-align: center; padding: 0 20px; }
.work-card h3 { margin-top: 14px; font-size: 19px; }
.work-card p.sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 700px) { .work-grid { grid-template-columns: 1fr; } }

/* stat pills, kept for the GEO proof section */
.stat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
.stat-pill { font-size: 13px; color: var(--text); background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 20px; }

/* carousel */
.carousel-wrap { position: relative; display: flex; align-items: center; gap: 10px; }
.carousel-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.carousel-slide { flex: 0 0 auto; width: 300px; scroll-snap-align: start; }
.carousel-slide .thumb { border-radius: 16px; overflow: hidden; background: var(--surface); aspect-ratio: 1.4; }
.carousel-slide .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.carousel-slide p.sub { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.carousel-btn { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text); }
.carousel-btn:hover { background: var(--surface); }
@media (max-width: 600px) { .carousel-slide { width: 240px; } }

/* tools */
.tools-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-pill { font-size: 13px; border: 1px solid var(--line); color: var(--text); padding: 7px 15px; border-radius: 20px; background: var(--paper); }

/* timeline */
.timeline { border-left: 2px solid var(--ink); padding-left: 26px; margin-left: 4px; }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.tl-date { font-size: 12px; font-weight: 700; color: var(--faint); margin-bottom: 3px; }
.tl-role { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.tl-desc { font-size: 13px; color: var(--muted); max-width: 480px; }

/* testimonials — compact dark cards */
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.testimonial-card { background: var(--ink); color: #F4F1EA; padding: 18px; border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; }
.testimonial-card .quote { font-size: 12.5px; line-height: 1.5; }
.testimonial-person { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.testimonial-avatar { width: 26px; height: 26px; border-radius: 50%; background: rgba(244,241,234,0.12); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.testimonial-name { font-size: 11.5px; font-weight: 600; }
.testimonial-role { font-size: 10.5px; color: rgba(244,241,234,0.6); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* about */
.about-copy { max-width: 560px; }
.about-copy p.bio { font-size: 16px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.about-meta { font-size: 13px; color: var(--faint); }

/* footer */
footer.site-footer { background: var(--ink); color: #F4F1EA; padding: 80px 0 0; }
.footer-statement h2 { color: #F4F1EA; font-size: clamp(32px, 6vw, 64px); line-height: 1; font-weight: 700; max-width: 720px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding: 40px 0; }
.footer-col p.head { font-size: 12px; font-weight: 700; color: rgba(244,241,234,0.5); margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: rgba(244,241,234,0.85); margin-bottom: 8px; }
.footer-col a:hover { color: #F4F1EA; }
.footer-bottom { padding: 26px 0; font-size: 12px; color: rgba(244,241,234,0.4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(244,241,234,0.1); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
