/* ============================================================
   TN Media — Homepage Redesign Styles
   Dark luxury aesthetic  ·  Scoped under .tn-redesign
   ============================================================ */

/* ----------------------------------------------------------
   1. Design Tokens (Custom Properties)
   ---------------------------------------------------------- */
:root {
  --tn-ink: #0B0B0B;
  --tn-paper: #F5F5F0;
  --tn-blue: #91DDF1;
  --tn-mid: #141414;
  --tn-surface: #1C1C1C;
  --tn-rule: rgba(245,245,240,.07);
  --tn-rule2: rgba(245,245,240,.13);
  --tn-blue-dim: rgba(145,221,241,.08);
  --tn-body-muted: rgba(245,245,240,.5);
  /* Light section tokens — cleaner, softer off-white palette */
  --tn-light-bg: #FAF8F3;
  --tn-light-bg2: #F2EFE7;
  --tn-light-text: #141414;
  --tn-light-muted: rgba(20,20,20,.58);
  --tn-light-rule: rgba(20,20,20,.08);
  --tn-light-rule2: rgba(20,20,20,.14);
  --tn-light-surface: #FFFFFF;
  --tn-light-blue: #0B8CB0;
  --tn-light-blue-dim: rgba(11,140,176,.07);
  --tn-font-display: 'Akira Expanded', 'Inter', sans-serif;
  --tn-font-body: 'Inter', sans-serif;
  --tn-nav-h: 64px;
  --tn-ease: cubic-bezier(.25,.46,.45,.94);
}

/* Global body fix — prevents white background showing at edges */
html, body {
  margin: 0;
  padding: 0;
  background: #0B0B0B;
  overflow-x: hidden;
  scrollbar-color: rgba(245,245,240,.15) transparent;
  scrollbar-width: thin;
}

/* ----------------------------------------------------------
   2. Base / Reset — scoped to .tn-redesign
   ---------------------------------------------------------- */
.tn-redesign {
  margin: 0;
  padding: 0;
  background: var(--tn-ink);
  color: var(--tn-paper);
  font-family: var(--tn-font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.tn-redesign *,
.tn-redesign *::before,
.tn-redesign *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.tn-redesign img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tn-redesign a {
  color: inherit;
  text-decoration: none;
}

.tn-redesign ul,
.tn-redesign ol {
  list-style: none;
}

.tn-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ----------------------------------------------------------
   3. Navigation — .tn-nav
   ---------------------------------------------------------- */
.tn-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--tn-nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 100%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11,11,11,.72);
  border-bottom: 1px solid var(--tn-rule);
  transition: background .3s var(--tn-ease);
}

/* Light-page nav — cream glass effect with dark text */
.tn-light-page .tn-nav {
  background: rgba(245,245,240,.85);
  border-bottom-color: var(--tn-light-rule);
}

.tn-light-page .tn-nav-links li a {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-nav-links li a:hover {
  color: var(--tn-light-text);
}

.tn-light-page .tn-nav-cta {
  background: #0B0B0B;
  color: #F5F5F0;
  border-color: #0B0B0B;
}

.tn-light-page .tn-nav-cta:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.tn-light-page .tn-hamburger span {
  background: var(--tn-light-text);
}

.tn-light-page .tn-mobile-menu {
  background: rgba(245,245,240,.96);
}

.tn-light-page .tn-mobile-links li a {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-mobile-links li a:hover {
  color: var(--tn-light-text);
}

.tn-nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tn-nav-logo img {
  height: 48px;
  width: auto;
}

.tn-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.tn-nav-links li a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .92);
  transition: color .25s var(--tn-ease);
  text-transform: uppercase;
}

.tn-nav-links li a:hover {
  color: var(--tn-blue);
}

.tn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s var(--tn-ease), border-color .25s var(--tn-ease), transform .25s var(--tn-ease);
}

.tn-nav-cta:hover {
  background: rgba(0, 0, 0, .65);
  border-color: rgba(255, 255, 255, .45);
  transform: translateY(-1px);
}

/* Hamburger toggle — hidden on desktop */
.tn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.tn-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tn-paper);
  border-radius: 2px;
  transition: transform .3s var(--tn-ease), opacity .3s var(--tn-ease);
}

.tn-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tn-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.tn-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu — hidden by default */
.tn-mobile-menu {
  display: none;
  position: fixed;
  top: var(--tn-nav-h);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--tn-nav-h));
  background: rgba(11,11,11,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 28px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .35s var(--tn-ease);
}

.tn-mobile-menu.is-open {
  display: flex;
  transform: translateX(0);
}

.tn-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.tn-mobile-links li a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--tn-body-muted);
  text-transform: uppercase;
  transition: color .25s var(--tn-ease);
}

.tn-mobile-links li a:hover {
  color: var(--tn-paper);
}

/* ----------------------------------------------------------
   4. Hero — .tn-hero
   ---------------------------------------------------------- */
.tn-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Video background */
.tn-hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.tn-hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(11,11,11,.35) 0%,
    rgba(11,11,11,.55) 40%,
    rgba(11,11,11,.85) 80%,
    var(--tn-ink) 100%
  );
  pointer-events: none;
}

.tn-hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  min-width: 120%;
  min-height: 120%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
  object-fit: cover;
}

.tn-hero-video-desktop {
  display: block;
}

.tn-hero-video-mobile {
  display: none;
}

@media (max-width: 768px) {
  .tn-hero-video-desktop {
    display: none;
  }
  .tn-hero-video-mobile {
    display: block;
  }
}

/* Hero content */
.tn-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 40px 0;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.tn-hero-tag {
  margin-bottom: 20px;
}

.tn-hero-h1 {
  font-size: clamp(52px, 8vw, 112px);
  margin-bottom: 24px;
  color: var(--tn-paper);
}

.tn-hero-h1 .tn-accent {
  color: var(--tn-blue);
  display: inline-block;
  font-size: 0.78em;
  line-height: .95;
}

.tn-hero-h1 .tn-line2 {
  /* inherits display font from .tn-d */
}

.tn-hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.tn-hero-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--tn-body-muted);
  max-width: 520px;
}

.tn-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats bar at bottom of hero */
.tn-hero-foot {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--tn-rule2);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
}

.tn-hero-foot-item {
  padding: 28px 24px;
  border-right: 1px solid var(--tn-rule);
}

.tn-hero-foot-item:first-child {
  padding-left: 0;
}

.tn-hero-foot-item:last-child {
  padding-right: 0;
}

.tn-hero-foot-item:last-child {
  border-right: none;
}

.tn-hero-foot-num {
  font-family: var(--tn-font-display);
  font-weight: 900;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--tn-paper);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.tn-hero-foot-num span {
  font-size: 0.6em;
  color: var(--tn-paper);
  margin-left: 2px;
}

.tn-hero-foot-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tn-body-muted);
}

/* ----------------------------------------------------------
   5. Ticker / Marquee — .tn-ticker
   ---------------------------------------------------------- */
.tn-ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--tn-rule);
  border-top: 1px solid var(--tn-rule);
}

.tn-ticker-track {
  display: inline-flex;
  animation: tn-marquee 28s linear infinite;
}

.tn-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-family: var(--tn-font-display);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tn-body-muted);
}

.tn-ticker-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tn-blue);
  flex-shrink: 0;
}

