/* ==========================================================================
   Paradox Capital · Production Stylesheet
   v1.0 · MMXXVI
   ========================================================================== */

/* --- Webfonts ------------------------------------------------------------ */
/* Place licensed WOFF2 files in /fonts/.
   Albertus Nova: licensed via Monotype.
   Tiempos Text: licensed via Klim Type Foundry. */

@font-face {
  font-family: 'Albertus Nova';
  src: url('/fonts/AlbertusNova-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Tiempos Text';
  src: url('/fonts/TiemposText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --olive: #2A3320;
  --bone: #DCD8C7;
  --display: 'Albertus Nova', 'Albertus MT', Albertus, Optima, sans-serif;
  --body: 'Tiempos Text', Tiempos, Georgia, 'Times New Roman', serif;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--olive);
}

body {
  background: var(--olive);
  color: var(--bone);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100svh;
}

a { color: 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;
}

::selection {
  background: rgba(220, 216, 199, 0.25);
  color: var(--bone);
}

/* --- Page shell ---------------------------------------------------------- */
.page {
  min-height: 100vh;
  min-height: 100svh;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: flex-end;
}

.nav a {
  color: rgba(220, 216, 199, 0.7);
  font-size: 11px;
  text-decoration: none;
  font-family: var(--body);
  cursor: pointer;
  position: relative;
}

/* Invisible hit-area expansion — touch target ~44×44 without changing visual layout. */
.nav a::before {
  content: '';
  position: absolute;
  inset: -16px;
}

/* No hover, color shift, or underline on nav — by brand spec.
   Focus states are present for keyboard accessibility — different concern. */
.nav a:focus-visible,
.info-email:focus-visible {
  outline: 1px solid rgba(220, 216, 199, 0.6);
  outline-offset: 4px;
  border-radius: 1px;
}

/* --- Home --------------------------------------------------------------- */
.home-mark {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: rgba(220, 216, 199, 0.92);
  line-height: 1;
  margin: 0;
}

/* --- Info --------------------------------------------------------------- */
.info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 280px;
}

.info-description {
  margin: 0 0 14px;
  color: rgba(220, 216, 199, 0.88);
  font-size: 10px;
  line-height: 1.7;
  font-family: var(--body);
}

.info-email {
  color: rgba(220, 216, 199, 0.88);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--body);
  align-self: flex-start;
  position: relative;
}

.info-email::before {
  content: '';
  position: absolute;
  inset: -14px -20px;
}

/* --- Mobile ------------------------------------------------------------- */
@media (max-width: 540px) {
  .page { padding: 22px 24px; }
  .wordmark { font-size: 22px; }
  .info-content { max-width: 100%; }
  .info-description { font-size: 12px; }
  .info-email { font-size: 12px; }
}

/* --- Reduced motion (none used, but declared) --------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
