@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #090907;
  --text: #eff3df;
  --muted: #bacdc3;
  --accent: #d1dba4;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-width: 280px; }
html { scrollbar-color: var(--muted) var(--background); }

body {
  background: var(--background);
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--background); }

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 680px;
  min-height: max(680px, 100svh);
  overflow: hidden;
}

.artwork { position: absolute; inset: 0; z-index: -1; }
.artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.title-block {
  margin: 0 0 2rem clamp(2rem, 8vw, 10rem);
  padding: 3rem 0;
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.thought {
  margin: 2.25rem 0 0;
  color: var(--muted);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 0;
  color: var(--accent);
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status::before {
  content: '';
  width: 2rem;
  height: 1px;
  flex-shrink: 0;
  background: var(--accent);
  opacity: 0.65;
}

.signature {
  position: absolute;
  left: clamp(2rem, 8vw, 10rem);
  right: clamp(2rem, 8vw, 10rem);
  bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.byline { color: inherit; text-decoration: none; text-underline-offset: 0.25em; }
.byline:hover { color: var(--text); text-decoration: underline; }
.byline:focus-visible { outline: 1px solid var(--accent); outline-offset: 0.4rem; }

@media (max-width: 900px) {
  .landing {
    align-items: stretch;
    grid-template-rows: auto minmax(24rem, 1fr) auto;
    min-height: max(760px, 100svh);
  }
  .title-block {
    grid-row: 1;
    margin: 0;
    padding: 3rem 2rem 2rem;
  }
  h1 { font-size: clamp(2.35rem, 10.7vw, 4.5rem); overflow-wrap: anywhere; }
  .thought { margin-top: 1.5rem; }
  .status { margin-top: 1.5rem; }
  .artwork { position: relative; inset: auto; grid-row: 2; }
  .artwork img { position: absolute; inset: 0; object-position: 78% center; }
  .signature { position: static; grid-row: 3; padding: 1.5rem 2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .title-block { animation: arrive 1.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
  @keyframes arrive {
    from { transform: translateY(0.75rem); filter: blur(2px); }
    to { transform: translateY(0); filter: blur(0); }
  }
}