@keyframes tn-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------------------------------------------------------
   6. Section shared styles
   ---------------------------------------------------------- */
.tn-section {
  padding: 120px 0;
}

.tn-section-sm {
  padding: 80px 0;
}

/* Light section base — adds cream/white background and inverts text */
.tn-light {
  background: var(--tn-light-bg);
  color: var(--tn-light-text);
}

.tn-light .tn-lbl {
  color: var(--tn-light-blue);
}

.tn-light .tn-lbl::before {
  background: var(--tn-light-blue);
}

.tn-light .tn-section-h2 {
  color: var(--tn-light-text);
}

.tn-light .tn-section-p {
  color: var(--tn-light-muted);
}

.tn-light .tn-section-link {
  color: var(--tn-light-blue);
}

.tn-light .tn-d {
  color: var(--tn-light-text);
}

/* ---- LIGHT PAGE: Full-page light theme for inner pages ---- */
.tn-light-page {
  background: var(--tn-light-bg);
  color: var(--tn-light-text);
}

/* Page banner on light */
.tn-light-page .tn-page-banner {
  background: var(--tn-light-bg);
  border-bottom-color: var(--tn-light-rule);
}

.tn-light-page .tn-page-banner-h1 {
  color: var(--tn-light-text);
}

.tn-light-page .tn-page-banner-sub {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-page-banner-breadcrumbs a {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-page-banner-breadcrumbs a:hover {
  color: var(--tn-light-text);
}

.tn-light-page .tn-page-banner-breadcrumbs .tn-bc-sep {
  color: var(--tn-light-muted);
}

/* Labels on light */
.tn-light-page .tn-lbl {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-lbl::before {
  background: var(--tn-light-blue);
}

/* Section headings on light */
.tn-light-page .tn-section-h2 {
  color: var(--tn-light-text);
}

.tn-light-page .tn-d {
  color: var(--tn-light-text);
}

/* Portfolio cards on light */
.tn-light-page .tn-portfolio-card {
  background: var(--tn-light-surface);
  border-color: var(--tn-light-rule2);
}

.tn-light-page .tn-portfolio-card:hover {
  border-color: rgba(11,11,11,.22);
  box-shadow: 0 8px 32px rgba(11,11,11,.06);
}

.tn-light-page .tn-portfolio-card-name {
  color: var(--tn-light-text);
}

.tn-light-page .tn-portfolio-card-tag {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-portfolio-card-arr {
  color: var(--tn-light-text);
  border-color: var(--tn-light-rule2);
}

.tn-light-page .tn-portfolio-card:hover .tn-portfolio-card-arr {
  border-color: var(--tn-light-blue);
}

/* Portfolio featured on light */
.tn-light-page .tn-portfolio-featured {
  border-color: var(--tn-light-rule2);
}

.tn-light-page .tn-portfolio-featured:hover {
  border-color: rgba(11,11,11,.22);
}

.tn-light-page .tn-portfolio-featured-info {
  background: var(--tn-light-surface);
}

.tn-light-page .tn-work-tag {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-work-title {
  color: var(--tn-light-text);
}

.tn-light-page .tn-work-desc {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-work-cta {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-pill {
  color: var(--tn-light-blue);
  background: var(--tn-light-blue-dim);
}

/* Service cards on light page — white cards, dark text */
.tn-light-page .tn-service-card {
  background: var(--tn-light-surface);
  border-color: var(--tn-light-rule2);
  color: var(--tn-light-text);
}

.tn-light-page .tn-service-card:hover {
  border-color: rgba(11,11,11,.22);
  box-shadow: 0 8px 32px rgba(11,11,11,.06);
}

.tn-light-page .tn-service-card .tn-service-name {
  color: var(--tn-light-text);
}

.tn-light-page .tn-service-card .tn-service-desc {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-service-card .tn-service-list li {
  color: var(--tn-light-muted);
  border-color: var(--tn-light-rule);
}

.tn-light-page .tn-service-card .tn-service-list li::before {
  background: var(--tn-light-blue);
}

.tn-light-page .tn-service-card .tn-service-foot {
  border-color: var(--tn-light-rule);
  color: var(--tn-light-text);
}

.tn-light-page .tn-service-card:hover .tn-service-foot {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-service-card .tn-service-arr {
  border-color: var(--tn-light-rule2);
}

.tn-light-page .tn-service-card:hover .tn-service-arr {
  border-color: var(--tn-light-blue);
}

/* Service detail on light */
.tn-light-page .tn-service-detail-intro-text h2 {
  color: var(--tn-light-text);
}

.tn-light-page .tn-service-detail-intro-text p {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-service-detail-img {
  border-color: var(--tn-light-rule2);
}

.tn-light-page .tn-service-feature-card {
  background: var(--tn-light-surface);
  border-color: var(--tn-light-rule2);
}

.tn-light-page .tn-service-feature-card:hover {
  border-color: rgba(11,11,11,.22);
}

.tn-light-page .tn-service-feature-name {
  color: var(--tn-light-text);
}

.tn-light-page .tn-service-feature-desc {
  color: var(--tn-light-muted);
}

/* Blog cards on light */
.tn-light-page .tn-blog-card {
  background: var(--tn-light-surface);
  border-color: var(--tn-light-rule2);
}

.tn-light-page .tn-blog-card:hover {
  border-color: rgba(11,11,11,.22);
  box-shadow: 0 8px 32px rgba(11,11,11,.06);
}

.tn-light-page .tn-blog-cat {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-blog-date {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-blog-title {
  color: var(--tn-light-text);
}

.tn-light-page .tn-blog-excerpt {
  color: var(--tn-light-muted);
}

/* Project detail on light */
.tn-light-page .tn-project-meta {
  border-bottom-color: var(--tn-light-rule);
}

.tn-light-page .tn-project-meta-label {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-project-meta-value {
  color: var(--tn-light-text);
}

.tn-light-page .tn-project-meta-value a {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-project-stat-num {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-project-stat-lbl {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-project-content h3 {
  color: var(--tn-light-text);
}

.tn-light-page .tn-project-content p {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-project-reel {
  border-color: var(--tn-light-rule2);
}

.tn-light-page .tn-project-gallery img {
  border-color: var(--tn-light-rule);
}

.tn-light-page .tn-project-hero-img::after {
  background: linear-gradient(180deg, transparent 60%, var(--tn-light-bg) 100%);
}

/* Contact form stays dark even on light pages — matches live site design */

.tn-light-page .tn-contact-info-strip {
  border-top-color: var(--tn-light-rule);
}

.tn-light-page .tn-contact-info-label {
  color: rgba(11,11,11,.35);
}

.tn-light-page .tn-contact-info-value {
  color: rgba(11,11,11,.7);
}

.tn-light-page .tn-contact-info-sep {
  background: var(--tn-light-rule);
}

/* Contact strip on light page */
.tn-light-page .tn-contact-strip {
  background: var(--tn-light-bg2);
  border-top-color: var(--tn-light-rule);
}

.tn-light-page .tn-contact-h2 {
  color: var(--tn-light-text);
}

.tn-light-page .tn-contact-p {
  color: var(--tn-light-muted);
}

.tn-redesign.tn-light-page .tn-contact-strip .tn-btn-pri {
  background: #0B0B0B;
  color: #F5F5F0;
}

.tn-light-page .tn-contact-strip .tn-btn-sec {
  color: var(--tn-light-text);
  border-color: var(--tn-light-rule2);
}

/* Next projects on light */
.tn-light-page .tn-next-projects .tn-portfolio-card {
  background: var(--tn-light-surface);
  border-color: var(--tn-light-rule2);
}

/* Privacy page on light */
.tn-light-page .tn-privacy h3 {
  color: var(--tn-light-text);
}

.tn-light-page .tn-privacy p,
.tn-light-page .tn-privacy li {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-privacy a {
  color: var(--tn-light-blue);
}

/* 404 on light */
.tn-light-page .tn-404-code {
  color: var(--tn-light-rule2);
}

.tn-light-page .tn-404 h2 {
  color: var(--tn-light-text);
}

.tn-light-page .tn-404 p {
  color: var(--tn-light-muted);
}

.tn-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}

.tn-section-h2 {
  font-size: clamp(44px, 5.5vw, 80px);
  color: var(--tn-paper);
}

.tn-section-p {
  font-size: 15px;
  color: var(--tn-body-muted);
  max-width: 420px;
}

.tn-section-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tn-blue);
  transition: opacity .25s var(--tn-ease);
}

.tn-section-link:hover {
  opacity: .7;
}

/* ----------------------------------------------------------
   7. Work Section — Featured + Grid
   ---------------------------------------------------------- */

/* Featured case study */
.tn-work-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--tn-rule2);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 48px;
}

.tn-work-img {
  overflow: hidden;
  position: relative;
}

.tn-work-img-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.tn-work-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--tn-ease);
}

.tn-work-featured:hover .tn-work-img-inner img {
  transform: scale(1.03);
}

.tn-work-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,11,11,.7) 100%);
  pointer-events: none;
}

.tn-work-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--tn-surface);
}

.tn-work-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tn-paper);
  margin-bottom: 12px;
}

.tn-work-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.tn-work-desc {
  font-size: 15px;
  color: var(--tn-body-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

.tn-work-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tn-work-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.tn-work-stat-num {
  font-family: var(--tn-font-display);
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--tn-paper);
}

.tn-work-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tn-body-muted);
  margin-top: 4px;
}

.tn-work-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tn-blue);
  transition: opacity .25s var(--tn-ease);
}

.tn-work-cta:hover {
  opacity: .7;
}

/* Card grid — 3-column, 6 cards */
.tn-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tn-work-card {
  display: block;
  position: relative;
  border: 1px solid var(--tn-rule2);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .3s var(--tn-ease);
}

.tn-work-card:hover {
  border-color: rgba(245,245,240,.22);
}

.tn-work-card-img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.tn-work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--tn-ease);
}

