/* Sector pages (streamers.html and the five to come): same fonts, palette, nav, buttons and footer as index.html, in a plain
   reading layout. One photo (the sector's still from the home grid) behind the title; everything after it is type on a flat ground.
   The nav, button and footer rules are copied from index.html: change them there and here together. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(fonts/fraunces.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122; }

:root {
  color-scheme: dark;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, .72);
  --ink-3: rgba(255, 255, 255, .52);
  --dim: rgba(255, 255, 255, .6);
  --glass: rgba(10, 10, 10, .7);
  --glass-blur: blur(7px);
  --line: rgba(255, 255, 255, .1);
  --charcoal: #131315;
  --night: #070708;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --quint: cubic-bezier(.22, 1, .36, 1);
  --quart: cubic-bezier(.25, 1, .5, 1);
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
}
[hidden] { display: none !important; }
html, body { background: var(--charcoal); color: var(--ink); }
body { margin: 0; font-family: var(--sans); font-size: 15px; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 10px; }

/* ================= nav (copied from index.html) ================= */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; pointer-events: none; padding-top: calc(15px + env(safe-area-inset-top, 0px)); }
.nav-in { position: relative; box-sizing: border-box; pointer-events: auto; margin: 0 auto; width: min(1064px, calc(100% - 32px)); height: 50px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px; transition: width .7s var(--quart) .03s, padding .7s var(--quart) .03s; }
.nav-bg { position: absolute; inset: 0; border-radius: 25px; background: rgba(8,8,9,0);
  transition: background .7s var(--quart) .03s, -webkit-backdrop-filter .7s var(--quart) .03s, backdrop-filter .7s var(--quart) .03s; }
.nav.scrolled .nav-in { width: min(724px, calc(100% - 32px)); padding: 0 11px 0 16px; }
.nav.scrolled .nav-bg { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.logo { position: relative; display: inline-flex; align-items: center; height: 40px; }
.logo svg { width: 26px; height: 26px; }
.links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; }
.trg { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font-size: 14px; font-weight: 400; color: var(--ink); white-space: nowrap; transition: color .2s ease; }
.nav.menu-open .trg:not(.active) { color: var(--dim); }
.nav.menu-open .trg:not(.active):hover { color: var(--ink); }
.trg svg { width: 9px; height: 9px; transition: transform .35s var(--quint); }
.trg.active svg { transform: rotate(180deg); }
.right { display: flex; align-items: center; gap: 8px; }
.contact { position: relative; display: inline-flex; align-items: center; height: 29px; padding: 0 12px; border-radius: 15px; background: #fff; color: #111;
  font-size: 13px; font-weight: 500; white-space: nowrap; }
.lang { position: relative; display: inline-flex; align-items: center; height: 29px; padding: 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: color .2s ease; }   /* switch to the other language */
.lang:hover, .lang:focus-visible { color: #fff; }
.burger { display: none; position: relative; width: 34px; height: 34px; border-radius: 17px; border: 0; cursor: pointer; background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 10px; width: 14px; height: 1.5px; border-radius: 1px; background: #fff;
  transition: transform .35s var(--quint), top .35s var(--quint); }
.burger i::before { top: 13.5px; } .burger i::after { top: 19px; }
.nav.mopen .burger i::before { top: 16.25px; transform: rotate(45deg); }
.nav.mopen .burger i::after { top: 16.25px; transform: rotate(-45deg); }
.drop { position: absolute; top: calc(100% + 4px); left: 0; width: 100%; height: 0; pointer-events: none; }
.drop-box { position: absolute; top: 0; left: 0; width: 300px; height: 200px; border-radius: 14px; overflow: hidden;
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); opacity: 0;
  transition: opacity .15s linear, left .35s var(--quint), width .35s var(--quint), height .35s var(--quint); }
