/* ============================================================
   Gatolab — static rebuild of www.gatolab.com
   Colors / type sampled from the original Wix site.
   ============================================================ */

:root {
  --bg:        #0c0c0e;
  --bg-soft:   #141417;
  --card:      #19191d;
  --card-2:    #202025;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --gold:      #f7ce21;
  --gold-dim:  #d9b414;
  --blue:      #116dff;
  --head:      #e2e2e6;   /* headings / bright text */
  --text:      #b6b6bd;   /* body text */
  --dim:       #82828a;   /* muted */
  --ink:       #1a1a1a;   /* dark text on gold surfaces */
  --gold-hi:   #ffd83a;   /* gold hover */
  --bg-darker: #0a0a0c;   /* image/media wells */
  --container: 1180px;
  --radius:    10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nanum Gothic", "맑은 고딕", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 한글은 어절(띄어쓰기) 단위로만 줄바꿈 — "가능성/에", "구축사/례" 같은
     어절 중간 끊김 방지. 긴 URL/토큰은 overflow-wrap으로 안전하게 분리. */
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* Keyboard focus ring — visible indicator for keyboard navigation (a11y). */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.fineprint { margin-top: 24px; color: var(--dim); font-size: 13px; }
.hl-gold { color: var(--gold); }
.work-cta { margin-top: 24px; }

h1, h2, h3, h4 {
  color: var(--head);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(12, 12, 14, 0.92);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav .logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a:not(.btn) {
  font-size: 15px;
  color: var(--head);
  font-weight: 700;
  transition: color .15s ease;
}
.nav-links a:not(.btn):hover { color: var(--gold); }
/* current page indicator (wayfinding) */
.nav-links a.is-active:not(.btn) { color: var(--gold); }
/* keep the gold CTA button's dark text readable */
.nav-links a.btn-gold { color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--head);
  margin: 5px 0;
  transition: .25s;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;   /* the fixed particle wave behind shows through */
}

/* ---------- particle wave canvases ---------- */
/* main wave: pinned to the viewport, covered by the opaque sections below it */
.wave-fixed {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* per-section waves: fill their section, behind the content */
.wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* the credentials equalizer sits only along the bottom of its section */
.band-canvas { inset: auto 0 0 0; height: 280px; }

/* darken the left so the headline stays readable (matches the original) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(8,8,10,.92) 0%, rgba(8,8,10,.6) 38%, rgba(8,8,10,.05) 72%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.hero p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.9;
  margin: 0 0 32px;
  max-width: 520px;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { position: relative; z-index: 1; padding: 104px 0; }
.section-dark { background: var(--bg); }
.section-soft { background: var(--bg-soft); }

.section-title {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 14px;
}
.section-lead { color: var(--text); max-width: 640px; }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

/* Unified section header — gold English eyebrow + Korean title, left-aligned.
   Promoted from the about-hero pattern to a site-wide standard. */
.eyebrow {
  display: block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
}
.sec-head { margin-bottom: 40px; }
.sec-head .eyebrow { margin-bottom: 10px; }
.sec-head .section-title { font-size: clamp(26px, 3vw, 34px); }
.sec-head .section-lead { margin-top: 12px; }
/* small gold column label (핵심 가치 / 주요 기능) */
.col-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ============================================================
   Gato A.I.  (left brand + benefits | right feature cards)
   ============================================================ */
.gato {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.gato-intro h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.gato-intro p { margin-bottom: 38px; max-width: 360px; }

.benefits { display: flex; flex-direction: column; gap: 22px; }
.benefit {
  display: flex;
  align-items: center;
  gap: 16px;
}
.benefit .ic {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--gold);
  border-radius: 11px;
  color: #1b1b14;            /* dark glyph on the gold badge */
  box-shadow: 0 6px 16px rgba(247,206,33,.18);
}
.benefit .ic svg { width: 23px; height: 23px; }
.benefit b { color: var(--head); font-size: 15px; font-weight: 700; line-height: 1.3; }

/* feature cards — staggered masonry feel */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;   /* 카드를 콘텐츠 높이로 — 같은 행에서 늘어나 바닥이 수평 정렬되는 것 방지(지그재그 유지) */
}
.feature-cards .card:nth-child(odd)  { margin-top: 0; }
.feature-cards .card:nth-child(even) { margin-top: 46px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card .ic {
  color: var(--gold);
  margin-bottom: 18px;
}
.card .ic svg { width: 42px; height: 42px; }
.card h3 {
  font-size: 19px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.card ul li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  color: var(--text);
  margin: 9px 0;
  line-height: 1.55;
}
.card ul li::before {
  content: "›";
  position: absolute; left: 0;
  color: var(--gold);
}

/* ============================================================
   Environment + Preview (one section, shared ripple field)
   ============================================================ */
/* The ripple canvas fills the whole merged section; keep it clipped and
   lift both content blocks above it. */
#stack { overflow: hidden; }
#stack .container { position: relative; z-index: 1; }
/* breathing room between the 사전 제공 환경 block and the preview gallery
   (they used to be two sections with their own padding). */
#stack .preview { margin-top: 96px; }

/* ============================================================
   Preview gallery
   ============================================================ */
.preview { display: grid; grid-template-columns: 0.7fr 2fr; gap: 48px; align-items: start; }
/* Title sits at the top of the left rail; the empty space below lets the
   section-wide ripple field show through. */
.preview-head { position: relative; }
.preview-head .preview-title { position: relative; z-index: 1; }
.preview-head .eyebrow { margin-bottom: 8px; }
.preview-head h2 { font-size: clamp(26px, 3vw, 34px); }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: #000;
  position: relative;
}
.gallery img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform .35s ease, opacity .2s ease;
}
.gallery figure:hover img { transform: scale(1.06); opacity: .85; }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 8px 10px;
  font-size: 12px;
  color: #e9e9ec;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery figure:hover figcaption { opacity: 1; }

