:root {
  --ivory: #f8f7f3;
  --ivory-deep: #ecebe7;
  --white: #fffefa;
  --ink: #17233a;
  --ink-soft: #27344b;
  --slate: #5f6d7a;
  --slate-light: #8b98a4;
  --blue: #506d91;
  --blue-deep: #405a7d;
  --blue-bright: #6f8eac;
  --plum: #765a8e;
  --plum-deep: #5d456f;
  --plum-bright: #9b7daf;
  --lavender: #d8cbdd;
  --line: rgba(23, 35, 58, 0.14);
  --surface: rgba(255, 254, 250, 0.82);
  --surface-strong: #fffefa;
  --shadow: 0 24px 72px rgba(23, 35, 58, 0.12);

  --button-primary-bg: #17233a;
  --button-primary-text: #fffefa;
  --button-primary-hover: #405a7d;
  --button-secondary-bg: rgba(255, 254, 250, 0.74);
  --button-secondary-text: #17233a;
  --button-secondary-border: rgba(23, 35, 58, 0.22);

  --badge-ink-bg: #17233a;
  --badge-ink-text: #fffefa;
  --badge-blue-bg: #506d91;
  --badge-blue-text: #fffefa;
  --badge-plum-bg: #765a8e;
  --badge-plum-text: #fffefa;

  --radius: 30px;
  --max: 1200px;
}

[data-theme="dark"] {
  --ivory: #0f1928;
  --ivory-deep: #0a1320;
  --white: #18263a;
  --ink: #f6f3ee;
  --ink-soft: #e2e6e9;
  --slate: #b6c1cc;
  --slate-light: #8e9ba7;
  --blue: #8ca9c7;
  --blue-deep: #7897b7;
  --blue-bright: #a2bdd4;
  --plum: #c9a7d2;
  --plum-deep: #b78fc2;
  --plum-bright: #dcc1e2;
  --lavender: #493e59;
  --line: rgba(246, 243, 238, 0.14);
  --surface: rgba(24, 38, 58, 0.82);
  --surface-strong: #18263a;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.30);

  --button-primary-bg: #8ca9c7;
  --button-primary-text: #0f1928;
  --button-primary-hover: #a2bdd4;
  --button-secondary-bg: rgba(24, 38, 58, 0.68);
  --button-secondary-text: #f6f3ee;
  --button-secondary-border: rgba(246, 243, 238, 0.30);

  --badge-ink-bg: #ede8e0;
  --badge-ink-text: #17233a;
  --badge-blue-bg: #8ca9c7;
  --badge-blue-text: #0f1928;
  --badge-plum-bg: #c9a7d2;
  --badge-plum-text: #0f1928;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 3%, color-mix(in srgb, var(--plum) 11%, transparent), transparent 35rem),
    radial-gradient(circle at 5% 18%, color-mix(in srgb, var(--blue) 9%, transparent), transparent 32rem),
    var(--ivory);
  font-family: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background 220ms ease, color 220ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--ivory) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(23, 35, 58, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  color: var(--ink);
}
.brand-mark-wrap {
  position: relative;
  display: block;
  width: 3.08rem;
  height: 3.08rem;
  flex: 0 0 auto;
}
.brand-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 15px rgba(23,35,58,0.08));
}
.brand-mark-dark { display: none; }
[data-theme="dark"] .brand-mark-light { display: none; }
[data-theme="dark"] .brand-mark-dark { display: block; }
.brand-lockup {
  position: relative;
  display: grid;
  min-width: 0;
  padding-bottom: 0.48rem;
  line-height: 1;
}
.brand-lockup::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.3rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--blue),var(--plum));
}
.brand-name {
  white-space: nowrap;
  font-family: "Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand-name strong { color: var(--plum); font-weight: 700; }
.brand-signature {
  margin-top: 0.34rem;
  color: var(--slate);
  white-space: nowrap;
  font-size: 0.56rem;
  font-weight: 730;
  text-transform: uppercase;
  letter-spacing: 0.135em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--slate);
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue), var(--plum));
  transition: right 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  right: 0;
}

.theme-toggle {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(23, 35, 58, 0.06);
}

