/* TripleCH Services — corporate site. All classes namespaced tch- */
:root {
  --tch-teal: #0f766e;
  --tch-teal-bright: #14b8a6;
  --tch-emerald: #059669;
  --tch-coral: #fb7185;
  --tch-coral-soft: #ffe4e6;
  --tch-slate-900: #0f1e24;
  --tch-slate-700: #27414a;
  --tch-slate-500: #5a7580;
  --tch-paper: #f5faf8;
  --tch-white: #ffffff;
  --tch-line: #d6e6e2;
  --tch-shadow: 0 18px 45px -24px rgba(15, 118, 110, 0.45);
  --tch-radius: 16px;
  --tch-space: clamp(3.5rem, 8vw, 6rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--tch-slate-700);
  background: var(--tch-paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .tch-brand-text {
  font-family: "Sora", "Inter", sans-serif;
  color: var(--tch-slate-900);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

a { color: var(--tch-teal); }

img, svg { display: block; max-width: 100%; }

.tch-shell {
  width: min(100% - 2.5rem, 1140px);
  margin-inline: auto;
}

.tch-visually-hidden, .tch-brand-sub-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.tch-skip {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--tch-slate-900); color: #fff;
  padding: 0.6rem 1rem; border-radius: 8px; z-index: 100;
  transition: top 0.2s ease; text-decoration: none;
}
.tch-skip:focus { top: 1rem; }

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--tch-coral);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Header */
.tch-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 250, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tch-line);
}
.tch-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 70px;
}
.tch-brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; font-weight: 700;
}
.tch-brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(140deg, var(--tch-teal), var(--tch-emerald));
  box-shadow: var(--tch-shadow);
}
.tch-node-a { fill: #fff; }
.tch-node-b { fill: var(--tch-coral); }
.tch-node-c { fill: #b9f4e6; }
.tch-node-link { stroke: rgba(255,255,255,0.75); stroke-width: 2; fill: none; }
.tch-brand-text { font-size: 1.15rem; font-weight: 700; }
.tch-brand-sub { color: var(--tch-teal); font-weight: 600; }

.tch-nav { display: flex; align-items: center; gap: 1.6rem; }
.tch-nav a {
  text-decoration: none; color: var(--tch-slate-700);
  font-weight: 500; font-size: 0.95rem;
}
.tch-nav a:hover { color: var(--tch-teal); }
.tch-nav-cta {
  background: var(--tch-slate-900); color: #fff !important;
  padding: 0.55rem 1.1rem; border-radius: 999px;
}
.tch-nav-cta:hover { background: var(--tch-teal); }

.tch-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.tch-burger span {
  width: 26px; height: 2px; background: var(--tch-slate-900);
  border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.tch-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tch-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tch-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.tch-btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 0.8rem 1.5rem; border-radius: 999px; font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.tch-btn-solid { background: var(--tch-teal); color: #fff; box-shadow: var(--tch-shadow); }
.tch-btn-solid:hover { background: var(--tch-emerald); transform: translateY(-2px); }
.tch-btn-ghost { color: var(--tch-slate-900); border: 1px solid var(--tch-line); background: #fff; }
.tch-btn-ghost:hover { border-color: var(--tch-teal); color: var(--tch-teal); }
.tch-btn-outline { background: transparent; color: var(--tch-slate-900); border: 1px solid var(--tch-slate-900); }
.tch-btn-outline:hover { background: var(--tch-slate-900); color: #fff; }

/* Hero — two column split */
.tch-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--tch-space); }
.tch-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.tch-eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 600; color: var(--tch-teal); margin: 0 0 0.75rem;
}
.tch-hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin: 0 0 1.1rem; }
.tch-lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--tch-slate-700); margin: 0 0 1.8rem; }
.tch-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }
.tch-hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 0; padding-top: 1.6rem; border-top: 1px solid var(--tch-line);
}
.tch-hero-facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tch-slate-500); }
.tch-hero-facts dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--tch-slate-900); font-family: "Sora", sans-serif; }

.tch-hero-art { position: relative; }
.tch-art-bg { fill: var(--tch-slate-900); }
.tch-art-links path { stroke: rgba(20, 184, 166, 0.55); stroke-width: 2; fill: none; }
.tch-art-nodes circle { fill: var(--tch-teal-bright); }
.tch-art-core { fill: var(--tch-coral) !important; }

/* Section head */
.tch-section-head { max-width: 640px; margin-bottom: 2.6rem; }
.tch-section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 0.75rem; }
.tch-section-head p { margin: 0; font-size: 1.05rem; }