/* ============================================================
   IP / credentials
   ============================================================ */
.certs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.cert { text-align: center; }
.cert .frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
  padding: 10px;
  cursor: zoom-in;
}
.cert .frame img { width: 100%; aspect-ratio: 176 / 251; object-fit: cover; border-radius: 4px; }
.cert .tag {
  display: inline-block;
  margin: 16px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
.cert h4 { font-size: 13px; color: var(--head); font-weight: 700; line-height: 1.45; }
.cert p { font-size: 12.5px; color: var(--text); margin: 4px 0 0; }

/* ============================================================
   References
   ============================================================ */
.refs-row {
  display: grid;
  grid-template-columns: 0.5fr repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.refs-row > * { padding: 40px 24px; }
.refs-title { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.refs-title .eyebrow { font-size: 12px; }
.refs-title h2 { font-size: 22px; }
.ref {
  text-align: center;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.ref .logo-wrap {
  height: 46px;
  display: flex; align-items: center; justify-content: center;
}
.ref .logo-wrap img { max-height: 46px; width: auto; object-fit: contain; }
.ref p { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.5; }

/* ============================================================
   CTA
   ============================================================ */
#ip { overflow: hidden; }
#ip .container { position: relative; z-index: 1; }

/* Showcase: references row + CTA combined in one bordered card (as on the original) */
.showcase {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 60% 0%, rgba(17,109,255,.05), transparent 50%),
    #0e0e11;
}
.cta {
  position: relative;
  background: radial-gradient(circle at 20% 70%, rgba(247,206,33,.08), transparent 48%);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 70px 56px;
  min-height: 380px;
}
.cta .cta-text { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.4; }
.cta .cta-right { position: relative; z-index: 2; text-align: right; }
.cta .cta-right p { font-size: 14px; color: var(--text); margin: 0 0 22px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 64px 0 72px;
  overflow: hidden;
}
.site-footer .watermark {
  position: absolute;
  right: -30px; bottom: -40px;
  width: 420px;
  opacity: .5;
  pointer-events: none;
}
.footer-logo img { height: 36px; margin-bottom: 26px; }
.footer-info { font-size: 13.5px; color: var(--dim); line-height: 1.9; position: relative; z-index: 2; }
.footer-info a { color: var(--dim); }
.footer-info a:hover { color: var(--gold); }

/* ============================================================
   About page
   ============================================================ */
.page-hero {
  padding: 150px 0 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(17,109,255,.1), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 2px; font-size: 13px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 14px 0 18px; }
.page-hero p { max-width: 620px; }

.about-grid { display: grid; grid-template-columns: 0.5fr 1.5fr; gap: 48px; }
.about-grid + .about-grid { margin-top: 64px; }
.block-title { font-size: 24px; position: relative; padding-left: 16px; }
.block-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; background: var(--gold); border-radius: 2px;
}

/* timeline */
.timeline { border-left: 1px solid var(--line); padding-left: 26px; }
.timeline li { position: relative; margin-bottom: 16px; font-size: 14.5px; color: var(--text); }
.timeline li::before {
  content: ""; position: absolute; left: -31px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
}
.timeline li .yr { color: var(--gold); font-weight: 700; margin-left: 8px; font-size: 13px; }

.facts { display: flex; flex-direction: column; gap: 22px; }
.fact h3 { color: var(--dim); font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--head); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  font-size: 13px; padding: 6px 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text);
}

