@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/DMSerifDisplay-Italic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-VariableFont.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100 1000;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Italic-VariableFont.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 100 1000;
}

:root {
  color-scheme: dark;
  --gold: #d4a843;
  --gold-soft: #c99a3f;
  --copper: #bd7846;
  --champagne: #f2e7cd;
  --text: #f4ecd9;
  --text-muted: rgba(244, 236, 217, 0.68);
  --text-faint: rgba(244, 236, 217, 0.48);
  --night: #071126;
  --ink: #11100c;
  --surface: rgba(8, 10, 12, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  position: relative;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(180deg, rgba(205, 159, 70, 0.18) 0%, rgba(128, 98, 50, 0.1) 34%, rgba(16, 17, 17, 0.04) 58%, rgba(8, 18, 39, 0) 76%),
    radial-gradient(ellipse 112% 86% at 50% -9%, rgba(210, 166, 76, 0.28), rgba(116, 88, 48, 0.12) 40%, rgba(20, 20, 18, 0.05) 66%, transparent 84%),
    radial-gradient(ellipse 120% 72% at 50% 88%, rgba(10, 25, 54, 0.68), rgba(7, 17, 38, 0.58) 48%, transparent 80%),
    linear-gradient(180deg, #17130d 0%, #121313 48%, #0d1421 72%, #071022 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 34% at 47% 24%, rgba(231, 188, 92, 0.055), rgba(171, 117, 58, 0.024) 46%, transparent 76%),
    radial-gradient(ellipse 58% 36% at 55% 66%, rgba(21, 43, 85, 0.12), transparent 74%),
    linear-gradient(90deg, rgba(255, 246, 218, 0.018), transparent 22%, transparent 78%, rgba(255, 246, 218, 0.014)),
    linear-gradient(180deg, transparent 0%, rgba(255, 221, 140, 0.018) 36%, rgba(4, 11, 25, 0.34) 100%);
  mix-blend-mode: soft-light;
  animation: ambient-drift 78s ease-in-out infinite alternate;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.14;
  mix-blend-mode: overlay;
}

a {
  color: inherit;
}

a:hover,
a:focus-visible {
  text-decoration-color: rgba(212, 168, 67, 0.72);
}

button {
  font: inherit;
}

.info-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.info-button {
  border: 1px solid rgba(224, 220, 210, 0.36);
  color: rgba(224, 220, 210, 0.86);
  background: rgba(46, 46, 50, 0.38);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.info-button {
  position: fixed;
  z-index: 6;
  top: clamp(20px, 4vw, 42px);
  right: clamp(20px, 4vw, 42px);
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  place-items: center;
  font-size: 0.96rem;
  font-weight: 600;
}

.info-button-i,
.info-button-x,
.info-button-x::before,
.info-button-x::after {
  grid-area: 1 / 1;
}

.info-button-i {
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.info-button-x {
  display: grid;
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: rotate(-45deg) scale(0.72);
  transition: opacity 320ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.info-button-x::before,
.info-button-x::after {
  align-self: center;
  width: 13px;
  height: 1px;
  content: "";
  background: currentColor;
  transform-origin: center;
}

.info-button-x::before {
  transform: rotate(45deg);
}

.info-button-x::after {
  transform: rotate(-45deg);
}

.info-toggle:checked + .info-button .info-button-i {
  opacity: 0;
  transform: rotate(28deg) scale(0.68);
}

.info-toggle:checked + .info-button .info-button-x {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.info-button:hover,
.info-toggle:focus-visible + .info-button {
  border-color: rgba(176, 176, 176, 0.44);
  color: #e0dcd2;
  background: rgba(46, 46, 50, 0.72);
}

.info-toggle:focus-visible + .info-button {
  outline: 1px solid rgba(212, 168, 67, 0.68);
  outline-offset: 5px;
}

.intro-mark {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: grid;
  min-height: 100svh;
  padding: clamp(32px, 6vw, 72px) 24px;
  place-items: center;
  pointer-events: none;
  animation: intro-screen 1900ms cubic-bezier(0.5, 0, 0.15, 1) forwards;
}

.intro-panel {
  width: min(100%, 720px);
  margin-block-start: clamp(6px, 3vh, 42px);
}

.intro-mark svg {
  display: block;
  width: clamp(292px, 36vw, 548px);
  max-width: 86vw;
  height: auto;
  margin: 0 auto;
  fill: var(--gold);
  filter: drop-shadow(0 18px 42px rgba(212, 168, 67, 0.08));
  animation: intro-logo 1700ms cubic-bezier(0.2, 0.8, 0.18, 1) forwards;
}

.intro-logo-rest {
  width: clamp(292px, 36vw, 548px);
  max-width: 86vw;
  margin: 0 auto;
  aspect-ratio: 250.0333 / 34.9893;
}

.intro-placeholder {
  opacity: 0;
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  padding: clamp(32px, 6vw, 72px) 24px;
  place-items: center;
}

.brand-panel {
  width: min(100%, 720px);
  margin-block-start: clamp(6px, 3vh, 42px);
  animation: entry-settle 900ms 720ms cubic-bezier(0.2, 0.8, 0.18, 1) both;
  text-align: center;
}

.logo-mark {
  width: clamp(292px, 36vw, 548px);
  max-width: 86vw;
}

.logo-mark {
  margin: 0 auto;
  color: var(--gold);
  filter:
    drop-shadow(0 18px 42px rgba(212, 168, 67, 0.08))
    drop-shadow(0 1px 0 rgba(255, 241, 195, 0.08));
}

.logo-mark svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}

.since {
  margin: clamp(26px, 4.2vh, 46px) 0 0;
  margin-inline: auto;
  color: rgba(224, 220, 210, 0.68);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  word-spacing: 0.46em;
}

.positioning {
  width: min(100%, 560px);
  margin: clamp(48px, 7vh, 76px) auto 0;
  color: rgba(246, 238, 221, 0.86);
  font-family: "DM Serif Display", Didot, "Bodoni 72", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.36rem;
  font-weight: 400;
  line-height: 1.64;
  text-wrap: balance;
  text-shadow: 0 1px 18px rgba(9, 12, 18, 0.42);
}

.email-link {
  display: inline-block;
  margin-block-start: clamp(46px, 6vh, 68px);
  color: rgba(244, 236, 217, 0.66);
  font-family: "DM Sans", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 0.34em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.email-link::before {
  display: block;
  width: 32px;
  height: 1px;
  margin: 0 auto 30px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.72), transparent);
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(212, 168, 67, 0.7);
}

.email-link:focus-visible {
  border-radius: 2px;
  outline: 1px solid rgba(212, 168, 67, 0.72);
  outline-offset: 8px;
}

.site-footer {
  position: fixed;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0 24px clamp(18px, 3vh, 28px);
  color: var(--text-faint);
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
  text-underline-offset: 0.32em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.info-panel {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  height: 100dvh;
  min-height: 100svh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(26, 26, 30, 0.64), rgba(26, 26, 30, 0.78)),
    url("assets/backgrounds/6D_corner-warmth-overlay.jpg"),
    radial-gradient(ellipse 72% 62% at 50% 8%, rgba(212, 168, 67, 0.028), transparent 66%),
    rgba(26, 26, 30, 0.88);
  background-position: center, 68% 20%, center, center;
  background-size: auto, cover, auto, auto;
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  transform: translateY(10px);
  transition: opacity 620ms ease, visibility 0ms linear 620ms, transform 720ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.info-toggle:checked ~ .info-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0ms;
}

.info-content {
  display: grid;
  width: min(100% - 48px, 760px);
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(92px, 12vh, 150px) 0 clamp(52px, 8vh, 96px);
  align-content: center;
}

.info-content p {
  max-width: 680px;
  margin: 0;
  color: #e0dcd2;
  font-family: "DM Serif Display", Didot, "Bodoni 72", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

.info-content p + p {
  margin-block-start: clamp(32px, 5vh, 58px);
}

.info-content a {
  width: fit-content;
  margin-block-start: clamp(38px, 6vh, 70px);
  color: #e0dcd2;
  font-family: "DM Serif Display", Didot, "Bodoni 72", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
  text-underline-offset: 0.34em;
}

.info-toggle:checked ~ .info-panel .info-content > * {
  animation: info-rise 780ms cubic-bezier(0.2, 0.8, 0.18, 1) both;
}

.info-toggle:checked ~ .info-panel .info-content > *:nth-child(2) {
  animation-delay: 90ms;
}

.info-toggle:checked ~ .info-panel .info-content > *:nth-child(3) {
  animation-delay: 160ms;
}

.info-toggle:checked ~ .info-panel .info-content > *:nth-child(4) {
  animation-delay: 230ms;
}

.info-content a:hover,
.info-content a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(212, 168, 67, 0.72);
}

@keyframes ambient-drift {
  0% {
    opacity: 0.56;
    transform: translate3d(-0.55%, -0.3%, 0) scale(1.006);
    filter: hue-rotate(-1deg);
  }

  100% {
    opacity: 0.82;
    transform: translate3d(0.55%, 0.35%, 0) scale(1.014);
    filter: hue-rotate(1deg);
  }
}

@keyframes info-rise {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes entry-settle {
  0% {
    opacity: 0.01;
  }

  100% {
    opacity: 1;
  }
}

@keyframes intro-screen {
  0% {
    opacity: 1;
    visibility: visible;
  }

  54% {
    opacity: 1;
  }

  99% {
    opacity: 0;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes intro-logo {
  0% {
    opacity: 0;
    transform: scale(0.99);
    filter: blur(4px) drop-shadow(0 18px 42px rgba(212, 168, 67, 0.04));
  }

  28% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) drop-shadow(0 18px 42px rgba(212, 168, 67, 0.08));
  }

  68% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1);
    filter: blur(0) drop-shadow(0 18px 42px rgba(212, 168, 67, 0));
  }
}

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

.privacy-page {
  min-height: 100svh;
}

.privacy-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 980px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 0 clamp(88px, 12vh, 144px);
}

.privacy-back {
  position: fixed;
  z-index: 2;
  top: clamp(22px, 4vw, 42px);
  left: clamp(22px, 4vw, 42px);
  color: rgba(224, 220, 210, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.privacy-back::before {
  content: "< ";
}

.privacy-back:hover,
.privacy-back:focus-visible {
  color: var(--text);
}

.privacy-content {
  width: min(100%, 720px);
  padding-top: clamp(112px, 20vh, 190px);
}

.privacy-kicker {
  margin: 0 0 24px;
  color: rgba(224, 220, 210, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-content h1 {
  max-width: 620px;
  margin: 0;
  color: #e0dcd2;
  font-family: "DM Serif Display", Didot, "Bodoni 72", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(3.1rem, 9vw, 6.4rem);
  font-weight: 400;
  line-height: 0.96;
}

.privacy-meta {
  margin: clamp(42px, 7vh, 72px) 0;
  color: rgba(224, 220, 210, 0.74);
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.8;
}

.privacy-content p {
  max-width: 650px;
  margin: 0;
  color: rgba(246, 238, 221, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.84;
}

.privacy-content p + p {
  margin-block-start: 1.55em;
}

.privacy-content a,
.privacy-meta a {
  color: #e0dcd2;
  text-decoration: none;
  text-underline-offset: 0.32em;
}

.privacy-content a:hover,
.privacy-content a:focus-visible,
.privacy-meta a:hover,
.privacy-meta a:focus-visible {
  text-decoration: underline;
}

.privacy-footer {
  position: static;
  margin-top: calc(-1 * clamp(66px, 9vh, 104px));
}

@media (max-width: 680px) {
  .info-button {
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
  }

  .site-shell {
    min-height: 100svh;
    padding: 34px 22px 88px;
  }

  .brand-panel {
    margin-block-start: 0;
  }

  .intro-mark {
    padding: 34px 22px 88px;
  }

  .intro-panel {
    margin-block-start: 0;
  }

  .positioning {
    margin-block-start: 44px;
    font-size: 1.14rem;
    line-height: 1.62;
  }

  .since {
    margin-block-start: 36px;
    font-size: 0.78rem;
  }

  .email-link {
    margin-block-start: 42px;
    font-size: 0.9rem;
  }

  .site-footer {
    position: static;
    padding: 0 22px 24px;
  }

  .info-content {
    width: min(100% - 44px, 760px);
    min-height: auto;
    padding-block: 104px 68px;
    align-content: start;
  }

  .info-content p {
    font-size: 1.72rem;
    line-height: 1.16;
  }

  .info-content p + p {
    margin-block-start: 34px;
  }

  .info-content a {
    margin-block-start: 42px;
    font-size: 1.08rem;
  }

  .privacy-shell {
    width: min(100% - 44px, 980px);
    padding-bottom: 70px;
  }

  .privacy-back {
    position: absolute;
    top: 22px;
    left: 0;
  }

  .privacy-content {
    padding-top: 104px;
  }

  .privacy-content h1 {
    font-size: 3.1rem;
  }

  .privacy-footer {
    margin-top: -36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  body {
    background-position: center;
  }

  .intro-mark {
    display: none;
  }
}
