/* ==========================================================================
   Belief Production — single page
   Palette from the logo: white, black, blue (#0088C8 → #0066AC).
   Signature: the hand-drawn black loop from the logo frame.
   ========================================================================== */

/* ---------- Fonts (self-hosted Archivo, variable width + weight) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --ink: #000000;
  --text: #1d2125;
  --muted: #555c63;
  --blue: #0088c8;        /* logo blue, light end */
  --blue-deep: #0070b8;   /* logo blue, dark end — links, text on white */
  --blue-band: linear-gradient(165deg, #0088c8 0%, #0066ac 100%);
  --sky: #eaf5fc;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --header-h: 72px;

  --radius-img: 20px;
  --ease: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) {
  body { font-size: 1.125rem; }
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  color: var(--ink);
  font-stretch: 125%;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.75rem); }
h3 {
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.65rem);
  font-stretch: 118%;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
p { text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons & links ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: .5rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.text-link {
  color: var(--blue-deep);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
  transition: color .2s ease;
}
.text-link:hover { color: var(--ink); }

.text-lg {
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  flex: none;
  display: block;
  margin-right: auto;
  border-radius: 6px;
  transition: opacity .3s ease, visibility .3s ease;
}
.brand img { height: 50px; width: auto; }
.js .site-header:not(.show-brand) .brand { opacity: 0; visibility: hidden; }

.nav ul { display: flex; gap: .25rem; }
.nav a {
  display: block;
  padding: .5rem .8rem;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 600;
  font-stretch: 105%;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.nav a:hover { background: var(--sky); color: var(--blue-deep); }
.nav a[aria-current="true"] { color: var(--blue-deep); }

.lang {
  flex: none;
  display: inline-flex;
  padding: 3px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.lang button {
  min-width: 44px;
  height: 34px;
  padding: 0 .6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: .9rem;
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: .02em;
  transition: background-color .2s ease, color .2s ease;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button[aria-pressed="false"]:hover { background: var(--sky); }

.menu-toggle {
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  margin-right: -8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  place-items: center;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.menu-bars { position: relative; }
.menu-bars::before,
.menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; }
.menu-bars::after { top: 7px; }
.menu-open .menu-bars { background: transparent; }
.menu-open .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .header-inner { gap: .75rem; }
  .menu-toggle { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
  }
  .nav a {
    padding: .9rem 0;
    font-size: 1.5rem;
    font-weight: 800;
    font-stretch: 120%;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
  }
  .nav li:last-child a { border-bottom: 0; }
  .nav a:hover { background: transparent; }
  .brand img { height: 42px; }
}

/* ---------- Ink lines (the logo's loop, extended) ---------- */
.ink {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.ink path { stroke-width: 9; }
.js .ink path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.02;
  transition: stroke-dashoffset 1.9s var(--ease);
}
.js .ink.is-drawn path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .ink path { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(1.5rem, 5vw, 4.5rem);
}
.hero-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}
.hero-logo { max-width: 440px; margin-left: -2%; }
.hero-logo img { width: 100%; }
.hero h1 {
  font-size: clamp(2.6rem, 1.2rem + 6vw, 6rem);
  line-height: .96;
  letter-spacing: -0.025em;
  max-width: 11ch;
}
.hero-lead {
  max-width: 34ch;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem);
  line-height: 1.5;
  color: var(--text);
}
.hero .actions { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

.hero-ink {
  width: max(100%, 880px);
  height: auto;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: -6px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.js .hero-ink path { transition-delay: .35s; transition-duration: 2.2s; }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas: "copy logo";
    gap: clamp(2rem, 5vw, 5rem);
  }
  .hero-copy { grid-area: copy; }
  .hero-logo { grid-area: logo; max-width: 540px; margin-left: 0; justify-self: end; width: 100%; }
}

/* Page-load: the headline settles in, once. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: rise .9s var(--ease) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero-logo { animation: fade 1s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Blue bands (motto, contact) ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: #0070b8;
  background: var(--blue-band);
  color: #fff;
}
.band .loop {
  position: absolute;
  width: clamp(170px, 36vw, 500px);
  height: auto;
}
.band .loop path { stroke-width: 10; }
@media (max-width: 699px) {
  .band .loop { width: 210px; }
  .band .loop path { stroke-width: 17; }
  .hero-ink path { stroke-width: 12; }
}
.loop-tl { top: clamp(1.25rem, 3vw, 2.25rem); left: clamp(.5rem, 3vw, 3rem); }
.loop-br { bottom: clamp(1.25rem, 3vw, 2.25rem); right: clamp(.5rem, 3vw, 3rem); transform: rotate(180deg); }
.js .loop-br path { transition-delay: .5s; }

.motto { padding-block: clamp(6.5rem, 14vw, 11rem); }
.motto-quote { max-width: 1000px; }
.motto-text {
  color: #fff;
  font-size: clamp(2.1rem, .9rem + 5vw, 5.25rem);
  font-weight: 850;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.motto-sub {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 40ch;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem);
  font-weight: 550;
  line-height: 1.45;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--sky); }
.section-rule { border-top: 1px solid rgba(0, 0, 0, .08); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p {
  margin-top: 1.25rem;
  max-width: 56ch;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem);
  line-height: 1.5;
  color: var(--text);
}

/* About */
.about-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.about-copy > * + * { margin-top: 1.25rem; }
.about-copy h2 { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.about-copy p { max-width: 58ch; }
.statement {
  padding-left: 1.1rem;
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-size: clamp(1.2rem, 1.05rem + .55vw, 1.45rem);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.35;
}
.about-copy .text-link { display: inline-block; margin-top: .5rem; }

.stills {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 5 / 4;
  justify-self: center;
}
.still { position: absolute; overflow: hidden; border-radius: var(--radius-img); background: var(--sky); }
.still img { width: 100%; height: 100%; object-fit: cover; }
.still-a { top: 0; right: 0; width: 84%; aspect-ratio: 336 / 233; }
.still-b {
  left: 0; bottom: 0;
  width: 44%;
  aspect-ratio: 225 / 233;
  outline: 8px solid #fff;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stills { justify-self: end; }
}

/* Values */
.values-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.values-head p {
  margin-top: 1.25rem;
  max-width: 46ch;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.3rem);
  line-height: 1.55;
}
.value-list li {
  padding-block: clamp(1.5rem, 3vw, 2rem);
  border-top: 2px solid var(--ink);
}
.value-list li:last-child { padding-bottom: 0; }
.value-list p { margin-top: .65rem; max-width: 60ch; color: var(--text); }

@media (min-width: 900px) {
  .values-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .values-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Why film */
.why-grid {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem);
}
.why-item h3 {
  color: var(--blue-deep);
  font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem);
  font-stretch: 125%;
  font-weight: 850;
  line-height: 1.05;
}
.why-item p { margin-top: .9rem; max-width: 52ch; }
@media (min-width: 760px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Pricing — a real sequence, so numbered */
.steps {
  display: grid;
  gap: clamp(2rem, 4vw, 2.5rem);
  counter-reset: none;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.steps li { position: relative; }
.step-num {
  display: block;
  margin-bottom: .75rem;
  color: var(--blue);
  font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
}
.steps p { margin-top: .6rem; max-width: 38ch; }
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
}

/* Contact */
.contact { padding-block: var(--section-y) calc(var(--section-y) + clamp(3rem, 6vw, 5rem)); }
.contact h2 { color: #fff; max-width: 12ch; }
.contact .text-lg { color: #fff; margin-top: 1.25rem; }
.contact-grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.contact-email {
  display: inline-block;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  font-size: clamp(1.45rem, .7rem + 4vw, 3.25rem);
  font-weight: 850;
  font-stretch: 120%;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
  transition: text-decoration-color .2s ease;
}
.contact-email:hover { text-decoration-color: rgba(255, 255, 255, .45); }
.contact :focus-visible { outline-color: #fff; }

.card {
  background: #fff;
  color: var(--text);
  border-radius: 24px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 30px 60px -30px rgba(0, 30, 70, .55);
}
.card :focus-visible { outline-color: var(--blue); }
.card-logo { width: 190px; margin: -.5rem 0 1.25rem -.4rem; }
.card-name {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.2;
}
.card-role { color: var(--muted); margin-top: .2rem; }
.card-list { margin-top: 1.5rem; }
.card-list div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: .8rem;
  border-top: 1px solid rgba(0, 0, 0, .1);
}
.card-list dt { color: var(--muted); font-size: .95rem; }
.card-list dd { color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.card-list a { text-decoration: none; color: var(--blue-deep); }
.card-list a:hover { text-decoration: underline; text-underline-offset: .2em; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 5rem; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 2.25rem; border-top: 1px solid rgba(0, 0, 0, .08); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.footer-logo { width: 96px; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  color: var(--muted);
  font-size: .95rem;
}
.footer-top { margin-left: auto; font-size: .95rem; }