.drop-box { visibility: hidden; }
.drop.open .drop-box { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .1s linear, left .35s var(--quint), width .35s var(--quint), height .35s var(--quint); }
.pg:not(.on) { visibility: hidden; }
.drop.instant .drop-box { transition: opacity .1s linear; }
.drop-inner { position: absolute; top: 0; left: 0; transition: transform .35s var(--quint); }
.drop.instant .drop-inner { transition: none; }
.pg { position: absolute; top: 0; opacity: 0; pointer-events: none; transition: opacity .1s linear; }
.pg.on { opacity: 1; pointer-events: auto; transition: opacity .16s linear .03s; }
.it { display: block; padding: 12px; border-radius: 10px; transition: background .2s ease; }
.it:hover, .it:focus-visible { background: rgba(255,255,255,.08); }
.it b { display: block; font-size: 15px; font-weight: 500; line-height: 20px; color: var(--ink); }
.it span { display: block; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.pg-set { width: 235px; padding: 4px; }
.pg-set .it { padding: 13px 12px; font-size: 15px; line-height: 20.7px; }
.pg-how { width: 340px; padding: 4px; }
.pg-how .it span { text-wrap: balance; }
.mpanel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; padding: 4px; border-radius: 14px; background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s linear, transform .35s var(--quint); }
.mpanel { visibility: hidden; }
.nav.mopen .mpanel { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 901px) { .mpanel { display: none; } }
.mpanel a { display: block; padding: 13px 12px; border-radius: 10px; font-size: 15px; line-height: 20px; }
.mpanel a:hover { background: rgba(255,255,255,.08); }

