/* ============================================================
   DECACORN CONSULTANCY — "Editorial Poster" variant
   ============================================================ */

:root {
  --cream: #F7F2EE;
  --cream-deep: #F1EAE3;
  --yellow: #F2B70A;
  --yellow-pale: #E9C56A;
  --black: #111111;
  --gray-bubble: #DBD8D5;
  --gray-bubble-dark: #B9B5B1;
  --gray-dark: #595959;
  --white: #FFFFFF;
  --ink-soft: #3D3A37;
  --radius-lg: 36px;
  --radius-md: 26px;
  --font-head: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Poppins", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 94px 0;
}

/* ---------- typography ---------- */

h1, h2, h3, .process-title, .mantra-head {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.16;
  letter-spacing: 0.012em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: 0.03em; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.kicker-square {
  width: 11px;
  height: 11px;
  background: var(--yellow);
  flex: none;
}

/* black highlight box behind a phrase (single line, tilted) */
.hl-tilt {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 0.06em 0.3em 0.1em;
  border-radius: 4px;
  transform: rotate(-1deg);
}

/* yellow brush underline */
.u-yellow {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.u-yellow::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.02em;
  height: 0.3em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 3px;
  transform: rotate(-0.6deg);
}

/* yellow rule with square endpoints (signature motif) */
.rule-squares {
  display: flex;
  align-items: center;
  width: 120px;
  height: 8px;
  margin-top: 4px;
}
.rule-squares::before,
.rule-squares::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--yellow);
  flex: none;
}
.rule-squares::before { margin-right: -1px; }
.rule-squares::after { margin-left: -1px; }
.rule-squares {
  background: linear-gradient(var(--yellow), var(--yellow)) center / 100% 2.5px no-repeat;
}

/* ---------- shared decorative atoms ---------- */

.dots {
  position: absolute;
  background-image: radial-gradient(var(--black) 1.7px, transparent 1.8px);
  background-size: 15px 15px;
  opacity: 0.5;
  pointer-events: none;
}

.spark { position: absolute; pointer-events: none; }
.spark svg { width: 100%; height: 100%; display: block; }

.swoosh { position: absolute; pointer-events: none; }

.qc {
  position: absolute;
  background: var(--yellow);
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  pointer-events: none;
}

.big-icon { display: block; pointer-events: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { box-shadow: 0 10px 22px rgba(17, 17, 17, 0.22); }

.btn-outline {
  border: 2.5px solid var(--black);
  color: var(--black);
  background: transparent;
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-yellow:hover { box-shadow: 0 10px 24px rgba(242, 183, 10, 0.35); }

.btn-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  flex: none;
}
.btn-dot-dark { background: var(--black); }

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--black);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 238, 0.97);
  border-bottom: 1.5px solid rgba(17, 17, 17, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand img { width: 62px; height: auto; }

.site-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--yellow);
  transition: right 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 0; }
.nav-links a:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