.tn-work-card:hover .tn-work-card-img img {
  transform: scale(1.05);
}

.tn-work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,11,11,.5) 100%);
  pointer-events: none;
}

.tn-work-card-info {
  padding: 24px;
}

.tn-work-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tn-body-muted);
  margin-bottom: 6px;
}

.tn-work-card-name {
  font-size: 15px;
  line-height: 1.1;
}

.tn-work-card-arr {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tn-rule2);
  border-radius: 50%;
  font-size: 14px;
  color: var(--tn-paper);
  transition: border-color .25s var(--tn-ease), transform .25s var(--tn-ease);
  z-index: 2;
}

.tn-work-card:hover .tn-work-card-arr {
  border-color: var(--tn-blue);
  transform: translateX(4px);
}

/* ----------------------------------------------------------
   8. Services — .tn-services
   ---------------------------------------------------------- */
/* ---- LIGHT SECTION: Services ---- */
.tn-services-bg {
  background: var(--tn-light-bg);
  color: var(--tn-light-text);
}

.tn-services-bg .tn-lbl {
  color: var(--tn-light-blue);
}

.tn-services-bg .tn-lbl::before {
  background: var(--tn-light-blue);
}

.tn-services-bg .tn-section-h2 {
  color: var(--tn-light-text);
}

.tn-services-bg .tn-section-p {
  color: var(--tn-light-muted);
}

.tn-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tn-service-card {
  display: flex;
  flex-direction: column;
  background: var(--tn-light-surface);
  border: 1px solid var(--tn-light-rule2);
  border-radius: 6px;
  padding: 40px 32px 32px;
  transition: border-color .3s var(--tn-ease), box-shadow .3s var(--tn-ease);
  color: var(--tn-light-text);
}

.tn-service-card:hover {
  border-color: rgba(11,11,11,.22);
  box-shadow: 0 8px 32px rgba(11,11,11,.06);
}

.tn-service-num {
  font-family: var(--tn-font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tn-light-blue);
  margin-bottom: 24px;
}

.tn-service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--tn-light-blue);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tn-service-name {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--tn-light-text);
}

.tn-service-desc {
  font-size: 14px;
  color: var(--tn-light-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.tn-service-list {
  margin-bottom: 28px;
  flex: 1;
}

.tn-service-list li {
  font-size: 13px;
  color: var(--tn-light-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--tn-light-rule);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tn-service-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tn-light-blue);
  flex-shrink: 0;
}

.tn-service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--tn-light-rule);
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tn-light-text);
  transition: color .25s var(--tn-ease);
}

.tn-service-card:hover .tn-service-foot {
  color: var(--tn-light-blue);
}

.tn-service-arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--tn-light-rule2);
  border-radius: 50%;
  font-size: 14px;
  transition: border-color .25s var(--tn-ease), transform .25s var(--tn-ease);
}

.tn-service-card:hover .tn-service-arr {
  border-color: var(--tn-light-blue);
  transform: translateX(4px);
}

/* Dark-themed service cards — for inner pages on dark backgrounds */
.tn-service-card.tn-dark-card {
  background: var(--tn-surface);
  border-color: var(--tn-rule2);
  color: var(--tn-paper);
}

.tn-service-card.tn-dark-card:hover {
  border-color: rgba(245,245,240,.22);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.tn-service-card.tn-dark-card .tn-service-name {
  color: var(--tn-paper);
}

.tn-service-card.tn-dark-card .tn-service-desc {
  color: var(--tn-body-muted);
}

.tn-service-card.tn-dark-card .tn-service-list li {
  color: var(--tn-body-muted);
  border-color: var(--tn-rule);
}

.tn-service-card.tn-dark-card .tn-service-list li::before {
  background: var(--tn-blue);
}

.tn-service-card.tn-dark-card .tn-service-foot {
  border-color: var(--tn-rule);
  color: var(--tn-paper);
}

.tn-service-card.tn-dark-card:hover .tn-service-foot {
  color: var(--tn-blue);
}

.tn-service-card.tn-dark-card .tn-service-arr {
  border-color: var(--tn-rule2);
}

.tn-service-card.tn-dark-card:hover .tn-service-arr {
  border-color: var(--tn-blue);
  transform: translateX(4px);
}

/* ----------------------------------------------------------
   9. Process — .tn-process
   ---------------------------------------------------------- */
/* ---- LIGHT SECTION: Process ---- */
.tn-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tn-process-step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--tn-light-rule2);
  border-top: 3px solid var(--tn-blue);
  border-radius: 6px;
  background: var(--tn-light-surface);
  overflow: hidden;
}

.tn-process-n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tn-blue);
  margin-bottom: 20px;
  display: block;
  position: relative;
}

