/* Telal Works, home page draft */

:root {
  --paper: #FDFCF9;
  --inset: #F3F0E9;
  --white: #FFFFFF;
  --grey: #ECE9E2;
  --grey-2: #E2DED5;
  --ink: #141414;
  --ink-2: #45443F;
  --ink-3: #6B6962;
  --yellow: #FFD60A;
  /* Green scale built on the Upwork green: the colour of good results */
  --green-50: #F3FAEE;
  --green-100: #E4F4D8;
  --green-200: #CBEAB3;
  --green-300: #A6DB7C;
  --green-500: #7CCA3E;  /* Upwork green: light accents, dark text on it */
  --green-600: #4FA320;
  --green-700: #2F7D12;  /* white text on it (5.2:1) */
  --green-900: #14290D;  /* white text on it */
  --dark: #141414;
  --dark-2: #222220;
  --dark-3: #2E2E2B;
  --on-dark: #FDFCF9;
  --on-dark-2: #B9B7B0;

  --card-shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 10px 30px rgba(20, 20, 20, .05);

  --r-lg: 32px;
  --r-md: 24px;
  --r-sm: 16px;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --section: clamp(72px, 10vw, 140px);

  --font: "Schibsted Grotesk", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Hand-drawn highlighter stroke, stretched to fit the words it sits behind */
  --hl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath fill='%23FFD60A' d='M3 10C38 6 86 8 128 5c26-2 52 0 67 3l-2 7 3 6-3 9c-34 5-76 3-114 5-26 1-52 0-75-2l2-8-3-7z'/%3E%3Cpath fill='%23F0C400' fill-opacity='.35' d='M6 27c40 3 100 1 154-1 14 0 26 1 34 2l-2 3c-40 3-100 4-184 1z'/%3E%3Cpath fill='%23FFE45C' fill-opacity='.5' d='M14 12c50-3 110-4 170-3l-1 3c-60 0-120 1-168 3z'/%3E%3C/svg%3E");

  /* Paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .07 0 0 0 0 .05 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.section { padding-top: var(--section); }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* Type */

h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.04em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38em;
}

.eyebrow {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.section-label {
  font-size: .9375rem;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.4;
  margin-bottom: 28px;
  color: var(--ink-2);
}

/* Highlighter */

.hl {
  background-image: var(--hl);
  background-repeat: no-repeat;
  background-size: 100% 74%;
  background-position: 0 78%;
  padding: 0 .1em;
  margin: 0 -.05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn-small { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .12); }

@media (hover: hover) {
  .btn-dark:hover { background: #2B2B29; transform: translateY(-2px); }
  .btn-light:hover { background: var(--grey); transform: translateY(-2px); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grey);
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.3;
}
.chip-white { background: var(--white); }
.chip-grey { background: var(--grey); }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--ink);
}

.surface-white { background: var(--white); }
.surface-grey { background: var(--grey); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  background-image: var(--grain);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--grey-2); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

/* Temporary text logo until the final logo is ready */
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.hero-v2 .wordmark { color: var(--forest); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 550;
  font-size: .9688rem;
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
@media (hover: hover) {
  .site-nav a:not(.btn):hover { background: var(--grey); }
}
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  font-weight: 650;
  font-size: .9375rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: absolute;
    top: calc(100% + 4px);
    left: var(--gutter);
    right: var(--gutter);
    background: var(--white);
    border-radius: var(--r-md);
    padding: 12px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { width: 100%; font-size: 1.0625rem; padding: 0 16px; min-height: 52px; }
  .nav-cta-mobile { display: block; margin-top: 8px; }
  .nav-cta-mobile .btn { width: 100%; }
}
@media (max-width: 440px) {
  .header-cta { display: none; }
}

/* Hero */

/* Centred headline, wide graphic stage below */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}

.hero h1 { font-size: clamp(3.1rem, 7.4vw, 6.6rem); }
.hero h1 .hl { white-space: nowrap; }

.hero-sub {
  margin-top: 24px;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 650;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.hero-text {
  margin-top: 16px;
  margin-inline: auto;
  max-width: 33em;
  color: var(--ink-2);
  font-size: 1.125rem;
}

.hero .btn-row { margin-top: 32px; justify-content: center; }

/* Hero graphic stage: yellow panel and ring lines (layout further down) */

.hero-art {
  position: relative;
  margin-block: 0;
  overflow: hidden;
  background-color: var(--yellow);
  background-image: var(--grain);
  border-radius: var(--r-lg);
}

.rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.1;
  opacity: .3;
}

/* Proof: marquee of facts */

.proof-title {
  text-align: center;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.3;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
  padding-right: clamp(48px, 6vw, 96px);
  padding-block: 8px;
}

/* Without JS, or with reduced motion: a still, centred row */
.marquee:not(.is-running) { -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-running) .marquee-track { width: auto; justify-content: center; }
.marquee:not(.is-running) .marquee-group {
  flex-wrap: wrap;
  justify-content: center;
  padding-inline: var(--gutter);
  row-gap: 24px;
}

.marquee.is-running .marquee-track {
  animation: marquee-ltr var(--marquee-dur, 45s) linear infinite;
}
@media (hover: hover) {
  .marquee.is-running:hover .marquee-track { animation-play-state: paused; }
}
.marquee.is-paused .marquee-track { animation-play-state: paused; }

/* Two identical groups: sliding by half the track loops seamlessly */
@keyframes marquee-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.proof-item { white-space: nowrap; }
.proof-text { display: flex; flex-direction: column; line-height: 1.2; }
.stat { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 800; letter-spacing: -.03em; }
.stat-label { font-size: .875rem; color: var(--ink-2); font-weight: 500; margin-top: 2px; }

.marquee-controls { display: flex; justify-content: center; margin-top: 12px; }
.marquee-toggle {
  display: none;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
}
.marquee.is-running ~ .marquee-controls .marquee-toggle { display: inline-flex; align-items: center; }
@media (hover: hover) { .marquee-toggle:hover { background: var(--grey); color: var(--ink); } }

/* Section heads */

.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 20px; }

/* Placeholders */

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: calc(var(--r-md) - 8px);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
}
.placeholder-dark { background: var(--dark-3); color: var(--on-dark-2); }
.placeholder-light { background: var(--grey-2); color: var(--ink-2); border-radius: var(--r-lg); }
.ratio-portrait { aspect-ratio: 4 / 5; }
/* Real photos go in black and white */
.photo { filter: grayscale(1) contrast(1.05); }

/* Reviews */

.rv-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.rv {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--card-shadow);
  transition: transform .4s var(--ease);
}
@media (hover: hover) {
  .rv:hover { transform: translateY(-4px); }
}
.rv-feature { grid-column: span 7; grid-row: span 2; min-height: 460px; background: var(--ink); color: var(--on-dark); }
.rv-small { grid-column: span 5; }

.rv-mark {
  display: block;
  width: max-content;
  font-size: 4rem;
  font-weight: 800;
  line-height: .75;
  padding: 0 .1em;
  background-image: var(--hl);
  background-repeat: no-repeat;
  background-size: 100% 52%;
  background-position: 0 100%;
}
.rv-feature .rv-mark {
  font-size: 7rem;
  color: var(--yellow);
  background: none;
  padding: 0;
}

.rv blockquote { margin-top: 20px; }
.rv blockquote p {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.3;
  text-wrap: balance;
}
.rv-feature blockquote { margin-top: auto; padding-top: 32px; }
.rv-feature figcaption { margin-top: 0; }
.rv-feature blockquote p {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.12;
  max-width: 16em;
}

