/* ==========================================================================
   Octave — Studio
   ========================================================================== */

:root {
  --paper: #f3f2ed;
  --paper-2: #ebeae3;
  --card: #fafaf7;
  --ink: #121413;
  --ink-2: #2a2f2c;
  --muted: #666c68;
  --line: #d8d9d0;
  --sage: #55695b;

  --dark: #0e1110;
  --dark-2: #151918;
  --dark-3: #1c211f;
  --dark-line: #283029;
  --on-dark: #eeeee8;
  --on-dark-2: #a1aaa4;
  --mint: #c4e8c9;
  --mint-2: #d6f1da;

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4.6vw, 72px);
  --maxw: 1440px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  color-scheme: light;
  interpolate-size: allow-keywords;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2, h3, p, a, span, summary { overflow-wrap: normal; word-break: normal; hyphens: manual; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--mint); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 12px 16px; border-radius: 4px; font-size: 14px;
}
.skip:focus { top: 12px; }

/* Atoms ------------------------------------------------------------------ */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; line-height: 1.4;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage);
}
.dot {
  flex: none; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 0 rgba(196, 232, 201, .5);
  animation: pulse 2.6s var(--ease-io) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 232, 201, .45); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(196, 232, 201, 0); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 16px 20px; border-radius: 4px;
  font-size: 13.5px; font-weight: 600; line-height: 1; letter-spacing: .005em;
  white-space: nowrap;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:hover .arr-down { transform: translateY(3px); }
.btn:hover .arr-out { transform: translate(2px, -2px); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: var(--mint-2); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-lg { padding: 21px 24px; font-size: 15px; }

/* Elgato Marketplace button (official purple + logo) */
.btn-mp { background: #8e2cdc; color: #fff; gap: 10px; justify-content: center; padding-top: 10px; padding-bottom: 10px; }
.btn-mp:hover { background: #7523b7; }
.btn-mp:active { background: #5e1a94; }
.btn-mp .mp-logo { width: auto; height: 30px; flex: none; }
.btn-mp .arr { margin-left: auto; padding-left: 14px; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  white-space: nowrap;
  transition: background-size .45s var(--ease);
}
.tlink span { transition: transform .35s var(--ease); }
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }
.tlink:hover span { transform: translate(2px, -2px); }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--dark); color: var(--on-dark-2); font-size: 11.5px; letter-spacing: .03em; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 38px; }
.topbar-in > span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar-end { display: flex; align-items: center; gap: 18px; }
.topbar-r { white-space: nowrap; }

/* Language switch */
.lang { display: flex; align-items: center; gap: 2px; padding-left: 16px; border-left: 1px solid var(--dark-line); }
.lang a { padding: 4px 6px; border-radius: 3px; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--on-dark-2); transition: color .2s; }
.lang a:hover, .lang a[aria-current] { color: var(--on-dark); }
.lang a[aria-current] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lang-light { border-left-color: var(--line); }
.lang-light a { color: var(--muted); }
.lang-light a:hover, .lang-light a[aria-current] { color: var(--ink); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 242, 237, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(18, 20, 19, .35); }
.header-in {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.mark { width: 26px; height: 26px; flex: none; }
.mark rect { fill: currentColor; }
.mark circle { fill: none; stroke: var(--paper); stroke-width: 3; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: .17em; line-height: 1; }
.brand-sub {
  font-size: 9.5px; font-weight: 600; letter-spacing: .22em; line-height: 1;
  color: var(--muted); border-left: 1px solid var(--line); padding: 3px 0 3px 12px; margin-left: 2px;
}
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: 14px; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; padding: 13px 16px; gap: 18px; font-size: 13px; }