.nav-cta { padding: 12px 24px; font-size: 0.88rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 46px;
  height: 46px;
  background: var(--black);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  padding: 0 11px;
}
.burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger span:nth-child(2) { background: var(--yellow); width: 70%; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.burger:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 { margin-bottom: 26px; max-width: 18ch; }

.lede {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-rule { margin-top: 48px; }

/* hero art: the "eye" composition */
.hero-art {
  position: relative;
  max-width: 560px;
  margin-left: auto;
}

.eye-svg { width: 100%; height: auto; display: block; }

.eye-logo {
  position: absolute;
  left: 50%;
  top: 50.5%;
  transform: translate(-50%, -50%);
  width: 45%;
  height: auto;
}

.swoosh-hero {
  width: 86px;
  height: 86px;
  top: -34px;
  right: -6px;
  transform: rotate(12deg);
}

.spark-a { width: 26px; height: 26px; top: 16px; left: -26px; }
.spark-b { width: 18px; height: 18px; bottom: -4px; right: 36px; }

.dots-hero {
  width: 120px;
  height: 86px;
  bottom: -28px;
  left: -34px;
}

.dots-hero-left {
  width: 100px;
  height: 150px;
  left: 28px;
  bottom: 56px;
  opacity: 0.28;
}

.qc-hero {
  width: 250px;
  height: 250px;
  right: 0;
  bottom: 0;
  border-radius: 100% 0 0 0;
  opacity: 0.95;
  z-index: 1;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */

.marquee-section { padding: 8px 0 0; }

.marquee {
  background: var(--black);
  border-radius: 22px;
  overflow: hidden;
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee-group span {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--white);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 0 30px;
}

.marquee-group i {
  font-style: normal;
  color: var(--yellow);
  font-size: 1.3rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   MISSION
   ============================================================ */

.mission { overflow: hidden; }

.mission-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 70px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.mission h2 { margin-bottom: 34px; }

/* speech bubble (signature motif: one tight corner + tail) */
.bubble {
  position: relative;
  background: var(--gray-bubble);
  border-radius: 40px 40px 40px 10px;
  padding: 40px 44px;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--black);
}
.bubble::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -30px;
  width: 38px;
  height: 32px;
  background: var(--gray-bubble-dark);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.bubble-sm {
  font-size: 1.02rem;
  padding: 26px 28px;
  border-radius: 28px 28px 28px 8px;
}
.bubble-sm::after {
  width: 26px;
  height: 22px;
  bottom: -21px;
  left: 24px;
}

.mission-tag {
  margin-top: 64px;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
}

.mission-right { position: relative; }

.vision-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 2.5px solid var(--black);
  border-radius: var(--radius-md);
  padding: 36px 36px 32px;
  box-shadow: 9px 9px 0 var(--yellow);
}

.vision-icon {
  display: inline-flex;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
}
.vision-icon svg { width: 100%; height: 100%; }

.vision-card h3 { margin-bottom: 12px; }
.vision-card p { color: var(--ink-soft); font-size: 0.98rem; }
.vision-card .rule-squares { margin-top: 22px; }

.big-target {
  position: absolute;
  width: 230px;
  right: -54px;
  bottom: -158px;
  opacity: 0.9;
  z-index: 1;
}

.dots-mission {
  width: 100px;
  height: 80px;
  top: -34px;
  right: -10px;
  opacity: 0.35;
}

.qc-mission {
  width: 210px;
  height: 210px;
  left: 0;
  bottom: 0;
  border-radius: 0 100% 0 0;
  opacity: 0.9;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services { overflow: hidden; }

.blob-services {
  width: 130px;
  top: 0;
  right: 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 62px;
}

.section-head h2 { margin-bottom: 20px; }

.section-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.svc {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 88px 28px 34px;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(17, 17, 17, 0.12);
}

.svc-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(17, 17, 17, 0.38);
}

.svc-icon {
  position: absolute;
  top: 22px;
  left: 26px;
  width: 64px;
  height: 64px;
  background: var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.svc-icon svg { width: 38px; height: 38px; }

.svc h3 { margin-bottom: 12px; }
.svc p { color: var(--ink-soft); font-size: 0.94rem; }

.svc-dark { background: var(--black); }
.svc-dark h3 { color: var(--white); }
.svc-dark p { color: rgba(255, 255, 255, 0.78); }
.svc-dark .svc-num { -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.5); }

/* ============================================================
   PROCESS STRIP
   ============================================================ */

.process { padding-top: 30px; }

.process-card {
  position: relative;
  background: var(--white);
  border: 2.5px solid var(--black);
  border-radius: var(--radius-lg);
  padding: 64px 56px 58px;
  text-align: center;
  overflow: hidden;
}
.process-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  background: var(--yellow);
  right: 0;
  top: 0;
  border-radius: 0 0 0 100%;
}
.process-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--cream-deep);
  left: 0;
  bottom: 0;
  border-radius: 0 100% 0 0;
}

.process-title {
  position: relative;
  z-index: 2;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 52px;
}
.process-title .hl-tilt { margin-top: 10px; }

.process-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.step-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
}
.step-icon svg { width: 64px; height: 64px; }

.step h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 1.06rem; letter-spacing: 0; }

.step .rule-squares { width: 86px; margin: 0; }

.step-divider {
  width: 2px;
  height: 110px;
  background: rgba(17, 17, 17, 0.16);
}

/* ============================================================
   ABOUT
   ============================================================ */

