/* Schibsted Grotesk (SIL Open Font License), served from this site - no request to Google (privacy) */
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-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;
}
/* Taki Apps — site styles */
:root{
  --paper:#ffffff;
  --ink:#17223b;      /* deep ink blue: text, buttons */
  --body:#3a4357;
  --muted:#6a7386;
  --rule:#dfe3ea;
  --wash:#f3f5f8;
  --font:"Schibsted Grotesk",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--body);font:17px/1.6 var(--font);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:var(--ink);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}
h1,h2,h3{color:var(--ink);font-weight:700;letter-spacing:-.015em}

/* header */
.top .wrap{display:flex;justify-content:space-between;align-items:center;padding-top:22px;padding-bottom:22px}
.logo{font-weight:800;font-size:20px;letter-spacing:-.02em;color:var(--ink);text-decoration:none}
.top nav{display:flex;gap:26px;font-size:15.5px}
.top nav a{text-decoration:none;color:var(--body)}
.top nav a:hover{color:var(--ink);text-decoration:underline}

/* intro */
.intro{padding:64px 0 48px}
.intro h1{font-size:clamp(34px,5.4vw,60px);line-height:1.08;margin:0;max-width:16ch}
.intro p{font-size:clamp(18px,2vw,20px);max-width:52ch;margin:26px 0 0}

/* moving screenshot reel */
main>.reel:first-child{margin-top:48px}
.reel{overflow:hidden;padding:8px 0 4px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.reel-track{display:flex;gap:16px;width:max-content;animation:reel 60s linear infinite}
.reel:hover .reel-track,.reel:focus-within .reel-track{animation-play-state:paused}
.reel button{padding:0;border:0;background:none;cursor:zoom-in;border-radius:8px;flex:none}
.reel img{width:168px;aspect-ratio:9/16;object-fit:cover;border-radius:8px;background:#000}
@keyframes reel{to{transform:translateX(-50%)}}
.reel-note{font-size:14px;color:var(--muted);margin:12px 0 0}

/* work */
.work{padding:80px 0 30px}
.work > .wrap > h2{font-size:30px;margin:0 0 22px}
.project{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);border:1px solid var(--rule);border-radius:10px;overflow:hidden}
.project .art{background:#1d140f}
.project .art img{width:100%;height:100%;object-fit:cover;object-position:30% 50%}
.project .info{padding:30px 32px 28px}
.project h3{font-size:30px;margin:0 0 4px;display:flex;align-items:center;gap:14px}
.project h3 img{width:52px;height:52px;border-radius:12px}
.project .what{color:var(--muted);margin:0 0 16px;font-size:15.5px}
.project .info > p{margin:0 0 20px}
.facts{display:grid;grid-template-columns:auto 1fr;gap:6px 18px;margin:0 0 24px;font-size:15px}
.facts dt{color:var(--muted)}
.facts dd{margin:0;color:var(--ink)}
.button{display:inline-block;background:var(--ink);color:#fff;text-decoration:none;font-weight:600;font-size:16px;padding:13px 22px;border-radius:6px}
.button:hover{background:#0d1528;color:#fff}
.project .info > p.small-links{margin:24px 0 0;font-size:14.5px;display:flex;flex-wrap:wrap;gap:4px 18px}
.small-links a{color:var(--muted)}
.shots{display:flex;gap:12px;overflow-x:auto;padding:18px;border-top:1px solid var(--rule);background:var(--wash);grid-column:1/-1;scroll-snap-type:x proximity}
.shots button{flex:0 0 auto;padding:0;border:0;background:none;cursor:zoom-in;scroll-snap-align:start;border-radius:8px}
.shots img{width:150px;aspect-ratio:9/16;object-fit:cover;border-radius:8px}

/* lightbox */
dialog.viewer{border:0;padding:0;background:transparent;max-width:none;max-height:none}
dialog.viewer::backdrop{background:rgba(10,14,24,.88)}
dialog.viewer img{max-height:90vh;width:auto;border-radius:10px}
dialog.viewer form{position:fixed;top:16px;right:16px}
dialog.viewer button{background:#fff;color:var(--ink);border:0;border-radius:6px;padding:9px 14px;font:600 15px var(--font);cursor:pointer}

/* services */
.also{padding:60px 0 90px}
.also .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:40px;border-top:1px solid var(--rule);padding-top:44px}
.also h2{font-size:30px;margin:0}
.also p{margin:0 0 14px;max-width:56ch}

/* footer */
footer{border-top:1px solid var(--rule);padding:28px 0 40px;font-size:14.5px;color:var(--muted)}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px}
footer nav{display:flex;flex-wrap:wrap;gap:6px 20px}
footer a{color:var(--muted)}

/* policy + support pages */
.doc-head{padding:46px 0 30px;border-bottom:1px solid var(--rule)}
.doc-head .path{font-size:14.5px;color:var(--muted);margin:0 0 10px}
.doc-head .path a{color:var(--muted)}
.doc-head h1{font-size:clamp(32px,4.6vw,46px);line-height:1.1;margin:0}
.doc-head .meta{color:var(--muted);margin:12px 0 0;font-size:15.5px}
.doc{display:grid;grid-template-columns:200px minmax(0,1fr);gap:56px;padding:40px 0 90px}
.toc{position:sticky;top:24px;align-self:start;font-size:14.5px}
.toc p{margin:0 0 8px;color:var(--ink);font-weight:600}
.toc a{display:block;color:var(--muted);text-decoration:none;padding:4px 0}
.toc a:hover{color:var(--ink);text-decoration:underline}
.prose{max-width:68ch}
.prose h2{font-size:23px;margin:42px 0 10px;scroll-margin-top:20px}
.prose > h2:first-child{margin-top:0}
.prose > .summary + h2{margin-top:30px}
.prose h3{font-size:17.5px;margin:24px 0 6px}
.prose ul,.prose ol{padding-left:22px}
.prose li{margin:6px 0}
.prose code{background:var(--wash);padding:1px 6px;border-radius:4px;font-size:.9em}
.summary{background:var(--wash);border-radius:8px;padding:18px 22px;margin:0 0 6px}
.summary p{margin:0}
.summary ul{margin:10px 0 0}
table{width:100%;border-collapse:collapse;margin:14px 0;font-size:15.5px}
th,td{text-align:left;padding:10px 12px 10px 0;border-bottom:1px solid var(--rule);vertical-align:top}
th{color:var(--ink);font-weight:600}
.table-wrap{overflow-x:auto}
.faq h3{margin-top:26px}
.faq p{margin:4px 0 0}

@media (max-width:820px){
  .project{grid-template-columns:1fr}
  .project .art img{aspect-ratio:1024/500;height:auto}
  .project .info{padding:24px 20px}
  .also .wrap{grid-template-columns:1fr;gap:14px}
  .doc{grid-template-columns:1fr;gap:0}
  .toc{display:none}
}
@media (max-width:520px){
  .top nav{gap:16px}
  .top nav .opt{display:none}
  .intro{padding:40px 0 36px}
  .reel img{width:130px}
}
@media (prefers-reduced-motion:reduce){.reel-track{animation:none}}
