/*
Theme Name: Two Cognition
Theme URI: https://twocognition.com
Author: Two Cognition
Author URI: https://twocognition.com
Description: Custom block theme (FSE) for Two Cognition — an AI-first consultancy. Futuristic editorial design with an Instrument Serif / DM Sans / IBM Plex Mono type system.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 0.1.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: two-cognition
*/

/* =========================================================================
   Tokens
   ========================================================================= */
:root {
  --tc-bg:          oklch(0.965 0.013 88);
  --tc-surface:     oklch(0.99 0.008 88);
  --tc-ink:         oklch(0.21 0.02 60);
  --tc-ink-card:    oklch(0.25 0.022 60);
  --tc-ink-card-hi: oklch(0.29 0.026 60);
  --tc-accent:      oklch(0.55 0.19 38);
  --tc-accent-deep: oklch(0.45 0.17 38);
  --tc-accent-lit:  oklch(0.62 0.19 38);
  --tc-gold:        oklch(0.75 0.17 55);
  --tc-gold-2:      oklch(0.72 0.17 50);

  --tc-t-1: oklch(0.37 0.02 60);
  --tc-t-2: oklch(0.42 0.02 60);
  --tc-t-3: oklch(0.5 0.02 60);
  --tc-t-4: oklch(0.55 0.02 60);

  --tc-on-dark:     oklch(0.96 0.012 88);
  --tc-on-dark-mut: oklch(0.78 0.014 60);
  --tc-on-dark-dim: oklch(0.68 0.014 60);

  --tc-line:   oklch(0.21 0.02 60 / 0.12);
  --tc-line-2: oklch(0.21 0.02 60 / 0.16);

  --tc-serif: 'Instrument Serif', Georgia, serif;
  --tc-sans:  'DM Sans', Helvetica, Arial, sans-serif;
  --tc-mono:  'IBM Plex Mono', ui-monospace, monospace;

  --tc-max: 1280px;
  --tc-pad: 36px;
}

/* =========================================================================
   Base
   ========================================================================= */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--tc-bg);
  color: var(--tc-ink);
  font-family: var(--tc-sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

.tc-main a { text-decoration: none; }
.tc-main a:not(.tc-btn) { color: var(--tc-accent); }
.tc-main a:not(.tc-btn):hover { color: var(--tc-accent-deep); }

/* Header / footer links never underline (logo, nav, buttons) */
.tc-header a, .tc-footer a { text-decoration: none; }

::selection { background: var(--tc-accent-lit); color: oklch(0.98 0.01 88); }

img { max-width: 100%; height: auto; }

/* Keyframes ---------------------------------------------------------------- */
@keyframes tc-glide { from { background-position: 0 0; }    to { background-position: 0 -40px; } }
@keyframes tc-blink { 0%,49% { opacity: 1; }                50%,100% { opacity: 0; } }
@keyframes tc-marq  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes tc-bar   { 0% { transform: scaleX(0.2); }        50% { transform: scaleX(1); } 100% { transform: scaleX(0.2); } }
@keyframes tc-orbit { to { transform: rotate(360deg); } }

/* =========================================================================
   Buttons
   ========================================================================= */
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tc-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
  line-height: 1;
}
.tc-btn--accent { background: var(--tc-accent); color: oklch(0.98 0.01 88); font-weight: 500; }
.tc-btn--accent:hover { background: var(--tc-accent-deep); color: oklch(0.98 0.01 88); }
.tc-btn--ghost { border-color: oklch(0.21 0.02 60 / 0.28); color: oklch(0.25 0.02 60); }
.tc-btn--ghost:hover { border-color: oklch(0.21 0.02 60 / 0.6); color: oklch(0.25 0.02 60); }
.tc-btn--dark { background: var(--tc-ink); color: oklch(0.97 0.012 88); font-weight: 500; }
.tc-btn--dark:hover { background: var(--tc-accent); color: oklch(0.97 0.012 88); }
.tc-btn--lg { padding: 18px 34px; }

/* =========================================================================
   Logo / orbit mark
   ========================================================================= */
.tc-orbit { transform-origin: 32px 32px; animation: tc-orbit 18s linear infinite; }

.tc-logo { display: flex; align-items: center; gap: 14px; color: var(--tc-ink); }
.tc-logo:hover { color: var(--tc-ink); }
.tc-logo__mark { display: flex; flex-shrink: 0; color: var(--tc-accent); }
.tc-logo__mark svg { display: block; }
.tc-logo__text { display: flex; flex-direction: column; gap: 2px; }
.tc-logo__name { font-family: var(--tc-serif); font-size: 27px; line-height: 1; letter-spacing: -0.02em; }
.tc-logo__tag { font-family: var(--tc-mono); font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tc-t-3); }

