/* Home: hero, venture stage, story, elsewhere, contact form. Ported from
   concepts/1-portrait-open/index.html without changes; loaded after site.css (the shell), in the concept's order. */
/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0%;
  transform-origin: 50% 0%;
  animation: kenburns 48s cubic-bezier(.45, .05, .55, .95) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 58% 24% at 50% 60%, rgba(11, 11, 10, .55), rgba(11, 11, 10, 0) 100%),
    linear-gradient(180deg, rgba(11, 11, 10, .3) 0%, rgba(11, 11, 10, 0) 12%, rgba(11, 11, 10, 0) 52%, rgba(11, 11, 10, .45) 72%, rgba(11, 11, 10, .9) 90%, #0B0B0A 100%),
    radial-gradient(ellipse 130% 100% at 50% 35%, rgba(11, 11, 10, 0) 62%, rgba(11, 11, 10, .55) 100%);
}
.hero-fade {
  position: absolute; inset: 0; z-index: -1;
  background: var(--black); opacity: 0;
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18vh var(--gutter) 0;
  text-align: center;
}
.hero-name { color: var(--paper); }
.hero-name span:last-child { margin-right: -.24em; }
.morph .hero-name { color: transparent; }
.identity {
  margin-top: clamp(22px, 2.6vw, 34px);
  color: var(--yellow);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 450;
  letter-spacing: .005em;
}
.now {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vh, 44px);
  display: flex; justify-content: center; align-items: center; gap: 10px;
  color: var(--ash);
  font-size: 13px;
  letter-spacing: .01em;
  padding: 0 var(--gutter);
  text-align: center;
}
.now i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ash);
  flex: none;
  animation: breathe 2.8s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .25; } }

/* intro */
.js .intro { opacity: 0; }
.js .intro-name { opacity: 0; filter: blur(14px); }

/* ---------- Ventures ---------- */
.track { position: relative; }
.anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.anchor-0 { top: 0; }
.anchor-1 { top: 100vh; top: 100svh; }
.anchor-2 { top: 200vh; top: 200svh; }
.stage { position: relative; }
.venture {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 96px var(--gutter) 64px;
}
.v-ambient {
  position: absolute; inset: -10%; z-index: -1;
  background-size: cover; background-position: center;
  filter: blur(70px) saturate(.9);
  opacity: .22;
  transform: scale(1.1);
}
.v-ambient::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 60% 50%, rgba(11, 11, 10, .2), #0B0B0A 85%);
}
.v-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: clamp(40px, 5.5vw, 88px);
  align-items: center;
}
.v-text { display: flex; flex-direction: column; align-items: flex-start; }
.v-name {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.v-logo { display: block; width: auto; height: clamp(58px, 5vw, 72px); }
.v-logo--line { height: clamp(36px, 3.05vw, 44px); margin: 11px 0; }
.v-line {
  margin-top: 20px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: rgba(238, 234, 226, .86);
  max-width: 30ch;
}
.v-stat { margin-top: 32px; display: flex; align-items: baseline; gap: 14px; }
.v-stat strong {
  font-size: clamp(44px, 4.2vw, 64px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.v-stat span { color: var(--ash); font-size: 14px; max-width: 9.5em; line-height: 1.35; }
.v-link {
  margin-top: 36px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(238, 234, 226, .3);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.v-link:hover { border-color: var(--paper); gap: 14px; }
.v-link svg, .arrow { width: 14px; height: 14px; flex: none; }

.screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--grain);
  box-shadow:
    0 0 0 1px rgba(238, 234, 226, .14),
    0 40px 120px -30px rgba(0, 0, 0, .9),
    0 18px 40px -20px rgba(0, 0, 0, .8);
}
.screen::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(11, 11, 10, 0) 70%, rgba(11, 11, 10, .35));
}
.screen video, .screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.screen img { z-index: 0; }
.screen video { z-index: 1; }

.v-ticks { display: none; }

/* Pinned stage (desktop, motion allowed) */
.pin .track { height: 350vh; }
.pin .anchor-1 { top: 125vh; }
.pin .anchor-2 { top: 210vh; }
.pin .stage {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
}
.pin .venture {
  position: absolute; inset: 0;
  min-height: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .3s linear, visibility 0s linear .3s;
}
.pin .venture.is-active {
  opacity: 1; visibility: visible;
  transition: opacity .3s linear, visibility 0s;
}
.pin .v-text > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.pin .venture.is-active .v-text > * { opacity: 1; transform: none; }
.pin .venture.is-active .v-text > :nth-child(2) { transition-delay: .06s; }
.pin .venture.is-active .v-text > :nth-child(3) { transition-delay: .12s; }
.pin .venture.is-active .v-text > :nth-child(4) { transition-delay: .18s; }
.pin .venture.is-active .v-text > :nth-child(5) { transition-delay: .24s; }
.pin .v-ticks {
  position: absolute; left: 50%; bottom: 36px; z-index: 5;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.pin .v-ticks i {
  width: 28px; height: 2px; background: rgba(238, 234, 226, .18);
  transition: background .3s var(--ease);
}
.pin .v-ticks i.on { background: var(--paper); }

/* ---------- Generic full screen sections ---------- */
.section {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 110px var(--gutter) 80px;
  position: relative;
}
.wrap { width: min(1180px, 100%); margin: 0 auto; }

/* Story */
.story-list {
  margin-top: clamp(48px, 7vh, 80px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  counter-reset: s;
}
.story-list li {
  position: relative;
  padding-top: 28px;
}
.story-list li::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px;
  background: var(--line);
}
.story-list .label { display: block; margin-bottom: 18px; }
.story-list p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  color: rgba(238, 234, 226, .9);
}
.story-list li:last-child::before { background: rgba(238, 234, 226, .5); }

