/* Technohouse — sayfa stilleri. Tasarım çıktısındaki <style> bloğundan
   birebir alındı; sapmalar README > "Tasarımdan sapmalar" altında listeli.
   Tokenlar ve bileşen sınıfları ds.css'ten geliyor. */

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; width: 100%; max-width: 100%; padding-top: 94px; background: var(--color-bg); color: var(--color-text); text-wrap: pretty; -webkit-font-smoothing: antialiased; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
.th-thname { font-weight: 800; color: var(--color-accent); }

/* purple accent override (softened) */
:root {
  --color-accent: #9b2fca; --color-accent-2: #9b2fca;
  --color-accent-100: #f3e4fb; --color-accent-2-100: #f3e4fb;
  --color-accent-300: #dba9f0; --color-accent-2-300: #dba9f0;
  --color-accent-400: #c06fe3; --color-accent-2-400: #c06fe3;
  --color-accent-500: #9b2fca; --color-accent-2-500: #9b2fca;
  --color-accent-600: #8724b1; --color-accent-2-600: #8724b1;
  --color-accent-700: #6f1d93; --color-accent-2-700: #6f1d93;
  --color-accent-800: #571674; --color-accent-2-800: #571674;
  --color-accent-900: #3f1055; --color-accent-2-900: #3f1055;
  --color-divider: color-mix(in srgb, var(--color-text) 9%, transparent);
}
.th-logo { height: 62px; width: auto; display: block; }
.th-foot .th-logo { height: 54px; filter: brightness(0) invert(1); }

.th-wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 72px); }
.th-rule { height: 1px; border: 0; margin: 0; background: var(--color-divider); }
.th-kicker { display: inline-block; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-700); margin: 0 0 20px; }
.th-kicker.on-dark { color: var(--color-accent-400); }

/* ---- nav ---- */
.th-nav { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px clamp(20px, 5vw, 72px); border-bottom: 2px solid var(--color-divider); background: var(--color-bg); box-shadow: var(--shadow-sm); }
.th-brand { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-heading); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; margin-right: auto; text-decoration: none; color: var(--color-text); }
.th-brand b { position: relative; }
.th-brand b::after { content: ""; position: absolute; right: -9px; top: 2px; width: 6px; height: 6px; background: var(--color-accent); }
.th-brand span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent); font-weight: 600; margin-left: 10px; }
.th-nav-links { display: flex; align-items: center; gap: 28px; }
.th-nav-links a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.th-nav-links a:hover { color: var(--color-accent); }
.th-menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--color-divider); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.th-menu-btn svg { display: block; }
.th-mobile { display: none; }

/* ---- hero ---- */
.th-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 82vh; max-height: 100vh; padding-block: clamp(56px, 8vh, 96px); }
.th-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background:
    radial-gradient(135% 105% at 100% 0%, var(--color-accent-100) 0%, transparent 50%),
    radial-gradient(95% 90% at -5% 105%, color-mix(in srgb, var(--color-accent-100) 62%, transparent) 0%, transparent 55%),
    var(--color-bg); }
.th-hero-oval { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.th-hero-oval-1 { width: min(48vw, 660px); aspect-ratio: 1 / 1.16; right: -9vw; top: -14vh; border: 2px solid color-mix(in srgb, var(--color-accent) 24%, transparent); }
.th-hero-oval-2 { width: min(34vw, 460px); aspect-ratio: 1 / 1.2; right: 3vw; top: 6vh; background: radial-gradient(closest-side, color-mix(in srgb, var(--color-accent-300) 55%, transparent), transparent 74%); }
.th-hero-oval-3 { width: 128px; aspect-ratio: 1 / 1.15; left: 8vw; bottom: 10vh; border: 2px solid color-mix(in srgb, var(--color-accent) 30%, transparent); }
.th-hero-inner { position: relative; z-index: 2; display: block; }
.th-hero-img { position: relative; align-self: stretch; min-height: clamp(152px, 19vw, 218px); max-height: 30vh; background: var(--color-surface); border: 2px solid var(--color-divider); overflow: hidden; }
.th-hero-img image-slot { width: 100%; height: 100%; }
.th-hero-img::after { content: ""; position: absolute; left: 0; bottom: 0; width: clamp(72px, 8vw, 120px); height: clamp(72px, 8vw, 120px); background: var(--color-accent); z-index: 2; }
.th-ghost { position: absolute; z-index: 0; left: clamp(20px, 5vw, 72px); bottom: -0.16em; margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(120px, 30vw, 460px); line-height: 0.8; letter-spacing: -0.05em; color: var(--color-text); opacity: 0.05; pointer-events: none; user-select: none; white-space: nowrap; }
.th-display { font-family: var(--font-heading); font-weight: 800; font-size: clamp(31px, 6vw, 90px); line-height: 0.98; letter-spacing: -0.035em; margin: 0; margin-left: -0.04em; }
.th-display .line { display: block; }
.th-display .accent { color: var(--color-accent); }
.th-hero-copy { min-width: 0; }
.th-sub { max-width: 46ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: color-mix(in srgb, var(--color-text) 74%, transparent); margin: 32px 0 0; }
.th-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.th-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.th-float { position: absolute; will-change: transform; }
.th-sq-out { border: 2px solid var(--color-divider); }
.th-sq-fill { background: var(--color-accent); }
.th-sq-ink { background: var(--color-neutral-900); }
.th-line-v { width: 2px; background: var(--color-divider); }

.th-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 14px; line-height: 1; text-decoration: none; cursor: pointer; padding: 15px 22px; border: 2px solid transparent; }
.th-btn svg { display: block; transition: transform .3s ease; }
.th-btn-primary { background: var(--color-accent); color: var(--color-bg); }
.th-btn-primary:hover { background: var(--color-accent-600); }
.th-btn-primary:hover svg { transform: translateX(4px); }
.th-btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-divider); }
.th-btn-ghost:hover { border-color: var(--color-text); }
.th-btn-onred { background: transparent; color: var(--color-bg); border-color: color-mix(in srgb, var(--color-bg) 60%, transparent); }
.th-btn-onred:hover { background: var(--color-bg); color: var(--color-accent); border-color: var(--color-bg); }
.th-btn-ondark { background: var(--color-bg); color: var(--color-text); }
.th-btn-ondark:hover { background: #fff; }

/* ---- section frame ---- */
.th-sec { padding-block: clamp(52px, 8vh, 92px); }
.th-sec-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.th-h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(32px, 5vw, 72px); line-height: 1.0; letter-spacing: -0.03em; margin: 0; }

