:root {
  --ink: #1d1b1a;
  --text: #3f3a37;
  --muted: #6b6460;
  --rule: #d9d3cf;
  --red: #a61d1d;
  --yellow: #ffd84d;
  --pink: #ffc2bc;
  --pink-tint: #fdeceb;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

/* Highlighter strokes */
.hl { background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-pink { background: linear-gradient(transparent 55%, var(--pink) 55%, var(--pink) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Header */
.site-header { background: #fff; border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
nav { display: flex; gap: clamp(1rem, 3vw, 1.8rem); font-weight: 500; color: var(--ink); }
nav a { text-decoration: none; }
nav a:hover { box-shadow: inset 0 -.5em 0 var(--pink); }
nav .nav-cta { box-shadow: inset 0 -.5em 0 var(--yellow); }

/* Type */
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.03em; }
h1 { font-weight: 800; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; }
h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
.label { font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0 0 1rem; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--ink); color: #fff; text-decoration: none; font: inherit; font-weight: 700;
  padding: .95rem 1.6rem; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn span { color: var(--yellow); transition: transform .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--yellow); }
.btn:hover span { transform: translateX(3px); }
.link-arrow { font-weight: 700; color: var(--ink); text-decoration: none; box-shadow: inset 0 -.5em 0 var(--yellow); }

/* Hero */
.hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 36rem; margin: 1.8rem 0 2.2rem; }

.hero-cat { width: 180px; justify-self: end; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-intro { margin: 0; max-width: 30rem; }

/* Services: numbered stickers */
.services { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.services li {
  display: grid; grid-template-columns: 3rem minmax(13rem, 1fr) 2.2fr; gap: .3rem 1.5rem; align-items: start;
  padding: 1.5rem 0; border-bottom: 2px dotted var(--rule); counter-increment: s;
}
.services li::before {
  content: counter(s); grid-row: 1 / span 2;
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  font-weight: 800; color: var(--ink); background: var(--yellow); border-radius: 50%;
}
.services li:nth-child(even)::before { background: var(--pink); }
.services h3 { padding-top: .2rem; }
.services li > p { margin: 0; }
.services .tags { grid-column: 3; font-size: .85rem; color: var(--muted); font-weight: 500; }

/* About */
.about { background: var(--pink-tint); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.about-copy p { margin: 0 0 1.2rem; font-size: 1.15rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact .section-intro { margin-top: 1.2rem; }
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .35rem; }
.field span { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 0; padding: .75rem .9rem; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--yellow); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); padding: 1.8rem 0; font-size: .95rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { box-shadow: inset 0 -.5em 0 var(--yellow); color: var(--ink); }

/* Simple pages */
.page { padding: clamp(4rem, 10vw, 7rem) 0; min-height: 65vh; }
.page h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 2rem; }
.page .prose { max-width: 40rem; }
.page .prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .4rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cat { order: -1; width: 110px; justify-self: start; margin-bottom: .5rem; }
  .section-head, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .services li { grid-template-columns: 3rem 1fr; }
  .services li > p, .services .tags { grid-column: 2; }
}
@media (max-width: 480px) {
  nav a:not(.nav-cta) { display: none; }
}
