:root {
  --paper: #f5f0e5;
  --wine: #701b30;
  --ink: #46413b;
  --muted: #746d63;
  --line: #e4dbcb;
  --sand: #eee6d6;
  --sage: #e7ebdf;
  --lilac: #eee6f1;
  --rose: #f3e5e8;
  --gutter: clamp(20px, 5.6vw, 28px);
}
* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 10% 0, #eee2d333, transparent 60%), var(--paper);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.masthead {
  text-align: center;
  padding: calc(28px + env(safe-area-inset-top, 0px)) var(--gutter) 16px;
}
.dhd-logo {
  position: relative;
  overflow: hidden;
  width: min(270px, 72vw);
  aspect-ratio: 292 / 32;
  margin: 0 auto 28px;
  mix-blend-mode: darken;
}
.dhd-logo img {
  position: absolute;
  max-width: none;
  width: 169.864%;
  left: -35.617%;
  top: -112.5%;
  filter: brightness(1.12);
}
h1 {
  font: 700 italic 94px/1 Times, "Times New Roman", serif;
  letter-spacing: -.045em;
  color: var(--wine);
  margin: 0;
}
.descriptor { margin: 10px 0 0; font-size: 19px; color: var(--wine); font-weight: 350; letter-spacing: .01em; }
.story { max-width: 1130px; margin: 22px auto 0; text-align: center; padding: 0 var(--gutter); }
h2 {
  font: 400 36px/1.28 Georgia, "Times New Roman", serif;
  color: var(--wine);
  letter-spacing: -.025em;
  margin: 0 auto 24px;
  text-wrap: balance;
}
h2 > span, h2 > em { display: block; }
h2 em { font-weight: 400; }
.view-tabs { display: inline-grid; grid-template-columns: 1fr 1fr; background: #eae2d5; padding: 4px; border-radius: 99px; gap: 3px; margin-bottom: 16px; }
.view-tabs button {
  border: 0; background: transparent; color: var(--muted); font: inherit;
  font-size: 12px; border-radius: 99px; padding: 10px 20px;
  cursor: pointer; min-height: 44px; touch-action: manipulation;
}
.view-tabs button[aria-selected="true"] { color: var(--wine); background: #fffdf7; box-shadow: 0 2px 8px #6b3f1a0a; }
.scene { width: 100%; border-radius: 18px; overflow: hidden; overflow-anchor: none; }
.desktop-graphic { width: 100%; height: auto; aspect-ratio: 1280 / 724; display: block; mix-blend-mode: multiply; }
.mobile-graphic { display: none; }
.illustration-note { font-size: 10px; color: var(--muted); margin: 15px 0 0; }
.challenge { max-width: 790px; margin: 52px auto 0; padding: 0 var(--gutter); text-align: center; }
.section-label { font-size: 10px; font-weight: 500; letter-spacing: .14em; color: var(--wine); margin: 0 0 22px; }
blockquote { font: 400 23px/1.55 Georgia, "Times New Roman", serif; color: var(--wine); margin: 0; }
.plain-language { font-size: 14px; color: var(--muted); max-width: 620px; margin: 26px auto 0; line-height: 1.8; }
footer { text-align: center; padding: 38px var(--gutter) calc(30px + env(safe-area-inset-bottom, 0px)); }
footer img { display: block; margin: auto; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; }
footer p { font: italic 19px Georgia; color: var(--wine); margin: 14px 0 10px; }
footer small { display: block; max-width: 420px; margin: auto; font-size: 11px; color: var(--muted); }
:where(button, [role="tabpanel"]):focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.icon { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .masthead { padding-top: calc(22px + env(safe-area-inset-top, 0px)); padding-bottom: 12px; }
  .dhd-logo { width: min(245px, 64vw); margin-bottom: 24px; }
  h1 { font-size: clamp(64px, 18vw, 80px); }
  .descriptor { font-size: 17px; margin-top: 8px; }
  .story { margin-top: 20px; }
  h2 { font-size: clamp(22px, 6vw, 30px); line-height: 1.3; max-width: 540px; margin-bottom: 22px; }
  .view-tabs { margin-bottom: 14px; }
  .desktop-graphic { display: none; }
  .mobile-graphic { display: block; padding: 12px 0 4px; max-width: 420px; margin: auto; }
  .source-cloud { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 340px; margin: auto; }
  .source-cloud > span { background: #fffdf8; border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; font-size: 11px; box-shadow: 0 3px 7px #4f2a1509; }
  .tangle { height: 135px; position: relative; max-width: 340px; margin: 0 auto; }
  .tangle svg { position: absolute; inset: 12px 0 0; width: 100%; height: 116px; fill: none; stroke: var(--wine); stroke-width: 1.5; opacity: .7; }
  .note { position: absolute; display: block; padding: 8px 15px; font: italic 16px/1.3 Georgia; box-shadow: 0 3px 8px #65412112; top: 27px; }
  .note-one { background: #fbefce; left: 12%; transform: rotate(-9deg); }
  .note-two { background: #f8e2e2; right: 10%; top: 51px; transform: rotate(7deg); }
  .lost-profile { border: 1px dashed #cfc9bf; border-radius: 16px; display: flex; gap: 14px; align-items: center; padding: 20px; text-align: left; flex-wrap: wrap; color: #aaa79e; background: #ffffff35; }
  .question { width: 43px; height: 43px; flex: 0 0 auto; border-radius: 50%; background: #e5e4dd; display: grid; place-items: center; font: 28px Georgia; }
  .lost-profile h3 { font: 25px Georgia; margin: 0 0 10px; }
  .lost-profile i { display: block; width: 70px; height: 8px; background: #e6e4dd; border-radius: 9px; }
  .skeleton { width: 100%; display: grid; gap: 10px; margin-top: 2px; }
  .skeleton i { width: 100%; height: 10px; }
  .skeleton i:nth-child(2) { width: 67%; }
  .skeleton i:nth-child(3) { width: 80%; }
  .scene-caption { font: 20px/1.35 Georgia; color: var(--wine); margin: 21px 0 13px; text-wrap: balance; }
  .teams { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
  .teams span { font-size: 10px; color: var(--muted); background: #ede8dd; border-radius: 99px; padding: 4px 9px; }
  .flow { display: grid; grid-template-columns: minmax(0, 1fr) 15px minmax(0, 1fr) 15px minmax(0, 1fr); align-items: start; justify-items: center; column-gap: 3px; max-width: 340px; margin: 24px auto 0; }
  .flow > div { min-width: 0; display: grid; justify-items: center; gap: 9px; font-size: 11px; text-align: center; }
  .flow > b { font-weight: 400; color: var(--wine); height: 52px; display: grid; align-items: center; }
  .flow-icon { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fffdf8; border: 1px solid var(--line); color: var(--wine); }
  .flow-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.3; }
  .flow-icon.database { background: var(--sand); }
  .flow-icon.ai { background: var(--wine); color: white; font-size: 33px; border: 0; }
  .flow-icon small { position: absolute; right: -3px; bottom: -2px; border: 2px solid var(--paper); border-radius: 50%; width: 21px; height: 21px; background: #9ca98b; color: white; font-size: 12px; line-height: 17px; }
  .flow-down { color: var(--wine); display: flex; justify-content: center; margin: 12px auto 14px; max-width: 340px; }
  .flow-connector { display: block; width: 100%; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .guest-card { border: 1px solid #dcd0bc; background: linear-gradient(#fffdf6, #f7f0e3); border-radius: 18px; padding: clamp(17px, 5vw, 24px); text-align: left; box-shadow: 0 8px 19px #63452d08; }
  .guest-card h3 { font: 28px/1.2 Georgia; color: var(--ink); margin: 0 0 16px; }
  .metrics { display: flex; gap: 7px; flex-wrap: wrap; }
  .pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 6px 10px; font-size: 11px; }
  .sand { background: var(--sand); }
  .sage { background: var(--sage); }
  .lilac { background: var(--lilac); }
  .average { display: flex; align-items: center; gap: 4px 9px; background: var(--rose); padding: 11px 12px; border-radius: 13px; margin-top: 14px; font-size: 15px; flex-wrap: wrap; }
  .average-money { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .average .currency { background: var(--wine); color: white; padding: 3px 5px; border-radius: 7px; font-size: 11px; }
  .average strong { font-weight: 550; font-size: 20px; }
  .average > small { font-size: 11px; color: var(--muted); margin-left: auto; white-space: nowrap; }
  .spend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 11px; }
  .spend > div { border-radius: 13px; padding: 10px 12px; }
  .spend span { font-size: 12px; color: var(--muted); }
  .spend p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 2px 0 0; font-size: 18px; font-variant-numeric: tabular-nums; }
  .spend small { font-size: 11px; }
  .extras { font-size: 11px; color: var(--muted); margin: 9px 0 17px; }
  .preferences-label { font-size: 12px; color: var(--muted); margin: 0 0 7px; }
  .illustration-note { font-size: 10px; margin-top: 15px; }
  .challenge { margin-top: 40px; }
  blockquote { font-size: 20px; line-height: 1.55; }
  .plain-language { font-size: 14px; line-height: 1.75; margin-top: 22px; }
  .section-label { font-size: 10px; margin-bottom: 17px; }
  footer { padding-top: 32px; }
}
@media (max-width: 350px) {
  .pill { font-size: 10px; padding-inline: 8px; }
  .average { padding-inline: 10px; }
  .average strong { font-size: 19px; }
  .source-cloud { gap: 6px; }
  .source-cloud > span { padding: 6px 10px; }
  .flow > div { font-size: 10px; }
  .spend > div { padding: 10px; }
  .spend p { font-size: 17px; }
  blockquote { font-size: 18px; }
}
