.story-body {
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 28rem),
    radial-gradient(circle at 88% 35%, color-mix(in srgb, #7c4dff 7%, transparent), transparent 30rem),
    var(--bg);
  color: var(--text);
}

.story-page {
  --story-edge-gap: max(20px, calc((100vw - 1220px) / 2));
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.story-kicker,
.story-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.story-hero {
  min-height: 0;
  padding: clamp(48px, 6vw, 76px) 0 clamp(22px, 3vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, .65fr);
  align-items: stretch;
  gap: clamp(30px, 5vw, 76px);
  box-sizing: border-box;
  text-align: left;
}

.story-hero-copy {
  max-width: 780px;
  padding: clamp(68px, 8vw, 104px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.story-hero-inspiration {
  min-height: inherit;
  margin: 0 calc(var(--story-edge-gap) * -1) 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.story-hero-inspiration img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 400px;
  display: block;
  object-fit: contain;
  object-position: right center;
}

.story-hero h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  color: var(--text);
  font-size: clamp(2.25rem, 4vw, 50px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.story-hero h1 em {
  display: inline-block;
  font-style: normal;
  background: var(--core-title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.story-subtitle {
  margin: 0;
  max-width: 720px;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}

.story-intro {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.75;
}

.story-actions {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.story-actions .button { gap: 9px; }

.story-coffee-art {
  width: min(1140px, 100%);
  margin: 38px auto 0;
  position: relative;
}

.story-coffee-art::before {
  content: "";
  position: absolute;
  inset: 15% 11% 5%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, #7c4dff 9%, transparent) 45%, transparent 70%);
  filter: blur(28px);
}

.story-coffee-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(19, 49, 113, .17));
}

.story-coffee-art figcaption {
  width: min(760px, 88%);
  margin: -2px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}

.story-coffee-art figcaption span:first-child { text-align: right; }
.story-coffee-art figcaption span:last-child { text-align: left; }
.story-coffee-art figcaption b {
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.story-flow {
  position: relative;
  padding: clamp(16px, 2vw, 24px) 0 0;
}

.story-after-line {
  --story-section-gap: clamp(44px, 5vw, 64px);
  padding: clamp(44px, 5vw, 64px) 0 0;
  display: grid;
  gap: var(--story-section-gap);
  position: relative;
}

.story-section {
  padding: 0;
  position: relative;
  z-index: 1;
}

.story-reveal-enabled [data-story-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .62s ease, transform .72s cubic-bezier(.2, .75, .25, 1);
  will-change: opacity, transform;
}

.story-reveal-enabled [data-story-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.story-panel {
  padding: clamp(27px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, #7c4dff 9%, transparent), transparent 18rem),
    color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.story-panel-right .story-panel,
.story-panel-left .story-panel { width: calc(50% - 58px); box-sizing: border-box; }
.story-panel-right .story-panel { margin-left: auto; }
.story-panel-left .story-panel { margin-right: auto; }

.story-panel h2,
.story-section-heading h2,
.journey-column-title h2,
.story-closing h2 {
  margin: 14px 0 15px;
  color: var(--text);
  font-size: clamp(2.25rem, 4vw, 50px);
  font-weight: 640;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.story-panel h2 em,
.story-section-heading h2 em,
.journey-column-title h2 em,
.story-closing h2 em {
  display: inline;
  font-style: normal;
  background: var(--core-title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.story-panel p,
.story-section-heading p,
.story-closing p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.story-panel p { margin: 0 0 16px; }

.story-emphasis {
  margin-top: 26px;
  padding: 18px 0 0;
  display: block;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

.story-section-heading {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

.story-section-heading p { max-width: 690px; margin: 0 auto; }

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.founder-card,
.journey-column,
.purpose-grid article {
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow);
}

.founder-card {
  padding: clamp(26px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 24px;
  text-align: center;
}

.founder-portrait {
  width: 174px;
  height: 174px;
  flex: 0 0 auto;
  overflow: hidden;
  box-sizing: border-box;
  border: 3px solid color-mix(in srgb, var(--accent) 65%, #7c4dff);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--surface), 0 18px 40px rgba(24, 67, 145, .18);
}

.founder-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.founder-portrait--sudhakar img {
  transform: scale(1.13);
  transform-origin: center;
}

.founder-card-heading { margin: 27px 0 18px; }
.founder-card-heading h3 { margin: 0 0 11px; font-size: 1.42rem; line-height: 1.15; }
.founder-card-heading span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.founder-card-heading small { margin-top: 8px; display: block; color: var(--muted); font-size: .71rem; font-weight: 650; }
.founder-card > p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }

.expertise-list {
  margin: 22px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}
.expertise-list li { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .64rem; font-weight: 650; }

.founder-link {
  margin-top: auto;
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--accent-strong);
  font-size: .75rem;
  font-weight: 760;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.founder-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(29, 78, 216, .12); }
.founder-link:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--core-focus); }

.journey-column { padding: 30px; border-radius: 22px; }
.story-career .journey-column {
  width: min(920px, calc(100% - 180px));
  margin: 0 auto;
  box-sizing: border-box;
}
.journey-column-title { display: flex; align-items: center; gap: 14px; }
.journey-column-title > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); }
.journey-column-title span { color: var(--accent-strong); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.journey-column-title h2 { margin: 5px 0 0; }

.story-timeline { margin: 29px 0 0; padding: 0; list-style: none; }
.story-timeline li { position: relative; padding: 0 0 27px 30px; display: grid; grid-template-columns: 88px 1fr; gap: 14px; }
.story-timeline li:last-child { padding-bottom: 0; }
.story-timeline li::before { content: ""; position: absolute; top: 4px; bottom: -4px; left: 6px; width: 1px; background: var(--line); }
.story-timeline li:last-child::before { display: none; }
.story-timeline li::after { content: ""; position: absolute; top: 4px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.story-timeline li.coffee::after { background: #4cc9f0; box-shadow: 0 0 0 3px color-mix(in srgb, #4cc9f0 25%, transparent), 0 0 14px #7c4dff; }
.story-timeline li > span { color: var(--accent-strong); font-size: .66rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.story-timeline h4 { margin: 0 0 6px; color: var(--text); font-size: .94rem; line-height: 1.35; }
.story-timeline p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.story-timeline .timeline-art {
  padding-top: 5px;
  padding-bottom: 34px;
  display: block;
}
.story-timeline .timeline-art > span { display: none; }
.timeline-art .story-coffee-art { width: 100%; margin: 0; }

.story-perspective-panel {
  width: 100%;
  box-sizing: border-box;
}
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.purpose-grid article { min-height: 205px; padding: 25px; border-radius: 18px; }
.purpose-grid i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); }
.purpose-grid h3 { margin: 30px 0 9px; font-size: .96rem; }
.purpose-grid p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }

.story-closing {
  min-height: 500px;
  padding: clamp(68px, 8vw, 96px) clamp(28px, 7vw, 90px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 12%, color-mix(in srgb, #4cc9f0 18%, transparent), transparent 22rem),
    radial-gradient(circle at 80% 80%, color-mix(in srgb, #7c4dff 14%, transparent), transparent 22rem),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}
.story-closing::before { top: 0; }
.story-closing img { width: 112px; height: 63px; margin-bottom: 15px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(29, 78, 216, .24)); }
.story-closing h2 { max-width: 790px; margin-inline: auto; }
.story-closing p { max-width: 650px; margin: 0 auto; }
.story-ending {
  min-height: calc(142px + var(--story-section-gap));
  margin-top: calc(var(--story-section-gap) * -1);
  margin-bottom: clamp(52px, 7vw, 84px);
  padding-top: calc(66px + var(--story-section-gap));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  text-align: center;
}

.story-ending::before {
  content: "";
  width: 2px;
  height: calc(43px + var(--story-section-gap));
  position: absolute;
  top: 0;
  left: 50%;
  background: linear-gradient(#1a73e8, #7c4dff);
  box-shadow: 0 0 10px color-mix(in srgb, #536dfe 38%, transparent);
  transform: translateX(-50%);
}

.story-ending::after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  top: calc(40px + var(--story-section-gap));
  left: 50%;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: #7c4dff;
  box-shadow: 0 0 0 1px var(--accent), 0 0 15px color-mix(in srgb, #7c4dff 55%, transparent);
  transform: translateX(-50%);
}

.story-final-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.story-final-copy {
  background: linear-gradient(100deg, #1576ee 0 38%, #4cc9f0 47%, #a855f7 54%, #8056f4 63% 100%);
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: story-final-wipe 3.2s linear infinite;
}

.story-final-rocket {
  color: initial;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1em;
  line-height: 1;
  -webkit-text-fill-color: initial;
}

@keyframes story-final-wipe {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .story-page {
    --story-edge-gap: max(14px, calc((100vw - 760px) / 2));
    width: min(100% - 28px, 760px);
  }
  .story-hero {
    min-height: 0;
    padding-top: 48px;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .story-hero-copy { max-width: 720px; padding: 0; align-items: center; }
  .story-hero h1 { margin-inline: auto; }
  .story-subtitle,
  .story-intro { margin-inline: auto; }
  .story-actions { justify-content: center; }
  .story-hero-inspiration {
    width: min(350px, calc(100% + var(--story-edge-gap)));
    min-height: 0;
    margin: 0 calc(var(--story-edge-gap) * -1) 0 auto;
  }
  .story-after-line { --story-section-gap: 42px; padding-top: 42px; gap: var(--story-section-gap); }
  .story-section { padding: 0; }
  .story-panel-right .story-panel,
  .story-panel-left .story-panel { width: 100%; margin: 0; }
  .story-career .journey-column { width: 100%; }
  .founder-grid { grid-template-columns: 1fr; gap: 24px; }
  .story-section-heading { margin-bottom: 32px; text-align: left; }
  .story-section-heading p { margin-left: 0; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-grid article { min-height: 0; }
  .story-closing { padding-block: 58px; }
}

@media (max-width: 600px) {
  .story-page {
    --story-edge-gap: max(11px, calc((100vw - 520px) / 2));
    width: min(100% - 22px, 520px);
  }
  .story-hero { padding-top: 44px; gap: 24px; }
  .story-hero h1 { font-size: clamp(2.15rem, 8vw, 3rem); }
  .story-subtitle { font-size: 1rem; }
  .story-intro { font-size: .86rem; }
  .story-actions { align-items: stretch; flex-direction: column; }
  .story-actions .button { width: 100%; box-sizing: border-box; }
  .story-coffee-art { width: calc(100% + 10px); margin-inline: -5px; }
  .story-coffee-art figcaption { width: 100%; gap: 7px; font-size: .59rem; }
  .story-coffee-art figcaption b { padding: 5px 7px; font-size: .54rem; }
  .story-flow { padding-top: 18px; }
  .story-after-line { --story-section-gap: 34px; padding-top: 34px; gap: var(--story-section-gap); }
  .story-section { padding: 0; }
  .story-panel { padding: 24px 20px; border-radius: 19px; }
  .story-panel h2,
  .story-section-heading h2,
  .journey-column-title h2,
  .story-closing h2 { font-size: clamp(1.8rem, 10vw, 2.6rem); }
  .founder-card, .journey-column { padding: 22px 18px; border-radius: 19px; }
  .founder-portrait { width: 152px; height: 152px; }
  .story-timeline li { padding-left: 25px; grid-template-columns: 74px 1fr; gap: 9px; }
  .story-closing { padding-inline: 20px; }
  .story-ending { min-height: calc(124px + var(--story-section-gap)); margin-bottom: 48px; padding-top: calc(60px + var(--story-section-gap)); }
}

@media (prefers-reduced-motion: reduce) {
  .story-reveal-enabled [data-story-reveal],
  .founder-link { transition: none !important; }
  .story-reveal-enabled [data-story-reveal] { opacity: 1; transform: none; }
  .story-final-copy { animation: none; }
  .founder-link:hover { transform: none; }
}