.rv figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 28px;
  font-size: .875rem;
}
.rv-src {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--inset);
  font-weight: 650;
  color: var(--ink);
}
.rv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.rv-proj { color: var(--ink-3); font-weight: 550; }
.rv-feature .rv-src { background: #262624; color: var(--on-dark); }
.rv-feature .rv-proj { color: var(--on-dark-2); }

@media (max-width: 980px) {
  .rv-feature { grid-column: span 12; grid-row: auto; min-height: 0; }
  .rv-small { grid-column: span 6; }
}
@media (max-width: 640px) {
  .rv-grid { gap: 10px; }
  .rv-small { grid-column: span 12; }
  .rv { border-radius: var(--r-md); }
  .rv-feature .rv-mark { font-size: 5rem; }
}

/* How I work: sticky headline, ruled list */

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.how-head { position: sticky; top: 120px; }
.how-head h2 { max-width: 9em; }

.how-list { border-bottom: 1px solid rgba(20, 20, 20, .12); }
.how-row {
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 104px) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid rgba(20, 20, 20, .12);
}
.how-num {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
  color: #B3B0A8;
  transition: color .35s var(--ease);
}
.how-copy h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 780;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.how-title {
  background-image: var(--hl);
  background-repeat: no-repeat;
  background-size: 0% 40%;
  background-position: 0 92%;
  transition: background-size .5s var(--ease);
}
.how-copy p { margin-top: 10px; color: var(--ink-2); max-width: 30em; }
@media (hover: hover) {
  .how-row:hover .how-num { color: var(--ink); }
  .how-row:hover .how-title { background-size: 100% 40%; }
}

/* About: the drum, its calls, and the story */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

/* Drum stage: all positions are percentages of this square */
.telal-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin: 0;
  container-type: inline-size;
}
.telal-drum {
  position: absolute;
  left: 0;
  top: 30%;
  width: 76%;
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 18px 22px rgba(20, 20, 20, .14)) drop-shadow(0 3px 5px rgba(20, 20, 20, .08));
}

/* Short sound strokes at the drum's edge */
.telal-sound {
  position: absolute;
  left: 60%;
  top: 22%;
  width: 11%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  transform: rotate(-8deg);
}

/* The calls: comic bubbles, each bigger and higher than the last */
.oyez {
  position: absolute;
  z-index: 2;
  padding: .32em .7em .38em;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
  transform-origin: 0% 100%;
}
/* Bubble tail, pointing back down to the drum */
.oyez::after {
  content: "";
  position: absolute;
  left: 18%;
  bottom: -.32em;
  width: .7em;
  height: .7em;
  background: inherit;
  border-radius: 0 0 .2em 0;
  transform: skewX(24deg) rotate(18deg);
  z-index: -1;
}
.oyez-1 { left: 66%; top: 17%; font-size: clamp(1rem, 4.2cqi, 1.5rem); --tilt: -6deg; }
.oyez-2 { left: 70%; top: 3%; font-size: clamp(1.2rem, 5.4cqi, 1.9rem); --tilt: 5deg; }
.oyez-3 { left: 30%; top: 4%; font-size: clamp(1.5rem, 7cqi, 2.5rem); --tilt: -4deg; }
.oyez { transform: rotate(var(--tilt)); }

@media (prefers-reduced-motion: no-preference) {
  .js .oyez {
    opacity: 0;
    transform: rotate(var(--tilt)) translate(-18%, 30%) scale(.4);
    transition: opacity .25s var(--ease), transform .45s cubic-bezier(.34, 1.56, .64, 1);
  }
  .js .oyez.is-out { opacity: 1; transform: rotate(var(--tilt)); }
}

/* Definition callout: a thin line from the drum to the label */
.telal-callout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--ink);
  pointer-events: none;
}
.telal-callout path {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 0 8;
  vector-effect: non-scaling-stroke;
}
@media (prefers-reduced-motion: no-preference) {
  .telal-callout path { animation: callout-flow 2.4s linear infinite; }
}
@keyframes callout-flow { to { stroke-dashoffset: -16; } }
.telal-callout-dot {
  position: absolute;
  left: 40%;
  top: 51%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--paper);
}
.telal-def {
  position: absolute;
  left: 40%;
  top: 91%;
  transform: translateX(-50%);
  font-size: clamp(.9375rem, 3cqi, 1.125rem);
  line-height: 1.3;
  white-space: nowrap;
}
.telal-def b { font-weight: 800; letter-spacing: -.01em; }
.telal-def i { color: var(--ink-2); margin-right: .15em; }

/* Story and signature */
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: 1.125rem;
  max-width: 34em;
}
.about-copy > p + p { margin-top: 16px; }

.signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 20, 20, .12);
  max-width: 34em;
}
.sig-photo {
  flex: none;
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--yellow);
}
.sig-name { font-size: 1.125rem; font-weight: 780; letter-spacing: -.01em; }
.sig-meta { margin-top: 2px; font-size: .875rem; color: var(--ink-3); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .telal-stage { max-width: 520px; margin-inline: auto; }
}

/* Contact: yellow panel, announcement note, stepped form */

.contact { padding-bottom: var(--section); }

.ct-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--r-lg);
  background-color: var(--yellow);
  background-image: var(--grain);
}

.ct-intro h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); max-width: 11em; }
.ct-lead { margin-top: 20px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); max-width: 30em; color: var(--ink); }
.ct-promise { margin-top: 12px; font-size: .9375rem; font-weight: 650; color: var(--ink); }

/* White highlighter for words on yellow */
.hl-white {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M3 10C38 6 86 8 128 5c26-2 52 0 67 3l-2 7 3 6-3 9c-34 5-76 3-114 5-26 1-52 0-75-2l2-8-3-7z'/%3E%3C/svg%3E");
}

/* The note that writes itself */
.ct-note {
  margin-top: 36px;
  max-width: 400px;
  padding: 22px 24px 20px;
  border-radius: 18px;
  background: var(--paper);
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 26px rgba(20, 20, 20, .10);
}
.ct-note-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ct-note-head > span:first-child { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); }
.ct-note-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: .8125rem;
  font-weight: 850;
  transform: rotate(4deg);
}
.ct-note-lines div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0 7px; border-bottom: 1px solid rgba(20, 20, 20, .08); }
.ct-note-lines div:last-child { border-bottom: 0; }
.ct-note-lines dt { font-size: .75rem; font-weight: 650; color: var(--ink-3); }
.ct-note-lines dd {
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.ct-note-lines dd.is-empty { color: #B3B0A8; }
.ct-note-lines dd.is-new { animation: note-in .5s var(--ease); }
@keyframes note-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}

/* The form card */
.ct-form {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--card-shadow);
}
.ct-progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ct-step-count { font-size: .8125rem; font-weight: 650; color: var(--ink-2); }
.ct-bar { display: grid; grid-template-columns: repeat(5, 30px); gap: 6px; }
.ct-bar i { height: 6px; border-radius: 3px; background: var(--grey); transition: background-color .3s var(--ease); }
.ct-bar i.is-done { background: var(--ink); }

