:root {
  --bg: #05060a;
  --bg-2: #0c0e15;
  --fg: #e8e6e1;
  --muted: #8a8a92;
  --line: #1d2030;
  --accent: #c9b8f0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 300; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px clamp(16px, 5vw, 56px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand .dot { width: .22em; height: .22em; margin: 0 .03em 0 -.01em; vertical-align: .09em; fill: #ffa23b; opacity: 1; }
.brand { font-family: var(--serif); font-size: 1.9rem; letter-spacing: .04em; font-weight: 400; }
.nav { display: flex; gap: clamp(16px, 3vw, 36px); font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

main { padding: clamp(32px, 6vw, 72px) clamp(16px, 5vw, 56px); max-width: 1400px; margin: 0 auto; }

/* page titles */
.eyebrow { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.1; margin: .3em 0 .6em; letter-spacing: .02em; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: 2.2em 0 .6em; }

/* gallery */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.card { display: block; }
.card .frame { overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .4s; opacity: .92; }
.card:hover img { transform: scale(1.03); opacity: 1; }
.card .meta { padding: 14px 2px 0; }
.card .title { font-family: var(--serif); font-size: 1.45rem; }
.card .sub { font-size: .78rem; color: var(--muted); letter-spacing: .08em; }

/* image page */
.hero { margin: 0 calc(-1 * clamp(16px, 5vw, 56px)); background: #000; }
.hero img { width: 100%; max-height: 88vh; object-fit: contain; margin: 0 auto; }
.hero-actions { display: flex; justify-content: flex-end; gap: 20px; padding: 10px clamp(16px, 5vw, 56px) 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-actions a:hover { color: var(--fg); }
.article { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(32px, 5vw, 56px); }
.prose p { margin-bottom: 1.1em; max-width: 68ch; }
.specs { border-top: 1px solid var(--line); font-size: .88rem; }
.specs h3 { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 22px 0 8px; }
.specs dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; }
.specs dt { color: var(--muted); }
.specs dd { text-align: right; }

/* equipment */
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kit > div { background: var(--bg); padding: 18px 24px; }
.kit .k { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.kit .v { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin-top: 4px; }

.site-footer { padding: 40px clamp(16px, 5vw, 56px); border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; letter-spacing: .1em; }

@media (max-width: 820px) {
  .article { grid-template-columns: 1fr; }
}

.equip { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; align-items: start; }
.equip .kit { grid-template-columns: 1fr; }
.setup img { width: 100%; border: 1px solid var(--line); }
@media (max-width: 760px) { .equip { grid-template-columns: 1fr; } }
.setup figcaption { margin-top: 10px; text-align: right; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.setup figcaption a:hover { color: var(--fg); }
.aboutpic { margin: 36px 0; }
.aboutpic img { width: 100%; border: 1px solid var(--line); }
.aboutpic figcaption { margin-top: 8px; font-size: .8rem; color: var(--muted); font-style: italic; }
.hero-actions .back { margin-right: auto; }
.site-header, .site-footer { padding-left: max(clamp(16px, 5vw, 56px), calc((100% - 1400px) / 2 + clamp(16px, 5vw, 56px))); padding-right: max(clamp(16px, 5vw, 56px), calc((100% - 1400px) / 2 + clamp(16px, 5vw, 56px))); }
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.brand-wrap { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.brand-tag { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .brand-tag { display: none; } }
.site-header .brand { line-height: 1.2; }
.site-header .nav { line-height: 1; }
/* header height + optical centring of the uppercase nav */
.site-header { padding-top: 15px; padding-bottom: 15px; }
.site-header .nav a { display: inline-block; transform: translateY(var(--nav-nudge, 0px)); }
/* ---------- mobile only (desktop untouched) ---------- */
@media (max-width: 600px) {
  .site-header { flex-wrap: nowrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .site-header .brand { font-size: 1.5rem; }
  .site-header .nav { gap: 14px; font-size: .64rem; letter-spacing: .16em; }
  main { padding-top: 28px; }
  h1 { font-size: 2.2rem; }
  .kit > div { padding: 14px 18px; }
  .kit .v { font-size: 1.2rem; margin-top: 2px; }
  .equip { gap: 20px; }
  .hero-actions { padding-top: 8px; }
  .specs dd, .specs dt { font-size: .82rem; }
}
.site-header { --nav-nudge: .5px; }
.aboutpics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0; max-width: 68ch; }
.aboutpics .aboutpic { margin: 0; }
.aboutpics .jg-item { aspect-ratio: 3/2; flex: none; }
.aboutpics .jg-item img { border: 1px solid var(--line); }
.aboutpics figcaption { font-size: .72rem; line-height: 1.5; }
@media (max-width: 600px) { .aboutpics { grid-template-columns: 1fr; } }
.name-title { font-family: 'Tenor Sans', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .3em; font-size: clamp(1.3rem, 3.2vw, 2.1rem); line-height: 1.4; }
@media (max-width: 600px) { .name-title { letter-spacing: .18em; } }
.aboutpics figcaption strong { font-weight: 500; color: var(--fg); }
.about-prose p { max-width: 86ch; }
.about-prose .aboutpics { max-width: 86ch; }
.name-title { margin-bottom: 1.2em; }
.privacy h2 { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 34px 0 10px; font-family: var(--sans); }
.privacy .upd { color: var(--muted); font-size: .85rem; }
.privacy ul { padding-left: 1.2em; }
.privacy a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 601px) { .brand { font-size: 2.25rem; } .brand-tag { font-size: .72rem; } }
.brand-wrap { align-items: center; }
.site-header .brand-tag { line-height: 1; transform: translateY(var(--nav-nudge, 0px)); }
.site-footer { padding-top: 22px; padding-bottom: 22px; }
.site-footer { padding-top: 14px; padding-bottom: 14px; line-height: 1.4; }
@media (max-width: 600px) { .site-header { --nav-nudge: 2px; } }
@media (min-width: 601px) { .site-header { --nav-nudge: 4px; } }
html.starry body { background: transparent; }
canvas.sky { position: fixed; top: 0; left: 0; width: 100%; z-index: -1; pointer-events: none; }
html.starry .site-header { background: rgba(5,6,10,.85); backdrop-filter: blur(6px); }
html.starry .site-header { background: transparent; backdrop-filter: none; }
@media (min-width: 601px) { .site-header { --nav-nudge: 8px; padding-top: 11px; padding-bottom: 19px; } }
main.center-col { max-width: 940px; }
.site-footer { text-align: center; }
@media (max-width:600px){.site-footer{text-align:center}.site-footer .f-name,.site-footer .f-rest{display:block}.site-footer .f-sep{display:none}.site-footer .f-rest{margin-top:4px}}
main:has(.about-prose) > *{max-width:86ch;margin-left:auto;margin-right:auto}
main:has(.about-prose) > .eyebrow, main:has(.about-prose) > h1{max-width:none;text-align:center}
main:has(.about-prose) > h1.name-title{max-width:86ch;text-align:left;white-space:nowrap}
@media (min-width: 601px) { .brand-tag { font-size: .75rem; letter-spacing: .28em; } }
.wm{height:1.02em;width:auto;vertical-align:-.3em;display:inline-block;overflow:visible}
html:not(.home) .site-header{position:sticky;top:0;z-index:20;background:rgba(5,6,10,.88);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
