/* Zurich Underwriter Simulation — Case Study
   Palette: #b28581 #005baa #1fb1e6 #23366e #dad2bd #91bfe3 */

:root {
  --clay: #b28581;
  --zurich-blue: #005baa;
  --sky: #1fb1e6;
  --navy: #23366e;
  --sand: #dad2bd;
  --mist: #91bfe3;

  --background: #f7f4ef;
  --foreground: #1a1f3a;
  --card: #ffffff;
  --muted: #ece7de;
  --muted-foreground: #5a6178;
  --border: #e2dccf;

  --radius: 0.75rem;
  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Circular figure mark ---------- */
.figure-mark { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.figure-mark span { position: absolute; border-radius: 9999px; display: block; }
.fm-head  { background: var(--zurich-blue); width: 18%; height: 18%; left: 26%; top: 4%; }
.fm-bowl  { background: var(--sky); width: 42%; height: 42%; left: 14%; top: 16%;
            border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.fm-body  { background: var(--navy); width: 78%; height: 78%; left: 0; top: 36%;
            border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.fm-dot   { background: var(--mist); width: 38%; height: 38%; right: 0; bottom: 0; }

/* Decorative blobs */
.blob { position: absolute; border-radius: 9999px; pointer-events: none; }

/* ---------- Primitives ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--navy);
}
.kicker::before { content: ""; display: inline-block; width: 32px; height: 1px; background: currentColor; opacity: 0.5; }
.kicker.clay { color: var(--clay); }
.kicker.zurich { color: var(--zurich-blue); }
.kicker.sky { color: var(--sky); }
.kicker.white { color: rgba(255,255,255,0.9); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; margin-top: 12px; }
.section-head .num {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(48px, 5vw, 64px); color: rgba(90,97,120,0.5); flex-shrink: 0;
}
.section-head.on-dark { border-color: rgba(255,255,255,0.15); }
.section-head.on-dark .num { color: rgba(255,255,255,0.3); }

section { position: relative; overflow: hidden; }
.py-lg { padding-top: 96px; padding-bottom: 96px; }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--border); }
.topbar .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: 1200px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 32px; height: 32px; }
.brand-name { font-family: var(--font-display); font-size: 20px; }
.nav { display: none; gap: 32px; font-size: 14px; color: var(--muted-foreground); }
.nav a:hover { color: var(--foreground); }
.case-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
@media (min-width: 768px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { background: var(--clay); color: #fff; }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1fr;
  gap: 48px; padding: 96px 24px; max-width: 1200px; margin: 0 auto;
}
@media (min-width: 768px) { .hero-inner { grid-template-columns: 7fr 5fr; padding: 128px 24px; } }
.hero-brandline {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.hero-brandline .kicker::before { display: none; }
.hero-client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  flex: 0 0 118px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 24px -16px rgba(35,54,110,0.55);
}
.hero-client-logo img { display: block; width: 100%; height: auto; }
.hero h1 {
  margin-top: 24px; font-size: clamp(48px, 8vw, 92px); line-height: 1.02;
}
.hero .lead { margin-top: 32px; font-size: 20px; max-width: 560px; color: rgba(255,255,255,0.9); }
.hero .sub { margin-top: 24px; font-size: 17px; max-width: 640px; color: rgba(255,255,255,0.8); }
.hero-circle {
  position: relative; aspect-ratio: 1/1; width: 100%; max-width: 420px; margin: 0 auto;
  border-radius: 9999px; background: rgba(255,255,255,0.10); backdrop-filter: blur(6px);
}
.hero-circle .inset { position: absolute; inset: 24px; }
.hero-photo-circle {
  width: 560px;
  aspect-ratio: auto;
  max-width: none;
  margin-top: 72px;
  margin-left: 40px;
  margin-right: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.hero-photo-circle img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  transform: scale(1.18);
  transform-origin: left center;
}
@media (max-width: 900px) {
  .hero-photo-circle {
    width: min(100%, 500px);
    margin: 0 auto;
  }
  .hero-photo-circle img { transform: none; }
}

.meta-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}
.meta-grid {
  position: relative;
  z-index: 3;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px;
  padding: 40px 24px; max-width: 1200px; margin: 0 auto; color: #fff;
}
@media (min-width: 768px) { .meta-grid { grid-template-columns: repeat(5, 1fr); } }
.meta-grid .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(255,255,255,0.6); }
.meta-grid ul { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }

/* ---------- Responsibilities ---------- */
.resp { border-bottom: 1px solid var(--border); }
.resp-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  padding: 80px 24px; max-width: 1200px; margin: 0 auto;
}
@media (min-width: 768px) { .resp-grid { grid-template-columns: 4fr 8fr; } }
.resp h2 { margin-top: 16px; font-size: 36px; }
.resp p { margin-top: 16px; color: var(--muted-foreground); }
.pill {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px;
  padding: 8px 20px; border: 1px solid var(--border); background: var(--card);
  border-radius: 9999px; font-size: 14px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--zurich-blue); }
.resp-list {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
@media (min-width: 640px) { .resp-list { grid-template-columns: 1fr 1fr; } }
.resp-list li { background: var(--card); padding: 24px; display: flex; align-items: center; gap: 16px; }
.resp-list .n {
  font-family: var(--font-display); font-style: italic; font-size: 20px;
  color: rgba(90,97,120,0.7); width: 32px;
}

/* ---------- Overview ---------- */
#overview {
  min-height: 0;
  background: #f7f4ef;
}

.overview-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(76px, 4.88vw, 116px) 24px 0;
}

#overview .section-head {
  align-items: flex-start;
  margin: 0;
  padding-bottom: 26px;
}