.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .ct-step:not(.is-current) { display: none; }
.ct-step legend {
  padding: 0;
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 780;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.ct-step legend:focus { outline: none; }
.ct-hint { margin-top: 6px; font-size: .9375rem; color: var(--ink-3); }
html:not(.js) .ct-step + .ct-step { margin-top: 32px; }
html:not(.js) [data-next], html:not(.js) [data-back] { display: none; }

.ct-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.ct-opt { position: relative; display: flex; cursor: pointer; }
.ct-opt-wide { grid-column: span 2; }
.ct-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-opt span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 16px 18px 16px 20px;
  border-radius: 18px;
  background: var(--inset);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
/* Tick circle: empty ring, fills yellow with a tick when chosen */
.ct-opt span::after {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(20, 20, 20, .22);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
@media (hover: hover) {
  .ct-opt:hover span { background: var(--grey-2); }
}
.ct-opt input:checked + span { background: var(--ink); color: var(--paper); }
.ct-opt input:checked + span::after {
  box-shadow: none;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.ct-opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.ct-opt:active span { transform: scale(.98); }

.ct-field { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; min-width: 0; }
.ct-field label { font-size: .875rem; font-weight: 650; color: var(--ink-2); }
.ct-field input,
.ct-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--inset);
  font-size: 1rem;
  line-height: 1.45;
  resize: vertical;
}
.ct-field input:focus-visible,
.ct-field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.ct-error { min-height: 1.4em; margin-top: 12px; font-size: .875rem; font-weight: 650; color: #A1260D; }

.ct-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.ct-back {
  min-height: 48px;
  padding: 0 6px;
  border: 0;
  background: none;
  font-size: .9375rem;
  font-weight: 650;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.ct-back[hidden], .ct-nav [hidden], .ct-nav[hidden], .ct-progress[hidden] { display: none; }
.ct-nav .btn { margin-left: auto; }

.ct-done { padding: 12px 0 4px; }
.ct-done:focus { outline: none; }
.ct-done-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 1.25rem;
  font-weight: 850;
  transform: rotate(-3deg);
}
.ct-done-title { margin-top: 16px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 780; letter-spacing: -.03em; }
.ct-done-text { margin-top: 10px; color: var(--ink-2); max-width: 30em; }

@media (max-width: 980px) {
  .ct-panel { grid-template-columns: minmax(0, 1fr); }
  .ct-note { display: none; }
}
@media (max-width: 640px) {
  .ct-panel { padding: 26px 16px 16px; border-radius: var(--r-md); }
  .ct-form { padding: 22px 18px; border-radius: var(--r-md); }
  .ct-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ct-opt span { min-height: 60px; padding: 12px 14px 12px 16px; font-size: .9375rem; }
  .ct-bar { grid-template-columns: repeat(5, 20px); }
}

/* Footer: dark, with a large faint wordmark */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(56px, 8vw, 96px) 0 0;
  background: var(--ink);
  color: var(--on-dark-2);
}
.site-footer :focus-visible { outline-color: var(--yellow); }
.site-footer a { color: var(--on-dark); text-decoration: none; }

.ft-top {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: clamp(32px, 5vw, 72px);
}
.ft-mark { display: inline-block; font-size: 2rem; font-weight: 800; letter-spacing: -.035em; color: #FFFFFF; }
.site-footer .btn-yellow { color: var(--ink); }
.ft-line { margin: 16px 0 28px; font-size: 1.0625rem; max-width: 24em; color: var(--on-dark-2); }

.ft-head { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: #8C8A83; margin-bottom: 14px; }
.ft-col ul { display: grid; gap: 2px; }
.ft-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 1rem;
  font-weight: 600;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 85%;
  transition: background-size .3s var(--ease);
}
@media (hover: hover) {
  .ft-col a:hover { background-size: 100% 2px; }
}
.ft-todo { font-size: .75rem; color: #8C8A83; margin-left: 6px; }

.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}
.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.ft-watermark {
  margin: 0 0 -.18em;
  padding: 0 var(--gutter);
  font-size: clamp(4rem, 15.5vw, 15rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .9;
  white-space: nowrap;
  text-align: center;
  color: #1F1F1D;
  user-select: none;
}

@media (max-width: 900px) {
  .ft-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ft-intro { grid-column: span 2; }
}
@media (max-width: 480px) {
  .ft-top { grid-template-columns: minmax(0, 1fr); }
  .ft-intro { grid-column: auto; }
}

/* Scroll reveal (only when JS runs and motion is allowed) */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  .js .reveal .hl:not(.hl-static) {
    background-size: 0% 74%;
    transition: background-size .9s var(--ease) .3s;
  }
  .js .reveal.is-visible .hl:not(.hl-static) { background-size: 100% 74%; }

  .js .hero-art .rings circle {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.6s var(--ease);
  }
  .js .hero-art.is-visible .rings circle { stroke-dashoffset: 0; }
  .js .hero-art .rings circle:nth-child(2) { transition-delay: .08s; }
  .js .hero-art .rings circle:nth-child(3) { transition-delay: .16s; }
  .js .hero-art .rings circle:nth-child(4) { transition-delay: .24s; }
  .js .hero-art .rings circle:nth-child(5) { transition-delay: .32s; }
  .js .hero-art .rings circle:nth-child(6) { transition-delay: .40s; }
  .js .hero-art .rings circle:nth-child(7) { transition-delay: .48s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Tablet */

@media (max-width: 980px) {




}

/* Phone */

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-text, .about-copy > p:not(.eyebrow) { font-size: 1.0625rem; }

  .btn-row .btn { flex: 1 1 100%; }






}

/* Hero graphic: client site mockup with service cards */

.hero-art {
  container-type: inline-size;
  width: 100%;
  min-height: 580px;
}

/* Faint drafting lines */
.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  background: var(--ink);
  opacity: .14;
  pointer-events: none;
}
.hero-art::before { left: 0; right: 0; top: 15%; height: 1px; }
.hero-art::after { top: 0; bottom: 0; left: 50%; width: 1px; }


/* The client website */
.mock {
  position: absolute;
  top: 17%;
  left: 21%;
  width: 58%;
  height: 70%;
  z-index: 1;
  padding: 10px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(20, 20, 20, .14);
}
.mock-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}
/* Floating cards */
.card {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: 20px;
  padding: 16px 18px;
  transition: transform .45s var(--ease);
}
@media (hover: hover) {
  .card:hover { transform: rotate(0deg) translateY(-4px) !important; }
}
.c-label { font-size: .75rem; font-weight: 650; color: var(--ink-2); line-height: 1.3; }
.c-sub { font-size: .75rem; color: var(--ink-3); margin-top: 4px; line-height: 1.3; }
.c-num {
  margin-top: 4px;
  font-size: clamp(1.5rem, 3.4cqi, 2.25rem);
  font-weight: 820;
  letter-spacing: -.035em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.c-num .hl { padding: 0 .12em; }
.c-arrow { font-weight: 500; color: var(--ink-3); }

.card-search { top: 38%; left: 5%; width: 27%; transform: rotate(-2deg); }
.card-search .c-num { color: var(--ink-3); }
.card-search .c-num b { color: var(--ink); font-weight: 820; }
.spark { display: block; width: 100%; height: 40px; margin-top: 6px; overflow: visible; }
.spark path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.spark circle { fill: var(--ink); }
.spark circle.end { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.5; }

/* Entrance: the mockup settles first, cards follow */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-art .mock,
  .js .hero-art .card {
    opacity: 0;
    translate: 0 16px;
    transition: opacity .7s var(--ease), translate .7s var(--ease), transform .45s var(--ease);
  }
  .js .hero-art.is-visible .mock,
  .js .hero-art.is-visible .card { opacity: 1; translate: 0 0; }
  .js .hero-art.is-visible .card-search { transition-delay: .55s, .55s, 0s; }
}

/* Hero graphic, tablet */
@media (max-width: 980px) {
  .hero-art { min-height: 540px; }
  .mock { left: 16%; width: 68%; }
  .card-search { width: 36%; }
}

/* Hero, phone: left-aligned text, mockup plus two cards */
@media (max-width: 640px) {
  .hero-copy { text-align: left; align-items: stretch; }
  .hero-text { margin-inline: 0; }
  .hero-art { min-height: 460px; border-radius: var(--r-md); }
  .hero-art::after { left: 6%; }
  .mock { top: 14%; left: 6%; width: 88%; height: 46%; }
  .card-search { top: auto; bottom: 5%; left: 5%; width: 60%; transform: rotate(-2deg); }
  .say-3 { display: none; }
  .hero-art::before { top: 8%; }
}

/* What I do: service bento */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.svc {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.2vw, 44px);
  transition: transform .4s var(--ease);
}
.svc-websites, .svc-search { grid-column: span 3; min-height: 580px; padding-bottom: 0; }
.svc-tools { grid-column: span 6; }
.svc-video { grid-column: span 4; }
.svc-cta { grid-column: span 2; }

