/* Uztartu — the network around Eraman. Earth brown and navy on cream (Paul, 2026-10-22), black-and-white photos of Araba.
   Titles in Bungee Hairline, text in Jacques Francois. */
:root {
  --ground: #f3ece0;
  --surface: #ffffff;
  --ink: #2a2118;
  --ink-muted: #5a4a3a;
  --line: #dccdb6;
  --pine: #5a3b26;
  --navy: #1f2a44;
  --sand: #e3cfa9;
  --mint: #6bdbc5;
  --coral: #e0603a;
  --green: #3fa45c;
  --radius: 0;
  --display: "Bungee Hairline", "Jacques Francois", serif;
  --sans: "Jacques Francois", Georgia, serif;
  --mono: "Space Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ground); color: var(--ink); font-family: var(--sans); }
a { color: var(--pine); }
a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, 3vw); padding-right: max(16px, 3vw); }
.micro { margin: 0; font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.draft { margin: 0; padding: 6px 16px; background: var(--sand); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }

/* Header, over the photo on the home page and over pine elsewhere. */
.top { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; color: #fff; position: relative; z-index: 1; }
.name { font-family: var(--display); font-weight: 400; font-size: 32px; color: #fff; text-decoration: none; flex-grow: 1; }
.nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 17px; font-weight: 400; }
.nav a { color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { border-bottom: 3px solid var(--sand); padding-bottom: 2px; }
.langs { display: flex; gap: 4px; padding: 4px; border: 1px solid #fff; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.langs a { padding: 6px 10px; color: #fff; text-decoration: none; }
.langs a[aria-current] { background: #fff; color: var(--ink); }

/* Home: the name sits in front of the rail-yard photo. */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; flex-direction: column; color: #fff;
  background: linear-gradient(180deg, rgba(10, 20, 17, 0.55) 0%, rgba(10, 20, 17, 0.15) 30%, rgba(10, 20, 17, 0.2) 60%, rgba(10, 20, 17, 0.7) 100%), var(--photo) center 55% / cover no-repeat, #222; }
.hero > .wrap { width: 100%; }
.hero-name { margin-top: auto; padding-bottom: 56px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(72px, 15vw, 210px); line-height: 0.95; letter-spacing: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }
.subtitle { margin: 10px 0 0; display: inline-block; background: var(--navy); color: #fff; padding: 6px 14px; font-family: var(--mono); font-size: clamp(14px, 1.8vw, 18px); letter-spacing: 0.04em; }

.intro { padding-top: 72px; padding-bottom: 32px; }
.intro p { max-width: 900px; }
.intro-lead { margin: 0 0 14px; font-family: var(--sans); font-weight: 400; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; color: var(--pine); }
.intro-text { margin: 0; font-size: 20px; line-height: 31px; }

.members { padding-top: 40px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 20px; }
.home-net > .micro { margin-bottom: -8px; }
.member-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.member-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 0 6px; color: var(--ink); text-decoration: none; border-top: 4px solid var(--c); }
.member-card:hover h2, .member-card:hover h3, .member-card:focus-visible h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.member-card .role { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.member-card h2 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 32px; line-height: 1.05; color: var(--navy); }
.member-card p { margin: 0; font-size: 17px; line-height: 26px; }
.member-card .go { position: absolute; top: 14px; right: 0; font-size: 20px; color: var(--pine); }
.m-eraman { --c: var(--mint); } .m-hs { --c: var(--coral); } .m-bizikasi { --c: var(--green); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.btn { background: var(--pine); color: #fff; padding: 15px 24px; font-weight: 400; font-size: 17px; text-decoration: none; border: 2px solid var(--pine); }
.btn:hover { background: #452c1b; color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }

/* Inner pages: a pine band with the header and the title. */
.band { background: var(--pine); color: #fff; }
/* Inner pages with a photo behind the header, like the home page. */
.band.photo { background: linear-gradient(180deg, rgba(10, 20, 17, 0.6) 0%, rgba(10, 20, 17, 0.25) 40%, rgba(10, 20, 17, 0.7) 100%), var(--photo) center 55% / cover no-repeat, #222; }
.band.photo .title { padding-top: clamp(80px, 14vw, 180px); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); }
.title { padding-top: 28px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.title h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 72px); line-height: 1.05; letter-spacing: 0; word-spacing: 0.4em; }
.title p { margin: 0; max-width: 760px; font-size: 20px; line-height: 31px; }

/* Our story: a ruled index like the friends list, no photos. */
.story { padding-top: 56px; padding-bottom: 72px; }
.story-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title when" "text text"; gap: 4px 16px; align-items: baseline; padding: 14px 0 16px; border-top: 1px solid var(--pine); }
.story-row:last-child { border-bottom: 1px solid var(--pine); }
.story-row .when { grid-area: when; text-align: right; align-self: baseline; background: none; padding: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.story-row h2 { grid-area: title; margin: 0; font-family: var(--sans); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--navy); }
.story-row p { grid-area: text; margin: 0; max-width: 900px; font-size: 17px; line-height: 27px; }

/* Our network: a photo strip, the members, then friends grouped by place under a ruled heading. */
.strip { display: block; width: 100%; height: clamp(180px, 24vw, 320px); object-fit: cover; object-position: 50% 60%; filter: grayscale(1); }
.network { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 56px; }
.net-group { display: flex; flex-direction: column; gap: 18px; }
.net-head { margin: 0; display: flex; align-items: center; gap: 16px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); color: var(--ink); }
.net-head::after { content: ""; flex: 1; height: 2px; background: var(--pine); }
.member-card h3 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 30px; line-height: 1.05; color: var(--navy); }
.friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); column-gap: 48px; border-bottom: 1px solid var(--pine); }
.friend { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name place" "text text"; gap: 4px 16px; align-items: baseline; padding: 14px 0 16px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--pine); }
.friend h3 { grid-area: name; } .friend .place { grid-area: place; text-align: right; } .friend p { grid-area: text; }
a.friend:hover h3, a.friend:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.friend .place { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.friend h3 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--navy); }
.friend h3 .go { font-size: 16px; color: var(--pine); }
.friend p { margin: 0; font-size: 16px; line-height: 24px; }

/* The network map: rings by place, members tight in the middle; points slide along their ring. */
.net-map { padding-top: 56px; display: flex; flex-direction: column; gap: 14px; }
#uz-map { width: 100%; max-width: 900px; height: auto; align-self: center; touch-action: none; user-select: none; -webkit-user-select: none; overflow: visible; }
#uz-map .ring { fill: none; stroke: #b9a586; stroke-width: 0.8; stroke-dasharray: 3 4; }
#uz-map .ring.core { stroke-dasharray: none; stroke: transparent; }
#uz-map .ring-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; fill: #8a7a64; text-anchor: middle; }
#uz-map .line { fill: none; stroke: var(--pine); stroke-width: 0.9; }
#uz-map .line.core { stroke: var(--navy); stroke-width: 2; }
#uz-map .pt { cursor: grab; }
#uz-map .pt:active { cursor: grabbing; }
#uz-map .hit { fill: transparent; }
#uz-map .dot { fill: var(--pine); }
#uz-map .member .dot { fill: var(--navy); }
#uz-map text { font-family: var(--sans); font-size: 12px; fill: var(--ink); paint-order: stroke; stroke: var(--ground); stroke-width: 3px; stroke-linejoin: round; }
#uz-map .member text { font-size: 14px; fill: var(--navy); }
#uz-map .ring-label { stroke: none; }

/* Home: the three members stacked on the left, the network map beside them. */
.home-net-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.member-cards.stacked { align-self: flex-start; flex: 1 1 300px; display: flex; flex-direction: column; gap: 22px; }
.home-map { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.home-map #uz-map { max-width: none; }
.home-map #uz-map text { font-size: 15px; }
.home-map #uz-map .member text { font-size: 18px; }
.home-map #uz-map .ring-label { font-size: 11px; }

/* Photo credits page (footer link only): one ruled row per photo. */
.photos { padding-top: 48px; padding-bottom: 72px; }
.photo-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 8px 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--pine); }
.photo-row:last-child { border-bottom: 1px solid var(--pine); }
.photo-row img { width: 120px; height: 80px; object-fit: cover; display: block; }
.photo-row .where { font-size: 20px; color: var(--navy); text-decoration: none; }
.photo-row .where:hover { text-decoration: underline; }
.photo-row .who { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-muted); text-align: right; }
@media (max-width: 640px) { .photo-row { grid-template-columns: 96px 1fr; } .photo-row img { width: 96px; height: 64px; grid-row: span 2; } .photo-row .who { text-align: left; } }

/* Footer, with a link to the photo credits page. */
.foot { border-top: 1px solid var(--line); }
.foot-row { padding-top: 30px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; font-size: 15px; }
.foot-name { flex-grow: 1; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--ink); }
.member { display: flex; align-items: center; gap: 8px; }
.member i { width: 10px; height: 10px; display: inline-block; }
.quiet { color: var(--ink-muted); }
.credits { padding-bottom: 30px; font-size: 13px; color: var(--ink-muted); }
.credits p { margin: 0; }
.credits a { color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .member-card { transition: none; } }
