@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/InstrumentSerif-normal-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/InstrumentSerif-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/InterTight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Two themes for the content below the photograph: cool ink (dark) and cool porcelain (light). */
.theme-ink {
  --bg: #0a0e13;
  --fg: #eef1f5;
  --soft: #b9c1cb;
  --muted: #7f8995;
  --line: rgba(238, 241, 245, 0.12);
  color-scheme: dark;
}
.theme-porcelain {
  --bg: #f5f6f8;
  --fg: #0e1216;
  --soft: #3a424b;
  --muted: #6a737d;
  --line: rgba(14, 18, 22, 0.12);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--fg);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}
::selection { background: var(--fg); color: var(--bg); }
a { color: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.label,
.bar-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Full-bleed photograph */
.stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #f3f5f8;
  background: #07090c;
  isolation: isolate;
}
.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  z-index: -2;
}
.stage-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.08) 28%, rgba(5, 7, 10, 0.12) 55%, rgba(5, 7, 10, 0.82) 100%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.45) 0%, rgba(5, 7, 10, 0) 60%);
}
.stage-inner {
  min-height: 100svh;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(20px, 3.4vw, 44px) clamp(16px, 4vw, 52px) clamp(28px, 6vh, 64px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* Top bar: the emblem sits small and quiet in the corner */
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  opacity: 0.92;
}
.mark svg { width: 30px; height: 30px; display: block; }
.mark-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.bar-label { opacity: 0.75; }

/* Wordmark */
.headline { align-self: end; }
.name {
  margin: 0;
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}
.name em { font-style: italic; color: rgba(243, 245, 248, 0.78); }
.stage-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: clamp(24px, 4vh, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(243, 245, 248, 0.22);
}
.stage-foot .label { opacity: 0.75; }
.scroll-cue {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
}
.scroll-cue:hover { opacity: 1; }

/* Content below the photograph */
.frame {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 120px) clamp(16px, 4vw, 52px) clamp(20px, 4vw, 44px);
}
.statement {
  margin: 0 0 clamp(56px, 10vh, 120px);
  max-width: 22ch;
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.statement em { font-style: italic; color: var(--soft); }
.info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
  border-top: 1px solid var(--line);
  padding: 28px 0 clamp(56px, 10vh, 120px);
}
.info .label { display: block; margin: 0 0 14px; color: var(--muted); }
.info p {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  font-weight: 300;
  color: var(--soft);
}
.mail {
  color: var(--fg);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
  transition: background-size 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mail:hover,
.mail:focus-visible { background-size: 100% 1px; }

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.foot .mark { color: var(--muted); gap: 10px; }
.foot .mark svg { width: 22px; height: 22px; }

/* Simple page (404) without a photograph */
.plain .stage { background: var(--bg); color: var(--fg); min-height: 70svh; }
.plain .stage-inner { min-height: 70svh; }
.plain .stage-foot { border-top-color: var(--line); }
.plain .name em { color: var(--soft); }

/* Motion: a slow settle on the photograph, staggered entrance for type */
@media (prefers-reduced-motion: no-preference) {
  .stage-img { animation: settle 14s cubic-bezier(0.16, 0.6, 0.2, 1) both; }
  .rise {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .rise.d1 { animation-delay: 0.15s; }
  .rise.d2 { animation-delay: 0.35s; }
  .rise.d3 { animation-delay: 0.6s; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .mark-name { display: none; }
  .info { grid-template-columns: 1fr; gap: 28px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stage-foot .scroll-cue { display: none; }
}