/* ---- logo bar (static) ---- */
.th-logobar { border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); background: var(--color-bg); }
.th-logobar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 64px); max-width: 1280px; margin: 0 auto; padding: 30px clamp(20px, 5vw, 72px); }
.th-logo-link { display: flex; align-items: center; }
.th-logo-link img { height: 34px; width: auto; display: block; filter: grayscale(1); opacity: 0.7; transition: filter .3s ease, opacity .3s ease; }
.th-logo-link:hover img { filter: none; opacity: 1; }
@media (max-width: 640px) { .th-logobar-inner { justify-content: center; gap: 32px 40px; } .th-logo-link img { height: 28px; } }

/* ---- collective strength poster ---- */
.th-manifesto { background: var(--color-accent-700); color: var(--color-bg); overflow: hidden; }
.th-manifesto .th-kicker { color: color-mix(in srgb, var(--color-bg) 82%, transparent); }
.th-manifesto-h { font-family: var(--font-heading); font-weight: 800; font-size: clamp(38px, 7vw, 108px); line-height: 0.98; letter-spacing: -0.035em; margin: 0; color: var(--color-bg); max-width: 16ch; }
.th-manifesto-h em { font-style: normal; -webkit-text-stroke: 2px var(--color-bg); color: transparent; }
.th-manifesto-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: clamp(48px, 7vw, 88px); border-top: 2px solid color-mix(in srgb, var(--color-bg) 45%, transparent); }
.th-mf-cell { padding: 28px 24px 0; border-right: 2px solid color-mix(in srgb, var(--color-bg) 45%, transparent); }
.th-mf-cell:last-child { border-right: 0; }
.th-mf-cell .n { font-family: var(--font-heading); font-weight: 800; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -0.03em; }
.th-mf-cell .l { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--color-bg) 82%, transparent); margin: 14px 0 0; line-height: 1.4; }
.th-lead-copy { font-size: clamp(15px, 1.35vw, 18px); line-height: 1.65; color: color-mix(in srgb, var(--color-text) 74%, transparent); margin: 0; }

/* ---- stats band ---- */
.th-statband { background: var(--color-accent); color: #fff; border-top: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); }
.th-statband-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.th-sb-cell { padding: clamp(38px, 4.4vw, 66px) clamp(22px, 2.6vw, 40px); border-left: 2px solid color-mix(in srgb, #fff 26%, transparent); }
.th-sb-cell:first-child { border-left: 0; }
.th-sb-rule { width: 34px; height: 3px; background: #fff; margin: 24px 0 16px; }
.th-sb-num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(56px, 7vw, 104px); line-height: 0.86; letter-spacing: -0.045em; color: #fff; margin: 0; }
.th-sb-label { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, #fff 82%, transparent); margin: 0; line-height: 1.45; max-width: 18ch; }
@media (max-width: 780px) { .th-statband-inner { grid-template-columns: repeat(2, 1fr); } .th-sb-cell:nth-child(3) { border-left: 0; } .th-sb-cell:nth-child(3), .th-sb-cell:nth-child(4) { border-top: 2px solid color-mix(in srgb, var(--color-text) 12%, transparent); } }
@media (max-width: 460px) { .th-statband-inner { grid-template-columns: repeat(2, 1fr); } .th-sb-cell:nth-child(odd) { border-left: 0; } }
.th-statgrid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--color-divider); }
.th-stat { padding: 28px 24px 28px 0; border-right: 2px solid var(--color-divider); }
.th-stat:last-child { border-right: 0; }
.th-stat-num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 1; color: var(--color-accent); margin: 0; letter-spacing: -0.03em; }
.th-stat-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 60%, transparent); margin: 16px 0 0; line-height: 1.4; }

/* ---- manifesto logo grid ---- */
.th-mlogos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); margin-top: clamp(28px, 4vw, 44px); max-width: 460px; }
.th-mlogo-box { display: flex; align-items: center; justify-content: center; background: var(--color-bg); aspect-ratio: 16 / 9; padding: 22px 26px; transition: background .3s ease; }
.th-mlogo-box:hover { background: var(--color-surface); }
.th-mlogo-box img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter .3s ease, opacity .3s ease; }
.th-mlogo-box:hover img { filter: none; opacity: 1; }

