/* CT Works — ctworks.nl */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0d0d0d;
  --paper: #ffffff;
  --tile: #f1f1ef;
  --hairline: #d6d6d2;
  --muted: #777777;
  --muted-tile: #555555;
  --body-soft: #333333;
  --inactive: #9a9a9a;
  --footer-meta: #8a8a8a;
  --px: clamp(20px, 3vw, 40px);
  --label-col: calc(25% - 15px);
  --indent: clamp(0px, 25%, 320px);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: opacity .12s ease; }
a:hover { opacity: .55; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: #fff; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--px); top: -100px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 14px; font-size: 14px; font-weight: 500;
}
.skip:focus { top: 12px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* Header */

.site-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 22px var(--px);
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid var(--ink);
  position: sticky; top: 0; z-index: 5;
  background: var(--paper);
}
.wordmark-small { flex: 0 0 calc(25% - 21px); min-width: 110px; font-weight: 800; letter-spacing: -0.01em; }
.site-nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.site-nav a, .tabs a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.site-nav a[aria-current="page"], .tabs a[aria-current="page"] { border-bottom-color: var(--ink); }
.lang { display: flex; gap: 4px; align-items: center; }
.lang a { padding: 4px 2px; color: var(--inactive); }
.lang [aria-current] { color: var(--ink); }
.lang .sep { color: var(--inactive); }

/* Shared blocks */

.pad { padding-left: var(--px); padding-right: var(--px); }

.title-wrap { padding-top: 56px; }
.title {
  margin: 0 0 0 -0.04em;
  font-weight: 900;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.06em;
}
.title--legal { font-size: clamp(64px, 12vw, 176px); }
.title--auto { font-size: clamp(56px, 11vw, 176px); }

.lead-wrap { padding-top: 48px; padding-bottom: 72px; }
.lead {
  margin: 0 0 0 var(--indent);
  max-width: 760px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: pretty;
}

.section-end { padding-bottom: 96px; }

.row {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  padding: 28px 0;
  border-top: 1px solid var(--ink);
}
.row:last-child { border-bottom: 1px solid var(--ink); }
.row__label { flex: 0 0 var(--label-col); min-width: 180px; margin: 0; font-size: 14px; font-weight: 500; }
.row__body { flex: 1 1 420px; max-width: 760px; margin: 0; font-size: 20px; line-height: 1.45; text-wrap: pretty; }
.row__no { color: var(--muted); margin-right: 10px; }
.row__link { flex: 1 1 420px; font-size: 20px; font-weight: 500; }
.ul { border-bottom: 1px solid var(--ink); }
.strong { font-weight: 500; }

