/* Semantic colors for the page and concept illustrations. */
:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #30332f;
  --muted: #666b63;
  --line: #dedfd7;
  --accent: #96563f;
  --orange: #b1836d;
  --blue: #edf0f4;
  --peach: #f1ece7;
  --green: #edf0e8;
  --surface: #eff0ea;
  --raised: #fdfcf8;
  --hero-card: #fffdf8;
  --hero-card-line: #bdb7ac;
  --hero-card-rule: #e1dcd3;
  --header-bg: #f8f7f2f0;
  --selection: #e4d5c8;
  --shadow: #272a2608;
  --button-hover: #4c5048;
  --caption-bg: #ffffff15;
  --badge-bg: #efede6;
  --badge-line: #d5d2c8;
  --badge-ink: #676257;
  --status-ink: #51644c;
  --status-dot: #71856a;
  --blue-ink: #40536d;
  --blue-line: #b7c4d6;
  --blue-node: #f8faff;
  --blue-detail: #dce4ee;
  --blue-solid: #486186;
  --peach-ink: #765849;
  --peach-line: #c8ae9c;
  --peach-node: #fbf7f2;
  --peach-detail: #dfc7b6;
  --peach-grid: #e6d8cc;
  --peach-solid: #785444;
  --green-ink: #42584b;
  --green-line: #b9c6b1;
  --green-node: #f7f9f1;
  --green-mid: #8d9e83;
  --calendar-personal: #dce4d0;
  --green-solid: #41594b;
  --green-on-solid: #dce7d9;
  --factory-bg: #f2ece3;
  --factory-card: #faf7f1;
  --factory-ink: #494139;
  --factory-muted: #766a5b;
  --factory-line: #c4b8a7;
  --factory-tint: #e6d7c1;
  --factory-accent: #946a49;
  --factory-mark: #a1805b;
  --breez-bg: #edf0f4;
  --breez-card: #fafbf9;
  --breez-ink: #354355;
  --breez-muted: #68758a;
  --breez-line: #aebccc;
  --breez-tint: #e5eaf0;
  --breez-blue: #607b9f;
  --relka-bg: #eeece4;
  --relka-card: #f8f5ed;
  --relka-ink: #20312a;
  --relka-muted: #596b60;
  --relka-line: #b6c2b4;
  --relka-green: #496b59;
  --relka-tint: #e4ebe0;
  --relka-badge: #dfeafb;
  --relka-badge-ink: #2e5d8b;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --paper: #191c1a;
  --ink: #e2e5dd;
  --muted: #a6afa2;
  --line: #383f37;
  --accent: #d5a58d;
  --orange: #b78b76;
  --blue: #232b35;
  --peach: #302923;
  --green: #242e27;
  --surface: #202620;
  --raised: #272e27;
  --hero-card: #3b3934;
  --hero-card-line: #80796f;
  --hero-card-rule: #5a564f;
  --header-bg: #191c1af0;
  --selection: #53483e;
  --shadow: #00000018;
  --button-hover: #cbd3c4;
  --caption-bg: #00000010;
  --badge-bg: #30342d;
  --badge-line: #4c5347;
  --badge-ink: #c3c6b6;
  --status-ink: #b8cbb0;
  --status-dot: #95ae88;
  --blue-ink: #d0daea;
  --blue-line: #52627a;
  --blue-node: #303c4e;
  --blue-detail: #546785;
  --blue-solid: #486186;
  --peach-ink: #e1c9b8;
  --peach-line: #756052;
  --peach-node: #3c322b;
  --peach-detail: #705646;
  --peach-grid: #564437;
  --peach-solid: #785444;
  --green-ink: #c5d5c3;
  --green-line: #556a53;
  --green-node: #324234;
  --green-mid: #6d8464;
  --calendar-personal: #3b4c3d;
  --green-solid: #41594b;
  --green-on-solid: #dce7d9;
  --factory-bg: #2d2822;
  --factory-card: #37312a;
  --factory-ink: #e3d7c8;
  --factory-muted: #c4b5a1;
  --factory-line: #655b4d;
  --factory-tint: #514537;
  --factory-accent: #c7a27b;
  --factory-mark: #b9966c;
  --breez-bg: #232b35;
  --breez-card: #2c3745;
  --breez-ink: #d3deeb;
  --breez-muted: #a7b6c8;
  --breez-line: #66768d;
  --breez-tint: #35445a;
  --breez-blue: #9cb2cf;
  --relka-bg: #202a24;
  --relka-card: #29352d;
  --relka-ink: #e4ebe2;
  --relka-muted: #afbeb2;
  --relka-line: #617565;
  --relka-green: #adc7b3;
  --relka-tint: #35473a;
  --relka-badge: #314967;
  --relka-badge-ink: #c2dafe;
}
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #191c1a;
  --ink: #e2e5dd;
  --muted: #a6afa2;
  --line: #383f37;
  --accent: #d5a58d;
  --orange: #b78b76;
  --blue: #232b35;
  --peach: #302923;
  --green: #242e27;
  --surface: #202620;
  --raised: #272e27;
  --hero-card: #3b3934;
  --hero-card-line: #80796f;
  --hero-card-rule: #5a564f;
  --header-bg: #191c1af0;
  --selection: #53483e;
  --shadow: #00000018;
  --button-hover: #cbd3c4;
  --caption-bg: #00000010;
  --badge-bg: #30342d;
  --badge-line: #4c5347;
  --badge-ink: #c3c6b6;
  --status-ink: #b8cbb0;
  --status-dot: #95ae88;
  --blue-ink: #d0daea;
  --blue-line: #52627a;
  --blue-node: #303c4e;
  --blue-detail: #546785;
  --blue-solid: #486186;
  --peach-ink: #e1c9b8;
  --peach-line: #756052;
  --peach-node: #3c322b;
  --peach-detail: #705646;
  --peach-grid: #564437;
  --peach-solid: #785444;
  --green-ink: #c5d5c3;
  --green-line: #556a53;
  --green-node: #324234;
  --green-mid: #6d8464;
  --calendar-personal: #3b4c3d;
  --green-solid: #41594b;
  --green-on-solid: #dce7d9;
  --factory-bg: #2d2822;
  --factory-card: #37312a;
  --factory-ink: #e3d7c8;
  --factory-muted: #c4b5a1;
  --factory-line: #655b4d;
  --factory-tint: #514537;
  --factory-accent: #c7a27b;
  --factory-mark: #b9966c;
  --breez-bg: #232b35;
  --breez-card: #2c3745;
  --breez-ink: #d3deeb;
  --breez-muted: #a7b6c8;
  --breez-line: #66768d;
  --breez-tint: #35445a;
  --breez-blue: #9cb2cf;
  --relka-bg: #202a24;
  --relka-card: #29352d;
  --relka-ink: #e4ebe2;
  --relka-muted: #afbeb2;
  --relka-line: #617565;
  --relka-green: #adc7b3;
  --relka-tint: #35473a;
  --relka-badge: #314967;
  --relka-badge-ink: #c2dafe;
}

