/* Hartwell & Co, performance creative studio. One family (Archivo variable), the wordmark in Bodoni Moda. */
@import url("/sections/wear.css");
@import url("/sections/drop.css");
@import url("/sections/loop.css");

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/bodoni-moda-latin.woff2") format("woff2");
}

:root {
  --black: #000;
  --white: #fff;
  --text-2: rgba(255, 255, 255, 0.68);
  --text-3: rgba(255, 255, 255, 0.56);
  --line: rgba(255, 255, 255, 0.16);
  --cobalt: #1f3cff;
  --gutter: clamp(20px, 4vw, 64px);
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-ad: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; scrollbar-color: rgba(255, 255, 255, 0.28) var(--black); }
::selection { background: var(--cobalt); color: var(--white); }
.offer ::selection { background: var(--black); color: var(--white); }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.5;
  overflow-x: clip;
}
h1, h2 { -webkit-font-smoothing: antialiased; }

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
img, svg, canvas { display: block; max-width: 100%; }

h1, h2, h3 {
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 0.94;
  text-wrap: balance;
}
h2 { font-size: clamp(2.3rem, 5.2vw, 4.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.05; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.offer :focus-visible { outline-color: var(--black); }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; background: var(--white); color: var(--black);
  font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Header. Blends by difference so it reads on the white and cobalt sections too. */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px;
  padding: 18px max(var(--gutter), env(safe-area-inset-right)) 18px max(var(--gutter), env(safe-area-inset-left));
  pointer-events: none;
  color: var(--white);
  background: var(--black);
  transition: color 0.3s, background-color 0.3s;
}
.top > * { pointer-events: auto; }
.top--cobalt { background: var(--cobalt); }
.top--hero { background: transparent; }
.top--light { color: var(--black); background: var(--white); }
.top--light :focus-visible { outline-color: var(--black); }
.top--cobalt .motion, .top--cobalt .clock { opacity: 0.9; }
[tabindex="-1"]:focus-visible { outline: none; }
.top--light .wordmark, .top--light .clock, .top--light .motion, .top--light .top__cta { color: var(--black); }
.top--light .top__cta { border-color: var(--black); }
.top--light .top__cta:hover { background: var(--black); color: var(--white); }
.top .short { display: none; }
.wordmark {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--white);
}
.wordmark span { display: block; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.26em; margin-top: 2px; }
.wordmark:hover { opacity: 0.8; }
.top__meta { display: flex; align-items: center; gap: 18px; }
.clock {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--white); opacity: 0.7;
}
.motion {
  background: none; border: 0; padding: 6px 0; color: var(--white); opacity: 0.7;
  font-size: 0.8rem; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
.motion:hover { opacity: 1; }
.top__nav { display: flex; gap: 22px; font-size: 0.92rem; font-weight: 500; }
.top__nav a { text-decoration: none; opacity: 0.8; padding: 6px 0; }
.top__nav a:hover { opacity: 1; }
.top__cta {
  font-size: 0.92rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  padding: 10px 16px; border: 1px solid var(--white); border-radius: 999px; color: var(--white);
  transition: background-color 0.25s, color 0.25s, border-color 0.3s;
}
.top__cta:hover { background: var(--white); color: var(--black); }

/* Buttons. Pills, because they are the only round thing besides the ads. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--white); color: var(--black); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--big { min-height: 64px; padding: 0 36px; font-size: 1.15rem; }

/* Hero */
.hero {
  background: var(--black);
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 72px;
  isolation: isolate;
  overflow: hidden;
}
.hero__copy { position: relative; z-index: 2; width: min(56%, 820px); }
.hero h1 {
  font-size: clamp(3.6rem, 8.3vw, 9rem);
  font-weight: 820;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
}
.hero h1 .line { display: block; overflow: hidden; padding: 0.06em 0.05em 0.08em 0; margin-left: -0.05em; }
.hero h1 .w { display: inline-block; font-stretch: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .w { transform: translateY(112%); }
  .js .hero__actions, .js .hero__who, .js .stream { opacity: 0; }
}
.hero__lead { max-width: 29em; font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.42; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__who { margin-top: 26px; font-size: 0.92rem; color: var(--text-3); max-width: 30em; }

/* The stream: three columns of 9:16 ads, endlessly flowing. The only colour on the page. */
.stream {
  position: absolute; inset: 0 0 0 auto;
  width: min(52vw, 760px);
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 76px, #000 24%, #000 88%, transparent 100%), linear-gradient(to right, transparent 0, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, transparent 76px, #000 24%, #000 88%, transparent 100%), linear-gradient(to right, transparent 0, #000 22%);
  mask-composite: intersect;
}
.stream__cols {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 0 0 0 40px;
}
.stream__col { position: relative; will-change: transform; }
.stream__col:nth-child(2) { margin-top: -140px; }
.stream__col:nth-child(3) { margin-top: -60px; }
.stream__col .ad { margin-bottom: 16px; }
.stream__light {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0.95;
}

/* One ad: a hook, a caption strip, a progress bar. Tone comes from CSS variables set per frame. */
.ad {
  --a: #ff6a00; --b: #ff9a3c; --fg: #fff; --bar: rgba(255,255,255,0.9);
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: var(--radius-ad);
  overflow: hidden;
  background: linear-gradient(160deg, var(--a), var(--b));
  color: var(--fg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 10% 9% 9%;
}
.ad::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 30% 0%, rgba(255,255,255,0.22), transparent 60%);
}
.ad__top { display: flex; justify-content: space-between; font-size: clamp(0.75rem, 0.8vw, 0.82rem); font-weight: 600; letter-spacing: 0.02em; opacity: 0.85; }
.ad__hook {
  font-weight: 800; font-stretch: 96%;
  font-size: clamp(0.95rem, 1.55vw, 1.55rem);
  line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance;
  margin: auto 0 0.6em;
}
.ad__caption { display: block; }
.ad__caption span {
  display: inline; padding: 0.22em 0.5em;
  background: var(--fg); color: var(--a);
  font-weight: 600; font-size: clamp(0.75rem, 0.8vw, 0.82rem); line-height: 1.35;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ad__bar { position: absolute; left: 9%; right: 9%; bottom: 5%; height: 2px; background: rgba(0,0,0,0.18); border-radius: 2px; overflow: hidden; }
.ad__bar i { position: absolute; inset: 0; right: auto; width: var(--p, 40%); background: var(--bar); }

/* Section placeholders: builders own sections/*.css; these keep the copy readable before they land */
.wear, .drop, .loop { padding: 16vh var(--gutter); }
.wear__copy, .drop__line, .loop__copy { margin-top: 24px; max-width: 32em; color: var(--text-2); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.drop__line { color: var(--white); font-weight: 780; font-size: clamp(1.6rem, 3.2vw, 3rem); letter-spacing: -0.03em; line-height: 1; max-width: 16em; }
.loop { background: var(--cobalt); }
.loop .loop__copy { color: rgba(255,255,255,0.85); }
.loop__agencies-title { margin-top: 12vh; }
.loop .btn--solid { margin-top: 32px; background: var(--white); color: var(--cobalt); }

/* Offer: the one white section, like flipping to Ads Manager */
.offer { background: var(--white); color: var(--black); padding: 14vh var(--gutter); color-scheme: light; }
.offer__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: 6vh; }
/* The drops strip: one point for the pilot, then a weekly cadence that unrolls */
.drops { position: relative; margin: 0 0 7vh; padding-top: 22px; }
.drops__line { position: relative; height: 2px; background: rgba(0,0,0,0.12); }
.drops__fill { position: absolute; inset: 0; right: auto; width: 0; background: var(--black); }
.drops__marks li.is-quiet span, .drops__marks li.is-quiet small { display: none; }
.drops__marks { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: -8px; }
.drops__marks li { display: grid; justify-items: start; gap: 6px; position: relative; transform: translateY(6px); }
.drops__marks li b { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--black); transform: scale(0.5); transform-origin: center; }
.drops__marks li:first-child b { width: 26px; height: 26px; margin-top: -6px; }
.drops__marks li span { font-size: 0.85rem; font-weight: 600; color: rgba(0,0,0,0.6); margin-top: 6px; white-space: nowrap; }
.drops__marks li small { font-size: 0.8rem; color: rgba(0,0,0,0.6); white-space: nowrap; }
.drops__marks li b { opacity: 0.35; }
.drops__marks li.is-on { transform: none; }
.drops__marks li.is-on span { color: var(--black); }
.drops__marks li.is-on b { transform: scale(1); opacity: 1; }
.drops__caption { margin-top: 26px; font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 650; letter-spacing: -0.015em; color: var(--black); }
.offer { overflow-x: clip; }
.plan__after { margin-top: auto; padding-top: 34px; font-size: 1.05rem; line-height: 52px; color: rgba(0,0,0,0.6); }
.switch { display: none; position: relative; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(0,0,0,0.08); margin-bottom: 28px; isolation: isolate; }
.switch__tab { position: relative; z-index: 2; border: 0; background: none; padding: 12px 0; border-radius: 999px; font-weight: 600; color: rgba(0,0,0,0.6); cursor: pointer; transition: color 0.25s; }
.switch__tab:hover { color: var(--black); }
.switch__tab.is-on { color: var(--white); }
.switch__thumb { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--black); transition: transform 0.4s var(--ease); }
.switch[data-on="continuous"] .switch__thumb { transform: translateX(100%); }
.offer__head p { color: rgba(0,0,0,0.6); max-width: 30em; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.ledger { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; border-top: 1px solid var(--black); }
.plan { padding: 40px 0 0; display: flex; flex-direction: column; }
.plan--pilot { padding-right: clamp(24px, 5vw, 80px); border-right: 1px solid var(--black); }
.plan--continuous { padding-left: clamp(24px, 5vw, 80px); }
.plan__head { display: grid; gap: 10px; margin-bottom: 30px; }
.plan__head h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -0.03em; }
.plan__head p { color: rgba(0,0,0,0.6); }
.plan__spec div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,0.14); }
.plan__spec dt { color: rgba(0,0,0,0.55); }
.plan__spec dd { margin: 0; font-weight: 500; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--pilot .plan__spec { margin-bottom: 34px; }
.plan--continuous .plan__spec dd { font-weight: 400; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative;
  font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px;
  background:
    linear-gradient(var(--white), var(--white)) center / 14px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 2px 14px no-repeat;
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--text-2); }
.faq details p { padding: 0 0 26px; max-width: 36em; color: var(--text-2); }