/* team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.member {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.member .name { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.member .name h3 { font-size: 20px; }
.member .role { color: var(--gold); font-size: 13px; font-weight: 700; }
.member .edu { color: var(--dim); font-size: 13px; margin: 0 0 16px; }
.member ul li { font-size: 13.5px; color: var(--text); padding-left: 14px; position: relative; margin: 6px 0; }
.member ul li::before { content: "·"; position: absolute; left: 2px; color: var(--gold); }

/* projects (외주 개발 실적) */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.proj-card { padding: 0; overflow: hidden; }
.proj-cover { display: block; cursor: pointer; overflow: hidden; background: var(--bg-darker); border-bottom: 1px solid var(--line); }
.proj-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .4s ease, opacity .25s ease; }
.proj-cover:hover img { transform: scale(1.05); opacity: .88; }
.proj-body { padding: 24px 26px 28px; }
.proj-card .proj-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.proj-card h3 { font-size: 19px; padding: 0; margin: 0; border: 0; }
.proj-card .yr { flex: 0 0 auto; color: var(--gold); font-weight: 700; font-size: 13px; }
.proj-card .lead { color: var(--head); font-size: 14.5px; margin: 0 0 14px; line-height: 1.6; }
.proj-card .tags { margin-top: 16px; }

/* solutions (자사 보유 솔루션) — alternating feature rows */
.solutions { display: flex; flex-direction: column; gap: 30px; }
.solution { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.solution:nth-child(even) .sol-media { order: 2; }
.sol-media { display: block; cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-darker); }
.sol-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .4s ease, opacity .25s ease; }
.sol-media:hover img { transform: scale(1.04); opacity: .9; }
.sol-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sol-head h3 { font-size: 24px; }
.sol-head .badge { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--gold); padding: 3px 11px; border-radius: 999px; }
.sol-body .lead { color: var(--head); font-size: 16px; margin: 0 0 16px; }
.sol-body ul { margin-bottom: 18px; }
.sol-body ul li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text); margin: 8px 0; line-height: 1.55; }
.sol-body ul li::before { content: "›"; position: absolute; left: 0; color: var(--gold); }
.sol-body .tags { margin-bottom: 22px; }

