/* Layout: a soft editorial résumé. Results lead in a rounded "account summary" card, story follows in a 12-col grid, blush washes behind the hero. */
:root {
  --paper: #FFF8F8;        /* blush white */
  --sheet: #FFFFFF;
  --ink: #2E1A2F;          /* deep plum */
  --ink-2: #624B63;
  --ink-3: #927C91;
  --rule: #F1DDE2;
  --accent: #D2386C;       /* raspberry rose: marks the 10x+ winners */
  --accent-ink: #AE2757;
  --accent-soft: #FCE7EE;
  --blush: #F9D3DE;
  --lilac: #EADCF6;
  --bar-muted: #D5C0CC;
  --plum-bg: #2E1A2F;
  --on-plum: #FFF1F5;
  --shadow: 0 1px 2px rgba(110, 40, 80, .05), 0 12px 32px -12px rgba(150, 50, 100, .18);

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "DM Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-data: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-script: "Allura", "Snell Roundhand", "Segoe Script", cursive;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 2.9rem);
  --step-4: clamp(2.6rem, 1.5rem + 4.2vw, 4.6rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1B1219; --sheet: #251A23; --ink: #FAEEF2; --ink-2: #D6C2CD; --ink-3: #A48F9E;
    --rule: #3B2A37; --accent: #FF7FA6; --accent-ink: #FFA3BF; --accent-soft: #3E1F2D;
    --blush: #3D2130; --lilac: #2F2342; --bar-muted: #6B5565; --plum-bg: #2A1628; --on-plum: #FFF1F5;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1B1219; --sheet: #251A23; --ink: #FAEEF2; --ink-2: #D6C2CD; --ink-3: #A48F9E;
  --rule: #3B2A37; --accent: #FF7FA6; --accent-ink: #FFA3BF; --accent-soft: #3E1F2D;
  --blush: #3D2130; --lilac: #2F2342; --bar-muted: #6B5565; --plum-bg: #2A1628; --on-plum: #FFF1F5;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.5); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-optical-sizing: auto; text-wrap: balance; margin: 0; letter-spacing: -0.015em; font-weight: 500; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 500 var(--step--1)/1 var(--f-data); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-3); display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.num { font-family: var(--f-data); font-variant-numeric: tabular-nums; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.mark { font: 500 1.2rem/1 var(--f-display); text-decoration: none; letter-spacing: -0.01em; }
.mark i { font-style: italic; color: var(--accent); }
.mark span { color: var(--accent); }
.nav ul { list-style: none; display: flex; gap: clamp(12px, 2.4vw, 28px); margin: 0; padding: 0; font-size: 0.9rem; }
.nav ul a { text-decoration: none; color: var(--ink-2); }
.nav ul a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  font: 600 0.9rem/1 var(--f-body); text-decoration: none; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.rose { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn.ghost { background: transparent; color: var(--ink); }
.nav .btn { padding: 9px 14px; }
@media (max-width: 760px) { .nav ul { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(20px, 3.5vw, 48px) clamp(28px, 4vw, 48px);
  background:
    radial-gradient(40rem 26rem at 88% 8%, var(--blush), transparent 70%),
    radial-gradient(34rem 24rem at 62% 100%, var(--lilac), transparent 70%),
    var(--paper); }
.hello { display: block; font: 400 clamp(2.4rem, 1.8rem + 2vw, 3.4rem)/1 var(--f-script); color: var(--accent); margin-top: 18px; transform: rotate(-3deg); transform-origin: left; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.portrait { margin: 0; display: grid; gap: 16px; justify-items: center; }
.arch { position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; max-width: 100%; border-radius: 999px 999px 28px 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--blush), var(--lilac)); box-shadow: var(--shadow), 0 0 0 10px color-mix(in srgb, var(--sheet) 70%, transparent); }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.arch .initials { position: absolute; inset: 0; display: grid; place-items: center; font: 400 6rem/1 var(--f-script); color: var(--accent); }
.portrait figcaption { display: grid; gap: 2px; text-align: center; font-size: 0.85rem; color: var(--ink-3); }
.portrait .script { font: 400 2rem/1 var(--f-script); color: var(--accent); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; }
  .portrait figcaption { display: none; }
}
/* phone: small arch beside the greeting, headline and copy full width underneath */
@media (max-width: 600px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 112px; column-gap: 16px; row-gap: 0; align-items: start;
    grid-template-areas: "status photo" "hello photo" "h1 h1" "lede lede" "pillars pillars" "ctas ctas"; }
  .hero-grid > div:first-child { display: contents; }
  .hero .status { grid-area: status; align-self: end; }
  .hero .hello { grid-area: hello; align-self: start; }
  .hero h1 { grid-area: h1; margin-top: 14px; }
  .hero .lede { grid-area: lede; }
  .hero .pillars { grid-area: pillars; }
  .hero .ctas { grid-area: ctas; }
  .portrait { grid-area: photo; }
  .arch { width: 112px; box-shadow: var(--shadow), 0 0 0 5px color-mix(in srgb, var(--sheet) 70%, transparent); }
  .arch .initials { font-size: 2.6rem; }
}
.hero h1 { font-size: var(--step-4); line-height: 1.02; font-weight: 400; margin-top: 8px; letter-spacing: -0.025em; }
.hero .lede { margin-top: 26px; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.pillars { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 12px; font: 500 0.78rem/1 var(--f-data); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.pillars b { color: var(--accent); font-weight: 500; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--step--1)/1 var(--f-data); color: var(--ink-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 4px color-mix(in srgb, #22A06B 22%, transparent); }

/* ledger: the most recent performance strip */
.ledger { margin-top: clamp(40px, 6vw, 64px); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ledger header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 16px clamp(18px, 2vw, 26px); border-bottom: 1px solid var(--rule);
  font: 500 0.75rem/1.2 var(--f-data); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.ledger ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ledger li { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 28px) clamp(18px, 2vw, 26px); border-right: 1px solid var(--rule);
  animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.ledger li:last-child { border-right: 0; }
@media (max-width: 960px) { .ledger ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ledger li { border-bottom: 1px solid var(--rule); } .ledger li:nth-child(2n) { border-right: 0; } .ledger li:last-child { grid-column: span 2; border-bottom: 0; } }
.ledger li:nth-child(2) { animation-delay: .08s } .ledger li:nth-child(3) { animation-delay: .16s }
.ledger li:nth-child(4) { animation-delay: .24s } .ledger li:nth-child(5) { animation-delay: .32s }
.ledger .k { font-size: 0.92rem; line-height: 1.35; color: var(--ink-2); }
.ledger .v { margin-bottom: 4px; font: 400 clamp(2rem, 1.4rem + 1.6vw, 2.6rem)/1 var(--f-display); font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.ledger .s { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--rule); font: 400 0.72rem/1.4 var(--f-data); color: var(--ink-3); }
.ledger li.hot .v { color: var(--accent); font-style: italic; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }

/* ---------- proof strip ---------- */
.proof { border-block: 1px solid var(--rule); padding-block: 22px; }
.proof .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 40px; }
.proof .badge { grid-row: 1 / span 2; }
.proof .label { align-self: end; }
@media (max-width: 720px) { .proof .wrap { grid-template-columns: 1fr; gap: 14px; } .proof .badge { grid-row: auto; justify-self: start; } }
.proof .label { font: 500 0.75rem/1 var(--f-data); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.proof ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.proof li { font: italic 400 1.15rem/1.2 var(--f-display); color: var(--ink-2); letter-spacing: -0.01em; }
.badge { display: inline-flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--accent); color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px;
  font: 500 0.8rem/1.1 var(--f-data); }
.badge b { font-family: var(--f-display); font-size: 1.05rem; }

/* ---------- sections ---------- */
section.block { padding-block: clamp(64px, 9vw, 120px); }
.proof + section.block { padding-top: clamp(48px, 6vw, 80px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: var(--step-3); line-height: 1.1; font-weight: 400; margin-top: 16px; }
.sec-head p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- featured case study ---------- */
.feature { background: var(--sheet); border-block: 1px solid var(--rule); }
.cs-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font: 500 0.75rem/1 var(--f-data); padding: 7px 10px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.kpi { padding: clamp(20px, 2.2vw, 28px) clamp(18px, 2vw, 26px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.kpi:nth-child(4n) { border-right: 0; }
.kpi:nth-child(n+5) { border-bottom: 0; }
.kpi .v { font: 400 clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem)/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.01em; }
.kpi .k { font-size: 0.92rem; line-height: 1.35; color: var(--ink-2); }
.kpi.hot .v { color: var(--accent); font-style: italic; }
@media (max-width: 760px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(4n) { border-right: 1px solid var(--rule); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-child(n+5) { border-bottom: 1px solid var(--rule); }
  .kpi:nth-child(n+7) { border-bottom: 0; }
}
.cs-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 64px); margin-top: clamp(40px, 6vw, 64px); }
@media (max-width: 960px) { .cs-body { grid-template-columns: 1fr; } }
.cs-story h3 { font-size: var(--step-2); line-height: 1.15; }
.cs-story p { color: var(--ink-2); margin-top: 14px; max-width: 60ch; }
.cs-story strong { color: var(--ink); }

/* chart */
.chart-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(18px, 2.8vw, 28px); background: var(--sheet); box-shadow: var(--shadow); min-width: 0; }
.chart-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.chart-top h4 { margin: 0; font: 600 1rem/1.3 var(--f-body); }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; background: var(--sheet); }
.seg button { font: 500 0.8rem/1 var(--f-data); border: 0; background: transparent; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: var(--ink-2); margin-bottom: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .ref { width: 14px; height: 0; border-top: 2px dashed var(--ink); border-radius: 0; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.bar-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 4.6rem; align-items: center; gap: 12px; cursor: default; border-radius: 6px; padding-block: 2px; }
.bar-row:hover, .bar-row:focus-visible { background: var(--sheet); }
.bar-row .name { font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.bar-row .val { font: 500 0.82rem/1 var(--f-data); font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); }
.track { position: relative; height: 18px; }
.fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--bar-muted); border-radius: 0 4px 4px 0; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.fill.hot { background: var(--accent); }
.gridline { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--rule); }
.refline { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 2px dashed var(--ink); z-index: 1; opacity: .7; }
.axis { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 4.6rem; gap: 12px; margin-top: 8px; }
.axis .ticks { position: relative; height: 16px; }
.axis .ticks span { position: absolute; transform: translateX(-50%); font: 400 0.7rem/1 var(--f-data); color: var(--ink-3); white-space: nowrap; }
.axis .ticks span:first-child { transform: none; }
@media (max-width: 520px) {
  .bar-row, .axis { grid-template-columns: 6.5rem minmax(0, 1fr) 3.9rem; gap: 8px; }
  .bar-row .name { font-size: 0.78rem; }
}
.tip {
  position: fixed; z-index: 40; pointer-events: none; background: var(--ink); color: var(--paper);
  padding: 10px 12px; border-radius: 8px; font: 400 0.78rem/1.5 var(--f-data); min-width: 190px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.tip b { font: 600 0.85rem/1.3 var(--f-body); display: block; margin-bottom: 4px; }
.tip div { display: flex; justify-content: space-between; gap: 16px; }
.chart-note { margin-top: 14px; font-size: 0.78rem; color: var(--ink-3); }
details.table-view { margin-top: 14px; }
details.table-view summary { cursor: pointer; font: 500 0.8rem/1 var(--f-data); color: var(--ink-2); }
.tbl-wrap { overflow-x: auto; margin-top: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
th { font: 500 0.72rem/1.2 var(--f-data); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
tfoot td { font-weight: 600; border-bottom: 0; }

/* learnings */
.learn { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 32px; margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--rule); }
.learn article { grid-column: span 2; padding: 24px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.learn article:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 860px) { .learn { grid-template-columns: 1fr; } .learn article, .learn article:nth-child(-n+2) { grid-column: auto; } }
.learn h4 { margin: 0; font: 500 1.2rem/1.25 var(--f-display); letter-spacing: -0.01em; }
.learn p { color: var(--ink-2); font-size: 0.95rem; }
.learn .stat { font: 500 0.8rem/1 var(--f-data); color: var(--accent-ink); }
.next { margin-top: 32px; padding: 22px 24px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; }
.next .eyebrow { color: var(--accent-ink); }
.next p { max-width: 80ch; }
@media (max-width: 620px) { .next { grid-template-columns: 1fr; } }

/* ---------- more work ---------- */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card:hover { box-shadow: var(--shadow); }
.card:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.card.w7 { grid-column: span 7; } .card.w5 { grid-column: span 5; } .card.w4 { grid-column: span 4; }
@media (max-width: 960px) { .card.w7, .card.w5, .card.w4 { grid-column: span 12; } }
@media (min-width: 620px) and (max-width: 960px) { .card.w4 { grid-column: span 6; } .card.w4:last-child { grid-column: span 12; } }
.card .tag { font: 500 0.72rem/1 var(--f-data); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.card .big { font: 400 clamp(2.4rem, 1.5rem + 3vw, 3.6rem)/1 var(--f-display); color: var(--accent-ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.card .big small { font-family: var(--f-body); font-size: 0.34em; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.card h3 { font-size: var(--step-1); line-height: 1.25; }
.card p { color: var(--ink-2); font-size: 0.95rem; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 0.92rem; display: grid; gap: 6px; }
.card .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 6px; }

/* growth mini-chart */
.spark { width: 100%; height: auto; display: block; }


/* ---------- portfolio index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { font: 500 0.85rem/1 var(--f-body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.filters button .num { font-size: 0.75rem; color: var(--ink-3); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters button[aria-pressed="true"] .num { color: var(--accent); }
.projects { list-style: none; margin: 0; padding: 0; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.projects li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-width: 0; }
.projects li.wide { grid-column: span 2; }
@media (max-width: 620px) { .projects li.wide { grid-column: auto; } }
.projects li.wide .proj h3 { font-size: 1.4rem; }
.proj { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px 44px 22px 22px; text-decoration: none; background: var(--paper); transition: background .2s ease; }
.proj:hover, .proj:focus-visible { background: var(--sheet); }
.proj .tag { font: 500 0.7rem/1 var(--f-data); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); }
.proj h3 { font: 500 1.12rem/1.3 var(--f-display); letter-spacing: -0.01em; }
@media (max-width: 1000px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .projects { grid-template-columns: 1fr; } }
.proj .desc { font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; }
.proj .client { margin-top: auto; font-size: 0.85rem; color: var(--ink-3); }
.proj .go { position: absolute; top: 20px; right: 20px; color: var(--ink-3); transition: transform .2s ease, color .2s ease; }
.proj:hover .go { color: var(--accent); transform: translate(2px, -2px); }
/* ---------- approach ---------- */
.approach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }
.approach article { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--accent); padding-top: 18px; }
@media (max-width: 960px) { .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .approach { grid-template-columns: 1fr; } }
.approach h3 { font-size: var(--step-1); }
.approach p { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- experience ---------- */
.xp { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.xp li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px 40px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.xp .when { font: 500 0.82rem/1.5 var(--f-data); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.xp h3 { font-size: var(--step-1); line-height: 1.25; }
.xp .org { color: var(--ink-2); margin-top: 4px; font-size: 0.95rem; }
.xp .what { color: var(--ink-2); font-size: 0.95rem; display: grid; gap: 8px; }
.xp .what ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 860px) { .xp li { grid-template-columns: 1fr; } }

/* ---------- toolkit ---------- */
.kit { display: grid; border-top: 1px solid var(--rule); }
.kit div { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 12px 32px; align-items: start; padding-block: 20px; border-bottom: 1px solid var(--rule); }
.kit h3 { padding-top: 10px; font: 600 0.78rem/1.3 var(--f-data); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.kit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kit li { font-size: 0.88rem; padding: 7px 13px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); }
@media (max-width: 760px) { .kit div { grid-template-columns: 1fr; } .kit h3 { padding-top: 0; } }
.edu { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.edu > div { border-top: 1px solid var(--rule); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.edu h3 { margin: 0; }
.edu p { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact { background: radial-gradient(36rem 22rem at 90% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), var(--plum-bg); color: var(--on-plum); }
.contact .eyebrow { color: color-mix(in srgb, var(--on-plum) 70%, var(--plum-bg)); }
.contact .eyebrow::before { box-shadow: none; }
.contact h2 { font-size: var(--step-4); line-height: 1.05; font-weight: 400; margin-top: 18px; max-width: 16ch; }
.contact h2 em { color: #FF8DB0; }
.contact p { margin-top: 20px; max-width: 54ch; font-size: var(--step-1); color: color-mix(in srgb, var(--on-plum) 80%, var(--plum-bg)); }
.contact-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.email { font: 500 clamp(1rem, 0.8rem + 1vw, 1.35rem)/1 var(--f-data); padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--on-plum) 35%, var(--plum-bg)); border-radius: 999px; user-select: all; overflow-wrap: anywhere; }
.contact .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact .btn.ghost { background: transparent; color: var(--on-plum); border-color: color-mix(in srgb, var(--on-plum) 35%, var(--plum-bg)); }
.contact .sign { display: block; margin-top: 40px; font: 400 3rem/1 var(--f-script); color: #FF8DB0; }
.copied { font: 500 0.8rem/1 var(--f-data); color: #FF8DB0; }
footer { padding-block: 28px; font: 400 0.78rem/1.5 var(--f-data); color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

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

/* ---------- best creative ---------- */
.soc-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.soc-bar .filters { margin-bottom: 0; }
.soc-nav { display: flex; gap: 8px; }
.soc-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: background .15s ease, color .15s ease; }
.soc-nav button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.soc-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 8px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--blush) transparent; }
.plat { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; color: #fff; }
.plat svg { width: 18px; height: 18px; }
.plat.ig { background: radial-gradient(circle at 30% 110%, #FDBA4D 0 20%, #F2542D 45%, #D62976 65%, #7A3FB0 100%); }
.plat.fb { background: #1877F2; }
.plat.tt { background: #111; }
.plat.yt { background: #FF0033; }

.cr { position: relative; flex: 0 0 min(290px, 78vw); aspect-ratio: 4 / 5; max-width: 100%; scroll-snap-align: start; border-radius: 26px; overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px; color: #fff; box-shadow: var(--shadow); isolation: isolate; transition: transform .2s ease; }
.cr:hover { transform: translateY(-3px); }
.cr.pawrade { background: radial-gradient(120% 90% at 100% 0%, #F7A8C4, transparent 60%), linear-gradient(160deg, #D2386C, #7A3FB0); }
.cr.nightmare { background: radial-gradient(120% 90% at 100% 0%, #8E2450, transparent 60%), linear-gradient(170deg, #2A1628, #0E0A10); }
.cr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cr.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,10,20,.35) 0%, transparent 30%, transparent 45%, rgba(20,10,20,.85) 100%); }
.cr-top { display: flex; align-items: center; gap: 10px; }
.cr-kind { font: 500 0.72rem/1.2 var(--f-data); text-transform: uppercase; letter-spacing: .08em; opacity: .92; }
.cr-body { display: grid; gap: 6px; }
.cr-stat { font: italic 400 clamp(3rem, 2.4rem + 2vw, 4rem)/1 var(--f-display); letter-spacing: -0.02em; }
.cr-sub { font-size: 0.9rem; opacity: .92; }
.cr-title { margin-top: 8px; font: 500 1.25rem/1.2 var(--f-display); }
.cr-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.28); font-size: 0.8rem; opacity: .9; }
.cr.has-img .cr-stat { font-size: clamp(2.4rem, 2rem + 1.5vw, 3rem); }

.accounts { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.accounts .label { font: 500 0.75rem/1 var(--f-data); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.accounts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.accounts a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font-size: 0.85rem; text-decoration: none; color: var(--ink-2); transition: border-color .15s ease, color .15s ease; }
.accounts a:hover { border-color: var(--accent); color: var(--ink); }
.accounts .plat { width: 26px; height: 26px; border-radius: 50%; }
.accounts .plat svg { width: 14px; height: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.badge b { white-space: nowrap; }

/* ---------- case-study pages ---------- */
.case-hero { padding-block: clamp(36px, 6vw, 80px) clamp(72px, 9vw, 112px);
  background: radial-gradient(40rem 26rem at 90% 0%, var(--blush), transparent 70%), radial-gradient(30rem 20rem at 10% 100%, var(--lilac), transparent 70%), var(--paper); }
.case-hero .back { display: inline-flex; font: 500 0.85rem/1 var(--f-body); color: var(--ink-3); text-decoration: none; }
.case-hero .back:hover { color: var(--accent); }
.case-hero .eyebrow { margin-top: 32px; }
.case-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); line-height: 1.04; font-weight: 400; letter-spacing: -0.02em; margin-top: 16px; max-width: 20ch; }
.case-hero .lede { margin-top: 22px; max-width: 60ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.case-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.case-stats-wrap { margin-top: clamp(-64px, -5vw, -40px); }
.case-stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.case-stats.n1 { --n: 1; } .case-stats.n2 { --n: 2; } .case-stats.n3 { --n: 3; } .case-stats.n4 { --n: 4; }
.case-stats > div { padding: clamp(20px, 2.2vw, 28px) clamp(18px, 2vw, 26px); border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.case-stats > div:last-child { border-right: 0; }
.case-stats .v { font: 400 clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem)/1 var(--f-display); font-variant-numeric: lining-nums; }
.case-stats .v.up { color: var(--accent); font-style: italic; }
.case-stats .k { font-size: 0.92rem; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 760px) {
  .case-stats.n3, .case-stats.n4 { --n: 2; }
  .case-stats > div { border-bottom: 1px solid var(--rule); }
  .case-stats > div:nth-child(2n) { border-right: 0; }
  .case-stats.n3 > div:last-child { grid-column: span 2; }
}
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }
.case-main { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 68ch; }
.case-sec { display: grid; gap: 14px; }
.case-sec p { color: var(--ink-2); font-size: 1.05rem; }
.did { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.did li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 1.02rem; }
.did li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.case-sec.result { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: linear-gradient(160deg, var(--accent-soft), var(--sheet) 80%); border: 1px solid var(--rule); }
.case-sec.result p { color: var(--ink); font: 400 clamp(1.2rem, 1rem + .6vw, 1.45rem)/1.45 var(--f-display); }
.case-sec.result .btn.ghost { background: var(--sheet); }
.case-side { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
@media (max-width: 900px) { .case-side { position: static; } }
.side-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 20px; padding: 20px 22px; display: grid; gap: 12px; }
.side-card h2 { font: 500 0.75rem/1 var(--f-data); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.side-card dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; font-size: 0.9rem; }
.side-card dt { color: var(--ink-3); }
.side-card dd { margin: 0; color: var(--ink); }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.swatches li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 0.88rem; }
.swatches .sw { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--rule); }
.swatches code { font: 400 0.75rem/1 var(--f-data); color: var(--ink-3); }
.side-note { font-size: 0.82rem; color: var(--ink-3); }
.acct-list { list-style: none; margin: 0; padding: 0; display: grid; }
.acct-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 0.88rem; }
.acct-list li:last-child a { border-bottom: 0; }
.acct-list span { color: var(--accent-ink); white-space: nowrap; }
.g-title { font-size: var(--step-3); font-weight: 400; margin: 14px 0 28px; }
.case-gallery { padding-top: clamp(32px, 5vw, 56px); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; align-items: start; }
.g-item { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--sheet); border: 1px solid var(--rule); }
.g-item img { display: block; width: 100%; height: auto; }
.gallery:has(.g-item:not([hidden]):only-child) { max-width: 980px; }
.case-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.case-next { padding-block: clamp(40px, 6vw, 72px); }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.next-card { display: grid; gap: 8px; padding: 22px 24px; border: 1px solid var(--rule); border-radius: 20px; background: var(--sheet); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.next-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.next-card span { font: 500 0.75rem/1 var(--f-data); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }
.next-card b { font: 500 1.15rem/1.3 var(--f-display); }
.next-card.right { text-align: right; }
@media (max-width: 620px) { .next-grid { grid-template-columns: 1fr; } .next-card.right { text-align: left; } }

/* ---------- contact: engagement types + form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.engage { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; max-width: 56ch; }
.engage li { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--on-plum) 20%, var(--plum-bg)); border-radius: 16px; }
.engage b { font: 500 1.1rem/1.3 var(--f-display); color: var(--on-plum); }
.engage span { font-size: 0.92rem; color: color-mix(in srgb, var(--on-plum) 75%, var(--plum-bg)); }
.cform { background: var(--sheet); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.5); }
.cform h3 { font: 400 1.6rem/1.2 var(--f-display); }
.cform label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.cform input, .cform select, .cform textarea { font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 11px 13px; width: 100%; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cform textarea { resize: vertical; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) { .frow { grid-template-columns: 1fr; } }
.cform .btn { justify-self: start; background: var(--accent); border-color: var(--accent); color: #fff; }
.cform .btn:disabled { opacity: .6; cursor: wait; }
.contact .cform .fstatus { margin: 0; font-size: 0.9rem; line-height: 1.4; color: var(--ink-2); min-height: 1.4em; max-width: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
