/* ==========================================================================
   Integrated Development Advisory — design system
   Concept: "the blue pencil." The product is a document, so the site is
   built like a document set — white ground, ink type, hairline rules, mono
   folios — and one accent used the way an editor's blue pencil is used:
   sparingly, on the thing that matters.

   Deliberately light-only. This is a document; documents are not dark.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* surface — white, with a sky wash for alternating bands */
  --paper:        #ffffff;
  --paper-2:      #eff6fb;
  --paper-3:      #e3eef6;

  /* type — ink with a cool bias */
  --ink:          #141a1f;   /* 17.4:1 on --paper */
  --ink-2:        #49545d;   /*  7.6:1 on --paper */
  --ink-3:        #64707a;   /*  5.0:1 on --paper — never below 14px */

  /* accent — the blue pencil: text-safe tone, plus a true sky for decoration */
  --bluepen:      #0b6fa8;   /*  5.1:1 on --paper */
  --bluepen-ink:  #085380;
  --sky:          #7cc4ea;   /* decorative only: strokes, washes, flags */

  /* structure */
  --rule:         #dbe4eb;
  --rule-strong:  #b7c8d4;

  /* type scale */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* spacing — marketing density, spacious end of the scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4.5rem;
  --s-7: 6rem;
  --s-8: 9rem;

  --shell: 1180px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);

  --t-fast: 150ms;
  --t: 220ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.015em; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--bluepen);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: rgba(11, 111, 168, 0.14); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1rem; z-index: 100;
  font: 500 14px/1 var(--font-body);
}
.skip-link:focus { left: 0; }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.shell--narrow { max-width: 760px; }

.band { padding-block: var(--s-7); border-top: 1px solid var(--rule); }
.band--tight { padding-block: var(--s-6); }
.band--fill { background: var(--paper-2); }
.band--flush { border-top: 0; }

/* editorial split: label rail on the left, content on the right */
.split {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: var(--s-5);
    align-items: start;
  }
  .split--wide { grid-template-columns: 200px minmax(0, 1fr) 200px; }
}

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.display--xl { font-size: clamp(2.5rem, 7.2vw, 5.25rem); }
.display--l  { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.display--m  { font-size: clamp(1.6rem, 3vw, 2.25rem); }

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.body { color: var(--ink-2); max-width: 66ch; }
.body + .body { margin-top: var(--s-2); }
.body strong { color: var(--ink); font-weight: 600; }

/* mono folio / label */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: baseline;
  gap: 0.6em;
}
.label::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--bluepen);
  flex: none;
  transform: translateY(-4px);
}
.label--plain::before { display: none; }

/* the redline: a margin annotation, set like a correction */
.annot {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--bluepen-ink);
  border-left: 2px solid var(--bluepen);
  padding-left: 0.9rem;
  max-width: 40ch;
}

/* big figures — the credibility signal on the work records */
.figure {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.figure em { font-style: normal; color: var(--bluepen); }

/* ---------- header ---------- */
.head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
@supports not (backdrop-filter: blur(4px)) { .head { background: var(--paper); } }

.head__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  min-height: 68px;
}

.wordmark {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
  min-height: 44px;
}
.wordmark__mark {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  border: 1px solid var(--ink); color: var(--ink);
  padding: 0.3rem 0.4rem; line-height: 1;
  flex: none;
}
.wordmark__mark span { color: var(--bluepen); }
.wordmark__text {
  font-family: var(--font-display);
  font-size: 1.0625rem; letter-spacing: 0;
  line-height: 1.1;
}
.wordmark__text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
}

.nav { display: none; align-items: center; gap: var(--s-3); }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.005em;
  color: var(--ink-2); text-decoration: none;
  padding: 0.5rem 0; min-height: 44px; display: inline-flex; align-items: center;
  transition: color var(--t-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--bluepen); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--rule-strong); }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
@media (min-width: 940px) { .burger { display: none; } }
.burger span { display: block; height: 1.5px; width: 22px; background: var(--ink); margin-inline: auto; transition: transform var(--t) var(--ease); }

.drawer {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: var(--s-2) 0 var(--s-3);
}
.drawer[data-open="true"] { display: block; }
@media (min-width: 940px) { .drawer { display: none !important; } }
.drawer a {
  display: flex; align-items: center; min-height: 52px;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: 0.005em;
}
.drawer a:last-child { border-bottom: 0; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) var(--s-6); }

.hero__grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
}

.hero__title { max-width: 20ch; }
.hero__title .rl { color: var(--bluepen); }

.hero__lede { margin-top: var(--s-3); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s-4); }

