/* Hero composition pass: type hierarchy, list rhythm, smaller paired tiles, soft hand-off to "02 — The man".
   The artwork itself (position, crop) is untouched. Loads last. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 1. Title block: Abokar.com gets presence, the tagline stays the hero line */
.hero-mind { text-align: right; }
.hm-site { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: clamp(20px, 5.6vw, 28px); letter-spacing: .06em; color: #e9c77e; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hm-site::before { content: ""; width: clamp(18px, 6vw, 36px); height: 1px; background: linear-gradient(90deg, rgba(233,199,126,0), #e9c77e); }
.hm-tag { margin: 4px 0 0; font-size: clamp(26px, 7.2vw, 40px); line-height: 1.04; }

/* 2. The three lines: one size, one right edge, even rhythm, a hairline to anchor them */
.hm-list { gap: 0; padding-right: 14px; border-right: 1px solid rgba(233,199,126,.45); }
.hm-item { display: block; padding: 3px 0; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(21px, 5.6vw, 30px); line-height: 1.12; color: #f0e8d6; text-decoration: none;
  opacity: 0; transform: translateX(10px); animation: hmIn .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.55s + var(--i) * .14s); transition: color .2s; }
.hm-item:hover, .hm-item:focus-visible { color: #e9c77e; }
.intro-play .hm-item { animation-delay: calc(3s + var(--i) * .16s); }
@keyframes hmIn { to { opacity: 1; transform: none; } }

/* 3. Tiles: ~35% smaller, side by side, low in the hero, labels readable */
.shortcuts.in-hero { top: auto; bottom: clamp(64px, 9vh, 88px); left: clamp(18px, 5vw, 56px); grid-template-columns: repeat(2, 64px); gap: 0 18px; justify-content: start; }
.shortcuts.in-hero .tile.tile-card { max-width: 64px; border-width: 2px; border-radius: 14px; }
.shortcuts.in-hero .tile-type .t-num { font-size: 19px; }
.shortcuts.in-hero .tile-type .t-word { font-size: 6px; letter-spacing: .26em; }
.shortcuts.in-hero .cap { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }

/* 5. Soft hand-off: deeper bottom fade into the page colour, no hard edge */
.home .hero { border-radius: 0; }
.home .hero::after { background:
  linear-gradient(90deg, rgba(10,8,14,.55) 0%, rgba(10,8,14,.15) 40%, rgba(10,8,14,0) 60%),
  linear-gradient(180deg, rgba(10,8,14,.35) 0%, rgba(10,8,14,0) 20%, rgba(10,8,14,0) 62%, rgba(11,11,10,.75) 86%, #0b0b0a 100%); }
.about { margin-top: -6px; border-top-color: transparent; background: linear-gradient(180deg, rgba(11,11,10,0), rgba(29,29,26,.96) 90px, rgba(18,18,16,.98)); }

/* 6. Chevron: centred, clear of the tiles */
.scroll-cue { bottom: 14px; }

/* nav sizing lives in style.css */

@media (prefers-reduced-motion: reduce) { .hm-item { animation: none; opacity: 1; transform: none; } }
.hero-mind { max-width: 88%; }
.hm-tag { white-space: nowrap; font-size: clamp(24px, 6.8vw, 40px); }

/* ---- Final polish ---- */
/* 1. Less dead space under the arrow: no solid black band at the hero's foot, and the
      About card starts as a card (no 90px transparent lead-in). Safari: use small-viewport units. */
.home .hero { min-height: 80vh; min-height: 80svh; }
@media (min-width: 760px) { .home .hero { min-height: 92vh; min-height: 92svh; } }
.home .hero::after { background:
  linear-gradient(90deg, rgba(10,8,14,.55) 0%, rgba(10,8,14,.15) 40%, rgba(10,8,14,0) 60%),
  linear-gradient(180deg, rgba(10,8,14,.35) 0%, rgba(10,8,14,0) 20%, rgba(10,8,14,0) 74%, rgba(11,11,10,.7) 93%, #0b0b0a 100%); }
.about { margin-top: 10px; border-top-color: rgba(217,169,68,.14);
  background: linear-gradient(180deg, rgba(29,29,26,.92), rgba(18,18,16,.98)); }
.scroll-cue { bottom: 10px; }

/* 2. Right-hand lines: equal steps, optical right edge, a short gold hairline that fades at both ends */
.hm-list { position: absolute; gap: 0; padding: 2px 16px 2px 0; border-right: 0; }
.hm-list::after { content: ""; position: absolute; top: 6px; bottom: 6px; right: 0; width: 1px;
  background: linear-gradient(180deg, rgba(233,199,126,0), rgba(233,199,126,.75) 22%, rgba(233,199,126,.75) 78%, rgba(233,199,126,0)); }
.hm-item { padding: 0; line-height: 1.42; letter-spacing: .005em; margin-right: -.04em; }
.hero-mind { right: calc(clamp(18px, 5vw, 56px)); }
.hm-list { right: clamp(18px, 5vw, 56px); }

/* 3. Tiles: same look and place; on tap the gold border brightens and a soft glow opens */
.shortcuts.in-hero .tile-cap { -webkit-tap-highlight-color: transparent; outline: none; }
.shortcuts.in-hero .tile.tile-card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.shortcuts.in-hero .tile-cap:hover .tile, .shortcuts.in-hero .tile-cap:focus-visible .tile {
  border-color: #f2cf7a; box-shadow: inset 0 0 0 2px #fbf7ee, inset 0 0 0 3px #e3c98d, 0 0 0 3px rgba(242,207,122,.28), 0 10px 22px rgba(0,0,0,.5); transform: translateY(-2px); }
.shortcuts.in-hero .tile-cap:active .tile { transform: scale(.95); border-color: #ffe39a;
  box-shadow: inset 0 0 0 2px #fbf7ee, inset 0 0 0 3px #e3c98d, 0 0 0 5px rgba(242,207,122,.35), 0 0 22px rgba(242,207,122,.45); }
.shortcuts.in-hero .tile-type { /* dark 1000 tile keeps its own inner colours */ }
.shortcuts.in-hero .tile-cap.opening .tile { animation: chapter .38s ease-out forwards; }
@keyframes chapter { 0% { box-shadow: 0 0 0 0 rgba(242,207,122,.6); } 100% { box-shadow: 0 0 0 14px rgba(242,207,122,0); transform: scale(1.04); } }

/* 5. Safari: blur on the nav pill and buttons */
#site-nav { -webkit-backdrop-filter: blur(14px); }
.btn-ghost { -webkit-backdrop-filter: blur(4px); }

@media (prefers-reduced-motion: reduce) { .shortcuts.in-hero .tile.tile-card { transition: none; } .shortcuts.in-hero .tile-cap.opening .tile { animation: none; } }

/* ---- Arrows pass (17 Nov, 06:44) ---- */
/* Abokar.com up, tagline on two lines so it stays right of the man */
.hero-mind { top: clamp(70px, 10vh, 120px); max-width: 44%; }
.hm-tag { white-space: normal; font-size: clamp(24px, 6.6vw, 40px); line-height: 1.02; margin-top: 6px; }
/* the three lines are gone */
.hm-list { display: none; }
/* connection moved into the empty clouds on the right */
.hero-connect { position: absolute; z-index: 3; right: clamp(18px, 5vw, 56px); top: 50%; width: min(44%, 220px);
  display: grid; gap: 8px; justify-items: stretch; text-align: right; }
.hc-q { margin: 0 0 4px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(18px, 4.8vw, 26px); line-height: 1.12; color: #f0e8d6; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hc-btn { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none;
  color: #f0e8d6; border: 1.5px solid #d9a944; background: rgba(10,8,14,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .2s, transform .15s; }
.hc-btn.gold { background: linear-gradient(180deg, #f2cf7a, #d9a944); color: #1a1408; border-color: transparent; }
.hc-btn:hover { background: rgba(217,169,68,.2); }
.hc-btn.gold:hover { background: linear-gradient(180deg, #f6d98e, #e0b350); }
.hc-btn:active { transform: scale(.97); }
.hero-connect { opacity: 0; animation: fadeIn .8s ease .6s forwards; }
.intro-play .hero-connect { animation-delay: 3.2s; }
@media (prefers-reduced-motion: reduce) { .hero-connect { animation: none; opacity: 1; } }

/* Frames logo (as on the gallery page): gold serif number over letter-spaced FRAMES */
.shortcuts.in-hero .tile-type { display: grid; place-content: center; gap: 2px; background: #0d0c0a; }
.shortcuts.in-hero .tile-type::before, .shortcuts.in-hero .tile-type::after { display: none; }
.shortcuts.in-hero .tile-type .t-num { font-family: "Instrument Serif", Georgia, serif; font-size: 26px; line-height: .9; color: #e2c27e; letter-spacing: .01em; text-shadow: none; }
.shortcuts.in-hero .tile-type .t-word { font-family: "Instrument Serif", Georgia, serif; font-size: 7.5px; font-weight: 400; letter-spacing: .42em; padding-left: .42em; color: #f0e8d6; }
.ff-logo { display: grid; justify-items: start; gap: 2px; letter-spacing: 0; }
.ff-num { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(56px, 16vw, 96px); line-height: .85; color: #e2c27e; }
.ff-word { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(16px, 4.4vw, 22px); letter-spacing: .5em; color: #f0e8d6; }
/* connection: readable question on a soft dark wash, two buttons */
.hero-connect { padding: 12px 12px 14px; border-radius: 18px; background: radial-gradient(120% 120% at 70% 40%, rgba(8,6,10,.62), rgba(8,6,10,.38) 70%, rgba(8,6,10,0)); width: min(52%, 250px); }
.hc-q { color: #fff6e6; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 2px 16px rgba(0,0,0,.8); }
.hc-btn { min-height: 42px; font-size: 13.5px; text-align: center; line-height: 1.15; }
#free { scroll-margin-top: 90px; }
/* tiles a little lower, where marked; Man section removed so the cards follow the hero */
.shortcuts.in-hero { bottom: clamp(30px, 5vh, 52px); }
.worlds { margin-top: 10px; scroll-margin-top: 80px; }
/* connection block: lower and further right */
.hero-connect { top: 58%; right: 8px; }
#services { margin-top: 10px; }
/* four options: tighter buttons so the block stays compact */
.hero-connect { top: 52%; gap: 6px; }
.hc-btn { min-height: 36px; font-size: 12.5px; flex-direction: column; padding: 4px 10px; }
.hc-btn small { font-size: 10px; font-weight: 500; opacity: .75; }
.hero-connect { width: min(58%, 260px); }
/* 09:07: "Got an idea" block flatter and spread across the width: one line of question, buttons side by side */
.hero-connect { left: 10px; right: 10px; width: auto; top: 56%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; text-align: center; }
.hero-connect .hc-q { grid-column: 1 / -1; margin: 0 0 2px; text-align: center; font-size: clamp(17px, 4.6vw, 24px); }
.hero-connect .hc-btn { min-height: 40px; font-size: 12px; padding: 4px 6px; line-height: 1.15; }
@media (min-width: 760px) { .hero-connect { left: auto; right: 40px; width: 560px; } .hero-connect .hc-btn { font-size: 13.5px; } }

/* ---- Voice notes 17 Nov ---- */
/* Abokar.com: no lead-in line, nicer display face */
.hm-site::before { display: none; }
.hm-site { font-family: "Playfair Display", "Instrument Serif", Georgia, serif; font-weight: 600; font-size: clamp(24px, 6.6vw, 36px); letter-spacing: .01em; color: #f3d9a0; }

/* "Got an idea": a rounded box ~40% wide, low in the bottom right over the grass, below the rock line */
.hero-connect { left: auto; right: 12px; top: auto; bottom: 56px; width: clamp(150px, 42%, 260px); display: grid; grid-template-columns: 1fr; gap: 6px; padding: 12px; border-radius: 18px; text-align: center;
  background: rgba(20,14,10,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,214,170,.18); }
.hero-connect .hc-q { font-size: clamp(15px, 4.2vw, 20px); margin: 0 0 2px; }
/* all three buttons match: soft cream with a warm sunset-orange edge, no gold */
.hero-connect .hc-btn, .hero-connect .hc-btn.gold { min-height: 36px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; color: #3a2416;
  background: rgba(253,243,226,.92); border: 1.5px solid #e8955a; border-radius: 999px; }
.hero-connect .hc-btn:hover { background: #fff6e9; border-color: #f2a66b; }
@media (min-width: 760px) { .hero-connect { width: 300px; right: 40px; bottom: 64px; } }

/* 02 sits closer to the hero */
#services { margin-top: -18px; position: relative; z-index: 2; }
.hero-connect { bottom: 44px; gap: 5px; padding: 10px; }
.hero-connect .hc-btn, .hero-connect .hc-btn.gold { min-height: 32px; padding: 4px 8px; font-size: 12px; }