.about { overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-art { position: relative; min-height: 420px; }

.big-monitor {
  width: 92%;
  max-width: 440px;
  margin-top: 20px;
}

.net-icon {
  position: absolute;
  width: 190px;
  right: -8px;
  bottom: -30px;
  background: transparent;
}

.dots-about {
  width: 110px;
  height: 90px;
  left: -16px;
  bottom: -8px;
  opacity: 0.32;
}

.about-copy h2 { margin-bottom: 28px; max-width: 18ch; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; max-width: 56ch; }

.about-list {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 1.04rem;
}

.mini-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.1);
}
.mini-icon svg { width: 34px; height: 34px; }

.qc-about {
  width: 230px;
  height: 230px;
  right: 0;
  top: 0;
  border-radius: 0 0 0 100%;
  opacity: 0.16;
}

/* ============================================================
   MANTRAS / POSTER WALL
   ============================================================ */

.mantras { padding-top: 30px; }

.mantra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.mantra {
  position: relative;
  border-radius: var(--radius-md);
  min-height: 360px;
  padding: 36px 32px;
  overflow: hidden;
}

.mantra-bubble {
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.mantra-bubble .mantra-logo { width: 84px; }
.mantra-bubble .rule-squares { width: 90px; margin: 0; }
.mantra-bubble .bubble-sm { margin-top: 6px; text-align: center; }

.mantra-target {
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.07);
}

.mantra-head {
  font-size: clamp(1.4rem, 1.9vw, 1.8rem);
  line-height: 1.12;
  position: relative;
  z-index: 2;
}

.mantra-target .mantra-head { max-width: 11ch; }

.mantra-icon {
  position: absolute;
  width: 150px;
  height: 150px;
  right: 22px;
  bottom: 26px;
  z-index: 2;
}
.mantra-icon svg { width: 100%; height: 100%; }

.dots-mantra {
  width: 86px;
  height: 64px;
  right: 28px;
  top: 28px;
  opacity: 0.4;
}

.qc-mantra {
  width: 150px;
  height: 150px;
  left: 0;
  bottom: 0;
  border-radius: 0 100% 0 0;
}

.mantra-dark {
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mantra-dark .mantra-logo { width: 74px; }

.swoosh-mantra {
  width: 74px;
  height: 74px;
  right: 26px;
  bottom: 24px;
  transform: rotate(100deg);
}

.spark-mantra { width: 22px; height: 22px; right: 36px; top: 32px; }

/* ============================================================
   CTA
   ============================================================ */

.cta { padding-top: 30px; }

.cta-card {
  position: relative;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 78px 40px 74px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.cta-logo { width: 96px; margin: 0 auto 26px; }

.cta-card h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  margin-bottom: 18px;
}

.cta-card .u-yellow { color: var(--white); }
.cta-card .u-yellow::after { height: 0.16em; bottom: -0.05em; }

.cta-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  margin-bottom: 38px;
}

.swoosh-cta {
  width: 110px;
  height: 110px;
  left: 48px;
  bottom: 38px;
  transform: rotate(190deg);
  opacity: 0.95;
}

.dots-cta {
  width: 130px;
  height: 92px;
  right: 52px;
  top: 48px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1.6px, transparent 1.7px);
  opacity: 0.5;
}

