/* ============================================================
   Designed creatives ; branded key visuals that replace the
   striped placeholders. Pure CSS "posters": each reads as a
   piece of client brand/campaign work. Container-query sized
   so one markup pattern scales across every card aspect ratio.
   ============================================================ */

.cv {
  position: relative;
  container-type: size;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background-image: none !important;
  color: var(--cv-fg, #fff);
  background: var(--cv-bg, var(--ink));
  font-family: var(--font-display);
}

/* layout: top row / spacer / bottom block */
.cv-inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 7cqh 7cqh;
  z-index: 2;
}
.cv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 4.4cqh;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.82;
}
.cv-top .idx {
  font-family: var(--font-display);
  font-weight: 700;
  opacity: 0.6;
  letter-spacing: 0;
}
.cv-mark {
  font-weight: 800;
  font-size: 20cqh;
  line-height: 0.92;
  letter-spacing: -0.03em;
  align-self: end;
}
.cv-tag {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 5cqh;
  line-height: 1.25;
  opacity: 0.85;
  margin-top: 2.5cqh;
  max-width: 22ch;
}
.cv-chip {
  align-self: end;
  justify-self: end;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 4cqh;
  padding: 1.8cqh 3.4cqh;
  border-radius: 999px;
  border: 0.6cqh solid currentColor;
  opacity: 0.9;
  white-space: nowrap;
}
.cv-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4cqh;
}

/* wide feature: bigger type, mark sits lower-left */
.cv.wide .cv-mark { font-size: 15cqh; }
.cv.wide .cv-inner { padding: 6cqh 6cqh; }
.cv.wide .cv-top { font-size: 3.2cqh; }
.cv.wide .cv-tag { font-size: 3.6cqh; }
.cv.wide .cv-chip { font-size: 3cqh; }

/* small strip creatives: hide tagline, center mark */
.cv.mini .cv-tag, .cv.mini .cv-chip { display: none; }
.cv.mini .cv-mark { font-size: 17cqh; align-self: center; }
.cv.mini .cv-inner { grid-template-rows: auto 1fr; }

/* ---- Motif layer (decorative, behind text) ---- */
.cv-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* concentric rings */
.m-rings .cv-art {
  background:
    radial-gradient(circle at 82% 78%,
      transparent 0 8%,
      var(--cv-line) 8% 8.7%, transparent 8.7% 17%,
      var(--cv-line) 17% 17.7%, transparent 17.7% 27%,
      var(--cv-line) 27% 27.7%, transparent 27.7% 38%,
      var(--cv-line) 38% 38.7%, transparent 38.7%);
}
/* dot grid */
.m-dots .cv-art {
  background-image: radial-gradient(var(--cv-line) 1.4cqh, transparent 1.5cqh);
  background-size: 9cqh 9cqh;
  opacity: 0.9;
}
/* fine grid */
.m-grid .cv-art {
  background-image:
    linear-gradient(var(--cv-line) 0.5cqh, transparent 0.5cqh),
    linear-gradient(90deg, var(--cv-line) 0.5cqh, transparent 0.5cqh);
  background-size: 11cqh 11cqh;
}
/* big offset arc */
.m-arc .cv-art::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -30%;
  width: 70cqh;
  height: 70cqh;
  border-radius: 50%;
  border: 7cqh solid var(--cv-line);
}
.m-arc .cv-art::after {
  content: "";
  position: absolute;
  left: -22%;
  bottom: -45%;
  width: 60cqh;
  height: 60cqh;
  border-radius: 50%;
  background: var(--cv-line);
}
/* diagonal stripes */
.m-diag .cv-art {
  background-image: repeating-linear-gradient(-50deg,
    transparent 0 6cqh, var(--cv-line) 6cqh 7.2cqh);
}
/* offset blocks */
.m-blocks .cv-art::before {
  content: "";
  position: absolute;
  right: 8%; top: 16%;
  width: 34cqh; height: 34cqh;
  background: var(--cv-line);
  border-radius: 4cqh;
  transform: rotate(8deg);
}
.m-blocks .cv-art::after {
  content: "";
  position: absolute;
  right: 22%; top: 30%;
  width: 26cqh; height: 26cqh;
  border: 1.2cqh solid var(--cv-accent, var(--cv-fg));
  border-radius: 4cqh;
  transform: rotate(-6deg);
  opacity: 0.7;
}
/* soft glow wash */
.m-wash .cv-art {
  background:
    radial-gradient(circle at 78% 22%, var(--cv-glow) 0%, transparent 46%),
    radial-gradient(circle at 16% 90%, var(--cv-line) 0%, transparent 40%);
}