/* ---- company panel (merged into manifesto) ---- */
.th-copanel { margin-top: clamp(48px, 7vw, 88px); border-top: 2px solid var(--color-divider); padding-top: clamp(28px, 3.5vw, 44px); }
.th-copanel-label { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-700); margin-bottom: clamp(24px, 3vw, 36px); }
.th-copanel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); }
.th-copanel-cell { display: flex; align-items: center; justify-content: center; background: var(--color-bg); aspect-ratio: 3 / 2; padding: clamp(20px, 3vw, 36px); transition: background .3s ease; }
.th-copanel-cell:hover { background: var(--color-surface); }
.th-copanel-cell img { max-height: 42px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter .3s ease, opacity .3s ease; }
.th-copanel-cell:hover img { filter: none; opacity: 1; }
@media (max-width: 720px) { .th-copanel-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- companies 3D cube ---- */
.th-cube-wrap { margin-top: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1fr; gap: 20px; }
.th-co-layout { margin-top: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1fr 0fr; gap: 0; align-items: center; transition: grid-template-columns .55s cubic-bezier(.6,.02,.1,1), gap .55s cubic-bezier(.6,.02,.1,1); }
.th-co-layout.open { grid-template-columns: 0.92fr 1.08fr; gap: clamp(24px, 4vw, 56px); }
.th-co-cubecol { min-width: 0; display: grid; gap: 18px; justify-items: center; transition: transform .55s cubic-bezier(.6,.02,.1,1); }
.th-co-layout.open .th-co-cubecol { transform: translateX(-2%); }
.th-cube-stage { --cs: 300px; --half: 150px; position: relative; width: 100%; height: clamp(320px, 42vw, 480px); display: flex; align-items: center; justify-content: center; perspective: 1200px; cursor: grab; touch-action: none; user-select: none; transition: height .55s cubic-bezier(.6,.02,.1,1); }
.th-co-layout.open .th-cube-stage { --cs: 240px; --half: 120px; height: clamp(280px, 34vw, 400px); }
.th-cube-stage:active { cursor: grabbing; }
.th-cube-stage:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.th-cube { position: relative; width: var(--cs); height: var(--cs); transform-style: preserve-3d; will-change: transform; transition: width .55s cubic-bezier(.6,.02,.1,1), height .55s cubic-bezier(.6,.02,.1,1); }
.th-cube-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 17%; background: var(--color-bg); border: 2.5px solid var(--color-text); box-shadow: none; backface-visibility: visible; }
.th-cube-face img { max-width: 100%; max-height: 52%; width: auto; object-fit: contain; pointer-events: none; }
.th-cube-face.dark { border-color: var(--color-accent); box-shadow: none; }
.th-cube-face.dark img { filter: brightness(0) invert(1); }
.th-cube-face .th-cube-txt { font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 3vw, 30px); letter-spacing: -0.01em; color: var(--color-bg); pointer-events: none; }
.th-cf-front  { transform: rotateY(0deg)    translateZ(var(--half)); }
.th-cf-back   { transform: rotateY(180deg)  translateZ(var(--half)); }
.th-cf-right  { transform: rotateY(90deg)   translateZ(var(--half)); }
.th-cf-left   { transform: rotateY(-90deg)  translateZ(var(--half)); }
.th-cf-top    { transform: rotateX(90deg)   translateZ(var(--half)); }
.th-cf-bottom { transform: rotateX(-90deg)  translateZ(var(--half)); }
.th-cube-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.th-cube-tick { position: absolute; width: 12px; height: 12px; z-index: 3; pointer-events: none; }
.th-cube-tick::before, .th-cube-tick::after { content: ""; position: absolute; background: var(--color-accent); }
.th-cube-tick::before { width: 12px; height: 2px; top: 0; left: 0; }
.th-cube-tick::after { width: 2px; height: 12px; top: 0; left: 0; }
.th-cube-tick.tl { top: 10px; left: 10px; } .th-cube-tick.tr { top: 10px; right: 10px; }
.th-cube-tick.bl { bottom: 10px; left: 10px; } .th-cube-tick.br { bottom: 10px; right: 10px; }

/* inline detail panel */
.th-co-detail { position: relative; min-width: 0; overflow: hidden; opacity: 0; transform-origin: left center; transform: perspective(1600px) rotateY(-88deg); pointer-events: none; background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); border-radius: 20px; box-shadow: var(--shadow-md); padding: 0; max-height: 0; transition: opacity .4s ease .15s, transform .6s cubic-bezier(.6,.02,.1,1) .12s; }
.th-co-layout.open .th-co-detail { opacity: 1; transform: perspective(1600px) rotateY(0deg); pointer-events: auto; max-height: none; padding: clamp(26px, 3vw, 44px); }
.th-co-detail:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
/* Beş şirket kartının hepsi sunucu tarafında basılıyor; site.js yalnızca
   hangisinin açık olduğunu sürüyor. Tasarımda bu içerik innerHTML ile
   üretiliyordu — sunucudan gelmesi hem indekslenebilir hem JS'siz okunabilir. */