.spark-cta { width: 30px; height: 30px; left: 70px; top: 64px; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact { overflow: hidden; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-copy h2 { margin-bottom: 20px; max-width: 16ch; }

.big-hand {
  width: 250px;
  margin-top: 20px;
}

.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px 13px 13px;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pill:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.25);
}
.pill:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.pill-icon {
  width: 46px;
  height: 46px;
  flex: none;
  background: var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pill-icon svg { width: 24px; height: 24px; }

.pill-text { letter-spacing: 0.02em; }

.qc-contact {
  width: 190px;
  height: 190px;
  left: 0;
  top: 0;
  border-radius: 0 0 100% 0;
  opacity: 0.16;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  border-top: 2px solid rgba(17, 17, 17, 0.1);
  padding: 46px 0 38px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-inner img { width: 72px; }

.footer-slogan {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.footer-copy {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

/* hidden state only applies when JS is running (html.js set by script.js),
   so content stays visible without JavaScript */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease var(--d, 0s), transform 0.7s ease var(--d, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .btn, .pill, .svc { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}

@media (max-width: 920px) {
  .section { padding: 64px 0; }

  .section-head { margin-bottom: 44px; }

  .hero { padding: 42px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { max-width: none; }
  .hero-art { margin: 8px auto 0; max-width: 420px; }
  .dots-hero-left { display: none; }
  .qc-hero { width: 150px; height: 150px; }
  .hero-rule { margin-top: 30px; }
  .lede { margin-bottom: 30px; }

  .mission h2 { margin-bottom: 26px; }
  .mission-grid { grid-template-columns: 1fr; gap: 76px; }
  .mission-tag { margin-top: 52px; }
  .big-target { width: 170px; bottom: -96px; right: -16px; }

  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-art { min-height: 0; max-width: 440px; }
  .net-icon { width: 140px; right: 4px; bottom: -16px; }

  .mantra-grid { grid-template-columns: 1fr; gap: 18px; }
  .mantra { min-height: 270px; }

  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .big-hand { width: 200px; margin-top: 12px; }

  .process-card { padding: 46px 32px 42px; }
  .process-title { margin-bottom: 38px; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .step-divider { width: 110px; height: 2px; margin: 0 auto; }

  /* mobile nav */
  .burger { display: flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 1.5px);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid rgba(17, 17, 17, 0.1);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px max(4%, 24px) 26px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .nav-links a {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 12px 0;
  }
  .nav-cta { margin-top: 10px; }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }

  h1 { font-size: clamp(2.35rem, 11vw, 2.9rem); }

  .marquee-group span { font-size: 1.1rem; padding: 0 20px; }
  .marquee { border-radius: 18px; padding: 16px 0; }

  .svc-grid { grid-template-columns: 1fr; }

  .bubble { padding: 30px 26px; font-size: 1.05rem; }

  .mission-tag { font-size: 1.2rem; }

  .cta-card { padding: 70px 26px 64px; }
  .swoosh-cta { width: 70px; height: 70px; left: 22px; bottom: 18px; }
  .dots-cta { width: 90px; height: 64px; right: 20px; top: 24px; }
  .spark-cta { left: 34px; top: 40px; }

  .pill { font-size: 0.86rem; padding-right: 18px; }
  .pill-icon { width: 40px; height: 40px; }

  .mantra-icon { width: 110px; height: 110px; right: 16px; bottom: 18px; }

  .qc-mission { width: 140px; height: 140px; }
  .blob-services { width: 90px; }

  .big-target { width: 140px; bottom: -84px; }
}

/* ============================================================
   AI SOLUTIONS — "NEURAL NIGHT" (appended layer)
   Full-width black panel: neural-network illustration, ✦ spark
   field, yellow dot grid, 2×2 inverted feature cards.
   ============================================================ */

.ai { padding-top: 30px; }

.ai-panel {
  position: relative;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 84px 64px 66px;
  color: var(--white);
  overflow: hidden;
}

/* --- top composition: copy + neural net --- */

.ai-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 58px;
}

.kicker-light { color: rgba(255, 255, 255, 0.72); }

.ai-copy h2 {
  color: var(--white);
  margin-bottom: 24px;
}

/* yellow highlight box (inverse of .hl-tilt) — black text on yellow */
.hl-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 0.06em 0.3em 0.1em;
  border-radius: 4px;
  transform: rotate(-1deg);
  margin-top: 0.18em;
  white-space: nowrap;
}

.ai-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 46ch;
}

.ai-copy .rule-squares { margin-top: 30px; }

.ai-art { position: relative; }

.ai-neural {
  display: block;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
}

/* --- feature cards (services cards, inverted) --- */

.ai-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ai-card {
  position: relative;
  background: #1D1A17;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 86px 30px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ai-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 183, 10, 0.6);
}

.ai-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.45);
}

.ai-chip {
  position: absolute;
  top: 22px;
  left: 26px;
  width: 64px;
  height: 64px;
  background: var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.ai-chip svg { width: 38px; height: 38px; }

.ai-card h3 { color: var(--white); margin-bottom: 12px; }
.ai-card p { color: rgba(255, 255, 255, 0.74); font-size: 0.94rem; }

/* --- closing line --- */

.ai-close {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  text-align: center;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.2;
}
.ai-panel .u-yellow::after { height: 0.16em; bottom: -0.05em; }

/* --- decorative field --- */

.dots-ai {
  width: 124px;
  height: 76px;
  left: 50px;
  bottom: 48px;
  background-image: radial-gradient(var(--yellow) 1.6px, transparent 1.7px);
  opacity: 0.5;
  z-index: 1;
}

.spark-ai-a { width: 26px; height: 26px; top: 42px; right: 46px; }
.spark-ai-b { width: 14px; height: 14px; top: 130px; right: 26%; opacity: 0.85; }
.spark-ai-c { width: 18px; height: 18px; bottom: 64px; right: 64px; }
.spark-ai-d { width: 12px; height: 12px; top: 56%; left: 38px; opacity: 0.8; }

/* --- responsive --- */

@media (max-width: 920px) {
  .ai-panel { padding: 58px 36px 52px; }

  .ai-top {
    grid-template-columns: 1fr;
    gap: 46px;
    margin-bottom: 46px;
  }

  .ai-copy h2 { max-width: none; }

  .ai-neural {
    max-width: 360px;
    margin-inline: auto;
  }

  .ai-close { margin-top: 46px; }

  .spark-ai-b { top: auto; bottom: 38%; right: 30px; }
}

@media (max-width: 700px) {
  .ai-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 560px) {
  .ai { padding-top: 30px; }
  .ai-panel { padding: 54px 24px 50px; border-radius: 30px; }

  .ai-sub { font-size: 1rem; }

  .ai-neural { max-width: 300px; }

  .dots-ai { width: 64px; height: 60px; left: 22px; bottom: 30px; }
  .spark-ai-a { width: 20px; height: 20px; top: 26px; right: 26px; }
  .spark-ai-c { bottom: 34px; right: 32px; }
  .spark-ai-d { display: none; }
}

/* ============================================================
   FUTURISTIC INTERACTION LAYER
   (scroll progress, living eye, neural canvas, AI console,
    magnetic buttons, card tilt, twinkling sparks, grain)
   ============================================================ */

/* ---------- scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 220;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(242, 183, 10, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- living eye (pupil follows the cursor) ---------- */
.js .eye-logo {
  transform: translate(calc(-50% + var(--ex, 0px)), calc(-50% + var(--ey, 0px)));
  transition: transform 0.16s ease-out;
  will-change: transform;
}
@keyframes eye-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.014); }
}
.js .eye-svg {
  animation: eye-breathe 5.5s ease-in-out infinite;
  transform-origin: 50% 50%;
}