.hero__meta {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.35rem;
  font: 500 14.5px/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn:hover { background: var(--bluepen); border-color: var(--bluepen); color: #fff; }

.btn--line { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--line:hover { background: transparent; color: var(--bluepen); border-color: var(--bluepen); }

/* text link with a redline underline that draws on hover */
.tlink {
  display: inline-flex; align-items: center; gap: 0.45rem;
  text-decoration: none; color: var(--ink);
  font-size: 15px; font-weight: 500;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--bluepen), var(--bluepen));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size var(--t) var(--ease), color var(--t-fast) var(--ease);
  min-height: 44px;
}
.tlink:hover { color: var(--bluepen); background-size: 100% 1px; }
.tlink__arrow { font-family: var(--font-mono); font-size: 13px; }

/* ---------- records (services, work, steps) ---------- */
.records { margin-top: var(--s-4); }

.record {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem var(--s-4);
  padding-block: var(--s-4);
  border-top: 1px solid var(--rule);
  position: relative;
}
.record:last-child { border-bottom: 1px solid var(--rule); }

@media (min-width: 760px) {
  .record { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .record--work { grid-template-columns: 4.5rem minmax(0, 1fr) 14rem; }
}

.record__folio {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-3);
  padding-top: 0.45rem;
}

.record__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.3vw, 1.75rem);
  line-height: 1.15;
}

.record__body { color: var(--ink-2); margin-top: 0.5rem; max-width: 62ch; }

.record__aside { margin-top: var(--s-2); }
@media (min-width: 760px) { .record__aside { margin-top: 0.3rem; } }

a.record {
  text-decoration: none; color: inherit;
  transition: background var(--t-fast) var(--ease);
}
a.record:hover { background: var(--paper-2); }
a.record:hover .record__title { color: var(--bluepen-ink); }

/* the scope statement — what this practice is and isn't */
.scope {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--bluepen);
  padding: var(--s-4);
}
.scope__list { margin-top: var(--s-2); display: grid; gap: 0.6rem; }
.scope__list li {
  display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem;
  color: var(--ink-2); font-size: 15.5px;
}
.scope__list li::before {
  content: "—";
  font-family: var(--font-mono);
  color: var(--bluepen);
}

/* ---------- about ---------- */
.about {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 860px) { .about { grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-5); } }

.portrait {
  border: 1px solid var(--rule);
  padding: 0.5rem;
  background: var(--paper-2);
}
.portrait img { filter: grayscale(100%) contrast(1.04); }
.portrait figcaption {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 0.6rem;
}

/* ---------- contact ---------- */
.contact-lines { margin-top: var(--s-3); display: grid; gap: 0.15rem; }
.contact-lines a, .contact-lines span {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.875rem);
  text-decoration: none;
  display: inline-flex; align-items: center;
  min-height: 44px;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
  width: fit-content;
}
.contact-lines a:hover { color: var(--bluepen); }

/* ---------- credentials strip ---------- */
.creds {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .creds { grid-template-columns: repeat(3, 1fr); } }
.cred { border-top: 1px solid var(--rule-strong); padding-top: var(--s-2); }
.cred dt {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.cred dd { margin: 0.4rem 0 0; font-size: 15.5px; color: var(--ink); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); background: var(--paper-2); padding-block: var(--s-5); }
.foot__in { display: grid; gap: var(--s-4); }
@media (min-width: 860px) { .foot__in { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.foot__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.foot__links a { font-size: 14px; color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot__links a:hover { color: var(--bluepen); }
.foot__legal {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; line-height: 1.7;
  color: var(--ink-3);
  margin-top: var(--s-3);
}

/* ---------- compact services ---------- */
.svcs { margin-top: var(--s-4); }
.svc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem var(--s-4);
  padding-block: var(--s-3);
  border-top: 1px solid var(--rule);
}
.svc:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) {
  .svc { grid-template-columns: 3.5rem 15rem minmax(0, 1fr); align-items: baseline; }
}
.svc__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); }
.svc h3 { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.15; }
.svc p:last-child { color: var(--ink-2); font-size: 15.5px; max-width: 52ch; }

/* ---------- step strip ---------- */
.steps { display: grid; gap: var(--s-3); margin-top: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
.step { border-top: 1px solid var(--rule-strong); padding-top: var(--s-2); }
.step b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin-bottom: 0.35rem; }
.step p { color: var(--ink-2); font-size: 14.5px; }
.step .step__n { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--bluepen); display: block; margin-bottom: 0.5rem; }

/* ---------- work gallery: real deliverables, shown as sheets ---------- */
.gallery { margin-top: var(--s-4); display: grid; gap: var(--s-6); }

.piece__pair {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 780px) {
  .piece__pair { grid-template-columns: 0.72fr 1fr; gap: var(--s-4); }
  /* on the work page the pair gets the full shell, so give the sheets more room */
  .piece__pair--wide { grid-template-columns: 0.62fr 1fr; gap: var(--s-5); }
}