/* ================= buttons (copied from index.html) ================= */
.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 22px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.btn-white { background: #fff; color: #111; }
.btn-glass { position: relative; background: var(--glass); color: #fff; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.btn, .contact { transition: transform .16s cubic-bezier(.23,1,.32,1); }
@media (hover: hover) { .btn:hover, .contact:hover { transform: translateY(-1px); } }
.btn:active, .contact:active { transform: scale(.97); transition-duration: .1s; }
.btn:focus-visible, .contact:focus-visible { transform: none; }

/* ================= page ================= */
main { position: relative; z-index: 1; }
.wrap { box-sizing: border-box; max-width: 1072px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
h1, h2 { font-family: var(--display); font-optical-sizing: auto; font-variation-settings: 'SOFT' 0, 'WONK' 0; font-weight: 400; }

/* title over the sector photo; the photo fades into the page ground */
.s-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(560px, 84vh, 760px); overflow: hidden; background: #0c0c0e; }
.s-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.s-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(19,19,21,.62) 0%, rgba(19,19,21,.34) 26%, rgba(19,19,21,.66) 58%, rgba(19,19,21,.94) 86%, #131315 100%); }
/* a busier photo (the phone rack on the About page): darker on the side where the text sits */
.s-hero.dim::after { background: linear-gradient(90deg, rgba(19,19,21,.78) 0%, rgba(19,19,21,.5) 45%, rgba(19,19,21,.08) 100%),
  linear-gradient(180deg, rgba(19,19,21,.62) 0%, rgba(19,19,21,.34) 26%, rgba(19,19,21,.66) 58%, rgba(19,19,21,.94) 86%, #131315 100%); }
.s-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 64px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.crumb li + li::before { content: "/"; margin-right: 8px; color: var(--ink-3); }
.crumb a:hover { color: #fff; }
.crumb [aria-current] { color: #fff; }
h1 { margin: 0; max-width: 820px; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; animation: rise 1s var(--quint) .1s both; }
.sub { margin: 20px 0 0; max-width: 580px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.82); text-wrap: pretty; animation: rise 1s var(--quint) .2s both; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; animation: rise 1s var(--quint) .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
/* guides (guias/, en/guides/): a longer title than a sector page, and who wrote it and when under the opening answer */
.guide h1 { max-width: 900px; font-size: clamp(34px, 4.3vw, 62px); line-height: 1.06; }
.guide .sub { max-width: 640px; }
.byline { margin: 22px 0 0; font-size: 13px; color: var(--ink-2); animation: rise 1s var(--quint) .3s both; }

/* sections: heading on the left, text on the right, a hairline between sections */
.sec { padding: 0 0 96px; }
.sec .wrap > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-top: 72px; border-top: 1px solid var(--line); }
.s-hero + .sec .wrap > div { border-top: 0; padding-top: 56px; }
.sec h2 { margin: 0; max-width: 400px; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.body > p { margin: 0; max-width: 600px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.body > p + p { margin-top: 16px; }
.body a:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.body a:not(.btn):hover { text-decoration-color: #fff; }
/* a short list of named things: steps, formats */
.rows { margin: 32px 0 0; padding: 0; list-style: none; max-width: 600px; }
.rows li { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.rows li:last-child { padding-bottom: 0; }
.rows.first { margin-top: 0; }   /* a list that opens the section, with no paragraph before it */
.rows.first li:first-child { border-top: 0; padding-top: 4px; }
.body > .rows + p { margin-top: 28px; }
.rows b { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -.015em; color: #fff; }
.rows span { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
/* questions and answers, all visible */
.faq { max-width: 600px; }
.faq > div { padding: 22px 0; border-top: 1px solid var(--line); }
.faq > div:first-child { padding-top: 0; border-top: 0; }
.faq h3 { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.4; color: #fff; }
.faq p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ================= closing call and footer (copied from index.html) =================
   The closing call is a full-screen block that sticks to the top while the page scrolls; the glass panel then slides up over
   it. As the panel rises the closing call fades, lifts and softens (--fo, 0..1, set by setor.js). */
.foot { position: relative; z-index: 1; overflow: clip; background: var(--night); }
.prefoot { --fo: 0; position: sticky; top: 0; height: 100vh; height: 100svh; box-sizing: border-box; padding: 0 var(--gut-r) 0 var(--gut-l);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; }
.prefoot h2 { margin: 0; max-width: 900px; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -.012em; text-wrap: balance; }
.prefoot p { margin: 0; max-width: 440px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.prefoot .btn { margin-top: 6px; }
.prefoot .more { font-size: 14px; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.prefoot .more:hover { color: #fff; }
.prefoot > * { opacity: calc(1 - var(--fo) * .92); transform: translateY(calc(var(--fo) * -56px)) scale(calc(1 - var(--fo) * .05));
  filter: blur(calc(var(--fo) * 8px)); will-change: opacity, transform; }
.foot-wrap { position: relative; padding: 0 22px; }
.foot-in { position: relative; box-sizing: border-box; min-height: 400px; padding: 34px; border-radius: 14px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-content: space-between;
  background: rgba(18,18,20,.62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.foot-logo { grid-column: 1 / span 2; display: inline-flex; height: 40px; align-items: flex-start; }
.foot-logo svg { width: 40px; height: 40px; }
.foot-cols { grid-column: 4 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; padding-top: 6px; }
.foot-cols .foot-h, .foot-contact .foot-h {   /* a label, not a heading */ margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.foot-cols ul { margin: 0; padding: 0; list-style: none; }
.foot-cols li { padding: 3px 0; }
.foot-cols a, .foot-contact a { display: inline-block; font-size: 15px; line-height: 20px; transition: opacity .5s cubic-bezier(.165,.84,.44,1), transform .5s cubic-bezier(.165,.84,.44,1); }
.foot-cols a:hover, .foot-contact a:hover { opacity: .6; transform: translateX(2px) scale(.99); }
.foot-contact { grid-column: 10 / span 3; padding-top: 6px; }
.foot-contact a { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.foot-end { display: flex; justify-content: space-between; gap: 16px; padding: 22px 22px 28px; font-size: 13px; color: var(--ink-3); }
.foot-end span:first-child, .foot-end span:last-child { color: var(--ink-2); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-legal a { color: var(--ink-3); transition: color .2s ease; }
.foot-legal a:hover, .foot-legal a:focus-visible { color: var(--ink); }

@media (max-width: 900px) {
  .links, .drop { display: none; }
  .burger { display: grid; }
  .nav-in { width: 100%; }
  .nav.scrolled .nav-in { width: calc(100% - 32px); }
  .s-hero { min-height: clamp(540px, 82vh, 680px); }
  .s-hero > img { object-position: 42% 35%; }
  .s-hero .wrap { padding-top: 120px; padding-bottom: 44px; }
  .sub { font-size: 16px; }
  .sec { padding-bottom: 68px; }
  .sec .wrap > div { grid-template-columns: 1fr; gap: 20px; padding-top: 52px; }
  .s-hero + .sec .wrap > div { padding-top: 36px; }
  .body > p { font-size: 16px; }
  .rows { margin-top: 24px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .foot-wrap { padding: 0 12px; }
  .foot-in { min-height: 0; padding: 24px; row-gap: 40px; grid-template-columns: 1fr; }
  .foot-logo, .foot-cols, .foot-contact { grid-column: 1; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .foot-end { flex-wrap: wrap; row-gap: 10px; }
  .foot-legal { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
