/* The site of Pé-Quente: the warm black page of the album, like the app (constants/theme.ts). */

@font-face {
  font-family: 'Archivo';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Archivo_400Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Archivo_600SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Archivo_800ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Archivo Logo';
  font-weight: 900;
  font-style: italic;
  font-display: swap;
  src: url('/fonts/Archivo_900Black_Italic.ttf') format('truetype');
}

:root {
  color-scheme: dark;
  --background: #1a1917;
  --surface: #262421;
  --hairline: #33302c;
  --text: #f4efe6;
  --text-secondary: #a39c8f;
  --danger-text: #ff6b5e;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 680px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 16px 40px;
}

main {
  flex: 1;
}

/* The golden foot beside the name, in the heavy italic of the brand, as in the app. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.logo img {
  width: 48px;
  height: 48px;
}

.logo span {
  padding-right: 4px;
  font-family: 'Archivo Logo', 'Archivo', system-ui, sans-serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.1;
}

/* On the home page, the foot above the name. */
.logo-large {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.logo-large img {
  width: 144px;
  height: 144px;
}

.logo-large span {
  font-size: 44px;
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  margin: 32px 0 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

p,
ul,
ol {
  margin: 0 0 12px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--text);
  text-underline-offset: 3px;
}

.lead {
  font-size: 19px;
}

.muted {
  color: var(--text-secondary);
  font-size: 14px;
}

.draft {
  display: inline-block;
  margin-bottom: 16px;
  padding: 2px 10px;
  border: 1.5px solid var(--danger-text);
  border-radius: 6px;
  color: var(--danger-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.card {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
}

.card > :last-child {
  margin-bottom: 0;
}

.email {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-top: 24px;
}

footer {
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 8px;
}

footer a {
  color: var(--text-secondary);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}
