/* ============================================================
   DER REVELATOR · rayhen.art
   Standalone CSS — fonts lokal, alle Tokens inline
   ============================================================ */

/* ── @font-face ── */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-300italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('fonts/work-sans-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('fonts/work-sans-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('fonts/work-sans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ── Design Tokens ── */
:root {
  --ink:          #1A1714;
  --paper:        #F5F2EE;
  --copper:       #B26D40;
  --copper-light: #D9B197;

  --ink-soft:     rgba(26, 23, 20, 0.55);
  --ink-muted:    rgba(26, 23, 20, 0.38);
  --hairline:     rgba(26, 23, 20, 0.18);

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-meta:    0.78rem;
  --fs-label:   0.62rem;

  --track-loose: 0.18em;
  --track-label: 0.20em;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Film grain ── */
.grain-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  border-bottom: 0.5px solid var(--hairline);
  background: var(--paper);
}

.nav-back {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-meta);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 180ms ease;
}
.nav-back:hover { color: var(--copper); }

.nav-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--copper);
}

/* ── Hero grid ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 96px clamp(32px, 6vw, 96px) 80px;
  gap: clamp(40px, 6vw, 96px);
  max-width: 1440px;
  margin: 0 auto;
}

/* ── Portrait ── */
.portrait-col {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.portrait-wrap {
  position: relative;
  width: clamp(320px, 44vw, 580px);
  aspect-ratio: 1 / 1.05;
}
.portrait-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Text column ── */
.text-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow-rule {
  display: block;
  width: 32px;
  height: 0.5px;
  background: var(--copper);
  flex-shrink: 0;
}
.eyebrow-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--copper);
}

.page-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: pretty;
}

.title-rule {
  width: 64px;
  height: 0.5px;
  background: var(--hairline);
}

.body-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 440px;
}
.body-text p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.68;
  color: var(--ink);
}
.body-text p.em { font-style: italic; }
.body-text p.strong { color: var(--ink); }
.body-text p.sans {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 0.5px solid var(--hairline);
}
.contact-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-meta);
  text-transform: uppercase;
  letter-spacing: var(--track-loose);
  color: var(--ink-muted);
}
.contact-mail {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--copper);
  text-decoration: none;
  transition: opacity 180ms ease;
}
.contact-mail:hover { opacity: 0.7; }

/* ── Footer ── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
  border-top: 0.5px solid var(--hairline);
}
.site-footer p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-meta);
  text-transform: uppercase;
  letter-spacing: var(--track-loose);
  color: var(--ink-muted);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-1 { animation: fadeUp 900ms var(--ease) both; }
.fade-2 { animation: fadeUp 900ms 120ms var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .fade-1, .fade-2 { animation: none; opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav { padding: 20px 24px; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 88px;
    gap: 40px;
  }
  .portrait-col { justify-content: center; }
  .portrait-wrap { width: clamp(260px, 80vw, 400px); }
}
