*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--secret-black);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--secret-black);
  color: var(--secret-ivory-muted);
  font-family: var(--font-utility);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.navigation-is-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: var(--secret-ivory);
  text-decoration-color: var(--secret-crimson);
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--secret-neon-soft);
  text-decoration-color: currentColor;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--secret-ivory);
  outline-offset: 3px;
}

::selection {
  background: var(--secret-crimson);
  color: var(--secret-ivory);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-5);
  color: var(--secret-ivory);
  font-family: var(--font-editorial);
  font-weight: 600;
  text-wrap: balance;
}

h1,
.secret-h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: .98;
}

h2,
.secret-h2 {
  font-size: 34px;
  letter-spacing: -.015em;
  line-height: 1.06;
}

h3,
.secret-h3 {
  font-size: 25px;
  line-height: 1.15;
}

h4 {
  font-size: 21px;
  line-height: 1.2;
}

p,
ul,
ol,
blockquote {
  margin-top: 0;
  margin-bottom: var(--space-5);
}

ul,
ol {
  padding-left: 1.25em;
}

blockquote {
  margin-inline: 0;
  padding-left: var(--space-5);
  border-left: 1px solid var(--secret-champagne);
  color: var(--secret-ivory);
  font-family: var(--font-editorial);
  font-size: 1.25em;
}

hr {
  height: 1px;
  margin-block: var(--space-7);
  border: 0;
  background: var(--secret-line);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--secret-line-soft);
  text-align: left;
}

th {
  color: var(--secret-ivory);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.secret-display-brand {
  color: var(--secret-ivory);
  font-family: var(--font-utility);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .92;
  text-transform: uppercase;
}

.secret-script {
  color: var(--secret-neon-soft);
  font-family: var(--font-script);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.secret-lead {
  color: var(--secret-ivory-muted);
  font-size: 18px;
  line-height: 1.65;
}

.secret-small {
  font-size: 14px;
}

.secret-ui,
.secret-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.secret-eyebrow {
  color: var(--secret-champagne);
  font-size: 11px;
  letter-spacing: .18em;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: var(--space-4);
  left: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-4);
  clip: auto;
  overflow: visible;
  background: var(--secret-ivory);
  color: var(--secret-black);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: normal;
}

@media (min-width: 768px) {
  h1,
  .secret-h1 {
    font-size: clamp(48px, 5vw, 64px);
  }

  h2,
  .secret-h2 {
    font-size: clamp(38px, 3.5vw, 44px);
  }

  h3,
  .secret-h3 {
    font-size: clamp(26px, 2.5vw, 28px);
  }

  .secret-display-brand {
    font-size: clamp(64px, 7vw, 88px);
  }

  .secret-script {
    font-size: clamp(34px, 3vw, 38px);
  }

  .secret-lead {
    font-size: 19px;
  }

  .secret-eyebrow {
    font-size: 12px;
  }
}

@media (min-width: 1280px) {
  h1,
  .secret-h1 {
    font-size: 64px;
  }

  h2,
  .secret-h2 {
    font-size: 44px;
  }

  h3,
  .secret-h3 {
    font-size: 28px;
  }

  .secret-display-brand {
    font-size: 88px;
  }

  .secret-script {
    font-size: 38px;
  }
}

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

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