.tn-process-name {
  font-family: var(--tn-font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--tn-light-text);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.tn-process-desc {
  font-size: 14px;
  color: var(--tn-light-muted);
  line-height: 1.7;
}

.tn-process-connector {
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--tn-light-blue);
  z-index: 2;
}

/* ----------------------------------------------------------
   10. Testimonials — .tn-testi
   ---------------------------------------------------------- */
.tn-testi-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}

.tn-testi-quote {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--tn-paper);
  margin-bottom: 32px;
}

.tn-testi-quote em {
  font-style: italic;
  color: var(--tn-blue);
}

.tn-testi-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.tn-testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tn-surface);
  border: 1px solid var(--tn-rule2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--tn-blue);
}

.tn-testi-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--tn-paper);
}

.tn-testi-co {
  font-size: 12px;
  color: var(--tn-body-muted);
}

/* Testimonial card grid */
.tn-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tn-testi-card {
  background: var(--tn-surface);
  border: 1px solid var(--tn-rule2);
  border-top: 3px solid var(--tn-blue);
  border-radius: 6px;
  padding: 32px;
  transition: border-color .3s var(--tn-ease), transform .3s var(--tn-ease);
}

.tn-testi-card:hover {
  border-color: var(--tn-blue);
  transform: translateY(-4px);
}

.tn-testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.tn-star {
  width: 16px;
  height: 16px;
  background: #f59e0b;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.tn-testi-card-quote {
  font-size: 15px;
  color: var(--tn-body-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.tn-testi-card-credit {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--tn-rule2);
  padding-top: 20px;
  margin-top: 4px;
}

.tn-redesign .tn-testi-logo {
  height: 32px !important;
  width: auto !important;
  max-width: 80px !important;
  object-fit: contain;
  filter: brightness(0) invert(.7);
  opacity: .8;
}

.tn-redesign .tn-testi-hero-logo {
  height: 28px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain;
  filter: brightness(0) invert(.6);
  display: block;
  margin: 0 auto 8px;
}

.tn-testi-card-name {
  font-size: 13px;
  font-weight: 600;
}

.tn-testi-card-co {
  font-size: 11px;
  color: var(--tn-body-muted);
}

/* Light section testimonial overrides */
.tn-light .tn-testi-quote {
  color: var(--tn-light-text);
}

.tn-light .tn-testi-name {
  color: var(--tn-light-text);
}

.tn-light .tn-testi-co {
  color: var(--tn-light-muted);
}

.tn-light .tn-testi-card {
  background: var(--tn-light-surface);
  border-color: var(--tn-light-rule2);
}

.tn-light .tn-testi-card:hover {
  border-color: var(--tn-light-blue);
}

.tn-light .tn-testi-card-quote {
  color: var(--tn-light-muted);
}

.tn-light .tn-testi-card-name {
  color: var(--tn-light-text);
}

.tn-light .tn-testi-card-co {
  color: var(--tn-light-muted);
}

.tn-light .tn-testi-card-credit {
  border-top-color: var(--tn-light-rule2);
}

.tn-light .tn-testi-hero-logo {
  filter: brightness(0) opacity(.4);
}

.tn-light .tn-testi-logo {
  filter: brightness(0) opacity(.4);
}

/* ----------------------------------------------------------
   11. Clients — .tn-clients
   ---------------------------------------------------------- */
/* ---- LIGHT SECTION: Clients — scrolling logo carousel (cream band matches logo bg) ---- */
.tn-clients-section {
  padding: 72px 0;
  background: var(--tn-light-bg);
  border-top: 1px solid var(--tn-light-rule);
  border-bottom: 1px solid var(--tn-light-rule);
  overflow: hidden;
}

.tn-clients-label {
  margin-bottom: 40px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tn-light-muted);
}

.tn-logo-carousel {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.tn-logo-track {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  animation: tn-logo-scroll 32s linear infinite;
  white-space: nowrap;
}

.tn-logo-track:hover {
  animation-play-state: paused;
}

.tn-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 140px;
  padding: 0 8px;
}

.tn-logo-item img {
  max-height: 110px;
  max-width: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  /* Transparent PNGs on a cream band — logos keep their real colours */
  transition: transform .3s var(--tn-ease), opacity .3s var(--tn-ease);
}

.tn-logo-item:hover img {
  transform: scale(1.08);
}

@keyframes tn-logo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------------------------------------------------------
   12. Blog — .tn-blog
   ---------------------------------------------------------- */
.tn-blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}

.tn-blog-card {
  display: block;
  border: 1px solid var(--tn-light-rule2);
  border-radius: 6px;
  overflow: hidden;
  background: var(--tn-light-surface);
  transition: border-color .3s var(--tn-ease), box-shadow .3s var(--tn-ease);
}

.tn-blog-card:hover {
  border-color: rgba(11,11,11,.22);
  box-shadow: 0 8px 32px rgba(11,11,11,.06);
}

.tn-blog-card.tn-featured {
  grid-row: span 1;
}

.tn-blog-card-img {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.tn-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--tn-ease);
}

.tn-blog-card:hover .tn-blog-card-img img {
  transform: scale(1.03);
}

.tn-blog-card-body {
  padding: 24px;
}

.tn-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tn-blog-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tn-light-blue);
}

.tn-blog-date {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tn-light-muted);
}

.tn-blog-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--tn-light-text);
}

.tn-blog-excerpt {
  font-size: 14px;
  color: var(--tn-light-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------------------------------------------------------
   13. Contact Strip — .tn-contact
   ---------------------------------------------------------- */
.tn-contact-strip {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--tn-rule);
}

.tn-contact-h2 {
  font-size: clamp(44px, 6vw, 96px);
  margin-bottom: 20px;
  color: var(--tn-paper);
}

.tn-contact-p {
  font-size: 17px;
  color: var(--tn-body-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.tn-contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   14. Footer — .tn-footer
   ---------------------------------------------------------- */
.tn-footer {
  padding: 80px 40px 0;
  background: var(--tn-mid);
  border-top: 1px solid var(--tn-rule);
  max-width: 1320px;
  margin: 0 auto;
}

footer {
  background: var(--tn-mid);
}

.tn-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.tn-footer-brand-name {
  font-size: 20px;
  margin-bottom: 16px;
}

.tn-footer-tagline {
  font-size: 14px;
  color: var(--tn-body-muted);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: 20px;
}

.tn-footer-socials {
  display: flex;
  gap: 12px;
}

.tn-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--tn-rule2);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--tn-body-muted);
  transition: border-color .25s var(--tn-ease), color .25s var(--tn-ease), transform .25s var(--tn-ease);
  overflow: hidden;
}

.tn-social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(.6);
  transition: filter .25s var(--tn-ease);
}

.tn-social-link:hover {
  border-color: var(--tn-blue);
  color: var(--tn-paper);
  transform: translateY(-2px);
}

.tn-social-link:hover img {
  filter: brightness(0) invert(1);
}

.tn-footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tn-blue);
  margin-bottom: 20px;
}

.tn-footer-links li {
  margin-bottom: 10px;
}

.tn-footer-links a {
  font-size: 14px;
  color: var(--tn-body-muted);
  transition: color .25s var(--tn-ease);
}

.tn-footer-links a:hover {
  color: var(--tn-paper);
}

.tn-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--tn-rule);
  font-size: 12px;
  color: var(--tn-body-muted);
}