/* ---------- twinkling sparks (the ✦ comes alive) ---------- */
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.32) rotate(14deg); opacity: 0.6; }
}
.js .spark svg { animation: twinkle 3.4s ease-in-out infinite; }
.js .spark-b svg, .js .spark-ai-b svg, .js .spark-mantra svg { animation-delay: 1.2s; }
.js .spark-ai-c svg, .js .spark-cta svg { animation-delay: 2.1s; }
.js .spark-ai-d svg { animation-delay: 0.6s; }

/* ---------- ambient neural canvas inside the AI panel ---------- */
.ai-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}
.ai-grid, .ai-close { position: relative; z-index: 2; }

/* ---------- AI console (terminal card) ---------- */
.ai-console {
  margin-top: 26px;
  max-width: 440px;
  background: #0A0908;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
.ai-console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
}
.ai-console-bar span { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ai-console-bar .dot-y { background: var(--yellow); }
.ai-console-bar .dot-g { background: var(--gray-dark); }
.ai-console-bar .dot-w { background: rgba(255, 255, 255, 0.3); }
.ai-console-bar em {
  margin-left: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.ai-console-body {
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--yellow);
  padding: 15px 18px 17px;
  min-height: 118px;
  white-space: pre-wrap;
  word-break: break-word;
}
.ai-caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background: var(--yellow);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* ---------- magnetic buttons & card tilt ---------- */

/* ---------- marquee: pause on hover ---------- */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- responsive & reduced motion ---------- */
@media (max-width: 920px) {
  .ai-console { max-width: 100%; }
  .ai-console-body { min-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .eye-svg { animation: none; }
  .js .spark svg { animation: none; }
  .ai-caret { animation: none; }
  .js .eye-logo { transition: none; }
  .scroll-progress span { box-shadow: none; }
}

/* ============================================================
   CARD INTERACTION 2.0
   (cursor spotlight, orbiting energy ring, 3D depth pop,
    self-drawing icons, pill arrows)
   ============================================================ */

@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- cursor spotlight (follows pointer inside card) ---------- */
.js .svc::after,
.js .ai-card::after,
.js .mantra::after,
.js .vision-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(242, 183, 10, 0.14),
    transparent 65%
  );
}
.js .ai-card::after,
.js .mantra-dark::after {
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(242, 183, 10, 0.24),
    transparent 62%
  );
}
.js .svc:hover::after,
.js .ai-card:hover::after,
.js .mantra:hover::after,
.js .vision-card:hover::after { opacity: 1; }

