/* SolarBear site styles, shared by every page */
:root {
  --ink: #15151e;
  --ink-2: #1e1e29;
  --ink-line: #2e2e3c;
  --paper: #ffffff;
  --paper-2: #f3f3f5;
  --line: #dfdfe4;
  --text-dark: #15151e;
  --muted-dark: #5d5d68;
  --text-light: #ffffff;
  --muted-light: #a9a9b6;
  --accent: #ff5900;
  --accent-dark: #e04e00;
  --blue: #007dc7;
  --font: "Archivo", system-ui, -apple-system, sans-serif;
  --wrap: 1320px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
section { scroll-margin-top: 76px; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* Type: one family, heavy and wide for headlines */
.display, h1, h2 {
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
}
h3 { font-weight: 800; font-stretch: 110%; line-height: 1.1; }
.label {
  font-size: 13px;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* The F1-style corner rule on section headings */
.title-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 20px 24px 0 0;
  margin-bottom: 40px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  border-top-right-radius: 20px;
}
.title-row h2 { font-size: clamp(34px, 5vw, 64px); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-size: 14px; font-weight: 800; font-stretch: 110%;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }

/* Header */
header {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 54px; width: auto; }
nav { display: flex; align-items: center; gap: 34px; }
nav a { text-decoration: none; font-weight: 700; font-size: 15px; transition: color .2s; }
nav a:hover { color: var(--accent); }
nav .btn { padding: 11px 18px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(21,21,30,.55) 40%, rgba(21,21,30,.15) 70%),
    linear-gradient(to right, rgba(21,21,30,.85), rgba(21,21,30,0) 65%);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
  padding: 120px 0 72px;
}
.chip {
  display: inline-block;
  padding: 7px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(21,21,30,.7);
}
/* sized so the longest word (ADVENTURES.) fits beside the Latest film card */
.hero h1 { font-size: clamp(44px, calc(8.6vw - 24px), 108px); margin: 22px 0 26px; }
.hero h1 span { color: var(--accent); }
.hero p { max-width: 560px; font-size: 19px; color: #e4e4ea; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.now-showing {
  width: 340px;
  background: rgba(21,21,30,.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  border-top-right-radius: 16px;
  padding: 16px;
  text-align: left; cursor: pointer; border-left: 0; border-bottom: 0;
}
.now-showing img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin: 10px 0 12px; }
.now-showing h3 { font-size: 19px; }
.now-showing .label { color: var(--accent); }
.now-showing:hover h3 { text-decoration: underline; }

/* Films carousel */
.films { padding: 96px 0 104px; }
.carousel-nav { display: flex; gap: 10px; }
.arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--ink-line); background: transparent;
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.arrow:hover { border-color: var(--accent); background: var(--accent); }
.arrow svg { width: 18px; height: 18px; }
.track {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.track::-webkit-scrollbar { display: none; }
.film-card { flex: 0 0 min(400px, 82%); scroll-snap-align: start; }
.thumb {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden;
  border: 0; padding: 0; cursor: pointer;
  background: #000; border-radius: 8px;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.thumb:hover img { transform: scale(1.04); }
.thumb .play {
  position: absolute; left: 14px; bottom: 14px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
}
.thumb .play svg { width: 16px; margin-left: 3px; fill: #fff; }
.thumb .dur {
  position: absolute; right: 12px; bottom: 14px;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(0,0,0,.75); color: #fff;
  font-size: 13px; font-weight: 700;
}
.film-card .label { color: var(--accent); display: block; margin: 18px 0 8px; }
.film-card h3 { font-size: 22px; }
.film-card p { color: var(--muted-light); font-size: 15px; margin-top: 8px; }

/* Series numbers strip */
.series { --rule: rgba(255,255,255,.28); background: var(--blue); padding: 88px 0; }
.series-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.series-head h2 { font-size: clamp(34px, 5vw, 64px); }
.series-head p { color: rgba(255,255,255,.88); font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid #fff; }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--rule); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat .num { font-weight: 900; font-stretch: 120%; font-size: clamp(42px, 5.4vw, 76px); line-height: 1; }
.stat .num small { font-size: .32em; font-weight: 800; margin-left: 6px; letter-spacing: .04em; }
.stat:last-child .num { color: var(--ink); }
.stat .num.word { text-transform: uppercase; font-size: clamp(30px, 4.2vw, 60px); padding-top: .12em; }
.stat .label { display: block; margin-top: 14px; color: rgba(255,255,255,.8); }

/* About */
.about { padding: 104px 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about p { color: #dcdce4; font-size: 19px; max-width: 46ch; }
.about p + p { margin-top: 16px; }
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; border-radius: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink-line); }
.fact .num { font-weight: 900; font-stretch: 120%; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--accent); }
.fact .label { display: block; margin-top: 12px; color: var(--muted-light); }

/* Light sections */
.light { background: var(--paper); color: var(--text-dark); }
.light-2 { background: var(--paper-2); color: var(--text-dark); }
.approach, .services { padding: 104px 0; }
.lead { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.3; max-width: 38ch; margin-bottom: 64px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { border-top: 2px solid var(--text-dark); padding-top: 24px; }
.pillar .num { font-weight: 900; font-stretch: 120%; font-size: 40px; color: var(--accent); line-height: 1; }
.pillar h3 { font-size: 24px; text-transform: uppercase; margin: 18px 0 12px; }
.pillar p { color: var(--muted-dark); }

.service-list { border-top: 2px solid var(--text-dark); }
.service {
  display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 40px; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.service h3 { font-size: clamp(24px, 2.8vw, 38px); text-transform: uppercase; font-stretch: 118%; }
.service p { color: var(--muted-dark); font-size: 18px; }

/* Contact */
.contact { background: var(--accent); color: var(--ink); padding: 112px 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.contact h2 { font-size: clamp(40px, 6.2vw, 92px); max-width: 15ch; margin: 18px 0 20px; }
.contact-sub { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; margin-bottom: 36px; }
.contact .row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.contact a.email { font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2.6vw, 32px); text-decoration: none; border-bottom: 3px solid var(--ink); }
.contact-logo { width: clamp(200px, 24vw, 320px); height: auto; }

footer { padding: 36px 0; font-size: 14px; color: var(--muted-light); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer img { height: 38px; width: auto; }

/* Video lightbox */
dialog {
  width: min(1200px, 94vw); max-width: none;
  margin: auto; border: 0; padding: 0; background: #000;
  border-radius: 8px; overflow: visible;
}
dialog::backdrop { background: rgba(10,10,15,.88); }
.frame { position: relative; aspect-ratio: 16 / 9; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.close {
  position: absolute; right: 0; top: -54px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: #fff;
}
.close:hover { border-color: #fff; }

@media (max-width: 960px) {
  nav a:not(.btn) { display: none; }
  /* On narrow screens the photo sits above the headline instead of behind it */
  .hero { display: block; min-height: 0; }
  .hero-img { position: relative; height: 54svh; }
  .hero::after { inset: 0 0 auto 0; height: 54svh; background: linear-gradient(to top, var(--ink) 0%, rgba(21,21,30,0) 40%); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding: 0 0 56px; margin-top: -72px; }
  .hero h1 { font-size: clamp(32px, 10vw, 84px); }
  .now-showing { width: 100%; max-width: 420px; }
  .series-head, .pillars, .service, .about .wrap { grid-template-columns: 1fr; gap: 20px; }
  .about { padding: 72px 0; }
  .about-img { margin-top: 20px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat .num { font-size: clamp(30px, 9vw, 56px); }
  .stat .num.word { font-size: clamp(24px, 7vw, 44px); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ink-line); margin-top: 28px; }
  .stat:nth-child(3) { padding-left: 0; }
  .films, .approach, .services, .series { padding: 72px 0; }
  .contact .wrap { grid-template-columns: 1fr; }
  .contact-logo { width: 180px; order: -1; }
  .pillars { gap: 36px; }
}
@media (max-width: 520px) {
  .brand img { height: 42px; }
  nav .btn { padding: 9px 12px; font-size: 12px; }
  .title-row { padding-right: 16px; }
}

/* Who we work with */
.who { padding: 104px 0; }
.who-lead { color: #dcdce4; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.3; max-width: 40ch; margin-bottom: 48px; }
.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.who-card {
  background: var(--ink-2); padding: 28px 24px 32px;
  border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); border-top-right-radius: 16px;
}
.who-card .num { font-weight: 900; font-stretch: 120%; font-size: 28px; color: var(--accent); }
.who-card h3 { font-size: 22px; font-stretch: 118%; text-transform: uppercase; margin: 16px 0 10px; }
.who-card p { color: var(--muted-light); font-size: 16px; }

/* FAQ */
.faq { padding: 104px 0; }
.faq-list { border-top: 2px solid var(--text-dark); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-weight: 800; font-stretch: 112%; font-size: clamp(19px, 2vw, 24px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 32px; font-weight: 700; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-dark); }
.faq details p { color: var(--muted-dark); font-size: 18px; max-width: 70ch; margin-top: -6px; padding-bottom: 28px; }
.faq details p a { color: var(--blue); font-weight: 600; }

/* Blog teaser on the homepage */
.blog-band { background: var(--blue); padding: 88px 0; }
.blog-band .title-row { border-color: #fff; }
.blog-band .title-row a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.blog-band .title-row a:hover { text-decoration: underline; }
.feature-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; text-decoration: none; }
.feature-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.feature-post h3 { font-size: clamp(30px, 3.6vw, 50px); font-stretch: 118%; text-transform: uppercase; line-height: .95; margin: 14px 0 16px; }
.feature-post p { color: rgba(255,255,255,.9); font-size: 18px; }
.feature-post .btn { margin-top: 28px; }
.feature-post:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; }

/* Blog index */
.page-hero { padding: 96px 0 72px; }
.page-hero h1 { font-size: clamp(56px, 9vw, 128px); }
.page-hero p { color: var(--muted-light); font-size: 19px; max-width: 560px; margin-top: 22px; }
.post-list { padding: 80px 0 104px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-card { display: block; text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.post-card .label { display: block; color: var(--accent); margin: 18px 0 8px; }
.post-card h2 { font-size: 28px; line-height: 1; }
.post-card p { color: var(--muted-dark); font-size: 16px; margin-top: 12px; }
.post-card .meta { color: var(--muted-dark); font-size: 13px; margin-top: 12px; }
.post-card:hover h2 { text-decoration: underline; }

/* Blog post */
.crumbs { font-size: 14px; color: var(--muted-light); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.article-hero { padding: 72px 0 0; }
.article-hero .chip { margin-top: 28px; }
.article-hero h1 { font-size: clamp(44px, 7.2vw, 104px); max-width: 14ch; margin: 18px 0 22px; }
.dek { font-size: clamp(19px, 2vw, 23px); color: #e4e4ea; max-width: 46ch; }
.article-meta { margin-top: 22px; color: var(--muted-light); font-size: 14px; }
.article-cover { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 8px 8px 0 0; margin-top: 48px; }
.article { background: var(--paper); color: var(--text-dark); padding: 72px 0 88px; }
.prose { width: min(720px, 100% - 40px); margin-inline: auto; font-size: 19px; line-height: 1.7; }
.prose p + p { margin-top: 20px; }
.prose .label { display: block; color: var(--accent); margin: 64px 0 10px; }
.prose > .label:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 20px; }
.prose figure { margin: 0; }
.prose .thumb { margin: 28px 0 10px; }
.prose figcaption { font-size: 14px; color: var(--muted-dark); }
.prose blockquote {
  margin: 32px 0; padding-left: 20px;
  border-left: 4px solid var(--accent);
  font-weight: 800; font-stretch: 112%; font-size: 26px; line-height: 1.15; text-transform: uppercase;
}
.stats-band { padding: 64px 0 72px; }
.prose a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.prose figure > img { width: 100%; border-radius: 8px; margin: 28px 0 10px; }

/* Partner call-to-action band (blog posts about organizations) */
.partner-band { background: var(--blue); padding: 80px 0 88px; }
.partner-band h2 { font-size: clamp(34px, 5vw, 64px); max-width: 16ch; margin: 14px 0 18px; }
.partner-band p { font-size: 19px; color: rgba(255,255,255,.9); max-width: 50ch; }
.partner-band .actions { margin-top: 30px; }

@media (max-width: 960px) {
  .feature-post, .post-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .blog-band, .post-list, .partner-band { padding: 72px 0; }
  .who, .faq { padding: 72px 0; }
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { padding: 64px 0 48px; }
  .article-hero { padding-top: 48px; }
  .article-cover { aspect-ratio: 16 / 9; }
  .article { padding: 48px 0 64px; }
  .prose { font-size: 18px; }
}
@media (max-width: 520px) {
  .who-grid { grid-template-columns: minmax(0, 1fr); }
}
