:root {
  color-scheme: dark;
  --bg: #11110f;
  --text: #f0ece5;
  --muted: #99958e;
  --line: #2b2a26;
  --accent: #ff007f;
  --accent-soft: #5a2740;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 78% 18%, rgba(255,0,127,.045), transparent 28rem), var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.shell { width: min(calc(100% - 72px), var(--max)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 0; font-size: .8rem; }
.brand { color: var(--accent); font-size: clamp(1.15rem,1.7vw,1.5rem); font-weight: 600; letter-spacing: -.025em; text-decoration: none; }
.brand:hover { color: var(--accent); }
.brand::before { content: ""; display: inline-block; width: .28em; height: .28em; margin-right: .34em; border-radius: 50%; background: currentColor; transform: translateY(-.08em); }
.language { color: var(--muted); white-space: nowrap; }
.language a, .back-link { text-decoration: none; transition: color 160ms ease; }
.language [aria-current="page"] { color: var(--accent); font-weight: 600; }
.back-link { color: var(--muted); }
.home { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.intro { max-width: 780px; font-size: clamp(.98rem,1.3vw,1.16rem); line-height: 1.58; letter-spacing: -.01em; text-wrap: pretty; }
.home-greeting { margin: 0 0 clamp(28px,4vh,42px); font-size: clamp(3.6rem,8vw,7rem); line-height: .86; letter-spacing: -.07em; font-weight: 600; }
.intro p { margin: 0 0 .72em; }
.home-links { width: min(100%, 900px); margin-top: clamp(34px,5vh,54px); border-top: 1px solid var(--line); }
.home-link { display: grid; grid-template-columns: minmax(180px,.85fr) 1fr auto; gap: clamp(16px,3vw,36px); align-items: baseline; padding: clamp(15px,2vh,20px) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 180ms ease, padding-left 220ms cubic-bezier(.2,.8,.2,1); }
.home-link span { font-size: clamp(1.7rem,3vw,2.7rem); font-weight: 550; line-height: 1; letter-spacing: -.045em; }
.home-link small { color: var(--muted); font-size: clamp(.98rem,1.3vw,1.16rem); transition: color 180ms ease; }
.home-link sup { color: var(--accent); font-size: 1.5rem; line-height: 1; font-weight: 500; transition: transform 180ms ease; }
.home-link:hover { padding-left: 8px; }
.home-link:hover small { color: var(--text); }
.home-link:hover sup { transform: translate(2px,-2px); }
.site-footer { display: flex; justify-content: flex-end; padding: 0 0 20px; color: var(--muted); font-size: .74rem; }
.site-footer a { text-decoration: none; opacity: .58; transition: opacity 160ms ease,color 160ms ease; }
.site-footer a:hover { opacity: 1; }

.photography-shell { --max: 1280px; }
.photography-page { padding: clamp(56px,7vw,88px) 0 96px; }
.photography-page h1 { margin: 0 0 clamp(34px,4vw,52px); font-size: clamp(3.6rem,8vw,7rem); line-height: .86; letter-spacing: -.07em; font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(20px,2.4vw,32px); align-items: start; }
.photo { margin: 0; overflow: hidden; background: #181815; }
.photo img { display: block; width: 100%; height: auto; transition: transform 700ms cubic-bezier(.2,.8,.2,1), filter 350ms ease; }
.photo:hover img { transform: scale(1.012); filter: brightness(1.04); }
.photo-a, .photo-b, .photo-c, .photo-d, .photo-e, .photo-f, .archive-links { grid-column: auto; margin: 0; }
.archive-links { align-self: start; border-top: 1px solid var(--line); }
.archive-link { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 18px 0 16px; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 180ms ease, padding-left 220ms cubic-bezier(.2,.8,.2,1); }
.archive-link span { font-size: clamp(1.35rem,2.2vw,2.05rem); font-weight: 550; letter-spacing: -.04em; }
.archive-link small { color: var(--muted); font-size: clamp(1rem,1.35vw,1.22rem); line-height: 1; font-variant-numeric: tabular-nums; }
.archive-link sup { color: var(--accent); font-size: 1.5rem; line-height: 1; font-weight: 500; transition: transform 180ms ease; }
.archive-link:hover { padding-left: 8px; }
.archive-link:hover sup { transform: translate(2px,-2px); }

.agent-page { max-width: 760px; padding: 60px 0; }
.agent-page h1 { font-size: clamp(2.7rem,7vw,5rem); font-weight: 600; letter-spacing: -.05em; }
.agent-page h2 { margin: 42px 0 10px; font-size: 1.55rem; font-weight: 600; }
.agent-page ul { padding-left: 1.15rem; }
.agent-page code { font-size: .92em; }
.agent-note { padding: 20px 22px; border: 1px solid var(--line); }
.placeholder { outline: 1px dashed var(--accent-soft); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 780px) {
  .shell { width: min(calc(100% - 32px),var(--max)); min-height: 100svh; }
  .site-header { padding-top: 18px; }
  .brand { font-size: 1.15rem; }
  .home { justify-content: flex-start; padding: 46px 0 54px; }
  .intro { font-size: 1rem; }
  .home-greeting { margin-bottom: 32px; }
  .home-links { margin-top: 36px; }
  .home-link { grid-template-columns: 1fr auto; gap: 5px 12px; padding: 17px 0; }
  .home-link span { font-size: 1.65rem; }
  .home-link small { grid-column: 1; grid-row: 2; font-size: 1rem; }
  .home-link sup { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.35rem; }
  .site-footer { justify-content: flex-start; }
  .photography-page { padding: 56px 0 76px; }
  .photography-page h1 { margin-bottom: 40px; }
  .photo-grid { grid-template-columns: 1fr; gap: 22px; }
  .photo, .archive-links { width: 100%; margin: 0; }
  .archive-links { margin: 18px 0; }
  .archive-link { gap: 10px; padding: 17px 0; }
  .archive-link span { font-size: 1.35rem; }
  .archive-link small { font-size: 1rem; }
  .archive-link sup { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .home-link:hover, .home-link:hover sup, .photo:hover img { transform: none; }
}
