
/* Auromë: the sand and basalt palette of piste C. */
:root {
  --sand: #e6e0d3;
  --sand-light: #f1ede3;
  --ink: #1b1a17;
  --ink-soft: #3f3d37;
  --muted: #55524a;
  --line: #c9c1b0;
  --navy: #1e2b4a;
  --basalt: #16171c;
  --basalt-text: #ece7dc;
  --basalt-muted: #c4bfb2;
  --gold: #d9b873;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* side margin; on wide screens the content stays 1280px wide and centred, backgrounds still run edge to edge */
  --gutter: max(16px, 6vw, calc((100% - 1280px) / 2));
  --bar: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.7; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--basalt); }
img { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); font-weight: 300; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--bar) + 8px); }
.wrap { padding-inline: var(--gutter); }
.kicker { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }

/* bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 12px 40px; min-height: var(--bar); padding-inline: var(--gutter); background: rgba(22, 23, 28, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.bar.light { background: rgba(230, 224, 211, 0.94); color: var(--ink); border-bottom: 1px solid var(--line); }
.bar.light::before { content: none; }
.logo { font-family: var(--display); font-size: 26px; color: inherit; text-decoration: none; padding: 8px 0; }
.links { display: flex; gap: 8px 36px; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.links a { color: inherit; text-decoration: none; padding: 12px 0; }
.links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.burger { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.panel { position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gutter) 28px; background: var(--basalt); }
.bar.light .panel { background: var(--sand); border-bottom: 1px solid var(--line); }
.panel a { display: block; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); font-family: var(--display); font-size: 30px; color: #fff; text-decoration: none; }
.bar.light .panel a { border-top-color: var(--line); color: var(--ink); }
.panel a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 720px) {
  .links { display: none; }
  .burger { display: inline-flex; }
}

/* home */
.hero { position: relative; min-height: 600px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(15, 13, 9, 0.48); }
.hero .wrap { position: relative; z-index: 1; padding-block: 0 72px; }
.hero h1 { font-size: clamp(72px, 14vw, 220px); line-height: 0.9; letter-spacing: -0.02em; }
.hero p { margin-top: 28px; font-size: 20px; max-width: 560px; }
.intent { padding-block: 120px 104px; }
.intent p.big { margin-top: 24px; max-width: 1100px; font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.16; letter-spacing: -0.01em; }
.artist { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 88px; padding-block: 0 128px; }
.portrait { flex: 0 1 400px; min-width: 260px; max-width: 100%; aspect-ratio: 4 / 5; background: #d6cfbf; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0.14em; color: var(--muted); }
.artist .text { flex: 1 1 380px; max-width: 620px; min-width: 0; display: grid; gap: 18px; font-size: 19px; }
.artist h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; margin-bottom: 10px; }
.steps { display: grid; gap: 104px; padding-block: 120px; background: var(--sand-light); }
.step { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 88px; }
.step:nth-child(even) { flex-direction: row-reverse; }
.step .pic { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.step .pic img { max-height: 560px; width: auto; height: auto; }
.step .text { flex: 1 1 340px; max-width: 520px; min-width: 0; }
.step .num { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.step h3 { font-size: clamp(32px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.step .cap { margin-top: 18px; font-size: 14px; color: var(--muted); }
.series { padding-block: 120px 112px; background: var(--basalt); color: var(--basalt-text); }
.series .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 64px; padding-bottom: 56px; }
.series .kicker { color: var(--gold); }
.series h2 { font-size: clamp(44px, 6vw, 84px); line-height: 1; margin-top: 12px; }
.series .head .text { max-width: 480px; color: #d6d1c5; }
.series .head a { display: inline-block; margin-top: 16px; padding: 12px 0; color: var(--gold); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.strip { display: flex; gap: 28px; overflow-x: auto; padding-bottom: 24px; scroll-padding-inline: var(--gutter); }
.strip figure { margin: 0; flex: 0 0 auto; width: min-content; }
.strip img { height: clamp(240px, 56vw, 400px); width: auto; max-width: none; }
.strip figcaption { padding-top: 16px; }
.strip .t { font-family: var(--display); font-size: 26px; line-height: 1.25; }
.strip .t span { color: var(--gold); }
.strip .p { margin-top: 4px; font-size: 15px; color: var(--basalt-muted); }
.strip a { color: inherit; text-decoration: none; }
.duo { padding-block: 128px; }
.duo h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1; margin: 12px 0 56px; }
.duo .row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.duo figure { margin: 0; flex: 1 1 300px; min-width: 0; }
.duo img { max-width: 100%; max-height: 640px; width: auto; height: auto; }
.duo figcaption { padding-top: 16px; font-family: var(--display); font-size: 28px; }
.duo a, .others a { display: block; color: inherit; text-decoration: none; }
.sign { display: flex; flex-wrap: wrap; gap: 56px 88px; padding-block: 112px; background: var(--sand-light); }
.sign .text { flex: 1 1 340px; max-width: 520px; min-width: 0; }
.sign h2 { font-size: 40px; line-height: 1.1; margin: 12px 0 20px; }
.others { flex: 1 1 400px; min-width: 0; }
.others .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; align-items: end; margin-top: 20px; }
.others figure { margin: 0; }
.others img { width: 100%; height: auto; }
.others figcaption { padding-top: 10px; font-size: 14px; color: var(--muted); }
.contact { padding-block: 128px 56px; }
.contact h2 { max-width: 900px; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; margin: 16px 0 20px; }
.mail { display: inline-block; padding: 12px 0; font-family: var(--display); font-size: clamp(24px, 5vw, 32px); overflow-wrap: anywhere; }
.copy { margin-left: 12px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; vertical-align: middle; }
.legal { margin-top: 88px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* œuvres */
.page-head { padding-block: 96px 64px; }
.page-head h1 { font-size: clamp(64px, 10vw, 150px); line-height: 0.92; letter-spacing: -0.02em; }
.page-head p { margin-top: 28px; max-width: 560px; font-size: 19px; }
.group { padding-block: 56px 104px; border-top: 1px solid var(--line); }
.group .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 64px; padding-bottom: 48px; }
.group h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; margin-top: 8px; }
.group .head p { max-width: 480px; color: var(--ink-soft); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 56px 40px; }
.tile { display: block; color: inherit; text-decoration: none; }
.tile .frame { display: block; position: relative; aspect-ratio: 1 / 1; max-width: 100%; background: var(--sand-light); }
.tile .frame img { position: absolute; top: 11%; left: 11%; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28)); }
.tile .n { display: block; padding-top: 18px; font-size: 13px; letter-spacing: 0.16em; color: var(--muted); font-variant-numeric: tabular-nums; }
.tile .t { display: block; font-family: var(--display); font-size: 26px; line-height: 1.25; }
.tile .p { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); }
.tile:hover .t { text-decoration: underline; text-underline-offset: 5px; }