/* What we do */
.tch-work { padding: var(--tch-space) 0; }
.tch-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tch-card {
  background: #fff; border: 1px solid var(--tch-line);
  border-radius: var(--tch-radius); padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tch-card:hover { transform: translateY(-4px); box-shadow: var(--tch-shadow); }
.tch-card h3 { font-size: 1.2rem; margin: 0 0 0.6rem; }
.tch-card p { margin: 0; }

/* Split panels */
.tch-split { padding: var(--tch-space) 0; background: linear-gradient(180deg, #fff, var(--tch-paper)); }
.tch-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.tch-panel { border-radius: 20px; padding: clamp(1.8rem, 3vw, 2.6rem); }
.tch-panel-emp { background: linear-gradient(155deg, var(--tch-teal), var(--tch-slate-900)); color: #eafaf6; }
.tch-panel-cand { background: #fff; border: 1px solid var(--tch-line); }
.tch-panel h3 { font-size: 1.5rem; margin: 0.4rem 0 0.9rem; }
.tch-panel-emp h3 { color: #fff; }
.tch-panel-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem; border-radius: 999px;
}
.tch-panel-emp .tch-panel-tag { background: rgba(255,255,255,0.16); color: #b9f4e6; }
.tch-panel-cand .tch-panel-tag { background: var(--tch-coral-soft); color: #be123c; }
.tch-panel-emp p { color: #d3f2eb; }
.tch-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.tch-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; }
.tch-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--tch-coral);
}
.tch-panel-emp .tch-list li::before { background: var(--tch-teal-bright); }

/* Sectors */
.tch-sectors { padding: var(--tch-space) 0; }
.tch-sector-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; list-style: none; padding: 0; margin: 0;
}
.tch-sector {
  display: flex; align-items: center; gap: 0.7rem;
  background: #fff; border: 1px solid var(--tch-line);
  border-left: 4px solid var(--tch-teal);
  border-radius: 12px; padding: 1.1rem 1.3rem;
  font-weight: 600; color: var(--tch-slate-900);
  font-family: "Sora", sans-serif; font-size: 1rem;
  transition: border-left-color 0.25s ease, transform 0.25s ease;
}
.tch-sector:hover { border-left-color: var(--tch-coral); transform: translateX(4px); }
.tch-sector span { color: var(--tch-teal); font-size: 0.8rem; }

/* Process steps */
.tch-process { padding: var(--tch-space) 0; background: var(--tch-slate-900); }
.tch-process .tch-section-head h2 { color: #fff; }
.tch-process .tch-section-head p { color: #a9c4c0; }
.tch-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  list-style: none; padding: 0; margin: 0; counter-reset: none;
}
.tch-step {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--tch-radius); padding: 1.6rem;
}
.tch-step-num {
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.4rem;
  color: var(--tch-teal-bright); display: block; margin-bottom: 0.6rem;
}
.tch-step h3 { color: #fff; font-size: 1.1rem; margin: 0 0 0.5rem; }
.tch-step p { color: #b6cecb; margin: 0; font-size: 0.95rem; }

/* Contact */
.tch-contact { padding: var(--tch-space) 0; }
.tch-contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.tch-contact h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 0.9rem; }
.tch-contact-card {
  background: linear-gradient(150deg, var(--tch-emerald), var(--tch-teal));
  border-radius: 20px; padding: 2.2rem; color: #eafaf6; box-shadow: var(--tch-shadow);
}
.tch-contact-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; margin: 0 0 0.4rem; color: #b9f4e6; }
.tch-contact-mail {
  display: inline-block; font-family: "Sora", sans-serif; font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: #fff; text-decoration: none;
  word-break: break-word; margin-bottom: 1.4rem;
}
.tch-contact-mail:hover { text-decoration: underline; }
.tch-contact-office { margin: 0; color: #d3f2eb; font-size: 0.95rem; }

/* Footer */
.tch-footer { background: #08151a; color: #9fb8b4; padding: 3.2rem 0 1.8rem; }
.tch-footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.tch-footer-brand .tch-brand-text { color: #fff; font-size: 1.2rem; }
.tch-footer-brand p { margin: 0.6rem 0 0; max-width: 34ch; }
.tch-footer-addr { font-style: normal; line-height: 1.9; font-size: 0.95rem; }
.tch-footer-addr strong { color: #fff; font-family: "Sora", sans-serif; }
.tch-footer-addr a { color: var(--tch-teal-bright); }
.tch-footer-base { padding-top: 1.4rem; }
.tch-footer-base p { margin: 0; font-size: 0.85rem; color: #6f8b87; }

/* Reveal animation */
.tch-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.tch-reveal.tch-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .tch-hero-grid { grid-template-columns: 1fr; }
  .tch-hero-art { order: -1; max-width: 380px; }
  .tch-work-grid,
  .tch-sector-grid,
  .tch-steps { grid-template-columns: repeat(2, 1fr); }
  .tch-split-grid,
  .tch-contact-grid,
  .tch-footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tch-nav {
    position: fixed; inset: 70px 0 auto; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--tch-white);
    border-bottom: 1px solid var(--tch-line); padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-140%); transition: transform 0.3s ease;
    box-shadow: var(--tch-shadow);
  }
  .tch-nav.tch-open { transform: translateY(0); }
  .tch-nav a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--tch-line); }
  .tch-nav-cta { text-align: center; margin-top: 0.8rem; border-bottom: 0 !important; }
  .tch-burger { display: flex; }
  .tch-work-grid,
  .tch-sector-grid,
  .tch-steps,
  .tch-hero-facts { grid-template-columns: 1fr; }
  .tch-hero-facts { gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tch-reveal { opacity: 1; transform: none; transition: none; }
  .tch-btn, .tch-card, .tch-sector { transition: none; }
}