.th-co-card { display: none; }
.th-co-card.on { display: block; }
.th-co-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent); border-radius: 50%; background: var(--color-bg); cursor: pointer; color: var(--color-text); transition: background .25s ease, border-color .25s ease, color .25s ease; }
.th-co-close:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.th-comodal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.th-comodal-logo { height: 44px; display: flex; align-items: center; }
.th-comodal-logo img { max-height: 44px; width: auto; }
.th-comodal-logo .txt { font-family: var(--font-heading); font-weight: 800; font-size: 28px; }
.th-comodal-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-700); margin: 16px 0 8px; }
.th-comodal-desc { font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 82%, transparent); margin: 0; }
.th-comodal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); }
.th-comodal-cols h4, .th-comodal-meta h4 { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; margin: 0 0 12px; }
.th-comodal-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.th-comodal-cols li { font-size: 14px; line-height: 1.4; color: color-mix(in srgb, var(--color-text) 78%, transparent); padding-left: 16px; position: relative; }
.th-comodal-cols li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 2px; background: var(--color-accent); }
.th-prodchips { display: grid; gap: 8px; }
.th-prodchip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid color-mix(in srgb, var(--color-text) 13%, transparent); text-decoration: none; color: var(--color-text); transition: background .2s ease, border-color .2s ease; }
.th-prodchip:hover { background: var(--color-accent-100); border-color: color-mix(in srgb, var(--color-accent) 45%, transparent); }
.th-prodchip img { height: 18px; width: auto; max-width: 76px; object-fit: contain; display: block; flex: 0 0 auto; }
.th-prodchip .pn { font-size: 14px; font-weight: 700; line-height: 1.1; }
.th-prodchip .ar { margin-left: auto; color: var(--color-accent); display: flex; opacity: .45; transition: opacity .2s ease, transform .2s ease; }
.th-prodchip:hover .ar { opacity: 1; transform: translateX(2px); }
.th-comodal-meta { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); }
.th-seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.th-seg-item { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 58px; padding: 11px 4px; border: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); border-radius: 12px; color: color-mix(in srgb, var(--color-text) 30%, transparent); transition: color .25s ease, border-color .25s ease, background .25s ease; }
.th-seg-item svg { width: 22px; height: 22px; }
.th-seg-item span { font-size: 8px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; }
.th-seg-item.on { color: var(--color-accent-700); border-color: color-mix(in srgb, var(--color-accent) 45%, transparent); background: var(--color-accent-100); }
.th-comodal-meta .k { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent); margin: 0 0 6px; }
.th-comodal-meta p.v { font-size: 15px; margin: 0; color: var(--color-text); }
.th-comodal-links { display: flex; gap: 10px; flex: 0 0 auto; }
.th-comodal-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent); border-radius: 0; color: var(--color-text); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.th-comodal-links a:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.th-comodal-links a.hidden { display: none; }
/* detail: single-column compact (web) + tabbed (mobile) */
.th-comodal-tabs { display: none; }
.th-comodal-body { margin-top: 20px; }
.th-panel { padding-top: 18px; margin-top: 18px; border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); }
.th-panel:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.th-panel-h { font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.03em; margin: 0 0 12px; }
.th-taglist { display: flex; flex-wrap: wrap; gap: 6px; }
.th-tg { font-size: 12px; font-weight: 600; padding: 6px 10px; background: color-mix(in srgb, var(--color-text) 6%, transparent); color: color-mix(in srgb, var(--color-text) 76%, transparent); }
.th-segline { display: flex; flex-wrap: wrap; gap: 6px; }
.th-segpill { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); color: color-mix(in srgb, var(--color-text) 34%, transparent); }
.th-segpill.on { background: var(--color-accent-100); color: var(--color-accent-700); border-color: color-mix(in srgb, var(--color-accent) 40%, transparent); }
.th-owner { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.th-owner .k { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 52%, transparent); }
.th-owner .v { font-size: 14px; color: var(--color-text); }
.th-tab { flex: 1; text-align: center; font-family: var(--font-heading); font-weight: 800; font-size: 12.5px; padding: 10px 4px; background: none; border: 0; color: color-mix(in srgb, var(--color-text) 55%, transparent); cursor: pointer; transition: background .2s ease, color .2s ease; }
.th-tab + .th-tab { border-left: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent); }
.th-tab.on { background: var(--color-text); color: #fff; }
@media (max-width: 900px) { .th-cube-stage { --cs: 250px; --half: 125px; } .th-co-layout.open .th-cube-stage { --cs: 210px; --half: 105px; } }
@media (max-width: 760px) {
  .th-co-layout, .th-co-layout.open { grid-template-columns: 1fr; gap: 28px; }
  .th-co-layout.open .th-co-close { position: fixed; top: 50%; right: 14px; left: auto; transform: translateY(-50%); width: 48px; height: 48px; z-index: 60; background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); box-shadow: var(--shadow-md); }
  .th-co-layout.open .th-co-close:hover { background: var(--color-accent-600); border-color: var(--color-accent-600); }
  .th-co-detail { transform: translateY(20px); }
  .th-comodal-tabs { display: flex; border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent); margin-top: 18px; }
  .th-comodal-body { margin-top: 16px; }
  .th-panel { display: none; padding-top: 0; margin-top: 0; border-top: 0; }
  .th-panel.on { display: block; }
  .th-panel-h { display: none; }
  .th-co-layout.open .th-co-detail { transform: none; }
  .th-co-layout.open .th-co-cubecol { transform: none; }
}
@media (max-width: 480px) { .th-comodal-cols, .th-comodal-meta { grid-template-columns: 1fr; } .th-cube-stage { --cs: 190px; --half: 95px; } .th-seg { gap: 5px; } .th-seg-item { width: 46px; padding: 9px 3px; gap: 5px; } .th-seg-item svg { width: 18px; height: 18px; } .th-seg-item span { font-size: 6.5px; letter-spacing: 0; } }

