/* geoslut v2: Melanie's poster system. White, black Helvetica, one bold line, the specimen label bottom left, the lockup bottom right. */
:root {
  --bg: #ffffff;
  --ink: #000000;
  --mute: #4d4d4d;
  --dim: #8c8c8c;
  --line: rgba(0, 0, 0, 0.14);
  --wash: #f4f4f4;
  --f: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1320px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* top strip + header */
.strip { background: var(--ink); color: var(--bg); font-size: 12px; letter-spacing: 0.12em; text-align: center; padding: 8px var(--gutter); }
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding-block: 14px; }
.logo { text-decoration: none; font-weight: 800; font-size: 30px; letter-spacing: -0.055em; line-height: 1; }
.logo sup, .lk-word sup { font-size: 0.3em; font-weight: 700; letter-spacing: 0; vertical-align: 1.9em; margin-left: 1px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.cart { font: inherit; font-size: 15px; background: none; border: 1px solid var(--ink); padding: 6px 12px; cursor: pointer; color: var(--ink); }

/* the poster: headline top left, photo, specimen label bottom left, lockup or buy box bottom right */
.poster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "display photo" "label corner"; gap: 28px 40px; padding-block: clamp(28px, 5vw, 64px) clamp(36px, 6vw, 80px); align-items: end; }
.poster .display { grid-area: display; align-self: start; }
.poster .photo { grid-area: photo; }
.poster .label { grid-area: label; }
.poster .corner { grid-area: corner; justify-self: end; }
.display { font-weight: 700; font-size: clamp(52px, 7.6vw, 124px); letter-spacing: -0.048em; line-height: 0.9; }
.display.small { font-size: clamp(42px, 5.6vw, 88px); }
.photo { position: relative; margin: 0; padding: 18px; }
.photo img { width: 100%; height: auto; max-height: 68vh; object-fit: contain; margin: 0 auto; }
.label { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.16; }
.label span, .label .line { display: block; }
.label .loc { letter-spacing: 0.16em; }
.label a { text-decoration: none; }
.label a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lockup { display: grid; justify-items: end; line-height: 0.95; text-align: right; }
.lk-word { font-weight: 800; font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.055em; }
.lk-tag { font-weight: 300; font-size: clamp(26px, 3.6vw, 48px); letter-spacing: -0.035em; margin-top: 2px; }
.lk-city { font-weight: 300; font-size: clamp(13px, 1.3vw, 17px); letter-spacing: 0.16em; margin-top: 8px; justify-self: start; text-align: left; }
.lockup h1 { display: grid; justify-items: end; }
.lede { margin-top: 18px; max-width: 46ch; color: var(--mute); font-size: 17px; }

/* sections */
.section { border-top: 2px solid var(--ink); padding-block: clamp(40px, 6vw, 76px); }
.sec-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: end; margin-bottom: 32px; }
.sec-top h2 { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.2; }
.sec-top div p { color: var(--mute); max-width: 52ch; margin-top: 8px; }
.kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }

/* mini-poster cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 28px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { text-decoration: none; display: grid; gap: 10px; align-content: start; }
.card { gap: 14px; }
.card-line { font-weight: 700; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.card-label { font-size: 16px; line-height: 1.25; }
.card-meta { font-size: 13px; letter-spacing: 0.08em; color: var(--mute); }
.card:hover .card-label b { text-decoration: underline; text-underline-offset: 4px; }
.card .print { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover .print { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.10), 0 18px 40px rgba(0,0,0,.16); }

/* lists */
.rows { border-top: 1px solid var(--ink); }
.rows > div, .rows > a { display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 2fr) 10em; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: baseline; }
.rows b { font-weight: 700; }
.rows span:nth-child(2) { color: var(--mute); }
.rows .hard { font-size: 13px; letter-spacing: 0.08em; white-space: nowrap; text-align: right; }
.rows a:hover b, a.row:hover b { text-decoration: underline; text-underline-offset: 4px; }
.planned { color: var(--dim); }

/* tables */
.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts th, .facts td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 38%; font-weight: 400; color: var(--mute); padding-right: 18px; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 1px solid var(--ink); }

/* article body */
.body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; }
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 26px 0 6px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { text-underline-offset: 3px; }
.aside { display: grid; gap: 28px; align-content: start; }
.aside h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.refs { font-size: 14px; color: var(--mute); }
.refs li { margin-bottom: 4px; }

