/* Home — "My mind on display". Loads after style.css and overrides the old hero rules.
   Keeps the sunset scene, black nav pill, cream/gold tiles and charcoal cards. */

.home main { padding-top: 0; overflow-x: hidden; }

/* ---------- Hero ---------- */
.home .hero { position: relative; margin: -60px -16px 0; min-height: 86vh; display: block; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); background: #120d18; }
.home .hero-bg, .home .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; }
.home .hero-bg { background: url("hero-v20.png") 60% 55% / cover no-repeat; filter: none; }
.home .hero-video { object-fit: cover; object-position: 60% 55%; }
.home .hero::before { display: none; }
/* left-side gradient for legibility, bottom fade into the page */
.home .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,8,14,.78) 0%, rgba(10,8,14,.45) 38%, rgba(10,8,14,0) 62%),
              linear-gradient(180deg, rgba(10,8,14,.35) 0%, rgba(10,8,14,0) 22%, rgba(10,8,14,0) 70%, rgba(11,11,10,.95) 100%); }
.hero-copy { position: relative; z-index: 2; max-width: 460px; padding: clamp(110px, 16vh, 170px) clamp(20px, 5vw, 56px) 40px; }
.hero-hi { margin: 0; font-size: clamp(18px, 2.4vw, 24px); font-weight: 500; color: var(--text); opacity: .9; }
.hero-name { margin: 2px 0 6px; font-size: clamp(42px, 8vw, 84px); line-height: .98; font-weight: 700; letter-spacing: -0.03em; color: var(--text); text-shadow: 0 2px 22px rgba(0,0,0,.5); }
.hero-tag { margin: 0 0 14px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(24px, 3.6vw, 38px); color: var(--text); }
.hero-intro { margin: 0 0 22px; font-size: 15px; line-height: 1.5; color: rgba(240,232,214,.9); max-width: 330px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-gold, .btn-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; transition: transform .15s, background .2s; }
.btn-gold { background: linear-gradient(180deg, #f2cf7a, #d9a944); color: #1a1408; }
.btn-ghost { border: 1.5px solid #d9a944; color: var(--text); background: rgba(10,8,14,.35); backdrop-filter: blur(4px); }
.btn-gold:active, .btn-ghost:active { transform: scale(.97); }

/* old hero bits no longer used on the new home */
.home .hero-tiles, .home .hero-inner { display: none; }

/* ---------- Shortcuts row (original framed icons) ---------- */
.shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: -28px auto 0; padding: 0 4px; position: relative; z-index: 3; max-width: 560px; }
.shortcuts .tile-cap { justify-items: center; }
.shortcuts .tile.tile-card { width: 100%; max-width: 92px; height: auto; aspect-ratio: 1; }
.shortcuts .cap { font-size: 11.5px; }

/* ---------- Shared charcoal card look ---------- */
.world, .pcard, .frames-feature, .head { background: linear-gradient(180deg, rgba(29,29,26,.96), rgba(18,18,16,.98)); border: 1px solid rgba(217,169,68,.22); border-radius: 20px; color: var(--text); }

/* ---------- Three worlds ---------- */
.worlds { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; scroll-margin-top: 80px; }
.world { position: relative; display: grid; grid-template-columns: 40px 1fr 24px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; text-decoration: none; transition: border-color .2s, transform .2s; }
.world svg { grid-row: 1 / 3; width: 32px; height: 32px; fill: none; stroke: #e9cf8f; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.world svg circle { fill: #e9cf8f; stroke: none; }
.world h2 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 24px; }
.world p { margin: 2px 0 0; grid-column: 2; font-size: 13.5px; color: var(--muted); }
.world .arrow, .pcard .arrow { grid-row: 1 / 3; grid-column: 3; display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid #d9a944; border-radius: 50%; color: #e9cf8f; font-size: 13px; }
.world:hover, .pcard:hover { border-color: rgba(217,169,68,.6); transform: translateY(-2px); }
@media (min-width: 760px) { .worlds { grid-template-columns: repeat(3, 1fr); } .world { grid-template-columns: 1fr 26px; } .world svg { grid-row: auto; margin-bottom: 10px; } .world h2, .world p { grid-column: 1; } .world .arrow { grid-row: 2 / 4; grid-column: 2; align-self: end; } }

/* ---------- 1000 Frames feature ---------- */
.frames-feature { margin-top: 16px; padding: 22px 0 18px; overflow: hidden; }
.ff-head { padding: 0 20px 16px; }
.ff-title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: .14em; }
.ff-tag { margin: 4px 0 14px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 22px; color: #e9cf8f; }
.ff-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ff-strip::-webkit-scrollbar { display: none; }
.ff-item { flex: 0 0 auto; scroll-snap-align: start; display: grid; gap: 6px; text-decoration: none; color: var(--text); }
.ff-item img { display: block; height: 200px; width: auto; max-width: 70vw; object-fit: contain; border-radius: 10px; border: 1px solid rgba(217,169,68,.35); background: #0d0b08; }
.ff-item span { font-size: 12px; color: var(--muted); }
.ff-item b { color: #e9cf8f; font-weight: 600; }

/* ---------- Inside My Head ---------- */
.head { margin-top: 16px; padding: 20px; }
.head-intro h2 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 26px; }
.head-intro p { margin: 4px 0 14px; font-size: 13.5px; color: var(--muted); }
.stages { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stages li { position: relative; text-align: center; padding: 9px 2px; font-size: 12px; font-weight: 600; border: 1.5px solid rgba(240,232,214,.25); border-radius: 999px; cursor: pointer; user-select: none; transition: background .2s, border-color .2s; }
.stages li.on { background: linear-gradient(180deg, #f2cf7a, #d9a944); color: #1a1408; border-color: transparent; }
.stage-list { display: grid; gap: 8px; }
.stage-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(240,232,214,.05); text-decoration: none; color: var(--text); }
.stage-item b { font-size: 14px; }
.stage-item small { display: block; font-size: 12px; color: var(--muted); }
.stage-item .arrow { color: #e9cf8f; }
.stage-empty { font-size: 13px; color: var(--muted); padding: 6px 2px; }

/* ---------- Project cards ---------- */
.proj-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.pcard { display: grid; grid-template-columns: 1fr 26px; align-items: center; column-gap: 12px; padding: 16px 18px; text-decoration: none; transition: border-color .2s, transform .2s; }
.pcard h3 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 22px; }
.pcard p { margin: 2px 0 0; grid-column: 1; font-size: 13.5px; color: var(--muted); }
.pcard .arrow { grid-row: 1 / 3; grid-column: 2; }
@media (min-width: 760px) { .proj-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Motto ---------- */
.motto { margin: 34px auto 10px; max-width: 560px; text-align: center; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.45; color: var(--text); opacity: .9; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .home .hero { min-height: 80vh; }
  .hero-copy { padding: 100px 20px 56px; }
  .hero-intro { font-size: 14px; max-width: 250px; }
  .home .hero-bg { background-position: 62% 60%; }
  .home .hero-video { object-position: 62% 60%; }
  .home .hero::after { background: linear-gradient(90deg, rgba(10,8,14,.8) 0%, rgba(10,8,14,.35) 55%, rgba(10,8,14,0) 75%), linear-gradient(180deg, rgba(10,8,14,.3) 0%, rgba(10,8,14,0) 25%, rgba(10,8,14,0) 72%, rgba(11,11,10,.95) 100%); }
}
@media (prefers-reduced-motion: reduce) { .world, .pcard, .btn-gold, .btn-ghost { transition: none; } }

/* Split hero copy: name at the top, intro + actions at the bottom, so the man stays clear */
.hero-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 5vw, 56px) 44px; }
.hero-bottom .hero-intro { max-width: 360px; }
@media (min-width: 721px) { .hero-copy { max-width: 520px; } }
@media (max-width: 720px) {
  .hero-copy { padding: 92px 20px 0; }
  .hero-bottom { padding: 0 20px 42px; }
  .hero-bottom .hero-intro { max-width: 300px; font-size: 13.5px; margin-bottom: 14px; }
}

/* v2 (arrows): name + intro + buttons removed; tagline top right; tiles up over the clouds */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.hero-tag-tr { position:absolute; z-index:2; top:clamp(88px, 12vh, 130px); right:clamp(18px, 5vw, 56px); margin:0; text-align:right; text-shadow:0 2px 18px rgba(0,0,0,.6); }
.shortcuts.in-hero { position:absolute; z-index:3; left:0; right:0; top:58%; margin:0 auto; padding:0 14px; }
.shortcuts.in-hero .cap { text-shadow:0 1px 8px rgba(0,0,0,.85); }

/* v3 (arrows): tagline top left; shop tiles removed; Imaginations over 1000 Frames, left column */
.hero-tag-tr { right:auto; left:clamp(18px, 5vw, 56px); text-align:left; }
.shortcuts.in-hero { grid-template-columns: 92px; gap:14px; justify-content:start; left:clamp(18px, 5vw, 56px); right:auto; padding:0; max-width:none; }

/* v4: right-side block in the hero's empty space */
.hero-mind { position:absolute; z-index:3; top:58%; right:clamp(18px, 5vw, 56px); text-align:right; max-width:58%; text-shadow:0 2px 16px rgba(0,0,0,.65); }
.hm-site { margin:0; font-size:14px; letter-spacing:.08em; color:var(--accent, #e2b45a); font-weight:600; }
.hm-tag { margin:6px 0 14px; font-family:"Instrument Serif", Georgia, serif; font-style:italic; font-size:clamp(22px, 6vw, 34px); line-height:1.05; color:#f0e8d6; }
.hm-list { display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
.hm-list a { font-family:"Instrument Serif", Georgia, serif; font-size:clamp(20px, 5.4vw, 30px); line-height:1.15; color:#f0e8d6; text-decoration:none; }
.hm-list a:hover { color:var(--accent, #e2b45a); }

/* v5 (arrows): title block up to the top right; the three lines sit in the gap beside the tiles */
.hero-mind { top:clamp(84px, 13vh, 140px); }
.hm-tag { margin-bottom:0; }
.hm-list { position:absolute; z-index:3; left:36%; top:76%; align-items:flex-start; text-shadow:0 2px 16px rgba(0,0,0,.65); }

/* v6 (markers): the three lines move to the right, over the sun and clouds */
.hm-list { left:auto; right:clamp(18px, 5vw, 56px); top:36%; align-items:flex-end; text-align:right; }
