/* Busy Talent. One family (Archivo, condensed to wide), a 12-column grid, one brand colour. */
:root {
  --paper: #F5F6F8;
  --white: #FFFFFF;
  --ink: #121317;
  --slate: #5F6672;
  --line: #D9DCE2;
  --tile: #CBB9A8;
  --brand: #D93D12;       /* backgrounds with white text: 4.5:1 */
  --brand-text: #CC370E;  /* brand-coloured text on paper or white */
  --font: "Archivo", system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: 32px;
  --col-gap: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.band :focus-visible, .site-header :focus-visible { outline-color: var(--white); }
::selection { background: var(--brand); color: var(--white); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--ink); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Header: always on the brand colour */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--brand); color: var(--white); }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 800; font-variation-settings: "wdth" 125; font-size: 21px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
/* Light tints of white on the brand colour fall below 4.5:1, so links are white and marked by an underline */
.nav a { color: var(--white); transition: box-shadow 0.15s; }
.nav a:not(.nav-cta):hover, .nav a[aria-current="page"]:not(.nav-cta) { box-shadow: 0 2px 0 var(--white); }
.nav a.nav-cta { color: var(--brand); background: var(--white); padding: 9px 16px; font-weight: 600; border-radius: 3px; }
.nav a.nav-cta:hover { background: var(--ink); color: var(--white); }
.menu-btn { display: none; background: none; color: var(--white); border: 1.5px solid var(--white); border-radius: 3px; padding: 6px 14px; font-size: 15px; font-weight: 600; cursor: pointer; }

/* Brand band: page heroes */
.band { background: var(--brand); color: var(--white); }
.band .lede strong { color: var(--white); font-weight: 700; }
.page-hero { padding: 40px 0 88px; }
.page-hero .lede { margin-top: 32px; }

.display {
  grid-column: 1 / -1;
  font-weight: 850;
  font-variation-settings: "wdth" 62;
  font-size: clamp(64px, 12.2vw, 192px);
  line-height: 0.84;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display-s { font-size: clamp(56px, 9vw, 140px); }
.lede { font-size: 19px; line-height: 1.55; max-width: 44ch; }
.span-7 { grid-column: 1 / 8; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-block; cursor: pointer; border: 0; border-radius: 3px;
  padding: 15px 24px; font-size: 16px; font-weight: 600; line-height: 1.3;
  background: var(--ink); color: var(--white); transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--brand); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.band .btn { background: var(--white); color: var(--brand); }
.band .btn:hover { background: var(--ink); color: var(--white); }
.band .btn-line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.band .btn-line:hover { background: var(--white); color: var(--brand); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link { font-weight: 600; box-shadow: 0 2px 0 var(--brand-text); padding-bottom: 1px; transition: color 0.15s; }
.link:hover { color: var(--brand-text); }

/* Home hero: statement rises out of the band */
.home-hero { padding-top: 36px; }
.hero-row { margin-top: 40px; align-items: end; }
.hero-copy { grid-column: 1 / 6; padding-bottom: 72px; }
.statement {
  grid-column: 8 / -1; background: var(--white); color: var(--ink);
  border-radius: 10px 10px 0 0; padding: 26px 26px 24px; box-shadow: 0 -24px 60px -36px rgba(0, 0, 0, 0.55);
}
.statement-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--slate); }
.statement-who { font-weight: 700; font-variation-settings: "wdth" 88; font-size: 25px; line-height: 1.15; margin: 8px 0 18px; }
.ln { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; font-variant-numeric: tabular-nums; }
.ln span:first-child { color: var(--slate); }
.ln-total { border-top: 2px solid var(--ink); font-weight: 800; font-size: 21px; padding-top: 14px; }
.ln-total span:first-child { color: var(--ink); }
.ln-total span:last-child { color: var(--brand-text); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.track div { font-size: 12px; line-height: 1.3; color: var(--slate); }
.track i { display: block; height: 5px; background: var(--line); margin-bottom: 7px; position: relative; overflow: hidden; }
.track i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(1); transform-origin: left; }
.track .now i::after { background: var(--brand); }
.statement-note { font-size: 13px; color: var(--slate); margin-top: 14px; }

/* Sections: hairline, label in the first three columns, content in the rest */
.sec { border-top: 1px solid var(--ink); padding: 18px 0 104px; }
.sec-first { border-top: 0; padding-top: 104px; }
.sec-label { grid-column: 1 / 4; font-size: 15px; font-weight: 600; padding-top: 2px; }
.sec-label span { display: block; color: var(--slate); font-weight: 400; margin-top: 4px; max-width: 26ch; }
.sec-body { grid-column: 4 / -1; }
.stack > * + * { margin-top: 40px; }
.h2 {
  font-weight: 850; font-variation-settings: "wdth" 62;
  font-size: clamp(48px, 6vw, 92px); line-height: 0.88; letter-spacing: -0.015em; max-width: 14ch;
}
.muted { color: var(--slate); }
.prose { max-width: 64ch; }
.prose p + p { margin-top: 1em; }
.prose .h3 { font-size: 19px; font-weight: 700; line-height: 1.35; }
.prose * + .h3 { margin-top: 1.8em; }
.prose .h3 + p { margin-top: 6px; }

