@import url("../rovan/index-components.css");

body[data-page="index"] .site-header > section > .desk > .brand-link > img { background: transparent; border-radius: 0; }

body[data-page="index"] .main { padding-top: 96px; }
.overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr); gap: 42px; align-items: center; min-height: calc(100svh - 110px); padding: 82px 0 64px; }
.hero-copy { min-width: 0; }
.hero-kicker { color: var(--color-text-high); font-size: 1.28rem; font-weight: 800; letter-spacing: 0.08em; }
.hero-copy h1 { margin-top: 18px; font-size: clamp(3.6rem, 6vw, 7.8rem); line-height: 1.28; font-weight: 800; letter-spacing: 0; }
.hero-name, .hero-statement { display: block; }
.hero-name { font-size: 0.82em; white-space: nowrap; }
.hero-statement { margin-top: 8px; text-wrap: balance; }
.hero-desc { max-width: 620px; margin-top: 26px; font-size: 1.18rem; line-height: 1.82; color: var(--color-text-high); }
.hero-copy .hero-actions { gap: 12px; margin-top: 32px; }
.hero-copy .primary-btn, .hero-copy .secondary-btn { min-height: 46px; padding: 12px 24px; font-size: 0.94rem; }
.cube-view { position: relative; overflow: hidden; border: var(--border-card); border-radius: 18px; background: linear-gradient(145deg, #080808, #030303); box-shadow: inset 0 1px 0 #ffffff0c; }
.cube-frame { position: relative; display: grid; place-items: center; min-height: 560px; isolation: isolate; }
.cube-frame::before { content: ""; position: absolute; z-index: 0; top: -8%; left: 50%; width: min(230px, 52%); height: 99%; border-radius: 50% 50% 46% 46%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.25) 0%, rgba(255,255,255,.115) 30%, rgba(255,255,255,.04) 58%, transparent 82%), linear-gradient(180deg, rgba(255,255,255,.105) 0%, rgba(255,255,255,.062) 42%, transparent 100%); opacity: .8; filter: blur(16px); pointer-events: none; }
.cube-frame::after { content: ""; position: absolute; z-index: 0; bottom: 54px; left: 50%; width: 390px; height: 96px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,255,255,.24) 0%, rgba(255,255,255,.13) 28%, rgba(255,255,255,.045) 54%, transparent 76%); filter: blur(24px); transform: translateX(-50%) rotateX(68deg); pointer-events: none; }
.cube-grid-bg { position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,.018) 1px, transparent 1px), radial-gradient(circle at 50% 50%, rgba(255,255,255,.035), transparent 21rem); background-size: 38px 38px; -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 72%); mask-image: radial-gradient(circle at center, #000 0%, transparent 72%); pointer-events: none; }
.cube-ring { position: absolute; z-index: 0; top: 50%; left: 50%; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.025); border-radius: 50%; transform: translate(-50%, -50%) rotateX(68deg) rotateZ(24deg); pointer-events: none; }
.cube-ring.ring-b { width: 500px; height: 500px; opacity: .22; transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-34deg); }
.cube-frame canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.cube-frame canvas:active { cursor: grabbing; }
.cube-fallback { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; perspective: 1000px; }
.cube-fallback-solid { position: relative; width: 200px; height: 200px; transform-style: preserve-3d; transform: scale(0.85) rotateX(-24deg) rotateY(-36deg) rotateZ(-8deg); }
.cube-face { position: absolute; inset: 0; border: 24px solid #d7dbe1; border-radius: 5px; backface-visibility: hidden; background: linear-gradient(135deg, #090909, #020202 46%, #000); box-shadow: inset 0 0 0 1px #090909, 0 0 0 1px #e1e3e6; }
.cube-face.front { transform: translateZ(100px); }
.cube-face.back { transform: rotateY(180deg) translateZ(100px); }
.cube-face.right { transform: rotateY(90deg) translateZ(100px); background: linear-gradient(135deg, #040404, #000 70%); }
.cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.top { transform: rotateX(90deg) translateZ(100px); background: linear-gradient(135deg, #0a0a0a, #030303); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }
.cube-frame.is-rendered .cube-fallback { visibility: hidden; }
.entry-top { display: flex; justify-content: space-between; gap: 12px; color: var(--color-text-high); font-size: 0.75rem; }
.entry-card > img { margin: 32px 0 22px; width: 44px; height: 44px; }
.entry-card .tags { margin-top: 24px; margin-bottom: 24px; }
.entry-bottom { display: block; padding-top: 20px; margin-top: auto; border-top: var(--border-card); font-size: 0.85rem; font-weight: 600; }
.featured-document { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: var(--border-card); border-radius: var(--radius-panel); background: var(--color-card-prime); }
.featured-copy { padding: clamp(26px, 4vw, 44px); }
.featured-copy h2 { margin-top: 16px; font-size: 2.4rem; line-height: 1.3; }
.featured-copy > p:not(.kicker) { margin-top: 18px; color: var(--color-text-high); font-size: 0.95rem; }
.featured-copy .tags { margin-top: 22px; }
.featured-copy .primary-btn { margin-top: 28px; }
.featured-art { display: flex; align-items: center; justify-content: center; border-left: var(--border-card); background: #0c0c0c; }
.featured-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) and (min-width: 800px) { .overview { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr); gap: 28px; } .hero-copy h1 { font-size: clamp(3rem, 5.8vw, 4rem); } .cube-frame { min-height: 480px; } }
@media (max-width: 799px) {
  body[data-page="index"] .main { padding-top: 94px; }
  body[data-page="index"]:has(.site-header:not(.is-enhanced)) .main { padding-top: 150px; }
  .overview { grid-template-columns: 1fr; min-height: auto; gap: 38px; padding: 46px 0 36px; }
  .hero-kicker { font-size: 1rem; }
  .hero-copy h1 { font-size: clamp(2.45rem, 8vw, 4.2rem); }
  .hero-desc { font-size: 1rem; }
  .cube-frame { min-height: 0; aspect-ratio: 1.08; }
  .cube-ring { width: 300px; height: 300px; }
  .cube-ring.ring-b { width: 380px; height: 380px; }
  .cube-fallback-solid { transform: scale(0.68) rotateX(-24deg) rotateY(-36deg) rotateZ(-8deg); }
  .featured-document { grid-template-columns: 1fr; }

  .entry-card > img { margin-top: 24px; }
  .featured-art { border-left: 0; border-top: var(--border-card); }
  .featured-art img { height: auto; }
}