.tn-footer-copy {
  font-size: 12px;
  color: var(--tn-body-muted);
}

.tn-footer-bottom-links {
  display: flex;
  gap: 24px;
}

.tn-footer-bottom-links a {
  font-size: 12px;
  color: var(--tn-body-muted);
  transition: color .25s var(--tn-ease);
}

.tn-footer-bottom-links a:hover {
  color: var(--tn-paper);
}

/* ----------------------------------------------------------
   15. Utilities
   ---------------------------------------------------------- */

/* Section label with blue line */
.tn-lbl {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--tn-blue);
  margin-bottom: 16px;
}

.tn-lbl::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--tn-blue);
}

/* The dot in "TN. Media" */
.tn-dot {
  color: var(--tn-blue);
}

/* Primary button — white on dark pages, black on light pages */
.tn-btn-pri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  font-family: var(--tn-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #FFFFFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .25s var(--tn-ease), transform .25s var(--tn-ease), background .25s var(--tn-ease);
}

/* Scoped with .tn-redesign to beat the `a { color: inherit }` rule (specificity 0,2,0 vs 0,1,1) */
.tn-redesign .tn-btn-pri {
  color: #0B0B0B;
}

.tn-btn-pri:hover {
  opacity: .88;
  transform: translateY(-1px);
  background: #e8e8e3;
}

/* On light pages — flip to black */
.tn-light-page .tn-btn-pri {
  background: #0B0B0B;
}

.tn-redesign.tn-light-page .tn-btn-pri {
  color: #F5F5F0;
}

.tn-light-page .tn-btn-pri:hover {
  background: #2a2a2a;
  opacity: 1;
}

/* Nav CTA — colour must beat .tn-redesign .tn-btn-pri (0,2,0) by source order */
.tn-redesign .tn-nav-cta {
  color: #fff;
}

/* Nav CTA — always uses its own glass/pill style regardless of tn-btn-pri */
.tn-nav-cta {
  background: rgba(0, 0, 0, .45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  height: 38px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s var(--tn-ease), border-color .25s var(--tn-ease), transform .25s var(--tn-ease);
}

.tn-nav-cta:hover {
  background: rgba(0, 0, 0, .65);
  border-color: rgba(255, 255, 255, .45);
  transform: translateY(-1px);
  opacity: 1;
}

.tn-light-page .tn-nav-cta {
  background: #0B0B0B;
  color: #F5F5F0;
  border-color: #0B0B0B;
}

.tn-light-page .tn-nav-cta:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  transform: translateY(-1px);
}

/* Secondary button — outline */
.tn-btn-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  font-family: var(--tn-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tn-paper);
  background: transparent;
  border: 1px solid var(--tn-rule2);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .25s var(--tn-ease), background .25s var(--tn-ease), transform .25s var(--tn-ease);
}

.tn-btn-sec:hover {
  border-color: var(--tn-paper);
  background: rgba(245,245,240,.04);
  transform: translateY(-1px);
}

/* Service pill / tag */
.tn-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tn-blue);
  background: var(--tn-blue-dim);
  border-radius: 100px;
  white-space: nowrap;
}

/* Display text class — Akira Expanded */
.tn-d {
  font-family: var(--tn-font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

/* ----------------------------------------------------------
   16. Scroll Reveal — .tn-reveal
   ---------------------------------------------------------- */
.tn-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--tn-ease), transform .7s var(--tn-ease);
}

.tn-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   16b. Monthly Report Section
   ---------------------------------------------------------- */
.tn-report-section {
  background: var(--tn-blue);
  padding: 80px 0;
}

.tn-report-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tn-report-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(11,11,11,.5);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tn-report-lbl::before {
  content: '';
  width: 20px;
  height: 1px;
  background: rgba(11,11,11,.4);
}

.tn-report-h2 {
  font-family: var(--tn-font-display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .9;
  color: var(--tn-ink);
  margin-bottom: 20px;
}

.tn-report-p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(11,11,11,.65);
  line-height: 1.7;
  margin-bottom: 32px;
}

.tn-report-btn {
  background: var(--tn-ink);
  color: var(--tn-paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 14px 28px;
  display: inline-block;
  text-decoration: none;
  transition: opacity .2s;
}

.tn-report-btn:hover { opacity: .85; }

.tn-report-card {
  background: rgba(11,11,11,.1);
  border: 1px solid rgba(11,11,11,.15);
  padding: 32px;
  border-radius: 4px;
}

.tn-report-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(11,11,11,.45);
  margin-bottom: 24px;
}

.tn-report-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11,11,11,.1);
}

.tn-report-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tn-report-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tn-ink);
  flex-shrink: 0;
  margin-top: 6px;
  opacity: .4;
}

.tn-report-item-text {
  font-size: 14px;
  font-weight: 400;
  color: rgba(11,11,11,.7);
  line-height: 1.5;
}

.tn-report-item-text strong {
  color: var(--tn-ink);
  font-weight: 700;
}

/* Monthly Report blog card cover */
.tn-blog-report-cover {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--tn-surface) !important;
  text-align: center;
  padding: 32px;
  min-height: 220px;
}

/* ----------------------------------------------------------
   17. Responsive — 992px
   ---------------------------------------------------------- */
@media (max-width: 992px) {
  .tn-wrap {
    padding: 0 28px;
  }

  .tn-hero-content {
    padding: 0 28px;
  }

  .tn-hero-foot {
    padding: 0 28px;
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-hero-h1 {
    font-size: clamp(56px, 9vw, 110px);
  }

  .tn-section {
    padding: 80px 0;
  }

  .tn-section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tn-work-featured {
    grid-template-columns: 1fr;
  }

  .tn-work-img {
    aspect-ratio: 16 / 9;
  }

  .tn-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-process-connector {
    display: none;
  }

  .tn-testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-clients-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .tn-blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tn-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  /* Project story rows collapse to single column at tablet width too */
  .tn-project-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
  }

  .tn-project-row .tn-project-row-text,
  .tn-project-row .tn-project-row-media,
  .tn-project-row.is-reverse .tn-project-row-text,
  .tn-project-row.is-reverse .tn-project-row-media {
    order: unset;
  }

  .tn-project-story {
    margin: 48px 0;
  }
}