/* ---- Themes (duotone, cohesive with the warm page) ---- */
.t-ink   { --cv-bg: oklch(0.275 0.014 62); --cv-fg: oklch(0.95 0.012 80);  --cv-line: oklch(1 0 0 / 0.09); --cv-accent: var(--accent); --cv-glow: oklch(0.64 0.158 42 / 0.4); }
.t-terra { --cv-bg: oklch(0.585 0.135 42); --cv-fg: oklch(0.98 0.015 82);  --cv-line: oklch(1 0 0 / 0.16); --cv-glow: oklch(0.72 0.13 60 / 0.5); }
.t-teal  { --cv-bg: oklch(0.455 0.062 196);--cv-fg: oklch(0.97 0.012 200); --cv-line: oklch(1 0 0 / 0.13); --cv-glow: oklch(0.6 0.08 200 / 0.5); }
.t-ochre { --cv-bg: oklch(0.685 0.115 76); --cv-fg: oklch(0.24 0.02 70);   --cv-line: oklch(0.24 0.02 70 / 0.14); --cv-glow: oklch(0.8 0.1 85 / 0.5); }
.t-sage  { --cv-bg: oklch(0.63 0.058 150); --cv-fg: oklch(0.22 0.02 150);  --cv-line: oklch(0.22 0.02 150 / 0.14); --cv-glow: oklch(0.78 0.07 150 / 0.5); }
.t-clay  { --cv-bg: oklch(0.6 0.1 20);     --cv-fg: oklch(0.98 0.013 30);  --cv-line: oklch(1 0 0 / 0.15); --cv-glow: oklch(0.72 0.1 30 / 0.5); }
.t-cream { --cv-bg: oklch(0.93 0.018 80);  --cv-fg: oklch(0.27 0.014 62);  --cv-line: oklch(0.4 0.02 62 / 0.13); --cv-accent: var(--accent); --cv-glow: oklch(0.64 0.158 42 / 0.3); }
.t-navy  { --cv-bg: oklch(0.345 0.05 255); --cv-fg: oklch(0.95 0.012 250); --cv-line: oklch(1 0 0 / 0.1);  --cv-glow: oklch(0.55 0.1 255 / 0.5); }

/* accent dot/glyph used in some creatives */
.cv-glyph {
  width: 6cqh; height: 6cqh;
  border-radius: 50%;
  background: var(--cv-accent, currentColor);
  display: inline-block;
}
.cv-glyph.d { border-radius: 1.4cqh; transform: rotate(45deg); background: none; border: 1.4cqh solid var(--cv-accent, currentColor); }

/* image-slot styling to match cards */
image-slot {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-portrait image-slot { aspect-ratio: 4 / 5; border-radius: 24px; }
.about-photo image-slot { aspect-ratio: 1; border-radius: 22px; }
.about-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 22px;
  border: 1px solid var(--line);
}

/* ============================================================
   EXPERIENCE ; real career timeline
   ============================================================ */.exp { padding: clamp(80px, 12vh, 140px) 0; background: var(--bg-2); }
.exp-list { margin-top: 12px; border-top: 1px solid var(--line); }
.exp-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 44px;
  padding: 34px 8px 34px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.exp-item:hover { background: var(--surface); padding-left: 18px; }
.exp-period {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.exp-now {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-wash);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
}
.exp-loc { color: var(--ink-faint); font-size: 14px; margin-top: 6px; }
.exp-role { font-size: clamp(20px, 2.1vw, 26px); }
.exp-co {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  margin-top: 3px;
}
.exp-desc { color: var(--ink-soft); margin-top: 13px; font-size: 16px; max-width: 66ch; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.exp-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.exp-item:hover .exp-tag { border-color: var(--line-soft); }
@media (max-width: 720px) {
  .exp-item { grid-template-columns: 1fr; gap: 14px; }
  .exp-item:hover { padding-left: 8px; }
}

/* context aspect ratios (mirror the old .ph rules) */
.case .thumb .cv { aspect-ratio: 16 / 9; }
.venture .cv { aspect-ratio: 16 / 9; }
.case.feature .thumb .cv { aspect-ratio: 21 / 8; }
.post .cv { aspect-ratio: 16 / 10; }
.hero-block .panel .cv { aspect-ratio: 16 / 10; border-radius: 16px; }
.hero-strip .cv { aspect-ratio: 5 / 4; border-radius: 16px; }

/* ============================================================
   PROCESS ; Discover · Strategise · Execute · Optimise
   ============================================================ */
.process { padding: clamp(80px, 12vh, 140px) 0; }
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 8px;
}
.proc-step {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  position: relative;
}
.proc-step::before {
  content: "";
  position: absolute;
  top: -7px; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.proc-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.proc-step h3 { font-size: 23px; margin-top: 16px; }
.proc-step p { color: var(--ink-soft); margin-top: 12px; font-size: 15.5px; }
@media (max-width: 920px) {
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .proc-grid { grid-template-columns: 1fr; }
}

/* monogram avatars for testimonials */
.quote .who .av {
  background-image: none;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--cv-fg, #fff);
  background: var(--av-bg, var(--ink));
  border-color: transparent;
}
.av.a1 { --av-bg: oklch(0.585 0.135 42); }
.av.a2 { --av-bg: oklch(0.345 0.05 255); }
.av.a3 { --av-bg: oklch(0.455 0.062 196); }
.av.a4 { --av-bg: oklch(0.6 0.1 20); }

/* ============================================================
   VENTURES ; founder / built & exited
   ============================================================ */
.ventures { padding: clamp(80px, 12vh, 140px) 0; }
.ventures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.venture {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.venture:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 66px -40px oklch(0.3 0.02 60 / 0.5);
}
.venture-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 30px;
}
.venture-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.venture-status::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.venture h3 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 14px; }
.venture .v-meta { color: var(--ink-soft); font-size: 14.5px; font-weight: 500; margin-top: 5px; }
.venture p { color: var(--ink-soft); font-size: 16px; margin-top: 15px; }
.venture .v-outcome {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.venture .v-outcome .arrow { color: var(--accent); transition: transform .3s var(--ease); }
.venture:hover .v-outcome .arrow { transform: translateX(4px); }
.ventures-note {
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-faint);
  text-align: center;
}
@media (max-width: 820px) { .ventures-grid { grid-template-columns: 1fr; } }