/* Terms: giant numerals */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.term-num { display: block; font-weight: 850; font-variation-settings: "wdth" 62; font-size: clamp(64px, 7vw, 112px); line-height: 0.9; letter-spacing: -0.02em; }
.term-num small { font-size: 0.32em; font-variation-settings: "wdth" 100; font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.term h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; padding-top: 14px; border-top: 3px solid var(--brand); }
.term p { font-size: 15px; color: var(--slate); }
.terms-plain .term h3 { margin-top: 0; }
.terms-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Rows: a title column and a text column inside the section body */
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--col-gap); padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 19px; font-weight: 700; line-height: 1.35; }
.rows p { color: var(--slate); }
.rows-num { counter-reset: row; }
.rows-num li { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.6fr); counter-increment: row; }
.rows-num li::before {
  content: counter(row); font-weight: 850; font-variation-settings: "wdth" 62;
  font-size: 44px; line-height: 0.9; color: var(--brand-text);
}

/* Roster tiles */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 14px; border: 1px solid var(--line); background: none; color: var(--slate); border-radius: 40px; padding: 7px 15px; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tiles-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { display: block; }
.tile[hidden] { display: none; }
.tile-ph {
  display: grid; place-items: end start; aspect-ratio: 9 / 14; padding: 18px; position: relative; overflow: hidden;
  background: var(--tone, var(--tile)); border-radius: 3px; transition: outline-color 0.15s;
  outline: 2px solid transparent; outline-offset: 3px;
}
.tile-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-ph .tile-blur { filter: blur(28px) saturate(1.1); transform: scale(1.3); }
.tile-ph .tile-avatar {
  position: absolute; inset: 0; margin: auto; width: 46%; max-width: 150px; height: auto; aspect-ratio: 1;
  border-radius: 50%; box-shadow: 0 0 0 4px var(--white), 0 18px 40px -18px rgba(0, 0, 0, 0.5);
}
.tile-initials { font-weight: 850; font-variation-settings: "wdth" 62; font-size: 92px; line-height: 0.8; color: rgba(18, 19, 23, 0.16); }
.tile:hover .tile-ph { outline-color: var(--brand); }
.tile-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.tile-name { font-weight: 700; font-variation-settings: "wdth" 112; font-size: 18px; }
.tile-reach { color: var(--slate); font-size: 15px; font-variant-numeric: tabular-nums; }
.tile-sub { display: block; color: var(--slate); font-size: 14px; }
.tile-open .tile-ph { background: none; border: 1.5px dashed #B9BEC7; place-items: center; text-align: center; }
.tile-open .tile-ph span { font-weight: 850; font-variation-settings: "wdth" 62; font-size: 40px; line-height: 0.9; }
.tile-open:hover .tile-ph { border-color: var(--brand); outline-color: transparent; }

/* Closing line: big heading with an action */
.closer { display: flex; justify-content: space-between; align-items: end; gap: 32px 48px; flex-wrap: wrap; }
.closer p { color: var(--slate); max-width: 40ch; }
.closer .btn { margin-top: 20px; }

/* Rates */
.rates { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rates th, .rates td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rates th { font-weight: 500; color: var(--slate); font-size: 14px; }
.rates td { font-size: 18px; }
.rates td:first-child { font-weight: 850; font-variation-settings: "wdth" 62; font-size: 34px; line-height: 1; }
.rates td:last-child, .rates th:last-child { text-align: right; font-weight: 600; }
.source { font-size: 13px; color: var(--slate); margin-top: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 28px; line-height: 1; color: var(--brand-text); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-text); }
.faq details p { color: var(--slate); padding: 0 0 24px; max-width: 64ch; }

/* Creator page */
.profile-row { margin-top: 40px; align-items: end; }
.profile-photo { grid-column: 1 / 4; }
.profile-photo .tile-ph { border-radius: 10px 10px 0 0; }
.profile-copy { grid-column: 5 / -1; padding-bottom: 64px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.stats dt { font-size: 14px; color: var(--slate); padding-bottom: 10px; border-bottom: 3px solid var(--brand); }
.stats dd { font-weight: 850; font-variation-settings: "wdth" 62; font-size: clamp(44px, 5vw, 72px); line-height: 1; margin-top: 14px; }
.previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.preview { position: relative; display: grid; place-items: end start; padding: 16px; aspect-ratio: 9 / 16; background: var(--tone, var(--tile)); border-radius: 3px; overflow: hidden; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.15s; }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-label { position: relative; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 3px; }
.preview:hover { outline-color: var(--brand); }
.back { display: inline-block; margin-top: 4px; font-size: 15px; }
.back:hover { box-shadow: 0 2px 0 var(--white); }

/* Forms */
.points { list-style: none; border-top: 1px solid var(--line); }
.points li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.points b { display: block; font-weight: 700; }
.points span { color: var(--slate); font-size: 15px; }
.form { display: grid; gap: 20px; max-width: 720px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 15px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--slate); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid #8A909A; border-radius: 3px; padding: 13px 14px; width: 100%; transition: border-color 0.15s;
}
.field textarea { min-height: 128px; resize: vertical; }
/* Field borders 3:1 and placeholders 4.5:1 against white */
.field input::placeholder, .field textarea::placeholder { color: #6B717C; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
.field :user-invalid { border-color: var(--brand-text); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status:focus { outline: none; }
.form-status.ok { font-weight: 600; }
.form-status.err { color: var(--brand-text); font-weight: 600; }
.small { font-size: 13px; color: var(--slate); }
.small a { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--ink); overflow: hidden; }
.foot { padding-top: 40px; padding-bottom: 48px; row-gap: 32px; }
.foot-about { grid-column: 1 / 5; color: var(--slate); font-size: 15px; max-width: 34ch; }
.foot-links { grid-column: 5 / 10; list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 48px; align-content: start; font-size: 15px; }
.foot-meta { grid-column: 10 / -1; display: grid; gap: 8px; align-content: start; text-align: right; font-size: 15px; color: var(--slate); }
.foot-links a:hover, .foot-meta a:hover { color: var(--brand-text); }

/* Load sequence: the one orchestrated motion on the site. Without JS everything is visible. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); }
  .js.ready .reveal { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .statement.reveal { transform: translateY(80px); }
  .js.ready .statement.reveal { transform: none; }
  .js .track i::after { transform: scaleX(0); }
  .js.ready .track i::after { transform: scaleX(1); transition: transform 0.5s ease-out; transition-delay: calc(var(--n) * 0.4s + 0.9s); }
}

/* Without JavaScript the mobile menu can't open, so the links stay in the bar */
html:not(.js) .menu-btn { display: none !important; }

/* Responsive */
@media (max-width: 1040px) {
  .hero-copy, .statement, .span-7 { grid-column: 1 / -1; }
  .statement { max-width: 560px; }
  .hero-copy { padding-bottom: 48px; }
  .sec-label, .sec-body { grid-column: 1 / -1; }
  .sec-label { margin-bottom: 32px; }
  .terms { grid-template-columns: 1fr 1fr; }
  .tiles-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-photo { grid-column: 1 / 6; }
  .profile-copy { grid-column: 6 / -1; }
  .foot-about { grid-column: 1 / 7; }
  .foot-links { grid-column: 7 / -1; }
  .foot-meta { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --col-gap: 12px; }
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--brand); padding: 4px 16px 20px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.35);
  }
  .nav.open { display: flex; }
  html:not(.js) .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 0 16px; padding: 0; box-shadow: none; background: none; }
  html:not(.js) .nav a:not(.nav-cta) { padding: 4px 0; font-size: 14px; border: 0; }
  html:not(.js) .nav a.nav-cta { margin: 0; padding: 4px 10px; font-size: 14px; }
  html:not(.js) .bar { height: auto; padding: 14px 0; flex-wrap: wrap; gap: 8px; }
  .nav a { padding: 13px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.22); color: var(--white); }
  .nav a[aria-current="page"]:not(.nav-cta) { box-shadow: none; text-decoration: underline; text-underline-offset: 5px; }
  .nav a.nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
  .page-hero { padding-bottom: 64px; }
  .sec { padding-bottom: 72px; }
  .sec-first { padding-top: 72px; }
  .terms { grid-template-columns: 1fr; row-gap: 40px; }
  .rows li, .rows-num li { grid-template-columns: 1fr; gap: 4px; }
  .rows-num li::before { margin-bottom: 8px; }
  .tiles, .tiles-wide { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile-initials { font-size: 64px; }
  .tile-open .tile-ph span { font-size: 28px; }
  .profile-photo { grid-column: 1 / 8; }
  .profile-copy { grid-column: 1 / -1; padding: 32px 0 48px; }
  .profile-row { margin-top: 28px; }
  .stats { grid-template-columns: 1fr; row-gap: 28px; }
  .previews { grid-template-columns: 1fr 1fr; gap: 12px; }
  .row-2 { grid-template-columns: 1fr; }
  .foot-about, .foot-links { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