/* ---------- orbiting energy ring on the card border ---------- */
.js .svc::before,
.js .ai-card::before,
.js .mantra::before,
.js .vision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2.5px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: conic-gradient(
    from var(--ang),
    rgba(242, 183, 10, 0) 0% 70%,
    rgba(242, 183, 10, 0.95) 86%,
    rgba(242, 183, 10, 0) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.js .svc:hover::before,
.js .ai-card:hover::before,
.js .mantra:hover::before,
.js .vision-card:hover::before {
  opacity: 1;
  animation: ring-spin 1.9s linear infinite;
}
@keyframes ring-spin { to { --ang: 360deg; } }

/* ---------- 3D depth pop (icons & numbers float above the card) ---------- */
.js .svc,
.js .ai-card,
.js .mantra,
.js .vision-card { transform-style: preserve-3d; }

.js .svc-icon,
.js .ai-chip,
.js .vision-icon,
.js .mantra-logo,
.js .mantra-icon,
.js .svc-num,
.js .ai-num { transition: transform 0.3s ease, color 0.3s ease; }

.js .svc:hover .svc-icon,
.js .ai-card:hover .ai-chip {
  transform: translateZ(30px) scale(1.1) rotate(-4deg);
}
.js .vision-card:hover .vision-icon { transform: translateZ(24px) scale(1.08); }
.js .mantra:hover .mantra-logo,
.js .mantra:hover .mantra-icon { transform: translateZ(22px) scale(1.05); }

.js .svc:hover .svc-num { color: var(--yellow); transform: translateZ(18px); }
.js .ai-card:hover .ai-num {
  color: var(--yellow);
  -webkit-text-stroke-color: var(--yellow);
  transform: translateZ(18px);
}

/* ---------- contact pills: arrow slides in, icon tips its hat ---------- */
.js .pill-icon { transition: transform 0.25s ease; }
.js .pill::after {
  content: "→";
  margin-left: auto;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--yellow);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.js .pill:hover::after { opacity: 1; transform: none; }
.js .pill:hover .pill-icon { transform: rotate(-10deg) scale(1.08); }

/* ---------- reduced motion: calm everything down ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .svc::before, .js .ai-card::before, .js .mantra::before, .js .vision-card::before,
  .js .svc::after, .js .ai-card::after, .js .mantra::after, .js .vision-card::after {
    display: none;
  }
  .js .svc-icon, .js .ai-chip, .js .vision-icon, .js .mantra-logo,
  .js .mantra-icon, .js .svc-num, .js .ai-num, .js .pill-icon { transition: none; }
}

/* ============================================================
   GALAXY ORBIT — mantras orbit the Decacorn world
   ============================================================ */

.galaxy {
  --rx1: 215px;
  --rx2: 330px;
  --squash: 0.72;
  position: relative;
  margin-top: 46px;
  min-height: 690px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 50% 42%, #1A1612 0%, #0B0A09 68%);
}

.galaxy-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- orbit rings (ellipses) ---------- */
.galaxy-rings { position: absolute; inset: 0; pointer-events: none; }
.g-ring {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) translate(var(--gx, 0px), var(--gy, 0px));
  border-radius: 50%;
  transition: transform 0.4s ease-out;
}
.g-ring-1 {
  width: calc(var(--rx1) * 2);
  height: calc(var(--rx1) * 2 * var(--squash));
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}
.g-ring-2 {
  width: calc((var(--rx1) + var(--rx2)) * 1.04);
  height: calc((var(--rx1) + var(--rx2)) * 1.04 * var(--squash));
  border: 1.5px dashed rgba(242, 183, 10, 0.32);
}
.g-ring-3 {
  width: calc(var(--rx2) * 2);
  height: calc(var(--rx2) * 2 * var(--squash));
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

/* ---------- the Decacorn world ---------- */
.galaxy-globe {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) translate(calc(var(--gx, 0px) * 1.6), calc(var(--gy, 0px) * 1.6));
  width: 195px;
  height: 195px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 36% 30%, #221E19, #0C0B0A 74%);
  box-shadow:
    0 0 90px rgba(242, 183, 10, 0.2),
    0 0 26px rgba(242, 183, 10, 0.12),
    inset 0 0 36px rgba(242, 183, 10, 0.07);
  transition: transform 0.4s ease-out;
  z-index: 2;
}
.galaxy-globe .globe-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.galaxy-globe img {
  width: 54%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(242, 183, 10, 0.35));
}

