/* Keep the page's colours in one restrained dark palette. */
:root { color-scheme: dark; --background: #101311; --surface: #1a1e1b; --line: #343b34; --text: #f2f1e9; --muted: #a4aaa1; --accent: #d6ed73; }

/* Establish consistent sizing, smooth anchor travel, and readable defaults. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: "Avenir Next", Avenir, "Gill Sans", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.075em; }

/* One shared width gives every section a clean vertical edge. */
.shell { width: min(100% - 64px, 1380px); margin-inline: auto; }

/* A quiet header lets the large first headline carry the visual weight. */
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; font-size: 1.4rem; font-weight: 700; letter-spacing: -.06em; text-decoration: none; }
.brand-light { font-weight: 400; }
.brand-mark { width: 26px; height: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(-12deg); }
.brand-mark span { border-radius: 2px; background: var(--accent); }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { opacity: .48; }
.site-nav { display: flex; gap: clamp(24px, 5vw, 72px); }
.site-nav a { color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.site-nav a span { margin-left: 5px; color: var(--accent); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }

/* Spacious editorial type faces one featured app on wide screens. */
.hero { min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); align-items: center; gap: clamp(48px, 7vw, 112px); padding-block: 72px 96px; }
.hero-copy { max-width: 730px; padding-bottom: 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgb(214 237 115 / 11%); }
h1 { max-width: 800px; margin: 28px 0; font-size: clamp(4rem, 7vw, 8.3rem); line-height: .98; }
h1 em, .about h2 em { font-family: Baskerville, Georgia, serif; font-weight: 400; }
.accent { color: var(--accent); }
.hero-intro { max-width: 470px; margin-bottom: 34px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 30px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); font-size: .9rem; font-weight: 700; text-decoration: none; transition: gap .2s ease, color .2s ease; }
.text-link span { color: var(--accent); font-size: 1.3rem; }
.text-link:hover, .text-link:focus-visible { gap: 42px; color: var(--accent); }

