/* v2 orientation overlay — does not replace live styles.css */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;650;750;850;900&display=swap");

html {
  scroll-padding-top: 108px;
}

.mock-banner {
  padding: 9px clamp(16px, 4vw, 60px);
  background: #1a1408;
  color: var(--gold, #d9a23b);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid var(--gold, #d9a23b);
}

.chrome {
  position: sticky;
  top: 0;
  z-index: 40;
}

.chrome .site-header {
  position: relative;
  top: auto;
  padding: 4px clamp(16px, 4vw, 60px);
  gap: 12px 16px;
}

.site-header nav {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 2px;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 10px;
  white-space: nowrap;
}

nav a[aria-current="page"] {
  color: var(--gold, #d9a23b);
}

.nav-break {
  width: 1px;
  align-self: stretch;
  min-height: 14px;
  margin: 0 6px;
  background: var(--line, rgba(255, 243, 223, 0.16));
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer-nav a + a::before {
  content: none;
}

footer .site-footer-nav,
.site-footer .site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* ---------- Orientation home ---------- */

.orient {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 84px) clamp(40px, 6vw, 72px);
  min-height: calc(100svh - 130px);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 162, 59, 0.12), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(67, 178, 184, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(17, 19, 19, 0.55) 0%, rgba(17, 19, 19, 0.92) 72%),
    url("/assets/portfolio/rain-car.png") center 42% / cover;
}

.orient h1 {
  max-width: 14ch;
}

.orient-line {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 650;
}

.orient-note {
  max-width: 38ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.orient-ask {
  margin: 48px 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
}

.door-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 280px;
  padding: 32px 32px 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 243, 223, 0.08), rgba(255, 243, 223, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease;
}

.door-card:hover,
.door-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  outline: none;
}

.door-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(217, 162, 59, 0.55);
}

.door-tour {
  border-top: 6px solid var(--teal);
}

.door-wander,
.door-explore {
  border-top: 6px solid var(--gold);
}

.door-card h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 0.96;
}

.door-card p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 36ch;
}

.door-go {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 900;
}

.door-card:hover .door-go span {
  display: inline-block;
  transform: translateX(4px);
}

.door-go span {
  transition: transform 160ms ease;
  display: inline-block;
}

/* ---------- Featured Kit & Thorn (home) ---------- */

.featured-kit {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0f0f;
  width: 100%;
}

.featured-kit-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 38%);
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: stretch;
  min-height: 120px;
}

.featured-kit-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 16px clamp(20px, 6vw, 84px);
}

.featured-kit-copy h2 {
  margin: 0 0 12px;
  max-width: none;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.1;
}

.featured-kit-dek {
  display: none;
}

.featured-kit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.featured-kit-actions .button.primary {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.featured-kit-art {
  margin: 0;
  min-height: 0;
  height: 120px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #0d0f0f;
  justify-self: stretch;
}

.featured-kit-art a {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-kit-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.activity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: #0d0f0f;
}

.activity-col {
  padding: 28px clamp(20px, 4vw, 40px);
}

.activity-col + .activity-col {
  border-left: 1px solid var(--line);
}

.activity-col h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.activity-col p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.activity-col a {
  color: var(--ink);
  font-weight: 750;
  border-bottom: 1px solid transparent;
}

.activity-col a:hover {
  color: var(--gold);
}

/* ---------- Shared page hero (tour / what's new) ---------- */

.page-hero {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 6vw, 84px) 28px;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lede {
  max-width: 46ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

/* ---------- Tour ---------- */

.tour-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(12px, 4vw, 60px);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: #0d0f0f;
  scrollbar-width: none;
}

.tour-rail::-webkit-scrollbar {
  display: none;
}

.tour-rail-stops {
  display: flex;
  align-items: center;
  gap: 0;
}

.tour-rail a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.tour-rail a:hover,
.tour-rail a.is-active {
  color: var(--gold);
}

.tour-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  color: inherit;
  font-size: 0.7rem;
  font-weight: 950;
}

.tour-rail a.is-active .tour-num {
  background: var(--gold);
  border-color: var(--gold);
  color: #101111;
}

.tour-rail-now {
  display: none;
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.tour-stop {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  min-height: calc(100svh - 108px);
  scroll-margin-top: 108px;
  border-bottom: 1px solid var(--line);
}

.tour-stop.flip {
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
}

.tour-stop.flip .tour-copy {
  order: 2;
}

.tour-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 84px);
}

.tour-kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 14px;
}