.photo { position: relative; width: 100%; background: var(--tile); overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.ratio-21-9 { aspect-ratio: 21 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-4-5 { aspect-ratio: 4 / 5; }

/* Home */

.home-top { padding-top: 56px; }
.eyebrow { font-size: 14px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.eyebrow span { flex: 0 0 var(--label-col); min-width: 180px; }
.wordmark {
  margin: 28px 0 0 -0.045em;
  font-weight: 900;
  font-size: clamp(84px, 20.5vw, 268px);
  line-height: 0.82;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.statement-wrap { padding-top: 56px; padding-bottom: 96px; border-bottom: 1px solid var(--ink); }
.statement, .big-p {
  margin: 0;
  max-width: 760px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: pretty;
}
.statement { margin-left: var(--indent); }
.home-hero { padding-top: 20px; }
.strip { padding-top: 40px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 500; }

.cards {
  padding-top: 20px; padding-bottom: 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.card { display: flex; flex-direction: column; gap: 14px; }
.card__tile {
  aspect-ratio: 1; background: var(--tile);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 20px; font-size: 13px; color: var(--muted-tile);
}
.card__caption { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 500; }
.card__year { color: var(--muted); }

.feature {
  border-top: 1px solid var(--ink);
  padding-top: 40px; padding-bottom: 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px 20px;
  align-items: end;
}
.feature__text { display: flex; flex-direction: column; gap: 24px; }
.feature__label { margin: 0; font-size: 14px; font-weight: 500; }
.feature__more { font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 2px; }

/* Apps */

.table__row {
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(48px, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.table__head { padding: 0 0 12px; font-size: 13px; color: var(--muted); font-weight: 500; border-bottom-color: var(--ink); }
.table__no { font-size: 14px; color: var(--muted); }
.table__name { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.table__cell { font-size: 15px; }
.table__year { font-size: 15px; color: var(--muted); text-align: right; }
.table__head .table__year { font-size: inherit; }

.notify { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 40px; font-size: 16px; font-weight: 500; }
.notify__label { flex: 0 0 var(--label-col); min-width: 180px; color: var(--muted); }
.notify__text { flex: 1 1 360px; }

@media (max-width: 599px) {
  .table__head { display: none; }
  .table__row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "no name year" ". platform platform" ". status status";
    gap: 6px 16px;
    padding: 22px 0;
  }
  .table__no { grid-area: no; }
  .table__name { grid-area: name; }
  .table__row > .table__cell:nth-child(3) { grid-area: platform; }
  .table__row > .table__cell:nth-child(4) { grid-area: status; color: var(--muted); }
  .table__year { grid-area: year; }
}

/* Studio */

.photo-pair {
  padding-bottom: 72px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px;
}
.wide-photo { padding-bottom: 72px; }

/* Support */

.support-lead {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.support-lead .lead { max-width: 620px; }
.button { background: var(--ink); color: #fff; padding: 16px 22px; font-size: 15px; font-weight: 500; }

.faq-wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.faq-label { flex: 0 0 var(--label-col); min-width: 180px; font-size: 14px; font-weight: 500; padding-top: 24px; margin: 0; }
.faq { flex: 1 1 420px; border-bottom: 1px solid var(--ink); }
.faq__item { border-top: 1px solid var(--ink); }
.faq__q { margin: 0; font: inherit; }
.faq__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  background: none; border: 0; padding: 22px 0; cursor: pointer; text-align: left;
  font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -0.01em;
}
.faq__btn:hover { opacity: .55; }
.faq__sign { font-size: 22px; width: 20px; flex: none; text-align: center; }
.faq__sign::after { content: '–'; }
.faq__a { margin: 0; padding: 0 40px 26px 0; max-width: 720px; font-size: 17px; line-height: 1.55; color: var(--body-soft); text-wrap: pretty; }
.js .faq__item:not(.is-open) .faq__a { display: none; }
.js .faq__item:not(.is-open) .faq__sign::after { content: '+'; }

/* Contact */

.contact-top { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.contact-top__label { flex: 0 0 var(--label-col); min-width: 180px; font-size: 14px; font-weight: 500; padding-top: 8px; }
.contact-top__mail { flex: 1 1 420px; font-size: clamp(24px, 3vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.kv { flex: 1 1 420px; max-width: 760px; margin: 0; display: flex; flex-direction: column; }
.kv div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 17px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; text-align: right; }

/* Legal */

.legal-sub { padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 14px; font-weight: 500; }
.legal-sub__date { flex: 0 0 var(--label-col); min-width: 180px; color: var(--muted); }
.tabs { display: flex; gap: 24px; }
.legal .row { padding: 26px 0; }
.legal .row__body { font-size: 18px; line-height: 1.55; }

/* Footer */

.site-footer {
  background: var(--ink); color: #fff;
  padding: 40px var(--px);
  display: flex; flex-wrap: wrap; gap: 32px 20px;
  font-size: 14px;
}
.site-footer__spacer { flex: 1 1 440px; }
.site-footer__col { flex: 0 1 220px; display: flex; flex-direction: column; gap: 8px; }
.site-footer__meta { color: var(--footer-meta); }

@media (max-width: 599px) {
  :root { --indent: 0px; }
}

@media (max-width: 420px) {
  .wordmark { font-size: 20.5vw; }
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