/* Radial light, orbits, and a slight tilt frame the existing phone screenshot. */
.feature { min-height: 560px; display: flex; flex-direction: column; overflow: hidden; position: relative; border: 1px solid #3b4638; border-radius: 22px; background: radial-gradient(circle at 50% 44%, #435c32 0, #283a2b 36%, #1c2a21 70%, #19231d 100%); text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
.feature:hover, .feature:focus-visible { border-color: var(--accent); transform: translateY(-5px); }
.feature-label, .card-top { z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.feature-label { padding: 27px 30px 0; }
.feature-label span { color: #b9cbb0; }
.feature-art { flex: 1; display: grid; place-items: center; position: relative; min-height: 0; }
.feature-art img { z-index: 1; position: absolute; width: clamp(195px, 20vw, 282px); max-height: 420px; object-fit: contain; bottom: -72px; filter: drop-shadow(0 24px 28px rgb(0 0 0 / 35%)); transform: rotate(-7deg); transition: transform .35s ease; }
.feature:hover .feature-art img, .feature:focus-visible .feature-art img { transform: rotate(-3deg) translateY(-10px); }
.feature-orbit { position: absolute; width: 320px; aspect-ratio: 1; border: 1px solid rgb(223 245 166 / 25%); border-radius: 50%; }
.feature-orbit--two { width: 470px; opacity: .6; }
.feature-bottom { z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 40px 30px 28px; background: linear-gradient(0deg, rgb(18 29 22 / 96%), rgb(18 29 22 / 0)); }
.feature-bottom strong, .feature-bottom small { display: block; }
.feature-bottom strong { font-size: clamp(1.6rem, 2.5vw, 2.3rem); font-weight: 600; letter-spacing: -.06em; }
.feature-bottom small { margin-top: 4px; color: #c3d0bc; font-size: .88rem; }
.round-arrow { width: 42px; height: 42px; display: grid; flex: none; place-items: center; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; font-size: 1.35rem; }

/* Separate the collection with a rule and a more compact heading. */
.work { padding-block: 52px 140px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 43px; }
.section-heading h2 { max-width: 710px; margin: 16px 0 0; font-size: clamp(3rem, 5vw, 5.8rem); line-height: 1; }
.section-heading > p { max-width: 265px; margin: 0 0 5px; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* Each tile is one accessible link with a contained screenshot stage. */
.app-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
.app-card:hover, .app-card:focus-visible { border-color: var(--accent); transform: translateY(-5px); }
.card-top { padding: 25px 28px 0; color: #d2d8cc; }
.card-top > span:last-child { color: var(--accent); font-size: 1.25rem; line-height: .6; }
.card-art { min-height: 330px; display: grid; place-items: end center; overflow: hidden; position: relative; margin: 12px 22px 0; border-radius: 11px; background: radial-gradient(circle at 50% 90%, #3c4a40, #252e29 60%, #222a26); }
.card-art::after { position: absolute; inset: auto 0 0; height: 42%; content: ""; background: linear-gradient(0deg, rgb(0 0 0 / 12%), transparent); pointer-events: none; }
.card-art img { width: auto; height: 295px; max-width: 80%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 18px rgb(0 0 0 / 36%)); transform: translateY(18px); transition: transform .35s ease; }
.app-card:hover .card-art img, .app-card:focus-visible .card-art img { transform: translateY(5px); }
.card-bottom { min-height: 130px; display: flex; flex-direction: column; justify-content: center; padding: 22px 28px 26px; }
.card-bottom strong { max-width: 460px; font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.12; }
.card-bottom > span { margin-top: 8px; color: var(--muted); font-size: .88rem; }
.title-light { font-weight: 400; }

/* Subtle product-specific tones make the collection easier to scan. */
.app-card--blade .card-art { background: radial-gradient(circle at 50% 90%, #554039, #332d2b 60%, #272625); }
.app-card--messages .card-art { background: radial-gradient(circle at 50% 90%, #453d52, #302e3b 60%, #272730); }
.app-card--match .card-art { background: radial-gradient(circle at 50% 90%, #3d5663, #293940 60%, #222d32); }
.app-card--reel .card-art { background: radial-gradient(circle at 50% 90%, #5a4d39, #373228 60%, #2a2923); }
.app-card--tv { grid-column: 1 / -1; }
.app-card--tv .card-art { min-height: 360px; background: radial-gradient(circle at 50% 65%, #565a3d, #31372d 65%, #282d27); }
.app-card--tv .card-art img { width: min(78%, 690px); height: auto; max-height: 340px; max-width: none; }
.app-card--tv .card-bottom { min-height: 108px; }

/* Finish with a clear creator statement and a restrained footer. */
.about { padding-block: 75px 115px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.about-content { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); align-items: end; gap: 36px; }
.about h2 { max-width: 790px; margin: 16px 0 0; font-size: clamp(3.5rem, 6.4vw, 7.4rem); line-height: 1; }
.about-content p { max-width: 410px; margin: 0 0 8px auto; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; }
.site-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--accent); }

/* Make keyboard focus visible on every link, including the whole cards. */
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Stack the feature below the copy before the two-column layout gets tight. */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-block: 72px 100px; }
  .hero-copy { padding-bottom: 0; }
  .feature { min-height: 520px; }
  .feature-art img { width: 260px; }
  .section-heading { align-items: start; }
}

/* On phones, show one generous product card per row. */
@media (max-width: 650px) {
  .shell { width: min(100% - 36px, 1380px); }
  .site-header { min-height: 82px; }
  .brand { font-size: 1.2rem; }
  .brand-mark { width: 22px; height: 22px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .68rem; }
  .site-nav a span { display: none; }
  .hero { min-height: 0; gap: 43px; padding-block: 72px 82px; }
  h1 { font-size: clamp(3.65rem, 14vw, 5.8rem); }
  .hero-intro { font-size: 1.06rem; }
  .feature { min-height: 490px; }
  .feature-art img { width: 230px; }
  .work { padding-block: 44px 90px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .app-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-card--tv { grid-column: auto; }
  .app-card--tv .card-art { min-height: 260px; }
  .app-card--tv .card-art img { width: min(94%, 510px); }
  .about { padding-block: 66px 88px; }
  .about-content { grid-template-columns: 1fr; gap: 22px; }
  .about-content p { margin-left: 0; }
}

/* Respect visitors who disable animated movement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
