/* marseve.com — one stylesheet. White cube.
   Blue and red are graphic only. Never set text in them. */

@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/newsreader-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 500; font-style: italic; font-display: swap; src: url("/assets/fonts/newsreader-latin-500-italic.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --ink: #000000;
  --signal-blue: #00ADEF;
  --signal-red: #EB1C24;
  --eye-grey: #EBEBEB;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  /* 1.25 type scale from an 18px base */
  --step-0: 1.125rem;   /* 18 */
  --step-1: 1.40625rem; /* 22.5 */
  --step-2: 1.7578rem;  /* 28 */
  --step-3: 2.1973rem;  /* 35 */
  --label: 0.9375rem;   /* 15 */

  --gutter: 20px;
  --rhythm: 64px;
  --max: 1180px;
  --measure: 640px;
}

@media (min-width: 600px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --rhythm: 120px; --gutter: 48px; } }

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem; /* 17px on phones */
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 600px) { body { font-size: var(--step-0); } }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--sans); font-weight: 600; line-height: 1.2; margin: 0 0 0.75em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p, ul, ol { margin: 0 0 1em; max-width: var(--measure); }
em, i, cite { font-style: italic; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Links ----------
   Ink text, 1px underline. Hover/focus: 2px underline split blue/red. */
a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
}
a:hover, a:focus-visible, a[aria-current] {
  background-image:
    linear-gradient(var(--signal-blue), var(--signal-blue)),
    linear-gradient(var(--signal-red), var(--signal-red));
  background-size: 50% 2px, 50% 2px;
  background-position: 0 100%, 100% 100%;
}
a[aria-current] {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 100% 2px;
}
a[aria-current]:hover, a[aria-current]:focus-visible {
  background-image:
    linear-gradient(var(--signal-blue), var(--signal-blue)),
    linear-gradient(var(--signal-red), var(--signal-red));
  background-size: 50% 2px, 50% 2px;
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--paper); padding: 8px 12px; z-index: 10;
}
.skip:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header { padding-top: 28px; }
.header-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 24px;
  padding-bottom: 18px;
}
.wordmark {
  font-family: var(--sans); font-weight: 600; font-size: var(--step-1);
  letter-spacing: 0.04em; background-image: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.wordmark:hover, .wordmark:focus-visible { background-image: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; max-width: none; }
.site-nav a {
  font-family: var(--sans); font-weight: 400; font-size: 1rem;
  display: inline-block; line-height: 44px; padding-bottom: 0;
  background-position: 0 calc(100% - 8px), 100% calc(100% - 8px);
}

.menu-toggle {
  display: none;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: none; border: 0; padding: 0 0 0 12px; min-height: 44px; cursor: pointer;
}

/* Mobile: with JS, collapse nav behind a plain text "Menu". Without JS, nav stays visible. */
@media (max-width: 599px) {
  .js .menu-toggle { display: block; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js.menu-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
}

/* ---------- The split rule ---------- */
.split-rule { display: flex; height: 2px; }
.split-rule span { flex: 1 1 50%; }
.split-rule span:first-child { background: var(--signal-blue); transform-origin: right center; }
.split-rule span:last-child  { background: var(--signal-red);  transform-origin: left center; }

/* One motion event on the whole site: draws from the centre outward, once per session. */
.draw .site-header .split-rule span { animation: rule-draw 400ms ease-out both; }
@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .draw .site-header .split-rule span { animation: none; }
}

/* ---------- Main ---------- */
main { padding-top: var(--rhythm); padding-bottom: var(--rhythm); min-height: 50vh; }
main section + section { margin-top: var(--rhythm); }

.plain-list { list-style: none; padding: 0; }
.plain-list li { margin: 0 0 0.5em; }
.plain-list a { display: inline-block; min-height: 44px; line-height: 44px; padding-bottom: 0; background-position: 0 calc(100% - 8px), 100% calc(100% - 8px); }

/* ---------- Works ----------
   Natural aspect ratio, never cropped. No frames, no shadows. */
.work { margin: 0; }
.work img { width: auto; max-width: 100%; height: auto; max-height: 88vh; }
.work--hero { margin-bottom: var(--rhythm); max-width: 1100px; }

.wall-label { margin-top: 16px; font-size: var(--label); line-height: 1.45; }
.wall-label p { margin: 0; }
.wall-label cite { font-style: italic; }

/* ---------- Work index: rooms ---------- */
.plain-list--inline { display: flex; flex-wrap: wrap; gap: 0 28px; }
.room-jump { margin-bottom: var(--rhythm); }
.room { scroll-margin-top: 24px; }
.room + .room { margin-top: var(--rhythm); }

.work-grid { list-style: none; padding: 0; margin: 0; max-width: none;
  display: grid; grid-template-columns: 1fr; gap: 64px 48px; align-items: start; }
@media (min-width: 1024px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-grid__link { display: block; background-image: none; padding-bottom: 0; }
.work-grid__link:hover, .work-grid__link:focus-visible { background-image: none; }
.work-grid__link img { width: auto; max-width: 100%; height: auto; max-height: 80vh; }
.work-grid__caption { display: inline-block; margin-top: 12px; font-size: var(--label);
  background-image: linear-gradient(var(--ink), var(--ink)); background-size: 100% 1px;
  background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 1px; }

/* ---------- Single work ---------- */
.work--single { max-width: 1100px; }
.work-note, .work-origin { margin-top: 48px; }
.prev-next { margin-top: var(--rhythm); font-size: var(--label); }

/* ---------- Writing ---------- */
.writing-list { list-style: none; padding: 0; margin: 0; }
.writing-list li { margin: 0 0 40px; }
.writing-list p { margin: 0; }
.writing-list__title { font-size: var(--step-1); line-height: 1.35; }
.writing-list__meta, .writing-list__excerpt { font-size: var(--label); }
.writing-list__excerpt { margin-top: 4px; }
.writing-booking { margin-top: var(--rhythm); }
.recent-writing { margin-top: var(--rhythm); }
.recent-writing__date { font-size: var(--label); margin-left: 8px; }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: 48px; }
.footer-body { padding-top: 24px; font-size: var(--label); }
.footer-links { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 28px; max-width: none; }
.footer-links a { display: inline-block; line-height: 44px; padding-bottom: 0; background-position: 0 calc(100% - 10px), 100% calc(100% - 10px); }
.copyright { margin: 0; }

/* ---------- Process ---------- */
.process-opening { font-size: var(--step-1); line-height: 1.45; margin-bottom: var(--rhythm); }
.process-steps { list-style: none; padding: 0; margin: 0; max-width: none; }
.process-step + .process-step { margin-top: var(--rhythm); }
.process-step__number { font-variant-numeric: tabular-nums; margin-right: 0.35em; }
.process-step__artifact { margin: 32px 0 0; max-width: 760px; }
.process-step__artifact img { width: auto; max-width: 100%; height: auto; max-height: 88vh; border: 1px solid var(--eye-grey); }
.process-closing { margin: var(--rhythm) 0 0; padding: 0; font-style: italic; font-size: var(--step-1); line-height: 1.45; }
.process-closing p { margin: 0; }

/* ---------- Ghost seal (About only) ---------- */
.ghost-seal { margin: var(--rhythm) auto 0; max-width: none; text-align: center; }
.ghost-seal img { display: inline-block; width: 48px; height: auto; }

/* ---------- About: timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0 0 2em; }
.timeline li { padding: 6px 0; border-top: 1px solid var(--eye-grey); }
.timeline li:last-child { border-bottom: 1px solid var(--eye-grey); }

/* ---------- About: selected history ---------- */
.history { margin: 0; max-width: var(--measure); }
.history div { display: grid; grid-template-columns: 5.5em 1fr; gap: 0 16px; padding: 6px 0; border-top: 1px solid var(--eye-grey); }
.history div:last-child { border-bottom: 1px solid var(--eye-grey); }
.history dt { font-variant-numeric: tabular-nums; }
.history dd { margin: 0; }