#overview .section-head > div:first-child {
  min-width: 0;
}

#overview .section-head h2 {
  margin-top: 12px;
  font-size: clamp(40px, 2.52vw, 60px);
  line-height: 1.05;
  white-space: nowrap;
}

#overview .section-head .num {
  font-size: clamp(64px, 3.2vw, 76px);
  line-height: 0.9;
  color: rgba(90,97,120,0.5);
  padding-top: 28px;
}

.overview-content {
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  min-height: 520px;
}

.overview-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 850px;
  padding: 64px 32px 48px 0;
  font-size: 20px;
  line-height: 1.6;
}

.overview-circle {
  position: relative;
  align-self: start;
  justify-self: end;
  width: 600px;
  aspect-ratio: 1/1;
  margin-top: 60px;
}

.overview-circle .bg { position: absolute; inset: 0; border-radius: 9999px; background: var(--sand); }
.overview-circle .inset { position: absolute; inset: 46px 32px 18px; }
.overview-circle .fm-body { border-radius: 9999px 9999px 0 0; }
.overview-product-shot {
  width: 95%;
  max-width: 650px;
  aspect-ratio: auto;
  margin-top: 60px;
  margin-right: 0;
}
.overview-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.overview-bleed {
  position: absolute;
  width: 270px;
  height: 270px;
  top: 96px;
  right: -110px;
  border-radius: 50%;
  background: var(--mist);
  opacity: 0.4;
}

@media (max-width: 1100px) {
  #overview .section-head h2 { white-space: normal; }
  .overview-content { grid-template-columns: 1fr; }
  .overview-text { max-width: none; padding-right: 0; }
  .overview-circle {
    justify-self: center;
    width: min(600px, 86vw);
    margin-top: 0;
  }
  .overview-product-shot {
    width: min(900px, 92vw);
    margin: 0 auto;
  }
}

/* ---------- Challenge (Navy) ---------- */
.challenge { background: var(--navy); color: #fff; }
.challenge .container { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.challenge .lead { margin-bottom: 40px; max-width: 640px; font-size: 18px; color: rgba(255,255,255,0.85); }
.challenge-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .challenge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .challenge-grid { grid-template-columns: repeat(4, 1fr); } }
.challenge-grid li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 20px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05); border-radius: 12px;
  transition: background 0.2s;
}
.challenge-grid li:hover { background: rgba(255,255,255,0.1); }
.challenge-grid .chk {
  flex-shrink: 0; margin-top: 4px;
  width: 24px; height: 24px; border-radius: 9999px;
  background: var(--sky); color: var(--navy);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.challenge .foot { margin-top: 48px; color: rgba(255,255,255,0.7); font-style: italic; }
.section-head.sky .kicker { color: var(--sky); }

/* ---------- Business Logic → UX ---------- */
.btux-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  padding: 96px 24px; max-width: 1200px; margin: 0 auto;
}
@media (min-width: 768px) { .btux-grid { grid-template-columns: 1fr 1fr; } }
.btux-text { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.7; }
.btux-text .muted { color: var(--muted-foreground); font-style: italic; }

