@font-face {
  font-family: "V2 Bricolage";
  src: url("/v2/bricolage-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}

:root {
  color-scheme: light;
  --ink: #253f3c;
  --soft: #49635d;
  --paper: #fafaf2;
  --yellow: #f7df70;
  --sky: #cce9ef;
  --coral: #ef8c6f;
  --mint: #9ed1bb;
  --white: #fffef8;
  font-family: "V2 Bricolage", "Trebuchet MS", "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--ink); }

.skip-link {
  position: absolute;
  z-index: 4;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.7rem 1rem;
  transform: translateY(-170%);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding: 0.65rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 2px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; text-decoration: none; }
.brand img { width: 2.85rem; height: 2.85rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }
.header-back { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-size: 0.8rem; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 0.25rem; }
.header-back:hover, .service-nav a:hover, .related a:hover { color: #a24532; }

.service-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  padding: 0.75rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(37, 63, 60, 0.3);
}
.service-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.service-nav a[aria-current="page"] { background: var(--ink); color: var(--white); }

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.6fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  min-height: 32rem;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem);
  border-bottom: 2px solid var(--ink);
}
.service-hero--ai { background: var(--coral); }
.service-hero--prototype { background: var(--yellow); }
.service-hero--product { background: var(--sky); }
.eyebrow { margin: 0 0 1.4rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(3.4rem, 8vw, 8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.93; overflow-wrap: anywhere; }
.hero-lead { max-width: 26ch; margin: 2.2rem 0 0; font-size: clamp(1.4rem, 2.5vw, 2.15rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; }
.hero-detail { max-width: 38rem; margin: 1.2rem 0 0; font-size: 1rem; line-height: 1.55; }
.hero-note { align-self: end; padding: 1.5rem; border: 2px solid var(--ink); border-radius: 1rem; background: var(--white); box-shadow: 0.4rem 0.45rem 0 var(--ink); transform: rotate(2deg); }
.hero-note span { display: block; margin-bottom: 1.2rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
.hero-note p { margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }

.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 8vw, 9rem); max-width: 88rem; margin: auto; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 8rem); }
.content-grid h2, .outcome h2, .contact h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.055em; line-height: 1; }
.content-grid p { max-width: 39rem; margin: 0 0 1rem; color: var(--soft); line-height: 1.6; }
.plain-list, .steps { margin: 0; padding: 0; list-style: none; }
.plain-list li { padding: 1rem 0; border-top: 1px solid var(--ink); font-size: 1.08rem; line-height: 1.45; }
.plain-list li:last-child, .steps li:last-child { border-bottom: 1px solid var(--ink); }
.steps { counter-reset: service-step; }
.steps li { position: relative; padding: 1rem 0 1.1rem 2.8rem; border-top: 1px solid var(--ink); line-height: 1.5; }
.steps li::before { position: absolute; top: 1rem; left: 0; counter-increment: service-step; content: "0" counter(service-step); font-size: 0.73rem; font-weight: 800; }
.steps strong { display: block; margin-bottom: 0.15rem; font-size: 1.08rem; }
.steps span { color: var(--soft); }

.outcome { padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 7vw, 8rem); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--mint); }
.outcome-inner { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 2rem; max-width: 72rem; margin: auto; }
.outcome p { max-width: 43rem; margin: 0; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.4; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 8rem); }
.contact p { max-width: 36rem; margin: 0; color: var(--soft); line-height: 1.6; }
.contact-link { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px; padding: 0.95rem 1.3rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); box-shadow: 0.25rem 0.3rem 0 var(--ink); font-size: 0.82rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.contact-link:hover { transform: translateY(-2px); }
.related { padding: 2rem clamp(1.25rem, 7vw, 8rem) 3rem; border-top: 1px solid var(--ink); }
.related h2 { margin: 0 0 1rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.related ul { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 0; padding: 0; list-style: none; }
.related a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-weight: 700; text-underline-offset: 0.25rem; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1.25rem, 7vw, 8rem); border-top: 2px solid var(--ink); color: var(--soft); font-size: 0.75rem; }
.service-icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }

@media (max-width: 52rem) {
  .service-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-note { max-width: 22rem; transform: rotate(-1deg); }
  .content-grid { grid-template-columns: 1fr; }
  .outcome-inner { grid-template-columns: 1fr; gap: 0.5rem; }
  .contact { grid-template-columns: 1fr; }
  .contact-link { justify-self: start; }
  .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 31rem) {
  .site-header { align-items: center; flex-wrap: wrap; min-height: 0; }
  .brand { font-size: 0.85rem; }
  .header-back { font-size: 0.875rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); letter-spacing: -0.035em; }
  .service-hero--ai h1 { font-size: clamp(2.25rem, 11vw, 3.8rem); }
  .service-hero--prototype h1 { font-size: clamp(2.75rem, 14vw, 4.8rem); }
  .service-hero { padding-top: 3rem; padding-bottom: 3.5rem; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-link:hover { transform: none; }
}