/* ---- products (soft cards) ---- */
.th-prod-grid { margin-top: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.th-prod-card { position: relative; background: var(--color-bg); border: 2px solid var(--color-divider); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 15px; min-height: 232px; text-decoration: none; color: var(--color-text); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.th-prod-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.th-prod-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px color-mix(in srgb, var(--color-accent) 16%, transparent); border-color: var(--color-accent-300); }
.th-prod-card:hover::before { transform: scaleX(1); }
.th-prod-tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-700); background: var(--color-accent-100); padding: 6px 12px; border-radius: 999px; }
/* gap: kare marka işareti + yanına basılan marka adı olan kartlar için
   (bkz. Product.LogoText); tek görselli kartlarda etkisi yok. */
.th-prod-logo { align-self: flex-start; display: flex; align-items: center; gap: 10px; min-height: 40px; }
/* Koyu plaka (bkz. Product.LogoPlate): NetClave'in işareti iç içe geçmiş bir
   "N" — sol yarısı mavi, sağ yarısı BEYAZ. Açık kart zemininde beyaz yarı
   tamamen kayboluyor. Plaka yalnızca işaretin arkasına giriyor; yanındaki
   marka adı kartın üzerinde kalmalı, yoksa koyu yazı plakada kaybolur. */
.th-logo-plate { display: inline-flex; align-items: center; justify-content: center; background: var(--color-neutral-900); border-radius: 10px; padding: 7px; }
.th-prod-logo img { height: 26px; width: auto; object-fit: contain; display: block; }
.th-prod-logo .txt { font-family: var(--font-heading); font-weight: 800; font-size: clamp(22px, 2.2vw, 27px); letter-spacing: -0.02em; color: var(--color-text); }
.th-prod-desc { font-size: 14.5px; line-height: 1.5; color: color-mix(in srgb, var(--color-text) 66%, transparent); flex: 1; }
.th-prod-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 800; font-size: 13px; color: var(--color-accent-700); }
.th-prod-card:hover .th-prod-link { color: var(--color-accent); }
.th-prod-card:hover .th-prod-link svg { transform: translate(3px, -3px); }
.th-prod-link svg { transition: transform .3s ease; }
@media (max-width: 820px) { .th-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .th-prod-grid { grid-template-columns: 1fr; } }

/* ---- references ---- */
#companies { background: var(--color-surface); }
#leadership { background: var(--color-bg); }
#about { background: var(--color-surface); }
#products { background: var(--color-bg); }
#references { background: var(--color-surface); }
#leadership { padding-block: clamp(32px, 4vh, 52px) clamp(52px, 8vh, 92px); }
.th-refs { margin-top: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); }
.th-ref-cell { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 3 / 2; padding: clamp(14px, 2vw, 26px); background: var(--color-bg); transition: background .3s ease; }
.th-ref-cell img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.62; transition: filter .3s ease, opacity .3s ease; }
.th-ref-cell:hover { background: var(--color-surface); }
.th-ref-cell:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .th-refs { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) {
  .th-refs { display: block; grid-template-columns: none; overflow: hidden; gap: 0; background: transparent; border: 0; border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); }
  .th-ref-track { display: flex; width: max-content; animation: th-ref-scroll 26s linear infinite; }
  .th-ref-cell { flex: 0 0 42vw; aspect-ratio: 2 / 1; border-left: 2px solid var(--color-divider); }
}
@media (max-width: 400px) { .th-ref-cell { flex: 0 0 56vw; } }

/* ---- leadership (framed flip cards) ---- */
.th-lead-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.4vw, 34px); margin-top: clamp(48px, 6vw, 72px); }
.th-card { background: none; }
.th-oval { position: relative; width: 100%; aspect-ratio: 3 / 4.75; cursor: pointer; outline: none; }
.th-oval-inner { position: relative; width: 100%; height: 100%; transform: perspective(1600px) rotateY(0deg); transition: transform .8s cubic-bezier(.4,.05,.2,1); }
.th-card.th-open .th-oval-inner { transform: perspective(1600px) rotateY(180deg); }
.th-oval:focus-visible .th-oval-front { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.th-oval-face { position: absolute; inset: 0; opacity: 1; transition: opacity 0s .4s; border-radius: 26px; overflow: hidden; }
.th-oval-front { z-index: 2; background: var(--color-bg); border: 2px solid var(--color-divider); display: flex; flex-direction: column; }
.th-oval-back { transform: rotateY(180deg); opacity: 0; }
.th-card.th-open .th-oval-front { opacity: 0; }
.th-card.th-open .th-oval-back { opacity: 1; z-index: 3; }
.th-oval-photo { position: relative; flex: 1; min-height: 0; background: var(--color-surface); overflow: hidden; }
.th-oval-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.th-oval:hover .th-oval-front .th-oval-photo img { transform: scale(1.045); }
.th-oval-info { padding: 15px 16px 18px; text-align: center; }
.th-lead-name { font-family: var(--font-heading); font-weight: 800; font-size: clamp(16px, 1.4vw, 21px); letter-spacing: -0.02em; margin: 0; line-height: 1.08; }
.th-lead-role { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--color-accent-700); font-weight: 700; margin: 8px 0 0; }
.th-lead-dom { font-size: 12.5px; color: color-mix(in srgb, var(--color-text) 64%, transparent); margin: 5px 0 0; line-height: 1.4; }
.th-oval-hint { position: absolute; right: 12px; top: 12px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--color-neutral-900) 52%, transparent); color: var(--color-bg); display: flex; align-items: center; justify-content: center; transition: transform .5s ease, opacity .3s ease, background .3s ease; pointer-events: none; }
.th-oval:hover .th-oval-hint { background: var(--color-accent); transform: rotate(-45deg); }
.th-card.th-open .th-oval-hint { opacity: 0; }
.th-oval-back-inner { width: 100%; height: 100%; background: var(--color-accent); color: var(--color-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 20px; }
.th-oval-back .bk-name { font-family: var(--font-heading); font-weight: 800; font-size: clamp(16px, 1.4vw, 21px); letter-spacing: -0.02em; margin: 0; line-height: 1.08; }
.th-oval-back .bk-role { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: .82; font-weight: 700; margin: 8px 0 0; }
.th-oval-back .lbl { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: .68; margin: 16px 0 11px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--color-bg) 35%, transparent); width: 62%; }
.th-oval-back ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.th-oval-back li { font-family: var(--font-heading); font-weight: 700; font-size: clamp(12px, 1vw, 14.5px); line-height: 1.18; letter-spacing: -0.01em; }
.th-oval-li { margin-top: 18px; width: 38px; height: 38px; border: 2px solid color-mix(in srgb, var(--color-bg) 55%, transparent); display: inline-flex; align-items: center; justify-content: center; color: var(--color-bg); text-decoration: none; transition: background .3s ease, color .3s ease; }
.th-oval-li:hover { background: var(--color-bg); color: var(--color-accent); }
@media (max-width: 1000px) { .th-lead-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 30px); } }

