:root {
  --acc-expand: 250ms;
  --acc-collapse: 250ms;
  --acc-chevron: 250ms;
  --acc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* grid-template-rows 0fr → 1fr gives a clean height animation
   with no JS measurement; the inner element clips overflow. */
.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--acc-expand) var(--acc-ease);
}
.t-acc-panel-inner {
  overflow: hidden;
  opacity: 0;
  filter: blur(2px);
  transition:
    opacity var(--acc-collapse) var(--acc-ease),
    filter var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel-inner {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--acc-expand) var(--acc-ease),
    filter var(--acc-expand) var(--acc-ease);
}
/* Flip the chevron vertically to turn the "v" into a "^".
   scaleY(-1) about the centre passes through a flat line at
   the midpoint (same look as a `d:` path morph) but animates
   in every browser, unlike CSS `d:` morphing (Chromium only).
   The chevron path is symmetric about the 16x16 viewBox
   centre, so the flip lands exactly on the "^"; non-scaling
   -stroke keeps the stroke width constant through the flip. */
.t-acc-chevron {
  display: inline-flex;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform var(--acc-chevron) var(--acc-ease);
}
.t-acc-chevron path { vector-effect: non-scaling-stroke; }
.t-acc[data-open="true"] .t-acc-chevron {
  transform: scaleY(-1);
}

@media (prefers-reduced-motion: reduce) {
  .t-acc-panel, .t-acc-panel-inner, .t-acc-chevron {
    transition: none !important;
  }
}

.kobe-message{margin-top:24px;padding:clamp(24px,4vw,40px);background:#fff;}
.kobe-message h2{font-size:clamp(26px,3vw,36px);line-height:1.15;}
.kobe-message .tile-kicker{color:#b75c00;}
.kobe-message p{font-size:clamp(15px,1.25vw,17px);line-height:1.7;}
.kobe-message-intro,.kobe-message-copy{max-width:760px;}
.kobe-message .t-acc-head{margin-top:8px;justify-content:center;gap:14px;max-width:100%;}
.kobe-message .t-acc-head>span{font-size:14px;line-height:1.4;}
.kobe-message .t-acc-chevron{flex:none;}
.kobe-message-copy{padding-top:26px;}
.kobe-message-copy ol{padding-left:22px;margin:24px 0;}
.kobe-message-copy li{padding-left:6px;margin-bottom:25px;}
.kobe-message-copy h3{font-size:19px;line-height:1.4;margin:0 0 8px;}
.kobe-message-copy li p{margin:0 0 12px;}
.kobe-message-copy .tile-link{margin-top:0;font-size:14px;}
.kobe-message-copy .kobe-message-signature{color:var(--ink);font-weight:700;}
.kobe-message-copy .kobe-message-terms{font-size:14px;}
.kobe-message-copy .button{justify-content:center;font-size:14px;gap:12px;max-width:100%;}
@media(max-width:400px){.kobe-message{padding:24px 20px}.kobe-message-copy ol{padding-left:18px}.kobe-message-copy .button{width:100%;}}

.kobe-message .button{background:var(--hub-action);border-color:var(--hub-action);border-radius:14px;box-shadow:0 3px 7px #0003;color:#fff;}
.kobe-message .button:hover{background:#1b4788;box-shadow:0 3px 7px #0003;}

/* Keep the founder letter readable on wide screens without scaling the UI. */
@media (min-width: 900px) {
  .home-page .kobe-message {
    box-sizing: border-box;
    width: min(100%, 880px);
    margin-inline: auto;
    padding: clamp(28px, 2.5vw, 36px) !important;
  }
  .home-page .kobe-message h2 {font-size:clamp(26px,2vw,32px) !important;}
  .home-page .kobe-message-intro,
  .home-page .kobe-message-copy {max-width:66ch;}
}
