/* ten24 Media: black/white parent brand, colour from the properties. Barlow + IBM Plex Mono. */
:root {
  --ink: #0B0B0C;
  --ink-2: #3A3B3F;
  --muted: #6B6D73;
  --line: #E3E4E8;
  --surface: #F1F2F4;
  --bg: #FFFFFF;
  --signal: #FF4A1C;
  --tilt: -4deg;
  --radius: 14px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.55 Barlow, system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.site-header .logo img { width: 156px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 16px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--signal); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 20px; border-radius: 10px; transition: background .15s; }
.btn:hover { background: var(--signal); color: #fff !important; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* hero */
.hero { padding: 96px 0 72px; }
.hero .wrap { position: relative; }
.hero h1 { font-weight: 800; font-size: clamp(48px, 8.4vw, 116px); line-height: .92; letter-spacing: -.035em; margin: 0; max-width: 11ch; }
.hero h1 .soft { color: #A6A8AE; }
.hero .lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 36em; margin: 36px 0 40px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero .actions .link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* sections */
section { padding: 96px 0; }
h2 { font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: .98; letter-spacing: -.03em; margin: 0 0 18px; }
.intro { color: var(--ink-2); max-width: 40em; font-size: 20px; margin: 0; }

/* properties */
.group { margin-top: 64px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 36px; }
.group-head h3 { font-weight: 800; font-size: 28px; letter-spacing: -.02em; margin: 0; }
.group-head p { margin: 0; color: var(--muted); font-size: 16px; max-width: 34em; text-align: right; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.tile { --c: #222; --on: #fff; --t: -2deg; position: relative; display: flex; flex-direction: column; background: var(--c); color: var(--on); border-radius: var(--radius); text-decoration: none; overflow: hidden; transform: rotate(var(--t)); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; box-shadow: 0 1px 0 rgba(0,0,0,.04); min-height: 380px; }
.tile:nth-child(3n+2) { --t: 1.5deg; }
.tile:nth-child(3n+3) { --t: -1deg; }
.tile:hover, .tile:focus-visible { transform: rotate(0) translateY(-6px); box-shadow: 0 24px 40px -22px rgba(0,0,0,.45); }
.tile .body { padding: 24px 24px 20px; }
.tile .stamp-line { opacity: .72; }
.tile h4 { font-weight: 800; font-size: 30px; letter-spacing: -.025em; line-height: 1; margin: 10px 0 10px; }
.tile p { margin: 0; font-size: 16.5px; line-height: 1.45; opacity: .9; }
.tile .shot { margin: auto 18px 0; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; height: 168px; box-shadow: 0 -1px 0 rgba(255,255,255,.12); }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tile .shot::before { content: ""; display: block; height: 14px; background: #E7E8EB radial-gradient(circle at 10px 7px, #C9CBD0 3px, transparent 3.5px), #E7E8EB; background: linear-gradient(#ECEDEF, #ECEDEF); }
.tile.dev { min-height: 260px; }
.tile.dev .stamp-line { color: var(--k); opacity: 1; }
.tile.dev .badge { margin: auto 24px 24px; align-self: flex-start; border: 1px dashed var(--k); color: var(--k); padding: 7px 11px; border-radius: 8px; }
.more { margin-top: 40px; color: var(--muted); font-size: 17px; display: flex; align-items: center; gap: 12px; }
.more::before { content: "+"; font-weight: 800; font-size: 22px; color: var(--ink); }

/* pixelpress band */
.band { background: var(--ink); color: #fff; }
.band .intro { color: #C9CBD0; }
.pp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.caps { list-style: none; padding: 0; margin: 32px 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.caps li { border: 1px solid #3A3B40; border-radius: 8px; padding: 8px 12px; color: #E4E5E8; }
.band .btn { background: #fff; color: var(--ink); }
.band .btn:hover { background: var(--signal); }
.builds { position: relative; min-height: 420px; }
.pp .frame.f1 { position: absolute; top: 0; right: 0; width: 82%; transform: rotate(2.5deg); }
.pp .frame.f2 { position: absolute; bottom: 0; left: 0; width: 72%; transform: rotate(-3deg); }
.pp .frame {  border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); border: 1px solid #2A2B30; }
.pp .frame .bar { height: 28px; background: #1A1B1F; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.pp .frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3B40; }

/* history */
.timeline { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.timeline li { padding: 22px 24px 8px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; background: var(--ink); border-radius: 3px; transform: rotate(var(--tilt)); }
.timeline li:last-child::before { background: var(--signal); }
.timeline .yr { font-weight: 800; font-size: 44px; letter-spacing: -.03em; line-height: 1; display: block; margin: 8px 0 10px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 16.5px; }

/* simple pages (privacy, 404) */
.page { padding: 72px 0 96px; }
.page h1 { font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: .95; letter-spacing: -.03em; margin: 0 0 32px; }
.page .narrow { max-width: 760px; }
.legal { color: var(--ink-2); font-size: 17px; }
.legal h2 { font-size: clamp(32px, 4.5vw, 52px); margin: 0 0 12px; color: var(--ink); }
.legal h3 { font-weight: 800; font-size: 24px; letter-spacing: -.015em; color: var(--ink); margin: 1.8em 0 .4em; }
.legal h4 { font-weight: 700; font-size: 19px; color: var(--ink); margin: 1.5em 0 .3em; }
.legal a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: .25em 0; }
.legal figure { margin: 1.5em 0; overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface); color: var(--ink); }

/* work with us */
.work { background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; border: 1px solid var(--line); transition: border-color .15s, transform .2s; }
.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card h3 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin: 0; }
.card p { margin: 0; color: var(--ink-2); font-size: 16.5px; flex: 1; }
.card .go { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card:hover .go { color: var(--signal); }

/* footer */
.site-footer { background: var(--ink); color: #A6A8AE; padding: 64px 0 40px; font-size: 15px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.site-footer img { width: 170px; }
.site-footer .cols { display: flex; gap: 64px; flex-wrap: wrap; }
.site-footer .cols div { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #E4E5E8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid #2A2B30; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; border-top: 0; }
  .timeline li { border-top: 2px solid var(--ink); }
}
@media (max-width: 900px) {
      .hero { padding-top: 48px; }
  .pp { grid-template-columns: 1fr; gap: 40px; }
  .group-head { flex-direction: column; }
  .group-head p { text-align: left; }
}
@media (max-width: 640px) {
  .cards, .timeline { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .site-header nav a:not(.btn) { display: none; }
  .site-header .logo img { width: 128px; }
  section { padding: 72px 0; }
  .tile { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
