/*
Theme Name: T3N 2026
Theme URI: https://t3n.local/
Author: T3N
Description: T3N's media, websites and business systems theme.
Version: 1.4.0
Text Domain: t3n-2026
*/

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-800.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-900.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-600.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --t3n-blue: #0973d3;
  --t3n-magenta: #b511a7;
  --t3n-orange: #d84f00;
  --t3n-orange-bright: #ff6c00;
  --t3n-ink: #151414;
  --t3n-muted: #615f5d;
  --t3n-paper: #f7f6f4;
  --t3n-gradient: linear-gradient(110deg, var(--t3n-blue), var(--t3n-magenta) 52%, var(--t3n-orange));
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-family: "Source Sans 3", Arial, sans-serif; font-size: 1.04rem; line-height: 1.55; }
h1, h2, h3, h4, h5, h6 { font-family: "Montserrat", Arial, sans-serif; }
body.menu-open { overflow: hidden; }
::selection { background: var(--t3n-magenta); color: #fff; }
a, button, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--t3n-orange); }
.material-symbols-outlined { display: inline-block; width: 1em; height: 1em; overflow: hidden; color: transparent; white-space: nowrap; }
.t3n-svg-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; vertical-align: -.125em; }

.t3n-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 100; height: 3px; width: 0;
  background: var(--t3n-gradient); box-shadow: 0 0 18px rgba(181,17,167,.45);
}
.t3n-nav { transition: transform .35s ease, background-color .35s ease, box-shadow .35s ease; }
.t3n-nav.is-scrolled { transform: translate(-50%, -10px); background: rgba(255,255,255,.94); box-shadow: 0 18px 50px rgba(21,20,20,.13); }
.t3n-nav-link { position: relative; }
.t3n-nav-link::after { content: ""; position: absolute; inset: auto 0 -5px; height: 2px; background: var(--t3n-gradient); transform: scaleX(0); transition: transform .25s ease; }
.t3n-nav-link:hover::after, .t3n-nav-link.is-active::after { transform: scaleX(1); }
.t3n-menu-button { display: none; }
.t3n-mobile-menu { display: none; }

