/* OUTSIDERS CI: outsiders-studio CI.md. Off-white ground, ink everything, acid once per layout. Radius 0, no shadows, no gradients. */
:root {
  --ground: #F5F2EB;
  --ink: #171715;
  --acid: #B4FC03;
  --rule-soft: rgba(23, 23, 21, 0.22);
  --sans: Anuphan, sans-serif;
  --mono: 'Martian Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.65; }
a { color: var(--ink); }
a:hover { color: var(--ink); opacity: .7; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ground); padding: 8px 12px; border: 1px solid var(--ink); z-index: 10; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.en { font-family: var(--mono); font-size: .8125rem; line-height: 1.7; opacity: .82; }
.kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .82; margin: 0 0 20px; }
.placeholder { font-family: var(--mono); font-size: .8125rem; }

/* header */
.site-header { border-bottom: 1px solid var(--ink); }
.site-header .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 24px; }
.brand .wordmark { width: 156px; color: var(--ink); display: inline-flex; align-items: center; flex-shrink: 0; }
.brand .wordmark svg, .omark svg { width: 100%; height: auto; display: block; }
.brand .tag { font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; opacity: .82; }

/* buttons */
.btn { display: inline-block; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 0; text-decoration: none; font-size: .875rem; line-height: 1.2; background: transparent; color: var(--ink); font-family: var(--sans); cursor: pointer; }
.btn .mono { font-size: .75rem; }
.btn-solid { background: var(--ink); color: var(--ground); padding: 14px 28px; font-size: .9375rem; }
.btn-solid:hover { color: var(--ground); }
.btn-solid .mono { font-size: .8125rem; }

/* sections */
section { padding: 80px 0; border-bottom: 1px solid var(--ink); }
section:last-of-type { border-bottom: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 400; }
h1 { margin: 0 0 28px; max-width: 960px; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.28; letter-spacing: -0.01em; }
h2 { margin: 0 0 16px; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.35; }
.intro { max-width: 780px; margin: 0 0 40px; }
.intro p { margin: 0 0 10px; }

/* hero */
.hero { padding: 72px 0 88px; }
.hero .lead { max-width: 760px; margin: 0 0 36px; }
.hero .lead p:first-child { font-size: 1.125rem; margin: 0 0 10px; }
.hero .lead p { margin: 0 0 10px; }
.hero .cta { margin: 0 0 56px; }
.acid-frame { background: var(--acid); padding: 20px; border: 1px solid var(--ink); }
.acid-frame img { border: 1px solid var(--ink); width: 100%; aspect-ratio: 1.9; object-fit: cover; background: var(--ground); }

/* photo + credit */
figure { margin: 0; }
.credit { font-family: var(--mono); font-size: .6875rem; line-height: 1.6; opacity: .82; margin-top: 10px; overflow-wrap: anywhere; }
.acid-frame .credit { opacity: 1; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

/* then and now */
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pair img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border: 1px solid var(--ink); }
.pair .year { font-family: var(--mono); font-size: .875rem; margin: 12px 0 0; }
.pair-note { margin: 24px 0 0; max-width: 780px; font-size: .9375rem; }

