/* INGLS — public site
   Modern editorial system: near-black ground, warm paper type,
   safety-orange accent, generous space, soft radii, quiet motion. */

@font-face {
  font-family: "Familjen Grotesk";
  src: url("/assets/fonts/familjen-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0b0b0c;
  --ink-2: #111113;
  --ink-3: #18181b;
  --paper: #f2eee5;
  --paper-dim: #d8d1c3;
  --muted: #a09a8e;
  --muted-dark: #7d776c;
  --line: #26262a;
  --line-strong: #3d3d43;
  --orange: #ff5a1f;
  --orange-bright: #ff7442;
  --orange-soft: rgba(255, 90, 31, 0.1);
  --green: #9bd6a7;
  --red: #ff9276;
  --sans: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 220ms var(--ease);
}

/* Type -------------------------------------------------------------------- */

.display {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--paper);
  text-wrap: balance;
}

.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.lede {
  max-width: 60ch;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.55;
  color: var(--paper-dim);
  text-wrap: pretty;
}

.kicker {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--orange);
}

.section-label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--paper-dim);
}

.section-note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* Buttons and links ------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease),
    color 200ms var(--ease), transform 200ms var(--ease);
}

.button:hover {
  border-color: var(--paper);
  transform: translateY(-2px);
}

.button:hover .icon {
  transform: translateX(3px);
}

.button--primary {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.button--primary:hover {
  border-color: var(--orange-bright);
  background: var(--orange-bright);
  color: var(--ink);
}

.button--danger {
  border-color: rgba(255, 90, 31, 0.55);
  color: var(--orange);
}

.button--danger:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.button--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.button--disabled,
.button:disabled {
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.button--disabled:hover {
  border-color: var(--line);
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--paper);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.text-link .icon {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.danger-link {
  color: var(--red);
}

.danger-link:hover {
  color: var(--orange);
}

/* Masthead ---------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex: none;
}

.brand-word {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-sub {
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--paper-dim);
  transition: color 180ms var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--paper);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.masthead-note {
  flex: none;
  font-size: 13px;
  color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding: 88px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 1fr 0.9fr;
  gap: 48px;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.brand--footer {
  align-items: baseline;
}

.footer-domain {
  margin-top: 18px;
  color: var(--orange) !important;
}

.footer-heading {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-dark);
}

.footer-col a,
.footer-col p {
  display: block;
  padding: 6px 0;
  font-size: 16px;
  color: var(--paper-dim);
}

.footer-col a {
  transition: color 180ms var(--ease);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-col p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-dark);
}

/* Home hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 116px);
  border-bottom: 1px solid var(--line);
}

.hero-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1;
  filter: saturate(0.95) contrast(1.03);
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--ink) 0%,
      rgba(11, 11, 12, 0.95) 30%,
      rgba(11, 11, 12, 0.62) 58%,
      rgba(11, 11, 12, 0.4) 100%
    ),
    linear-gradient(180deg, rgba(11, 11, 12, 0.1) 0%, rgba(11, 11, 12, 0.12) 55%, var(--ink) 100%);
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: start;
}

.hero-copy {
  position: relative;
  padding-bottom: 8px;
}

.hero-title {
  max-width: 12.5ch;
  margin-top: 22px;
  font-size: clamp(54px, 7.8vw, 116px);
}

.hero-lede {
  max-width: 46ch;
  margin-top: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
}

.latest-card {
  margin-top: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease),
    box-shadow 320ms var(--ease);
}

.latest-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(-5px);
}

.latest-card-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.latest-card-link {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 24px;
}

.latest-card-app {
  display: flex;
  align-items: center;
  gap: 16px;
}

.latest-card-app .app-icon {
  border-radius: 16px;
}

.latest-card-app strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.latest-card-app span span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.latest-card-tagline {
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper-dim);
  text-wrap: pretty;
}

.latest-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
}

.latest-card-link:hover .latest-card-cta .icon {
  transform: translateX(4px);
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(56px, 7vw, 96px);
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.hero-foot p {
  font-size: 15px;
  color: var(--muted);
}

/* Section furniture ------------------------------------------------------- */

.work-section,
.studio-section,
.contact-section {
  padding: clamp(80px, 9vw, 132px) 0;
}

.work-section,
.studio-section {
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.section-head .text-link {
  flex: none;
}

/* Featured app ------------------------------------------------------------ */

.featured-app {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}

.featured-app:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.featured-app-link {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  min-height: 520px;
}

.featured-app-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(30px, 4vw, 58px);
}

.featured-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.featured-app-title {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
}

.featured-app-title h2 {
  font-size: clamp(46px, 5.4vw, 78px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.app-icon {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--ink);
  object-fit: cover;
}

.featured-app-icon {
  border-radius: 22px;
}

.featured-app-tagline {
  max-width: 26ch;
  font-size: clamp(23px, 2.4vw, 33px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: pretty;
}

.featured-app-meta {
  font-size: 14px;
  color: var(--muted);
}

.featured-app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
}

.featured-app-link:hover .featured-app-cta .icon {
  transform: translateX(4px);
}

.featured-app-visual {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--ink);
}

.featured-app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 700ms var(--ease-out);
}

.featured-app:hover .featured-app-visual img {
  transform: scale(1.025);
}

.featured-app-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  min-height: 400px;
  padding: 40px;
  text-align: center;
}

.featured-app-placeholder span {
  font-size: 14px;
  color: var(--muted);
}

.featured-app-placeholder strong {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Compact index on home --------------------------------------------------- */

.app-index {
  margin-top: 26px;
  list-style: none;
}

.app-row-link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 150px 132px 24px;
  align-items: center;
  gap: 22px;
  padding: 20px 16px;
  margin: 0 -16px;
  border-radius: var(--radius-sm);
  transition: background-color 200ms var(--ease);
}

.app-row {
  border-bottom: 1px solid var(--line);
}

.app-row:last-child {
  border-bottom: 0;
}

.app-row-link:hover {
  background: var(--ink-2);
}

.app-row-icon {
  border-radius: 13px;
}

.app-row-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.app-row-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 180ms var(--ease);
}