/* work detail pages (project-* / solution-*) */
.work-hero .back-link { display: inline-block; color: var(--dim); font-size: 13.5px; font-weight: 700; margin-bottom: 18px; transition: color .2s ease; }
.work-hero .back-link:hover { color: var(--gold); }
.work-hero h1 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
.work-hero .work-yr { font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: 1px; }
.work-hero .tags { margin-top: 22px; }
.work-grid { display: grid; grid-template-columns: 0.5fr 1.5fr; gap: 48px; align-items: start; }
.work-meta { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.work-fact h3 { color: var(--dim); font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.work-fact p { margin: 0; color: var(--head); }
.work-features { display: flex; flex-direction: column; gap: 26px; }
.work-feature h3 { font-size: 17px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.work-feature ul li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--text); margin: 8px 0; line-height: 1.6; }
.work-feature ul li::before { content: "›"; position: absolute; left: 0; color: var(--gold); }
/* 'more' link on about cards */
.work-more { margin-top: 20px; }

/* skills */
.skill-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.skill-col h3 { color: var(--gold); font-size: 15px; margin-bottom: 14px; }
.skill-col .tags { flex-direction: column; align-items: flex-start; gap: 8px; }

/* IP list */
.ip-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ip-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.ip-col h3 { color: var(--head); font-size: 16px; margin-bottom: 14px; }
.ip-col ul li { font-size: 13.5px; color: var(--text); margin: 8px 0; padding-left: 14px; position: relative; }
.ip-col ul li::before { content: "›"; position: absolute; left: 0; color: var(--gold); }

.contact-line { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14.5px; color: var(--text); }
.contact-line .lbl { color: var(--gold); font-weight: 700; margin-right: 8px; }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 30px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .close {
  position: absolute; top: 22px; right: 28px;
  font-size: 34px; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1;
}

/* ============================================================
   Scroll-reveal animations
   ============================================================ */
.js .reveal > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1);
}
.js .reveal.in > * { opacity: 1; transform: none; }
/* stagger children as the group reveals */
.js .reveal.in > *:nth-child(1) { transition-delay: 0s; }
.js .reveal.in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal.in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal.in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal.in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal.in > *:nth-child(6) { transition-delay: .40s; }
.js .reveal.in > *:nth-child(7) { transition-delay: .48s; }
.js .reveal.in > *:nth-child(8) { transition-delay: .56s; }
.js .reveal.in > *:nth-child(9) { transition-delay: .64s; }

/* hover life */
.card, .member { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.card:hover, .member:hover { transform: translateY(-4px); border-color: rgba(247,206,33,.4); }
.cert .frame { transition: transform .25s ease, box-shadow .25s ease; }
.cert .frame:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.ref { transition: background .25s ease; }
.ref:hover { background: rgba(255,255,255,.03); }
.tag-chip { transition: border-color .2s ease, color .2s ease; }
.tag-chip:hover { border-color: var(--gold); color: var(--head); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .gato { grid-template-columns: 1fr; gap: 44px; }
  .preview { grid-template-columns: 1fr; gap: 28px; }
  .preview-head .preview-title { position: static; }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .refs-row { grid-template-columns: repeat(2, 1fr); }
  .refs-title { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .ref:nth-child(2), .ref:nth-child(4) { border-left: 0; }
  .skill-cols { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .work-grid { grid-template-columns: 1fr; gap: 30px; }
  .work-meta { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12,12,14,.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-cards .card:nth-child(even) { margin-top: 0; }
  .projects { grid-template-columns: 1fr; }
  .solution { grid-template-columns: 1fr; gap: 20px; }
  .solution .sol-media { order: 0 !important; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .ip-cols { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; text-align: left; padding: 44px 28px; }
  .cta .cta-right { text-align: left; }
  .team { grid-template-columns: 1fr; }
  .site-footer .watermark { width: 280px; opacity: .35; }
}

@media (max-width: 480px) {
  .certs { grid-template-columns: repeat(2, 1fr); }
  .refs-row { grid-template-columns: 1fr; }
  .ref { border-left: 0; border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr; }
  .skill-cols { grid-template-columns: 1fr; }
}