.sheetfig { margin: 0; min-width: 0; }
.sheetfig__frame {
  display: block;
  background: #fff;
  border: 1px solid var(--rule-strong);
  padding: 0.55rem;
  box-shadow: 0 1px 2px rgba(20, 26, 31, 0.05), 0 14px 32px -20px rgba(20, 26, 31, 0.3);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
a.sheetfig__frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(20, 26, 31, 0.05), 0 20px 40px -20px rgba(20, 26, 31, 0.38);
}
.sheetfig__frame img { width: 100%; height: auto; display: block; }

.sheetfig figcaption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 0.6rem;
  display: flex;
  gap: 0.6em;
  align-items: baseline;
}
.sheetfig figcaption b { color: var(--bluepen); font-weight: 600; letter-spacing: 0.16em; }

/* a single sheet shown on its own */
.piece__solo { max-width: 940px; }

/* two landscape sheets stacked, so each stays big enough to read */
.stack { display: grid; gap: var(--s-4); }
@media (min-width: 1100px) { .stack { gap: var(--s-5); } }

.piece__note { margin-top: var(--s-3); color: var(--ink-2); max-width: 60ch; }
.piece__note strong { color: var(--ink); font-weight: 600; }


/* ---------- the docmock — a blue-penciled agreement, the service made visible ---------- */
.docmock {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  padding: 1.25rem 0 2rem;
  user-select: none;
}
@media (min-width: 1000px) { .docmock { margin-inline: 0 auto; } }

.sheet {
  background: #ffffff;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 1px 2px rgba(20, 26, 31, 0.05), 0 14px 34px -18px rgba(20, 26, 31, 0.3);
  padding: 1.4rem 1.5rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.sheet--back {
  position: absolute;
  inset: 0 auto auto 0;
  width: 88%;
  transform: rotate(-3.2deg) translate(-2%, 4%);
  opacity: 0.9;
}
.sheet--front {
  position: relative;
  transform: rotate(1.4deg);
  margin-left: 10%;
  margin-top: 6.75rem;
  padding-bottom: 3.1rem;
}

.sheet__head {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.6rem;
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.sheet__head b { color: var(--ink); font-weight: 600; }

.sheet__row { display: flex; justify-content: space-between; gap: 1rem; white-space: nowrap; }

.sheet s {
  color: var(--bluepen);
  text-decoration-thickness: 1.5px;
}
.sheet ins {
  text-decoration: none;
  color: var(--bluepen-ink);
  font-weight: 600;
}
.sheet__flag { color: var(--bluepen); }

.sheet__note {
  margin-top: 1rem;
  color: var(--bluepen-ink);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  transform: rotate(-1.2deg);
  max-width: 58%;
}

.stamp {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bluepen);
  border: 1.5px solid currentColor;
  border-radius: 2px;
  padding: 0.45rem 0.6rem;
  transform: rotate(-4deg);
  opacity: 0.66;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.72 0.28'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- the annotation stroke under the accent word ---------- */
.rl--annot { position: relative; white-space: nowrap; }
.rl--annot .rl__stroke {
  position: absolute;
  left: -2%; right: -2%; bottom: -0.08em;
  width: 104%; height: 0.16em;
  overflow: visible;
}
.rl--annot .rl__stroke path {
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  transition: stroke-dashoffset 600ms var(--ease) 350ms;
}
.is-loaded .rl--annot .rl__stroke path { stroke-dashoffset: 0; }

/* ---------- paper grain ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- scroll-aware header ---------- */
.head { transition: box-shadow var(--t) var(--ease); }
.head.is-scrolled { box-shadow: 0 1px 0 var(--rule-strong), 0 8px 24px -20px rgba(21, 23, 27, 0.35); }

/* anchor targets clear the sticky header */
[id] { scroll-margin-top: 88px; }

/* ---------- record & link micro-interaction ---------- */
a.record .record__folio { transition: color var(--t-fast) var(--ease); }
a.record:hover .record__folio { color: var(--bluepen); }
.tlink .tlink__arrow { transition: transform var(--t-fast) var(--ease); }
.tlink:hover .tlink__arrow { transform: translateX(4px); }
.btn { will-change: transform; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* staggered reveals inside record lists */
.records .record:nth-child(2) { transition-delay: 60ms; }
.records .record:nth-child(3) { transition-delay: 120ms; }
.records .record:nth-child(4) { transition-delay: 180ms; }
.records .record:nth-child(5) { transition-delay: 240ms; }

/* ---------- motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .rl--annot .rl__stroke path { stroke-dashoffset: 0; }
}

/* ---------- print: this site is a document, so let it be one ---------- */
@media print {
  .head, .drawer, .hero__cta, .burger, .docmock { display: none !important; }
  body::after { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .band { padding-block: 1.25rem; border-top: 1px solid #999; }
  a { text-decoration: none; color: #000; }
  .record { break-inside: avoid; }
}