main {
  overflow: hidden;
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: center;
  padding: 6.6rem 0 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.72fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.52rem 0.84rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 680;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--plum));
  box-shadow: 0 0 0 0.34rem color-mix(in srgb, var(--plum) 10%, transparent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.portrait-caption blockquote,
.about-callout p,
.principle h3,
.chapter-heading h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 11.5ch;
  margin: 1.55rem 0 1.4rem;
  font-size: clamp(3.8rem, 7.6vw, 7.25rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 500;
}

h1 em {
  color: var(--blue);
  font-weight: 500;
  text-shadow: 0 10px 34px color-mix(in srgb, var(--blue) 15%, transparent);
}

.hero-copy {
  max-width: 730px;
  color: var(--slate);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.85rem;
}

.hero-location {
  margin: 1.25rem 0 0;
  color: var(--slate-light);
  font-size: 0.9rem;
  font-weight: 620;
  letter-spacing: 0.03em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.72rem;
  padding: 0.68rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 680;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--button-primary-text);
  background: var(--button-primary-bg);
  border-color: var(--button-primary-bg);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: var(--button-primary-text);
  background: var(--button-primary-hover);
  border-color: var(--button-primary-hover);
}

.button.secondary {
  color: var(--button-secondary-text);
  background: var(--button-secondary-bg);
  border-color: var(--button-secondary-border);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--plum);
  border-color: var(--plum);
  background: color-mix(in srgb, var(--plum) 7%, var(--button-secondary-bg));
}

[data-theme="dark"] .button.secondary:hover,
[data-theme="dark"] .button.secondary:focus-visible {
  color: var(--plum);
  border-color: var(--plum);
  background: color-mix(in srgb, var(--plum) 12%, var(--button-secondary-bg));
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.portrait-card {
  position: relative;
  padding: 0.72rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--plum) 30%, var(--line));
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--plum) 12%, transparent), transparent 42%),
    linear-gradient(330deg, color-mix(in srgb, var(--blue) 12%, transparent), transparent 38%),
    var(--surface);
  box-shadow: var(--shadow);
}

.portrait-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0.18rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent);
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: var(--ivory-deep);
}

.portrait-frame picture,
.portrait-frame img {
  display: block;
  width: 100%;
}

.portrait-frame img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
}

.portrait-caption {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.2rem 1.25rem;
}

.card-label,
.kicker {
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.145em;
}

.portrait-caption blockquote {
  margin: 0.64rem 0 0;
  color: var(--ink);
  font-size: clamp(1.32rem, 2.4vw, 1.92rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section {
  padding: 5.8rem 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 2.3rem;
  align-items: end;
  margin-bottom: 2.6rem;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4.85rem);
  line-height: 0.99;
  letter-spacing: -0.052em;
  font-weight: 500;
}

.section-intro {
  max-width: 760px;
  color: var(--slate);
  font-size: 1.08rem;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

.about-section {
  position: relative;
}

.about-callout {
  display: grid;
  grid-template-columns: minmax(170px, 0.33fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 2.4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-callout span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.about-callout p {
  margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.038em;
}

.work-section {
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--plum) 4%, transparent) 22%, color-mix(in srgb, var(--blue) 4%, transparent) 82%, transparent);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  min-height: 275px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(23, 35, 58, 0.045);
}

.work-card.feature-card {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--blue) 12%, transparent), transparent 55%),
    var(--surface);
  border-color: color-mix(in srgb, var(--blue) 30%, var(--line));
}

.work-card .number {
  display: inline-grid;
  place-items: center;
  width: 2.48rem;
  height: 2.48rem;
  margin-bottom: 2.25rem;
  border-radius: 50%;
  color: var(--badge-ink-text);
  background: var(--badge-ink-bg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--badge-ink-bg) 45%, var(--line));
  font-size: 0.82rem;
  font-weight: 800;
}

.work-card:nth-child(3n + 2) .number {
  color: var(--badge-plum-text);
  background: var(--badge-plum-bg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--badge-plum-bg) 45%, var(--line));
}

