/* Kaleido Pictures — site styles
   Layout concept: hard-edged cinematic blocks on near-black, one warm paper section for Bridge,
   a five-colour kaleido stripe as the recurring brand mark. No rounded corners anywhere. */
:root {
  --ink: #101010;
  --ink-2: #181715;
  --ink-3: #242220;
  --paper: #FDFDF6;
  --sand: #EADBBB;
  --red: #C0141F;
  --red-deep: #B4030E;
  --red-hot: #EC4539;
  --orange: #FF8F35;
  --yellow: #F1B020;
  --green: #60934E;
  --blue: #316C80;
  --fg: #FDFDF6;
  --fg-muted: rgba(253, 253, 246, 0.64);
  --line: rgba(253, 253, 246, 0.14);
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Archivo Narrow", "Arial Narrow", "Roboto Condensed", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 9vw, 8.5rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; }
p { margin: 0; }
p + p { margin-top: 1em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; max-width: 36em; }
.muted { color: var(--fg-muted); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 3px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-head { display: grid; gap: 18px; max-width: 52rem; margin-bottom: clamp(32px, 5vw, 64px); }

/* kaleido stripe */
.stripe { display: grid; grid-template-columns: repeat(5, 1fr); height: 6px; }
.stripe span:nth-child(1) { background: var(--red-hot); }
.stripe span:nth-child(2) { background: var(--orange); }
.stripe span:nth-child(3) { background: var(--yellow); }
.stripe span:nth-child(4) { background: var(--green); }
.stripe span:nth-child(5) { background: var(--blue); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  padding: 16px 26px 14px;
  text-decoration: none;
  border: 2px solid var(--fg);
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--fg); color: var(--ink); }
.btn.primary { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn.primary:hover { background: var(--red-hot); border-color: var(--red-hot); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 16, 16, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand .mark { height: 36px; width: auto; flex: 0 0 auto; display: block; }
.brand span { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; padding-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; color: var(--fg-muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links .btn { padding: 10px 18px 9px; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 2px solid var(--fg); color: var(--fg); font-family: var(--font-display); text-transform: uppercase; padding: 8px 12px; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.1rem; }
  .nav-links .btn { margin-top: 12px; justify-content: center; }
}

/* hero */
.hero { position: relative; isolation: isolate; min-height: clamp(540px, 82vh, 860px); display: grid; align-items: end; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,16,16,0.25) 0%, rgba(16,16,16,0.1) 35%, rgba(16,16,16,0.82) 80%, var(--ink) 100%); }
.hero .wrap { width: 100%; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); display: grid; gap: 26px; }
.hero h1, .hero .lede, .hero .eyebrow { text-shadow: 0 2px 0 rgba(0,0,0,0.45), 0 14px 36px rgba(0,0,0,0.55); }
.hero h1 { max-width: 12ch; }
.hero.short { min-height: clamp(380px, 56vh, 620px); }
.hero.short h1 { font-size: clamp(2.8rem, 7vw, 6.5rem); }
.hero-credit { position: absolute; right: var(--gutter); top: 18px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(253,253,246,0.55); }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px 26px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--yellow); }
.stat span { color: var(--fg-muted); font-size: 0.95rem; letter-spacing: 0.04em; }
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.pillar { background: var(--ink); padding: clamp(28px, 3.5vw, 44px) clamp(22px, 3vw, 36px); display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; min-width: 0; }
.pillar .num { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.18em; color: var(--fg-muted); }
.pillar .bar { height: 6px; width: 64px; }
.pillar p { color: var(--fg-muted); }
.pillar a { font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 3px; justify-self: start; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* video wall */
.wall-section { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.wall figure { margin: 0; position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-3); max-width: 100%; }
.wall video { width: 100%; height: 100%; object-fit: cover; }
.wall figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.wall figure:nth-child(even) { transform: translateY(28px); }
@media (max-width: 1000px) { .wall { grid-template-columns: repeat(3, 1fr); } .wall figure:nth-child(even) { transform: none; } }
@media (max-width: 520px) { .wall { grid-template-columns: repeat(2, 1fr); } .wall figure:nth-child(n+5) { display: none; } }
.wall-foot { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; margin-top: clamp(40px, 5vw, 64px); color: var(--fg-muted); }
.wall-foot .ctrl { background: none; border: 1px solid var(--line); color: var(--fg); font-family: var(--font-body); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; padding: 10px 16px; cursor: pointer; }
.wall-foot .ctrl:hover { border-color: var(--fg); }

/* bridge (paper) */
.paper { background: var(--paper); color: var(--ink); }
.paper .eyebrow { color: var(--red); }
.paper .muted { color: rgba(16,16,16,0.62); }
.bridge-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.bridge-grid > * { min-width: 0; }
.days { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.day { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(16,16,16,0.18); }
.day .d { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.9; }
.day .d small { display: block; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; color: var(--red); }
.day h3 { margin-bottom: 8px; }
.day p { color: rgba(16,16,16,0.7); }
@media (max-width: 900px) { .bridge-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .day { grid-template-columns: 1fr; gap: 8px; } }
.bridge-points { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.bridge-points li { display: grid; grid-template-columns: 16px 1fr; gap: 14px; align-items: start; }
.bridge-points li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.bridge-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.bridge-photo img { width: 100%; height: 100%; object-fit: cover; }
.bridge-photo .tag { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 14px; }
.bridge-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.paper .btn { border-color: var(--ink); color: var(--ink); }
.paper .btn:hover { background: var(--ink); color: var(--paper); }
.paper .btn.primary { background: var(--red); border-color: var(--red); color: var(--paper); }
.paper .btn.primary:hover { background: var(--ink); border-color: var(--ink); }

/* work grid */
.work { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(110px, 13.5vw, 190px); grid-auto-flow: dense; gap: 6px; }
.work figure { margin: 0; position: relative; overflow: hidden; background: var(--ink-3); min-width: 0; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work figure:hover img { transform: scale(1.03); }
.work figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; background: linear-gradient(180deg, transparent, rgba(16,16,16,0.85)); color: var(--paper); }
.work .w8 { grid-column: span 8; grid-row: span 2; }
.work .w4 { grid-column: span 4; grid-row: span 1; }
.work .w4.tall { grid-row: span 2; }
.work .w6 { grid-column: span 6; grid-row: span 2; }
@media (max-width: 860px) {
  .work { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 28vw, 240px); }
  .work .w8 { grid-column: span 2; grid-row: span 2; }
  .work .w4, .work .w4.tall, .work .w6 { grid-column: span 1; grid-row: span 1; }
}
.work-note { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.work-note > * { min-width: 0; }
@media (max-width: 760px) { .work-note { grid-template-columns: 1fr; } }
.credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.credits li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.credits li span:last-child { color: var(--fg-muted); text-align: right; }

/* record list */
.record { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line); }
.record li { display: grid; grid-template-columns: 72px 1fr 1fr; gap: 16px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.record .yr { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.08em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.record .ttl { font-weight: 700; font-size: 1.1rem; }
.record .kind { color: var(--fg-muted); }
@media (max-width: 760px) { .record li { grid-template-columns: 60px 1fr; } .record .kind { grid-column: 2; } }

/* founder */
.founder { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 4vw, 64px); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.founder > * { min-width: 0; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder a { color: var(--yellow); }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder img { aspect-ratio: 4 / 3; } }
.muted a, .pillar p a, .path p a { color: var(--yellow); }

/* leadership */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.leader { display: grid; gap: 12px; min-width: 0; }
.leader img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; }
.leader .bar { height: 5px; width: 56px; }
.leader .role { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--yellow); }
.leader > a { color: var(--fg); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 3px; justify-self: start; }
@media (max-width: 760px) { .leaders { grid-template-columns: 1fr; } }

/* closing band */
.band { background: var(--red); color: var(--paper); clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%); padding-block: clamp(80px, 10vw, 140px); }
.band .wrap { display: grid; gap: 24px; justify-items: start; }
.band h2 { font-size: clamp(2.8rem, 7vw, 6.5rem); max-width: 14ch; }
.band .btn { border-color: var(--paper); color: var(--paper); }
.band .btn:hover { background: var(--paper); color: var(--red); }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split img { aspect-ratio: 4 / 3; } }
.statement { display: grid; gap: 28px; }
.statement blockquote { margin: 0; padding-left: 22px; border-left: 4px solid var(--yellow); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.35; }
.statement blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.value { background: var(--ink); padding: clamp(26px, 3vw, 40px) clamp(20px, 2.6vw, 32px); display: grid; gap: 14px; min-width: 0; }
.value .k { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 0.9; }
.value p { color: var(--fg-muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--line); }
.timeline > div { padding: 24px 24px 0 0; border-right: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.timeline > div:last-child { border-right: 0; }
.timeline > div + div { padding-left: 24px; }
.timeline .t { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.1em; color: var(--yellow); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } .timeline > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; } .timeline > div + div { padding-left: 0; } }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mosaic img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.mosaic img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 600px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.paths { display: grid; gap: 2px; background: var(--line); }
.path { background: var(--ink); padding: 26px 24px; display: grid; gap: 10px; }
.path h3 { font-size: 1.5rem; }
.path p { color: var(--fg-muted); }
.path .bar { height: 5px; width: 48px; margin-bottom: 4px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 4px; }
.contact-list .lbl { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-muted); }
.contact-list .val { font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy { background: none; border: 1px solid var(--line); color: var(--fg-muted); font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; cursor: pointer; }
.copy:hover { color: var(--fg); border-color: var(--fg); }
form.contact { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--fg-muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--ink-2);
  border: 1px solid var(--line); padding: 14px 16px; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%), linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); outline: none; }
.field textarea { min-height: 160px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form-note { font-size: 0.9rem; color: var(--fg-muted); }
.form-result { display: none; border: 1px solid var(--yellow); padding: 20px; gap: 12px; }
.form-result.show { display: grid; }
.form-result pre { white-space: pre-wrap; font: inherit; margin: 0; background: var(--ink-2); padding: 14px; border: 1px solid var(--line); }

/* footer */
footer { border-top: 1px solid var(--line); background: var(--ink); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px 40px; }
footer .wrap > * { min-width: 0; }
footer h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .brand span { font-size: 1.5rem; }
footer .tag { color: var(--fg-muted); margin-top: 12px; max-width: 30em; }
.legal { border-top: 1px solid var(--line); background: var(--ink-2); }
.legal .wrap { grid-template-columns: 1fr; padding-block: 26px 28px; display: grid; gap: 10px; }
.legal h4 { margin: 0 0 4px; }
.legal p { font-size: 0.86rem; line-height: 1.5; color: var(--fg-muted); max-width: 78em; }
.foot-bottom { border-top: 1px solid var(--line); }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 18px; font-size: 0.8rem; color: var(--fg-muted); letter-spacing: 0.06em; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* reveal */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(16px); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { transform: none; }
}
