/* ============================================
   REVEAL.CO — tokens
   ============================================ */
:root {
  --ink: #0A0A0B;
  --ink-2: #17191C;
  --paper: #FFFFFF;
  --paper-2: #E8EBEE;
  --accent: #19C8FF;
  --accent-dim: #0FA0D6;
  --on-ink: #FFFFFF;
  --on-ink-muted: #9BA3AA;
  --on-paper: #0A0A0B;
  --on-paper-muted: #737B84;
  --line-ink: rgba(255,255,255,0.14);
  --line-paper: #E8EBEE;

  --display: "Fraunces", "Iowan Old Style", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --wrap: 1180px;
  --edge: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--on-paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

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

/* film-grain overlay */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.05;
  z-index: 999;
  mix-blend-mode: overlay;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-solid {
  background: var(--accent);
  color: var(--ink);
}
.btn-solid:hover { background: var(--accent-dim); }

.btn-line {
  border-color: currentColor;
  background: transparent;
}

.btn-text {
  padding: 13px 4px;
  color: var(--on-paper-muted);
}
.btn-text:hover { color: var(--on-paper); }

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--line-ink);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
  color: var(--on-ink);
}
.logo { display: inline-flex; align-items: center; margin-right: auto; }
.logo-img { height: 34px; width: auto; display: block; }
.logo-footer .logo-img { height: 30px; }

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-size: 0.93rem;
  color: var(--on-ink-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--on-ink); }

.header-cta { color: var(--on-ink); }
.header-cta:hover { background: var(--on-ink); color: var(--ink); }

.menu-toggle {
  display: none;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--on-ink);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--paper);
  color: var(--on-paper);
  padding: 160px 0 96px;
  border-bottom: 1px solid var(--line-paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.eyebrow-plain {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent-dim);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  color: var(--on-paper);
}
.hero h1 em {
  font-style: italic;
  color: var(--on-paper-muted);
}
.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--on-paper-muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* reveal interactive graphic — cutouts sit directly on the white hero
   background now, so no glow/box is needed for the crow to read clearly */
.hero-visual { display: flex; flex-direction: column; gap: 16px; position: relative; }
.reveal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: clamp(360px, 32vw, 540px);
  cursor: ew-resize;
}
.reveal-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
/* filter removed — the source photo's own white background must match the
   page's white exactly, so no dimming/desaturation is applied here */
.reveal-after {
  clip-path: inset(0 0 0 38%);
  transition: clip-path 0.06s linear;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45));
}
.reveal-handle {
  position: absolute;
  top: 8%; bottom: 8%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent) 15%, var(--accent) 85%, transparent);
  transform: translateX(-1px);
  pointer-events: none;
  transition: left 0.06s linear;
}
.reveal-handle-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 18px rgba(25,200,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reveal-handle-grip::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
  box-shadow: 15px 15px 0 -13px var(--ink);
}
.reveal-tag {
  position: absolute;
  bottom: 6%;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--on-ink);
  background: rgba(10,10,11,0.6);
  padding: 4px 9px;
  border-radius: 2px;
  pointer-events: none;
}
.reveal-tag-left { left: 4%; }
.reveal-tag-right { right: 4%; }
.reveal-caption {
  font-size: 0.85rem;
  color: var(--on-paper-muted);
  text-align: center;
}

/* ============================================
   Trust strip
   ============================================ */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line-paper);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  padding: 28px 0;
}
.trust-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--on-paper-muted);
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
}
.trust-items span {
  font-size: 0.92rem;
  color: var(--on-paper-muted);
}

/* ============================================
   Section heads
   ============================================ */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--on-paper);
}
.section-head p {
  margin-top: 16px;
  font-size: 1.02rem;
  color: var(--on-paper-muted);
}
.section-head-light h2 { color: var(--on-ink); }
.section-head-light p { color: var(--on-ink-muted); }

/* ============================================
   Services
   ============================================ */
.services { padding: 108px 0; background: var(--paper); }

.service-list {
  border-top: 1px solid var(--line-paper);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 40px;
  align-items: center;
  padding: 42px 0;
  border-bottom: 1px solid var(--line-paper);
}
.service-row h3 {
  font-size: 1.5rem;
  color: var(--on-paper);
}
.service-row p {
  margin-top: 14px;
  max-width: 62ch;
  color: var(--on-paper-muted);
}
.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--on-paper-muted);
}
.service-tags li { position: relative; padding-left: 14px; }
.service-tags li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.service-swatch {
  height: 130px;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(0.92);
  transition: filter 0.5s ease;
}
.service-row:hover .service-swatch,
.service-row:focus-within .service-swatch { filter: grayscale(0) brightness(1); }

.service-row[data-swatch="seo"] .service-swatch {
  background-image: url('swatch-seo.png');
}
.service-row[data-swatch="social"] .service-swatch {
  background-image: url('swatch-social.png');
}
.service-row[data-swatch="creative"] .service-swatch {
  background-image: url('swatch-creative.png');
}
.service-row[data-swatch="brand"] .service-swatch {
  background-image: url('swatch-brand.png');
}

/* ============================================
   Approach (dark / darkroom)
   ============================================ */
.approach { background: var(--ink); color: var(--on-ink); padding: 108px 0; }

.process-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-ink);
}
.process-step {
  padding: 32px 24px 0 0;
  border-left: 1px solid var(--line-ink);
  padding-left: 24px;
}
.process-index {
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 18px;
}
.process-step h3 {
  font-size: 1.25rem;
  color: var(--on-ink);
  margin-bottom: 10px;
}
.process-step p {
  color: var(--on-ink-muted);
  font-size: 0.95rem;
}

/* ============================================
   Results
   ============================================ */
.results { background: var(--paper); padding: 108px 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line-paper);
  padding-top: 40px;
}
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-number {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--accent);
}
.stat-label {
  font-size: 0.88rem;
  color: var(--on-paper-muted);
  max-width: 22ch;
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial {
  background: var(--ink);
  color: var(--on-ink);
  padding: 108px 0;
}
.testimonial blockquote {
  margin: 0;
  max-width: 780px;
}
.testimonial p {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--on-ink);
}
.testimonial footer {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--on-ink-muted);
}

/* ============================================
   Contact
   ============================================ */
.contact { background: var(--paper); padding: 108px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--on-paper);
}
.contact-copy p {
  margin-top: 18px;
  color: var(--on-paper-muted);
  max-width: 42ch;
  font-size: 1.02rem;
}
.contact-detail {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-paper);
}
.contact-detail span {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--on-paper-muted);
  margin-bottom: 6px;
}
.contact-detail a { font-size: 1.02rem; }
.contact-detail a[href^="mailto"] { color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--on-paper-muted);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1px solid var(--line-paper);
  border-radius: 3px;
  background: var(--paper-2);
  color: var(--on-paper);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--accent-dim);
  min-height: 1.2em;
}

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--ink); color: var(--on-ink); padding-top: 56px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-ink);
}
.logo-footer .logo-img { height: 30px; }
.footer-nav, .footer-social {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--on-ink-muted);
}
.footer-nav a:hover, .footer-social a:hover { color: var(--on-ink); }
.footer-bottom {
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--on-ink-muted);
  font-family: var(--mono);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 140px 0 72px; }
  .service-row { grid-template-columns: 1fr; }
  .service-swatch { order: -1; height: 160px; }
  .process-list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .process-list { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
}

/* mobile nav open state */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px; left: 0; right: 0;
  background: var(--ink);
  padding: 24px var(--edge) 32px;
  border-bottom: 1px solid var(--line-ink);
  gap: 18px;
}