.work-card:nth-child(3n) .number {
  color: var(--badge-blue-text);
  background: var(--badge-blue-bg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--badge-blue-bg) 45%, var(--line));
}

.work-card h3 {
  margin-bottom: 0.68rem;
  color: var(--ink);
  font-size: 1.24rem;
  letter-spacing: -0.025em;
}

.work-card p {
  margin-bottom: 0;
  color: var(--slate);
}

.thinking-section {
  position: relative;
}

.thinking-section::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  width: 8rem;
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue), var(--plum));
}

.principles {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 4.5rem minmax(250px, 0.68fr) minmax(0, 1.2fr);
  gap: 1.55rem;
  align-items: start;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.principle-index {
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.principle h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.48rem, 2.35vw, 2.03rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.037em;
}

.principle p {
  margin: 0;
  color: var(--slate);
  font-size: 1.02rem;
}

.journey-section {
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 2.5%, transparent) 20%, color-mix(in srgb, var(--ink) 2.5%, transparent) 80%, transparent);
}

.chapter-list {
  display: grid;
  gap: 1rem;
}

.chapter {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 2.2rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.chapter:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--plum) 30%, var(--line));
  box-shadow: 0 16px 46px rgba(23, 35, 58, 0.07);
}

.chapter-heading h3 {
  margin-bottom: 0.36rem;
  color: var(--ink);
  font-size: clamp(1.58rem, 2.8vw, 2.32rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.043em;
}

.chapter-heading span {
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 760;
}

.chapter p {
  margin: 0;
  align-self: center;
  color: var(--slate);
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.34fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.7rem, 5vw, 4.6rem);
  border: 1px solid color-mix(in srgb, var(--plum) 25%, var(--line));
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--plum) 12%, transparent), transparent 25rem),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--blue) 11%, transparent), transparent 25rem),
    var(--surface);
  box-shadow: var(--shadow);
}


.contact-card::after {
  content: "";
  position: absolute;
  right: -3.1rem;
  bottom: -3.5rem;
  width: 15rem;
  aspect-ratio: 1;
  background: url("/assets/relational-knot-4b-light.png?v=83") center / contain no-repeat;
  opacity: 0.028;
  pointer-events: none;
}
[data-theme="dark"] .contact-card::after {
  background-image: url("/assets/relational-knot-4b-dark.png?v=83");
  opacity: 0.038;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-intro {
  align-self: start;
  position: sticky;
  top: 7rem;
}

.contact-intro h2 {
  max-width: 9ch;
}

.contact-intro p {
  max-width: 550px;
  margin: 1.3rem 0 1.8rem;
  color: var(--slate);
  font-size: 1.08rem;
}

.contact-form-wrap {
  min-width: 0;
}

.form-alert {
  margin-bottom: 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 720;
  background: var(--surface-strong);
}

.form-alert.success {
  border-color: color-mix(in srgb, var(--blue) 60%, var(--line));
  color: var(--blue);
}

.form-alert.error {
  border-color: color-mix(in srgb, #a53a3a 55%, var(--line));
  color: #8b3030;
}

[data-theme="dark"] .form-alert.error {
  color: #ffaaa0;
}

.form-alert small {
  display: block;
  margin-top: 0.35rem;
  color: var(--slate);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--ink);
  font-weight: 780;
  letter-spacing: -0.015em;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field input {
  min-height: 3.65rem;
  padding: 0.85rem 1rem;
}

.field textarea {
  min-height: 13rem;
  padding: 1rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--plum) 14%, transparent);
  background: var(--surface-strong);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.privacy-note {
  color: var(--slate);
  font-size: 0.88rem;
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}


.footer-identity { display:inline-flex; align-items:center; gap:0.65rem; }
.footer-knot { position:relative; display:block; width:1.75rem; height:1.75rem; flex:0 0 auto; opacity:0.9; }
.footer-knot img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.footer-knot-dark { display:none; }
[data-theme="dark"] .footer-knot-light { display:none; }
[data-theme="dark"] .footer-knot-dark { display:block; }

footer {
  padding: 2rem 0 3rem;
  color: var(--slate);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.error-card {
  width: min(100%, 720px);
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.error-card h1 {
  max-width: none;
  font-size: clamp(3rem, 10vw, 6rem);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 760px) {
  .brand-signature {
    display: none;
  }

  .brand-mark-wrap {
    width: 2.5rem;
    height: 2.5rem;
  }

  .brand-name {
    font-size: 1.06rem;
  }
}



.footer-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-link,
.text-link {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--blue) 42%, transparent);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-link:hover,
.footer-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--plum);
  text-decoration-color: var(--plum);
}