/* ---- group structure (dark) ---- */
.th-dark { background: var(--color-neutral-900); color: var(--color-bg); }
.th-dark .th-h2 { color: var(--color-bg); }
.th-dark .th-lead-copy { color: color-mix(in srgb, var(--color-bg) 72%, transparent); }
.th-org { position: relative; margin-top: clamp(48px, 8vw, 88px); }
.th-org-radial { position: relative; aspect-ratio: 16 / 8.5; min-height: 380px; }
.th-org-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.th-org-line { fill: none; stroke: color-mix(in srgb, var(--color-bg) 34%, transparent); stroke-width: 1.5; stroke-dasharray: 6 6; }
.th-org-line.draw { stroke: var(--color-accent-400); animation: th-dash 18s linear infinite; }
@keyframes th-dash { to { stroke-dashoffset: -240; } }
.th-node { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.th-hub { text-align: center; padding: 26px 34px; border: 2px solid var(--color-bg); background: var(--color-neutral-900); }
.th-hub .h { font-family: var(--font-heading); font-weight: 800; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.01em; }
.th-hub .s { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent-400); margin-top: 6px; }
.th-conode { text-align: center; padding: 18px 22px; min-width: 168px; border: 2px solid color-mix(in srgb, var(--color-bg) 30%, transparent); background: color-mix(in srgb, var(--color-bg) 4%, transparent); backdrop-filter: blur(2px); transition: border-color .3s ease, transform .3s ease; }
.th-conode:hover { border-color: var(--color-accent-400); transform: translateY(-2px); }
.th-conode .n { font-family: var(--font-heading); font-weight: 800; font-size: 19px; }
.th-conode .d { font-size: 11.5px; color: color-mix(in srgb, var(--color-bg) 62%, transparent); margin-top: 6px; line-height: 1.4; }
.th-org-stack { display: none; }

/* ---- philosophy ---- */
.th-phi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); margin-top: clamp(40px, 6vw, 64px); }
.th-phi-item { background: var(--color-bg); padding: 32px 28px; transition: background .3s ease; }
.th-phi-item:hover { background: var(--color-surface); }
.th-phi-num { font-family: var(--font-heading); font-weight: 800; font-size: 13px; color: var(--color-accent); letter-spacing: 0.1em; }
.th-phi-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.15; letter-spacing: -0.015em; margin: 44px 0 10px; }
.th-phi-copy { font-size: 14.5px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 70%, transparent); margin: 0; }

/* ---- timeline ---- */
.th-timeline { margin-top: clamp(40px, 6vw, 64px); }
.th-tl-item { display: grid; grid-template-columns: 180px 40px 1fr; gap: clamp(16px, 3vw, 48px); align-items: start; padding: clamp(28px, 4vw, 44px) 0; border-top: 2px solid var(--color-divider); }
.th-tl-item:last-child { border-bottom: 2px solid var(--color-divider); }
.th-tl-phase { font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent); padding-top: 6px; }
.th-tl-mark { position: relative; display: flex; justify-content: center; }
.th-tl-mark span { width: 14px; height: 14px; background: var(--color-accent); margin-top: 5px; }
.th-tl-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(23px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.th-tl-copy { font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-text) 72%, transparent); margin: 12px 0 0; max-width: 54ch; }

/* ---- culture ---- */
.th-cul { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 64px); }
.th-cul-item h3 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 2vw, 26px); line-height: 1.12; letter-spacing: -0.02em; margin: 20px 0 12px; padding-top: 24px; border-top: 2px solid var(--color-divider); }
.th-cul-item p { font-size: 15px; line-height: 1.65; color: color-mix(in srgb, var(--color-text) 72%, transparent); margin: 0; }
.th-cul-idx { font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; color: var(--color-accent); }

