/* ==========================================================================
   TIDC Construction — Shared Stylesheet
   Style: Exaggerated Minimalism (clean, sophisticated, architecture-grade)
   Palette: Industrial slate grey + safety orange accent
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* color */
  --c-ink:        #0A0A0B;   /* near-black headings */
  --c-fg:         #334155;   /* body text */
  --c-muted:      #64748B;   /* secondary text */
  --c-faint:      #94A3B8;   /* captions */
  --c-line:       #E5E7EB;   /* borders */
  --c-surface:    #F6F7F8;   /* muted surface */
  --c-bg:         #FFFFFF;
  --c-accent:     #EA580C;   /* safety orange */
  --c-accent-ink: #C2410C;

  /* type */
  --f-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono: 'Space Grotesk', var(--f-sans);

  /* spacing scale (8pt rhythm) */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px; --s-9: 160px;

  /* layout */
  --container: 1360px;
  --gutter: clamp(20px, 5vw, 80px);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--f-sans);
  color: var(--c-fg);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--c-accent); color: #fff; }

/* ---- Layout helpers ---- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 12vw, 160px); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--c-accent); }

h1, h2, h3, h4 { color: var(--c-ink); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; }
.display { font-size: clamp(2.75rem, 8vw, 7rem); font-weight: 800; }
.h-xl { font-size: clamp(2rem, 5vw, 3.75rem); }
.h-lg { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--c-muted); line-height: 1.6; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  min-height: 48px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-ink); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--c-ink); color: var(--c-ink); }
.btn-ghost:hover { background: var(--c-ink); color: #fff; }
.btn-light { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.solid {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: baseline; gap: 3px; font-weight: 800; font-size: 24px; letter-spacing: -0.04em; color: var(--c-ink); }
.brand .dot { color: var(--c-accent); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav a {
  position: relative; font-size: 15px; font-weight: 500; color: var(--c-fg);
  padding: 6px 0; transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--c-accent); transition: width .28s var(--ease);
}
.nav a:hover { color: var(--c-ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--c-ink); font-weight: 600; }
.header-cta { display: inline-flex; }

/* mobile toggle */
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--c-ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-poster, .hero-media .hero-video { position: absolute; inset: 0; }
.hero-media .hero-video { opacity: 1; transition: opacity .8s var(--ease); }
.hero-media .hero-video.hidden { display: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,11,.35) 0%, rgba(10,10,11,.05) 35%, rgba(10,10,11,.75) 100%);
}
.hero-inner { width: 100%; padding-bottom: clamp(48px, 8vw, 110px); padding-top: calc(var(--header-h) + 40px); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 46ch; margin-top: var(--s-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--s-5); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 72px);
  margin-top: var(--s-6); padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-meta .stat .num { font-family: var(--f-mono); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.hero-meta .stat .lbl { font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: 0.02em; }

/* page hero (inner pages) */
.page-hero { padding-top: calc(var(--header-h) + clamp(60px, 10vw, 130px)); padding-bottom: clamp(40px, 6vw, 80px); background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.page-hero .lead { max-width: 52ch; margin-top: var(--s-2); }
.breadcrumb { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-faint); margin-bottom: var(--s-3); display: flex; gap: 10px; }
.breadcrumb a:hover { color: var(--c-accent); }

/* ==========================================================================
   Reusable content blocks
   ========================================================================== */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: var(--s-3); }
