/* The prints and contact sheet are made by Photoshoot's real effects.
   System type and quiet studio surfaces leave the photographs in focus. */
:root {
  color-scheme: dark;
  --bg: #131313;
  --text: #f5f5f5;
  --dim: #b5b5b5;
  --rule: #343434;
  --accent: #1b7bf3;
  --red: #d61f16;
  --chrome: #1d1d1f;
  --chrome-2: #2b2b2d;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 52px);
  --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  font: 17px/1.5 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
canvas, img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
:focus-visible { outline: 3px solid #79b4ff; outline-offset: 5px; }
[hidden] { display: none !important; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition: background-color 140ms, transform 100ms;
}
.pill:active { transform: scale(0.98); }
.pill-blue { background: #1369d3; color: #fff; }
.pill-blue:hover { background: #1b7bf3; }
.pill-glass { background: #303030; box-shadow: inset 0 0 0 1px #484848; }
.pill-glass:hover { background: #3b3b3b; }
.pill:disabled { opacity: 0.55; cursor: default; transform: none; }
.pill[aria-pressed="true"] { background: #71221e; box-shadow: inset 0 0 0 1px #a6453e; }
.pill-sm { font-size: 14px; padding-inline: 14px; }
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.wordmark svg { flex-shrink: 0; }
.top-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--dim); }
.top-links a { padding-block: 12px; }
.top-links a:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 36px;
  max-width: var(--max);
  min-height: 600px;
  margin: 0 auto;
  padding: 84px var(--gutter) 100px;
}
.hero-copy { min-width: 0; }
h1 { font-size: clamp(42px, 4.7vw, 62px); line-height: 1.06; }
.lede { max-width: 32em; margin-top: 24px; color: var(--dim); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--dim); }
.prints { position: relative; min-width: 0; aspect-ratio: 1.16; }
.print { position: absolute; background: white; box-shadow: 0 12px 30px #0006; }
.print canvas { width: 100%; height: auto; }
.print-back { width: 68%; top: 0; left: 23%; transform: rotate(9deg); }
.print-front { width: 90%; bottom: 5%; left: 3%; transform: rotate(-6deg); }
.print-front figcaption { padding: 3px 12px 12px; color: #4c4c4c; font-size: 12px; line-height: 1.5; }

.section { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter); border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px 40px; margin-bottom: 30px; }
.section-head > div { min-width: 0; }
.section-head h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.15; }
.section-head p { margin-top: 12px; color: var(--dim); font-size: 16px; max-width: 42em; }
.wall-controls { flex: 0 0 280px; }
.section-head .wall-note { font-size: 13px; line-height: 1.5; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 14px; }
.wall-tile { min-width: 0; }
.wall-tile canvas, .backdrop canvas { width: 100%; height: auto; aspect-ratio: 8 / 5; background: #252525; }
.wall-tile figcaption, .backdrop figcaption { margin-top: 9px; font-size: 14px; color: #ddd; }
.aside { color: var(--dim); max-width: 48em; margin-top: 28px; font-size: 14px; }
.backdrops { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 14px; }

/* theme chips: six tiny windows in their real colours */
.chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.chip { display: flex; flex-direction: column; gap: 2px; }
.chip strong { font-size: 15px; font-weight: 600; margin-top: 10px; }
.chip span { font-size: 13px; color: var(--dim); }
.cw {
  --cw-bar: var(--chrome-2);
  --cw-view: #000;
  --cw-tool: var(--chrome);
  --cw-red: var(--red);
  --cw-pill: rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.cw-bar { height: 12%; background: var(--cw-bar); }
.cw-view { flex: 1; background: var(--cw-view); }
.cw-tool { position: relative; height: 24%; background: var(--cw-tool); }
.cw-tool::before, .cw-tool::after { content: ""; position: absolute; top: 50%; height: 24%; width: 26%; border-radius: 3px; background: var(--cw-pill); transform: translateY(-50%); }
.cw-tool::before { left: 8%; }
.cw-tool::after { right: 8%; }
.cw-tool b { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; max-width: 22px; border-radius: 50%; background: var(--cw-red); transform: translate(-50%, -50%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.cw-modern { --cw-bar: #e8e8e8; --cw-view: #0d0d0d; --cw-tool: #dcdcdc; --cw-red: #ff3b30; --cw-pill: rgba(0, 0, 0, 0.08); }
.cw-glass { --cw-bar: #2a2a2a; --cw-view: #000; --cw-tool: #262626; --cw-red: #ff453a; }
.cw-metal { --cw-bar: #dcdee1; --cw-view: #0d1013; --cw-tool: #cdcfd2; --cw-red: #d63a2f; --cw-pill: rgba(0, 0, 0, 0.12); }
.cw-retro { --cw-bar: #e2d6bc; --cw-view: #120d07; --cw-tool: #ddd0b4; --cw-red: #e2542e; --cw-pill: rgba(90, 60, 25, 0.14); }
.cw-darkroom { --cw-bar: #e9e0cd; --cw-view: #14100a; --cw-tool: #e3d9c3; --cw-red: #b0151b; --cw-pill: rgba(60, 48, 30, 0.12); }

/* get: two plain rows, like a settings list */
.get-list { border-top: 1px solid var(--rule); }
.get-row { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.get-row > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.get-row strong { font-size: 17px; font-weight: 600; }
.get-row span { font-size: 14px; color: var(--dim); }
.source { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--dim); border-bottom: 1px solid var(--rule); }
.source:hover { color: var(--text); border-color: var(--text); }

/* footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--dim); }
.foot p { flex: 1 1 320px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: var(--text); }


@media (max-width: 1000px) {
  .hero { gap: 20px; min-height: 540px; padding-block: 64px; }
  .ctas { flex-direction: column; align-items: flex-start; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .backdrops { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 760px) {
  .top { gap: 12px; }
  .top-links { display: none; }
  .top > .pill { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; padding-bottom: 42px; }
  h1 { font-size: clamp(42px, 8vw, 58px); }
  .lede { font-size: 17px; margin-top: 20px; }
  .ctas { flex-direction: row; align-items: stretch; margin-top: 24px; }
  .prints { width: min(100%, 520px); justify-self: center; }
  .section { padding-block: 42px; }
  .section-head { flex-direction: column; gap: 20px; }
  .wall-controls { flex: auto; }
  .wall, .backdrops { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .wall-tile figcaption, .backdrop figcaption { font-size: 13px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .get-row { align-items: flex-start; gap: 16px; }
  .get-row > div { flex-basis: 65%; }
  .get-row .pill { margin-left: auto; }
  .foot { gap: 16px; }
  .foot p { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .ctas { flex-direction: column; }
  .print-front figcaption { font-size: 10px; padding: 4px 8px 8px; }
  .get-row { flex-wrap: wrap; }
  .get-row > div { flex-basis: 100%; }
  .get-row .pill { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill { transition: none; }
  .pill:active { transform: none; }
}
