:root {
  --ground: #ecebe8;
  --tile: #ffffff;
  --ink: #111111;
  --gray: #5f5f5c;
  --yellow: #ffe14d;
  --orange: #ff5a1f;
  --sans: "Inter Tight", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: min(calc(100vh - 9rem), 44rem);
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.45; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -999px; background: var(--ink); color: #fff; padding: .5rem 1rem; font-size: 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1rem 1.25rem; }
.top .me { font-weight: 600; }
.top .contact { justify-self: end; font-weight: 600; border-bottom: 1px solid var(--ink); transition: color .25s var(--ease), border-color .25s var(--ease); }
.top .contact:hover { color: var(--orange); border-color: var(--orange); }
.ticks { display: flex; align-items: center; gap: 5px; height: 1.75rem; }
.ticks button { width: 3px; height: 16px; padding: 0; border: 0; background: #b3b2ad; border-radius: 2px; cursor: pointer; transition: height .3s var(--ease), background .3s var(--ease); }
.ticks button:hover { height: 22px; background: var(--gray); }
.ticks button.on { height: 26px; background: var(--ink); }
@media (max-width: 47.99rem) { .top { grid-template-columns: 1fr auto; } .ticks { display: none; } }

/* The strip of tiles */
.strip { display: flex; gap: 1.25rem; padding: .5rem 1.25rem 1.5rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.strip::-webkit-scrollbar { display: none; }
.cell { flex: none; width: var(--t); scroll-snap-align: center; }
.cell.wide { width: calc(var(--t) * 1.45); }
.label { display: block; font-size: 1rem; color: var(--gray); margin: 0 0 .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile { position: relative; height: var(--t); background: var(--tile); overflow: hidden; display: block; opacity: 0; transform: scale(.965); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .4s var(--ease); }
.cell.in .tile { opacity: 1; transform: none; }
a.tile:hover, .tile:focus-within { box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); }
@media (max-width: 47.99rem) {
  .strip { flex-direction: column; overflow: visible; padding: .5rem 1rem 3rem; gap: 2rem; }
  .cell, .cell.wide { width: 100%; }
  .tile { height: auto; aspect-ratio: 1 / 1; }
  .tile.live, .tile.text { aspect-ratio: auto; min-height: 100vw; }
  .tile.live { height: 80vh; }
}

/* Tile kinds */
.intro { display: grid; align-content: center; padding: 8%; }
.intro .disc { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: -6%; top: 14%; transition: transform 1.2s var(--ease); }
.intro:hover .disc { transform: translate(-4%, 3%) scale(1.04); }
.intro h1 { position: relative; margin: 0; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.intro h1 b { font-weight: 800; }
.intro .plus { position: absolute; left: 58%; top: 44%; font-size: 1.5rem; color: var(--orange); }

.word { display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); }
.word > div { min-width: 0; }
.word .big { font-weight: 800; font-size: calc(var(--t) * .34); line-height: .82; letter-spacing: -.05em; white-space: nowrap; margin: 6% 0 0 -3%; transition: transform .9s var(--ease); }
.word:hover .big { transform: translateX(-4%); }
.word .bar { position: absolute; left: 0; top: 7%; width: 7%; height: calc(var(--t) * .28); background: var(--ink); }
.word .bar::after { content: ""; position: absolute; right: -40%; top: 25%; width: 40%; height: 50%; background: var(--orange); border-radius: 0 50% 50% 0; }
.word ul { list-style: none; margin: 0; padding: 0 8% 7%; align-self: end; }
.word li a { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid #e3e2de; transition: color .25s var(--ease), padding .25s var(--ease); }
.word li a:hover { color: var(--orange); padding-left: .4rem; }
.word li a span { color: var(--gray); white-space: nowrap; }
.word .sum { padding: 0 8%; margin: 0 0 .8rem; color: var(--gray); }
@media (max-width: 47.99rem) { .word .big { font-size: 30vw; } .word .bar { height: 25vw; } .word { aspect-ratio: auto; } }

.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1s var(--ease); }
.poster:hover img { transform: scale(1.04); }
.poster .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.4rem; background: var(--tile); transform: translateY(0); transition: transform .5s var(--ease); }
.poster .cap b { display: block; font-size: 1.5rem; letter-spacing: -.01em; }
.poster .cap span { display: block; color: var(--gray); margin-top: .2rem; }
.poster .go { position: absolute; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transform: scale(0) rotate(-45deg); transition: transform .45s var(--ease); }
.poster:hover .go { transform: none; }

.live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.live .open { position: absolute; right: .75rem; bottom: .75rem; background: var(--ink); color: #fff; padding: .35rem .8rem; border-radius: 999px; font-size: 1rem; opacity: .85; transition: opacity .25s var(--ease), background .25s var(--ease); }
.live .open:hover { opacity: 1; background: var(--orange); }

.nums { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.nums div { padding: 8% 10%; border: 1px solid #efeeea; display: flex; flex-direction: column; justify-content: flex-end; }
.nums b { font-size: calc(var(--t) * .12); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.nums div:first-child b { color: var(--orange); }
.nums span { color: var(--gray); margin-top: .4rem; }
@media (max-width: 47.99rem) { .nums b { font-size: 11vw; } }

.text { padding: 8%; display: flex; flex-direction: column; gap: .9rem; overflow-y: auto; }
.text h2 { margin: 0; font-size: 2rem; letter-spacing: -.02em; }
.text p { margin: 0; }
.text .row { display: flex; flex-wrap: wrap; gap: .4rem; }
.text .row span { background: var(--ground); padding: .1rem .6rem; border-radius: 999px; font-size: 1rem; }
.hand { font-size: calc(var(--t) * .28); line-height: 1; color: #2d5bff; }
.contact-tile { background: var(--ink); color: #fff; }
.contact-tile a.mail { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 700; border-bottom: 3px solid var(--yellow); overflow-wrap: anywhere; transition: color .25s var(--ease); }
.contact-tile a.mail:hover { color: var(--yellow); }
.contact-tile form { display: grid; gap: .7rem; margin-top: auto; }
.contact-tile input, .contact-tile textarea { background: #222; border: 1px solid #333; color: #fff; padding: .6rem .75rem; font-size: 1.0625rem; transition: border-color .25s var(--ease); }
.contact-tile input:focus, .contact-tile textarea:focus { outline: none; border-color: var(--yellow); }
.contact-tile textarea { min-height: 6rem; resize: vertical; }
.contact-tile button { justify-self: start; background: var(--yellow); color: var(--ink); border: 0; padding: .7rem 1.2rem; font-weight: 800; cursor: pointer; transition: transform .25s var(--ease); }
.contact-tile button:hover { transform: translateY(-2px); }

.arrows { position: fixed; right: 1.25rem; bottom: 1.25rem; display: flex; gap: .5rem; z-index: 10; }
.arrows button { width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.25rem; cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease); }
.arrows button:hover { transform: scale(1.08); background: var(--orange); }
@media (max-width: 47.99rem) { .arrows { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tile { opacity: 1; transform: none; }
}