/* =========================================================================
   Header
   ========================================================================= */
.tc-header {
  position: sticky; top: 0; z-index: 40;
  background: oklch(0.965 0.013 88 / 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tc-line);
}
.tc-header__inner {
  max-width: var(--tc-max); margin: 0 auto;
  padding: 14px var(--tc-pad);
  display: flex; align-items: center; gap: 44px;
}
.tc-nav {
  display: flex; gap: 30px; margin-left: auto;
  font-family: var(--tc-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.tc-nav a { color: var(--tc-t-2); transition: color .16s ease; }
.tc-nav a:hover { color: var(--tc-ink); }
.tc-header__cta { padding: 12px 20px; font-size: 12px; letter-spacing: 0.06em; }

/* =========================================================================
   Layout helpers
   ========================================================================= */
.tc-section { max-width: var(--tc-max); margin: 0 auto; padding: 110px var(--tc-pad); }

.tc-eyebrow { font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.tc-eyebrow--accent { color: var(--tc-accent); }
.tc-eyebrow--gold { color: oklch(0.75 0.17 55); }

.tc-h2 {
  margin: 20px 0 0;
  font-family: var(--tc-serif); font-weight: 400;
  font-size: clamp(38px, 4.6vw, 64px); line-height: 0.96; letter-spacing: -0.025em;
}
.tc-h2--light { color: var(--tc-on-dark); }

/* =========================================================================
   Hero
   ========================================================================= */
.tc-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--tc-line); }
.tc-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, oklch(0.21 0.02 60 / 0.055) 1px, transparent 1px);
  background-size: 40px 100%;
}
.tc-hero__blob {
  position: absolute; top: -260px; right: -160px; width: 780px; height: 780px; pointer-events: none;
  background: radial-gradient(circle, oklch(0.72 0.17 60 / 0.4), transparent 62%);
  filter: blur(10px);
}
.tc-hero__inner { position: relative; max-width: var(--tc-max); margin: 0 auto; padding: 96px var(--tc-pad) 80px; }

.tc-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid oklch(0.21 0.02 60 / 0.2); border-radius: 999px;
  font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tc-t-2);
}
.tc-badge__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--tc-accent); animation: tc-blink 1.6s step-end infinite; }

.tc-hero__title {
  margin: 30px 0 0;
  font-family: var(--tc-serif); font-weight: 400;
  font-size: clamp(52px, 9vw, 132px); line-height: 0.88; letter-spacing: -0.03em; max-width: 17ch;
}
.tc-hero__title em { font-style: italic; color: var(--tc-accent); }

.tc-hero__cols { margin-top: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.tc-hero__lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--tc-t-1); max-width: 48ch; }
.tc-hero__aside { display: flex; flex-direction: column; gap: 16px; }
.tc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.tc-hero__cta .tc-btn { padding: 17px 28px; }
.tc-hero__meta { font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tc-t-3); }

/* Stats panel */
.tc-stats {
  margin-top: 76px; border: 1px solid var(--tc-line-2); border-radius: 6px;
  background: var(--tc-surface); overflow: hidden;
}
.tc-stats__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-bottom: 1px solid var(--tc-line);
  font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tc-t-2);
}
.tc-stats__live { color: var(--tc-accent); }
.tc-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tc-stat { padding: 28px 24px 30px; outline: 1px solid oklch(0.21 0.02 60 / 0.1); }
.tc-stat__label { font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tc-t-3); }
.tc-stat__value { margin-top: 14px; font-family: var(--tc-serif); font-size: 46px; line-height: 1; letter-spacing: -0.02em; }
.tc-stat__bar { margin-top: 16px; height: 4px; background: oklch(0.21 0.02 60 / 0.1); border-radius: 999px; overflow: hidden; }
.tc-stat__fill { height: 100%; background: var(--tc-accent); transform-origin: left; animation: tc-bar 3.4s ease-in-out infinite; }
.tc-stat__note { margin-top: 12px; font-size: 14px; color: var(--tc-t-2); }

/* =========================================================================
   Marquee
   ========================================================================= */
