/* Totemphonia v2 · Info. Kilian: the sphere beside the text, the reel on click, the full v1 text. The sphere stays beside the statement while it scrolls (CSS sticky, nothing animated). */

.in { --cols: repeat(12, minmax(0, 1fr)); --hdr: 4.25rem; --i-h: clamp(1.9rem, 1.2rem + 2.3vw, 3.25rem); }
.in section { padding: 0 var(--gutter); }
.i-inline { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: text-decoration-color 0.3s; }
.i-inline:focus-visible { text-decoration-color: transparent; }
@media (hover: hover) { .i-inline:hover { text-decoration-color: transparent; } }
.i-link { display: inline-flex; padding: 0.3rem 0; background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 0.2em) / 100% 1px; transition: background-size 0.6s var(--settle); }
.i-link:focus-visible { background-size: 0% 1px; background-position: 100% calc(100% - 0.2em); }
@media (hover: hover) { .i-link:hover { background-size: 0% 1px; background-position: 100% calc(100% - 0.2em); } }

/* ---------- the statement + the sphere ---------- */
.i-about { display: grid; grid-template-columns: var(--cols); gap: 0 var(--gutter); align-items: start; }
.i-about__text { grid-column: 1 / span 6; padding-bottom: 12svh; }
.i-hero { min-height: calc(100svh - 8rem); display: grid; align-content: center; padding-top: var(--hdr); }
.i-title { font-family: var(--f-voice); font-weight: 300; font-size: clamp(3.4rem, 1.6rem + 6vw, 7.4rem); line-height: 0.95; letter-spacing: -0.03em; margin-left: -0.05em; }
.i-lead { margin-top: 1.4rem; font-family: var(--f-voice); font-weight: 300; font-size: clamp(1.6rem, 0.95rem + 1.9vw, 2.6rem); line-height: 1.14; letter-spacing: -0.015em; max-width: 22ch; }
.i-prose { display: grid; gap: 1.15rem; max-width: 40rem; }
.i-prose p { line-height: 1.62; }
.i-about__sphere { grid-column: 8 / -1; position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); display: grid; place-items: center; padding: 2rem 0; }
.i-about__sphere img { width: 100%; max-height: 100%; height: auto; object-fit: contain; }

/* ---------- sections: heading left, text right ---------- */
.i-sec { display: grid; grid-template-columns: var(--cols); gap: 1.4rem var(--gutter); margin-top: clamp(6rem, 18svh, 11rem); scroll-margin-top: calc(var(--hdr) + 1.5rem); }
.i-sec__head { grid-column: 1 / span 5; display: grid; gap: 0.8rem; align-content: start; }
.i-h { font-family: var(--f-voice); font-weight: 300; font-size: var(--i-h); line-height: 1.05; letter-spacing: -0.02em; margin-left: -0.04em; }
.i-sec__body { grid-column: 7 / -1; max-width: 46rem; display: grid; gap: 1rem; align-content: start; }
.i-sec__body p { line-height: 1.6; }
.i-note { font-size: var(--t-ui); color: var(--muted); }
.i-mail { font-family: var(--f-voice); font-size: clamp(1.4rem, 1.1rem + 0.9vw, 2rem); }

/* the reel, waiting for a click: a quiet frame, not a fake player */

/* ---------- tablet / phone ---------- */
@media (max-width: 1000px) {
  .i-about__text { display: contents; }
  .i-hero, .i-about__sphere, .i-prose { grid-column: 1 / -1; }
  .i-hero { order: 1; min-height: 0; padding: calc(var(--hdr) + 2.5rem) 0 1.5rem; }
  .i-about__sphere { order: 2; position: relative; top: auto; height: auto; padding: 0 0 2rem; }
  .i-about__sphere img { max-width: min(16rem, 70vw); margin-inline: auto; } /* smaller on phones: the lead text is the first thing to read (and to paint) */
  .i-prose { order: 3; }
  .i-sec__head, .i-sec__body { grid-column: 1 / -1; }
}
/* the legal notice and privacy: plain, readable, the same voice */
.i-legal { gap: 0.9rem; }
.i-legal p { max-width: 62ch; }
