/* Layout: a black-box stage. The name stands tall and condensed like a body at rest;
   photos sit in dark frames lit by one warm follow-spot. Single dark look by choice. */
:root {
  --stage: #15130f;        /* warm black, the floor of a black box */
  --stage-2: #1e1b16;      /* raised surface, photo frames */
  --chalk: #efe9de;        /* main text, chalk on a dark floor */
  --dust: #a59d8f;         /* secondary text */
  --limelight: #e9cf94;    /* the follow-spot, used sparingly */
  --line: #3a352c;
  --stage-glass: rgba(21, 19, 15, .72); /* header over the floor, lets the spot show through */
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --label: "DM Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0; background: var(--stage); color: var(--chalk);
  font: 400 1.125rem/1.65 var(--body);
  padding-inline: clamp(16px, 5vw, 64px);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--limelight); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--limelight); outline-offset: 3px; }
.wrap { max-width: 72rem; margin-inline: auto; }

/* nav */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--stage-glass);
  box-shadow: 0 0 0 100vmax var(--stage-glass); clip-path: inset(0 -100vmax);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.top .mark { font: 700 1.1rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--chalk); text-decoration: none; }
.top nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top nav a, .lang a { font: 400 .78rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--dust); text-decoration: none; }
.top nav a:hover { color: var(--limelight); }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end; padding-block: clamp(2.5rem, 7vw, 6rem); isolation: isolate; }
/* the follow-spot: fades to nothing before any edge, so it is never visibly cut */
.hero::before { content: ""; position: absolute; inset: -7rem 0 0 0; z-index: -1;
  background: radial-gradient(ellipse closest-side at 66% 50%, rgba(233,207,148,.21), rgba(233,207,148,.07) 55%, rgba(233,207,148,0) 100%); animation: spot 2.4s ease-out both; pointer-events: none; }
@keyframes spot { from { opacity: .25; transform: translateX(8%); } to { opacity: 1; transform: none; } }
.hero h1 { margin: 0; font: 800 clamp(4.2rem, 13vw, 10.5rem)/.82 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--limelight); }
.tagline { margin: 1.5rem 0 .5rem; font: italic 400 clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--body); text-wrap: balance; }
.role { margin: 0; font: 400 .78rem/1.6 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--dust); }

/* photo frames: if a photo can't load, the caption stays readable */
.frame { position: relative; margin: 0; background: var(--stage-2); overflow: hidden; }
.frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.03); }
.frame .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center;
  font: 400 .72rem/1.5 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--dust);
  background: radial-gradient(60% 50% at 50% 40%, rgba(233,207,148,.08), transparent); }
.frame .credit { position: absolute; right: 0; bottom: 0; z-index: 2; padding: .35rem .6rem;
  font: 400 .66rem/1.3 var(--label); letter-spacing: .08em; color: var(--chalk);
  background: rgba(21, 19, 15, .62); }
.r-land { aspect-ratio: 3 / 2; }
.r-port { aspect-ratio: 2 / 3; }

/* sections */
section { padding-block: clamp(3rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 1rem; font: 400 .78rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--limelight); }
h2 { margin: 0 0 2rem; font: 700 clamp(2.4rem, 6vw, 4.2rem)/.95 var(--display); text-transform: uppercase; text-wrap: balance; }
.about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.about .frame { max-width: 26rem; justify-self: end; width: 100%; }
.prose { max-width: 38rem; }
.prose p { margin: 0 0 1.1em; }
.prose p:first-child { font-size: 1.3rem; line-height: 1.5; }

/* creations */
.works { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.work { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; }
.work:nth-child(even) .frame { order: 2; }
.work.tall { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.work h3 { margin: 0 0 .4rem; font: 700 clamp(1.9rem, 4vw, 2.8rem)/1 var(--display); text-transform: uppercase; }
.work .meta { margin: 0 0 1.2rem; font: 400 .74rem/1.6 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--dust); }
.work p { margin: 0 0 1em; max-width: 34rem; }
blockquote { margin: 0 0 1em; padding-left: 1.1rem; border-left: 2px solid var(--limelight); font-style: italic; }
blockquote cite { display: block; margin-top: .5rem; font: normal 400 .74rem/1.4 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--dust); }

/* parcours: a typed timeline, year then what happened */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline > li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.timeline .yr { font: 700 1.6rem/1.1 var(--display); color: var(--limelight); font-variant-numeric: tabular-nums; }
.timeline ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.tag { display: inline-block; margin-right: .5rem; font: 400 .66rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase;
  color: var(--dust); border: 1px solid var(--line); padding: .3rem .4rem; vertical-align: .15em; }

/* contact */
.contact .mail { font: 700 clamp(1.6rem, 5vw, 3.2rem)/1.1 var(--display); letter-spacing: .02em; word-break: break-word; user-select: all; }
footer { padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--dust); font: 400 .74rem/1.6 var(--label); letter-spacing: .1em; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero, .work, .work.tall, .about { grid-template-columns: minmax(0, 1fr); }
  .about .frame { justify-self: start; }
  .work:nth-child(even) .frame { order: 0; }
  .timeline > li { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } html { scroll-behavior: auto; } }