/* ----------------------------------------------------------
   18. Responsive — 768px (Mobile)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .tn-wrap {
    padding: 0 20px;
  }

  /* Nav — hamburger mode */
  .tn-hamburger {
    display: flex;
  }

  .tn-nav-links {
    display: none;
  }

  .tn-nav-cta {
    display: none;
  }

  .tn-nav {
    padding: 0 20px;
  }

  /* Hero */
  .tn-hero-content {
    padding: 0 20px;
  }

  .tn-hero-h1 {
    font-size: clamp(42px, 12vw, 72px);
  }

  .tn-hero-desc {
    font-size: 15px;
  }

  .tn-hero-foot {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .tn-hero-foot-num {
    font-size: 26px;
  }

  .tn-hero-actions {
    flex-direction: column;
  }

  .tn-reel-tag {
    right: 20px;
  }

  /* Work */
  .tn-section {
    padding: 64px 0;
  }

  .tn-work-grid {
    grid-template-columns: 1fr;
  }

  .tn-work-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tn-work-info {
    padding: 32px 24px;
  }

  /* Services */
  .tn-services-grid {
    grid-template-columns: 1fr;
  }

  /* Process */
  .tn-process-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .tn-testi-quote {
    font-size: clamp(18px, 5vw, 28px);
  }

  .tn-testi-grid {
    grid-template-columns: 1fr;
  }

  /* Clients */
  .tn-clients-section {
    padding: 48px 0;
  }

  .tn-clients-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Blog */
  .tn-blog-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .tn-contact-strip {
    padding: 64px 0;
  }

  .tn-contact-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .tn-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tn-footer {
    padding: 80px 20px 0;
  }

  .tn-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .tn-footer-bottom-links {
    justify-content: center;
  }

  /* Global type scale reduction */
  .tn-redesign h2 {
    font-size: clamp(32px, 7vw, 48px);
  }

  .tn-contact-h2 {
    font-size: clamp(36px, 8vw, 56px);
  }

  .tn-section-sm {
    padding: 48px 0;
  }

  .tn-page-banner-h1 {
    font-size: clamp(36px, 9vw, 56px);
  }

  .tn-project-hero-img {
    height: 50vh;
  }

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

  .tn-project-body {
    grid-template-columns: 1fr;
  }

  .tn-project-gallery {
    grid-template-columns: 1fr;
  }

  .tn-project-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 56px;
  }

  /* Mobile: reset all ordering — stack in DOM order (text first, media below) */
  .tn-project-row .tn-project-row-text,
  .tn-project-row .tn-project-row-media,
  .tn-project-row.is-reverse .tn-project-row-text,
  .tn-project-row.is-reverse .tn-project-row-media {
    order: unset;
  }

  /* Reel: full width on small screens */
  .tn-project-media-reel {
    max-width: 100%;
  }

  .tn-project-row-text h3 {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 14px;
  }

  /* Stats: single column on mobile — each stat full width, clean stack */
  .tn-project-results {
    grid-template-columns: 1fr 1fr;
  }

  .tn-project-results > div {
    padding: 18px 12px;
    border-right: none;
    border-bottom: 1px solid var(--tn-rule2);
  }

  .tn-light-page .tn-project-results > div {
    border-color: var(--tn-light-rule2);
  }

  .tn-project-results-num {
    font-size: clamp(28px, 8vw, 40px);
  }

  .tn-project-results-lbl {
    font-size: 11px;
  }

  .tn-project-intro-text {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .tn-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .tn-budget-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tn-blog-list-grid {
    grid-template-columns: 1fr;
  }

  .tn-service-detail-features {
    grid-template-columns: 1fr;
  }

  .tn-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .tn-portfolio-featured {
    grid-template-columns: 1fr;
  }

  .tn-next-projects {
    grid-template-columns: 1fr;
  }

  /* Monthly Report — mobile */
  .tn-report-section {
    padding: 56px 0;
  }

  .tn-report-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tn-report-h2 {
    font-size: clamp(30px, 9vw, 44px);
    margin-bottom: 16px;
  }

  .tn-report-p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .tn-report-btn {
    font-size: 10px;
    padding: 12px 22px;
  }

  .tn-report-card {
    padding: 24px 20px;
  }

  .tn-report-item {
    padding: 12px 0;
    gap: 12px;
  }

  .tn-report-item-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .tn-report-card-label {
    margin-bottom: 16px;
    font-size: 9px;
  }

  /* Logo carousel — mobile: don't go too big */
  .tn-logo-item {
    height: 100px;
    padding: 0 4px;
  }

  .tn-logo-item img {
    max-height: 70px;
    max-width: 180px;
  }

  .tn-logo-track {
    gap: 40px;
    animation-duration: 26s;
  }
}

/* ============================================================
   INNER PAGES — shared styles for non-homepage pages
   ============================================================ */

/* ----------------------------------------------------------
   19. Page Banner — .tn-page-banner
   ---------------------------------------------------------- */
.tn-page-banner {
  position: relative;
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--tn-rule);
}

.tn-page-banner-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tn-page-banner-breadcrumbs a {
  color: var(--tn-body-muted);
  transition: color .25s var(--tn-ease);
}

.tn-page-banner-breadcrumbs a:hover {
  color: var(--tn-paper);
}

.tn-page-banner-breadcrumbs .tn-bc-sep {
  color: var(--tn-body-muted);
  font-size: 10px;
}

.tn-page-banner-h1 {
  font-size: clamp(48px, 7vw, 96px);
  color: var(--tn-paper);
  margin-bottom: 16px;
}

.tn-page-banner-sub {
  font-size: 17px;
  color: var(--tn-body-muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   20. Portfolio Page — .tn-portfolio
   ---------------------------------------------------------- */
.tn-portfolio-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  border: 1px solid var(--tn-rule2);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 48px;
  transition: border-color .3s var(--tn-ease);
}

.tn-portfolio-featured:hover {
  border-color: rgba(245,245,240,.22);
}

.tn-portfolio-featured-img {
  overflow: hidden;
  position: relative;
}

.tn-portfolio-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--tn-ease);
}

.tn-portfolio-featured:hover .tn-portfolio-featured-img img {
  transform: scale(1.03);
}

.tn-portfolio-featured-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--tn-surface);
}

.tn-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tn-portfolio-card {
  display: block;
  position: relative;
  border: 1px solid var(--tn-rule2);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .3s var(--tn-ease);
}

.tn-portfolio-card:hover {
  border-color: rgba(245,245,240,.22);
}

.tn-portfolio-card-img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.tn-portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--tn-ease);
}

.tn-portfolio-card:hover .tn-portfolio-card-img img {
  transform: scale(1.05);
}

.tn-portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,11,11,.6) 100%);
  pointer-events: none;
}

.tn-portfolio-card-info {
  padding: 24px;
}

.tn-portfolio-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tn-body-muted);
  margin-bottom: 6px;
}

.tn-portfolio-card-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.tn-portfolio-card-arr {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tn-rule2);
  border-radius: 50%;
  font-size: 14px;
  color: var(--tn-paper);
  transition: border-color .25s var(--tn-ease), transform .25s var(--tn-ease);
  z-index: 2;
}

.tn-portfolio-card:hover .tn-portfolio-card-arr {
  border-color: var(--tn-blue);
  transform: translateX(4px);
}

/* ----------------------------------------------------------
   21. Project Detail Page — .tn-project
   ---------------------------------------------------------- */
.tn-project-hero-img {
  width: 100%;
  height: 65vh;
  overflow: hidden;
  position: relative;
}

.tn-project-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tn-project-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--tn-ink) 100%);
  pointer-events: none;
}

.tn-project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--tn-rule);
  margin-bottom: 64px;
}

.tn-project-meta-item {
  display: flex;
  flex-direction: column;
}

.tn-project-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tn-blue);
  margin-bottom: 8px;
}

.tn-project-meta-value {
  font-size: 15px;
  color: var(--tn-paper);
}

.tn-project-meta-value a {
  color: var(--tn-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tn-project-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
}

.tn-project-sidebar {
  position: sticky;
  top: 100px;
}

.tn-project-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.tn-project-stats > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--tn-rule2);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tn-project-stats > div:first-child {
  border-top: 1px solid var(--tn-rule2);
}

.tn-light-page .tn-project-stats > div {
  border-color: var(--tn-light-rule2);
}

.tn-project-stat-num {
  font-family: var(--tn-font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--tn-blue);
  flex-shrink: 0;
}