.tc-marquee { overflow: hidden; background: var(--tc-ink); color: oklch(0.95 0.012 88); }
.tc-marquee__track { display: flex; width: max-content; animation: tc-marq 30s linear infinite;
  font-family: var(--tc-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.tc-marquee__group { display: flex; gap: 40px; padding: 15px 20px; }
.tc-diamond { color: oklch(0.72 0.17 50); }

/* =========================================================================
   Thesis
   ========================================================================= */
.tc-thesis__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 80px; align-items: start; }
.tc-thesis__body { display: flex; flex-direction: column; }
.tc-thesis__lead { margin: 0 0 34px; font-size: 19px; line-height: 1.6; color: var(--tc-t-1); }
.tc-belief { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid oklch(0.21 0.02 60 / 0.14); }
.tc-belief__k { font-family: var(--tc-mono); font-size: 12px; color: var(--tc-accent); white-space: nowrap; flex-shrink: 0; padding-top: 4px; }
.tc-belief__title { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.tc-belief__body { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--tc-t-2); max-width: 54ch; }

/* =========================================================================
   Build (dark)
   ========================================================================= */
.tc-build { background: var(--tc-ink); color: var(--tc-on-dark); }
.tc-build__inner { max-width: var(--tc-max); margin: 0 auto; padding: 110px var(--tc-pad); }
.tc-build__head { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: end; }
.tc-build__head .tc-h2 { max-width: 20ch; }
.tc-build__intro { margin: 0; font-size: 16px; line-height: 1.6; color: var(--tc-on-dark-mut); max-width: 32ch; }
.tc-build__grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tc-card {
  padding: 30px 28px 34px; border: 1px solid oklch(0.96 0.012 88 / 0.16); border-radius: 5px;
  background: var(--tc-ink-card); transition: background .18s ease, border-color .18s ease;
}
.tc-card:hover { background: var(--tc-ink-card-hi); border-color: oklch(0.72 0.17 50 / 0.6); }
.tc-card__top { display: flex; align-items: baseline; justify-content: space-between; }
.tc-card__tag { font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.75 0.17 55); }
.tc-card__num { font-family: var(--tc-mono); font-size: 11px; color: var(--tc-on-dark-dim); }
.tc-card__title { margin: 20px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.tc-card__body { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--tc-on-dark-mut); }

/* =========================================================================
   Stack
   ========================================================================= */
.tc-stack__grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.tc-stack__panel { border: 1px solid var(--tc-line-2); border-radius: 6px; background: var(--tc-surface); padding: 30px; }
.tc-stack__label { font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tc-t-2); }
.tc-layers { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.tc-layer {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border: 1px solid oklch(0.21 0.02 60 / 0.14); border-radius: 4px; background: var(--tc-bg);
}
.tc-layer__dot { display: block; width: 8px; height: 8px; border-radius: 2px; background: var(--tc-accent); flex-shrink: 0; }
.tc-layer__title { font-size: 16px; font-weight: 500; }
.tc-layer__note { margin-left: auto; font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tc-t-3); white-space: nowrap; }
.tc-stack__image {
  position: relative; border: 1px solid var(--tc-line-2); border-radius: 6px; overflow: hidden;
  background: oklch(0.93 0.014 88);
  min-height: 380px;
}
.tc-stack__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* =========================================================================
   Path
   ========================================================================= */
.tc-path { border-top: 1px solid var(--tc-line); border-bottom: 1px solid var(--tc-line); }
.tc-path__inner { max-width: var(--tc-max); margin: 0 auto; padding: 110px var(--tc-pad); }
.tc-steps { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tc-step { padding-top: 24px; border-top: 2px solid var(--tc-ink); }
.tc-step__head { display: flex; align-items: baseline; gap: 14px; }
.tc-step__num { font-family: var(--tc-serif); font-size: 40px; line-height: 1; color: var(--tc-accent); }
.tc-step__title { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.tc-step__body { margin: 16px 0 0; font-size: 16px; line-height: 1.62; color: var(--tc-t-2); }
.tc-step__time { margin-top: 18px; font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tc-t-4); }

/* =========================================================================
   Contact
   ========================================================================= */
.tc-contact { position: relative; overflow: hidden; background: var(--tc-bg); }
.tc-contact__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(oklch(0.21 0.02 60 / 0.05) 1px, transparent 1px);
  background-size: 100% 40px; animation: tc-glide 6s linear infinite;
}
.tc-contact__blob {
  position: absolute; left: 50%; bottom: -380px; width: 820px; height: 820px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle, oklch(0.72 0.17 55 / 0.42), transparent 62%); filter: blur(12px);
}
.tc-contact__inner { position: relative; max-width: var(--tc-max); margin: 0 auto; padding: 130px var(--tc-pad) 140px; text-align: center; }
.tc-contact__title {
  margin: 0 auto; font-family: var(--tc-serif); font-weight: 400;
  font-size: clamp(42px, 6.6vw, 96px); line-height: 0.92; letter-spacing: -0.03em; max-width: 20ch;
}
.tc-contact__title em { font-style: italic; color: var(--tc-accent); }
.tc-contact__lead { margin: 26px auto 0; max-width: 50ch; font-size: 18px; line-height: 1.6; color: var(--tc-t-1); }
.tc-contact__cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   Footer
   ========================================================================= */