.excel-card {
  align-self: start;
  margin-top: 8px;
  border: 1px solid rgba(35,54,110,0.18);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px -18px rgba(35,54,110,0.42);
}
.excel-label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(35,54,110,0.12);
  background: #f8f8f8;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
.excel-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: #217346;
  color: #fff;
  font: 700 13px/1 Arial, sans-serif;
}
.excel-card img { display: block; width: 100%; height: auto; }
.excel-head { display: flex; align-items: center; gap: 8px; padding: 0 8px 12px; }
.excel-head .dots { display: flex; gap: 6px; }
.excel-head .dots span { width: 10px; height: 10px; border-radius: 9999px; display: block; }
.excel-head .fname { margin-left: 8px; font-size: 12px; color: var(--muted-foreground); }
.excel-table {
  width: 100%; border-collapse: collapse; font-size: 12px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.excel-table th { background: var(--muted); color: var(--muted-foreground); padding: 8px 12px; text-align: left; font-weight: 500; }
.excel-table td { padding: 8px 12px; border-top: 1px solid var(--border); }
.excel-table tr:nth-child(even) td { background: var(--background); }
.excel-note {
  margin-top: 16px; padding: 16px; border-radius: 12px;
  background: rgba(218,210,189,0.4); display: flex; gap: 12px; align-items: center;
  font-size: 14px; color: var(--navy);
}
.excel-note .mark { width: 40px; height: 40px; flex-shrink: 0; }

/* ---------- Decision Journey (Sand) ---------- */
.journey { background: var(--sand); }
.journey .inner { position: relative; padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.journey .lead { margin-bottom: 48px; max-width: 640px; font-size: 18px; color: rgba(35,54,110,0.8); }
.journey ol {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  margin-top: 52px;
  list-style: none;
}
.journey ol::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 5.5%;
  right: 5.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--clay), var(--zurich-blue), var(--navy));
}
.journey li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 28px;
  right: -3px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--navy);
}
.journey .n {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 2px solid rgba(35,54,110,0.24);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px -18px rgba(35,54,110,0.7);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--navy);
}
.journey li:first-child .n { border-color: var(--clay); color: var(--clay); }
.journey li:last-child .n {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.journey .label {
  max-width: 116px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}
@media (max-width: 760px) {
  .journey ol {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
  }
  .journey ol::before {
    top: 34px;
    bottom: 34px;
    left: 33px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--clay), var(--zurich-blue), var(--navy));
  }
  .journey li {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 20px;
    text-align: left;
  }
  .journey li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 28px;
    border-top: 8px solid var(--navy);
    border-right: 6px solid transparent;
    border-bottom: 0;
    border-left: 6px solid transparent;
  }
  .journey .label { max-width: none; margin-top: 0; }
}

/* ---------- Participant Journey Table ---------- */
.pjt { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.pjt .lead { margin-bottom: 40px; max-width: 640px; font-size: 18px; color: var(--muted-foreground); }
.pjt-table { border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.pjt-row {
  display: grid; grid-template-columns: 2fr 3fr 4fr 3fr;
  padding: 16px 24px; gap: 0; border-top: 1px solid var(--border); font-size: 14px;
}
.pjt-row.head {
  background: var(--navy); color: rgba(255,255,255,0.8);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; border-top: 0;
}
.pjt-row:nth-child(even) { background: var(--background); }
.pjt-row .phase {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--clay);
}
.pjt-row .phase-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 6px;
  border: 1px solid rgba(178,133,129,0.32);
  border-radius: 50%;
  background: rgba(178,133,129,0.1);
  color: var(--navy);
  box-shadow: 0 4px 12px -8px rgba(35,54,110,0.7);
}
.pjt-row .phase-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pjt-row .biz { color: var(--muted-foreground); }
.pjt-row .support { font-weight: 500; }
@media (max-width: 640px) { .pjt-row { grid-template-columns: 1fr; gap: 4px; } .pjt-row.head { display: none; } }