.tn-project-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tn-body-muted);
  line-height: 1.3;
}

.tn-project-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tn-project-content {
  min-width: 0; /* prevent grid overflow */
}

.tn-project-content h3 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--tn-paper);
}

.tn-project-content p {
  font-size: 16px;
  color: var(--tn-body-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.tn-project-reel {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 48px auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tn-rule2);
}

.tn-project-reel iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Alternating project story rows (text + media) --- */
.tn-project-story {
  margin: 80px 0;
}

.tn-project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 96px;
}

.tn-project-row:last-child {
  margin-bottom: 0;
}

.tn-project-row.is-reverse .tn-project-row-text {
  order: 2;
}

.tn-project-row.is-reverse .tn-project-row-media {
  order: 1;
}

.tn-project-row-text h3 {
  font-family: var(--tn-font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--tn-paper);
}

.tn-light-page .tn-project-row-text h3 {
  color: var(--tn-light-text);
}

.tn-project-row-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--tn-body-muted);
  margin-bottom: 16px;
}

.tn-light-page .tn-project-row-text p {
  color: var(--tn-light-muted);
}

.tn-project-row-text p:last-child { margin-bottom: 0; }

.tn-project-row-media {
  position: relative;
  width: 100%;
}

/* Media wrappers: reel (9:16), image (16:10), square (1:1) */
.tn-project-media-reel {
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 400 / 720;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tn-rule2);
  background: #000;
}

.tn-light-page .tn-project-media-reel {
  border-color: var(--tn-light-rule2);
}

.tn-project-media-reel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tn-project-media-img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--tn-rule2);
}

.tn-light-page .tn-project-media-img {
  border-color: var(--tn-light-rule2);
}

.tn-project-media-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Horizontal results strip (replaces sidebar) --- */
.tn-project-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--tn-rule2);
  border-bottom: 1px solid var(--tn-rule2);
  margin: 48px 0 24px;
}

.tn-light-page .tn-project-results {
  border-color: var(--tn-light-rule2);
}

.tn-project-results > div {
  padding: 28px 24px;
  border-right: 1px solid var(--tn-rule2);
}

.tn-light-page .tn-project-results > div {
  border-color: var(--tn-light-rule2);
}

.tn-project-results > div:last-child {
  border-right: none;
}

.tn-project-results-num {
  font-family: var(--tn-font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--tn-blue);
  margin-bottom: 8px;
}

.tn-project-results-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tn-body-muted);
  line-height: 1.3;
}

.tn-project-intro-text {
  max-width: 820px;
  margin: 0 auto 64px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--tn-body-muted);
  text-align: center;
}

.tn-light-page .tn-project-intro-text {
  color: var(--tn-light-muted);
}

.tn-project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.tn-project-gallery img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--tn-rule);
}

.tn-project-gallery-full {
  grid-column: 1 / -1;
}

.tn-project-gallery-full img {
  aspect-ratio: 21 / 9;
}

/* Next projects */
.tn-next-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ----------------------------------------------------------
   22. Contact Page — .tn-contact-page
   ---------------------------------------------------------- */
.tn-contact-page {
  padding: 64px 0 120px;
}

.tn-contact-page-header {
  text-align: center;
  margin-bottom: 64px;
}

.tn-contact-page-header h2 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--tn-paper);
  margin-bottom: 16px;
}

.tn-contact-page-header p {
  font-size: 17px;
  color: var(--tn-body-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Contact form — DARK card on LIGHT page for strong visual contrast */
.tn-contact-form-wrap {
  max-width: 840px;
  margin: 0 auto;
  background: #0F0F10;
  color: #F5F5F0;
  border: 1px solid rgba(245,245,240,.08);
  border-radius: 14px;
  padding: 56px;
  box-shadow: 0 30px 80px rgba(20,20,20,.18);
}

.tn-contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.tn-contact-form-full {
  grid-column: 1 / -1;
}

.tn-form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,245,240,.6);
  margin-bottom: 8px;
}

.tn-form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--tn-font-body);
  font-size: 14px;
  font-weight: 400;
  color: #F5F5F0;
  background: #1A1A1B;
  border: 1px solid rgba(245,245,240,.12);
  border-radius: 6px;
  outline: none;
  transition: border-color .25s var(--tn-ease), box-shadow .25s var(--tn-ease);
}

.tn-form-input:focus {
  border-color: var(--tn-blue);
  box-shadow: 0 0 0 3px rgba(145,221,241,.18);
}

.tn-form-input::placeholder {
  color: rgba(245,245,240,.3);
}

.tn-form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F5F5F0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.tn-form-textarea {
  height: 160px;
  padding: 16px;
  resize: vertical;
}

/* Submit CTA inside the dark form wrap — paper pill on ink
   Scoped with .tn-redesign (0,3,0) so it beats .tn-redesign.tn-light-page .tn-btn-pri (0,3,0)
   by source order and cream text doesn't inherit on a light page */
.tn-redesign .tn-contact-form-wrap .tn-btn-pri {
  background: #F5F5F0;
  color: #0B0B0B;
  border: 1px solid #F5F5F0;
}

.tn-redesign .tn-contact-form-wrap .tn-btn-pri:hover {
  background: var(--tn-blue);
  border-color: var(--tn-blue);
  color: #0B0B0B;
}

/* Dark form on light page — submit btn stays cream pill on ink (no override needed) */

.tn-budget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tn-budget-option {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,245,240,.6);
  background: #1A1A1B;
  border: 1px solid rgba(245,245,240,.12);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .25s var(--tn-ease), color .25s var(--tn-ease), background .25s var(--tn-ease);
}

.tn-budget-option:hover {
  border-color: rgba(245,245,240,.35);
  color: #F5F5F0;
}

.tn-budget-option:has(input:checked) {
  border-color: var(--tn-blue);
  color: #0B0B0B;
  background: var(--tn-blue);
}

.tn-budget-option input {
  display: none;
}

.tn-contact-info-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-top: 64px;
  margin-top: 64px;
  border-top: 1px solid var(--tn-rule);
  flex-wrap: wrap;
}

.tn-contact-info-item {
  text-align: center;
}

.tn-contact-info-label {
  font-size: 11px;
  font-weight: 300;
  color: rgba(245,245,240,.3);
  margin-bottom: 6px;
  letter-spacing: .1em;
}

.tn-contact-info-value {
  font-size: 14px;
  color: rgba(245,245,240,.7);
}

.tn-contact-info-sep {
  width: 1px;
  height: 40px;
  background: var(--tn-rule);
}

/* Light-page overrides for contact info strip below the form */
.tn-light-page .tn-contact-info-strip {
  border-top-color: var(--tn-light-rule);
}