.tour-kicker .n {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.tour-copy h2 {
  margin: 0 0 16px;
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.94;
}

.tour-why {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-copy > p:not(.eyebrow):not(.tour-why) {
  max-width: 42ch;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.tour-lane {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  max-width: 44ch;
  color: var(--muted);
}

.tour-lane li {
  position: relative;
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.tour-lane li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.tour-art {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #050606;
}

.tour-stop:not(.flip) .tour-art {
  border-left: 1px solid var(--line);
}

.tour-stop.flip .tour-art {
  border-right: 1px solid var(--line);
}

.tour-art img {
  height: 100%;
  object-fit: cover;
}

.tour-art.contain img {
  object-fit: contain;
  object-position: center;
  background: #0a0c0c;
}

.tour-art.portrait img {
  object-position: center 8%;
}

.tour-art.lane img {
  object-fit: cover;
  object-position: 38% 50%;
}

.tour-end {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 84px);
  background:
    radial-gradient(circle at 18% 20%, rgba(217, 162, 59, 0.12), transparent 36%),
    #0b0d0d;
  border-bottom: 1px solid var(--line);
}

.tour-end h2 {
  max-width: 14ch;
  margin: 8px 0 18px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.94;
}

.tour-end p {
  max-width: 40ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.tour-end-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- What's new ---------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 clamp(20px, 6vw, 84px) 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 243, 223, 0.06);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.chip.is-on {
  border-color: var(--gold);
  background: var(--gold);
  color: #101111;
}

.chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.mock-note {
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-story {
  max-width: 54ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.news-board {
  padding: 0 0 clamp(40px, 6vw, 72px);
}

.news-group {
  padding: 8px clamp(20px, 6vw, 84px) 12px;
}

.news-group h2 {
  margin: 20px 0 4px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.news-list {
  padding: 8px 0 0;
}

.news-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.news-row:last-child {
  border-bottom: 1px solid var(--line);
}

.news-date {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-row h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.news-row p {
  margin: 0;
  color: var(--muted);
}

.news-empty {
  padding: 28px clamp(20px, 6vw, 84px) 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

.news-empty[hidden],
.news-group[hidden],
.news-row[hidden] {
  display: none;
}

.subscribe {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 0%, rgba(217, 162, 59, 0.1), transparent 36%),
    #080909;
}

.subscribe h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.subscribe p {
  max-width: 42ch;
  margin: 0 0 22px;
  color: var(--muted);
}

/* Explore hash targets sit under sticky chrome */
#universe,
#featured,
#lira,
#velvet-tides,
#ai-toolkits,
#merch,
#published-work,
#social-shorts,
#music,
#writing,
#life,
#contact {
  scroll-margin-top: 96px;
}

/* ---------- Mobile ---------- */

@media (max-width: 980px) {
  .door-grid,
  .activity-strip,
  .featured-kit-inner,
  .tour-stop,
  .tour-stop.flip,
  .news-row {
    grid-template-columns: 1fr;
  }

  .featured-kit-inner {
    display: flex;
    flex-direction: column;
  }

  .featured-kit-art {
    order: -1;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    height: 140px;
    min-height: 140px;
    max-height: 140px;
  }

  .featured-kit-copy {
    padding: 16px clamp(20px, 5vw, 40px) 18px;
  }

  .activity-col + .activity-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .tour-stop,
  .tour-stop.flip {
    display: flex;
    flex-direction: column;
  }

  .tour-copy,
  .tour-stop.flip .tour-copy {
    order: 1;
  }

  .tour-art,
  .tour-stop.flip .tour-art {
    order: 2;
  }

  .tour-stop:not(.flip) .tour-art,
  .tour-stop.flip .tour-art {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    min-height: 280px;
  }

  .news-row {
    gap: 8px;
  }

  .nav-break {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0;
  }

  .site-header nav a {
    font-size: 0.82rem;
    padding: 10px 7px;
  }
}

@media (max-width: 640px) {
  .orient {
    min-height: 0;
    padding: 48px 20px 36px;
  }

  .door-card {
    min-height: 0;
    padding: 24px;
  }

  .featured-kit-art {
    height: 120px;
    min-height: 120px;
    max-height: 120px;
  }

  .featured-kit-copy h2 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .tour-copy {
    padding: 28px 20px 32px;
  }

  .page-hero,
  .chip-row,
  .news-group,
  .news-empty,
  .subscribe,
  .tour-end {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tour-rail {
    gap: 8px;
    padding-left: 12px;
    padding-right: 16px;
  }

  .tour-rail-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .tour-rail-now {
    display: block;
  }

  html {
    scroll-padding-top: 96px;
  }

  .tour-stop {
    scroll-margin-top: 96px;
    min-height: 0;
  }
}