/* A quieter editorial hierarchy. */
.wordmark { font-size: 19px; font-weight: 600; letter-spacing: -.035em; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-contact { border: 0; padding: 10px 0; font-size: 12px; }
.nav-contact:hover { background: none; color: var(--accent); }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); padding: 10px; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: var(--surface); color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-sun { display: none; }
.theme-toggle[data-current-theme="dark"] .theme-sun { display: block; }
.theme-toggle[data-current-theme="dark"] .theme-moon { display: none; }
.skip-link { color: var(--paper); }
.source-calendar.one span, .sample-event.personal { background: var(--calendar-personal); }
.hero { min-height: 550px; padding-top: 65px; }
.hero h1 { font-size: clamp(42px, 4.8vw, 64px); line-height: 1.17; letter-spacing: -.05em; font-weight: 500; }
.hero-description { font-size: 15px; max-width: 445px; }
.eyebrow .orange-dot { display: none; }
.hero-art { max-width: 365px; opacity: .9; }
.idea-card { transform: rotate(-3deg); box-shadow: none; }
.idea-title { font-size: 26px; }
.make-card { transform: rotate(3deg); box-shadow: none; }
.make-title { font-size: 21px; }
.art-note { transform: none; font-family: var(--font); font-style: normal; font-size: 11px; }
.hero-baseline { font-size: 8px; letter-spacing: .07em; }
.section-heading h2, .approach-intro h2, .about-copy h2 { font-size: 38px; font-weight: 500; letter-spacing: -.045em; }
.section-heading .section-kicker { display: none; }
.project-copy h3 { font-size: 22px; }
.project-headline { font-size: 26px; font-weight: 400; }
.button { border-radius: 6px; font-weight: 500; }
.project-visual { border-radius: 10px; }
.source-calendar.one, .source-calendar.two, .shared-calendar { transform: none; box-shadow: none; }
.shared-calendar { transform: translateX(-50%); }
.connect-section { border-top: 1px solid var(--line); }
.connect-grid h2 { font-size: 42px; font-weight: 500; letter-spacing: -.045em; }
.button-light { background: var(--ink); color: var(--paper); }
.button-light:hover { background: var(--button-hover); }
.contact-actions { min-width: 250px; }
.social-links a:hover { color: var(--ink); }
.detail-heading h1 { font-size: 50px; font-weight: 500; }
@media (max-width: 800px) {
  .hero { min-height: 480px; }
  .hero h1 { font-size: 48px; }
  .header-actions { gap: 12px; }
}
@media (max-width: 600px) {
  .hero { min-height: 0; padding-top: 44px; }
  .hero h1 { font-size: clamp(39px, 10.2vw, 52px); }
  .hero-art { margin-top: 30px; }
  .hero-description { font-size: 14px; }
  .header-actions { gap: 5px; }
  .site-header nav { gap: 10px; }
  .nav-contact { font-size: 11px; }
  .theme-toggle { width: 36px; height: 40px; padding: 9px; }
  .section-heading h2, .approach-intro h2, .about-copy h2 { font-size: 32px; }
  .project-headline { font-size: 25px; }
  .connect-grid h2 { font-size: 36px; }
  .detail-heading h1 { font-size: 38px; }
  .hero-baseline>span { max-width: 200px; font-size: 7px; }
}
