/*
 * Title Card: components
 * Needs tokens.css first. Every class starts with "tc-" so it can sit next to any other CSS.
 */

/* Base */
.tc { margin: 0; background: var(--tc-slate); color: var(--tc-paper); font-family: var(--tc-sans); font-size: var(--tc-text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.tc *, .tc *::before, .tc *::after { box-sizing: border-box; }
.tc a { color: var(--tc-cyan); text-decoration: none; }
.tc a:hover { color: var(--tc-paper); }
.tc :focus-visible { outline: 2px solid var(--tc-cyan); outline-offset: 2px; }
.tc-container { width: min(100% - 40px, var(--tc-container)); margin-inline: auto; }
.tc-narrow { width: min(100% - 40px, var(--tc-narrow)); margin-inline: auto; }
.tc-center { text-align: center; }
.tc [hidden] { display: none !important; }

/* Sections */
.tc-section { padding-block: var(--tc-section); }
.tc-band { background: var(--tc-band); }
.tc-black { background: var(--tc-black); }
.tc-rule { height: 1px; margin: 0; border: 0; background: var(--tc-line); }

/* Type */
.tc-label { display: inline-block; font-family: var(--tc-label); font-size: var(--tc-text-label); font-weight: 500; letter-spacing: var(--tc-tracking-label); text-transform: uppercase; color: var(--tc-soft); }
.tc-label--cyan { color: var(--tc-cyan); }
.tc-hero-title, .tc-h2, .tc-h3 { margin: 0; font-family: var(--tc-sans); font-weight: 500; letter-spacing: var(--tc-tracking-title); color: var(--tc-paper); }
.tc-hero-title { font-size: var(--tc-text-hero); line-height: 1.04; }
.tc-h2 { font-size: var(--tc-text-h2); line-height: 1.12; }
.tc-h3 { font-size: var(--tc-text-h3); line-height: 1.25; }
.tc-year { color: var(--tc-faint); font-weight: 400; }
.tc-deck { margin: 0; font-family: var(--tc-serif); font-size: var(--tc-text-deck); line-height: 1.5; color: var(--tc-paper); }
.tc-deck em { font-style: italic; }
.tc-soft { color: var(--tc-soft); }
.tc-byline { font-family: var(--tc-label); font-size: var(--tc-text-label); letter-spacing: .08em; text-transform: uppercase; color: var(--tc-soft); }

/* Masthead: pure black, script wordmark, outlined dropdown boxes, a search box */
.tc-mast { background: var(--tc-black); }
.tc-mast__in { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.tc-wordmark { display: inline-flex; align-items: baseline; gap: 6px; color: var(--tc-cyan); line-height: 1; white-space: nowrap; }
.tc-wordmark__script { font-family: var(--tc-script); font-size: var(--tc-text-wordmark); }
.tc-wordmark__block { font-family: var(--tc-label); font-size: calc(var(--tc-text-wordmark) * .62); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.tc-wordmark__tiny { display: block; font-family: var(--tc-label); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.tc-mast__nav { display: flex; flex-wrap: wrap; gap: 14px; margin-left: auto; }
.tc-box { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-width: 170px; padding: 6px 10px; border: 1px solid #8a8d95; border-radius: var(--tc-radius); background: transparent; color: var(--tc-paper); font-family: var(--tc-label); font-size: var(--tc-text-label); font-weight: 500; letter-spacing: var(--tc-tracking-label); text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.tc .tc-box { color: var(--tc-paper); }
.tc-box::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .7; }
.tc-box:hover { border-color: var(--tc-paper); }
.tc-search { width: 170px; padding: 6px 10px; border: 0; border-radius: var(--tc-radius); background: #6f727a; color: var(--tc-paper); font-family: var(--tc-label); font-size: var(--tc-text-label); letter-spacing: .1em; text-transform: uppercase; }
.tc-search::placeholder { color: #c9cbd0; }

/* Buttons: small, square-ish, uppercase. Cyan for the one main action */
.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--tc-radius-btn); font-family: var(--tc-label); font-size: var(--tc-text-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background .2s var(--tc-ease), border-color .2s var(--tc-ease), color .2s var(--tc-ease); }
.tc .tc-btn--cyan, .tc-btn--cyan { background: var(--tc-cyan); color: var(--tc-cyan-ink); }
.tc .tc-btn--cyan:hover { background: var(--tc-cyan-dark); color: var(--tc-cyan-ink); }
.tc .tc-btn--outline, .tc-btn--outline { border-color: var(--tc-line); background: transparent; color: var(--tc-paper); }
.tc .tc-btn--outline:hover { border-color: var(--tc-paper); color: var(--tc-paper); }
.tc-btn--wide { width: 100%; }
.tc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Feature band: title and year, then the mosaic beside a hairline sidebar */
.tc-feature { padding-block: 32px 44px; }
.tc-feature__grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--tc-sidebar); gap: 40px; margin-top: 20px; align-items: start; }
.tc-feature__meta { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; margin-top: 22px; }
.tc-date { font-family: var(--tc-label); font-size: var(--tc-text-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--tc-faint); }

/* Mosaic: nine stills in a 3 by 3 grid with black gaps and a thin light frame */
.tc-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tc-gap); padding: var(--tc-gap); border: 1px solid #8a8d95; background: var(--tc-black); }
.tc-mosaic--4 { grid-template-columns: repeat(2, 1fr); }
.tc-mosaic--row { grid-template-columns: repeat(3, 1fr); }

/* Still: one drawn frame, 16:9, with an optional tiny credit inside */
.tc-still { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--tc-film-night); }
.tc-still__credit { position: absolute; left: 8%; bottom: 10%; font-family: var(--tc-label); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--tc-film-bone); opacity: .85; }
.tc-still__credit--center { left: 0; right: 0; bottom: auto; top: 46%; text-align: center; }
/* Doorway: a lit opening in a dark wall */
.tc-still--door { background: linear-gradient(var(--tc-film-sand), var(--tc-film-ochre)) 50% 70% / 22% 62% no-repeat, linear-gradient(180deg, var(--tc-film-night), #1d2430); }
/* Stair: diagonal treads in warm light */
.tc-still--stair { background: repeating-linear-gradient(150deg, var(--tc-film-rust) 0 10px, #7c3c1e 10px 14px), var(--tc-film-rust); }
/* Columns: a colonnade in cool shade */
.tc-still--columns { background: linear-gradient(0deg, var(--tc-film-sand) 0 14%, transparent 14%), repeating-linear-gradient(90deg, var(--tc-film-bone) 0 9%, var(--tc-film-teal) 9% 20%); }
/* Skylight: a pool of light from above */
.tc-still--sky { background: radial-gradient(40% 60% at 50% 0%, var(--tc-film-bone), transparent 70%), linear-gradient(180deg, #24344a, var(--tc-film-night)); }
/* Arch: a round-topped window at dusk */
.tc-still--arch { background: radial-gradient(18% 32% at 50% 44%, var(--tc-film-ochre) 98%, transparent 100%), linear-gradient(var(--tc-film-ochre), var(--tc-film-ochre)) 50% 78% / 36% 34% no-repeat, linear-gradient(180deg, #3a2a3a, #191320); }
/* Corridor: one-point perspective down a blue hall */
.tc-still--corridor { background: conic-gradient(from 225deg at 50% 50%, #163a66 0 25%, #0f2b4d 25% 50%, #163a66 50% 75%, var(--tc-film-blue) 75%); }
.tc-still--corridor::after { content: ""; position: absolute; inset: 40% 44%; background: var(--tc-film-bone); }
/* Lamp: a single pendant over a table */
.tc-still--lamp { background: radial-gradient(30% 40% at 50% 38%, rgba(233, 227, 214, .55), transparent 70%), linear-gradient(var(--tc-film-ochre), var(--tc-film-ochre)) 50% 80% / 50% 6% no-repeat, #15110d; }
.tc-still--lamp::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 30%; background: var(--tc-film-sand); }
/* Paper: a pale plan drawing with grid lines */
.tc-still--plan { background: linear-gradient(var(--tc-film-rust), var(--tc-film-rust)) 30% 40% / 24% 2px no-repeat, linear-gradient(var(--tc-film-rust), var(--tc-film-rust)) 62% 30% / 2px 40% no-repeat, linear-gradient(rgba(16, 22, 31, .12) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(16, 22, 31, .12) 1px, transparent 1px) 0 0 / 14px 14px, var(--tc-film-bone); }
/* Dusk: a roofline against a fading sky */
.tc-still--dusk { background: linear-gradient(transparent 62%, var(--tc-film-night) 62%), linear-gradient(180deg, var(--tc-film-blue) 0%, var(--tc-film-rust) 52%, var(--tc-film-ochre) 62%); }
.tc-still--dusk::after { content: ""; position: absolute; left: 20%; bottom: 38%; width: 22%; height: 16%; background: var(--tc-film-night); }

/* Sidebar: stacked blocks between hairlines */
.tc-side { border-top: var(--tc-hair); }
.tc-side__block { padding: 16px 0; border-bottom: var(--tc-hair); text-align: center; }
.tc-side__title { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--tc-paper); }
.tc-side__icons { display: flex; justify-content: center; gap: 18px; }
.tc-side__icons svg { width: 24px; height: 24px; fill: var(--tc-paper); }

/* Index: cards with a still on top, a label, a title and a short deck */
.tc-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.tc-index--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tc-card { display: block; color: var(--tc-paper); }
.tc .tc-card { color: var(--tc-paper); }
.tc-card .tc-still { border: 1px solid var(--tc-line); }
.tc-card__label { margin-top: 12px; }
.tc-card__title { margin: 4px 0 6px; font-size: 19px; font-weight: 500; line-height: 1.25; }
.tc-card__deck { margin: 0; font-family: var(--tc-serif); font-size: 15px; line-height: 1.5; color: var(--tc-soft); }
.tc-card:hover .tc-card__title { color: var(--tc-cyan); }
.tc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 12px; border-bottom: var(--tc-hair); }

/* Chips: square outlined tags */
.tc-chip { display: inline-block; padding: 3px 8px; border: var(--tc-hair); font-family: var(--tc-label); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tc-soft); white-space: nowrap; }
.tc-chip--cyan { border-color: var(--tc-cyan); color: var(--tc-cyan); }

/* Credits list: a two-column roll like end credits */
.tc-credits { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin: 0; }
.tc-credits dt { font-family: var(--tc-label); font-size: var(--tc-text-label); letter-spacing: .14em; text-transform: uppercase; color: var(--tc-faint); text-align: right; }
.tc-credits dd { margin: 0; font-family: var(--tc-serif); color: var(--tc-paper); }

/* Pricing: square cards with a hairline, the featured one framed in cyan */
.tc-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tc-plan { display: flex; flex-direction: column; padding: 28px 24px; border: var(--tc-hair); background: var(--tc-card); }
.tc-plan--featured { border-color: var(--tc-cyan); box-shadow: inset 0 3px 0 var(--tc-cyan); }
.tc-plan__name { margin: 8px 0 4px; font-size: 26px; font-weight: 500; }
.tc-plan__price { margin: 14px 0 2px; font-size: 44px; font-weight: 500; line-height: 1; }
.tc-plan__price small { font-size: 15px; color: var(--tc-faint); font-weight: 400; }
.tc-plan__deck { margin: 8px 0 18px; font-family: var(--tc-serif); font-size: 15px; color: var(--tc-soft); }
.tc-plan__list { flex: 1; margin: 0 0 24px; padding: 16px 0 0; border-top: 1px solid var(--tc-line-soft); list-style: none; font-size: 15px; }
.tc-plan__list li { padding: 5px 0 5px 18px; position: relative; }
.tc-plan__list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--tc-cyan); }

/* Table: a plain comparison with hairlines */
.tc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tc-table th, .tc-table td { padding: 12px 10px; border-bottom: 1px solid var(--tc-line-soft); text-align: left; }
.tc-table th { font-family: var(--tc-label); font-size: var(--tc-text-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tc-faint); }
.tc-table td:not(:first-child), .tc-table th:not(:first-child) { text-align: center; }
.tc-yes { color: var(--tc-cyan); }

/* FAQ */
.tc-faq { border-top: var(--tc-hair); }
.tc-faq details { padding: 16px 0; border-bottom: var(--tc-hair); }
.tc-faq summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; }
.tc-faq summary::after { content: "+"; float: right; color: var(--tc-cyan); }
.tc-faq details[open] summary::after { content: "\2212"; }
.tc-faq p { margin: 10px 0 0; font-family: var(--tc-serif); color: var(--tc-soft); }

/* Article: a serif reading column with a dated header */
.tc-article { font-family: var(--tc-serif); font-size: 19px; line-height: 1.7; color: #dcdad4; }
.tc-article p { margin: 0 0 1.2em; }
.tc-article h2 { margin: 1.8em 0 .5em; font-family: var(--tc-sans); font-size: 26px; font-weight: 500; color: var(--tc-paper); }
.tc-article blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--tc-cyan); font-style: italic; font-size: 23px; line-height: 1.45; color: var(--tc-paper); }
.tc-article figure { margin: 1.8em 0; }
.tc-article figcaption { margin-top: 10px; font-family: var(--tc-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tc-faint); }
.tc-dropcap::first-letter { float: left; margin: 6px 10px 0 0; font-family: var(--tc-sans); font-size: 62px; font-weight: 500; line-height: .8; color: var(--tc-cyan); }

/* Forms: square fields on the band color, cyan focus */
.tc-panel { padding: 32px 28px; border: var(--tc-hair); background: var(--tc-card); }
.tc-field { display: block; margin-bottom: 18px; }
.tc-field__label { display: block; margin-bottom: 6px; font-family: var(--tc-label); font-size: var(--tc-text-label); letter-spacing: .12em; text-transform: uppercase; color: var(--tc-soft); }
.tc-input, .tc-select { width: 100%; padding: 11px 12px; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); background: var(--tc-band-2); color: var(--tc-paper); font-family: var(--tc-sans); font-size: 16px; }
.tc-input:focus, .tc-select:focus { outline: none; border-color: var(--tc-cyan); }
.tc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--tc-soft); }
.tc-check input { margin-top: 5px; accent-color: var(--tc-cyan); }
.tc-help { margin-top: 6px; font-size: 13px; color: var(--tc-faint); }

/* Footer: black, small labels, the wordmark again */
.tc-footer { padding-block: 44px 28px; background: var(--tc-black); color: var(--tc-soft); font-size: 14px; }
.tc-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.tc-footer__grid ul { margin: 10px 0 0; padding: 0; list-style: none; }
.tc-footer__grid li { padding: 3px 0; }
.tc .tc-footer a { color: var(--tc-soft); }
.tc .tc-footer a:hover { color: var(--tc-cyan); }
.tc-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 16px; border-top: 1px solid #22242a; font-size: 13px; color: var(--tc-faint); }

/* Phone */
@media (max-width: 900px) {
  .tc-mast__in { flex-wrap: wrap; gap: 14px; }
  .tc-mast__nav { margin-left: 0; width: 100%; }
  .tc-box, .tc-search { min-width: 0; flex: 1 1 140px; }
  .tc-feature__grid { grid-template-columns: 1fr; }
  .tc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-index--3, .tc-plans { grid-template-columns: 1fr; }
  .tc-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tc-feature__meta { grid-template-columns: 1fr; gap: 6px; }
  .tc-index { grid-template-columns: 1fr; }
  .tc-credits { grid-template-columns: 1fr; }
  .tc-credits dt { text-align: left; }
  .tc-mosaic { gap: 1px; padding: 1px; }
  .tc-still__credit { left: 6%; font-size: 7px; letter-spacing: .12em; }
  .tc-box { gap: 8px; padding: 6px 8px; letter-spacing: .06em; }
}