@media (hover: hover) {
  .svc:hover { transform: translateY(-4px); }
}

.svc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
}
.svc-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc h3 {
  margin-top: 28px;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 780;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.svc-copy > p,
.svc > p {
  margin-top: 12px;
  color: var(--ink-2);
  max-width: 30em;
}

.svc-vis { position: relative; margin-top: auto; }

/* Websites: a page and the same site on a phone */
.vis-site { height: 280px; margin-top: 36px; }
.vs-page {
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 80%;
  height: 270px;
  padding: 18px;
  background: var(--inset);
  border-radius: 20px;
  transition: transform .5s var(--ease);
}
.vs-nav { display: flex; align-items: center; gap: 12px; }
.vs-logo { display: block; width: 48px; height: 10px; border-radius: 5px; background: var(--ink); }
.vs-nav i { width: 26px; height: 6px; border-radius: 3px; background: var(--grey-2); }
.vs-nav i:first-of-type { margin-left: auto; }
.vs-btn { width: 54px; height: 18px; border-radius: 999px; background: var(--ink); }
.vs-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.vs-lines { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.vs-lines i, .vs-phone-screen i { display: block; height: 6px; border-radius: 3px; background: var(--grey-2); }
.vs-lines i.thick, .vs-phone-screen i.thick { height: 12px; background: var(--ink); }
.vs-lines i.short, .vs-phone-screen i.short { width: 62%; }
.vs-cta { width: 76px; height: 22px; margin-top: 10px; border-radius: 999px; background: var(--yellow); }
.vs-photo {
  min-height: 150px;
  border-radius: 12px;
  background: linear-gradient(160deg, #DAD6CD, #B9B5AC);
}
.vs-phone {
  position: absolute;
  right: 0;
  bottom: -44px;
  width: 36%;
  max-width: 176px;
  height: 300px;
  padding: 7px;
  border-radius: 30px;
  background: var(--ink);
  transform: rotate(4deg);
  transition: transform .5s var(--ease);
}
.vs-phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 23px;
  background: var(--white);
}
.vs-phone-screen .vs-photo { min-height: 84px; margin: 4px 0; }
.vs-call {
  margin-top: 8px;
  padding: 8px 0;
  border-radius: 999px;
  background: var(--yellow);
  font-size: .75rem;
  font-weight: 750;
  text-align: center;
}
@media (hover: hover) {
  .svc-websites:hover .vs-phone { transform: rotate(0deg) translateY(-8px); }
  .svc-websites:hover .vs-page { transform: translateY(-4px); }
}

/* Search: a query and results, one of them yours */
.vis-search { margin-top: 36px; }
.sr-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--inset);
  font-size: .9375rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
}
.sr-box svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}
.sr-list {
  margin-top: 12px;
  padding: 14px 14px 18px;
  border-radius: 20px 20px 0 0;
  background: var(--inset);
  display: grid;
  gap: 8px;
}
.sr-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 16px;
  border-radius: 14px;
}
.sr-row i { display: block; height: 6px; border-radius: 3px; background: var(--grey-2); }
.sr-row i.t { width: 56%; height: 10px; background: #D3CEC4; }
.sr-row i.u { width: 34%; }
.sr-row i.d { width: 88%; }
.sr-you {
  background: var(--green-100);
  transform: translateX(10px) rotate(-1deg);
  transition: transform .5s var(--ease);
}
.sr-title { font-size: 1.0625rem; font-weight: 750; letter-spacing: -.01em; line-height: 1.3; }
.sr-url { font-size: .75rem; color: var(--ink-3); line-height: 1.2; }
@media (hover: hover) {
  .svc-search:hover .sr-you { transform: translateX(14px) rotate(0deg); }
}

/* Tools: wide card, copy left, a small estimate form right */
.svc-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  min-height: 420px;
}
.vis-tool { height: 340px; margin: 0; }
.tl-form {
  position: absolute;
  top: 34px;
  left: 12%;
  width: 58%;
  padding: 22px;
  border-radius: 22px;
  background: var(--inset);
  transition: transform .5s var(--ease);
}
.tl-title { font-size: 1rem; font-weight: 750; letter-spacing: -.01em; margin-bottom: 4px; }
.tl-field, .tl-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--white);
  font-size: .8125rem;
  font-weight: 620;
}
.tl-field i { width: 72px; height: 8px; border-radius: 4px; background: var(--grey-2); }
.tl-result { background: var(--ink); color: var(--paper); }
.tl-result span { white-space: nowrap; }
.tl-result b { width: 92px; height: 18px; background-image: var(--hl); background-size: 100% 100%; }
.tl-chip {
  position: absolute;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--grey);
  font-size: .8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .5s var(--ease);
}
.tl-c1 { top: 0; right: 4%; transform: rotate(4deg); }
.tl-c2 { top: 46%; right: 0; transform: rotate(-3deg); }
.tl-c3 { bottom: 16%; left: 0; transform: rotate(-4deg); }
.tl-sent {
  position: absolute;
  bottom: 0;
  right: 10%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: var(--green-500);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 750;
  transform: rotate(2deg);
}
.tl-sent svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover) {
  .svc-tools:hover .tl-form { transform: translateY(-6px); }
  .svc-tools:hover .tl-chip { transform: rotate(0deg); }
}

/* Video: a frame, a scrubber, the kinds of video */
.svc-video {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
}
.vis-video { margin: 0; }
.vd-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: linear-gradient(160deg, #3C3C38, #262624);
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
}
.vd-label { font-size: .75rem; font-weight: 600; color: var(--on-dark-2); line-height: 1.3; }
.vd-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -32px 0 0 -28px;
  border-radius: 50%;
  background: var(--yellow);
  transition: transform .4s var(--ease);
}
.vd-play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-left: 16px solid var(--ink);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.vd-bar { height: 5px; margin: 14px 2px 0; border-radius: 3px; background: var(--grey-2); overflow: hidden; }
.vd-bar i { display: block; width: 38%; height: 100%; background: var(--ink); }
.vd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vd-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--inset);
  font-size: .8125rem;
  font-weight: 650;
}
@media (hover: hover) {
  .svc-video:hover .vd-play { transform: scale(1.08); }
}

