/* ============================================================
   Fonts
   ============================================================ */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/newsreader-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-background:            #f9f9f7;
  --color-on-background:         #1a1c1b;
  --color-primary:               #000000;
  --color-on-primary:            #ffffff;
  --color-primary-fixed:         #e5e2e1;
  --color-on-primary-fixed:      #1c1b1b;
  --color-secondary:             #5e5e5d;
  --color-on-surface:            #1a1c1b;
  --color-on-surface-variant:    #444748;
  --color-surface-bright:        #f9f9f7;
  --color-outline-variant:       #c4c7c7;

  --font-serif:   'Newsreader', Georgia, serif;
  --font-sans:    'Manrope', sans-serif;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  background-color: var(--color-background);
  color: var(--color-on-background);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-primary-fixed);
  color: var(--color-on-primary-fixed);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   Background Layer
   ============================================================ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(100%) contrast(1.25);
}

.bg-layer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(249, 249, 247, 0.4);
  backdrop-filter: blur(2px);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 50;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: #171717;
  cursor: default;
  opacity: 1;
  transition: opacity 200ms;
}

.site-logo:hover {
  opacity: 0.7;
}

.site-nav-link {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #171717;
  transition: all 300ms;
}

.site-nav-link:hover {
  text-decoration: underline;
}

/* ============================================================
   Main Hero
   ============================================================ */
.site-main {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero-wrapper {
  max-width: 56rem;
  width: 100%;
  text-align: center;
}

/* Fade-in-up animation for the label */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label-wrap {
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1000ms 200ms forwards;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero-detail {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.detail-line {
  display: block;
  height: 1px;
  width: 3rem;
  background: var(--color-outline-variant);
  flex-shrink: 0;
}

.detail-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-secondary);
  max-width: 20rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 50;
}

.footer-status {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-status-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(68, 71, 72, 0.5);
}

.footer-status-value {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #171717;
}

.footer-colophon {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #737373;
}

/* ============================================================
   Decorative Left Element
   ============================================================ */
.deco-left {
  position: fixed;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 6rem;
  opacity: 0.2;
}

@media (min-width: 768px) {
  .deco-left {
    display: flex;
  }
}

.deco-line {
  height: 6rem;
  width: 1px;
  background: var(--color-primary);
}

.deco-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-on-surface);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}