/* Elsewhere */
.socials { margin-top: clamp(36px, 5vh, 56px); border-top: 1px solid var(--line); }
.social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 170px 24px;
  align-items: center; gap: 24px;
  padding: clamp(12px, 1.6vh, 20px) 4px;
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.social-word {
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 600; letter-spacing: -.035em; line-height: 1.05;
  color: rgba(238, 234, 226, .9);
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.social-line { font-size: 16px; color: rgba(238, 234, 226, .72); transition: color .4s var(--ease); }
.social-handle { font-size: 14px; color: var(--ash); text-align: right; }
.social .arrow { color: var(--ash); justify-self: end; transition: transform .4s var(--ease), color .4s var(--ease); }
.social:hover .social-word, .social:focus-visible .social-word { transform: translateX(14px); color: var(--paper); }
.social:hover .social-line { color: var(--paper); }
.social:hover .arrow { color: var(--paper); transform: translate(3px, -3px); }

/* Contact */
#contact { padding-bottom: 120px; }
.contact-wrap { width: min(1080px, 100%); }
.quiet {
  margin-top: 22px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px;
  font-size: 14px; color: var(--ash);
}
.quiet a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s var(--ease); }
.quiet a svg { width: 12px; height: 12px; flex: none; opacity: .7; }
.quiet b { font-weight: 500; color: rgba(238, 234, 226, .82); border-bottom: 1px solid rgba(238, 234, 226, .2); padding-bottom: 1px; transition: border-color .3s var(--ease), color .3s var(--ease); }
.quiet a:hover b { color: var(--paper); border-color: var(--paper); }

