/* A photographic introduction, built around Rishi's own stories. */
.home-hero .button { gap: 22px; }
.identity-explorer { margin-top: 18px; background: var(--surface); border-top: 1px solid var(--line); overflow: clip; }
.identity-inner { max-width: var(--max); padding: 78px var(--gutter) 72px; margin: auto; }
.identity-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 8%; margin-bottom: 44px; }
.identity-eyebrow { font-size: 12px; color: var(--accent); margin-bottom: 24px; }
.identity-heading h2 { font: 400 clamp(64px,7vw,96px)/1.02 var(--title); letter-spacing: -.055em; scroll-margin-top: 46px; }
.identity-heading h2 span { color: var(--blue); white-space: nowrap; }
.identity-intro { padding-bottom: 8px; max-width: 360px; }
.identity-intro>p:first-child { font: 400 clamp(18px,1.5vw,22px)/1.5 var(--body); letter-spacing: -.015em; }
.identity-instruction { display: none; color: var(--muted); font-size: 13px; margin-top: 18px; }
.identity-ready .identity-instruction { display: block; }
.identity-arrow { display: none; width: 120px; height: 36px; margin: 6px 0 0 20px; color: var(--accent); }
.identity-ready .identity-arrow { display: block; }
.identity-tabs { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.identity-tabs a { position: relative; flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; padding: 12px 13px; color: var(--muted); text-decoration: none; font-size: 13px; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.identity-tab-number { font-size: 10px; opacity: .7; }
.identity-tabs a:hover { color: var(--text); background: var(--bg); }
.identity-tabs a[aria-selected=true] { color: var(--blue); border-color: var(--blue); background: var(--bg); }
.identity-tabs a:focus-visible { outline-offset: -5px; z-index: 2; }
.identity-tab-dot { display: none; position: absolute; right: 6px; top: 8px; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.identity-tabs a.is-explored .identity-tab-dot { display: block; }
.identity-visual { display: none; min-width: 0; }
.identity-panel { padding: 46px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; min-width: 0; }
.identity-panel:last-child { border-bottom: 0; }
.identity-panel__image { width: min(100%,680px); aspect-ratio: 1.55; object-fit: cover; margin-bottom: 30px; }
.identity-personal-note { font-size: 12px; line-height: 1.6; color: var(--accent); margin-bottom: 20px; }
.identity-panel h3 { font: 400 clamp(34px,3.6vw,50px)/1.12 var(--title); letter-spacing: -.03em; overflow-wrap: anywhere; margin-bottom: 22px; }
.identity-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 7px 17px; padding: 0; margin: 0 0 24px; }
.identity-facts li { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 11px; line-height: 1.8; }
.identity-facts li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.identity-biography p { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 50em; }
.identity-biography p+p { margin-top: 16px; }
.identity-story-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; margin-top: 24px; color: var(--text); font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--accent); }
.identity-story-link span { color: var(--accent); font-size: 20px; }
.identity-ready .identity-experience { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 8%; overflow-anchor: none; }
.identity-ready .identity-visual { display: block; }
.identity-ready .identity-panel { padding: 50px 0 22px; border: 0; }
.identity-ready .identity-panel__image { display: none; }
.identity-ready .identity-stories { min-height: 660px; }
.identity-deck { position: relative; height: 608px; isolation: isolate; perspective: 1100px; }
.identity-deck::before { content: ''; position: absolute; width: 86%; aspect-ratio: 1; top: 44px; left: 4%; border-radius: 50%; background: var(--blue); opacity: .06; }
.identity-deck-word { position: absolute; top: 16px; left: 2px; color: var(--accent); font: 400 25px/1.1 var(--title); letter-spacing: -.03em; transform: rotate(-7deg); }
.identity-photo { position: absolute; left: 50%; top: 58px; width: 79%; max-width: 440px; padding: 10px; background: #faf6ed; color: #171b23; box-shadow: 0 18px 38px #00000020; border: 1px solid #e2dccf; opacity: 0; pointer-events: none; backface-visibility: hidden; transform: translate(-50%,0) translate3d(var(--card-x,0px),var(--card-y,0px),0) rotate(var(--card-angle,-4deg)) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)) scale(var(--card-scale,.85)); transition: transform .7s cubic-bezier(.2,.75,.25,1), opacity .45s ease, box-shadow .3s ease; }
.identity-photo img { width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; object-position: var(--photo-position,50% 50%); background: #070a10; }
.identity-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 5px 6px; font-size: 11px; line-height: 1.5; }
.identity-photo figcaption>span:last-child { color: #785624; font: 400 18px/1 var(--title); }
.identity-photo[data-depth="0"] { --card-x: 0px; --card-y: 17px; --card-angle: -4deg; --card-scale: 1; opacity: 1; z-index: 4; }
.identity-photo[data-depth="1"] { --card-x: 32px; --card-y: 26px; --card-angle: 8deg; --card-scale: .94; opacity: 1; z-index: 2; }
.identity-photo[data-depth="2"] { --card-x: -28px; --card-y: 37px; --card-angle: -13deg; --card-scale: .92; opacity: 1; z-index: 1; }
.identity-photo[data-depth="4"] { --card-y: 30px; --card-scale: .88; z-index: 0; }
.identity-ready:not(.is-in-view) .identity-photo { --card-x: 0px; --card-angle: -4deg; }
.identity-photo-turn { position: absolute; bottom: 23px; right: 5%; z-index: 5; display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 46px; padding: 12px 18px; border: 0; background: var(--blue); color: var(--bg); font-size: 12px; box-shadow: 0 8px 18px #00000018; transform: rotate(3deg); transition: transform .2s ease; }
.identity-photo-turn span:last-child { font-size: 22px; line-height: 1; }
.identity-photo-turn:hover { transform: rotate(0deg) translateY(-3px); }
.identity-deck-footer { display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.identity-deck-footer>[data-identity-position] { color: var(--accent); font: 400 20px/1.2 var(--title); }
.identity-explored { margin-left: auto; color: var(--muted); font-size: 10px; }
.identity-controls { display: flex; align-items: center; gap: 8px; }
.identity-controls button { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 20px; transition: color .2s, background .2s; }
.identity-controls button:hover { color: var(--bg); background: var(--blue); border-color: var(--blue); }
.identity-panel.is-entering { animation: identity-story-in .35s ease both; }
@keyframes identity-story-in { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.identity-moments { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 38px; }
.identity-moments-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.identity-moments-heading h3 { font: 400 clamp(30px,3.2vw,46px)/1.1 var(--title); letter-spacing: -.03em; }
.identity-moments-heading a { display: inline-flex; align-items: center; min-height: 44px; gap: 18px; color: var(--muted); font-size: 12px; text-decoration: none; }
.identity-contact-sheet { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: 25px; padding: 4px 8px 12px; }
.identity-moment { min-width: 0; transform: rotate(-2deg); }
.identity-moment:nth-child(2) { margin-top: 30px; transform: rotate(2deg); }
.identity-moment:nth-child(3) { margin-top: 8px; transform: rotate(-1deg); }
.identity-moment:nth-child(4) { margin-top: 38px; transform: rotate(3deg); }
.identity-moment img { width: 100%; aspect-ratio: 1/1.12; object-fit: cover; border: 7px solid #faf6ed; box-shadow: 0 7px 15px #00000012; }
.identity-moment figcaption { padding: 13px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.identity-moment figcaption span { color: var(--accent); margin-right: 9px; }

@media (min-width:1001px) and (hover:hover) and (pointer:fine) {
  .identity-photo[data-depth="0"] { transition: transform .32s ease-out, opacity .45s ease, box-shadow .3s ease; }
  .identity-moment { transition: transform .35s ease; }
  .identity-moment:hover { transform: rotate(0deg) translateY(-7px); }
}
@media (max-width:1100px) {
  .identity-ready .identity-experience { gap: 5%; grid-template-columns: 1.08fr 1fr; }
  .identity-deck { height: 536px; }
  .identity-deck-word { font-size: 22px; }
  .identity-photo { top: 60px; width: 83%; padding: 8px; }
  .identity-photo figcaption { font-size: 10px; padding: 12px 3px 5px; }
  .identity-photo-turn { bottom: 12px; right: 1%; }
  .identity-tabs a { padding: 12px 10px; font-size: 12px; }
  .identity-ready .identity-stories { min-height: 680px; }
  .identity-explored { display: none; }
  .identity-controls { margin-left: auto; }
}
@media (max-width:900px) {
  .identity-inner { padding-top: 56px; }
  .identity-heading { grid-template-columns: 1.15fr 1fr; gap: 6%; }
  .identity-heading h2 { font-size: clamp(64px,10vw,86px); }
  .identity-intro>p:first-child { font-size: 19px; }
  .identity-instruction { font-size: 12px; }
  .identity-tabs a { flex-basis: 25%; min-height: 50px; }
  .identity-tabs a:last-child { flex-grow: 0; }
  .identity-ready .identity-experience { grid-template-columns: 1fr; gap: 12px; }
  .identity-visual { width: min(100%,580px); margin: auto; }
  .identity-deck { height: clamp(540px,105vw,608px); }
  .identity-photo { width: 77%; max-width: 420px; padding: 10px; }
  .identity-photo figcaption { font-size: 11px; padding: 15px 5px 6px; }
  .identity-photo-turn { bottom: 20px; right: 4%; }
  .identity-explored { display: block; }
  .identity-controls { margin-left: 0; }
  .identity-ready .identity-stories { min-height: 0; }
  .identity-ready .identity-panel { padding-top: 24px; }
  .identity-panel h3 { font-size: clamp(38px,6.6vw,54px); }
  .identity-biography p { font-size: 16px; }
  .identity-contact-sheet { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
  .identity-moment:nth-child(3) { margin-top: 0; }
  .identity-moment:nth-child(4) { margin-top: 30px; }
  .identity-moment img { aspect-ratio: 1.12; }
  .identity-moment figcaption { font-size: 11px; }
}
@media (max-width:500px) {
  .identity-inner { padding-top: 40px; padding-bottom: 44px; }
  .identity-heading { display: block; margin-bottom: 26px; }
  .identity-eyebrow { margin-bottom: 18px; font-size: 11px; }
  .identity-heading h2 { font-size: clamp(44px,13.3vw,68px); scroll-margin-top: 20px; }
  .identity-intro { margin-top: 26px; max-width: 100%; padding: 0; }
  .identity-intro>p:first-child { font-size: 18px; max-width: 300px; }
  .identity-instruction { margin-top: 14px; }
  .identity-ready .identity-arrow { display: none; }
  .identity-tabs { margin-bottom: 12px; }
  .identity-tabs a { flex-basis: 33.333%; padding: 11px 5px; gap: 6px; font-size: 11px; }
  .identity-tab-number { font-size: 9px; }
  .identity-deck { height: calc((100vw - 40px)*1.26 + 50px); max-height: 540px; }
  .identity-deck-word { top: 19px; left: 0; font-size: 20px; }
  .identity-photo { top: 65px; width: 81%; padding: 7px; }
  .identity-photo[data-depth="1"] { --card-x: 18px; --card-angle: 7deg; }
  .identity-photo[data-depth="2"] { --card-x: -15px; --card-angle: -11deg; }
  .identity-photo figcaption { gap: 8px; font-size: 9px; padding: 12px 2px 4px; }
  .identity-photo figcaption>span:last-child { font-size: 16px; }
  .identity-photo-turn { bottom: 14px; right: 1%; min-height: 44px; gap: 18px; padding: 10px 14px; font-size: 11px; }
  .identity-deck-footer { gap: 12px; padding-top: 12px; }
  .identity-deck-footer>[data-identity-position] { font-size: 19px; }
  .identity-explored { font-size: 9px; }
  .identity-controls { gap: 6px; }
  .identity-controls button { min-width: 44px; }
  .identity-ready .identity-panel { padding-top: 23px; }
  .identity-personal-note { margin-bottom: 15px; font-size: 11px; }
  .identity-panel h3 { font-size: clamp(34px,9vw,44px); margin-bottom: 18px; }
  .identity-facts { gap: 6px 13px; margin-bottom: 20px; }
  .identity-facts li { font-size: 10px; }
  .identity-biography p { font-size: 15px; line-height: 1.9; }
  .identity-moments { margin-top: 30px; padding-top: 28px; }
  .identity-moments-heading { gap: 12px; margin-bottom: 22px; }
  .identity-moments-heading h3 { font-size: 30px; }
  .identity-moments-heading a { gap: 9px; font-size: 11px; }
  .identity-contact-sheet { padding-left: 2px; padding-right: 2px; gap: 21px 17px; }
  .identity-moment img { aspect-ratio: 1/1.15; border-width: 5px; }
  .identity-moment figcaption { font-size: 9px; }
  .identity-moment figcaption span { margin-right: 4px; }
}
@media (prefers-reduced-motion:reduce) {
  .identity-photo { transition: none; }
  .identity-photo[data-depth="0"] { --tilt-x: 0deg; --tilt-y: 0deg; }
  .identity-panel.is-entering { animation: none; }
  .identity-moment, .identity-photo-turn { transition: none; }
}