/* ---------- IA (Mist) ---------- */
.ia { background: var(--mist); }
.ia .inner { position: relative; padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.ia .section-head { border-color: rgba(35,54,110,0.2); }
.ia .section-head h2, .ia .section-head .kicker { color: var(--navy); }
.ia .section-head .num { color: rgba(35,54,110,0.4); }
.ia .lead { color: rgba(35,54,110,0.8); margin-bottom: 40px; }
.ia-tree {
  overflow-x: auto;
  padding: 12px 0 20px;
}
.ia-tree > ul { min-width: 760px; padding-top: 0; }
.ia-tree ul {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 28px;
}
.ia-tree li {
  position: relative;
  padding: 28px 12px 0;
  list-style: none;
  text-align: center;
}
.ia-tree > ul > li { padding-top: 0; }
.ia-tree li::before,
.ia-tree li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: 28px;
  border-top: 2px solid rgba(35,54,110,0.42);
}
.ia-tree li::after {
  right: auto;
  left: 50%;
  border-left: 2px solid rgba(35,54,110,0.42);
}
.ia-tree li:only-child::before,
.ia-tree li:only-child::after { display: none; }
.ia-tree li:only-child { padding-top: 0; }
.ia-tree li:first-child::before,
.ia-tree li:last-child::after { border: 0; }
.ia-tree li:last-child::before {
  border-right: 2px solid rgba(35,54,110,0.42);
  border-radius: 0 10px 0 0;
}
.ia-tree li:first-child::after { border-radius: 10px 0 0 0; }
.ia-tree ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 28px;
  border-left: 2px solid rgba(35,54,110,0.42);
}
.ia-node {
  min-width: 180px;
  padding: 16px 22px;
  border: 2px solid #fff; background: rgba(255,255,255,0.7);
  border-radius: 16px; font-weight: 500; color: var(--navy);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px -22px rgba(35,54,110,0.7);
}
.ia-node.ia-root {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
}

/* ---------- UX Challenge ---------- */
.uxc { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.uxc-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .uxc-grid { grid-template-columns: 1fr 1fr; } }
.uxc-text { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.7; }
.uxc-text .muted { color: var(--muted-foreground); }
.uxc-list { display: flex; flex-direction: column; gap: 12px; }
.uxc-list li {
  display: flex; gap: 16px; padding: 20px;
  border: 1px solid var(--border); background: var(--card); border-radius: 16px;
}
.uxc-list .n { font-family: var(--font-display); font-style: italic; font-size: 24px; color: var(--clay); }
.uxc .foot { margin-top: 40px; font-size: 14px; color: var(--muted-foreground); font-style: italic; }

/* ---------- Design Approach (Zurich Blue) ---------- */
.approach { background: var(--zurich-blue); color: #fff; }
.approach .inner { position: relative; padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.approach-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .approach-grid { grid-template-columns: repeat(5, 1fr); } }
.approach-card {
  position: relative; overflow: hidden; border-radius: 24px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); padding: 24px;
}
.approach-card::before {
  content: ""; position: absolute; top: -24px; right: -24px;
  width: 96px; height: 96px; border-radius: 9999px;
  background: var(--sky); opacity: 0.35;
}
.approach-card .n { font-family: var(--font-display); font-style: italic; font-size: 28px; color: rgba(255,255,255,0.6); position: relative; }
.approach-card .t { margin-top: 16px; font-family: var(--font-display); font-size: 20px; position: relative; }
.approach-card p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.85); position: relative; }
.approach .foot { margin-top: 40px; font-style: italic; color: rgba(255,255,255,0.7); }

