:root {
  color-scheme: light;
  --paper: #f7f3e8;
  --paper-white: #fffdf7;
  --ink: #1e1e1e;
  --muted: #5a5a5a;
  --orange: #e65222;
  --orange-ink: #a43a17;
  --yellow: #ffe446;
  --blue-line: rgba(140, 175, 215, 0.18);
  --red-margin: #e17878;
  --border: #282522;
  --content: 1180px;
  --radius: 7px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, var(--blue-line) 31px 32px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.page-width { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-weight: 750;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(calc(100% - 64px), var(--content));
  min-height: 90px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  border-bottom: 1px solid rgba(30, 30, 30, 0.36);
}
.brand { display: inline-flex; align-items: baseline; gap: 14px; text-decoration: none; }
.brand-name, .footer-brand { font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 31px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.brand-period, .footer-brand span { color: var(--orange); }
.brand-role { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase; }
.site-nav { display: flex; justify-content: center; gap: clamp(18px, 3.3vw, 44px); }
.site-nav a, .header-link {
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
  text-underline-offset: 5px;
}
.site-nav a:hover, .header-link:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.header-link { justify-self: end; padding-bottom: 3px; border-bottom: 2px solid var(--orange); }
.header-link span { padding-left: 5px; color: var(--orange); }
.menu-toggle { display: none; }

.hero {
  padding-block: clamp(62px, 8vw, 104px) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}
.hero-copy { max-width: 650px; }
.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 22px; }
.eyebrow-mark { width: 11px; height: 11px; display: inline-block; transform: rotate(45deg); background: var(--orange); }
h1, h2 { font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; }
h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 5.4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.marker-word {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}
.marker-word::before {
  position: absolute;
  z-index: -1;
  right: -0.06em;
  bottom: 0.05em;
  left: -0.04em;
  height: 0.36em;
  transform: rotate(-1.5deg);
  background: var(--yellow);
  content: "";
}
.hero-intro { max-width: 55ch; margin-bottom: 28px; color: #393633; font-size: clamp(17px, 1.65vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button {
  min-height: 48px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button:active { transform: translate(0, 0); box-shadow: none; }
.button-primary { background: var(--yellow); }
.button-primary span { color: var(--orange-ink); font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.hero-note { margin: 25px 0 0; color: var(--muted); font-size: 12px; }
.hero-note span { margin-right: 7px; color: var(--orange); font-size: 17px; }

.hero-note-card {
  position: relative;
  isolation: isolate;
  padding: 24px clamp(22px, 3vw, 34px) 28px;
  transform: rotate(1.1deg);
  border: 2px solid var(--border);
  border-radius: 6px;
  background-color: var(--paper-white);
  background-image:
    linear-gradient(90deg, transparent 34px, rgba(225, 120, 120, 0.48) 34px 35px, transparent 35px),
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(140, 175, 215, 0.22) 31px 32px);
  box-shadow: 8px 8px 0 var(--orange);
}
.note-card-top { margin: 0 0 18px 28px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 13px; font-weight: 700; }
.note-date { color: var(--orange-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 10px; letter-spacing: 0.1em; }
.note-steps { margin-left: 28px; }
.note-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.note-step-number { width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--yellow); font-size: 10px; font-weight: 800; }
.note-step strong { display: block; margin-bottom: 2px; font-size: 14px; line-height: 1.35; }
.note-step small { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; }
.note-arrow { margin: 3px 0 6px 9px; color: var(--orange); font-size: 19px; line-height: 1; }
.sticky-note {
  width: min(74%, 280px);
  margin: 23px 0 0 auto;
  padding: 13px 16px 15px;
  transform: rotate(-2deg);
  background: var(--yellow);
  box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.22);
}
.sticky-note span { display: block; margin-bottom: 4px; color: #504825; font-size: 9px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.sticky-note strong { display: block; font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 17px; line-height: 1.24; }
.note-card-scribble { position: absolute; right: 18px; top: 74px; color: var(--orange); font-size: 19px; }

.principle-strip { border-block: 1px solid rgba(30, 30, 30, 0.42); background: rgba(247, 243, 232, 0.78); }
.principle-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.principle-inner p { margin: 0; font-size: 12px; font-weight: 680; }
.principle-inner span { margin-right: 8px; color: var(--orange-ink); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 15px; font-weight: 700; }

.section { padding-block: clamp(80px, 11vw, 132px); }
.section-heading { max-width: 770px; margin-bottom: 45px; }
.section-kicker { margin-bottom: 17px; }
.section-kicker span { color: var(--orange-ink); }
.section-heading h2, .process-intro h2, .technology-heading h2, .about-copy h2, .contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.section-heading > p:last-child, .process-intro > p:not(.section-kicker), .technology-heading > p:not(.section-kicker), .about-copy > p, .contact-copy > p:not(.section-kicker) {
  max-width: 62ch;
  margin-bottom: 0;
  color: #484440;
}
.business-map { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr); align-items: center; gap: 10px; }
.map-card {
  position: relative;
  min-height: 220px;
  padding: 22px 22px 25px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper-white);
  box-shadow: 5px 5px 0 rgba(30, 30, 30, 0.13);
}
.map-card-orange { box-shadow: 5px 5px 0 rgba(230, 82, 34, 0.68); }
.map-card-yellow { box-shadow: 5px 5px 0 var(--yellow); }
.map-card-blue { box-shadow: 5px 5px 0 rgba(140, 175, 215, 0.82); }
.map-card-label { display: block; margin-bottom: 21px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; }
.map-card h3 { max-width: 15ch; margin-bottom: 10px; font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 23px; line-height: 1.15; }
.map-card p { max-width: 31ch; margin: 0; color: #514d48; font-size: 13px; line-height: 1.55; }
.map-card-mark { position: absolute; right: 17px; bottom: 10px; color: var(--orange); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 22px; }
.map-connector { display: grid; place-items: center; color: var(--orange); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 28px; }
.handwritten-note { margin: 34px 0 0; color: #5a5047; font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 17px; font-weight: 700; text-align: center; }
.handwritten-note span { color: var(--orange); font-size: 22px; }

.process-section { padding-block: clamp(78px, 10vw, 116px); border-block: 1px solid rgba(30, 30, 30, 0.28); background: rgba(255, 228, 70, 0.22); }
.process-layout { display: grid; grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr); gap: clamp(52px, 9vw, 130px); align-items: start; }
.process-intro { max-width: 410px; }
.process-intro h2 { margin-bottom: 22px; font-size: clamp(3.2rem, 6vw, 5rem); }
.process-intro > p:not(.section-kicker) { margin-bottom: 24px; }
.process-intro .text-link { margin-top: 22px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(30, 30, 30, 0.45); }
.process-list li { position: relative; padding: 24px 42px 24px 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid rgba(30, 30, 30, 0.45); }
.process-number { color: var(--orange-ink); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 20px; font-weight: 700; }
.process-list h3 { margin-bottom: 5px; font-size: 15px; font-weight: 780; }
.process-list p { max-width: 52ch; margin: 0; color: #49443e; font-size: 13px; }
.process-doodle { position: absolute; top: 24px; right: 3px; color: var(--orange); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 23px; }

.technology-section { padding-block: clamp(78px, 10vw, 120px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(42px, 8vw, 110px); align-items: center; }
.technology-heading { max-width: 500px; }
.technology-heading h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.technology-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.technology-note { min-height: 190px; padding: 23px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--paper-white); box-shadow: 4px 4px 0 rgba(230, 82, 34, 0.58); }
.technology-note-caution { transform: translateY(13px); box-shadow: 4px 4px 0 var(--yellow); }
.technology-symbol { width: 29px; height: 29px; margin-bottom: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-weight: 700; }
.technology-note-caution .technology-symbol { background: #f2d1c5; }
.technology-note h3 { margin-bottom: 7px; font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 21px; }
.technology-note p { margin: 0; color: #514d48; font-size: 12px; line-height: 1.55; }

.about-section { padding-block: clamp(78px, 10vw, 120px); display: grid; grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr); gap: clamp(40px, 8vw, 110px); border-top: 1px solid rgba(30, 30, 30, 0.3); }
.about-label { display: flex; align-items: flex-start; gap: 16px; }
.about-label .section-kicker { margin-top: 11px; }
.about-star { color: var(--orange); font-size: 31px; line-height: 1; }
.about-copy { max-width: 760px; }
.about-copy h2 { font-size: clamp(2.45rem, 4.6vw, 3.8rem); }
.about-copy > p + p { margin-top: 14px; }
.own-projects { margin-top: 31px; padding-top: 18px; border-top: 1px dashed rgba(30, 30, 30, 0.5); }
.own-projects > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.project-tags { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.project-tags li { padding: 4px 11px 5px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper-white); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 14px; font-weight: 700; }
.own-projects small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }

.contact-section { padding-block: 20px clamp(70px, 9vw, 100px); }
.contact-paper { position: relative; padding: clamp(30px, 5vw, 56px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; overflow: hidden; border: 2px solid var(--ink); border-radius: 7px; background: var(--yellow); box-shadow: 8px 8px 0 var(--orange); }
.contact-copy { max-width: 660px; }
.contact-copy h2 { margin-bottom: 13px; font-size: clamp(2.35rem, 5vw, 4rem); }
.contact-copy > p:not(.section-kicker) { max-width: 52ch; color: #39352e; }
.contact-paper .button { z-index: 1; flex: 0 0 auto; background: var(--paper-white); }
.button-dark span { color: var(--orange-ink); font-size: 16px; }
.contact-doodle { position: absolute; right: 16%; top: -27px; color: rgba(230, 82, 34, 0.22); font-family: "Kalam", "Chalkboard SE", "Comic Sans MS", cursive; font-size: 160px; line-height: 1; pointer-events: none; }
.social-row { padding-top: 26px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 17px 30px; }
.social-row > span { color: var(--muted); font-size: 12px; }
.social-row a { padding-bottom: 2px; border-bottom: 1px solid rgba(30, 30, 30, 0.46); font-size: 12px; font-weight: 750; text-decoration: none; }
.social-row a:hover { border-color: var(--orange); }
.social-row a span:first-of-type { margin-inline: 4px; color: var(--muted); font-weight: 500; }
.social-row a span:last-child { color: var(--orange); }

.site-footer { min-height: 96px; padding-block: 22px; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 24px; border-top: 1px solid rgba(30, 30, 30, 0.4); }
.footer-brand { text-decoration: none; font-size: 23px; }
.site-footer > p { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer .footer-note { max-width: 39ch; justify-self: center; font-size: 10px; }
.back-top { font-size: 11px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }

@media (max-width: 960px) {
  .site-header { gap: 24px; }
  .brand { gap: 9px; }
  .site-nav { gap: 19px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr); gap: 42px; }
  .business-map { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); gap: 6px; }
  .map-card { min-height: 236px; padding: 19px 17px 23px; }
  .technology-section { grid-template-columns: 1fr; gap: 34px; }
  .technology-heading { max-width: 760px; }
  .technology-notes { max-width: 760px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 18px; }
  .page-width, .site-header { width: min(calc(100% - 38px), var(--content)); }
  .site-header { min-height: 72px; position: relative; display: flex; justify-content: space-between; gap: 12px; }
  .brand { min-height: 72px; align-items: center; flex-wrap: wrap; column-gap: 9px; }
  .brand-name { font-size: 27px; }
  .brand-role { max-width: 112px; font-size: 9px; line-height: 1.25; }
  .menu-toggle { min-height: 42px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--paper-white); color: var(--ink); font: inherit; font-size: 12px; font-weight: 750; }
  .menu-icon { width: 15px; display: grid; gap: 4px; }
  .menu-icon i { height: 1.5px; display: block; background: currentColor; transition: transform 120ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(2.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
  .header-link { display: none; }
  .has-js .site-nav { position: absolute; z-index: 5; top: calc(100% + 1px); right: 0; left: 0; padding: 8px 16px; display: none; flex-direction: column; gap: 0; border: 1.5px solid var(--ink); background: var(--paper-white); box-shadow: 4px 4px 0 var(--yellow); }
  .has-js .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 2px; border-bottom: 1px solid rgba(30, 30, 30, 0.2); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { padding-block: 49px 68px; grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 610px; }
  .eyebrow { margin-bottom: 17px; font-size: 10px; }
  h1 { margin-bottom: 18px; font-size: clamp(3.3rem, 12vw, 5rem); }
  .hero-intro { margin-bottom: 24px; font-size: 17px; }
  .hero-actions { align-items: flex-start; gap: 15px 20px; }
  .hero-note-card { width: min(100% - 8px, 520px); justify-self: center; padding: 21px 20px 24px; transform: rotate(0.6deg); }
  .note-card-top, .note-steps { margin-left: 23px; }
  .note-card-scribble { right: 14px; top: 65px; }
  .principle-inner { padding-block: 17px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .principle-inner p { font-size: 12px; }
  .section { padding-block: 76px; }
  .section-heading { margin-bottom: 31px; }
  .section-heading h2, .process-intro h2, .technology-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2.4rem, 9vw, 3.55rem); }
  .business-map { grid-template-columns: 1fr; gap: 16px; }
  .map-card { min-height: 0; padding: 19px 20px 22px; }
  .map-card-label { margin-bottom: 13px; }
  .map-connector { height: 11px; transform: rotate(90deg); font-size: 23px; }
  .handwritten-note { margin-top: 28px; font-size: 16px; text-align: left; }
  .process-section { padding-block: 74px; }
  .process-layout { grid-template-columns: 1fr; gap: 37px; }
  .process-intro { max-width: 600px; }
  .process-intro h2 { font-size: clamp(3.3rem, 12vw, 4.6rem); }
  .process-list li { padding-block: 20px; }
  .technology-section { padding-block: 76px; gap: 28px; }
  .technology-notes { grid-template-columns: 1fr; gap: 15px; }
  .technology-note { min-height: 0; padding: 20px; }
  .technology-note-caution { transform: none; }
  .about-section { padding-block: 76px; grid-template-columns: 1fr; gap: 20px; }
  .about-label { align-items: center; }
  .about-label .section-kicker { margin: 0; }
  .about-star { font-size: 25px; }
  .contact-section { padding-block: 7px 70px; }
  .contact-paper { padding: 27px 23px; align-items: flex-start; flex-direction: column; gap: 21px; }
  .contact-paper .button { width: 100%; }
  .contact-doodle { right: 1%; top: 20px; font-size: 110px; }
  .social-row { justify-content: flex-start; gap: 13px 20px; }
  .site-footer { min-height: 0; padding-block: 23px; grid-template-columns: auto 1fr auto; gap: 10px 16px; }
  .site-footer > p:not(.footer-note) { justify-self: end; }
  .site-footer .footer-note { grid-column: 1 / -1; justify-self: start; }
  .back-top { grid-column: 3; grid-row: 1; }
}

@media (max-width: 390px) {
  .page-width, .site-header { width: min(calc(100% - 30px), var(--content)); }
  .brand { gap: 6px; }
  .brand-name { font-size: 25px; }
  .brand-role { max-width: 96px; font-size: 8px; }
  .menu-toggle { padding-inline: 9px; }
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(3rem, 13vw, 3.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-note-card { padding-inline: 15px; }
  .note-card-top, .note-steps { margin-left: 20px; }
  .note-step { grid-template-columns: 31px minmax(0, 1fr); gap: 9px; }
  .note-step strong { font-size: 13px; }
  .note-step small { font-size: 10px; }
  .sticky-note { width: 82%; }
  .social-row { gap: 12px 16px; }
  .social-row > span { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
