:root {
  --ink: #0d2b46;
  --ink-soft: #2d5878;
  --blue: #0e6ea9;
  --cyan: #139bb2;
  --amber: #e7a52d;
  --paper: #f7f4ee;
  --glass: rgba(250, 249, 246, .76);
  --line: rgba(13, 43, 70, .16);
  --muted: #63788a;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

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

/* One full-page artwork only */
.site-art {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: url("assets/solution-architect-blueprint.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: scale(1.015);
}

.site-wash {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(247, 244, 238, .97) 0%,
      rgba(247, 244, 238, .88) 36%,
      rgba(247, 244, 238, .56) 64%,
      rgba(247, 244, 238, .42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(247, 244, 238, .40) 0%,
      rgba(247, 244, 238, .16) 45%,
      rgba(247, 244, 238, .60) 100%
    );
}

/* Top bar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(13, 43, 70, .12);
  background: rgba(247, 244, 238, .78);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: -.02em;
}

.brand strong span {
  color: var(--blue);
}

.brand small {
  margin-top: .28rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .62rem;
  letter-spacing: .08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  position: relative;
  padding: .5rem 0;
  color: rgba(13, 43, 70, .72);
  font-size: .77rem;
  font-weight: 600;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .22rem;
  height: 1px;
  background: var(--amber);
  transition: right .2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.active::after {
  right: 0;
}

.nav-divider {
  width: 1px;
  height: 22px;
  margin: 0 .15rem;
  background: var(--line);
}

.nav .external-link {
  color: var(--blue);
  font-size: .72rem;
}

.nav .nav-cv {
  padding: .58rem .8rem;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

.nav .nav-cv::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  margin-left: auto;
  padding: 9px 8px;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
}

/* Sections */
main {
  position: relative;
  z-index: 1;
}

main > section {
  position: relative;
  padding: 108px 24px 72px;
}

.panel-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.content-panel {
  padding: clamp(28px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading.narrow {
  max-width: 690px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.section-heading > p:last-child {
  max-width: 690px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

/* Hero */
.hero-panel {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  min-height: 72vh;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: clamp(26px, 4.5vw, 54px);
}

/* Integrated combination lock */
.name-lock {
  --reel-h: clamp(3.25rem, 6.4vw, 5.55rem);
  display: flex;
  align-items: center;
  min-height: var(--reel-h);
  margin: 0;
  overflow: visible;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2.35rem, 5.3vw, 4.75rem);
  font-weight: 720;
  letter-spacing: -.055em;
  line-height: 1;
}

.lock-reel {
  position: relative;
  width: .72em;
  height: var(--reel-h);
  overflow: hidden;
  flex: 0 0 .72em;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 24%,
    #000 76%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 24%,
    #000 76%,
    transparent 100%
  );
}

.lock-space {
  width: .42em;
  flex: 0 0 .42em;
}

.lock-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.lock-char {
  height: var(--reel-h);
  flex: 0 0 var(--reel-h);
  display: grid;
  place-items: center;
  color: rgba(13, 43, 70, .16);
}

.lock-char.final {
  color: var(--ink);
}

.lock-reel.locked::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  transform: translateX(-50%);
}

.hero-line {
  margin: 1.3rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 650;
}

.hero-summary {
  max-width: 600px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.8rem;
}

.primary-action,
.quiet-action {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .78rem 1rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
}

.primary-action {
  color: #fff;
  background: var(--ink);
}

.quiet-action {
  border: 1px solid rgba(13, 43, 70, .28);
  background: rgba(255, 255, 255, .34);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.6rem;
}

.hero-signals span {
  padding: .47rem .63rem;
  border: 1px solid rgba(13, 43, 70, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  color: var(--muted);
  font-size: .68rem;
}

.hero-signals strong {
  color: var(--ink);
}

.hero-note {
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 2rem 3rem 0;
  padding: .55rem .7rem;
  border-radius: 999px;
  background: rgba(247, 244, 238, .67);
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .61rem;
  letter-spacing: .17em;
}

.hero-note p {
  margin: 0;
}

.note-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

/* Expertise */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
}

.capability-grid article {
  min-height: 205px;
  padding: clamp(22px, 4vw, 38px);
}

.capability-grid article > span {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  letter-spacing: .14em;
}

.capability-grid h3 {
  margin: .85rem 0 .55rem;
  font-size: 1.12rem;
}

.capability-grid p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.58;
}

/* Labs */
.labs-list {
  border-top: 1px solid var(--line);
}

.lab-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.lab-index {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem;
}

.lab-row h3 {
  margin: 0;
  font-size: 1.12rem;
}

.lab-row p {
  max-width: 760px;
  margin: .65rem 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.62;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .85rem;
}

.tags span {
  padding: .35rem .5rem;
  border: 1px solid rgba(13, 43, 70, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  color: var(--ink-soft);
  font-size: .65rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
}

.current-exploration {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .12em;
  line-height: 1.6;
}

.current-label {
  color: var(--blue);
}

.current-arrow {
  color: var(--amber);
  font-weight: 700;
}

.current-dot {
  color: var(--muted);
}

/* Journey */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 2%;
  right: 2%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--amber));
}

