/* Dark, sleek, after the vinyl-shop reference: charcoal bands, one muted tan accent,
   sentence-case headings in a geometric sans, soft shadows. */
:root {
  --bg: #1b1b1b;
  --band: #171717;
  --foot: #121212;
  --card: #222;
  --card-2: #292929;
  --line: #333;
  --text: #ededed;
  --muted: #9b9b9b;
  --dim: #6b6b6b;
  --accent: #c9a27e;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 6px 16px rgba(0, 0, 0, .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }  /* no auto text boost on phones in landscape */
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #111; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 20; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { font: 500 .92rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 30px); }
.nav a { font-size: .95rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.45rem; line-height: 1.2; }
.kicker, .label { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 40em; margin: 18px 0 0; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.section-lead a { color: var(--accent); }
.view-all { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.view-all:hover { opacity: .75; }

section { padding: clamp(72px, 9vw, 110px) 0; }
section.band { background: var(--band); }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -76px; padding: 0; height: min(100svh, 980px); min-height: 560px; overflow: hidden; background: #000; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 32% 40%; }
/* Wider screens: the photo fills the left ~80% and fades into the photo's own near-black on the
   right, so the subject sits further left and the text has room. */
@media (min-width: 701px) {
  .hero { background: #0c0805; }
  .hero-img { right: auto; width: 74%; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 100%); }
  .hero-img img { object-position: 72% 40%; }
  .hero::before { background: linear-gradient(90deg, transparent 45%, rgba(0, 0, 0, .35) 85%); }
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0, transparent 20%, transparent 72%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, transparent 38%, rgba(0, 0, 0, .55) 78%); }
.hero-text {
  position: absolute; z-index: 2; top: clamp(130px, 22vh, 220px); right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: min(400px, 32vw);
  animation: text-in 1.2s var(--ease) .2s both;
}
.hero-text h1 { font-size: clamp(3.4rem, 6.4vw, 6rem); line-height: .92; margin: 0 0 22px; }
.hero-sub { color: #c8c2ba; font-size: 1.05rem; line-height: 1.55; margin: 0 0 26px; }
@keyframes text-in { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Intro + email pill ---------- */
.intro { text-align: center; padding-top: clamp(56px, 7vw, 80px); }
.intro-text { font: 500 clamp(1.7rem, 3vw, 2.2rem)/1.2 var(--serif); margin: 0 0 26px; }
.pill {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  width: min(100%, 420px); padding: 7px 7px 7px 20px; margin-top: 28px;
  border: 1px solid var(--line); background: var(--band); color: var(--muted);
  text-decoration: none; font-size: .95rem; transition: border-color .2s, color .2s;
}
.intro .pill { margin-top: 0; }
.pill:hover { border-color: var(--dim); color: var(--text); }
.pill .go { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #1b1b1b; display: grid; place-items: center; flex: none; transition: transform .25s var(--ease); }
.pill .go svg { width: 16px; height: 16px; }
.pill:hover .go { transform: translateX(3px); }

/* ---------- Cover row (carousel) and grid ---------- */
.row-wrap { position: relative; margin-top: 36px; }
.row {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.row::-webkit-scrollbar { display: none; }
.row .tile { flex: 0 0 clamp(150px, 17vw, 200px); scroll-snap-align: start; }
.row-nav {
  position: absolute; top: calc(50% - 40px); z-index: 2; width: 40px; height: 64px; border: 0; background: none;
  color: var(--accent); font: 300 2.4rem/1 var(--sans); cursor: pointer; opacity: .85;
}
.row-nav.prev { left: 4px; } .row-nav.next { right: 4px; }
.row-wrap:not(.overflows) .row-nav { display: none; }
.row-wrap:not(.overflows) .row { justify-content: center; }
.row-nav:hover { opacity: 1; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 32px 28px; margin-top: 36px; }
.tile { text-decoration: none; display: block; }
.tile .cover { aspect-ratio: 1; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.tile .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .cover img { transform: scale(1.04); }
.tile .t { color: var(--accent); font: 500 1.2rem/1.2 var(--serif); margin: 14px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .by { color: var(--dim); font-size: .82rem; margin: 0; }
.tile.soon .cover { display: grid; place-items: center; background: linear-gradient(135deg, #262626, #1e1e1e); box-shadow: none; outline: 1px solid var(--line); outline-offset: -1px; transition: outline-color .3s; }
.tile.soon .cover span { font: italic 500 1.5rem/1 var(--serif); color: var(--muted); transition: color .3s; }
.tile.soon:hover .cover { outline-color: var(--accent); }
.tile.soon:hover .cover span { color: var(--accent); }

/* ---------- Collection cards ---------- */
.colls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px 48px; margin-top: 44px; }
.coll { padding: 0; }
.coll .num { display: block; color: var(--accent); font: italic 500 1.1rem/1 var(--serif); margin-bottom: 14px; opacity: .8; }
.coll h3 { color: var(--accent); margin-bottom: 10px; }
.selling { padding-top: 0; }
.selling .coll h3 { font-size: 1.8rem; }
.coll p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Strings: feature list beside the drawing (tools/orchestra.py) ---------- */
.problem { font-size: clamp(2rem, 4vw, 3rem); max-width: 18em; line-height: 1.1; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 48px; }
.features { list-style: none; margin: 0; padding: 0; }
.split .drawing-side { order: -1; }  /* drawing left (and on top on phones), selling points right */
.features li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid #2a2a2a; transition-delay: var(--d, 0s); }
.features li:first-child { padding-top: 0; }
.features li:last-child { border-bottom: 0; }
.features .n { font: italic 500 1rem/1.7 var(--serif); color: var(--accent); }
.features h3 { font-size: 1.3rem; }
.features p { color: var(--muted); font-size: .95rem; margin: 2px 0 0; }
.drawing { display: block; width: 100%; height: auto; }
.drawing .ln { fill: none; stroke: #8c867f; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s var(--ease) calc(var(--g) * .35s); }
.drawing .dash { stroke: #4a4744; stroke-dasharray: 5 7; stroke-dashoffset: 0; opacity: 0; transition: opacity 1.4s ease calc(var(--g) * .35s); }
.drawing .dot { fill: var(--accent); opacity: 0; transition: opacity 1s ease calc(var(--g) * .35s); }
.drawing .pl { fill: none; stroke: #b3aca3; stroke-width: 1.2; }
.mode { text-align: center; margin: 18px 0 0; font: italic 500 1.15rem/1.3 var(--serif); color: var(--accent); min-height: 1.5em; }
.mode span { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.mode span.out { opacity: 0; transform: translateY(6px); }
.drawing.in .ln { stroke-dashoffset: 0; }
.drawing.in .dash, .drawing.in .dot { opacity: 1; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .drawing-side { order: -1; max-width: 460px; margin: 0 auto; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .drawing .ln, .drawing .dash, .drawing .dot { transition: none; } .mode { display: none; } }

/* ---------- Work feature ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 36px; }
.feature-cover { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.feature .by { color: var(--dim); font-size: .85rem; margin: 0 0 6px; }
.feature h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--accent); }
.feature .roles { color: var(--muted); margin: 8px 0 0; }
.feature .roles + .roles { margin-top: 2px; }
.feature .roles:last-of-type { margin-bottom: 24px; }
.feature iframe { width: 100%; border: 0; border-radius: 12px; }
@media (max-width: 720px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Page heads, contact ---------- */
.page-head { padding-top: clamp(56px, 8vw, 96px); }
.page-head.tall { min-height: 60vh; display: flex; align-items: center; }
.page-head.tall .wrap { width: 100%; }
.copy { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--muted); font: 500 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.copy:hover { color: var(--text); }
.copied { color: var(--accent); font-size: .85rem; min-height: 1.4em; margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--foot); padding: 64px 0 28px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer h3 { font-size: 1.7rem; }
.footer-links { display: flex; gap: 56px; }
.footer-links a { display: block; color: var(--muted); text-decoration: none; font-size: .95rem; margin-bottom: 6px; }
.footer-links a:hover { color: var(--text); }
.footer-links .label { margin-bottom: 10px; }
.fine { border-top: 1px solid #262626; margin-top: 48px; padding-top: 20px; color: var(--dim); font-size: .78rem; }

/* ---------- Reveal ---------- */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.in { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .hero { height: 82svh; }
  .hero-img img { object-position: 50% 30%; }
  .hero::before { background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .7) 88%); }
  .hero-text { top: auto; bottom: 36px; left: var(--gutter); right: var(--gutter); width: auto; transform: none; }
  @keyframes text-in { from { opacity: 0; transform: translateY(20px); } }
  .hero-text h1 { font-size: clamp(3.2rem, 15vw, 4.4rem); }
  .hero-sub br { display: none; }
  .row-nav { display: none; }
  .head-row { flex-wrap: wrap; }
}
/* Phones held sideways: short and wide, keep the two-column Strings layout compact. */
@media (orientation: landscape) and (max-height: 520px) {
  .split { gap: 32px; margin-top: 32px; }
  .features li { padding: 10px 0; }
  .features h3 { font-size: 1.1rem; }
  .features p { font-size: .85rem; }
  .drawing-side { max-width: 380px; }
  .mode { font-size: 1rem; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .hero-text { animation: none; }
}