.tc-footer { background: var(--tc-ink); color: oklch(0.9 0.012 88); }
.tc-footer__inner {
  max-width: var(--tc-max); margin: 0 auto; padding: 44px var(--tc-pad);
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.tc-footer__brand { display: flex; align-items: center; gap: 16px; }
.tc-footer__mark { display: flex; flex-shrink: 0; color: oklch(0.75 0.17 55); }
.tc-footer__mark svg { display: block; }
.tc-footer__text { display: flex; flex-direction: column; gap: 3px; }
.tc-footer__name { font-family: var(--tc-serif); font-size: 28px; line-height: 1; letter-spacing: -0.02em; color: var(--tc-on-dark); }
.tc-footer__tag { font-family: var(--tc-mono); font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: oklch(0.72 0.014 60); }
.tc-footer__copy { font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tc-on-dark-dim); }

/* =========================================================================
   Contact form (Fluent Forms) — scoped to the contact section
   ========================================================================= */
.tc-contact__form { max-width: 560px; margin: 44px auto 0; text-align: left; }

/* Labels */
.tc-contact__form .ff-el-input--label label,
.tc-contact__form .ff-el-input--label {
  font-family: var(--tc-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tc-t-2);
  font-weight: 500;
}
.tc-contact__form .ff-el-input--label { margin-bottom: 8px; }

/* Field groups */
.tc-contact__form .ff-el-group { margin-bottom: 18px; }

/* Inputs / textareas / selects */
.tc-contact__form .ff-el-form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid oklch(0.21 0.02 60 / 0.22);
  border-radius: 6px;
  background: var(--tc-surface);
  font-family: var(--tc-sans);
  font-size: 16px;
  line-height: 1.4;
  color: var(--tc-ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.tc-contact__form .ff-el-form-control::placeholder { color: var(--tc-t-3); }
.tc-contact__form .ff-el-form-control:focus {
  outline: none;
  border-color: var(--tc-accent);
  box-shadow: 0 0 0 3px oklch(0.55 0.19 38 / 0.15);
}
.tc-contact__form textarea.ff-el-form-control { min-height: 130px; resize: vertical; }

/* Submit button — reuse the site button language */
.tc-contact__form .ff-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tc-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 30px;
  border: none;
  border-radius: 999px;
  background: var(--tc-accent);
  color: oklch(0.98 0.01 88);
  cursor: pointer;
  transition: background .18s ease;
}
.tc-contact__form .ff-btn-submit:hover { background: var(--tc-accent-deep); }

/* Validation + response messages */
.tc-contact__form .ff-el-is-error .ff-el-form-control { border-color: var(--tc-accent); }
.tc-contact__form .error.text-danger,
.tc-contact__form .ff-el-is-error .text-danger {
  font-family: var(--tc-sans);
  font-size: 13px;
  color: var(--tc-accent-deep);
  margin-top: 6px;
}
.tc-contact__form .ff-message-success {
  font-size: 17px;
  line-height: 1.5;
  color: var(--tc-ink);
  padding: 20px 22px;
  border: 1px solid var(--tc-line-2);
  border-radius: 8px;
  background: var(--tc-surface);
}

/* =========================================================================
   Work archive (case studies listing)
   ========================================================================= */
.tc-work { padding-top: 56px; padding-bottom: 110px; }
.tc-work__head { padding: 32px 0 48px; }
.tc-work__title {
  margin: 18px 0 0; font-family: var(--tc-serif); font-weight: 400;
  font-size: clamp(40px, 6vw, 84px); line-height: 0.92; letter-spacing: -0.03em;
}
.tc-work__intro { margin: 22px 0 0; max-width: 56ch; font-size: 19px; line-height: 1.6; color: var(--tc-t-1); }

.tc-work__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
.tc-work__grid > li { margin: 0; }