/* route */
.route-strip { position: relative; height: 200px; margin: 0 0 32px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule-soft); }
.route-strip .plot { position: absolute; top: 0; bottom: 0; left: 64px; right: 0; border-left: 1px solid var(--rule-soft); }
.route-strip svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.route-strip .grid { stroke: var(--rule-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.route-strip .line { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.route-strip.all .line { stroke-width: 4; }
.route-strip .axis { position: absolute; left: 0; transform: translateY(-50%); font-family: var(--mono); font-size: .625rem; opacity: .82; }
.route-strip .mk { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; background: var(--ground); border: 1.5px solid var(--ink); cursor: pointer; }
.route-strip .mk span { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .6875rem; white-space: nowrap; }
.route-strip .mk.on { background: var(--ink); }
.route-strip .ends { position: absolute; bottom: 6px; font-family: var(--mono); font-size: .625rem; opacity: .82; }

.route { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; }
.stops { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.stops li { border-bottom: 1px solid var(--rule-soft); }
.stops li:last-child { border-bottom: 1px solid var(--ink); }
.stop { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 18px 8px 18px 0; background: transparent; border: 0; border-radius: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; min-height: 56px; }
.stop:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.stop .num, .stop .alt { font-family: var(--mono); font-size: .8125rem; opacity: .82; }
.stop .name { font-size: 1rem; line-height: 1.45; }
.stop .name .mono { font-size: .75rem; opacity: .82; display: block; }
.stop[aria-pressed="true"] { background: var(--ink); color: var(--ground); padding-left: 8px; }
.stop[aria-pressed="true"] .num, .stop[aria-pressed="true"] .alt, .stop[aria-pressed="true"] .name .mono { opacity: 1; }

.stop-panel { position: sticky; top: 24px; }
.stop-panel img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border: 1px solid var(--ink); background: var(--ground); }
.stop-panel .meta { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 8px; font-family: var(--mono); font-size: .8125rem; }
.stop-panel .text { margin: 0 0 6px; font-size: 1rem; }
.stop-panel .en { margin: 0; }
.stops .stop-panel { position: static; padding: 4px 0 24px; }

/* who leads */
.leader { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: start; }
.photo-slot { border: 1px solid var(--ink); min-height: 400px; padding: 24px; display: flex; align-items: center; justify-content: center; text-align: center; }
.leader .latin { font-family: var(--mono); font-size: .8125rem; letter-spacing: .04em; margin: 0 0 28px; opacity: .82; }
.leader h2 { margin: 0 0 6px; line-height: 1.3; }
.facts { border-top: 1px solid var(--ink); margin: 0 0 28px; }
.facts div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
.facts div:last-child { border-bottom: 1px solid var(--ink); }
.facts dt { font-family: var(--mono); font-size: .75rem; opacity: .82; }
.facts dd { margin: 0; font-size: .9375rem; }
blockquote { margin: 0 0 20px; padding: 20px 0 0; border-top: 1px solid var(--ink); font-size: 1.0625rem; line-height: 1.7; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule-soft); }
.steps li:last-child { border-bottom: 1px solid var(--ink); }
.steps .num { font-family: var(--mono); font-size: .875rem; opacity: .82; }
.steps .title { font-size: 1.0625rem; margin: 0 0 4px; }
.steps .title .mono { font-size: .8125rem; opacity: .82; }
.steps .desc { font-size: .9375rem; opacity: .88; margin: 0; }

/* form */
.join { padding: 80px 0 96px; }
.join .inner { max-width: 640px; }
.join .inner > p { margin: 0 0 36px; font-size: .9375rem; }
form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .9375rem; }
input[type=text], select { width: 100%; padding: 12px 14px; background: var(--ground); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font-family: var(--sans); font-size: 1rem; appearance: none; -webkit-appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171715' stroke-width='1.5'/%3E%3C/svg%3E"); background-position: right 14px center; background-repeat: no-repeat; padding-right: 40px; }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--ink); flex-shrink: 0; }
.consent label { font-size: .875rem; line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { padding: 14px 36px; background: var(--ink); color: var(--ground); border: 1px solid var(--ink); border-radius: 0; font-family: var(--sans); font-size: 1rem; cursor: pointer; }
.btn-submit[disabled] { opacity: .6; cursor: default; }
.form-done, .form-error { border: 1px solid var(--ink); padding: 20px; font-size: 1rem; }
.join .inner > p.dm { margin: 28px 0 0; font-size: .9375rem; }
.join .inner > p.form-done { margin: 0; }
.dm a { font-family: var(--mono); font-size: .875rem; }

/* footer */
.site-footer { border-top: 1px solid var(--ink); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.omark { width: 40px; height: 40px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.omark svg { width: auto; height: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--mono); font-size: .75rem; letter-spacing: .03em; }
.footer-links a { text-decoration: none; }

/* privacy page */
.doc { max-width: 720px; padding: 64px 0 96px; }
.doc h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.doc h2 { font-size: 1.25rem; margin: 36px 0 8px; }
.doc p, .doc li { font-size: 1rem; }
.draft-note { font-family: var(--mono); font-size: .75rem; border: 1px solid var(--ink); padding: 10px 12px; margin: 0 0 32px; }

@media (max-width: 800px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  .acid-frame { padding: 12px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .photo-slot { min-height: 280px; }
  .brand .wordmark { width: 132px; }
  .stop { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .route-strip { height: 150px; }
}
@media (prefers-reduced-motion: no-preference) {
  .stop-panel img { transition: opacity .2s; }
}