.privacy-page {
  min-height: calc(100vh - 10rem);
}

.privacy-hero {
  padding: clamp(5.8rem, 11vw, 9rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.privacy-shell {
  width: min(calc(100% - 2rem), 980px);
}

.privacy-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.8rem, 5vw, 4.6rem);
  border: 1px solid color-mix(in srgb, var(--plum) 22%, var(--line));
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--plum) 11%, transparent), transparent 24rem),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 24rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.privacy-card::after {
  content: "";
  position: absolute;
  right: -4.5rem;
  bottom: -5rem;
  width: 20rem;
  aspect-ratio: 1;
  background: url("/assets/relational-knot-mono.svg") center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

[data-theme="dark"] .privacy-card::after {
  opacity: 0.055;
}

.privacy-heading,
.privacy-copy {
  position: relative;
  z-index: 1;
}

.privacy-heading h1 {
  max-width: none;
  margin: 0.8rem 0 1rem;
  font-size: clamp(3.8rem, 8vw, 6.8rem);
}

.privacy-lede {
  margin: 0;
  max-width: 25rem;
  color: var(--slate);
  font-size: 1.08rem;
}

.privacy-copy {
  align-self: center;
  color: var(--slate);
  font-size: 1.04rem;
}

.privacy-copy p {
  margin-bottom: 1.3rem;
}

.privacy-copy p:last-child {
  margin-bottom: 0;
}

.privacy-updated {
  padding-top: 0.25rem;
  color: var(--slate-light);
  font-size: 0.88rem;
  font-weight: 680;
  letter-spacing: 0.025em;
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }

  .privacy-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.8rem;
  }

  .hero-grid,
  .section-heading,
  .contact-card,
  .chapter {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    width: min(100%, 580px);
    justify-self: center;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle {
    grid-template-columns: 3rem 1fr;
  }

  .principle p {
    grid-column: 2;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 660px) {
  h1 {
    font-size: clamp(3.2rem, 17vw, 5.25rem);
  }

  .work-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: auto;
  }

  .section {
    padding: 4.3rem 0;
  }

  .about-callout {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .principle {
    grid-template-columns: 2.2rem 1fr;
    gap: 0.9rem;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}



.toast-region {
  position: fixed;
  z-index: 1000;
  right: 1.2rem;
  bottom: 1.2rem;
  width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}

.site-toast {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1rem 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
  box-shadow: 0 22px 65px rgba(10, 18, 31, 0.24);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-toast[hidden] {
  display: none;
}

.site-toast.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-toast.success {
  border-color: color-mix(in srgb, var(--blue) 60%, var(--line));
}

.site-toast.error {
  border-color: color-mix(in srgb, #b75151 62%, var(--line));
}

.toast-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.22rem;
  border-radius: 50%;
  background: var(--slate);
  box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--slate) 10%, transparent);
}

.site-toast.success .toast-icon {
  background: var(--blue);
  box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--blue) 13%, transparent);
}

.site-toast.error .toast-icon {
  background: #b75151;
  box-shadow: 0 0 0 0.3rem rgba(183, 81, 81, 0.13);
}

.toast-copy {
  display: grid;
  gap: 0.15rem;
}

.toast-title {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.3;
}

.toast-message {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.45;
}

.toast-reference {
  margin-top: 0.18rem;
  color: var(--slate-light);
  font-size: 0.76rem;
}

.toast-close {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin: -0.25rem -0.25rem 0 0;
  border: 0;
  border-radius: 50%;
  color: var(--slate);
  background: transparent;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.toast-close:hover,
.toast-close:focus-visible {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

@media (max-width: 660px) {
  .toast-region {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