.timeline article {
  position: relative;
  padding-top: 2.7rem;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--blue);
}

.timeline article.current::before {
  border-color: var(--amber);
}

.timeline time {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  letter-spacing: .08em;
}

.timeline h3 {
  margin: .6rem 0 .45rem;
  font-size: .98rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.55;
}

/* Credentials */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
}

.credentials-grid > div {
  padding: clamp(24px, 4vw, 38px);
}

.credentials-grid h3 {
  margin: 0 0 1rem;
}

.credentials-grid ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.85;
}

.closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

.closing-links a,
.closing-links span {
  padding: .58rem .75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .42);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 2.3rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: rgba(13, 43, 70, .6);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .62rem;
  letter-spacing: .08em;
}

.disabled-link {
  opacity: .4;
  pointer-events: none;
  cursor: default;
}

/* Tablet */
@media (max-width: 1040px) {
  .site-wash {
    background:
      linear-gradient(
        90deg,
        rgba(247, 244, 238, .94),
        rgba(247, 244, 238, .72)
      ),
      linear-gradient(
        180deg,
        rgba(247, 244, 238, .28),
        rgba(247, 244, 238, .56)
      );
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(247, 244, 238, .96);
    box-shadow: 0 24px 70px rgba(13, 43, 70, .14);
    backdrop-filter: blur(18px);
  }

  .nav.open {
    display: flex;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: .4rem 0;
  }

  .nav a {
    padding: .72rem .4rem;
  }

  .nav .nav-cv {
    padding: .72rem .7rem;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-note {
    justify-self: start;
    margin: 1.2rem 0 0;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline article {
    padding: 1rem 0 0 1.35rem;
    border-left: 1px solid var(--line);
  }

  .timeline article::before {
    top: 2px;
    left: -6px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  html {
    scroll-padding-top: 68px;
  }

  .topbar {
    height: 68px;
    padding: 0 16px;
  }

  .nav {
    top: 68px;
  }

  .site-art {
    background-size: auto 100%;
    background-position: 52% center;
    opacity: .84;
  }

  .site-wash {
    background:
      linear-gradient(
        90deg,
        rgba(247, 244, 238, .90) 0%,
        rgba(247, 244, 238, .82) 60%,
        rgba(247, 244, 238, .68) 100%
      );
  }

  main > section {
    padding: 84px 14px 48px;
  }

  .hero-panel {
    min-height: 100svh;
    padding-top: 82px;
  }

  .panel-inner {
    width: 100%;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 22px 18px;
  }

  .content-panel {
    padding: 30px 20px;
  }

  /* Rotary name */
  .name-lock {
    --reel-h: 2.7rem;
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.7rem, 8.2vw, 2.25rem);
    letter-spacing: -.075em;
  }

  .lock-reel {
    width: .68em;
    flex: 0 0 .68em;
  }

  .lock-space {
    width: .30em;
    flex: 0 0 .30em;
  }

  /* Hero */
  .hero-line {
    max-width: 19rem;
    font-size: .86rem;
    line-height: 1.45;
  }

  .hero-summary {
    max-width: 34rem;
    font-size: .86rem;
    line-height: 1.58;
  }

  .hero-actions {
    gap: .65rem;
    margin-top: 1.5rem;
  }

  .hero-signals {
    gap: .4rem;
    margin-top: 1.35rem;
  }

  .hero-signals span {
    padding: .4rem .55rem;
    font-size: .59rem;
  }

  .hero-note {
    margin-top: 1.2rem;
    font-size: .56rem;
  }

  /* Headings */
  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1;
    letter-spacing: -.045em;
  }

  .section-heading > p:last-child {
    font-size: .88rem;
    line-height: 1.6;
  }

  /* Expertise */
  .capability-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    gap: 0;
  }

  .capability-grid article {
    min-height: auto;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
  }

  .capability-grid article:last-child {
    border-bottom: 0;
  }

  .capability-grid h3 {
    font-size: 1rem;
  }

  .capability-grid p {
    font-size: .8rem;
    line-height: 1.55;
  }

  /* Labs */
  .lab-row {
    grid-template-columns: 30px 1fr;
    gap: .7rem;
  }

  /* Journey */
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline article {
    padding: .4rem 0 1.8rem 1.4rem;
  }

  .timeline h3 {
    margin-top: .45rem;
  }

  .timeline p {
    max-width: 29rem;
  }

  /* Footer */
  .footer {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: .8rem;
  }

  .current-exploration {
    font-size: .60rem;
    letter-spacing: .07em;
    gap: .35rem;
  }
}

/* Narrow phones */
@media (max-width: 420px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .primary-action,
  .quiet-action {
    justify-content: center;
    padding: .78rem .6rem;
    font-size: .71rem;
  }
}

