.d-page { --ink: #18181b; --muted: #56565c; --line: rgba(24,24,27,.14); --paper: #ffffff; --accent: #2b46c9; --ease: cubic-bezier(.22,1,.36,1);
  background: var(--paper); color: var(--ink); font: 400 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
.d-page *, .d-page *::before, .d-page *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #ffffff; }
:where(.d-page) :where(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; padding: 0; }
.d-wrap { max-width: 1080px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.d-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.d-header-in { gap: 12px; display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.d-brand { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; }
.d-header nav { display: flex; gap: 8px; }
.d-header nav a { color: var(--muted); text-decoration: none; padding: 12px 10px; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s ease; }
.d-page a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.d-display, .d-h2 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
.d-display { font-size: clamp(44px, 9vw, 104px); line-height: 1; }
.d-display-s { font-size: clamp(36px, 6vw, 64px); }
.d-h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin-bottom: 24px; }
.d-hero { padding-top: clamp(64px, 12vw, 144px); padding-bottom: clamp(48px, 8vw, 96px); }
.d-line { display: inline-block; }
.d-lead { font-size: 18px; max-width: 56ch; margin-top: 32px; color: var(--muted); text-wrap: pretty; }
.d-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.d-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 6px; font-weight: 600; transition: background-color .2s ease, transform .2s var(--ease); }
.d-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .2s ease, color .2s ease; }
.d-page section.d-wrap { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.d-page section.d-hero { border-top: 0; }
.d-prose { display: grid; gap: 20px; max-width: 62ch; }
.d-prose p, .d-intro, .d-note { text-wrap: pretty; }
.d-intro { max-width: 62ch; color: var(--muted); }
.d-note { max-width: 62ch; color: var(--muted); margin-top: 32px; }
.d-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.d-stats dt { color: var(--muted); font-size: 14px; order: 2; }
.d-stats div { display: flex; flex-direction: column; }
.d-stats dd { order: 1; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.d-list { list-style: none; max-width: 62ch; }
.d-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.d-list li:last-child { border-bottom: 1px solid var(--line); }
.d-list strong { font-weight: 600; }
.d-rows { margin-top: 32px; }
.d-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.d-row:last-child { border-bottom: 1px solid var(--line); }
.d-row h3 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.d-row h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .2s ease, color .2s ease; }
.d-row p { color: var(--muted); text-wrap: pretty; }
.d-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; align-items: start; }
.d-shot { border-radius: 12px; overflow: hidden; outline: 1px solid rgba(24,24,27,.1); outline-offset: -1px; background: #fff; transition: transform .25s var(--ease); }
.d-shot img { display: block; width: 100%; height: auto; }
.d-shots figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.d-shots figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.d-shots figcaption a { color: inherit; text-underline-offset: 4px; }
.d-contact .d-intro { margin-top: 24px; }
.d-footer { padding-top: 24px; padding-bottom: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.d-footer p { max-width: 70ch; }

/* Motion: only when JS is running, so the content is complete without it. */
.d-js .d-line { opacity: 0; transform: translateY(16px); animation: d-in .7s var(--ease) forwards; }
.d-js .d-line:nth-child(2) { animation-delay: .08s; }
.d-js .d-line:nth-child(3) { animation-delay: .16s; }
.d-js [data-rise] { opacity: 0; transform: translateY(12px); animation: d-in .6s var(--ease) .3s forwards; }
.d-js [data-rise] + [data-rise] { animation-delay: .4s; }
.d-js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.d-js [data-reveal].in { opacity: 1; transform: none; }
@keyframes d-in { to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .d-header nav a:hover { color: var(--ink); }
  .d-btn:hover { background: #1f3499; transform: translateY(-1px); }
  .d-link:hover, .d-row h3 a:hover { text-decoration-color: var(--accent); color: var(--accent); }
  .d-shots figure:hover .d-shot { transform: translateY(-4px); }
}
@media (max-width: 800px) {
  .d-header nav { gap: 0; } .d-header nav a { padding: 12px 8px; }
  .d-wrap { padding-left: 20px; padding-right: 20px; }
  .d-stats { grid-template-columns: repeat(2, 1fr); }
  .d-row { grid-template-columns: 1fr; }
  .d-shots { grid-template-columns: 1fr; max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .d-js .d-line, .d-js [data-rise], .d-js [data-reveal] { animation: none; transition: none; opacity: 1; transform: none; }
  .d-btn, .d-shot { transition: none; }
}
