/* THE GREY AREA — Black Friday Edition 2026
   Open-call landing · v1 */

/* Fonts: Moderat (licensed web files) · Bodoni 72 on Apple devices, Bodoni Moda elsewhere */
@font-face { font-family: "Moderat"; src: url("/the-grey-area/assets/fonts/Moderat-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Moderat"; src: url("/the-grey-area/assets/fonts/Moderat-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Moderat"; src: url("/the-grey-area/assets/fonts/Moderat-Medium.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }

:root {
  --ink: #0e0e0e;
  --charcoal: #2b2b2b;
  --graphite: #474747;
  --slate: #5e6164;
  --smoke: #7f7f7c;
  --stone: #9a9893;
  --ash: #b2b2ae;
  --pebble: #c4c2bc;
  --fog: #d9d9d6;
  --paper: #f4f3f0;

  --serif: "Bodoni 72", "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Moderat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--stone); color: var(--ink); }

/* Film grain overlay */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  mix-blend-mode: difference;
  color: #fff;
}
.topbar a { text-decoration: none; }
.topbar .brand { font-weight: 600; }
.topbar .brand { display: inline-flex; align-items: baseline; gap: 0; white-space: nowrap; }
.topbar .brand__by { display: inline-flex; align-items: baseline; font-weight: 400; text-decoration: none; }
.topbar .brand__by:hover { opacity: .7; }
.topbar .brand__by > :not(svg) { opacity: .8; }
.topbar .bcome-logo { height: 10px; width: auto; display: block; margin-left: 2px; }
@media (max-width: 600px) {
  .topbar { align-items: flex-start; }
  .topbar .brand { flex-direction: column; align-items: flex-start; gap: 5px; }
  .topbar .brand__by { margin-left: -.3em; }
  .topbar .brand__comma { display: none; }
  .topbar .brand__by { font-size: 10px; letter-spacing: .12em; }
  .topbar .bcome-logo { height: 9px; }
  .topbar nav .join { display: none; }
}
.topbar nav { display: flex; gap: 22px; align-items: center; }
.topbar .lang a { opacity: .55; }
.topbar .lang a[aria-current="true"] { opacity: 1; }
.topbar .join { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 560px) { .topbar .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 0 56px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: -20%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at var(--mx, 70%) var(--my, 30%), rgba(154,152,147,.28), transparent 70%),
    radial-gradient(60% 60% at 15% 90%, rgba(94,97,100,.25), transparent 70%);
  transition: background-position .6s var(--ease);
}
.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 28px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 11.2vw, 188px);
  line-height: .8;
  letter-spacing: -.02em;
  margin: 0;
}
.hero h1 .line { display: block; white-space: nowrap; overflow: hidden; padding: .14em 0 .2em; margin: -.14em 0 -.2em; }
.hero h1.is-done .line { overflow: visible; }
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@media (max-width: 600px) { .hero h1 { font-size: 13.6vw; } }
@keyframes rise { to { transform: translateY(0); } }

/* "black & white" in a moving grey gradient */
.shade-text {
  display: inline;
  padding: .14em .05em .22em 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-style: normal;
  background: linear-gradient(100deg, var(--paper) 0%, var(--fog) 18%, var(--stone) 38%, var(--slate) 52%, var(--stone) 66%, var(--fog) 82%, var(--paper) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shade 9s linear infinite;
}
@keyframes shade { from { background-position: 0% 0; } to { background-position: -250% 0; } }

.hero__foot {
  margin-top: clamp(48px, 8vh, 88px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px; align-items: end;
}
.hero__sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 34ch;
  margin: 0;
  color: var(--fog);
}
.hero__sub em { font-family: var(--serif); font-size: 1.15em; color: var(--paper); }
.hero__sub { font-weight: 300; }
.hero__sub strong { font-family: var(--sans); font-weight: 500; color: var(--paper); }
.hero__cta { justify-self: end; text-align: right; }
.small-print {
  margin: 14px 0 0;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--smoke);
}
.small-print b { color: var(--ash); font-weight: 500; }
@media (max-width: 760px) {
  .hero__foot { grid-template-columns: 1fr; }
  .hero__cta { justify-self: start; text-align: left; }
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px;
  border: 1px solid var(--b);
  border-radius: 0;
  color: var(--b);
  text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--b);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--dark { --b: var(--ink); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--paper); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid rgba(244,243,240,.14);
  border-bottom: 1px solid rgba(244,243,240,.14);
  background: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 40px);
  padding: 0 .55em;
}
.marquee span:nth-child(8n+1) { color: var(--paper); }
.marquee span:nth-child(8n+2) { color: var(--ash); }
.marquee span:nth-child(8n+3) { color: var(--stone); font-style: normal; }
.marquee span:nth-child(8n+4) { color: var(--fog); }
.marquee span:nth-child(8n+5) { color: var(--smoke); }
.marquee span:nth-child(8n+6) { color: var(--pebble); font-style: normal; }
.marquee span:nth-child(8n+7) { color: var(--slate); }
.marquee span:nth-child(8n+8) { color: var(--paper); }
.marquee i { font-style: normal; color: var(--graphite); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
main > section + section { margin-top: -1px; } /* hides sub-pixel seams between gradients */
.sec { padding: clamp(88px, 14vh, 160px) 0; }
.sec__label {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 36px;
  opacity: .7;
}
.sec__label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0 0 40px;
  max-width: 16ch;
}
.sec h2 em { font-style: normal; }
.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 40ch; }
.prose p { max-width: 58ch; margin: 0 0 1.1em; }