.section-head h2 { margin-bottom: var(--s-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split .media { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: var(--c-surface); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: 4px; overflow: hidden; }
.stats-strip .cell { background: #fff; padding: clamp(24px, 3vw, 40px); }
.stats-strip .num { font-family: var(--f-mono); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--c-ink); letter-spacing: -0.03em; }
.stats-strip .num span { color: var(--c-accent); }
.stats-strip .lbl { color: var(--c-muted); font-size: 14px; margin-top: 4px; }

/* feature / business cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.feature {
  background: #fff; border: 1px solid var(--c-line); border-radius: 6px;
  padding: clamp(28px, 3vw, 40px); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(10,10,11,.18); border-color: transparent; }
.feature .ico { width: 52px; height: 52px; border-radius: 10px; background: var(--c-surface); display: grid; place-items: center; margin-bottom: var(--s-3); color: var(--c-accent); }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature p { color: var(--c-muted); font-size: 15px; }
.feature .idx { font-family: var(--f-mono); font-size: 13px; color: var(--c-faint); letter-spacing: .1em; }

/* ==========================================================================
   Project gallery (masonry-like grid, apax-inspired)
   ========================================================================== */
.gallery { columns: 3; column-gap: clamp(14px, 1.6vw, 22px); }
.gallery .tile { break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 22px); position: relative; border-radius: 5px; overflow: hidden; background: var(--c-surface); }
.gallery .tile img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,11,.78)); opacity: 0; transition: opacity .35s var(--ease); }
.gallery .tile .cap { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 22px; color: #fff; transform: translateY(10px); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.gallery .tile .cap .t { font-size: 1.15rem; font-weight: 700; }
.gallery .tile .cap .s { font-size: 13px; color: rgba(255,255,255,.75); font-family: var(--f-mono); letter-spacing: .05em; }
.gallery .tile:hover img { transform: scale(1.05); }
.gallery .tile:hover::after { opacity: 1; }
.gallery .tile:hover .cap { transform: translateY(0); opacity: 1; }

/* project list rows (alt view) */
.proj-rows { border-top: 1px solid var(--c-line); }
.proj-row { display: grid; grid-template-columns: 60px 1fr auto auto; gap: clamp(16px, 3vw, 48px); align-items: center; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--c-line); transition: padding .3s var(--ease); }
.proj-row:hover { padding-inline: 12px; background: var(--c-surface); }
.proj-row .no { font-family: var(--f-mono); color: var(--c-faint); font-size: 14px; }
.proj-row .nm { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; color: var(--c-ink); }
.proj-row .ty, .proj-row .yr { color: var(--c-muted); font-size: 14px; font-family: var(--f-mono); }
.proj-row .yr { text-align: right; }

/* ==========================================================================
   News list
   ========================================================================== */
.news-list { display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 160px 1fr 40px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--c-line); transition: padding .3s var(--ease); }
.news-item:last-child { border-bottom: 1px solid var(--c-line); }
.news-item:hover { padding-inline: 10px; }
.news-item .date { font-family: var(--f-mono); font-size: 13px; color: var(--c-faint); letter-spacing: .05em; }
.news-item .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--c-accent); background: rgba(234,88,12,.08); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.news-item h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
.news-item .arrow { color: var(--c-faint); transition: transform .25s var(--ease), color .25s var(--ease); }
.news-item:hover .arrow { color: var(--c-accent); transform: translate(4px,-4px); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.info-list { display: flex; flex-direction: column; gap: var(--s-4); }
.info-row { display: flex; gap: var(--s-3); padding-bottom: var(--s-4); border-bottom: 1px solid var(--c-line); }
.info-row .ico { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--c-surface); display: grid; place-items: center; color: var(--c-accent); }
.info-row .ico svg { width: 22px; height: 22px; }
.info-row .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-faint); margin-bottom: 4px; }
.info-row .v { color: var(--c-ink); font-weight: 500; }
.info-row .v small { display: block; color: var(--c-muted); font-weight: 400; font-size: 13.5px; margin-top: 2px; }

.form { display: grid; gap: var(--s-3); }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--c-ink); }
.field label .req { color: var(--c-accent); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 15px; color: var(--c-ink);
  padding: 14px 16px; border: 1px solid var(--c-line); border-radius: 8px; background: #fff;
  min-height: 50px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(234,88,12,.12); }