.menu-btn {
  display: none; justify-self: end; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; padding: 10px 0;
}
.menu-btn i { position: relative; width: 18px; height: 8px; }
.menu-btn i::before, .menu-btn i::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn i::before { top: 0; }
.menu-btn i::after { top: 6.5px; }
.menu-btn[aria-expanded="true"] i::before { top: 3.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 3.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  padding-top: calc(var(--header-h) + 24px);
  background: var(--dark); color: var(--on-dark);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-in { display: flex; flex-direction: column; padding-bottom: 40px; }
.menu-in a:not(.btn) {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--dark-line);
  font-size: clamp(30px, 8vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1;
  animation: menuIn .5s var(--ease) both;
}
.menu-in a:not(.btn) span { font-size: 11px; letter-spacing: .12em; color: var(--on-dark-2); font-weight: 600; }
.menu-in a:nth-child(2) { animation-delay: .04s; }
.menu-in a:nth-child(3) { animation-delay: .08s; }
.menu-in a:nth-child(4) { animation-delay: .12s; }
.menu-in a:nth-child(5) { animation-delay: .16s; }
.menu-in .btn { margin-top: 32px; align-self: flex-start; }
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  padding-top: clamp(56px, 7vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 60% at 78% 42%, rgba(196, 232, 201, .07), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(196, 232, 201, .035), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(40px, 5.5vw, 96px); align-items: center;
}
.hero .eyebrow { color: var(--on-dark-2); }
.hero h1 {
  font-size: clamp(50px, 6.8vw, 112px);
  line-height: .95; letter-spacing: -.052em;
  margin: 28px 0 30px;
}
.hero h1 em { color: var(--mint); font-size: 1.05em; letter-spacing: -.03em; }
.lead { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--on-dark-2); max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 38px; }
.hero .tlink { color: var(--on-dark); }