/* Closing card */
.svc-cta {
  justify-content: space-between;
  gap: 32px;
  background:
    radial-gradient(120% 70% at 0% 100%, rgba(124, 202, 62, .16), transparent 62%),
    var(--green-900);
  box-shadow: inset 0 1.5px 0 rgba(124, 202, 62, .35);
  color: var(--paper);
  isolation: isolate;
}
.svc-cta::before,
.svc-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  background: #1A2D14;
  transform: rotate(45deg);
}
.svc-cta::before { right: -30%; top: 18%; }
.svc-cta::after { right: -52%; top: 48%; background: #1F3618; }
.svc-cta h3 { margin-top: 0; color: var(--paper); max-width: 9em; }
.btn-yellow { background: var(--yellow); color: var(--ink); align-self: flex-start; }
@media (hover: hover) {
  .btn-yellow:hover { background: #FFE04D; transform: translateY(-2px); }
}

/* Services, tablet */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-websites, .svc-search { grid-column: span 1; min-height: 540px; }
  .svc-tools, .svc-video, .svc-cta { grid-column: span 2; }
  .svc-cta { flex-direction: row; align-items: center; }
  .svc-cta .btn-yellow { align-self: center; }
  .svc-tools { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tl-form { left: 6%; width: 52%; }
}

/* Services, phone */
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .svc-websites, .svc-search, .svc-tools, .svc-video, .svc-cta { grid-column: auto; }
  .svc-websites, .svc-search { min-height: 0; }
  .svc { padding: 26px 22px; border-radius: var(--r-md); }
  .svc-websites, .svc-search { padding-bottom: 0; }
  .svc h3 { margin-top: 22px; }
  .vis-site { height: 240px; margin-top: 28px; }
  .vs-page { width: 84%; height: 230px; padding: 14px; }
  .vs-nav i { display: none; }
  .vs-phone { width: 40%; height: 250px; bottom: -60px; }
  .vis-search { margin-top: 28px; }
  .sr-box { font-size: .875rem; }
  .svc-tools, .svc-video { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .vis-tool { height: 320px; }
  .tl-form { left: 0; width: 78%; top: 40px; padding: 18px; }
  .tl-c1 { right: 0; }
  .tl-c2, .tl-c3 { display: none; }
  .tl-sent { right: 4%; }
  .svc-cta { flex-direction: column; align-items: flex-start; }
  .svc-cta .btn-yellow { align-self: stretch; }
}

/* Search card in soft green */
.svc-search { background: var(--green-100); }
.svc-search .svc-icon { background: var(--green-500); }
.svc-search .svc-icon svg { stroke: var(--ink); }
.svc-search .sr-box,
.svc-search .sr-list { background: var(--white); }

/* Ruled paper lines, visible only at the section edges */
.lined { position: relative; isolation: isolate; }
.lined::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(20, 20, 20, .07) 35px 36px);
  -webkit-mask-image:
    linear-gradient(90deg, #000 0, transparent 24%, transparent 76%, #000 100%),
    linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, #000 0, transparent 24%, transparent 76%, #000 100%),
    linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-composite: intersect;
}
@media (max-width: 640px) {
  .lined::before { opacity: .7; }
}

/* Selected work: watermark heading and project bento */

.work-inner { position: relative; }

.work-watermark {
  font-size: clamp(6.5rem, 21vw, 18rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .8;
  color: rgba(20, 20, 20, .055);
  margin: 0 0 -.3em -.04em;
  user-select: none;
}

.work-bento {
  --wk-pad: clamp(24px, 3vw, 40px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.wk {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform .4s var(--ease);
}
@media (hover: hover) {
  .wk:hover { transform: translateY(-4px); }
}

.wk-label { font-size: .875rem; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.wk h3 {
  margin-top: 8px;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.wk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wk-tags li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--inset);
  font-size: .75rem;
  font-weight: 650;
  color: var(--ink-2);
  line-height: 1.2;
}

/* Screenshots: straight, rounded, a small shadow */
.wk-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(20, 20, 20, .10), 0 2px 6px rgba(20, 20, 20, .06);
  transition: transform .5s var(--ease);
}
@media (hover: hover) {
  .wk:hover .wk-shot { transform: translateY(-4px); }
}

/* Feature: the dairy calculator */
.wk-feature {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--wk-pad);
  padding: var(--wk-pad);
}
.wk-feature .wk-body { display: flex; flex-direction: column; }
.wk-feature h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 780; letter-spacing: -.03em; line-height: 1.08; }
.wk-text { margin-top: 14px; color: var(--ink-2); max-width: 30em; }
.wk-feature .wk-media { display: flex; align-items: center; }

.wk-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}
.wk-stats div { min-width: 0; padding: 16px; border-radius: var(--r-sm); background: var(--inset); }
.wk-stats dt { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.wk-stats dd { margin-top: 10px; }
.wk-stats strong {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 8px;
  background: var(--green-700);
  color: var(--white);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  white-space: nowrap;
}
.wk-from { display: block; margin-top: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.wk-stats .arrow { margin: 0 .15em; }

.wk-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 16px;
}
.wk-source { font-size: .8125rem; color: var(--ink-3); }

/* Big number: the YouTube result */
.wk-number {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: var(--wk-pad);
  background: var(--green-100);
  isolation: isolate;
}
.wk-number::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(20, 41, 13, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 41, 13, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 75% 20%, #000, transparent 65%);
  mask-image: radial-gradient(circle at 75% 20%, #000, transparent 65%);
}
.wk-big {
  margin-top: auto;
  padding-top: 32px;
  font-size: clamp(3.25rem, 5.4vw, 5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .9;
}
.wk-about {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--ink-2);
}
.wk-big-label { margin-top: 14px; font-size: 1.0625rem; color: var(--ink-2); max-width: 18em; line-height: 1.45; }
.wk-note { margin-top: 14px; font-size: .8125rem; color: var(--ink-3); }

/* Two site cards */
.wk-site { grid-column: span 6; display: flex; flex-direction: column; }
.wk-site .wk-media { padding: var(--wk-pad) var(--wk-pad) 0; }
.wk-site .wk-shot { aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; }
.wk-caption { display: flex; flex-direction: column; flex: 1; padding: 22px var(--wk-pad) var(--wk-pad); }
.wk-caption .wk-tags { margin-top: 14px; }

/* Work, tablet */
@media (max-width: 980px) {
  .wk-feature, .wk-number { grid-column: span 12; }
  .wk-site { grid-column: span 6; }
}

/* Work, phone */
@media (max-width: 640px) {
  .work-bento { gap: 10px; }
  .wk { border-radius: var(--r-md); }
  .wk-feature { grid-template-columns: minmax(0, 1fr); }
  .wk-feature .wk-media { order: -1; }
  .wk-big { font-size: 4rem; }
  .wk-site { grid-column: span 12; }
}

/* YouTube growth chart */
.wk-chart { position: relative; margin: 22px 0 0; }
.wk-chart svg { display: block; width: 100%; height: 120px; overflow: visible; }
.wk-chart .grid { fill: none; stroke: rgba(20, 35, 15, .1); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.wk-chart .area { fill: var(--green-300); opacity: .75; }
.wk-chart .line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.wk-chart-dot {
  position: absolute;
  top: calc(120px * 22 / 150);
  left: calc(100% * 300 / 320);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 2.5px var(--ink);
}
.wk-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-3);
}

/* The line draws itself once the card is in view */
@media (prefers-reduced-motion: no-preference) {
  .js .wk-number .wk-chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
  .js .wk-number.is-visible .wk-chart .line { stroke-dashoffset: 0; }
  .js .wk-number .wk-chart .area,
  .js .wk-number .wk-chart-dot { opacity: 0; transition: opacity .8s var(--ease) 1.2s; }
  .js .wk-number.is-visible .wk-chart .area { opacity: .75; }
  .js .wk-number.is-visible .wk-chart-dot { opacity: 1; }
}

/* White cards on the light paper: a whisper of shadow keeps their edges */
.svc:not(.svc-cta):not(.svc-search), .wk-feature, .wk-site {
  box-shadow: var(--card-shadow);
}
.menu-toggle { box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .12); }