/* buy box */
.buy { display: grid; gap: 12px; justify-items: end; text-align: right; }
.price { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.btn { display: inline-block; font: 700 15px var(--f); letter-spacing: 0.04em; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); padding: 14px 26px; text-decoration: none; cursor: pointer; }
.btn.ghost { background: var(--bg); color: var(--ink); }
.note { font-size: 13px; letter-spacing: 0.06em; color: var(--mute); }
.crumbs { font-size: 13px; letter-spacing: 0.06em; color: var(--mute); padding-top: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* signup */
.signup { display: flex; flex-wrap: wrap; gap: 0; max-width: 560px; border: 2px solid var(--ink); }
.signup input[type="email"] { flex: 1 1 240px; font: 400 17px var(--f); border: 0; padding: 16px 18px; min-width: 0; background: var(--bg); color: var(--ink); }
.signup button { font: 700 15px var(--f); letter-spacing: 0.04em; border: 0; background: var(--ink); color: var(--bg); padding: 16px 26px; cursor: pointer; }
.signup .sent { display: none; padding: 16px 18px; font-weight: 700; }
.signup.done input, .signup.done button { display: none; }
.signup.done .sent { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

/* footer */
.site-foot { border-top: 3px solid var(--ink); padding-block: 40px 56px; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: end; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.fine { font-size: 13px; color: var(--mute); margin-top: 14px; }

@media (max-width: 860px) {
  .poster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "display" "photo" "label" "corner"; }
  .poster .corner { justify-self: stretch; }
  .lockup, .lockup h1, .buy { justify-items: start; text-align: left; }
  .sec-top, .body, .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .rows > div, .rows > a { grid-template-columns: minmax(0, 1fr); }
  .rows .hard { text-align: left; }
  .photo img { max-height: none; }
  .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) { .cards.three { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* launch build additions */
sub { font-size: 0.6em; vertical-align: -0.2em; line-height: 0; }
.glyph sub { font-size: 0.4em; vertical-align: -0.1em; letter-spacing: 0; margin-left: 0.04em; }
.page-lede { max-width: 64ch; margin: 0 0 56px; }
.glyph { display: grid; place-items: center; min-height: clamp(260px, 38vw, 520px); }
.glyph span { font-weight: 700; letter-spacing: -0.06em; line-height: 0.85; text-align: center; overflow-wrap: anywhere; }
.g-xl span { font-size: clamp(150px, 24vw, 340px); }
.g-l span { font-size: clamp(110px, 16vw, 240px); }
.g-m span { font-size: clamp(80px, 11vw, 170px); }
.g-s span { font-size: clamp(56px, 8vw, 120px); }
.poster .spec { justify-self: end; text-align: right; }
.poster .spec span { display: block; }
.cart-link { white-space: nowrap; }
.rows > a.row-piece b { font-size: 22px; letter-spacing: -0.02em; }
.pieces-list { margin-bottom: 8px; }
.linkish { font: inherit; font-size: 12px; letter-spacing: 0.08em; background: none; border: 0; padding: 0 0 0 10px; text-decoration: underline; cursor: pointer; color: var(--mute); }
.prose h2.refs-h { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-weight: 400; margin-top: 44px; }
.prose table.facts { margin: 6px 0 18px; }
.prose ul.refs { padding-left: 18px; }
@media (max-width: 860px) {
  .poster .spec { justify-self: start; text-align: left; }
  .glyph { min-height: 220px; }
}

/* Melanie's posters: shown whole, like Polaroid prints */
.print { margin: 0; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .10), 0 10px 30px rgba(0, 0, 0, .12); }
.print img { width: 100%; height: auto; display: block; }
.print-link { display: block; text-decoration: none; }
.piece { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px clamp(36px, 5vw, 88px); align-items: center; padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 84px); }
.piece > .print { width: 100%; max-width: min(620px, calc(84vh * var(--ar, 0.8))); justify-self: center; }
.piece > .print-link { width: 100%; max-width: min(620px, calc(84vh * 0.8)); justify-self: center; }
.piece-info { display: grid; gap: 22px; align-content: center; }
.piece-info .label { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.piece-info .buy { justify-items: start; text-align: left; }
.piece-info .lede { margin: 0; max-width: 46ch; }
.hero-tag { font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.035em; line-height: 1; }
.hero-h1 { font-weight: 700; font-size: clamp(34px, 4.2vw, 62px); letter-spacing: -0.045em; line-height: 0.98; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .piece { grid-template-columns: minmax(0, 1fr); }
}