.cform {
  margin-top: clamp(36px, 5vh, 52px);
  display: grid; grid-template-columns: 372px minmax(0, 1fr);
  gap: 48px; align-items: start;
  text-align: left;
}
.cform[hidden] { display: none; }
.topics { border: 0; margin: 0; padding: 0; min-width: 0; }
.f-label, .topics legend {
  display: block; padding: 0;
  font-size: 13px; font-weight: 500; color: rgba(238, 234, 226, .8);
  margin-bottom: 8px;
}
.topic-list { display: grid; gap: 8px; }
.topic { display: block; position: relative; cursor: pointer; }
.sr-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.t-box {
  display: block;
  padding: 15px 18px 15px 46px;
  border-radius: 10px;
  background: var(--grain);
  box-shadow: 0 0 0 1px var(--line);
  position: relative;
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.topic:hover .t-box { box-shadow: 0 0 0 1px rgba(238, 234, 226, .28); }
.tick {
  position: absolute; left: 18px; top: 18px;
  width: 14px; height: 14px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(238, 234, 226, .4);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.t-title { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.t-desc { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ash); line-height: 1.4; }
.sr-radio:checked + .t-box { background: #1e1d20; box-shadow: 0 0 0 1px rgba(238, 234, 226, .55); }
.sr-radio:checked + .t-box .tick { box-shadow: inset 0 0 0 1.5px var(--yellow); background: radial-gradient(circle, var(--yellow) 0 3.5px, transparent 4px); }
.sr-radio:focus-visible + .t-box { outline: 2px solid var(--yellow); outline-offset: 3px; }
.topics.is-invalid .t-box { box-shadow: 0 0 0 1px var(--err); }

.f-main { display: grid; gap: 18px 16px; grid-template-columns: 1fr 1fr; }
.f-row-full { grid-column: 1 / -1; }
.extra { grid-column: 1 / -1; display: grid; gap: 18px 16px; }
.extra[hidden] { display: none; }
.extra-3 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 1fr); }
.extra-2 { grid-template-columns: 1fr 1fr; }
.extra.is-entering { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.field { min-width: 0; }
.field input, .field textarea {
  display: block; width: 100%;
  font: 400 16px/1.4 var(--sans);
  color: var(--paper);
  background: var(--grain);
  border: 0; border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
  padding: 12px 14px;
  min-height: 46px;
  transition: box-shadow .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field input[type="date"] { color-scheme: dark; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field textarea { resize: vertical; min-height: 124px; }
.field input:hover, .field textarea:hover { box-shadow: 0 0 0 1px rgba(238, 234, 226, .26); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 1px rgba(238, 234, 226, .55); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.field [aria-invalid="true"] { box-shadow: 0 0 0 1px var(--err); }
.err { padding-top: 7px; font-size: 13px; line-height: 1.2; color: var(--err); }
.err:empty { padding-top: 0; }
.f-actions { grid-column: 1 / -1; margin-top: 8px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.send {
  font: 600 15px/1 var(--sans);
  color: var(--black); background: var(--yellow);
  border: 0; border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.send:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(255, 217, 0, .45); }
.send:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.send:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.f-status { font-size: 14px; color: var(--err); }
.f-status[hidden] { display: none; }
.f-status a { color: var(--paper); border-bottom: 1px solid rgba(238, 234, 226, .4); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.sent {
  margin-top: clamp(48px, 8vh, 96px);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
}
.sent[hidden] { display: none; }
.sent i { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.sent p {
  font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
  max-width: 22ch;
}
.sent p:focus { outline: none; }
.sent.is-entering { animation: rise .6s var(--ease) both; }

/* ---------- Mobile ---------- */
@media (max-width: 899px) {
  .hero-content { padding-top: 14vh; }
  .hero-name { font-size: clamp(40px, 12.2vw, 64px); line-height: 1.08; }
  .hero-name span { display: block; margin-right: -.24em; }
  .identity { max-width: 26ch; line-height: 1.45; margin-top: 26px; font-size: 16px; }
  /* The photo is 16:9: at full phone height only a quarter of its width shows. 150vw tall shows about 37%. */
  .hero-photo {
    bottom: auto; height: min(100%, 150vw);
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .hero-shade {
    background:
      radial-gradient(ellipse 95% 22% at 50% 56%, rgba(11, 11, 10, .55), rgba(11, 11, 10, 0) 100%),
      linear-gradient(180deg, rgba(11, 11, 10, .35) 0%, rgba(11, 11, 10, 0) 12%, rgba(11, 11, 10, 0) 42%, rgba(11, 11, 10, .4) 58%, rgba(11, 11, 10, 0) 100%);
  }

  .venture { padding: 84px var(--gutter) 56px; }
  .v-inner { grid-template-columns: 1fr; gap: 36px; }
  .v-media { order: -1; }
  .screen { border-radius: 10px; }
  .v-name { margin-top: 16px; font-size: 36px; }
  .v-line { margin-top: 14px; font-size: 17px; }
  .v-stat { margin-top: 22px; }
  .v-stat strong { font-size: 46px; }
  .v-link { margin-top: 26px; }
  .v-ambient { opacity: .3; }
  .pin .stage { height: 100vh; height: 100svh; }
  /* Top-aligned so each card's screen sits in the same place through the crossfade. */
  .pin .venture { align-items: flex-start; padding: max(76px, 17svh) var(--gutter) 60px; }
  .pin .v-inner { gap: 28px; }
  .pin .v-ticks { bottom: 24px; }

  .section { padding: 96px var(--gutter) 64px; }
  .story-list { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .story-list li { display: grid; grid-template-columns: 44px 1fr; padding: 20px 0; }
  .story-list li:last-child { border-bottom: 1px solid var(--line); }
  .story-list .label { margin: 4px 0 0; }
  .story-list p { font-size: 17px; }

  .social { grid-template-columns: minmax(0, 1fr) 20px; grid-template-areas: "w a" "l a"; gap: 4px 12px; padding: 16px 0; }
  .social-word { grid-area: w; font-size: 38px; }
  .social-line { grid-area: l; font-size: 14.5px; }
  .social-handle { display: none; }
  .social .arrow { grid-area: a; }

  #contact { padding-bottom: 96px; }
  .quiet { flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
  .cform { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .t-box { padding: 13px 16px 13px 42px; }
  .tick { left: 16px; top: 16px; }
  .f-main, .extra-3, .extra-2 { grid-template-columns: 1fr; }
  .send { width: 100%; padding: 17px 30px; }
}

/* Short phones: tighten the pinned card so it fits one screen. */
@media (max-width: 899px) and (max-height: 720px) {
  .pin .venture { padding-top: max(68px, 14svh); padding-bottom: 48px; }
  .pin .v-inner { gap: 20px; }
  .pin .v-name { margin-top: 10px; }
  .pin .v-logo { height: 48px; }
  .pin .v-logo--line { height: 30px; margin: 9px 0; }
  .pin .v-line { font-size: 16px; margin-top: 10px; }
  .pin .v-stat { margin-top: 14px; }
  .pin .v-stat strong { font-size: 38px; }
  .pin .v-link { margin-top: 18px; }
  .pin .v-ticks { bottom: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-photo img, .now i { animation: none; }
  .hero-photo img { transform: scale(1.04); }
  .venture video { display: none; }
}