/* ---- contact (red poster) ---- */
.th-contact { background: var(--color-accent-700); color: var(--color-bg); }
.th-contact .th-h2, .th-contact .th-kicker { color: var(--color-bg); }
.th-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: stretch; }
.th-contact-copy { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: color-mix(in srgb, var(--color-bg) 90%, transparent); margin: 28px 0 0; max-width: 34ch; }
.th-contact-meta { margin-top: auto; display: grid; gap: 18px; padding-top: 40px; }
.th-contact-line { display: grid; gap: 4px; }
.th-contact-line .k { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-bg) 72%, transparent); }
.th-contact-line a { color: var(--color-bg); text-decoration: none; font-family: var(--font-heading); font-weight: 800; font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.01em; }
.th-contact-line a:hover { text-decoration: underline; text-underline-offset: 5px; }
.th-contact-intro { display: flex; flex-direction: column; }

/* form card */
.th-form-card { background: var(--color-bg); color: var(--color-text); border: 2px solid var(--color-neutral-900); padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; align-content: start; }
.th-form-card .h { font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; margin: 0 0 4px; }
.th-form { display: grid; gap: 20px; }
.th-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.th-field { display: grid; gap: 8px; }
.th-field label { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.th-input { width: 100%; min-height: 52px; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--color-text); background: var(--color-bg); border: 0; border-bottom: 2px solid var(--color-divider); transition: border-color .25s ease, background .25s ease; }
.th-input::placeholder { color: color-mix(in srgb, var(--color-text) 40%, transparent); }
.th-input:focus { outline: none; border-bottom-color: var(--color-accent); background: var(--color-surface); }
textarea.th-input { min-height: 120px; resize: vertical; border: 2px solid var(--color-divider); }
textarea.th-input:focus { border-color: var(--color-accent); }
.th-form-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0 22px; background: var(--color-accent); color: var(--color-bg); border: 0; font-family: var(--font-heading); font-weight: 800; font-size: 16px; letter-spacing: 0.01em; cursor: pointer; transition: background .25s ease; }
.th-form-btn:hover { background: var(--color-accent-600); }
.th-form-btn:disabled { opacity: .6; cursor: default; }
/* Form gönderildikten (ya da devre dışıyken) formun yerine geçen bilgi kutusu. */
.th-form-note { display: grid; gap: 10px; }
.th-form-note .h { font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; margin: 0; }
.th-form-note p { font-size: 15px; color: color-mix(in srgb, var(--color-text) 74%, transparent); }
@media (max-width: 780px) {
  .th-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .th-contact-meta { padding-top: 8px; }
}
@media (max-width: 520px) {
  .th-form-row { grid-template-columns: 1fr; }
}

/* ---- footer ---- */
.th-foot { background: var(--color-neutral-900); color: color-mix(in srgb, var(--color-bg) 70%, transparent); }
.th-foot-top { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; padding-block: clamp(44px, 6vw, 72px) clamp(32px, 4vw, 48px); }
.th-foot-brand { display: flex; flex-direction: column; gap: 22px; }
.th-foot-social { display: flex; gap: 12px; }
.th-foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid color-mix(in srgb, var(--color-bg) 22%, transparent); color: var(--color-bg); transition: background .3s ease, border-color .3s ease, color .3s ease; }
.th-foot-social a:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.th-foot-col-label { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-bg) 55%, transparent); margin: 0 0 16px; }
.th-foot-cos { display: flex; flex-direction: column; gap: 10px; font-size: 14px; letter-spacing: 0.02em; }
.th-foot-cos span { color: color-mix(in srgb, var(--color-bg) 78%, transparent); }
.th-foot-contact p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: color-mix(in srgb, var(--color-bg) 72%, transparent); }
.th-foot-contact p a { color: inherit; text-decoration: none; }
.th-foot-contact p a:hover { color: var(--color-bg); text-decoration: underline; text-underline-offset: 3px; }
.th-foot-contact > a { color: var(--color-bg); text-decoration: none; font-family: var(--font-heading); font-weight: 800; font-size: 17px; letter-spacing: 0.01em; }
.th-foot-contact > a:hover { color: var(--color-accent-400); }
.th-foot-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-block: 24px 36px; border-top: 2px solid color-mix(in srgb, var(--color-bg) 16%, transparent); }
.th-foot-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.th-foot-legal a { color: color-mix(in srgb, var(--color-bg) 70%, transparent); text-decoration: none; font-size: 13px; letter-spacing: 0.04em; }
.th-foot-legal a:hover { color: var(--color-bg); }
.th-foot-copy { font-size: 12px; letter-spacing: 0.06em; }
.th-foot-legal a { cursor: pointer; }