.t3n-brand-text { background: var(--t3n-gradient); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.t3n-brand-button { background: var(--t3n-gradient) !important; color: #fff !important; box-shadow: 0 16px 34px rgba(9,115,211,.22); }
.t3n-brand-button:hover { box-shadow: 0 20px 42px rgba(181,17,167,.26); transform: translateY(-2px); }
.t3n-button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border-radius: 999px; padding: 1rem 1.4rem; font-weight: 750; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.t3n-button-secondary { border: 1px solid rgba(21,20,20,.16); background: rgba(255,255,255,.72); color: var(--t3n-ink); backdrop-filter: blur(12px); }
.t3n-button-secondary:hover { transform: translateY(-2px); border-color: var(--t3n-blue); }
.t3n-kicker { display: inline-flex; align-items: center; gap: .65rem; color: var(--t3n-blue); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.t3n-kicker::before { content: ""; width: 2.3rem; height: 3px; border-radius: 5px; background: var(--t3n-gradient); }

.t3n-hero { min-height: 880px; background: radial-gradient(circle at var(--spot-x, 78%) var(--spot-y, 25%), rgba(9,115,211,.16), transparent 28%), radial-gradient(circle at 8% 75%, rgba(181,17,167,.10), transparent 28%), #fff; }
.t3n-hero-grid { background-image: linear-gradient(rgba(21,20,20,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(21,20,20,.035) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent); }
.t3n-orbit { position: absolute; border: 1px solid rgba(9,115,211,.18); border-radius: 999px; animation: t3n-spin 26s linear infinite; }
.t3n-orbit::after { content: ""; position: absolute; width: 14px; height: 14px; top: 12%; left: 12%; border-radius: 50%; background: var(--t3n-orange); box-shadow: 0 0 22px var(--t3n-orange); }
.t3n-orbit-two { animation-direction: reverse; animation-duration: 34s; border-color: rgba(181,17,167,.18); }
@keyframes t3n-spin { to { transform: rotate(360deg); } }
.t3n-status-dot { width: .58rem; height: .58rem; border-radius: 50%; background: #16a366; box-shadow: 0 0 0 6px rgba(22,163,102,.11); }
.t3n-hero-card { border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.7); backdrop-filter: blur(22px); box-shadow: 0 26px 90px rgba(21,20,20,.10); }
.t3n-connection-line { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(9,115,211,.18), rgba(181,17,167,.55), rgba(255,108,0,.18)); background-size: 200% 100%; animation: t3n-flow 2.6s linear infinite; }
@keyframes t3n-flow { to { background-position: -200% 0; } }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
.t3n-card { position: relative; overflow: hidden; border: 1px solid rgba(21,20,20,.09); background: #fff; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.t3n-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px; background: var(--t3n-gradient); transform: scaleX(.22); transform-origin: left; transition: transform .35s ease; }
.t3n-card:hover { transform: translateY(-7px); border-color: rgba(9,115,211,.24); box-shadow: 0 28px 60px rgba(21,20,20,.10); }
.t3n-card:hover::before { transform: scaleX(1); }
.t3n-icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; color: var(--t3n-blue); background: rgba(9,115,211,.09); }
.t3n-icon.is-magenta { color: var(--t3n-magenta); background: rgba(181,17,167,.09); }
.t3n-icon.is-orange { color: var(--t3n-orange); background: rgba(255,108,0,.10); }

.t3n-marquee { overflow: hidden; border-block: 1px solid rgba(21,20,20,.08); }
.t3n-marquee-track { display: flex; width: max-content; animation: t3n-marquee 36s linear infinite; }
.t3n-marquee:hover .t3n-marquee-track { animation-play-state: paused; }
@keyframes t3n-marquee { to { transform: translateX(-50%); } }
.t3n-pipeline { position: relative; }
.t3n-pipeline::before { content: ""; position: absolute; top: 2rem; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--t3n-blue), var(--t3n-magenta), var(--t3n-orange)); }
.t3n-pipeline-step { position: relative; z-index: 1; }
.t3n-step-number { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; margin-inline: auto; background: #fff; border: 2px solid var(--t3n-blue); font-weight: 850; box-shadow: 0 0 0 9px #f7f6f4; }
.t3n-case-card { min-height: 410px; background: #171616; }
.t3n-case-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, var(--case-color, rgba(9,115,211,.5)), transparent 38%), linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.08)); }
.t3n-case-pattern { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.7) 49%, rgba(255,255,255,.7) 51%, transparent 52%); background-size: 38px 38px; transition: transform .8s ease; }
.t3n-case-card:hover .t3n-case-pattern { transform: scale(1.07) rotate(2deg); }
.t3n-case-label { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }

.t3n-form-shell { background: #171616; isolation: isolate; }
.t3n-form-shell::before { content: ""; position: absolute; inset: -40% 45% 20% -20%; z-index: -1; background: radial-gradient(circle, rgba(9,115,211,.5), transparent 65%); }
.t3n-contact-form { color: var(--t3n-ink); }
.t3n-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.t3n-contact-form label > span { display: block; margin: 0 0 .45rem; color: inherit; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.t3n-contact-form input, .t3n-contact-form select, .t3n-contact-form textarea { width: 100%; border: 1px solid rgba(21,20,20,.13); border-radius: .85rem; background: #fff; padding: .9rem 1rem; color: var(--t3n-ink); transition: border .2s ease, box-shadow .2s ease; }
.t3n-contact-form input:focus, .t3n-contact-form select:focus, .t3n-contact-form textarea:focus { border-color: var(--t3n-blue); box-shadow: 0 0 0 4px rgba(9,115,211,.11); outline: none; }
.t3n-form-message { display: block; margin-top: 1rem; }
.t3n-form-submit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.t3n-consent { display: flex !important; align-items: flex-start; gap: .6rem; max-width: 26rem; font-size: .76rem; color: var(--t3n-muted); }
.t3n-consent input { width: 1rem; margin-top: .2rem; }
.t3n-consent span { margin: 0 !important; font-size: inherit !important; letter-spacing: 0 !important; line-height: 1.5; text-transform: none !important; }
.t3n-consent a { color: var(--t3n-blue); text-decoration: underline; text-underline-offset: 2px; }
.t3n-honeypot { position: absolute; left: -9999px; }
.t3n-form-notice { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; border-radius: .75rem; padding: .9rem 1rem; font-weight: 700; }
.t3n-form-success { color: #075f39; background: #e7f8ef; }
.t3n-form-error { color: #8b1016; background: #fcebeb; }

.t3n-faq details { border-top: 1px solid rgba(21,20,20,.12); }
.t3n-faq details:last-child { border-bottom: 1px solid rgba(21,20,20,.12); }
.t3n-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; cursor: pointer; font-size: 1.12rem; font-weight: 750; list-style: none; }
.t3n-faq summary::-webkit-details-marker { display: none; }
.t3n-faq summary::after { content: "+"; color: var(--t3n-blue); font-size: 1.7rem; font-weight: 400; }
.t3n-faq details[open] summary::after { content: "–"; }
.t3n-faq details p { max-width: 46rem; padding: 0 0 1.5rem; color: var(--t3n-muted); line-height: 1.75; }
.t3n-easter-toast { position: fixed; inset: auto 1.5rem 1.5rem auto; z-index: 100; max-width: 22rem; border-radius: 1rem; padding: 1rem 1.2rem; color: #fff; background: var(--t3n-ink); box-shadow: 0 18px 60px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .4s ease; }
.t3n-easter-toast.is-visible { transform: translateY(0); }
.t3n-article-content { color: var(--t3n-ink); font-size: 1.08rem; line-height: 1.85; }
.t3n-article-content > * + * { margin-top: 1.35em; }
.t3n-article-content h2, .t3n-article-content h3 { margin-top: 1.8em; line-height: 1.15; letter-spacing: -.035em; }
.t3n-article-content h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.t3n-article-content h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.t3n-article-content a { color: var(--t3n-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.t3n-article-content ul, .t3n-article-content ol { padding-left: 1.4rem; }
.t3n-article-content blockquote { border-left: 4px solid var(--t3n-orange); padding-left: 1.5rem; color: var(--t3n-muted); font-size: 1.25rem; font-weight: 600; }
.t3n-legal .t3n-article-content { max-width: 72ch; }

.t3n-showreel { position: relative; overflow: hidden; border-radius: 2rem; background: #0d0d0d; box-shadow: 0 30px 90px rgba(21,20,20,.18); }
.t3n-showreel video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0d0d0d; }
.t3n-showreel::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; box-shadow: inset 0 0 70px rgba(0,0,0,.18); }
.t3n-showreel-badge { position: absolute; inset: 1.25rem auto auto 1.25rem; z-index: 2; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .55rem .8rem; color: #fff; background: rgba(0,0,0,.48); backdrop-filter: blur(12px); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.t3n-work-card { position: relative; min-height: 430px; overflow: hidden; border-radius: 2rem; background: #151414; color: #fff; isolation: isolate; }
.t3n-work-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.t3n-work-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,10,10,.94), rgba(10,10,10,.12) 68%); }
.t3n-work-card:hover img { transform: scale(1.045); }
.t3n-work-card-content { display: flex; min-height: inherit; flex-direction: column; justify-content: flex-end; padding: 2rem; }
.t3n-work-card-tag { align-self: flex-start; margin-bottom: auto; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .45rem .72rem; background: rgba(0,0,0,.32); backdrop-filter: blur(10px); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.t3n-testimonial { position: relative; border: 1px solid rgba(21,20,20,.09); border-radius: 1.5rem; padding: 2rem; background: #fff; }
.t3n-testimonial::before { content: "“"; position: absolute; inset: .65rem 1.25rem auto auto; color: rgba(9,115,211,.12); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.t3n-testimonial blockquote { position: relative; z-index: 1; font-size: 1.08rem; line-height: 1.65; }

.t3n-system-map { position: relative; min-height: 560px; overflow: hidden; border-radius: 2rem; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(circle at 50% 45%, rgba(9,115,211,.24), transparent 25%), #101010; }
.t3n-system-map::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 46px 46px; }
.t3n-map-hub { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; width: 9rem; height: 9rem; place-items: center; border-radius: 50%; color: #fff; background: var(--t3n-gradient); box-shadow: 0 0 0 16px rgba(255,255,255,.04), 0 25px 60px rgba(0,0,0,.3); transform: translate(-50%, -50%); text-align: center; font-family: "Montserrat", sans-serif; font-weight: 800; }
.t3n-map-node { position: absolute; z-index: 4; display: flex; align-items: center; gap: .55rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: .75rem 1rem; color: rgba(255,255,255,.72); background: rgba(255,255,255,.07); backdrop-filter: blur(12px); font-weight: 700; transition: color .25s ease, background .25s ease, transform .25s ease, border-color .25s ease; }
.t3n-map-node:hover, .t3n-map-node.is-active { color: #fff; border-color: rgba(255,255,255,.52); background: rgba(9,115,211,.35); transform: translateY(-3px); }
.t3n-map-node:nth-of-type(1) { left: 7%; top: 14%; }
.t3n-map-node:nth-of-type(2) { right: 7%; top: 14%; }
.t3n-map-node:nth-of-type(3) { left: 4%; top: 46%; }
.t3n-map-node:nth-of-type(4) { right: 4%; top: 46%; }
.t3n-map-node:nth-of-type(5) { left: 11%; bottom: 13%; }
.t3n-map-node:nth-of-type(6) { right: 11%; bottom: 13%; }
.t3n-map-line { position: absolute; left: 50%; top: 50%; z-index: 2; width: 38%; height: 2px; background: linear-gradient(90deg, rgba(9,115,211,.08), rgba(181,17,167,.8), rgba(216,79,0,.2)); background-size: 200% 100%; transform-origin: left center; animation: t3n-flow 2.6s linear infinite; }
.t3n-map-line:nth-of-type(1) { transform: rotate(215deg); }
.t3n-map-line:nth-of-type(2) { transform: rotate(325deg); }
.t3n-map-line:nth-of-type(3) { transform: rotate(180deg); }
.t3n-map-line:nth-of-type(4) { transform: rotate(0deg); }
.t3n-map-line:nth-of-type(5) { transform: rotate(145deg); }
.t3n-map-line:nth-of-type(6) { transform: rotate(35deg); }
.t3n-map-copy { min-height: 7.5rem; }

.t3n-health-option { display: block; cursor: pointer; }
.t3n-health-option input { position: absolute; opacity: 0; pointer-events: none; }
.t3n-health-option span { display: flex; height: 100%; align-items: flex-start; gap: .7rem; border: 1px solid rgba(21,20,20,.12); border-radius: 1rem; padding: 1rem; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.t3n-health-option input:checked + span { border-color: var(--t3n-blue); box-shadow: 0 0 0 3px rgba(9,115,211,.12); transform: translateY(-2px); }
.t3n-health-option input:focus-visible + span { outline: 3px solid var(--t3n-orange); outline-offset: 3px; }
.t3n-health-result { border-left: 4px solid var(--t3n-blue); }

.t3n-workflow-panel { display: none; }
.t3n-workflow-panel.is-active { display: grid; }
.t3n-workflow-toggle [aria-selected="true"] { color: #fff; background: var(--t3n-ink); }

.t3n-journey-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; overflow: hidden; background: rgba(21,20,20,.08); }
.t3n-journey-line::after { content: ""; position: absolute; inset: -35% 0 auto; height: 35%; background: var(--t3n-gradient); animation: t3n-journey 4.8s ease-in-out infinite; }
@keyframes t3n-journey { 0% { transform: translateY(0); } 60%, 100% { transform: translateY(385%); } }

@media (max-width: 900px) {
  .t3n-nav { padding-inline: 1rem !important; }
  .t3n-menu-button { display: inline-grid; place-items: center; }
  .t3n-mobile-menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 1.3rem; padding: 7rem 2rem 2rem; background: rgba(255,255,255,.97); backdrop-filter: blur(20px); transform: translateY(-105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
  .t3n-mobile-menu.is-open { transform: translateY(0); }
  .t3n-mobile-menu a { font-size: clamp(1.8rem, 8vw, 3rem); font-weight: 800; }
  .t3n-hero { min-height: auto; }
  .t3n-pipeline::before { display: none; }
  .t3n-form-grid { grid-template-columns: 1fr; }
  .t3n-form-submit { align-items: stretch; flex-direction: column; }
  .t3n-system-map { min-height: 650px; }
  .t3n-map-node { font-size: .86rem; }
  .t3n-map-node:nth-of-type(1) { left: 5%; top: 9%; }
  .t3n-map-node:nth-of-type(2) { right: 5%; top: 20%; }
  .t3n-map-node:nth-of-type(3) { left: 4%; top: 35%; }
  .t3n-map-node:nth-of-type(4) { right: 4%; top: 55%; }
  .t3n-map-node:nth-of-type(5) { left: 7%; bottom: 20%; }
  .t3n-map-node:nth-of-type(6) { right: 7%; bottom: 7%; }
}

@media (max-width: 640px) {
  .t3n-button { width: 100%; }
  .t3n-case-card { min-height: 350px; }
  .t3n-easter-toast { left: 1rem; right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