/* ---------- UI Screens ---------- */
.ui-grid { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.ui-marquee {
  width: 100%;
  overflow: hidden;
  padding: 12px 0 28px;
}
.ui-marquee-track {
  display: flex;
  width: max-content;
  animation: ui-marquee-scroll 150s linear infinite;
}
.ui-marquee:hover .ui-marquee-track { animation-play-state: paused; }
.ui-marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
}
.ui-shot {
  width: clamp(340px, 62vw, 700px);
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(35,54,110,0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 44px -28px rgba(35,54,110,0.55);
}
.ui-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: top center;
}
.ui-shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid rgba(35,54,110,0.1);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@keyframes ui-marquee-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ui-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ui-marquee-track { animation: none; }
  .ui-marquee-group[aria-hidden="true"] { display: none; }
}
.ui-cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
.ui-cards[hidden] { display: none !important; }
@media (min-width: 640px) { .ui-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ui-cards { grid-template-columns: repeat(3, 1fr); } }
.ui-card { border: 1px solid var(--border); background: var(--card); border-radius: 24px; overflow: hidden; }
.ui-preview { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ui-window {
  position: absolute; inset: 32px; background: rgba(255,255,255,0.95);
  border-radius: 16px; padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.ui-window .top { display: flex; align-items: center; justify-content: space-between; }
.ui-window .top .mark { width: 24px; height: 24px; }
.ui-window .round { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.ui-window .lines { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.ui-window .lines .a { height: 8px; width: 75%; border-radius: 9999px; background: var(--sand); }
.ui-window .lines .b { height: 8px; width: 50%; border-radius: 9999px; background: var(--muted); }
.ui-window .tiles { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-window .tile { border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
.ui-window .tile .bar1 { height: 6px; border-radius: 9999px; background: var(--muted); }
.ui-window .tile .bar2 { margin-top: 8px; height: 24px; border-radius: 6px; background: var(--muted); }
.ui-card figcaption {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
}
.ui-card figcaption span:first-child { font-family: var(--font-display); font-size: 20px; }
.ui-card figcaption span:last-child { font-size: 12px; color: var(--muted-foreground); }

/* ---------- Collab (Sand) ---------- */
.collab { background: var(--sand); }
.collab .inner { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.collab-list { max-width: 720px; margin: 0 auto; }
.collab-row {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px; padding: 20px;
}
.collab-row .avatar {
  width: 56px; height: 56px; border-radius: 9999px; color: #fff;
  font-family: var(--font-display); font-size: 20px;
  display: grid; place-items: center; flex-shrink: 0;
}
.collab-row .role { font-family: var(--font-display); font-size: 20px; color: var(--navy); }
.collab-row .note { font-size: 14px; color: var(--muted-foreground); }
.collab-connector { display: flex; padding: 4px 0 4px 44px; }
.collab-connector span { display: block; width: 1px; height: 24px; background: rgba(35,54,110,0.3); }

/* ---------- Validation ---------- */
.valid { padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.valid-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .valid-grid { grid-template-columns: repeat(3, 1fr); } }
.valid-card { border: 1px solid var(--border); background: var(--card); border-radius: 24px; padding: 28px; }
.valid-card .mark { width: 40px; height: 40px; margin-bottom: 16px; }
.valid-card h3 { font-size: 24px; }
.valid-card .body { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted-foreground); }
.valid-card .body ul { margin-top: 8px; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 4px; }
.valid .foot { margin-top: 40px; font-size: 14px; font-style: italic; color: var(--muted-foreground); }

/* ---------- Constraints & Success (Navy) ---------- */
.cs { background: var(--navy); color: #fff; }
.cs .inner { position: relative; padding: 96px 24px; max-width: 1200px; margin: 0 auto; }
.cs-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 768px) { .cs-grid { grid-template-columns: 1fr 1fr; } }
.cs-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 16px; margin-bottom: 32px;
}
.cs-head .tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--sky); }
.cs-head h2 { margin-top: 8px; font-size: 36px; }
.cs .lead { margin-bottom: 24px; color: rgba(255,255,255,0.8); }
.cs .constraints li {
  display: flex; gap: 12px; align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; margin-bottom: 12px;
}
.cs .constraints li::before {
  content: ""; margin-top: 8px; width: 6px; height: 6px; border-radius: 9999px; background: var(--sky); flex-shrink: 0;
}
.cs .success { display: flex; flex-direction: column; gap: 16px; }
.cs .success li {
  display: flex; gap: 16px; padding: 16px;
  background: rgba(255,255,255,0.05); border-radius: 16px;
}
.cs .success .n { font-family: var(--font-display); font-style: italic; font-size: 24px; color: var(--sky); }
.cs .foot { margin-top: 24px; font-style: italic; color: rgba(255,255,255,0.6); }

/* ---------- Reflection ---------- */
.reflect { padding: 112px 24px; max-width: 960px; margin: 0 auto; }
.reflect .head {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 40px;
}
.reflect .head h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 48px); }
.reflect .head .num { font-family: var(--font-display); font-style: italic; font-size: 48px; color: rgba(90,97,120,0.6); }
.reflect .body { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .reflect .body { grid-template-columns: 3fr 9fr; } }
.reflect .avatar {
  width: 220px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
}
.reflect .avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.reflect blockquote {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35;
}
.reflect .quote { font-size: 40px; font-style: italic; color: var(--clay); }
.reflect .foot { margin-top: 40px; font-size: 14px; font-style: italic; color: var(--muted-foreground); }

/* ---------- Interaction & reveal motion ---------- */
@media (hover: hover) {
  .resp-list li,
  .excel-card,
  .overview-product-shot,
  .uxc-list li,
  .approach-card,
  .ui-shot,
  .collab-row,
  .valid-card,
  .cs .success li,
  .reflect .avatar {
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  }

  .resp-list li:hover,
  .excel-card:hover,
  .overview-product-shot:hover,
  .uxc-list li:hover,
  .approach-card:hover,
  .ui-shot:hover,
  .collab-row:hover,
  .valid-card:hover,
  .cs .success li:hover,
  .reflect .avatar:hover {
    transform: translateY(-6px);
    border-color: rgba(31,177,230,0.45);
    box-shadow: 0 22px 44px -28px rgba(35,54,110,0.75);
  }

  .pjt-row:not(.head) { transition: transform 240ms ease, background-color 240ms ease; }
  .pjt-row:not(.head):hover {
    z-index: 1;
    transform: translateX(6px);
    background: rgba(145,191,227,0.13);
  }

  .ia-node,
  .journey .n {
    transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
  }
  .ia-node:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 34px -24px rgba(35,54,110,0.9);
  }
  .journey .n:hover {
    transform: scale(1.09);
    box-shadow: 0 16px 30px -20px rgba(35,54,110,0.85);
  }

  .excel-card img,
  .overview-product-shot img { transition: transform 500ms ease; }
  .excel-card:hover img { transform: scale(1.018); }
  .overview-product-shot:hover img { transform: scale(1.025); }
  .reflect .avatar img { transition: transform 500ms ease; }
  .reflect .avatar:hover img { transform: scale(1.14); }
}