.field .help { font-size: 12.5px; color: var(--c-faint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }

/* ==========================================================================
   CTA band + Footer
   ========================================================================== */
.cta-band { background: var(--c-ink); color: #fff; border-radius: 8px; padding: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.7); margin-top: 10px; }

.site-footer { background: var(--c-ink); color: rgba(255,255,255,.72); padding-block: clamp(56px, 8vw, 96px) 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); padding-bottom: var(--s-6); border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { color: #fff; font-size: 28px; margin-bottom: var(--s-2); }
.site-footer .f-desc { max-width: 34ch; font-size: 14.5px; }
.f-col h4 { color: #fff; font-size: 13px; font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-3); font-weight: 500; }
.f-col ul { display: flex; flex-direction: column; gap: 12px; }
.f-col a { font-size: 14.5px; transition: color .2s var(--ease); }
.f-col a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: var(--s-4); font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal .biz { flex-basis: 100%; line-height: 1.9; }
.footer-legal .note { color: var(--c-accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: var(--s-3); font-size: 13px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; padding: var(--gutter); gap: 4px;
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-120%); transition: transform .4s var(--ease);
    box-shadow: 0 24px 40px -20px rgba(0,0,0,.2);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--c-line); }
  .nav a::after { display: none; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .proj-row { grid-template-columns: 40px 1fr auto; }
  .proj-row .ty { display: none; }
  .news-item { grid-template-columns: 1fr 32px; }
  .news-item .date { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .card-grid, .gallery, .stats-strip { grid-template-columns: 1fr; columns: 1; }
}

/* ==========================================================================
   Enhancement bundle: featured case · methodology · trust
   ========================================================================== */

/* --- Full-bleed featured case (visual anchor) --- */
.featured-case { position: relative; min-height: clamp(460px, 70vh, 720px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.featured-case .fc-media { position: absolute; inset: 0; z-index: -2; }
.featured-case .fc-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.4) 45%, rgba(10,10,11,.05) 100%); }
.featured-case .fc-inner { width: 100%; padding-block: clamp(40px, 7vw, 90px); }
.featured-case .fc-tag { font-family: var(--f-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--s-3); }
.featured-case .fc-tag::before { content: ""; width: 28px; height: 1px; background: var(--c-accent); }
.featured-case h2 { color: #fff; max-width: 18ch; margin-bottom: var(--s-2); }
.featured-case p { color: rgba(255,255,255,.82); max-width: 46ch; }
.featured-case .fc-meta { display: flex; flex-wrap: wrap; gap: clamp(20px,4vw,56px); margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,.22); }
.featured-case .fc-meta .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.featured-case .fc-meta .v { font-size: 1.05rem; font-weight: 600; color: #fff; }

/* --- Methodology (differentiated perspective) --- */
.method-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.promise { background: var(--c-ink); color: #fff; border-radius: 10px; padding: clamp(28px, 3vw, 40px); position: sticky; top: 100px; }
.promise .big { font-family: var(--f-mono); font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #fff; }
.promise .big span { color: var(--c-accent); }
.promise .cap { color: rgba(255,255,255,.7); margin-top: 12px; font-size: 15px; }
.promise .rule { height: 1px; background: rgba(255,255,255,.14); margin: var(--s-4) 0; }
.promise ul { display: grid; gap: 14px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.85); }
.promise li svg { flex: none; width: 20px; height: 20px; color: var(--c-accent); margin-top: 1px; }
.steps { counter-reset: step; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-3); padding: clamp(20px,2.4vw,28px) 0; border-top: 1px solid var(--c-line); }
.step:last-child { border-bottom: 1px solid var(--c-line); }
.step .n { counter-increment: step; font-family: var(--f-mono); font-size: 15px; font-weight: 600; color: var(--c-accent); }
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: 14.5px; }

/* --- Trust: certifications --- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px,1.6vw,20px); }
.cert { border: 1px solid var(--c-line); border-radius: 8px; padding: clamp(20px,2.4vw,28px); background: #fff; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.cert:hover { transform: translateY(-3px); border-color: var(--c-accent); }
.cert .ci { width: 40px; height: 40px; color: var(--c-accent); margin-bottom: 14px; }
.cert .ci svg { width: 100%; height: 100%; }
.cert .t { font-weight: 700; color: var(--c-ink); font-size: 15px; }
.cert .s { font-size: 13px; color: var(--c-faint); font-family: var(--f-mono); margin-top: 4px; }

/* --- Trust: partner logos --- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 72px); }
.logos span { font-family: var(--f-mono); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.02em; color: var(--c-faint); opacity: .85; transition: color .3s var(--ease); }
.logos span:hover { color: var(--c-ink); }

/* --- Trust: testimonials --- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); }
.testi { border: 1px solid var(--c-line); border-radius: 10px; padding: clamp(26px,3vw,36px); background: #fff; display: flex; flex-direction: column; gap: var(--s-3); }
.testi .quote { color: var(--c-accent); width: 32px; height: 32px; }
.testi blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--c-ink); font-weight: 500; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--c-surface); display: grid; place-items: center; font-weight: 700; color: var(--c-accent); font-family: var(--f-mono); }
.testi .who .nm { font-weight: 600; color: var(--c-ink); font-size: 14.5px; }
.testi .who .rl { font-size: 13px; color: var(--c-muted); }

@media (max-width: 1024px) {
  .method-wrap { grid-template-columns: 1fr; }
  .promise { position: static; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .featured-case::after { background: linear-gradient(180deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,.82) 100%); }
  .featured-case h2 { max-width: none; }
}
@media (max-width: 480px) {
  .certs { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
}

/* ==========================================================================
   Demo badge (fixed, bottom-right)
   ========================================================================== */
.demo-badge {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,10,11,.9); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.4);
}
.demo-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 3px rgba(234,88,12,.25); }
.demo-badge a { color: var(--c-accent); font-weight: 700; }
.demo-badge a:hover { text-decoration: underline; }
@media (max-width: 480px) { .demo-badge { right: 10px; bottom: 10px; font-size: 11.5px; padding: 8px 13px; } }