/* ---- legal modal ---- */
.th-legal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.th-legal.open { display: flex; }
.th-legal-bd { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-neutral-900) 55%, transparent); backdrop-filter: blur(3px); }
.th-legal-card { position: relative; z-index: 1; width: min(680px, 100%); max-height: 86vh; overflow-y: auto; background: var(--color-bg); border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); border-radius: 18px; box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 48px); animation: th-pop .28s cubic-bezier(.2,.9,.3,1); }
.th-legal-x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent); border-radius: 50%; background: var(--color-bg); cursor: pointer; color: var(--color-text); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.th-legal-x:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.th-legal-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; margin: 0 40px 8px 0; }
.th-legal-body h4 { font-family: var(--font-heading); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; margin: 24px 0 6px; color: var(--color-accent-700); }
.th-legal-body p { font-size: 15px; line-height: 1.65; margin: 0; color: color-mix(in srgb, var(--color-text) 82%, transparent); }
.th-legal-body a { color: var(--color-accent-700); }
@media (max-width: 860px) {
  .th-foot-top { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .th-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .th-foot-top { grid-template-columns: 1fr; gap: 32px; }
  .th-foot-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---- reveal (declarative entrance; resting state always visible) ----
   Animasyon .th-in ile tetikleniyor — site.js bu sınıfı öğe görünüre girince
   ekler. Dinlenme hâli her zaman opacity:1; JS çalışmazsa ya da observer hiç
   ateşlemezse içerik görünür kalır, asla kaybolmaz. */
html.js-reveal [data-reveal] { opacity: 1; }
html.js-reveal [data-reveal].th-in { animation: th-reveal .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes th-reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- companies & products directory ---- */
.th-dir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); margin-top: clamp(40px, 6vw, 64px); }
.th-dir-card { display: flex; flex-direction: column; padding: 34px 30px; background: var(--color-bg); text-decoration: none; color: var(--color-text); transition: background .3s ease; }
.th-dir-card:hover { background: var(--color-surface); }
.th-dir-tag { font-family: var(--font-heading); font-weight: 800; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent-700); }
.th-dir-name { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.02; margin: 18px 0 12px; display: flex; align-items: center; gap: 10px; }
.th-dir-name svg { flex: none; opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s ease, transform .3s ease; color: var(--color-accent); }
.th-dir-card:hover .th-dir-name svg { opacity: 1; transform: none; }
.th-dir-desc { font-size: 14.5px; line-height: 1.55; color: color-mix(in srgb, var(--color-text) 70%, transparent); margin: 0 0 26px; }
.th-dir-domain { margin-top: auto; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; color: color-mix(in srgb, var(--color-text) 52%, transparent); transition: color .3s ease; }
.th-dir-card:hover .th-dir-domain { color: var(--color-accent); }
.th-foot-col a { color: inherit; text-decoration: none; }
.th-foot-col a:hover { color: var(--color-bg); }

/* ---- media containment ----
   Tasarımdaki <image-slot> özel elemanına ait kurallar atıldı: o eleman
   tasarım aracının kendi görsel yer tutucusu, portta hiç oluşmuyor. */
img, svg, canvas, video { max-width: 100%; }
.th-portrait, .th-hero-img { overflow: hidden; }
.th-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .th-sec-head { grid-template-columns: 1fr; align-items: start; }
  .th-statgrid { grid-template-columns: repeat(2, 1fr); }
  .th-stat:nth-child(2) { border-right: 0; }
  .th-stat:nth-child(1), .th-stat:nth-child(2) { border-bottom: 2px solid var(--color-divider); }
  .th-phi { grid-template-columns: repeat(2, 1fr); }
  .th-dir { grid-template-columns: repeat(2, 1fr); }
  .th-cul { grid-template-columns: 1fr; gap: 0; }
  .th-cul-item h3 { margin-top: 0; }
}
@media (max-width: 900px) {
  .th-hero-inner { grid-template-columns: 1fr; }
  .th-hero-img { min-height: clamp(280px, 60vw, 420px); order: 2; }
}
@media (max-width: 950px) {
  .th-nav-links { display: none; }
  .th-menu-btn { display: inline-flex; }
  .th-mobile { display: block; }
}
@media (max-width: 760px) {
  .th-lead-dom { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
  .th-lead-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .th-org-radial { display: none; }
  .th-org-stack { display: block; margin-top: 40px; }
  .th-tl-item { grid-template-columns: 24px 1fr; }
  .th-tl-phase { grid-column: 2; padding-top: 0; margin-bottom: 6px; }
  .th-tl-mark { grid-row: 1 / 3; }
  .th-tl-content { grid-column: 2; }
  .th-contact-grid { grid-template-columns: 1fr; }
  .th-dir { grid-template-columns: 1fr; }
  .th-manifesto-foot { grid-template-columns: 1fr; }
  .th-mf-cell { border-right: 0; border-bottom: 2px solid color-mix(in srgb, var(--color-bg) 45%, transparent); padding-bottom: 24px; }
  .th-mf-cell:last-child { border-bottom: 0; }
}
@media (max-width: 860px) {
  .th-foot-top { flex-direction: column; align-items: flex-start; gap: 32px; }
  .th-foot-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .th-foot-contact { max-width: none; }
  .th-contact-meta a { word-break: break-word; }
  .th-form { width: 100%; }
}
@media (max-width: 640px) {
  .th-hero { padding: clamp(84px, 16vh, 128px) 0 clamp(56px, 10vh, 84px); }
  .th-display { font-size: clamp(38px, 11.2vw, 74px); line-height: 0.98; letter-spacing: -0.04em; overflow-wrap: break-word; hyphens: auto; }
  .th-sub { margin-top: 26px; }
  .th-ghost { font-size: clamp(72px, 26vw, 150px); opacity: 0.04; }
  .th-fx { display: none; }
  .th-sec { padding-block: clamp(42px, 6.5vh, 64px); }
  .th-sec-head { gap: 18px; }
  .th-contact-meta { margin-top: 28px; }
  .th-contact-copy { margin-top: 20px; }
}
@media (max-width: 520px) {
  .th-statgrid { grid-template-columns: 1fr; }
  .th-stat { border-right: 0; border-bottom: 2px solid var(--color-divider); }
  .th-stat:last-child { border-bottom: 0; }
  .th-phi { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal [data-reveal] { animation: none; }
  .th-float { animation: none !important; }
  .th-org-line.draw { animation: none; }
  .th-marquee-track { animation: none; }
}
@keyframes th-floatA { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(6deg); } }
@keyframes th-floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(20px); } }
@keyframes th-floatC { 0%,100% { transform: translate(0,0); } 50% { transform: translate(14px,-14px); } }
@keyframes th-ref-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