/* fiche */
.fiche-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-block: 32px 0; }
.btn { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.btn { display: inline-block; text-decoration: none; }
.btn.plain { border: 0; padding-inline: 0; color: var(--navy); }
.fiche-nav .pn { display: flex; flex-wrap: wrap; gap: 8px; }
.fiche { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 88px; padding-block: 40px 112px; }
.fiche .pic { flex: 1 1 520px; min-width: 0; min-height: min(600px, 100vw); padding: clamp(28px, 5vw, 72px); background: var(--sand-light); display: flex; align-items: center; justify-content: center; }
.fiche .pic img { max-height: 620px; width: auto; height: auto; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.3)); }
.fiche .text { flex: 1 1 340px; min-width: 0; }
.fiche h1 { font-size: clamp(44px, 5vw, 68px); line-height: 1.02; margin-top: 10px; }
.fiche .phrase { margin-top: 18px; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 24px; line-height: 1.35; }
.fiche .desc { margin-top: 24px; color: var(--ink-soft); }
.fiche dl { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; font-size: 16px; }
.fiche dt { color: var(--muted); }
.fiche dd { margin: 0; }
.cta { display: inline-block; margin-top: 36px; padding: 15px 30px; background: var(--navy); color: #fff; text-decoration: none; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-block: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* things the starting page did not have */
.contact .line { margin-top: 12px; }
.portrait.has-img { background: none; aspect-ratio: auto; position: relative; }
.portrait.has-img img { width: 100%; height: auto; }
.artist.no-portrait .text { max-width: 760px; }
.cta-or { margin-top: 14px; font-size: 14px; color: var(--muted); }
.desc, .big, .artist p, .step p, .sign p, .series .text p, .page-head p, .group .head p { white-space: pre-line; }
.badge { display: inline-block; margin: 0 8px 6px 0; padding: 2px 10px; border-radius: 999px; background: #e9b44c; color: #16171c; font: 600 12px var(--body); letter-spacing: 0.04em; text-transform: none; vertical-align: middle; }
.tile .frame .badge { position: absolute; top: 10px; left: 10px; z-index: 1; }

/* artist space */
body.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 460px; }
.login-brand { font-family: var(--display); font-size: 28px; }
.login-card .kicker { margin: 4px 0 40px; color: var(--muted); }
.login-card h1 { font-size: clamp(36px, 8vw, 48px); line-height: 1.08; margin-bottom: 16px; }
.login-card p { color: var(--ink-soft); margin-bottom: 16px; }
.login-card form { display: grid; gap: 10px; margin: 28px 0 20px; }
.login-card label { font-size: 15px; font-weight: 500; }
.login-card input { min-height: 54px; padding: 12px 16px; border: 1px solid #b9b09c; border-radius: 6px; background: #fff; font: 400 18px var(--body); color: var(--ink); }
.login-card button { min-height: 54px; margin-top: 10px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; font: 500 16px var(--body); cursor: pointer; }
.login-card .small { font-size: 14px; color: var(--muted); }
.login-card .test-link { padding: 14px 16px; border: 1px dashed var(--navy); border-radius: 6px; background: #fff; }
.login-card .login-error { margin: 0; color: #9b2c1f; font-size: 15px; }
