/* Client Project Timeline — "Ribbon plan": blush paper, aubergine ink, raspberry accent,
   ochre for time spent waiting for the client. Work is drawn as ribbons on a week grid. */

@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/gloock-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Wix Madefor Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Wix Madefor Text"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Wix Madefor Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "M PLUS 1 Code"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/m-plus-1-code-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "M PLUS 1 Code"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/m-plus-1-code-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #f6f1ec;
  --card: #ffffff;
  --sunk: #ede5df;
  --grid: #e5dbd4;
  --ink: #2b1d2c;
  --soft: #5e4f5d;
  --faint: #76666f;
  --berry: #b4235a;
  --berry-dark: #8e1a47;
  --berry-tint: #f8dde7;
  --berry-on-ink: #ff86b2;
  --ochre: #e3a33b;
  --ochre-text: #8a5600;
  --ochre-tint: #fbebd0;
  --done: #6e5a6c;
  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Wix Madefor Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "M PLUS 1 Code", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry-dark); text-underline-offset: 3px; }
a:hover { color: var(--berry); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
p { margin: 0; }
.mail { overflow-wrap: anywhere; word-break: break-word; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

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

.kicker {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--berry-dark);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.top { background: var(--paper); border-bottom: 1.5px solid var(--ink); position: relative; }
.top::after {
  content: "";
  position: absolute;
  left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  bottom: 6px;
  width: 120px;
  height: 6px;
  background:
    linear-gradient(90deg, var(--done) 0 22%, transparent 22% 27%, var(--berry) 27% 66%, transparent 66% 71%, var(--ochre) 71% 100%);
  border-radius: 3px;
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding-top: 10px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.brand img { flex: none; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--sunk); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; border-bottom: 1.5px solid var(--ink); }
.weeks { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); pointer-events: none; }
.weeks span { border-left: 1px solid var(--grid); font-family: var(--mono); font-size: 0.75rem; color: var(--faint); padding: 8px 0 0 8px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; }
.hero h1 span { display: block; }
.hero h1 em { display: block; font-style: normal; color: var(--berry); }
.hero .lead { margin-top: 24px; font-size: 1.2rem; color: var(--soft); max-width: 36em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.facts li { font-family: var(--mono); font-weight: 500; font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.text-link { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

.hero-shots { position: relative; min-height: 560px; }
.shot { margin: 0; border-radius: 26px; overflow: hidden; border: 3px solid var(--ink); background: var(--card); box-shadow: 10px 10px 0 var(--ink); }
.hero-shots .shot { position: absolute; width: min(330px, 64%); }
.hero-shots .back { right: 0; top: 0; box-shadow: none; }
.hero-shots .front { left: 0; top: 70px; }

/* ---------- Play button ---------- */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 24px 8px 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; border: 2px solid var(--ink); }
.play:hover { background: var(--berry-dark); color: #fff; border-color: var(--berry-dark); }
.play-diamond { width: 14px; height: 14px; background: var(--ochre); transform: rotate(45deg); flex: none; }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.78rem; opacity: 0.85; }
.play-big { font-weight: 600; font-size: 1.1rem; }
.play-soon { background: transparent; color: var(--ink); cursor: default; }
.play-soon .play-diamond { background: var(--berry); }
.download .play-soon { color: #fff; border-color: #fff; }

/* ---------- How it works (cascade) ---------- */
.how { padding: 88px 0; }
.cascade { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.step { margin-left: calc(var(--i) * 16%); max-width: 46%; min-width: 0; }
.step-week { font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.step-bar { display: block; height: 22px; border-radius: 11px; margin: 8px 0 14px; background: var(--berry); }
.step-review .step-bar { background: repeating-linear-gradient(135deg, var(--ochre) 0 8px, var(--ochre-tint) 8px 16px); border: 2px solid var(--ochre); }
.step-milestone .step-bar { width: 22px; height: 22px; border-radius: 0; transform: rotate(45deg); background: var(--ink); margin-left: 4px; }
.step:first-child .step-bar { background: var(--done); }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.step p { margin-top: 8px; color: var(--soft); }

/* ---------- Features ---------- */
.features { padding: 24px 0 40px; }
.features > .wrap h2 { max-width: 16em; }
.feature { padding: 64px 0; border-top: 1px solid var(--grid); }
.feature:first-of-type { border-top: 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center; }
.feature.flip .feature-grid { grid-template-columns: 360px 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature-label { font-family: var(--mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--berry-dark); margin-bottom: 14px; }
.feature-label span { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--berry); color: #fff; margin-right: 6px; }
.feature-copy p { margin-top: 16px; color: var(--soft); max-width: 34em; }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 26px; }
.points li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 10px; background: var(--ochre); transform: rotate(45deg); }

/* ---------- Extras ---------- */
.extras { padding: 72px 0; background: var(--card); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; margin: 36px 0 0; }
.extras-grid div { border-top: 6px solid var(--berry-tint); padding-top: 14px; }
.extras-grid dt { font-weight: 600; font-size: 1.1rem; }
.extras-grid dd { margin: 6px 0 0; color: var(--soft); }

/* ---------- Honest band ---------- */
.honest { padding: 72px 0; }
.honest-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.honest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.honest li { padding: 16px 20px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--grid); }

/* ---------- Download band ---------- */
.download { background: var(--ink); color: #fff; padding: 64px 0; }
.download-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.download p { margin-top: 12px; color: #e6d9e3; max-width: 36em; }
.download a { color: var(--berry-on-ink); }
.download .play { background: var(--berry); border-color: var(--berry); }

/* ---------- Text pages ---------- */
.page { padding: 56px 0 88px; }
.page h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); }
.rule { display: flex; gap: 6px; align-items: center; margin: 22px 0 26px; border-bottom: 1.5px solid var(--ink); padding-bottom: 10px; }
.rule i { display: block; height: 8px; border-radius: 4px; }
.rule i:nth-child(1) { width: 36px; background: var(--done); }
.rule i:nth-child(2) { width: 64px; background: var(--berry); }
.rule i:nth-child(3) { width: 34px; background: repeating-linear-gradient(135deg, var(--ochre) 0 4px, var(--ochre-tint) 4px 8px); border: 1px solid var(--ochre); }
.page .lead { font-size: 1.2rem; color: var(--soft); }
.page h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 44px 0 14px; }
.page p + p { margin-top: 14px; }
.legal ul { padding-left: 1.2em; margin: 12px 0 0; }
.legal li + li { margin-top: 6px; }
.steps { padding-left: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 14px 18px 14px 64px; background: var(--card); border: 1.5px solid var(--grid); border-radius: 14px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 14px; font-family: var(--mono); font-weight: 700; color: var(--berry); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1.5px solid var(--grid); border-radius: 14px; padding: 0 18px; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; font-weight: 600; min-height: 52px; display: flex; align-items: center; padding: 10px 0; }
.faq details p { padding: 0 0 16px; color: var(--soft); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #f1e8ee; padding: 40px 0 28px; border-top: 6px solid var(--berry); }
.foot-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-name { font-family: var(--serif); font-size: 1.3rem; }
.foot-small { font-size: 0.92rem; color: #cbbcc8; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.foot-links a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; }
.foot-domain { margin-top: 18px; font-family: var(--mono); font-size: 0.8rem; color: #a998a6; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shots { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; }
  .hero-shots .shot { position: static; width: auto; }
  .hero-shots .back { order: 2; margin-top: 40px; }
  .feature-grid, .feature.flip .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-copy { order: 0; }
  .feature .shot { max-width: 340px; }
  .extras-grid { grid-template-columns: 1fr 1fr; }
  .honest-grid { grid-template-columns: 1fr; }
  .step { margin-left: calc(var(--i) * 7%); max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding: 40px 0 48px; }
  .weeks { grid-template-columns: repeat(4, 1fr); }
  .weeks span:nth-child(n + 5) { display: none; }
  .hero .lead { font-size: 1.08rem; }
  .shot { box-shadow: 6px 6px 0 var(--ink); border-radius: 20px; }
  .extras-grid { grid-template-columns: 1fr; }
  .step { margin-left: calc(var(--i) * 5%); }
  .brand { font-size: 1.15rem; }
  .nav a { padding: 0 10px; }
  .top-inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