.tn-light-page .tn-contact-info-label {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-contact-info-value {
  color: var(--tn-light-text);
}

.tn-light-page .tn-contact-info-sep {
  background: var(--tn-light-rule);
}

/* Contact page header on light theme */
.tn-light-page .tn-contact-page-header h2 {
  color: var(--tn-light-text);
}

.tn-light-page .tn-contact-page-header p {
  color: var(--tn-light-muted);
}

/* ----------------------------------------------------------
   23. Blog Listing Page — .tn-blog-page
   ---------------------------------------------------------- */
.tn-blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Blog listing page — light editorial cards on cream bg */
.tn-blog-page {
  padding-top: 64px;
  padding-bottom: 120px;
}

.tn-blog-page .tn-blog-list-grid {
  gap: 32px;
}

.tn-light-page .tn-blog-page .tn-blog-card {
  display: block;
  background: var(--tn-light-surface);
  border: 1px solid var(--tn-light-rule);
  border-radius: 12px;
  overflow: hidden;
  color: var(--tn-light-text);
  transition: border-color .35s var(--tn-ease),
              transform .35s var(--tn-ease),
              box-shadow .35s var(--tn-ease);
}

.tn-light-page .tn-blog-page .tn-blog-card:hover {
  border-color: rgba(20,20,20,.2);
  box-shadow: 0 18px 50px rgba(20,20,20,.08);
  transform: translateY(-3px);
}

.tn-blog-page .tn-blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--tn-light-bg2);
}

.tn-blog-page .tn-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--tn-ease);
}

.tn-blog-page .tn-blog-card:hover .tn-blog-card-img img {
  transform: scale(1.04);
}

.tn-blog-page .tn-blog-card-body {
  padding: 28px 28px 32px;
}

.tn-blog-page .tn-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tn-light-page .tn-blog-page .tn-blog-cat {
  color: var(--tn-light-blue);
}

.tn-light-page .tn-blog-page .tn-blog-date {
  color: var(--tn-light-muted);
}

.tn-light-page .tn-blog-page .tn-blog-title {
  font-family: var(--tn-font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 12px;
  color: var(--tn-light-text);
}

.tn-light-page .tn-blog-page .tn-blog-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--tn-light-muted);
}

@media (max-width: 960px) {
  .tn-blog-page .tn-blog-list-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ----------------------------------------------------------
   24. Services Detail Page
   ---------------------------------------------------------- */
.tn-service-detail-intro {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

/* Instagram reel embed — proper aspect ratio so nothing is cut off */
.tn-ig-embed-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 400 / 720;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--tn-rule2);
}

.tn-light-page .tn-ig-embed-wrap {
  border-color: var(--tn-light-rule2);
}

.tn-ig-embed {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tn-service-detail-intro-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--tn-paper);
  margin-bottom: 20px;
}

.tn-service-detail-intro-text p {
  font-size: 16px;
  color: var(--tn-body-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.tn-service-detail-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--tn-rule2);
}

.tn-service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tn-service-detail-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.tn-service-feature-card {
  position: relative;
  background: var(--tn-light-surface);
  border: 1px solid var(--tn-light-rule);
  border-radius: 10px;
  padding: 36px 28px 32px;
  overflow: hidden;
  transition: border-color .35s var(--tn-ease),
              transform .35s var(--tn-ease),
              box-shadow .35s var(--tn-ease);
}

.tn-service-feature-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tn-light-blue) 0%, rgba(11,140,176,.2) 60%, transparent 100%);
  opacity: .8;
}

.tn-service-feature-card:hover {
  border-color: rgba(20,20,20,.2);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(20,20,20,.08);
}

/* Dark-page override — preserve legacy dark styling for pages that don't use tn-light-page */
body .tn-redesign:not(.tn-light-page) .tn-service-feature-card {
  background: linear-gradient(180deg, #1C1C1C 0%, #141414 100%);
  border-color: rgba(245,245,240,.09);
}

body .tn-redesign:not(.tn-light-page) .tn-service-feature-card::before {
  background: linear-gradient(90deg, var(--tn-blue) 0%, rgba(145,221,241,.2) 60%, transparent 100%);
  opacity: .7;
}

body .tn-redesign:not(.tn-light-page) .tn-service-feature-card:hover {
  border-color: rgba(245,245,240,.22);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(145,221,241,.12);
}

body .tn-redesign:not(.tn-light-page) .tn-service-feature-name {
  color: var(--tn-paper);
}

body .tn-redesign:not(.tn-light-page) .tn-service-feature-desc {
  color: rgba(245,245,240,.65);
}

.tn-service-feature-num {
  font-family: var(--tn-font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tn-blue);
  margin-bottom: 20px;
}

.tn-service-feature-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--tn-light-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.tn-service-feature-desc {
  font-size: 14px;
  color: var(--tn-light-muted);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   25. 404 Page
   ---------------------------------------------------------- */
.tn-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px;
}

.tn-404-code {
  font-family: var(--tn-font-display);
  font-weight: 900;
  font-size: clamp(100px, 20vw, 200px);
  letter-spacing: -0.04em;
  color: var(--tn-rule2);
  line-height: 1;
  margin-bottom: 16px;
}

.tn-404 h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--tn-paper);
  margin-bottom: 16px;
}

.tn-404 p {
  font-size: 16px;
  color: var(--tn-body-muted);
  max-width: 420px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   26. Responsive — Inner pages at 992px
   ---------------------------------------------------------- */
@media (max-width: 992px) {
  .tn-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-portfolio-featured {
    grid-template-columns: 1fr;
  }

  .tn-project-body {
    grid-template-columns: 1fr;
  }

  .tn-project-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-next-projects {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-blog-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-service-detail-intro {
    grid-template-columns: 1fr;
  }

  .tn-service-detail-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .tn-contact-form-wrap {
    padding: 32px;
  }

  .tn-budget-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------------------------
   27. Project story rows — mobile/tablet overrides
   Must come AFTER the base .tn-project-row definition (line ~2885)
   so they correctly override it in the cascade.
   ---------------------------------------------------------- */
@media (max-width: 992px) {
  .tn-project-story {
    margin: 48px 0;
  }

  .tn-project-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
  }

  .tn-project-row .tn-project-row-text,
  .tn-project-row .tn-project-row-media,
  .tn-project-row.is-reverse .tn-project-row-text,
  .tn-project-row.is-reverse .tn-project-row-media {
    order: unset;
  }

  .tn-project-media-reel {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Stats: 2×2 grid on mobile */
  .tn-project-results {
    grid-template-columns: 1fr 1fr;
  }

  .tn-project-results > div {
    padding: 18px 12px;
    border-right: none;
    border-bottom: 1px solid var(--tn-rule2);
  }

  .tn-light-page .tn-project-results > div {
    border-color: var(--tn-light-rule2);
  }

  .tn-project-results-num {
    font-size: clamp(26px, 7vw, 36px);
  }

  .tn-project-results-lbl {
    font-size: 11px;
  }
}

/* ----------------------------------------------------------
   28. FAQ accordion — details/summary styling
   ---------------------------------------------------------- */
details > summary {
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Light-page FAQ text always dark */
.tn-light-page details > summary {
  color: var(--tn-light-text);
}
.tn-light-page details p {
  color: var(--tn-light-muted);
}
.tn-light-page details > summary .faq-icon {
  border-color: var(--tn-light-rule);
  color: var(--tn-light-text);
}

/* The +/− toggle span */
details > summary .faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--tn-rule);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  line-height: 1;
}

details[open] > summary .faq-icon {
  transform: rotate(45deg);
  background: var(--tn-ink);
  border-color: var(--tn-ink);
  color: var(--tn-paper);
}

.tn-light-page details[open] > summary .faq-icon {
  background: var(--tn-ink);
  border-color: var(--tn-ink);
  color: #fff;
}

/* Animated answer panel */
details > summary ~ * {
  animation: faqSlideIn 0.2s ease;
}

@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