@media (max-width: 340px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Optional analytics consent */
.analytics-consent[hidden] {
  display: none;
}

.analytics-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 100;
  width: min(calc(100% - 32px), 1040px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(13, 43, 70, .97);
  box-shadow: 0 18px 55px rgba(13, 43, 70, .24);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.analytics-consent-copy {
  min-width: 0;
}

.analytics-consent-copy strong {
  display: block;
  margin-bottom: .3rem;
  font-size: .86rem;
}

.analytics-consent-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .75rem;
  line-height: 1.55;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: .65rem;
}

.analytics-consent-actions button {
  min-height: 40px;
  padding: .68rem .9rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}

.analytics-accept {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.analytics-reject {
  border: 1px solid rgba(255, 255, 255, .34);
  background: transparent;
  color: #fff;
}

.analytics-consent-actions button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .analytics-consent {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .analytics-consent-copy p {
    font-size: .72rem;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .analytics-consent-actions button {
    width: 100%;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  /*color: inherit;*/
  color:#0d2b46;
  font-weight:bold;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--blue);
  font-weight:bold;
}

@media (max-width: 680px) {
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
  }
}

.privacy-page {
  min-height: 100vh;
  padding: 120px 24px 80px;
}

.privacy-content {
  width: min(100%, 760px);
  margin: 0 auto;
}

.privacy-content h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -.05em;
}

.privacy-content h2 {
  margin: 2.2rem 0 .7rem;
  font-size: 1.15rem;
}

.privacy-content p {
  color: var(--muted);
  line-height: 1.7;
}

.privacy-content a {
  color: var(--blue);
  font-weight: 650;
}

/* =========================================================
   FOOTER PRIVACY / ANALYTICS LINKS
   ========================================================= */

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text-button {
  padding: 0;
  border: 0;
  background: transparent;

  color: inherit;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: inherit;
  letter-spacing: inherit;

  cursor: pointer;

  transition: color .2s ease;
}

.footer-text-button:hover {
  color: var(--blue);
}


/* =========================================================
   PRIVACY LINK INSIDE ANALYTICS BANNER
   ========================================================= */

.analytics-privacy {
  padding: .68rem .5rem;

  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, .72);

  font-size: .72rem;
  font-weight: 650;

  cursor: pointer;

  transition:
    color .2s ease,
    opacity .2s ease;
}

.analytics-privacy:hover {
  color: #fff;
}

.analytics-privacy:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}


/* =========================================================
   PRIVACY MODAL
   ========================================================= */

.privacy-modal {
  width: min(calc(100% - 32px), 680px);
  max-height: min(82vh, 760px);

  padding: 0;

  border: 1px solid rgba(13, 43, 70, .14);
  border-radius: 14px;

  background: var(--paper);
  color: var(--ink);

  box-shadow:
    0 30px 100px rgba(13, 43, 70, .28);

  overflow: hidden;
}

.privacy-modal::backdrop {
  background: rgba(7, 25, 41, .48);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}


.privacy-modal-content {
  display: flex;
  flex-direction: column;

  max-height: min(82vh, 760px);
}


.privacy-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 1.5rem;

  padding: 26px 28px 20px;

  border-bottom: 1px solid var(--line);
}


.privacy-modal-eyebrow {
  margin: 0 0 .5rem;

  color: var(--blue);

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: .62rem;
  font-weight: 700;

  letter-spacing: .18em;
}


.privacy-modal-header h2 {
  margin: 0;

  font-size: clamp(1.8rem, 5vw, 2.6rem);

  line-height: 1;

  letter-spacing: -.045em;
}


.privacy-close {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  border: 1px solid var(--line);
  border-radius: 50%;

  background: transparent;

  color: var(--ink);

  font-size: 1.35rem;
  line-height: 1;

  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease;
}

.privacy-close:hover {
  background: rgba(13, 43, 70, .06);
  border-color: rgba(13, 43, 70, .25);
}


.privacy-modal-body {
  padding: 24px 28px;

  overflow-y: auto;
}


.privacy-modal-body h3 {
  margin: 1.7rem 0 .5rem;

  color: var(--ink);

  font-size: .92rem;
}


.privacy-modal-body h3:first-of-type {
  margin-top: 1.1rem;
}


.privacy-modal-body p {
  margin: 0 0 .9rem;

  color: var(--muted);

  font-size: .84rem;
  line-height: 1.65;
}


.privacy-modal-body a {
  color: var(--blue);
  font-weight: 650;
}


.privacy-modal-footer {
  display: flex;
  justify-content: flex-end;

  padding: 16px 28px 20px;

  border-top: 1px solid var(--line);
}


.privacy-modal-close-action {
  padding: .68rem 1rem;

  border: 0;
  border-radius: 6px;

  background: var(--ink);
  color: #fff;

  font-size: .74rem;
  font-weight: 700;

  cursor: pointer;
}


@media (max-width: 680px) {

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
  }


  .analytics-consent-actions {
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
  }


  .privacy-modal {
    width: calc(100% - 24px);
    max-height: 88svh;
  }


  .privacy-modal-content {
    max-height: 88svh;
  }


  .privacy-modal-header {
    padding: 22px 20px 17px;
  }


  .privacy-modal-body {
    padding: 20px;
  }


  .privacy-modal-footer {
    padding: 14px 20px 18px;
  }

}