/* ================================================================
   Intrenzik Technologies — production theme styles
   ================================================================ */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #101a30;
  --navy-soft: #17233d;
  --violet: #6c63ff;
  --violet-dark: #544bdc;
  --coral: #e07a5f;
  --mist: #d6dde7;
  --mint: #2a9d78;
  --amber: #c9922e;
  --plum: #b85a72;
  --ink: #101a30;
  --text: #455067;
  --muted: #68748a;
  --line: #dce2eb;
  --paper: #ffffff;
  --wash: #f5f7fb;
  --violet-wash: #f0efff;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 12px 35px rgba(16, 26, 48, 0.07);
  --shadow-md: 0 28px 80px rgba(16, 26, 48, 0.12);
  --container: 1180px;
  --header-height: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -0.035em; }
h1 { margin-bottom: 28px; font-size: clamp(3.05rem, 5.5vw, 5.35rem); font-weight: 680; }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 4vw, 4rem); font-weight: 650; }
h3 { margin-bottom: 14px; font-size: 1.25rem; font-weight: 680; letter-spacing: -0.02em; }
p:last-child { margin-bottom: 0; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 120px 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--violet-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.2;
}
.eyebrow::before { width: 28px; height: 1px; background: currentColor; content: ""; }
.eyebrow--light { color: #aaa4ff; }
.section-heading { max-width: 760px; margin-bottom: 62px; }
.section-heading--split { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 80px; max-width: none; align-items: end; }
.section-heading--split > p { margin-bottom: 8px; color: var(--muted); font-size: 1.05rem; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: height 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled { height: 74px; border-color: rgba(16, 26, 48, 0.08); box-shadow: 0 8px 28px rgba(16, 26, 48, 0.06); }
.site-header__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.brand { position: relative; display: inline-flex; width: 190px; min-height: 48px; align-items: center; text-decoration: none; }
.brand__image { position: relative; z-index: 2; width: 100%; height: auto; }
.brand__fallback { position: absolute; z-index: 1; left: 0; display: none; color: var(--navy); font-size: 1.45rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.brand.has-image-error .brand__image { display: none; }
.brand.has-image-error .brand__fallback { display: block; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav__list { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { position: relative; color: #303b51; font-size: 0.88rem; font-weight: 650; text-decoration: none; }
.site-nav__list a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; transform: scaleX(0); background: var(--violet); content: ""; transition: transform 180ms ease; }
.site-nav__list a:hover::after, .site-nav__list a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy); transition: transform 180ms ease, opacity 180ms ease; }

/* Buttons */
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid var(--violet);
  border-radius: 999px;
  color: #fff;
  background: var(--violet);
  box-shadow: 0 12px 28px rgba(108, 99, 255, 0.22);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--violet-dark); background: var(--violet-dark); box-shadow: 0 16px 34px rgba(108, 99, 255, 0.28); }
.button--small { min-height: 44px; padding: 11px 19px; font-size: 0.78rem; }
.button--secondary { border-color: var(--line); color: var(--navy); background: rgba(255,255,255,.65); box-shadow: none; }
.button--secondary:hover { border-color: #c5c2ff; color: var(--violet-dark); background: #fff; box-shadow: var(--shadow-sm); }
.button-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.hero { min-height: 800px; padding-top: calc(var(--header-height) + 90px); padding-bottom: 88px; overflow: hidden; }
.hero__wash { position: absolute; top: -210px; right: -210px; width: 770px; height: 770px; border-radius: 50%; background: radial-gradient(circle, rgba(108,99,255,.15) 0, rgba(108,99,255,.05) 44%, transparent 70%); }
.hero::before { position: absolute; top: 190px; left: -180px; width: 380px; height: 380px; border-radius: 50%; background: rgba(214,221,231,.32); filter: blur(4px); content: ""; }
.hero__grid { display: grid; grid-template-columns: 1.06fr 0.94fr; align-items: center; gap: 28px; }
.hero__content { position: relative; z-index: 2; max-width: 700px; }
.hero__lead { max-width: 660px; margin-bottom: 36px; color: #566177; font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.75; }
.hero-visual { position: relative; width: 100%; aspect-ratio: 1 / 1; transform: translateX(18px); }
.hero-visual::before { position: absolute; inset: 11%; border: 1px solid rgba(108,99,255,.12); border-radius: 50%; box-shadow: inset 0 0 80px rgba(108,99,255,.06), 0 35px 90px rgba(16,26,48,.08); content: ""; }
.system-map { width: 100%; height: 100%; overflow: visible; }
.system-map__path { stroke-dasharray: 8 14; animation: orbit 18s linear infinite; }
.hero-visual__label { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(16,26,48,.09); border-radius: 999px; color: #455067; background: rgba(255,255,255,.86); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.hero-visual__label span { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(108,99,255,.12); }
.hero-visual__label--one { top: 16%; left: 4%; }
.hero-visual__label--two { top: 26%; right: -2%; }
.hero-visual__label--two span { background: var(--mint); box-shadow: 0 0 0 4px rgba(42,157,120,.12); }
.hero-visual__label--three { right: 2%; bottom: 17%; }
.hero-visual__label--three span { background: var(--coral); box-shadow: 0 0 0 4px rgba(224,122,95,.12); }
@keyframes orbit { to { stroke-dashoffset: -220; } }

/* About */
.about { border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 110px; align-items: start; }
.about__copy { padding-top: 6px; }
.prose-lead > p { margin-bottom: 24px; font-size: 1.08rem; line-height: 1.85; }
.about__principle { display: flex; gap: 15px; margin-top: 34px; padding: 20px 0 0; border-top: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.about__principle span { width: 9px; height: 9px; flex: 0 0 auto; margin-top: .65em; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 6px rgba(108,99,255,.1); }

/* Capability cards */
.capabilities { background: var(--wash); }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.capability-card { position: relative; min-height: 330px; padding: 36px; overflow: hidden; border: 1px solid #dfe4ed; border-radius: var(--radius-md); background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.capability-card::after { position: absolute; right: -40px; bottom: -52px; width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, rgba(108,99,255,.11), transparent 70%); content: ""; }
.capability-card:hover { transform: translateY(-5px); border-color: #c9c6ff; box-shadow: var(--shadow-sm); }
.capability-card__icon { display: grid; width: 58px; height: 58px; margin-bottom: 50px; place-items: center; border-radius: 17px; color: var(--violet); background: var(--violet-wash); }
.capability-card__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.capability-card__number { position: absolute; top: 38px; right: 38px; color: #a2acbb; font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
.capability-card h3 { max-width: 350px; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .035em; }
.capability-card > p:last-child { max-width: 470px; color: var(--muted); }

/* Why */
.why { overflow: hidden; color: #d5dbea; background: var(--navy); }
.why::before { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 70px 70px; content: ""; mask-image: linear-gradient(to right, transparent, #000); }
.why__orb { position: absolute; top: -250px; right: -170px; width: 680px; height: 680px; border: 1px solid rgba(108,99,255,.25); border-radius: 50%; box-shadow: 0 0 0 90px rgba(108,99,255,.04), 0 0 0 180px rgba(108,99,255,.025); }
.why__grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 110px; align-items: start; }
.why h2, .why h3 { color: #fff; }
.why__intro > p:last-child { max-width: 520px; color: #b5bfd1; font-size: 1.03rem; }
.why__points { border-top: 1px solid rgba(255,255,255,.15); }
.why__points article { display: grid; grid-template-columns: 45px 1fr; gap: 25px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.why__points article > span { padding-top: 4px; color: #938cff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.why__points h3 { margin-bottom: 9px; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; }
.why__points p { color: #aeb8ca; font-size: .93rem; }

/* Process */
.approach { background: #fff; }
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process::before { position: absolute; z-index: 0; top: 29px; right: 12.5%; left: 12.5%; height: 1px; background: linear-gradient(90deg, var(--violet), var(--mist) 45%, var(--mint)); content: ""; }
.process__step { position: relative; z-index: 1; padding-right: 35px; }
.process__number { display: grid; width: 58px; height: 58px; margin-bottom: 30px; place-items: center; border: 1px solid #d9d7ff; border-radius: 50%; color: var(--violet-dark); background: #fff; box-shadow: 0 8px 25px rgba(16,26,48,.08); font-size: .78rem; font-weight: 800; }
.process__step:last-child .process__number { border-color: #b7dfd3; color: var(--mint); }
.process__step h3 { text-transform: uppercase; font-size: .96rem; letter-spacing: .07em; }
.process__step p { color: var(--muted); font-size: .93rem; line-height: 1.75; }

/* Dark positioning section */
.positioning { overflow: hidden; color: #bac3d4; background: linear-gradient(135deg, #141f38 0%, #0c1427 65%, #15153a 100%); text-align: center; }
.positioning__content { position: relative; z-index: 2; max-width: 900px; }
.positioning .eyebrow { justify-content: center; }
.positioning h2 { color: #fff; }
.positioning p:last-child { max-width: 790px; margin-inline: auto; font-size: 1.07rem; }
.positioning__line { position: absolute; width: 720px; height: 720px; border: 1px solid rgba(108,99,255,.18); border-radius: 50%; }
.positioning__line--one { top: -540px; left: -200px; }
.positioning__line--two { right: -250px; bottom: -570px; box-shadow: 0 0 0 70px rgba(108,99,255,.025), 0 0 0 140px rgba(108,99,255,.018); }

/* Contact */
.contact { background: linear-gradient(180deg, #fff 0%, #f7f8fc 100%); }
.contact__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: start; }
.contact__action { padding-top: 47px; }
.contact__action > p { margin-bottom: 28px; color: var(--muted); font-size: 1.07rem; }
.contact__email { display: block; width: fit-content; margin-top: 22px; color: var(--navy); font-weight: 750; text-decoration-color: #aba6ff; }

/* Footer */
.site-footer { padding: 78px 0 30px; color: #aeb8ca; background: #0b1325; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr .65fr 1fr; gap: 90px; padding-bottom: 55px; }
.brand--footer { width: 175px; margin-bottom: 25px; }
.brand--footer .brand__fallback { color: #fff; }
.site-footer__brand-block > p { max-width: 350px; font-size: .9rem; }
.site-footer__label { margin-bottom: 20px; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-nav__list a, .site-footer__contact a, .site-footer__bottom a { color: #d8deea; text-decoration: none; }
.footer-nav__list a:hover, .site-footer__contact a:hover, .site-footer__bottom a:hover { color: #fff; text-decoration: underline; }
.site-footer__contact p:last-child { font-size: .9rem; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.site-footer__bottom p { margin: 0; }

/* Standard content, policy and 404 */
.content-page { min-height: 70vh; padding: calc(var(--header-height) + 80px) 0 110px; background: linear-gradient(180deg, var(--wash), #fff 320px); }
.content-page__inner { max-width: 900px; }
.entry__header { margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.entry__header h1 { max-width: 800px; margin: 0; font-size: clamp(2.7rem, 5vw, 4.6rem); }
.prose { color: #404b61; }
.prose h2, .prose h3, .prose h4 { margin-top: 2.2em; margin-bottom: .7em; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.35rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.35em; }
.prose li { margin-bottom: .55em; }
.prose a { color: var(--violet-dark); }
.prose blockquote { margin: 2em 0; padding: 20px 25px; border-left: 3px solid var(--violet); background: var(--violet-wash); }
.not-found { display: grid; min-height: 78vh; padding: calc(var(--header-height) + 70px) 0 90px; place-items: center; text-align: center; }
.not-found__inner { max-width: 740px; }
.not-found h1 { margin-bottom: 20px; }
.not-found p:not(.eyebrow) { margin-bottom: 32px; font-size: 1.08rem; }
.not-found .eyebrow { justify-content: center; }
.alignwide { max-width: 1100px; margin-right: auto; margin-left: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption, .gallery-caption { max-width: 100%; color: var(--muted); font-size: .85rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav { gap: 22px; }
  .site-nav__list { gap: 20px; }
  .brand { width: 166px; }
  .hero { min-height: 740px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
  .hero-visual__label { font-size: .62rem; }
  .about__grid, .why__grid { gap: 65px; }
  .section-heading--split { gap: 50px; }
}

@media (max-width: 900px) {
  :root { --header-height: 74px; }
  .section { padding: 92px 0; }
  .container { width: min(calc(100% - 40px), var(--container)); }
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; z-index: 99; top: 100%; right: 0; bottom: auto; left: 0; display: flex; height: calc(100vh - var(--header-height)); padding: 32px 20px 50px; transform: translateX(100%); align-items: stretch; flex-direction: column; gap: 28px; overflow-y: auto; background: #fff; visibility: hidden; transition: transform 220ms ease, visibility 220ms ease; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav__list { align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a { display: block; padding: 17px 6px; font-size: 1.15rem; }
  .site-nav__list a::after { display: none; }
  .site-nav__cta { width: 100%; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 72px); }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__content { max-width: 760px; }
  .hero-visual { width: min(100%, 590px); margin: 0 auto; transform: none; }
  .about__grid, .why__grid, .contact__inner { grid-template-columns: 1fr; gap: 42px; }
  .about__copy, .contact__action { padding-top: 0; }
  .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
  .capability-card { min-height: 310px; padding: 30px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 42px 24px; }
  .process::before { display: none; }
  .site-footer__top { grid-template-columns: 1.2fr .8fr; gap: 55px; }
  .site-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 76px 0; }
  h1 { font-size: clamp(2.65rem, 13vw, 3.8rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .brand { width: 150px; }
  .hero { padding-top: calc(var(--header-height) + 55px); padding-bottom: 58px; }
  .hero__lead { font-size: 1rem; }
  .button-group { align-items: stretch; flex-direction: column; }
  .button-group .button { width: 100%; }
  .hero-visual { margin-top: 12px; }
  .hero-visual__label { padding: 7px 9px; font-size: .55rem; }
  .hero-visual__label--one { left: -1%; }
  .hero-visual__label--two { right: -1%; }
  .hero-visual__label--three { right: -1%; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 0; }
  .capability-card__icon { margin-bottom: 42px; }
  .why__points article { grid-template-columns: 36px 1fr; gap: 16px; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__step { position: relative; padding: 0 0 36px 78px; }
  .process__step::before { position: absolute; top: 58px; bottom: 0; left: 28px; width: 1px; background: var(--line); content: ""; }
  .process__step:last-child::before { display: none; }
  .process__number { position: absolute; top: 0; left: 0; margin: 0; }
  .process__step h3 { padding-top: 8px; }
  .contact__inner { gap: 22px; }
  .site-footer { padding-top: 62px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 38px; }
  .site-footer__contact { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .content-page { padding-top: calc(var(--header-height) + 60px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