/* How I work, tablet and phone: headline on top, not sticky */
@media (max-width: 900px) {
  .how-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .how-head { position: static; }
  .how-head h2 { max-width: 14em; }
}
@media (max-width: 640px) {
  .how-row { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .how-num { font-size: 1.75rem; }
}

/* Contact, narrow phones: one tile per row */
@media (max-width: 480px) {
  .ct-options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ct-opt-wide { grid-column: auto; }
  .ct-opt span { min-height: 56px; }
}

/* Questions owners ask me */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: 120px; }
.faq-head h2 { max-width: 9em; }
.faq-lead { margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); }

.faq-list { display: grid; gap: 10px; }
.qa {
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--card-shadow);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 18px 22px 18px 26px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 720;
  letter-spacing: -.015em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--r-md); }
.qa-icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--inset);
  transition: background-color .25s var(--ease), transform .35s var(--ease);
}
.qa-icon::before,
.qa-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--ink);
}
.qa-icon::after { transform: rotate(90deg); }
.qa[open] .qa-icon { background: var(--yellow); transform: rotate(45deg); }
@media (hover: hover) {
  .qa summary:hover .qa-icon { background: var(--grey-2); }
  .qa[open] summary:hover .qa-icon { background: var(--yellow); }
}
.qa p {
  padding: 0 26px 24px;
  max-width: 36em;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-head { position: static; }
  .faq-head h2 { max-width: 14em; }
}
@media (max-width: 640px) {
  .qa summary { padding: 16px 16px 16px 20px; min-height: 64px; }
  .qa p { padding: 0 20px 20px; font-size: 1rem; }
}

/* Contact: sending state and send error */
.ct-form.is-sending [data-send] { opacity: .6; pointer-events: none; }
.ct-send-error {
  flex-basis: 100%;
  order: 3;
  margin-top: 4px;
  font-size: .875rem;
  font-weight: 650;
  color: #A1260D;
}
.ct-nav { flex-wrap: wrap; }

/* Hero speech bubbles, in the logo's style: white, black outline, black 3D drop */
.say {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: .42em .8em .46em;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 5px 6px 0 var(--ink);
  color: var(--ink);
  font-size: clamp(.95rem, 1.75cqi, 1.4rem);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(var(--tilt));
  transform-origin: var(--from);
}
/* Tail pointing back towards the website */
.say::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.say-1 { top: 10%; right: 6%; --tilt: 4deg; --from: 0% 100%; }
.say-1::after { left: 22px; transform: rotate(45deg) skew(-8deg, -8deg); }
.say-2 { top: 44%; right: 3%; --tilt: -3deg; --from: 0% 100%; }
.say-2::after { left: 22px; transform: rotate(45deg) skew(-8deg, -8deg); }
.say-3 { bottom: 11%; right: 9%; --tilt: 3deg; --from: 0% 100%; }
.say-3::after { left: 22px; transform: rotate(45deg) skew(-8deg, -8deg); }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-art .say {
    opacity: 0;
    transform: rotate(var(--tilt)) scale(.4);
    transition: opacity .25s var(--ease), transform .5s cubic-bezier(.34, 1.56, .64, 1);
  }
  .js .hero-art.is-visible .say { opacity: 1; transform: rotate(var(--tilt)); }
  .js .hero-art.is-visible .say-1 { transition-delay: .6s; }
  .js .hero-art.is-visible .say-2 { transition-delay: 1.1s; }
  .js .hero-art.is-visible .say-3 { transition-delay: 1.6s; }
}

@media (max-width: 640px) {
  .say { font-size: .8125rem; border-width: 2.5px; box-shadow: 4px 5px 0 var(--ink); }
  .say-1 { top: 5%; right: 5%; }
  .say-2 { top: 44%; right: 4%; }
}

/* ==========================================================
   Hero v2 (draft): calm product-style banner
   ========================================================== */

/* Which hero shows: v1 by default, v2 with ?hero=v2 */
html:not(.hero-v2) .hero2 { display: none; }
.hero-v2 .hero { display: none; }

.hero2 {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 104px);
}
.h2-glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(255, 214, 10, .22), transparent 70%),
    radial-gradient(35% 40% at 12% 20%, rgba(124, 202, 62, .08), transparent 70%),
    radial-gradient(35% 40% at 88% 30%, rgba(255, 214, 10, .10), transparent 70%);
}

.h2-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.h2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 214, 10, .22);
  box-shadow: inset 0 0 0 1px rgba(214, 170, 0, .35);
  font-size: .875rem;
  font-weight: 600;
  color: #5C4A00;
}
.h2-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.hero2 h1 {
  margin-top: 26px;
  max-width: 8.2em;
  font-size: clamp(2.9rem, 7vw, 5.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}
/* Clean yellow underline */
.u-line {
  white-space: nowrap;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% .11em;
  background-position: 0 94%;
  padding-bottom: .04em;
}
.h2-text {
  margin-top: 26px;
  max-width: 36em;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.h2-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin-top: 34px; }
.btn-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
@media (hover: hover) { .btn:hover .btn-ico { transform: translateX(3px); } }
.h2-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 650;
  text-decoration: none;
}
.h2-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .h2-link:hover { text-decoration: underline; text-underline-offset: 5px; } }

/* Floating pieces around the edges */
.h2-float { position: absolute; inset: 0 0 auto 0; height: 660px; pointer-events: none; z-index: 1; }
.fl {
  position: absolute;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 12px 32px rgba(20, 20, 20, .07);
  color: var(--ink-2);
  animation: fl-drift 9s ease-in-out infinite alternate;
}
.fl svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fl-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 14px; font-size: .9375rem; font-weight: 650; }
.fl-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; }
.fl-card { width: 230px; padding: 16px 18px; border-radius: 18px; font-size: .8125rem; }
.fl-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .9375rem; font-weight: 750; color: var(--ink); }
.fl-tag { padding: 2px 9px; border-radius: 999px; font-size: .6875rem; font-weight: 750; color: var(--ink); }
.fl-line { display: block; height: 7px; margin-top: 10px; border-radius: 4px; background: var(--grey); }
.fl-line.w80 { width: 80%; } .fl-line.w70 { width: 70%; } .fl-line.w60 { width: 60%; }
.fl-note { margin-top: 10px; font-size: .75rem; color: var(--ink-3); }
.fl-label { font-size: .75rem; font-weight: 650; color: var(--ink-3); }
.fl-num { margin-top: 4px; font-size: 1.625rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--ink-3); }
.fl-num b { color: var(--ink); }
.fl-num span { font-weight: 500; }
.fl .fl-spark { display: block; width: 100%; height: 30px; margin-top: 6px; overflow: visible; }
.fl-spark path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.fl-spark circle { fill: var(--green-500); stroke: var(--ink); stroke-width: 2.5; }