/* Showcase */
.showcase {
  position: relative;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  transform: rotate(-1.6deg);
}
.sc-bar, .sc-cap { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; padding: 15px 18px; }
.sc-bar {
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-2); border-bottom: 1px solid var(--dark-line);
}
.sc-bar b { color: var(--on-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
#sc-name { color: var(--on-dark); transition: opacity .3s; }
.sc-stage {
  position: relative; aspect-ratio: 16 / 10.6;
  background:
    radial-gradient(60% 46% at 50% 88%, rgba(0, 0, 0, .55), transparent 72%),
    radial-gradient(75% 70% at 50% 45%, #27302c 0%, #181c1b 62%, #121514 100%);
}
.sc-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 30%);
}
.sc-img {
  position: absolute; inset: 0; margin: auto;
  width: 86%; height: auto;
  opacity: 0; transform: translateY(10px) scale(.985);
  transition: opacity .9s var(--ease), transform 1.3s var(--ease);
}
.sc-img.is-on { opacity: 1; transform: none; }
.sc-pause {
  position: absolute; z-index: 3; right: 14px; top: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--on-dark);
  background: rgba(14, 17, 16, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .25s, border-color .25s;
}
.sc-pause[hidden] { display: none; }
.sc-pause:hover { background: rgba(14, 17, 16, .85); border-color: rgba(255, 255, 255, .3); }
.sc-pause svg { width: 12px; height: 12px; fill: currentColor; }
.sc-pause .i-play, .is-paused .sc-pause .i-pause { display: none; }
.is-paused .sc-pause .i-play { display: block; }
.sc-dots { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 8px; display: flex; gap: 6px; }
.sc-dots button { flex: 1; height: 18px; display: flex; align-items: center; }
.sc-dots i { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.sc-dots i::after {
  content: ""; position: absolute; inset: 0; background: var(--on-dark);
  transform: scaleX(0); transform-origin: left;
}
.sc-dots .is-done i::after { transform: scaleX(1); }
.sc-dots .is-on i::after { animation: fill var(--dur, 4800ms) linear forwards; }
.is-paused .sc-dots .is-on i::after,
.is-idle .sc-dots .is-on i::after { animation-play-state: paused; }
.is-still .sc-dots .is-on i::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.sc-cap {
  align-items: flex-end; border-top: 1px solid var(--dark-line);
  font-size: 12.5px; line-height: 1.45; color: var(--on-dark);
}
.sc-cap a { display: inline-flex; gap: 6px; font-size: 12px; font-weight: 600; color: var(--mint); white-space: nowrap; }
.sc-cap a span { transition: transform .35s var(--ease); }
.sc-cap a:hover span { transform: translate(2px, -2px); }

/* Stats */
.stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--dark-line);
}
.stats li { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 32px; border-left: 1px solid var(--dark-line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { font-size: clamp(26px, 2.5vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12.5px; color: var(--on-dark-2); }

/* Hero entrance */
.js .rise { animation: rise 1.1s var(--ease) both; }
.js .hero-copy .rise:nth-child(2) { animation-delay: .07s; }
.js .hero-copy .rise:nth-child(3) { animation-delay: .14s; }
.js .hero-copy .rise:nth-child(4) { animation-delay: .21s; }
.js .showcase.rise { animation: riseCard 1.4s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes riseCard { from { opacity: 0; transform: translateY(40px) rotate(0deg); } }

/* Sections --------------------------------------------------------------- */
.sec { padding: clamp(84px, 10vw, 148px) 0; }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.sec-head h2, .faq h2, .panel h2 {
  font-size: clamp(38px, 4.7vw, 74px);
  line-height: 1; letter-spacing: -.048em;
  margin-top: 22px;
}
.sec-head h2 em, .faq h2 em, .panel h2 em { letter-spacing: -.025em; }
.sec-head > p { max-width: 330px; font-size: 15px; line-height: 1.6; color: var(--muted); padding-bottom: 6px; text-wrap: balance; }
.sec-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: clamp(40px, 4.5vw, 60px); }
.sec-foot > span { font-size: 13.5px; color: var(--muted); }

.sec-dark { background: var(--dark); color: var(--on-dark); }
.sec-dark .eyebrow { color: #9bbca2; }
.sec-dark .sec-head > p { color: var(--on-dark-2); }

/* Activity index --------------------------------------------------------- */
.index { border-top: 1px solid var(--ink); }
.ix-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1fr) 120px 46px;
  align-items: center; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: color .4s;
}
.ix-num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ix-title {
  font-size: clamp(30px, 3.7vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: 1;
  white-space: nowrap;
  transition: transform .6s var(--ease), color .4s;
}
.ix-desc { font-size: 15px; color: var(--muted); transition: color .4s; }
.ix-tag {
  justify-self: start;
  font-size: 11.5px; font-weight: 500; white-space: nowrap;
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px;
  transition: border-color .4s;
}
.ix-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 17px;
  border: 1px solid var(--line);
  transition: background-color .4s var(--ease), color .4s, border-color .4s, transform .6s var(--ease);
}
.ix-row:hover .ix-title { transform: translateX(14px); }
.ix-row:hover .ix-arrow { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: rotate(-45deg); }
.ix-row:hover .ix-tag { border-color: var(--ink); }
@media (hover: hover) {
  .index:hover .ix-row:not(:hover) .ix-title { color: #a6a9a3; }
  .index:hover .ix-row:not(:hover) .ix-desc { color: #b0b3ad; }
}

/* Floating preview */
.ix-preview {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 320px; pointer-events: none;
  will-change: transform;
}
.ix-card {
  position: relative; aspect-ratio: 3 / 2;
  border-radius: 6px; overflow: hidden;
  background: var(--dark-2);
  box-shadow: 0 30px 60px -24px rgba(18, 20, 19, .55);
  opacity: 0; transform: scale(.86);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.ix-preview.is-on .ix-card { opacity: 1; transform: none; }
.ixp { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.ixp.is-on { opacity: 1; }
.ixp > img { width: 100%; height: 100%; object-fit: cover; }
.ixp-apps {
  display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 12px;
  padding: 22px 30px; background: #e9e5dc;
}
.ixp-apps img { width: 54px; height: 54px; border-radius: 22.5%; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .35); }
.ixp-apps img.is-mac { border-radius: 0; box-shadow: none; }
.ixp-word {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 22px 24px;
  background: radial-gradient(80% 90% at 80% 10%, #27302c, var(--dark) 70%);
  color: var(--on-dark);
}
.ixp-word span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.ixp-word em { font-size: 58px; line-height: 1; color: var(--mint); }

/* Products --------------------------------------------------------------- */
.shop-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  padding-bottom: 28px; margin-bottom: 40px;
  border-bottom: 1px solid var(--dark-line);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 99px;
  border: 1px solid var(--dark-line);
  font-size: 13px; font-weight: 500; color: var(--on-dark-2);
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip span { font-size: 11px; opacity: .6; font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--on-dark); border-color: #3c463f; }
.chip[aria-pressed="true"] { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }
.sec-dark .tlink { color: var(--on-dark); }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 24px; }
.card > a { display: block; }
.card-cover {
  position: relative; aspect-ratio: 2 / 1;
  border-radius: 8px; overflow: hidden;
  background: var(--dark-3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset;
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card > a:hover .card-cover img { transform: scale(1.035); }
.badge {
  position: absolute; left: 12px; top: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--mint); color: var(--ink);
  padding: 6px 9px; border-radius: 3px;
}
.card-go {
  position: absolute; right: 14px; bottom: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px;
  background: rgba(243, 242, 237, .94); color: var(--ink);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .5s var(--ease);
}
.card > a:hover .card-go, .card > a:focus-visible .card-go { opacity: 1; transform: none; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 18px 0 6px; }
.card h3 { font-size: 21px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.price { font-size: 13.5px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card p { font-size: 13px; color: var(--on-dark-2); }
.card.pop { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }

.shop-foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 32px;
  margin-top: clamp(56px, 6vw, 84px);
  padding: 26px 28px;
  border: 1px solid var(--dark-line); border-radius: 6px;
  background: var(--dark-2);
}
.shop-foot p { font-size: 15px; color: var(--on-dark-2); }
.shop-foot strong { color: var(--on-dark); }

/* Apps ------------------------------------------------------------------- */
.apps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4.5vw, 72px);
  border-top: 1px solid var(--ink);
}
.app {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 32px;
  align-items: center; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.app-ic {
  width: 64px; height: 64px; border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(18, 20, 19, .06), 0 10px 22px -12px rgba(18, 20, 19, .45);
  transition: transform .6s var(--ease);
}
.app-ic.is-mac { border-radius: 0; box-shadow: none; filter: drop-shadow(0 8px 10px rgba(18, 20, 19, .18)); }
.app-txt { min-width: 0; }
.app-txt b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.app-txt span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.app-plat { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.app-go {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px;
  transition: background-color .35s, color .35s, transform .5s var(--ease);
}
a.app:hover .app-ic { transform: translateY(-3px) rotate(-4deg); }
a.app:hover .app-go { background: var(--ink); color: var(--paper); }
.app-plus {
  width: 64px; height: 64px; border-radius: 22.5%;
  display: grid; place-items: center;
  border: 1px dashed #b9bbb2; color: var(--muted);
  font-size: 26px; font-weight: 300;
  transition: border-color .35s, color .35s, transform .6s var(--ease);
}
.app-cta:hover .app-plus { border-color: var(--ink); color: var(--ink); transform: rotate(90deg); }

/* Photography ------------------------------------------------------------ */
.sec-photo { background: var(--paper-2); }
.gallery {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(12px, 1.6vw, 24px);
  align-items: stretch;
}
.ph { grid-column: span 4; display: flex; flex-direction: column; min-width: 0; }
.ph-wide { grid-column: span 8; }
.ph-tall { grid-column: span 4; }
.ph-frame { position: relative; overflow: hidden; border-radius: 4px; background: #d9d8d0; }
.ph-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s var(--ease); }
.ph-tall .ph-frame { flex: 1 1 0; min-height: 0; }
.ph-tall .ph-frame img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.ph:hover .ph-frame img { transform: scale(1.03); }
.ph figcaption {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 14px; font-size: 14px; font-weight: 500;
}
.ph-n { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Video + games ---------------------------------------------------------- */
.sec-duo { padding-top: clamp(84px, 10vw, 148px); padding-bottom: 0; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.panel {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 620px;
  padding: clamp(28px, 3.6vw, 52px);
  border-radius: 8px;
}
.panel h2 { font-size: clamp(38px, 4.2vw, 64px); margin-top: 20px; }
.panel-lead { font-size: 15.5px; line-height: 1.6; max-width: 380px; margin-top: 20px; }
.panel .btn { margin-top: auto; }
.panel-dark { background: var(--dark); color: var(--on-dark); }
.panel-dark .eyebrow { color: #9bbca2; }
.panel-dark .panel-lead { color: var(--on-dark-2); }
.panel-line { background: var(--card); border: 1px solid var(--line); }
.panel-line .panel-lead { color: var(--muted); }

/* Timeline */
.tl {
  width: 100%; margin: 36px 0 40px;
  border: 1px solid var(--dark-line); border-radius: 6px;
  background: var(--dark-2);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2);
}
.tl-head { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--dark-line); }
.tl-tc { color: var(--mint); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.tl-body { position: relative; padding: 0 14px 14px 46px; }
.tl-ruler {
  height: 18px; margin-bottom: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 10%) 0 100% / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 2.5%) 0 100% / 100% 4px no-repeat;
}
.tl-track { position: relative; display: flex; align-items: center; height: 34px; margin-top: 6px; }
.tl-track b { position: absolute; left: -32px; font-weight: 600; color: var(--on-dark-2); }
.tl-lane { position: relative; flex: 1; height: 100%; }
.tl-lane i {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--s) * 1%); width: calc(var(--w) * 1% - 2px);
  border-radius: 3px;
}
.tl-clips i { background: linear-gradient(180deg, #33433b, #28332e); box-shadow: inset 0 2px 0 rgba(196, 232, 201, .55); }
.tl-clips i:nth-child(2) { background: linear-gradient(180deg, #3b4a52, #2c363c); box-shadow: inset 0 2px 0 rgba(170, 205, 230, .55); }
.tl-clips i:nth-child(4) { background: linear-gradient(180deg, #4a4436, #37332a); box-shadow: inset 0 2px 0 rgba(230, 210, 160, .55); }
.tl-wave { border-radius: 3px; background: rgba(196, 232, 201, .05); }
.tl-wave svg { width: 100%; height: 100%; }
.tl-wave path { stroke: rgba(196, 232, 201, .7); stroke-width: 1.1; fill: none; vector-effect: non-scaling-stroke; }
.tl-subs { height: 16px; }
.tl-subs i { background: rgba(238, 238, 232, .16); border: 1px solid rgba(238, 238, 232, .22); }
.tl-play {
  position: absolute; top: 4px; bottom: 6px; left: 46px;
  width: 1px; background: var(--mint);
  transform: translateX(var(--x, 0px));
}
.tl-play::before {
  content: ""; position: absolute; top: 0; left: -5px;
  border: 5px solid transparent; border-top: 7px solid var(--mint);
}

/* Games */
.games { width: 100%; margin: 36px 0 0; border-top: 1px solid var(--line); }
.games li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.games b { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.games li > span:not(.status) { grid-column: 1; font-size: 14px; color: var(--muted); }
.status {
  grid-column: 2; grid-row: 1 / span 2;
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  padding: 7px 11px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2);
}

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 25px 0;
  font-size: clamp(17px, 1.45vw, 20px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.faq-list summary i::before, .faq-list summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px;
  background: currentColor; border-radius: 1px;
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list summary:hover i { border-color: var(--ink); }
.faq-list details[open] summary i { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq-list details p { padding: 0 64px 26px 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 600px; }
.faq-list details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .45s var(--ease), content-visibility .45s allow-discrete;
}
.faq-list details[open]::details-content { block-size: auto; }

/* Contact ---------------------------------------------------------------- */
.contact {
  background: var(--dark); color: var(--on-dark);
  padding: clamp(96px, 12vw, 176px) 0 clamp(72px, 8vw, 112px);
}
.contact .eyebrow { color: var(--on-dark-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 56px; align-items: end; }
.contact-title { font-size: clamp(58px, 9.4vw, 156px); line-height: .9; letter-spacing: -.058em; margin-top: 30px; }
.contact-title em { color: var(--mint); letter-spacing: -.03em; }
.contact-side > p { font-size: 16px; line-height: 1.65; color: var(--on-dark-2); max-width: 360px; margin-bottom: 30px; }
.contact-side .btn { width: 100%; }
.elsewhere { margin-top: 34px; border-top: 1px solid var(--dark-line); }
.elsewhere a {
  display: flex; justify-content: space-between; padding: 17px 0;
  border-bottom: 1px solid var(--dark-line); font-size: 14.5px;
  transition: color .3s, padding .5s var(--ease);
}
.elsewhere a:hover { color: var(--mint); padding-left: 6px; }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--dark); color: var(--on-dark-2); border-top: 1px solid var(--dark-line); padding: 64px 0 28px; overflow: hidden; }
.footer .brand { color: var(--on-dark); }
.footer .mark circle { stroke: var(--dark); }
.footer .brand-sub { border-color: var(--dark-line); color: var(--on-dark-2); }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.foot-brand p { margin-top: 18px; font-size: 14px; }
.foot-cols h3 { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.foot-cols nav a { display: block; width: fit-content; padding: 5px 0; font-size: 14px; transition: color .3s; }
.foot-cols nav a:hover { color: var(--on-dark); }
.foot-word {
  margin: clamp(56px, 7vw, 96px) 0 clamp(20px, 2.5vw, 32px);
  font-size: clamp(64px, 22vw, 318px); font-weight: 600; letter-spacing: -.04em; line-height: .76;
  text-align: center; white-space: nowrap;
  color: var(--dark-3);
  -webkit-user-select: none; user-select: none;
}
.foot-credits { max-width: 980px; margin-bottom: 22px; font-size: 11.5px; line-height: 1.7; color: #7f8984; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 12.5px;
}
.foot-bottom a { transition: color .3s; }
.foot-bottom a:hover { color: var(--on-dark); }

/* Reveal ----------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .ix-row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) 46px; }
  .ix-tag { display: none; }
  .header-in { grid-template-columns: auto 1fr auto; }
  .nav { justify-self: center; }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .header-in { grid-template-columns: 1fr auto; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .showcase { transform: rotate(-1deg); }

  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .panel { min-height: 0; }
  .panel .btn { margin-top: 0; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .contact-side { max-width: 480px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .topbar-end > .topbar-r { display: none; }
  .topbar-end .lang { border-left: 0; padding-left: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head > p { padding-bottom: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--dark-line); }

  .ix-row { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 6px 14px; padding: 22px 0; }
  .ix-num { grid-row: 1; align-self: start; padding-top: 6px; }
  .ix-title { grid-column: 2; }
  .ix-desc { grid-column: 2; grid-row: 2; font-size: 14px; }
  .ix-arrow { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; font-size: 15px; }
  .ix-row:hover .ix-title { transform: none; }

  .apps { grid-template-columns: minmax(0, 1fr); }
  .app { grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 16px; }
  .app-ic, .app-plus { width: 56px; height: 56px; }
  .app-plat { display: none; }

  .gallery { grid-template-columns: minmax(0, 1fr); }
  .ph, .ph-wide, .ph-tall { grid-column: auto; }
  .ph-tall .ph-frame { flex: none; aspect-ratio: 4 / 5; }

  .tl { margin: 30px 0 32px; }
  .faq-list details p { padding-right: 0; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .games li { grid-template-columns: minmax(0, 1fr); }
  .status { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  .products { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-actions .btn { width: 100%; }
  .shop-foot { padding: 22px 20px; }
  .shop-foot .btn { width: 100%; }
  .sc-cap { font-size: 12px; }
  .showcase { transform: none; }
}

@media (max-width: 380px) {
  .chip { padding: 9px 13px; }
  .sc-bar { font-size: 10px; }
}

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rise, .js .showcase.rise { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .dot { animation: none; }
}