.tc-cs-card {
  height: 100%; display: flex; flex-direction: column;
  border: 1px solid var(--tc-line-2); border-radius: 8px; overflow: hidden; background: var(--tc-surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tc-cs-card:hover {
  transform: translateY(-3px);
  border-color: oklch(0.55 0.19 38 / 0.5);
  box-shadow: 0 18px 40px oklch(0.21 0.02 60 / 0.09);
}
.tc-cs-card__media { margin: 0; }
.tc-cs-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.tc-cs-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; align-items: flex-start; }
.tc-cs-card__body > * { width: 100%; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
.tc-cs-card__body .tc-eyebrow { margin: 0; }
.tc-cs-card__title { margin: 0; font-family: var(--tc-serif); font-weight: 400; font-size: 26px; line-height: 1.06; letter-spacing: -0.02em; }
.tc-cs-card__title a { color: var(--tc-ink); }
.tc-cs-card__title a:hover { color: var(--tc-accent); }
.tc-cs-card__excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--tc-t-2); }
.tc-cs-card__excerpt .wp-block-post-excerpt__more-link {
  display: inline-block; margin-top: 10px;
  font-family: var(--tc-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tc-accent);
}
.tc-cs-card__excerpt .wp-block-post-excerpt__more-link:hover { color: var(--tc-accent-deep); }

.tc-work__pagination { margin-top: 48px; display: flex; gap: 18px; align-items: center;
  font-family: var(--tc-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.tc-work__empty { padding: 60px 0; font-family: var(--tc-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tc-t-3); }

/* =========================================================================
   Single case study
   ========================================================================= */
.tc-cs { padding-top: 44px; padding-bottom: 110px; }
.tc-cs__back { font-family: var(--tc-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tc-t-2); }
.tc-cs__back:hover { color: var(--tc-ink); }
.tc-cs__eyebrow { margin-top: 22px; }
.tc-cs__title { margin: 14px 0 0; font-family: var(--tc-serif); font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: 0.94; letter-spacing: -0.03em; }
.tc-cs__media { margin: 40px 0 0; }
.tc-cs__media img { width: 100%; height: auto; border-radius: 10px; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.tc-cs__content { margin-top: 44px; }
.tc-cs__content p { font-size: 18px; line-height: 1.75; color: var(--tc-t-1); margin: 0 0 22px; }
.tc-cs__content h2 { font-family: var(--tc-serif); font-weight: 400; font-size: 32px; line-height: 1.06; letter-spacing: -0.02em; margin: 42px 0 14px; }
.tc-cs__content h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 30px 0 10px; }
.tc-cs__content ul, .tc-cs__content ol { font-size: 18px; line-height: 1.7; color: var(--tc-t-1); padding-left: 1.2em; margin: 0 0 22px; }
.tc-cs__content li { margin: 6px 0; }
.tc-cs__content strong { color: var(--tc-ink); }
.tc-cs__content blockquote {
  border-left: 3px solid var(--tc-accent); margin: 30px 0; padding: 4px 0 4px 22px;
  font-family: var(--tc-serif); font-size: 26px; line-height: 1.3; color: var(--tc-ink);
}

.tc-cs__cta { margin-top: 64px; padding: 52px 40px; border-radius: 12px; background: var(--tc-ink); color: var(--tc-on-dark); text-align: center; }
.tc-cs__cta h2 { margin: 0; font-family: var(--tc-serif); font-weight: 400; font-size: clamp(28px, 4vw, 44px); line-height: 1; letter-spacing: -0.02em; color: var(--tc-on-dark); }
.tc-cs__cta p { margin: 12px 0 24px; color: var(--tc-on-dark-mut); font-size: 17px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  :root { --tc-pad: 24px; }
  .tc-hero__cols { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .tc-thesis__grid { grid-template-columns: 1fr; gap: 40px; }
  .tc-build__grid { grid-template-columns: repeat(2, 1fr); }
  .tc-work__grid { grid-template-columns: repeat(2, 1fr); }
  .tc-stack__grid { grid-template-columns: 1fr; }
  .tc-steps { grid-template-columns: 1fr; gap: 32px; }
  .tc-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .tc-section, .tc-build__inner, .tc-path__inner { padding-top: 80px; padding-bottom: 80px; }
}

@media (max-width: 640px) {
  .tc-nav { display: none; }
  .tc-header__inner { gap: 16px; }
  .tc-build__grid { grid-template-columns: 1fr; }
  .tc-work__grid { grid-template-columns: 1fr; }
  .tc-stats__grid { grid-template-columns: 1fr; }
  .tc-logo__tag { display: none; }
  .tc-hero__inner { padding-top: 64px; padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-orbit, .tc-badge__dot, .tc-stat__fill, .tc-marquee__track, .tc-contact__grid { animation: none !important; }
}