.tint-yellow { background: #FFF6CC; color: #5C4A00; }
.tint-green { background: var(--green-100); color: #24500F; }
.tint-grey { background: var(--white); }

/* Depth: near pieces sharp, far pieces soft and faded */
.fl-a { top: 11%; left: 6%; transform: rotate(-3deg); }
.fl-b { top: 4%; left: 17%; opacity: .5; filter: blur(.6px); animation-delay: -3s; }
.fl-c { top: 30%; left: 3.5%; transform: rotate(-4deg); animation-delay: -5s; }
.fl-d { top: 62%; left: 7%; transform: rotate(2deg); opacity: .75; animation-delay: -2s; }
.fl-e { top: 80%; left: 21%; opacity: .45; filter: blur(.8px); animation-delay: -6s; }
.fl-f { top: 14%; right: 4%; transform: rotate(3deg); animation-delay: -4s; }
.fl-g { top: 46%; right: 9%; transform: rotate(-2deg); opacity: .8; animation-delay: -1s; }
.fl-h { top: 63%; right: 3.5%; transform: rotate(2deg); opacity: .9; animation-delay: -7s; }
.fl-i { top: 5%; right: 22%; opacity: .45; filter: blur(.8px); animation-delay: -2.5s; }
.fl-j { top: 82%; right: 18%; opacity: .45; filter: blur(.8px); animation-delay: -4.5s; }

@keyframes fl-drift {
  from { translate: 0 0; }
  to { translate: 0 -10px; }
}

/* Showcase window, cut off by the fold */
.h2-show { position: relative; z-index: 2; margin-top: clamp(48px, 7vw, 80px); }
.show-frame {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 10px 0;
  border-radius: 22px 22px 0 0;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 24px 60px rgba(20, 20, 20, .10), inset 0 0 0 1px rgba(20, 20, 20, .06);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.show-tabs { display: flex; gap: 6px; padding: 4px 4px 10px; overflow-x: auto; scrollbar-width: none; }
.show-tabs::-webkit-scrollbar { display: none; }
.show-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: .875rem;
  font-weight: 650;
  color: var(--ink-3);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.show-tab[aria-selected="true"] { background: var(--inset); color: var(--ink); }
@media (hover: hover) { .show-tab:hover { color: var(--ink); } }
.st-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.show-panels { position: relative; height: clamp(260px, 38vw, 480px); overflow: hidden; border-radius: 12px 12px 0 0; background: var(--inset); }
.show-panel { position: absolute; inset: 0; }
.show-panel[hidden] { display: none; }
.show-panel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tablet and phone: fewer floating pieces */
@media (max-width: 1180px) {
  .fl-b, .fl-e, .fl-i, .fl-j, .fl-g, .fl-d { display: none; }
  .fl-c { left: 1.5%; top: 40%; transform: rotate(-4deg) scale(.9); opacity: .6; }
  .fl-h { right: 1.5%; top: 52%; transform: rotate(2deg) scale(.9); opacity: .6; }
  .fl-a { left: 2%; top: 7%; }
  .fl-f { right: 2%; top: 9%; transform: rotate(3deg) scale(.9); }
}
@media (max-width: 900px) {
  .h2-float { display: none; }
}
@media (max-width: 640px) {
  .h2-inner { align-items: stretch; text-align: left; }
  .h2-badge { align-self: flex-start; font-size: .8125rem; }
  .h2-ctas { justify-content: flex-start; }
  .h2-ctas .btn { flex: 1 1 100%; }
  .show-frame { padding: 8px 8px 0; border-radius: 16px 16px 0 0; }
}

/* Draft switch between the two heroes (review only) */
.draft-switch {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark-2);
  font-size: .8125rem;
  font-weight: 600;
}
.draft-switch a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; color: var(--paper); text-decoration: none; }
.draft-switch a[aria-current="true"] { background: var(--yellow); color: var(--ink); }
@media (max-width: 640px) {
  .draft-switch { left: 8px; right: 8px; bottom: 8px; justify-content: center; }
  .draft-switch span { display: none; }
}

/* ==========================================================
   Version 2 theme (draft): green system based on the Wise
   design reference. Active only with ?hero=v2.
   ========================================================== */

html.hero-v2 {
  --forest: #163300;
  --forest-hover: #0D1F00;
  --bright: #9FE870;
  --bright-hover: #80E142;

  --paper: #FFFFFF;
  --inset: #F1F1ED;
  --grey: #F1F1ED;
  --grey-2: #E4E6E1;
  --ink: #0E0F0C;
  --ink-2: #454745;
  --ink-3: #6A6C6A;

  /* Everything that was yellow becomes the bright green accent */
  --yellow: #9FE870;

  --green-50: #F3FBEE;
  --green-100: #E2F6D5;
  --green-200: #CFF0B8;
  --green-300: #BDEC98;
  --green-500: #9FE870;
  --green-600: #80E142;
  --green-700: #163300;
  --green-900: #163300;

  --dark: #163300;
  --on-dark: #FFFFFF;
  --on-dark-2: #C9D6BF;

  /* Flat: a thin border instead of a shadow */
  --card-shadow: 0 0 0 1px rgba(14, 15, 12, .12);

  /* Clean white canvas, no paper grain */
  --grain: none;

  /* The stroke, in bright green */
  --hl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath fill='%239FE870' d='M3 10C38 6 86 8 128 5c26-2 52 0 67 3l-2 7 3 6-3 9c-34 5-76 3-114 5-26 1-52 0-75-2l2-8-3-7z'/%3E%3Cpath fill='%2380E142' fill-opacity='.35' d='M6 27c40 3 100 1 154-1 14 0 26 1 34 2l-2 3c-40 3-100 4-184 1z'/%3E%3Cpath fill='%23C5F0A4' fill-opacity='.5' d='M14 12c50-3 110-4 170-3l-1 3c-60 0-120 1-168 3z'/%3E%3C/svg%3E");
}

/* Buttons: forest primary, white text */
.hero-v2 .btn-dark { background: var(--forest); color: #FFFFFF; }
@media (hover: hover) { .hero-v2 .btn-dark:hover { background: var(--forest-hover); } }
.hero-v2 .btn-yellow { background: var(--bright); color: var(--forest); }
@media (hover: hover) { .hero-v2 .btn-yellow:hover { background: var(--bright-hover); } }
.hero-v2 .btn-light { box-shadow: inset 0 0 0 1px rgba(14, 15, 12, .16); }

/* Hero v2 details in the green system */
.hero-v2 .h2-glow {
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(159, 232, 112, .26), transparent 70%),
    radial-gradient(35% 40% at 12% 20%, rgba(159, 232, 112, .10), transparent 70%),
    radial-gradient(35% 40% at 88% 30%, rgba(22, 51, 0, .05), transparent 70%);
}
.hero-v2 .h2-badge { background: var(--green-100); box-shadow: inset 0 0 0 1px rgba(22, 51, 0, .14); color: var(--forest); }
.hero-v2 .tint-yellow { background: var(--green-100); color: var(--forest); }
.hero-v2 .tint-green { background: var(--forest); color: var(--bright); }
.hero-v2 .fl-tag.tint-green { color: var(--bright); }
.hero-v2 .h2-link { color: var(--forest); }

/* Choices in the form */
.hero-v2 .ct-opt input:checked + span { background: var(--forest); color: #FFFFFF; }
.hero-v2 .ct-opt input:checked + span::after {
  background-color: var(--bright);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163300' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E");
}
.hero-v2 .ct-intro h2,
.hero-v2 .ct-lead,
.hero-v2 .ct-promise { color: var(--forest); }

/* Dark moments become forest */
.hero-v2 .rv-feature { background: var(--forest); }
.hero-v2 .rv-feature .rv-src { background: rgba(255, 255, 255, .1); }
.hero-v2 .rv-feature .rv-mark { color: var(--bright); }
.hero-v2 .svc-cta { background: var(--forest); box-shadow: none; }
.hero-v2 .svc-cta::before { background: #1D4006; }
.hero-v2 .svc-cta::after { background: #234A0A; }

/* Footer: forest with bright green accents */
.hero-v2 .site-footer { background: var(--forest); color: var(--on-dark-2); }
.hero-v2 .ft-head { color: #9DB28C; }
.hero-v2 .ft-todo { color: #9DB28C; }
.hero-v2 .ft-bottom { border-top-color: rgba(255, 255, 255, .14); }
.hero-v2 .ft-watermark { color: #1D4006; }
.hero-v2 .site-footer .btn-yellow { color: var(--forest); }

/* Header on a clean white canvas */
.hero-v2 .site-header.is-scrolled { box-shadow: 0 1px 0 rgba(14, 15, 12, .1); }

/* ==========================================================
   Version 2, part 2: calm product structure (Dub-inspired)
   Satoshi, lighter headings, rounded-rectangle buttons,
   thin frame lines, dotted grids, small colour labels.
   ========================================================== */

/* Section labels and inline icon squares: version 2 only */
.sec-label, .svc-statement { display: none; }

html.hero-v2 {
  --font: "Satoshi", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --line: rgba(14, 15, 12, .09);
  --r-lg: 20px;
  --r-md: 16px;
}
.hero-v2 body { font-family: var(--font); }

/* Typography: medium headings, normal-ish tracking */
.hero-v2 h1,
.hero-v2 h2 { font-weight: 500; letter-spacing: -.025em; }
.hero-v2 h3,
.hero-v2 legend { font-weight: 700; letter-spacing: -.015em; }
.hero-v2 .hero2 h1 { font-size: clamp(2.75rem, 5.8vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; max-width: 9em; }
.hero-v2 .svc h3,
.hero-v2 .wk-feature h3,
.hero-v2 .how-copy h3,
.hero-v2 .ct-step legend,
.hero-v2 .ct-done-title,
.hero-v2 .qa summary { font-weight: 600; }
.hero-v2 .rv blockquote p { font-weight: 500; }
.hero-v2 .rv-feature blockquote p { font-weight: 500; letter-spacing: -.02em; }
.hero-v2 .stat,
.hero-v2 .proof-title,
.hero-v2 .wordmark,
.hero-v2 .ft-mark { font-weight: 700; }
.hero-v2 .wk-big { font-weight: 500; }
.hero-v2 .ct-intro h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.hero-v2 .ct-opt span { font-weight: 600; }

/* Buttons: small rounded rectangles */
.hero-v2 .btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: .9375rem;
  font-weight: 600;
}
.hero-v2 .btn-small { min-height: 40px; padding: 8px 16px; }
.hero-v2 .menu-toggle { border-radius: 10px; }
.hero-v2 .ct-back { font-weight: 600; }

/* Section labels: small colour square + word */
.hero-v2 .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-v2 .about-copy .eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.ico-sq {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--c);
  vertical-align: -3px;
}
.ico-sq svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-v2 .svc-statement {
  display: block;
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.6;
  color: var(--ink-3);
}
.hero-v2 .svc-statement .ico-sq { width: 26px; height: 26px; margin: 0 2px; vertical-align: -6px; }
.hero-v2 .svc-statement .ico-sq svg { width: 16px; height: 16px; }

/* Thin frame lines down the page and between sections */
@media (min-width: 1320px) {
  .hero-v2 main {
    background-image:
      linear-gradient(90deg, transparent calc(50% - 641px), var(--line) calc(50% - 641px), var(--line) calc(50% - 640px), transparent calc(50% - 640px)),
      linear-gradient(90deg, transparent calc(50% + 640px), var(--line) calc(50% + 640px), var(--line) calc(50% + 641px), transparent calc(50% + 641px));
  }
}
.hero-v2 main > section.section,
.hero-v2 main > .work,
.hero-v2 main > .proof { border-top: 1px solid var(--line); }
.hero-v2 main > .proof { padding-top: 40px; }
.hero-v2 .lined::before { display: none; }

/* Faint dotted grids */
.hero-v2 .hero2::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  background-image: radial-gradient(rgba(14, 15, 12, .12) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero-v2 .wk-number::before {
  background-image: radial-gradient(rgba(22, 51, 0, .16) 1px, transparent 1.2px);
  background-size: 18px 18px;
}

/* Flatter, calmer colour: surfaces mostly white, green where it means something */
.hero-v2 .work-watermark { display: none; }
.hero-v2 .ct-panel {
  background-color: var(--inset);
  background-image: radial-gradient(rgba(14, 15, 12, .10) 1px, transparent 1.2px);
  background-size: 20px 20px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.hero-v2 .ct-intro h2, .hero-v2 .ct-lead, .hero-v2 .ct-promise { color: var(--ink); }
.hero-v2 .ct-lead { color: var(--ink-2); }
.hero-v2 .hl-white {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath fill='%239FE870' d='M3 10C38 6 86 8 128 5c26-2 52 0 67 3l-2 7 3 6-3 9c-34 5-76 3-114 5-26 1-52 0-75-2l2-8-3-7z'/%3E%3C/svg%3E");
}
.hero-v2 .ct-form { box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(14, 15, 12, .05); }
.hero-v2 .ct-bar i.is-done { background: var(--forest); }
.hero-v2 .svc-search { background: var(--white); }
.hero-v2 .svc-search .sr-box, .hero-v2 .svc-search .sr-list { background: var(--inset); }
.hero-v2 .svc-search .sr-you { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.hero-v2 .wk-number { background: var(--white); box-shadow: 0 0 0 1px var(--line); }

/* Service icons: small colour squares instead of circles */
.hero-v2 .svc-icon { width: 40px; height: 40px; border-radius: 11px; }
.hero-v2 .svc-icon svg { width: 20px; height: 20px; stroke: var(--ink); }
.hero-v2 .svc-websites .svc-icon { background: #9FE870; }
.hero-v2 .svc-search .svc-icon { background: #A0E1E1; }
.hero-v2 .svc-tools .svc-icon { background: #FFEB69; }
.hero-v2 .svc-video .svc-icon { background: #FFC091; }
.hero-v2 .svc h3 { margin-top: 22px; }

/* Straighten everything that was tilted */
.hero-v2 .fl-a, .hero-v2 .fl-c, .hero-v2 .fl-d, .hero-v2 .fl-f,
.hero-v2 .fl-g, .hero-v2 .fl-h { transform: none; }
.hero-v2 .ct-note { transform: none; }
.hero-v2 .ct-note-tag { transform: none; }
.hero-v2 .tl-chip, .hero-v2 .tl-sent { transform: none; }
.hero-v2 .sr-you { transform: none; }
.hero-v2 .vs-phone { transform: none; }
.hero-v2 .telal-drum { transform: none; }
.hero-v2 .rv-mark { font-size: 3rem; }
.hero-v2 .rv-feature .rv-mark { font-size: 4.5rem; }

/* About: no comic bubbles in version 2, just the drum and its label */
.hero-v2 .oyez, .hero-v2 .telal-sound { display: none; }

/* Calmer motion: soft fades, no bounce */
@media (prefers-reduced-motion: no-preference) {
  .hero-v2 .fl { animation-duration: 14s; }
  .hero-v2.js .reveal { transform: translateY(10px); transition-duration: .6s; }
  .hero-v2.js .reveal.is-visible { transform: none; }
}

/* Header: a hairline under it */
.hero-v2 .site-header { box-shadow: 0 1px 0 var(--line); background-image: none; }
.hero-v2 .site-nav a:not(.btn) { border-radius: 10px; font-weight: 500; }