/* ---------- orbiting slogan chips ---------- */
.galaxy-orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  transform: scaleY(var(--squash));
  z-index: 3;
}

.g-seat {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(var(--a)) translateX(var(--rx)) rotate(calc(-1 * var(--a)));
}
.js .g-seat { animation: g-orbit var(--dur) linear infinite; }
@keyframes g-orbit {
  from { transform: rotate(var(--a)) translateX(var(--rx)) rotate(calc(-1 * var(--a))); }
  to   { transform: rotate(calc(var(--a) + 360deg)) translateX(var(--rx)) rotate(calc(-1 * (var(--a) + 360deg))); }
}
.js .g-seat.g-rev { animation-name: g-orbit-rev; }
@keyframes g-orbit-rev {
  from { transform: rotate(var(--a)) translateX(var(--rx)) rotate(calc(-1 * var(--a))); }
  to   { transform: rotate(calc(var(--a) - 360deg)) translateX(var(--rx)) rotate(calc(-1 * (var(--a) - 360deg))); }
}
.g-seat:hover { animation-play-state: paused; z-index: 5; }

.g-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transform: translate(-50%, -50%) scaleY(calc(1 / var(--squash)));
  background: rgba(16, 14, 12, 0.93);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.g-chip i { font-style: normal; color: var(--yellow); }
.g-seat:hover .g-chip {
  border-color: rgba(242, 183, 10, 0.75);
  box-shadow: 0 10px 30px rgba(242, 183, 10, 0.18);
}

.g-star {
  display: inline-block;
  transform: translate(-50%, -50%) scaleY(calc(1 / var(--squash)));
  color: var(--yellow);
  font-size: 1.05rem;
  text-shadow: 0 0 12px rgba(242, 183, 10, 0.8);
}

/* ---------- shooting star ---------- */
.shooting-star {
  position: absolute;
  top: 12%;
  right: -160px;
  width: 150px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to left, rgba(242, 183, 10, 0), rgba(242, 183, 10, 0.9), rgba(255, 255, 255, 0.95));
  transform: rotate(-24deg);
  opacity: 0;
  pointer-events: none;
}
.js .shooting-star { animation: shoot 9s ease-in 2.5s infinite; }
@keyframes shoot {
  0%   { transform: translate(0, 0) rotate(-24deg); opacity: 0; }
  3%   { opacity: 1; }
  16%  { transform: translate(-1300px, 480px) rotate(-24deg); opacity: 0; }
  100% { transform: translate(-1300px, 480px) rotate(-24deg); opacity: 0; }
}

/* ---------- caption ---------- */
.galaxy-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  z-index: 4;
}
.galaxy-tag strong { color: var(--yellow); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .galaxy { --rx1: 185px; --rx2: 285px; min-height: 640px; }
  .g-chip { font-size: 0.82rem; padding: 8px 15px; }
}
@media (max-width: 980px) {
  .galaxy { --rx1: 150px; --rx2: 235px; min-height: 570px; }
  .galaxy-globe { width: 160px; height: 160px; }
}
@media (max-width: 780px) {
  .galaxy { min-height: 0; padding: 38px 20px 30px; }
  .galaxy-rings, .g-star, .shooting-star { display: none; }
  .galaxy-globe {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto 26px;
    width: 150px;
    height: 150px;
  }
  .galaxy-orbit {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .g-seat { position: static; transform: none; }
  .js .g-seat, .js .g-seat.g-rev { animation: none; }
  .g-chip {
    transform: none;
    white-space: normal;
    text-align: center;
    font-size: 0.85rem;
  }
  .galaxy-tag { position: static; margin-top: 24px; }
}

/* ---------- reduced motion: a still sky ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .g-seat, .js .g-seat.g-rev { animation: none; }
  .js .shooting-star { animation: none; }
}
