@font-face {
  font-family: "Weengz Sketch";
  src: url("/assets/ArchitectsDaughter-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --paper: #fffef8;
  --paper-blue: #e2f2fa;
  --ink: #20242a;
  --muted: #59636f;
  --blue: #214fc5;
  --line: rgba(32, 36, 42, .48);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(33, 79, 197, .035), transparent 27rem),
    radial-gradient(circle at 82% 68%, rgba(98, 156, 187, .045), transparent 34rem),
    repeating-linear-gradient(1deg, rgba(32, 36, 42, .012) 0, rgba(32, 36, 42, .012) 1px, transparent 1px, transparent 9px),
    var(--paper);
  font-family: "Weengz Sketch", "Comic Sans MS", cursive;
  font-size: 19px;
  line-height: 1.58;
}

a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #173b96; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 4px; }

.skip {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.compact { width: min(calc(100% - 40px), 960px); }

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.studio {
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .18em;
  font-size: 15px;
}

nav { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; padding: 12px 2px; }
nav a[aria-current="page"] { color: var(--blue); border-bottom: 2px solid var(--blue); }

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: center;
  gap: clamp(34px, 8vw, 110px);
  padding-block: 70px 82px;
}

.eyebrow, .section-mark {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .13em;
}

h1, h2, h3, p { font-weight: 400; }
h1 { margin: 0; font-size: clamp(56px, 8vw, 94px); line-height: 1; letter-spacing: .12em; }
.hero h1 { white-space: nowrap; font-size: clamp(48px, 6vw, 82px); letter-spacing: .08em; }
h2 { margin: 0 0 22px; font-size: clamp(36px, 5vw, 56px); line-height: 1.12; }
h3 { margin: 0 0 10px; color: var(--blue); font-size: 23px; line-height: 1.2; }
.lede { max-width: 630px; margin: 28px 0 34px; color: var(--muted); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.42; }

.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.scribble-button {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 27px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px 940px 980px 920px;
  background: rgba(255,255,255,.5);
  text-decoration: none;
  letter-spacing: .05em;
}
.scribble-button::after {
  content: "";
  position: absolute;
  inset: 2px -2px -2px 2px;
  border: 1px solid rgba(32,36,42,.28);
  border-radius: inherit;
  pointer-events: none;
  transform: rotate(.25deg);
}
.scribble-button.primary { color: var(--blue); border-color: var(--blue); background: var(--paper-blue); }

.wing-note { align-self: center; color: var(--muted); text-align: center; transform: rotate(-2deg); }
.wing-note img { display: block; width: min(100%, 440px); height: auto; margin: -70px auto -90px; }
.wing-note path { fill: rgba(255,255,255,.2); stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wing-note path:not(:first-child) { fill: none; stroke-width: 2; opacity: .75; }
.wing-note path.blue { stroke: var(--blue); }
.wing-note span { display: inline-block; border-bottom: 1px solid var(--line); padding: 0 28px 4px; }

.paper-band {
  padding: 72px 0 82px;
  border-block: 1px solid rgba(32,36,42,.22);
  background: rgba(226, 242, 250, .38);
}

.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.note-card {
  position: relative;
  min-height: 190px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 248, .86);
}
.note-card:nth-child(2n) { transform: rotate(.12deg); }
.note-card:nth-child(3n) { transform: rotate(-.12deg); }
.note-card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 18px;
  width: 72px;
  border-top: 1px solid rgba(32,36,42,.35);
  transform: rotate(-1deg);
}
.note-card p { margin: 0; color: var(--muted); }

.contact { padding-block: 88px 98px; }
.contact > p:not(.section-mark) { max-width: 760px; }
.email-link { display: inline-block; margin: 18px 0 12px; font-size: clamp(25px, 4vw, 38px); }
.response-note { color: var(--muted); font-size: 16px; }

.site-footer {
  min-height: 92px;
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.site-footer a { margin-left: auto; }

.policy { width: min(calc(100% - 40px), 850px); padding-block: 64px 94px; }
.policy-title { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.policy-title h1 { font-size: clamp(48px, 8vw, 76px); letter-spacing: .02em; }
.policy-title > p:last-child { max-width: 750px; margin-top: 28px; font-size: 21px; }
.effective { color: var(--blue); }
.plain-note { margin: 38px 0 46px; padding: 24px 28px; border: 1px solid var(--blue); background: var(--paper-blue); transform: rotate(-.08deg); }
.plain-note span { color: var(--blue); font-size: 14px; letter-spacing: .12em; }
.plain-note p { margin: 8px 0 0; font-size: 21px; }
.policy-copy section { padding: 31px 0 26px; border-bottom: 1px solid rgba(32,36,42,.22); }
.policy-copy h2 { margin: 0 0 14px; font-size: clamp(27px, 4vw, 34px); color: var(--ink); }
.policy-copy p { margin: 0 0 16px; color: #39414a; }
.policy-copy strong { font-weight: 400; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.contact-block { border-bottom: 0 !important; }

@media (max-width: 760px) {
  body { font-size: 18px; }
  .site-header { min-height: 70px; }
  .studio { font-size: 13px; letter-spacing: .12em; }
  nav { gap: 15px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-block: 58px 68px; }
  .wing-note { width: min(84%, 390px); justify-self: center; }
  .wing-note img { margin-block: -65px -80px; }
  .help-grid { grid-template-columns: 1fr; }
  .note-card { min-height: 0; }
  .site-footer { display: grid; }
  .site-footer a { margin-left: 0; }
}

@media (max-width: 430px) {
  .shell, .compact, .policy { width: min(calc(100% - 28px), var(--max)); }
  .site-header { align-items: flex-start; padding-block: 16px; }
  nav a { padding-block: 3px 8px; }
  .hero { padding-top: 46px; }
  h1 { font-size: 49px; letter-spacing: .08em; }
  .actions { display: grid; }
  .scribble-button { width: 100%; }
  .paper-band { padding-block: 58px 64px; }
  .note-card { padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wing-note, .note-card { transform: none; }
}

@media print {
  body { background: white; font-size: 12pt; }
  .site-header nav, .wing-note, .actions, .site-footer { display: none; }
  .policy { width: 100%; padding: 0; }
  a { color: black; }
}