/* Close */
.close { padding: 20vh var(--gutter) 16vh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.close h2 { max-width: 10em; font-size: clamp(2.6rem, 6vw, 6rem); }
.close__main > p { margin: 28px 0 40px; max-width: 30em; color: var(--text-2); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.faq { padding-top: 12px; }
.close .close__mail { margin-top: 22px; font-size: 0.95rem; }
.close__mail a, .foot a { color: var(--text-3); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: var(--text-3); }
.close__mail a:hover, .foot a:hover { color: var(--white); }

/* Footer */
.foot { display: grid; grid-template-columns: 1fr auto auto auto; gap: 40px; padding: 40px var(--gutter) 48px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--text-3); }
.foot__note { max-width: 18em; }
.wordmark--foot { color: var(--white); }

/* Responsive */
@media (max-width: 1100px) {
}
@media (max-width: 900px) {
  .top { grid-template-columns: auto 1fr auto; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
  .clock, .top__nav { display: none; }
  .top__meta { justify-content: end; }
  .top__cta { font-size: 0.85rem; padding: 9px 13px; }
  .hero { justify-content: flex-start; padding-top: 110px; padding-bottom: 0; min-height: auto; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 5.6rem); }
  .hero__copy { width: auto; }
  .stream {
    position: relative; inset: auto; width: auto; height: 62svh; margin: 40px calc(-1 * var(--gutter)) 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%);
  }
  .stream__cols { padding: 0 var(--gutter); gap: 10px; }
  .stream__col:nth-child(2) { margin-top: -90px; }
  .stream__col:nth-child(3) { margin-top: -30px; }
  .stream__col .ad { margin-bottom: 10px; }
  .offer__head, .close { grid-template-columns: 1fr; }
  .switch { display: grid; }
  .drops { margin-bottom: 4vh; }
  .drops__marks { margin-bottom: 92px; }
  .drops__marks li { position: static; }
  .drops__marks li span, .drops__marks li small { display: none; position: absolute; }
  .drops__marks li:nth-child(1) span, .drops__marks li:nth-child(1) small, .drops__marks li:nth-child(12) span { display: block; }
  .plan__after { padding-top: 22px; }
  .drops__marks li:nth-child(1) span { left: 0; top: 46px; }
  .drops__marks li:nth-child(1) small { left: 0; top: 68px; }
  .drops__marks li:nth-child(12) span { right: 0; top: 46px; }
  .drops__marks { position: relative; }
  .drops__marks li b { width: 10px; height: 10px; }
  .drops__marks li:first-child b { width: 20px; height: 20px; margin-top: -4px; }
  .ledger { display: block; border-top: 0; }
  .plan { display: none; padding: 8px 0 0; }
  .plan .btn { margin-top: 30px; }
  .plan__after { line-height: 1.5; padding-top: 26px; }
  .plan.is-on { display: block; }
  .plan--pilot { padding-right: 0; border-right: 0; }
  .plan--continuous { padding-left: 0; }
  .plan__spec div { grid-template-columns: 1fr; gap: 4px; }
  .close { gap: 40px; }
  .foot { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 520px) {
  .hero__lead { font-size: 1.05rem; }
  .btn { width: 100%; }
  .hero__actions .btn--ghost { display: none; }
  .top { gap: 10px; }
  .top .long { display: none; }
  .top .short { display: inline; }
  .top__cta { padding: 8px 12px; font-size: 0.85rem; }
  .stream { height: 56svh; }
  .stream__cols { grid-template-columns: repeat(2, 1fr); }
  .stream__col:nth-child(3) { display: none; }
}

/* Reduced motion: the stream stands still, nothing pins, everything is readable */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after, .switch__thumb { transition: none; }
  .stream__light { display: none; }
}