/* The page "descends" through the greys, section by section */
.s-idea     { background: linear-gradient(var(--ink), var(--charcoal) 35%, var(--graphite) 68%, var(--slate) 84%, var(--stone) 100%); color: var(--paper); }
.s-approach { background: linear-gradient(var(--charcoal), var(--graphite) 40%); color: var(--paper); }
.s-get      { background: linear-gradient(var(--graphite), var(--stone) 45%); color: var(--ink); }
.s-how      { background: linear-gradient(var(--stone), var(--fog) 45%); color: var(--ink); }
.s-join     { background: linear-gradient(var(--fog), var(--paper) 35%); color: var(--ink); }
.s-faq      { background: var(--paper); color: var(--ink); }
.s-final    { background: linear-gradient(var(--paper), var(--stone) 10%, var(--graphite) 24%, var(--ink) 48%); color: var(--paper); }

/* Idea */
.idea-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.idea-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  margin: 0;
  color: var(--fog);
}
.idea-quote .num {
  display: inline-block; font-style: normal; color: var(--paper);
  min-width: 2.2ch;
}
@media (max-width: 860px) { .idea-grid { grid-template-columns: 1fr; } }

/* Approaches */
.approaches { list-style: none; margin: 0 0 48px; padding: 0; border-top: 1px solid rgba(244,243,240,.2); }
.approaches li {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid rgba(244,243,240,.2);
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.05;
  overflow: hidden;
}
.approaches li small {
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--ash);
}
.approaches li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  background: var(--shade);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
  z-index: -1;
}
.approaches li { isolation: isolate; transition: color .4s var(--ease), padding-left .6s var(--ease); }
.approaches li:hover { padding-left: 18px; }
.approaches li:hover::after { transform: scaleY(1); }
.approaches li:nth-child(1) { --shade: var(--slate); }
.approaches li:nth-child(2) { --shade: var(--charcoal); }
.approaches li:nth-child(3) { --shade: var(--smoke); }
.approaches li:nth-child(4) { --shade: var(--ink); }
.note { font-size: clamp(18px, 1.5vw, 21px); max-width: 44ch; color: var(--fog); }
@media (max-width: 600px) {
  .approaches li { grid-template-columns: 28px minmax(0, 1fr); padding: 20px 0; }
  .approaches li:hover { padding-left: 0; }
}

