/* Design tokens & editorial typography derived via REA of https://draki.ai/ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=Instrument+Serif:ital@0;1&family=Playfair+Display:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  --sr-pink: #ffbaff;
  --sr-pink-rgb: 255 186 255;
  --sr-white: #ffffff;
  --sr-offwhite: #f4eff3;
  --sr-muted: #b6acb9;
  --sr-muted-strong: #c2b5c7;
  --sr-muted-soft: #b9acbb;
  --sr-line: rgba(255, 255, 255, 0.14);
  --sr-surface: #090709;
  --sr-bg: #000000;
  --sr-badge-bg: #151115;
  --sr-badge-border: #766176;
  --sr-plum-ink: #241224;
  --sr-violet-brand: #7f64ed;

  --font-display: "Instrument Serif", "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --sr-page-gutter: clamp(36px, 4vw, 88px);
  --sr-page-width: calc(100% - var(--sr-page-gutter) * 2);
  --sr-content-inset: clamp(0px, calc(8vw - 88px), 48px);
  --sr-radius: 0.625rem;
}

@media (max-width: 1100px) {
  :root {
    --sr-page-gutter: 36px;
  }
}

@media (max-width: 899px) {
  :root {
    --sr-page-gutter: 22px;
  }
}

@media (max-width: 420px) {
  :root {
    --sr-page-gutter: 18px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--sr-line);
  -webkit-tap-highlight-color: transparent;
}

code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  accent-color: var(--sr-pink);
  scroll-behavior: smooth;
  background-color: var(--sr-bg);
  color: var(--sr-white);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
}

body {
  margin: 0;
  background-color: var(--sr-bg);
  color: var(--sr-white);
  font-family: var(--font-sans);
  overflow-x: clip;
}

::selection {
  color: var(--sr-plum-ink);
  background: var(--sr-pink);
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button,
input {
  font: inherit;
  color: inherit;
}

input {
  caret-color: var(--sr-pink);
}

button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

:where(a, button, summary, [role="button"], input, textarea, select):focus-visible {
  outline: 2px solid var(--sr-pink);
  outline-offset: 2px;
}

img,
svg {
  display: block;
  vertical-align: middle;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
}

/* Accessibility skip link */
.sr-skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 1.1rem;
  border-radius: 0.5rem;
  background: var(--sr-pink);
  color: #000000;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.16s ease;
}

.sr-skip-link:focus {
  top: 1rem;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.sr-visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Display typography helpers mirroring Draki typographic punctuation details */
.sr-display-dash {
  display: inline-block;
  vertical-align: 0.22em;
  width: 0.25em;
  height: max(0.75px, 0.035em);
  margin: 0 0.045em;
  background: currentColor;
  transform: rotate(-7deg);
}

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

.sr-page {
  --draki-pink: var(--sr-pink);
  --draki-pink-rgb: var(--sr-pink-rgb);
  --draki-white: var(--sr-white);
  min-height: 100vh;
  background: var(--sr-bg);
  color: var(--sr-white);
}

.wrap {
  width: min(1440px, calc(100% - var(--sr-page-gutter) * 2 - var(--sr-content-inset) * 2));
  margin-inline: auto;
}

.sr-page-shell {
  width: var(--sr-page-width);
  max-width: 1440px;
  margin-inline: auto;
}