.app-row-tagline {
  overflow: hidden;
  font-size: 15px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-row-category,
.app-row-date {
  font-size: 14px;
  color: var(--muted);
}

.app-row-arrow {
  color: var(--orange);
  transition: transform 220ms var(--ease);
}

.app-row-link:hover .app-row-name {
  color: var(--orange);
}

.app-row-link:hover .app-row-arrow {
  transform: translateX(4px);
}

/* Studio section ---------------------------------------------------------- */

.studio-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}

.studio-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 340px;
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.studio-rail-note {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.signature {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.signature-name {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.signature-role {
  font-size: 14px;
  color: var(--muted);
}

.studio-title {
  max-width: 17ch;
  font-size: clamp(40px, 4.8vw, 68px);
}

.studio-lede {
  max-width: 58ch;
  margin-top: 28px;
}

.principle-list {
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.principle-list div {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list dt {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.principle-list dd {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.studio-body > .text-link {
  margin-top: 34px;
}

/* Contact section --------------------------------------------------------- */

.contact-section {
  padding-bottom: clamp(88px, 10vw, 144px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: end;
}

.contact-title {
  max-width: 18ch;
  font-size: clamp(38px, 4.8vw, 68px);
}

.contact-side p {
  max-width: 38ch;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--orange);
  font-size: clamp(19px, 1.8vw, 25px);
  letter-spacing: -0.02em;
  color: var(--paper);
  overflow-wrap: anywhere;
  transition: color 180ms var(--ease);
}

.email-link:hover {
  color: var(--orange);
}

.email-link .icon {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.email-link--large {
  font-size: clamp(26px, 3.4vw, 50px);
  letter-spacing: -0.035em;
}

.contact-side .text-link {
  margin-top: 26px;
}

/* Page hero and breadcrumbs ----------------------------------------------- */

.breadcrumbs {
  padding: 28px 0 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  list-style: none;
  font-size: 15px;
  color: var(--muted-dark);
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 180ms var(--ease);
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.page-hero {
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(48px, 5.5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumbs {
  padding: 0 0 34px;
}

.page-title {
  max-width: 14ch;
  margin-top: 20px;
  font-size: clamp(52px, 6.6vw, 100px);
}

.page-lede {
  max-width: 58ch;
  margin-top: 26px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
}

.page-meta span {
  padding-left: 16px;
  border-left: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.page-meta span:first-child {
  padding-left: 0;
  border-left: 0;
}

/* Catalogue --------------------------------------------------------------- */

.catalogue-section {
  padding: clamp(48px, 6vw, 76px) 0 clamp(84px, 9vw, 124px);
}

.catalogue-head,
.catalogue-row > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 130px 132px 24px;
  align-items: center;
  gap: 24px;
}

.catalogue-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-dark);
}

.catalogue {
  list-style: none;
}

.catalogue-row {
  border-bottom: 1px solid var(--line);
}

.catalogue-row > a {
  padding: 20px 16px;
  margin: 0 -16px;
  border-radius: var(--radius-sm);
  transition: background-color 200ms var(--ease);
}

.catalogue-row > a:hover {
  background: var(--ink-2);
}

.catalogue-app {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.catalogue-app .app-icon {
  border-radius: 14px;
}

.catalogue-app-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.catalogue-app-copy strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 180ms var(--ease);
}

.catalogue-app-copy small {
  overflow: hidden;
  font-size: 15px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalogue-cat,
.catalogue-date {
  font-size: 15px;
  color: var(--muted);
}

.catalogue-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--ink-3);
}

.catalogue-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 500ms var(--ease-out), opacity 200ms var(--ease);
}

.catalogue-cover--empty {
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
}

.catalogue-row > a:hover .catalogue-cover img {
  opacity: 1;
  transform: scale(1.04);
}

.catalogue-arrow {
  color: var(--orange);
  transition: transform 220ms var(--ease);
}

.catalogue-row > a:hover .catalogue-app-copy strong {
  color: var(--orange);
}

.catalogue-row > a:hover .catalogue-arrow {
  transform: translateX(4px);
}

.catalogue-note {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.catalogue-note a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper-dim);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.catalogue-note a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Empty catalogue --------------------------------------------------------- */

.empty-state {
  padding: clamp(40px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.empty-state-index {
  font-size: 14px;
  color: var(--muted);
}

.empty-state h2 {
  max-width: 16ch;
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.empty-state h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.empty-state > p:not(.empty-state-index) {
  max-width: 52ch;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

/* App detail -------------------------------------------------------------- */

.app-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(52px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.app-hero-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.app-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.6;
  filter: saturate(0.92) contrast(1.03);
}

.app-hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--ink) 0%,
      rgba(11, 11, 12, 0.95) 32%,
      rgba(11, 11, 12, 0.62) 62%,
      rgba(11, 11, 12, 0.74) 100%
    ),
    linear-gradient(180deg, rgba(11, 11, 12, 0.16) 0%, rgba(11, 11, 12, 0.1) 42%, var(--ink) 100%);
}

.app-hero > .wrap {
  position: relative;
  z-index: 1;
}

.app-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.55fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}

.app-hero-copy {
  max-width: 800px;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 30px);
  margin-top: 20px;
}

.app-title {
  font-size: clamp(56px, 7vw, 104px);
}

.app-tagline {
  max-width: 27ch;
  margin-top: 22px;
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--paper-dim);
  text-wrap: pretty;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.app-actions-note {
  max-width: 52ch;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.app-actions-note a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper-dim);
}

.app-actions-note a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.app-spec {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
}

.app-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.app-spec dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}

.app-spec dt {
  font-size: 14px;
  color: var(--muted-dark);
}

.app-spec dd {
  font-size: 15px;
  color: var(--paper-dim);
}

.app-spec dd a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--paper-dim);
  transition: color 180ms var(--ease);
}

.app-spec dd a:hover {
  color: var(--orange);
}

.app-spec dd .icon {
  width: 13px;
  height: 13px;
}

.app-spec-play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}

.app-spec-play:hover {
  background: var(--orange);
  color: var(--ink);
}

.app-hero-media {
  padding: clamp(36px, 4.5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.app-hero-media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app-hero-media figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.app-plate {
  padding: clamp(52px, 6vw, 88px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.app-plate-inner {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
}

.app-plate-name {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.app-plate-meta {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.app-section {
  padding: clamp(60px, 7vw, 104px) 0;
  border-bottom: 1px solid var(--line);
}

.app-section-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.app-section-rail {
  padding-right: 26px;
  border-right: 1px solid var(--line);
}

.app-section-rail-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.app-section-body {
  max-width: 800px;
}

.app-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.app-section-note {
  font-size: 14px;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list li p {
  max-width: 60ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--paper-dim);
}

/* Screenshots ------------------------------------------------------------- */

.shot-rail {
  display: flex;
  gap: 22px;
  padding-bottom: 20px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--line-strong) transparent;
}

.shot-rail > li {
  flex: 0 0 clamp(230px, 24vw, 310px);
  scroll-snap-align: start;
}

.shot {
  display: block;
}

.shot-image {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color 220ms var(--ease), transform 320ms var(--ease-out),
    box-shadow 320ms var(--ease);
}

.shot-image img {
  width: 100%;
  aspect-ratio: 1080 / 2280;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.shot-caption {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.shot:hover .shot-image {
  border-color: var(--line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.shot:hover .shot-image img {
  transform: scale(1.015);
}

/* Videos ------------------------------------------------------------------ */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  list-style: none;
}

.video-item {
  min-width: 0;
}

.app-screens,
.app-videos,
.app-features {
  scroll-margin-top: 96px;
}

.video-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color 220ms var(--ease), transform 320ms var(--ease-out);
}

.video-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-3);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 600ms var(--ease-out);
}

.video-card:hover .video-thumb img {
  transform: scale(1.025);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 220ms var(--ease);
}

.video-card:hover .video-play {
  transform: translate(-50%, -50%) scale(1.06);
}

.video-play .icon {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.video-caption {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
}

.video-file {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.video-file video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-file figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
}

.video-embed {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  overflow: hidden;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Privacy band on app page ------------------------------------------------ */

.app-privacy-band {
  background: var(--ink-2);
}

.app-privacy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.65fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: end;
}

.app-privacy-title {
  max-width: 16ch;
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 60px);
}

.app-privacy-side p {
  max-width: 38ch;
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* Next app ---------------------------------------------------------------- */

.next-app {
  padding: clamp(52px, 6vw, 88px) 0;
}

.next-app-link {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.next-app-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.next-app-name {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  transition: color 180ms var(--ease);
}

.next-app-tagline {
  overflow: hidden;
  font-size: 16px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-app-arrow {
  color: var(--orange);
  transition: transform 220ms var(--ease);
}

.next-app-link:hover .next-app-name {
  color: var(--orange);
}

.next-app-link:hover .next-app-arrow {
  transform: translateX(4px);
}

/* Prose ------------------------------------------------------------------- */

.prose {
  color: var(--paper-dim);
}

.prose h2 {
  margin: 46px 0 16px;
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--paper);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 34px 0 12px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.prose h4 {
  margin: 30px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
}

.prose p {
  margin-bottom: 20px;
  font-size: 17.5px;
  line-height: 1.75;
}

.prose ul,
.prose ol {
  margin: 0 0 24px;
  padding-left: 26px;
}

.prose ul {
  list-style: square;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin: 8px 0;
  padding-left: 6px;
  font-size: 17px;
  line-height: 1.7;
}

.prose li::marker {
  color: var(--orange);
}

.prose strong {
  font-weight: 600;
  color: var(--paper);
}

.prose em {
  font-family: var(--serif);
  font-size: 1.08em;
  color: var(--paper);
}

.prose a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.prose a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.prose code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--ink-3);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.84em;
  color: var(--paper-dim);
}

.prose blockquote {
  margin: 30px 0;
  padding: 6px 0 6px 26px;
  border-left: 2px solid var(--orange);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-style: italic;
  line-height: 1.4;
  color: var(--paper);
}

.prose hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Privacy pages ----------------------------------------------------------- */

.privacy-hero {
  padding: clamp(44px, 5.5vw, 72px) 0 clamp(40px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.privacy-title {
  max-width: 16ch;
  margin-top: 18px;
  font-size: clamp(46px, 5.6vw, 84px);
}

.privacy-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.privacy-meta span {
  display: block;
  font-size: 13px;
  color: var(--muted-dark);
}

.privacy-meta strong {
  display: block;
  margin-top: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--paper-dim);
  overflow-wrap: anywhere;
}

.privacy-meta a {
  border-bottom: 1px solid var(--line-strong);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.privacy-meta a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.privacy-body {
  padding: clamp(56px, 6.5vw, 92px) 0 clamp(84px, 9vw, 124px);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.privacy-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-right: 26px;
  border-right: 1px solid var(--line);
}

.privacy-rail .app-icon {
  border-radius: 18px;
}

.privacy-rail > p {
  font-size: 16px;
  font-weight: 500;
  color: var(--paper-dim);
}

.privacy-rail-note {
  font-size: 15px;
  font-weight: 400 !important;
  line-height: 1.65;
  color: var(--muted) !important;
}

.privacy-prose {
  max-width: 800px;
}

.privacy-footnote {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.privacy-footnote a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper-dim);
}

.privacy-footnote a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.policy-app-list {
  margin: 20px 0 40px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.policy-app-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.policy-app-list a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  font-size: 17px;
}

.policy-app-list a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.policy-app-list span {
  font-size: 14px;
  color: var(--muted);
}

.inline-notice {
  padding: 24px;
  border: 1px solid var(--orange);
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
}

.inline-notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--paper);
}

.inline-notice p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--paper-dim);
}

.inline-notice a {
  border-bottom: 1px solid var(--orange);
}

/* About ------------------------------------------------------------------- */

.about-section {
  padding: clamp(56px, 6.5vw, 92px) 0 clamp(72px, 8vw, 108px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}

.about-rail {
  padding-right: 30px;
  border-right: 1px solid var(--line);
}

.ledger {
  border-top: 1px solid var(--line);
}

.ledger div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.ledger dt {
  font-size: 14px;
  color: var(--muted-dark);
}

.ledger dd {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--paper-dim);
  overflow-wrap: anywhere;
}

.ledger dd a {
  border-bottom: 1px solid var(--line-strong);
}

.ledger dd a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.about-rail-note {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.about-body {
  max-width: 820px;
}

.about-body .prose h2 {
  margin-top: 48px;
}

.process-list {
  margin: 36px 0;
  border-top: 1px solid var(--line);
}

.process-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.process-list dt {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.process-list dd {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.pull-quote-section {
  padding: clamp(64px, 8vw, 116px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.pull-quote {
  max-width: 1000px;
}

.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 60px);
  font-style: italic;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.pull-quote footer {
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
}

/* Contact ----------------------------------------------------------------- */

.contact-page {
  padding: clamp(56px, 6.5vw, 92px) 0 clamp(84px, 9vw, 124px);
}

.contact-page-email {
  padding-bottom: 36px;
  margin-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.contact-page-email > p {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}

.contact-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li p {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--paper-dim);
}

.contact-page-block {
  min-width: 0;
}

.contact-page-block--note {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.contact-page-block--note p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-page-block--note .text-link {
  margin-top: 26px;
}

/* 404 / 500 --------------------------------------------------------------- */

.not-found {
  padding: clamp(84px, 12vw, 180px) 0;
}

.not-found-title {
  max-width: 14ch;
  margin-top: 24px;
  font-size: clamp(52px, 7vw, 108px);
}

.not-found-lede {
  max-width: 54ch;
  margin-top: 26px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

/* Lightbox ---------------------------------------------------------------- */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(11, 11, 12, 0.97);
  color: var(--paper);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  padding: 32px;
}

.lightbox-inner > img {
  width: auto;
  max-width: min(92vw, 900px);
  max-height: 76vh;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.lightbox-close:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lightbox-caption {
  min-width: 180px;
  font-size: 14px;
  color: var(--paper-dim);
  text-align: center;
}

.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.lightbox-nav:hover {
  border-color: var(--orange);
  color: var(--orange);
}

body.lightbox-open {
  overflow: hidden;
}

/* Reveal motion ----------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.7fr);
    gap: 52px;
  }

  .featured-app-link {
    grid-template-columns: 1fr 1fr;
  }

  .studio-grid {
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
    gap: 52px;
  }

  .catalogue-head,
  .catalogue-row > a {
    grid-template-columns: minmax(0, 1fr) 140px 120px 112px 22px;
    gap: 18px;
  }

  .app-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.6fr);
    gap: 52px;
  }
}

@media (max-width: 900px) {
  .masthead-note {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .latest-card {
    max-width: 480px;
  }

  .featured-app-link {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .featured-app-visual {
    min-height: 330px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .featured-app-visual img {
    aspect-ratio: 16 / 9;
  }

  .featured-app-copy {
    gap: 30px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .studio-rail {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    min-height: 0;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-list div {
    grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    align-items: start;
  }

  .contact-side {
    max-width: 500px;
  }

  .catalogue-head {
    display: none;
  }

  .catalogue-row > a {
    grid-template-columns: minmax(0, 1fr) 120px 112px 22px;
    gap: 16px;
    padding: 18px 12px;
    margin: 0 -12px;
  }

  .catalogue-cat {
    display: none;
  }

  .app-hero-cover img {
    opacity: 0.32;
  }

  .app-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .app-spec {
    max-width: 480px;
  }

  .app-section-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .app-section-rail {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-section-rail-note {
    margin-top: 0;
  }

  .app-privacy-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .app-privacy-side {
    max-width: 540px;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .privacy-rail {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .privacy-rail-note {
    flex: 1 1 100%;
    max-width: 52ch;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-rail {
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ledger {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 34px;
  }

  .ledger div {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .about-rail-note {
    max-width: 52ch;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .privacy-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .masthead-inner {
    min-height: 70px;
    gap: 20px;
  }

  .brand-sub {
    display: none;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(46px, 12vw, 76px);
  }

  .hero-actions {
    gap: 22px;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .section-head {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .section-head .text-link {
    order: 3;
  }

  .featured-app-title h2 {
    font-size: clamp(40px, 10vw, 58px);
  }

  .featured-app-tagline {
    font-size: clamp(21px, 5vw, 27px);
  }

  .app-row-link {
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    gap: 16px;
    padding: 18px 10px;
    margin: 0 -10px;
  }

  .app-row-category,
  .app-row-date {
    display: none;
  }

  .app-row-name {
    font-size: 18px;
  }

  .app-row-tagline {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .studio-rail {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .principle-list div,
  .process-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalogue-row > a {
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 14px;
  }

  .catalogue-date {
    display: none;
  }

  .catalogue-cover {
    display: none;
  }

  .catalogue-app-copy strong {
    font-size: 18px;
  }

  .catalogue-app-copy small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .catalogue-app .app-icon {
    width: 46px;
    height: 46px;
  }

  .app-title-row {
    align-items: flex-start;
  }

  .app-title-row .app-icon {
    width: 66px;
    height: 66px;
  }

  .app-title {
    font-size: clamp(48px, 13vw, 76px);
  }

  .app-tagline {
    font-size: clamp(20px, 4.8vw, 25px);
  }

  .app-plate-inner {
    flex-wrap: wrap;
  }

  .app-plate-meta {
    width: 100%;
    margin-left: 0;
  }

  .app-section-rail {
    flex-wrap: wrap;
    gap: 6px 20px;
  }

  .feature-list li p {
    font-size: 18px;
  }

  .shot-rail > li {
    flex-basis: 70vw;
  }

  .next-app-link {
    flex-wrap: wrap;
  }

  .next-app-copy {
    flex: 1 1 100%;
    order: 2;
  }

  .next-app-tagline {
    white-space: normal;
  }

  .privacy-meta {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .privacy-meta div {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
  }

  .privacy-meta strong {
    margin-top: 0;
  }

  .ledger {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .lightbox-inner {
    padding: 20px;
  }

  .lightbox-inner > img {
    max-height: 70vh;
  }

  .lightbox-bar {
    gap: 12px;
  }

  .lightbox-caption {
    min-width: 130px;
  }
}

@media (max-width: 560px) {
  .page-meta {
    gap: 6px 18px;
  }

  .page-meta span {
    padding-left: 0;
    border-left: 0;
  }

  .nav {
    gap: 16px;
  }

  .hero-actions,
  .about-actions,
  .not-found-actions,
  .empty-state-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .about-actions .button,
  .not-found-actions .button,
  .empty-state-actions .button {
    width: 100%;
  }

  .hero-actions .text-link,
  .about-actions .text-link,
  .not-found-actions .text-link,
  .empty-state-actions .text-link {
    align-self: flex-start;
  }

  .featured-app-copy {
    padding: 26px;
  }

  .featured-app-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .app-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .app-actions .button {
    width: 100%;
  }

  .app-actions .text-link {
    align-self: flex-start;
  }

  .app-section {
    padding: 48px 0;
  }

  .contact-page-block--note {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    margin-top: 44px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