/* What you get */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 48px; }
.card {
  background: rgba(244,243,240,.82);
  border-radius: 18px;
  padding: 26px 22px 30px;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.card:hover { transform: translateY(-6px) rotate(-.6deg); background: var(--paper); }
.card .idx { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--stone); }
.card h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; font-weight: 600; }
.card p { margin: 0; font-size: 15px; color: var(--graphite); }
.honest {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  max-width: 30ch;
  margin: 0;
}
.honest span { display: block; font-family: var(--sans); font-size: 15px; line-height: 1.5; margin-top: 18px; color: var(--charcoal); max-width: 52ch; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; gap: 28px; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(14,14,14,.25); }
.steps li { padding: 28px 24px 8px 0; border-right: 1px solid rgba(14,14,14,.15); }
.steps li + li { padding-left: 24px; }
.steps li:last-child { border-right: 0; }
.steps .n { font-family: var(--serif); font-size: 64px; line-height: 1; display: block; margin-bottom: 18px; color: var(--slate); }
.steps h3 { font-size: 19px; margin: 0 0 8px; font-weight: 600; }
.steps p { margin: 0; font-size: 15.5px; color: var(--charcoal); }
.steps strong { color: var(--ink); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { border-right: 0; padding: 28px 16px 28px 0; border-bottom: 1px solid rgba(14,14,14,.15); }
  .steps li + li { padding-left: 0; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Countdown chip */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid currentColor; border-radius: 0;
  padding: 8px 14px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Join / form ---------- */
.join-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.join-aside { position: sticky; top: 96px; }
.join-aside h2 { font-size: clamp(44px, 6vw, 88px); }
.join-aside .lede { margin-bottom: 28px; }
.form-card {
  background: #fff;
  border-radius: 0;
  padding: clamp(22px, 3.4vw, 44px);
  box-shadow: 0 30px 80px -40px rgba(14,14,14,.35);
  min-height: 420px;
}
.form-loading { color: var(--smoke); font-size: 14px; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } .join-aside { position: static; } }

/* HubSpot form skin (legacy/v2 markup) */
.form-card .hs-form fieldset { max-width: none !important; }
.form-card .hs-form .hs-form-field { margin-bottom: 22px; }
.form-card .hs-form label:not(.hs-form-booleancheckbox-display):not(.hs-form-checkbox-display) {
  display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px;
}
.form-card .hs-form .hs-field-desc { font-size: 13px; color: var(--smoke); margin: 0 0 8px; }
.form-card .hs-form .hs-form-required { color: var(--slate); margin-left: 2px; }
.form-card .hs-form input.hs-input:not([type=checkbox]):not([type=radio]),
.form-card .hs-form textarea.hs-input,
.form-card .hs-form select.hs-input {
  width: 100% !important;
  font: inherit; font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--ash);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .3s, background .3s;
}
.form-card .hs-form textarea.hs-input { min-height: 130px; resize: vertical; }
.form-card .hs-form .hs-input:focus { outline: none; background: #fff; border-color: var(--ink); }
.form-card .hs-form .inputs-list { list-style: none; padding: 0; margin: 6px 0 0; }
.form-card .hs-form .inputs-list li { margin: 0 0 8px; }
.form-card .hs-form .inputs-list label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; cursor: pointer; }
.form-card .hs-form input[type=checkbox] { accent-color: var(--ink); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form-card .hs-form .legal-consent-container { font-size: 13.5px; color: var(--graphite); }
.form-card .hs-form .legal-consent-container p { margin: 0 0 10px; }
.form-card .hs-form .hs-error-msgs { list-style: none; padding: 0; margin: 6px 0 0; }
.form-card .hs-form .hs-error-msg, .form-card .hs-form .hs-error-msgs label { color: #8a2c22 !important; font-size: 13px !important; font-weight: 500 !important; }
.form-card .hs-form .hs-button {
  appearance: none; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 500;
  color: var(--paper); background: var(--ink);
  border: 0; border-radius: 0;
  padding: 17px 30px; margin-top: 10px;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.form-card .hs-form .hs-button:hover { background: var(--graphite); transform: translateY(-2px); }
.form-card .submitted-message { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.form-card .submitted-message p { margin: 0 0 .6em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(14,14,14,.2); max-width: 900px; }
.faq details { border-bottom: 1px solid rgba(14,14,14,.2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--serif); font-size: 34px; line-height: 1;
  transition: transform .4s var(--ease);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { overflow: hidden; }
.faq .ans p { margin: 0 0 24px; max-width: 64ch; color: var(--graphite); }

/* ---------- Final CTA & footer ---------- */
.s-final { text-align: center; padding: clamp(200px, 32vh, 320px) 0 80px; }
.s-final h2 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.015em; margin: 0 auto 24px; max-width: 14ch; font-size: clamp(48px, 8vw, 128px); }
.s-final p { color: var(--ash); margin: 0 auto 40px; max-width: 40ch; font-size: 19px; }
.footer {
  margin-top: clamp(96px, 16vh, 180px);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--smoke);
  text-align: left;
  padding-top: 24px;
  border-top: 1px solid rgba(244,243,240,.14);
}
.footer a { text-decoration: none; border-bottom: 1px solid rgba(244,243,240,.3); }
.footer__sig { display: inline-flex; align-items: baseline; flex-wrap: wrap; }
.footer .footer__bcome { display: inline-flex; align-items: baseline; border-bottom: 0; }
.footer .footer__bcome:hover { opacity: .7; }
.footer .bcome-logo { height: 10px; width: auto; display: block; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Serif is always upright (Bodoni, never italic) */
em, i, .shade-text, .hero__sub em { font-style: normal; }
h1 em, h2 em, h3 em { font-style: normal; }

/* "una iniciativa de" / "an initiative by" in sentence case */
.topbar .brand__by, .footer .lc { text-transform: none; letter-spacing: .01em; font-size: 13px; }
@media (max-width: 600px) { .topbar .brand__by { font-size: 12px; } }