.reveal-section > :not(.blob) {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.75,.25,1);
}
.reveal-section.is-visible > :not(.blob) {
  opacity: 1;
  transform: translateY(0);
}
.reveal-section.is-visible .reveal-item {
  animation: item-rise 560ms cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms) backwards;
}
@keyframes item-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section > :not(.blob) {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-section.is-visible .reveal-item { animation: none; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: #fff; border-top: 1px solid var(--border); }
.site-foot .row {
  display: flex; flex-direction: column; gap: 32px; align-items: flex-start;
  padding: 56px 24px; max-width: 1200px; margin: 0 auto;
}
@media (min-width: 768px) { .site-foot .row { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-foot .brand .mark { width: 48px; height: 48px; }
.site-foot .brand-name { font-family: var(--font-display); font-size: 24px; }
.site-foot .brand-sub { font-size: 14px; color: rgba(255,255,255,0.6); }
.site-foot .copy { font-size: 14px; color: rgba(255,255,255,0.6); }
.site-foot .thank-you {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 48px 24px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  text-align: center;
}

/* ---------- Phone layout ---------- */
@media (max-width: 600px) {
  .section-head {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 36px;
    padding-bottom: 18px;
  }
  .section-head h2 { font-size: 32px; line-height: 1.08; }
  .section-head .num { font-size: 40px; line-height: 1; }
  .kicker { font-size: 10px; letter-spacing: 0.17em; }
  .kicker::before { width: 22px; }

  .hero-inner {
    gap: 36px;
    padding: 72px 20px 56px;
  }
  .hero-brandline { gap: 14px; }
  .hero-client-logo { width: 100px; flex-basis: 100px; padding: 7px 10px; }
  .hero h1 { margin-top: 18px; font-size: 44px; }
  .hero .lead { margin-top: 24px; font-size: 18px; line-height: 1.45; }
  .hero .sub { margin-top: 18px; font-size: 15px; line-height: 1.6; }
  .hero-photo-circle { width: min(100%, 320px); }
  .meta-grid {
    gap: 28px 18px;
    padding: 32px 20px;
  }
  .meta-grid > div:last-child { grid-column: 1 / -1; }

  .resp-grid,
  .challenge .container,
  .btux-grid,
  .journey .inner,
  .pjt,
  .ia .inner,
  .uxc,
  .approach .inner,
  .ui-grid,
  .collab .inner,
  .valid,
  .cs .inner,
  .reflect {
    padding: 68px 20px;
  }
  .resp-grid,
  .btux-grid,
  .uxc-grid { gap: 36px; }
  .resp h2 { font-size: 32px; }
  .resp-list li { padding: 18px; gap: 12px; }
  .pill { max-width: 100%; padding: 8px 16px; }

  .overview-grid { padding: 68px 20px 0; }
  #overview .section-head h2 { font-size: 34px; }
  #overview .section-head .num { padding-top: 10px; font-size: 44px; }
  .overview-content { min-height: 0; }
  .overview-text {
    gap: 16px;
    padding: 36px 0 30px;
    font-size: 17px;
    line-height: 1.65;
  }
  .overview-product-shot {
    width: 100%;
    margin: 0 auto 52px;
  }
  .overview-bleed { display: none; }

  .challenge .lead,
  .btux-text,
  .uxc-text { font-size: 16px; }
  .challenge-grid li,
  .uxc-list li { padding: 17px; }
  .excel-card { margin-top: 0; }

  .journey ol { margin-top: 30px; }
  .journey .n { width: 58px; height: 58px; font-size: 21px; }
  .journey li {
    grid-template-columns: 58px 1fr;
    gap: 16px;
  }
  .journey ol::before { top: 29px; bottom: 29px; left: 28px; }
  .journey li:not(:last-child)::after { left: 23px; }

  .pjt-table { border-radius: 16px; }
  .pjt-row {
    gap: 12px;
    padding: 18px;
  }
  .pjt-row > div:nth-child(n + 2)::before {
    display: block;
    margin-bottom: 3px;
    color: rgba(90,97,120,0.72);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .pjt-row > div:nth-child(2)::before { content: "User goal"; }
  .pjt-row > div:nth-child(3)::before { content: "Business question"; }
  .pjt-row > div:nth-child(4)::before { content: "UX support"; }

  .ia-tree { overflow: visible; padding-bottom: 0; }
  .ia-tree > ul { min-width: 0; }
  .ia-tree ul { display: block; padding-top: 0; }
  .ia-tree ul ul {
    margin: 12px 0 0 14px;
    padding-left: 18px;
    border-left: 2px solid rgba(35,54,110,0.35);
  }
  .ia-tree ul ul::before,
  .ia-tree li::after { display: none; }
  .ia-tree li,
  .ia-tree li:only-child {
    padding: 0 0 12px;
    text-align: left;
  }
  .ia-tree ul ul > li::before {
    display: block;
    top: 25px;
    right: auto;
    left: -18px;
    width: 18px;
    height: 0;
    border: 0;
    border-top: 2px solid rgba(35,54,110,0.35);
  }
  .ia-node { width: 100%; min-width: 0; padding: 14px 16px; }

  .approach-grid { gap: 16px; }
  .approach-card { padding: 20px; }

  .ui-marquee { padding-bottom: 18px; }
  .ui-marquee-track { animation-duration: 180s; }
  .ui-marquee-group { gap: 16px; padding-right: 16px; }
  .ui-shot { width: calc(100vw - 40px); border-radius: 12px; }

  .collab-row { gap: 14px; padding: 16px; }
  .collab-row .avatar { width: 44px; height: 44px; }
  .collab-row .role { font-size: 18px; }
  .collab-connector { padding-left: 36px; }

  .valid-card { padding: 22px; border-radius: 18px; }
  .cs-grid { gap: 48px; }
  .cs-head h2 { font-size: 32px; }
  .cs .success li { padding: 14px; }

  .reflect .head { margin-bottom: 30px; }
  .reflect .head h2 { font-size: 34px; }
  .reflect .head .num { font-size: 40px; }
  .reflect .body { gap: 28px; }
  .reflect .avatar { width: 180px; }
  .reflect blockquote { font-size: 24px; }

  .site-foot .thank-you {
    min-height: 160px;
    padding: 36px 20px;
    font-size: 42px;
  }

  #cs-nav { right: 10px !important; bottom: 10px !important; gap: 8px !important; }
  #cs-nav button { width: 40px !important; height: 40px !important; }
}
