/* ==========================================================================
   Spaninfo — premium redesign
   Palette  : ink #070B2E · panel #0E1442 · indigo #4D51AB · cyan #55CEE3
              paper #F4F5FA · heading #0A0E33
   Type     : Bricolage Grotesque (display) · Instrument Sans (body)
              JetBrains Mono (technical labels)
   ========================================================================== */

:root {
  --ink: #070B2E;
  --ink-2: #0E1442;
  --ink-3: #161D57;
  --indigo: #4D51AB;
  --indigo-600: #3E4296;
  --indigo-soft: #E7E8F7;
  --cyan: #55CEE3;
  --cyan-soft: #A9E9F3;
  --paper: #F4F5FA;
  --white: #FFFFFF;
  --heading: #0A0E33;
  --body: #4A4F6E;
  --muted: #8A8FAE;
  --line: #DFE1EE;
  --line-dark: rgba(255, 255, 255, .12);
  --on-dark: rgba(255, 255, 255, .72);

  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(10, 14, 51, .04), 0 12px 40px -12px rgba(10, 14, 51, .18);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); color: var(--heading); margin: 0; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--cyan); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--indigo);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--cyan); border-radius: 2px; transform: rotate(45deg); }
.eyebrow.on-dark, .on-dark .eyebrow, .telecom .eyebrow { color: var(--cyan); }

.h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
.h2 em, .hero-title em { font-style: normal; color: var(--indigo); }
.telecom .h2 em, .cta .h2 em { color: var(--cyan); }
.lead { font-size: 18px; max-width: 58ch; }
.mono-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: 70px 0; }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head .h2 {max-width: 16ch;font-size: 44px;}
.section-intro { font-size: 17px; max-width: 46ch; justify-self: end; }
.on-dark .section-intro { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: 15.5px; letter-spacing: .005em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 13px; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { background: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--indigo); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--cyan); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--indigo); }
.link-arrow i { font-size: 12px; transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

.live, .pulse, .header-phone .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; display: inline-block; flex: none;
  box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 2.2s infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 0;
  --nav-fg: var(--white);
}
.header-bar {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  height: 72px; padding: 0 12px 0 24px; border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.brand img { height: 40px; width: auto; filter: brightness(0) invert(1); transition: filter .4s var(--ease); }
.site-header.is-scrolled { --nav-fg: var(--heading); }
.site-header.is-scrolled .header-bar { background: rgba(255, 255, 255, .86); border-color: rgba(10, 14, 51, .06); box-shadow: 0 10px 40px -16px rgba(10, 14, 51, .25); }
.site-header.is-scrolled .brand img { filter: none; }

.main-nav { margin-inline: auto; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .drop-trigger {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 10px;
  color: var(--nav-fg); font-size: 15px; font-weight: 500; opacity: .85; transition: opacity .25s, background-color .25s;
}
.main-nav > ul > li > a:hover, .drop-trigger:hover, .main-nav a.is-current, .drop-trigger.is-current { opacity: 1; }
.main-nav a.is-current::after, .drop-trigger.is-current::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); margin-left: 2px; }
/* dropdown styles: see "Dropdown navigation" block below */

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {display: inline-flex;align-items: center;gap: 9px;font-family: var(--f-mono);font-size: 15px;color: #ffffff;/* opacity: .85; */}
.header-phone:hover { opacity: 1; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; background: rgba(255, 255, 255, .08); }
.is-scrolled .menu-toggle { background: var(--paper); }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--nav-fg); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-nav {
  max-width: var(--maxw); margin: 10px auto 0; padding: 14px; border-radius: 18px;
  background: var(--white); box-shadow: 0 30px 80px -20px rgba(7, 11, 46, .5);
  max-height: calc(100vh - 120px); overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav > a, .mobile-nav summary { padding: 14px 12px; font-size: 17px; font-weight: 500; color: var(--heading); border-bottom: 1px solid var(--line); cursor: pointer; }
.mobile-nav summary { list-style: none; display: flex; justify-content: space-between; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; color: var(--indigo); font-weight: 400; }
.mobile-nav details[open] summary::after { content: "–"; }
.mobile-nav details a { display: block; padding: 10px 12px 10px 24px; font-size: 15.5px; color: var(--body); }
.mobile-nav details a.m-all { color: var(--indigo); font-weight: 600; }
.mobile-nav details[open] { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mobile-nav details[open] summary { border-bottom: 0; }
.mobile-nav .btn { margin-top: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--white);
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(150px, 18vw, 200px));
  padding-bottom: 36px;
}
.hero::before {
  /* engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(600px 420px at 78% 30%, rgba(85, 206, 227, .20), transparent 70%),
    radial-gradient(700px 520px at 20% 110%, rgba(77, 81, 171, .45), transparent 70%);
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }

.hero-inner { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark);
  margin-bottom: 28px;
}
.hero-title {
  color: var(--white);
  font-size: clamp(46px, 8vw, 112px); line-height: .96; letter-spacing: -.045em; font-weight: 600;
  font-variation-settings: "opsz" 96; max-width: 13ch;
}
.hero-title em { color: var(--cyan); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .06em; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(85, 206, 227, 0));
  transform-origin: left; animation: underline 1.2s .6s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-sub { margin-top: 28px; max-width: 54ch; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--on-dark); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero-console {
  margin: clamp(64px, 9vw, 110px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-console > div { padding: 22px 20px 6px 0; }
.hero-console > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-console dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero-console dd { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-weight: 500; color: var(--white); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hero-console dd .live { margin-right: 10px; vertical-align: middle; position: relative; top: -2px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink-2); border-block: 1px solid var(--line-dark); overflow: hidden; padding-block: 18px; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker span {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark);
  padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.ticker span::after { content: ""; width: 6px; height: 6px; background: var(--cyan); transform: rotate(45deg); opacity: .8; margin-right: -28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.statement { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.14; letter-spacing: -.025em; font-weight: 500; font-variation-settings: "opsz" 64; }
.statement .hl { color: var(--indigo); }
.about-copy .lead { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--heading); }
.chips i { color: var(--indigo); font-size: 13px; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.call-line, .cta-contact { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 20px; font-weight: 500; color: var(--heading); }
.call-line small, .cta-contact small { display: block; font-family: var(--f-body); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.2; }
.call-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); font-size: 16px; flex: none; transition: background-color .3s, color .3s; }
.call-line:hover .call-icon { background: var(--indigo); color: var(--white); }

.about-media { position: relative; padding-bottom: 60px; }
.about-img { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-img:hover img { transform: scale(1.04); }
.about-img.a1 { width: 82%; margin-left: auto; aspect-ratio: 4 / 5; max-width: 100%; }
.about-img.a2 { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--white); border-radius: calc(var(--r-lg) + 4px); }
.stat-card {
  position: absolute; left: 0; top: 48px; padding: 20px 22px; border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow); min-width: 190px;
}
.stat-num { font-family: var(--f-display); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--heading); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: var(--body); margin-top: 6px; }
.avatars { display: flex; margin-top: 14px; }
.avatars img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); }
.avatars img + img { margin-left: -10px; }

/* ==========================================================================
   Services — bento
   ========================================================================== */
.services { background: var(--paper); }
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  grid-template-areas:
    "f f a b"
    "f f c d"
    "w w k k";
}
.bento > :nth-child(1) { grid-area: f; }
.bento > :nth-child(2) { grid-area: a; }
.bento > :nth-child(3) { grid-area: b; }
.bento > :nth-child(4) { grid-area: c; }
.bento > :nth-child(5) { grid-area: d; }
.bento > :nth-child(6) { grid-area: w; }
.bento > :nth-child(7) { grid-area: k; }

.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 250px; padding: 28px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(85, 206, 227, .16), transparent 60%);
}
a.tile:hover { transform: translateY(-4px); border-color: rgba(77, 81, 171, .35); box-shadow: var(--shadow); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 22px; letter-spacing: -.015em; line-height: 1.15; }
.tile p { font-size: 15.5px; line-height: 1.55; }
.tile-icon { width: 52px; height: 52px; margin-bottom: 28px; }
.tile-arrow {
  position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); color: var(--heading); font-size: 13px;
  transform: rotate(-45deg);
  transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
a.tile:hover .tile-arrow { background: var(--indigo); border-color: var(--indigo); color: var(--white); transform: rotate(0deg); }

.tile-feature { justify-content: flex-end; padding: clamp(28px, 3vw, 40px); background: var(--ink); border-color: transparent; min-height: 520px; color: var(--on-dark); }
.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 46, .05) 20%, rgba(7, 11, 46, .92) 78%); }
.tile-feature:hover .tile-bg { transform: scale(1.05); }
.tile-feature h3 { color: var(--white); font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.025em; margin-top: 16px; }
.tile-feature p { max-width: 42ch; margin-top: 12px; font-size: 16.5px; }
.tile-tag { align-self: flex-start; display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-soft); backdrop-filter: blur(6px); }
.tile-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; color: var(--cyan); }
.tile-go i { font-size: 12px; transition: transform .3s var(--ease); }
a:hover .tile-go i { transform: translateX(4px); }

.tile-wide { flex-direction: row; align-items: center; gap: 28px; min-height: 0; padding-right: 90px; }
.tile-wide .tile-icon { margin: 0; flex: none; }
.tile-wide p { margin-top: 6px; max-width: 48ch; }
.tile-wide .tile-arrow { top: 50%; margin-top: -21px; }

.tile-cta { background: var(--indigo); border-color: transparent; color: rgba(255, 255, 255, .8); min-height: 0; justify-content: center; }
.tile-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 80px rgba(255, 255, 255, .03); z-index: -1; }
.tile-cta h3 { color: var(--white); font-size: 26px; }
.tile-cta .mono-label { color: var(--cyan-soft); }
.tile-cta .btn { align-self: flex-start; margin-top: 8px; font-family: var(--f-mono); font-size: 14px; font-weight: 500; }

/* ==========================================================================
   IT Infrastructure — index + sticky preview
   ========================================================================== */
.infra { background: var(--white); }
.infra-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.infra-list { border-top: 1px solid var(--line); counter-reset: infra; }
.infra-item { border-bottom: 1px solid var(--line); }
.infra-item a {
  display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center;
  padding: 24px 4px;
}
.infra-name {
  font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15;
  color: var(--muted); transition: color .35s var(--ease), transform .45s var(--ease);
}
.infra-desc {
  grid-column: 1; font-size: 15.5px; color: var(--body); max-width: 46ch;
  overflow: hidden;
  max-height: 0; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
}
.infra-thumb { display: none; }
.infra-item i {
  grid-column: 2; grid-row: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); font-size: 13px;
  transition: all .35s var(--ease);
}
.infra-item.is-active .infra-name { color: var(--heading); transform: translateX(6px); }
.infra-item.is-active .infra-desc { max-height: 120px; opacity: 1; margin-top: 10px; transform: translateX(6px); }
.infra-item.is-active i { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.infra-item a:hover i { transform: rotate(-45deg); }

.infra-preview { position: sticky; top: 120px; }
.infra-preview figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; max-width: 100%; background: var(--ink); }
.infra-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.infra-preview img.swap { opacity: 0; transform: scale(1.04); }
.infra-preview figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 46, .55)); pointer-events: none; }
.infra-preview figcaption {
  position: absolute; left: 20px; bottom: 20px; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: rgba(7, 11, 46, .55); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--white);
}

/* ==========================================================================
   Telecom — expanding panels
   ========================================================================== */
.telecom { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.telecom::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; background: radial-gradient(closest-side, rgba(77, 81, 171, .35), transparent); pointer-events: none; }
.telecom .h2 { color: var(--white); }
.telecom .container { position: relative; }

.panels { display: flex; gap: 14px; height: 540px; }
.panel {
  position: relative; flex: 1; min-width: 0; overflow: hidden; isolation: isolate;
  border-radius: var(--r-md); border: 1px solid var(--line-dark);
  transition: flex-grow .7s var(--ease), border-color .4s;
}
.panel.is-open { flex-grow: 3.2; border-color: rgba(85, 206, 227, .35); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.7) brightness(.8); }
.panel.is-open img { filter: none; transform: scale(1.03); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 46, .15) 0%, rgba(7, 11, 46, .92) 85%); }
.panel-body { position: absolute; inset: auto 0 0 0; padding: 28px; }
.panel-code { display: inline-block; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--cyan); }
.panel h3 { color: var(--white); font-size: 22px; letter-spacing: -.015em; line-height: 1.15; margin-top: 14px; transition: font-size .5s var(--ease); }
.panel.is-open h3 { font-size: clamp(26px, 2.5vw, 34px); }
.panel p, .panel .tile-go { max-width: 44ch; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); max-height: 0; }
.panel p { font-size: 16px; }
.panel.is-open p { opacity: 1; transform: none; max-height: 120px; margin-top: 12px; transition-delay: .25s; }
.panel.is-open .tile-go { opacity: 1; transform: none; max-height: 40px; transition-delay: .35s; }

.telecom .footnote { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; font-size: 16px; }
.telecom .link-arrow { color: var(--cyan); }

/* ==========================================================================
   Why Spaninfo
   ========================================================================== */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.why-media { position: relative; }
.why-media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 613 / 750; max-width: 100%; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-badge { position: absolute; right: -20px; bottom: 36px; width: 220px; padding: 22px; border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); box-shadow: 0 30px 60px -20px rgba(7, 11, 46, .5); font-size: 14.5px; line-height: 1.45; }
.why-badge .stat-num { color: var(--cyan); margin-bottom: 8px; }

.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 40px; }
.why-item { padding: 26px 0; border-top: 1px solid var(--line); }
.why-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--indigo); border: 1px solid var(--line); font-size: 16px; margin-bottom: 18px; }
.why-item h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.why-item p { font-size: 15.5px; line-height: 1.55; }

.support-strip {
  margin-top: 20px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--r-md);
  background: var(--ink); color: var(--on-dark);
}
.support-strip h3 { color: var(--white); font-size: 19px; }
.support-strip p { font-size: 14.5px; }
.support-strip > div { flex: 1; }
.support-strip .link-arrow { color: var(--cyan); white-space: nowrap; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; padding-top: 36px; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--indigo); }
.step:first-child::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(85, 206, 227, .2); }
.step-no { font-family: var(--f-mono); font-size: 13px; color: var(--indigo); letter-spacing: .1em; }
.step h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.02em; margin: 14px 0 10px; }
.step p { font-size: 15.5px; max-width: 30ch; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-wrap { padding-top: 0; background: var(--white); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: end;
  padding: clamp(36px, 6vw, 80px); border-radius: 32px; background: var(--ink); color: var(--on-dark);
}
.cta-bg { position: absolute; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; z-index: -2; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 0% 100%, rgba(77, 81, 171, .55), transparent 70%); }
.cta .h2 { color: var(--white); max-width: 15ch; }
.cta-contacts { display: flex; flex-direction: column; gap: 12px; }
.cta-contact {
  padding: 16px 20px 16px 16px; border-radius: 16px; font-size: 18px; color: var(--white);
  background: rgba(7, 11, 46, .5); border: 1px solid var(--line-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, background-color .3s; word-break: break-word;
}
.cta-contact small { color: var(--muted); }
.cta-contact .call-icon { background: rgba(85, 206, 227, .14); color: var(--cyan); }
.cta-contact:hover { border-color: rgba(85, 206, 227, .5); background: rgba(7, 11, 46, .7); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {background: #050823;color: var(--on-dark);padding-top: 80px;overflow: hidden;font-size: 15.5px;}
.footer-top { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.3fr; gap: 40px; }
.footer-logo { height: 42px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 22px; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--white); font-size: 15px; transition: background-color .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.footer-col h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-contact p { display: flex; gap: 14px; line-height: 1.55; }
.footer-contact p + p { margin-top: 18px; }
.footer-contact i { color: var(--cyan); margin-top: 5px; width: 14px; flex: none; }

.wordmark {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .78;
  font-size: clamp(84px, 20.5vw, 272px);
  text-align: center;
  white-space: nowrap;
  /* margin: clamp(56px, 7vw, 96px) 0 0; */
  background: linear-gradient(180deg, rgba(85, 206, 227, .32), rgba(77, 81, 171, .08) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 26px 0 calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted); }
.footer-bottom a { color: var(--white); }
.footer-bottom a:hover { color: var(--cyan); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(26px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .section-head { grid-template-columns: 1fr; }
  .section-intro { justify-self: start; }
  .about-grid, .why-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 620px; }
  .why-media { max-width: 520px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "f f" "a b" "c d" "w w" "k k"; }
  .tile-feature { min-height: 440px; }
  .infra-grid { grid-template-columns: 1fr; }
  .infra-preview { display: none; }
  .infra-desc { max-height: 120px; opacity: 1; margin-top: 10px; }
  .infra-name { color: var(--heading); }
  .infra-item a { grid-template-columns: 1fr auto; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-open { flex: none; height: 340px; }
  .panel img { filter: none; }
  .panel p, .panel .tile-go { opacity: 1; transform: none; max-height: none; }
  .panel p { margin-top: 10px; }
  .panel h3 { font-size: 26px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .cta { grid-template-columns: 1fr; }
  .cta-bg { width: 100%; opacity: .3; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-bar { height: 64px; padding-left: 16px; padding-right: 8px; border-radius: 16px; }
  .brand img { height: 34px; }
  .header-actions .btn { display: none; }
  .hero-console { grid-template-columns: 1fr 1fr; }
  .hero-console > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-console > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .bento { grid-template-columns: 1fr; grid-template-areas: "f" "a" "b" "c" "d" "w" "k"; }
  .tile { min-height: 0; }
  .kicker-loc { display: none; }
  .support-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-contact { font-size: 16px; }
  .tile-icon { margin-bottom: 18px; }
  .tile-wide { flex-direction: column; align-items: flex-start; padding-right: 28px; gap: 12px; }
  .tile-wide .tile-arrow { top: 22px; margin-top: 0; }
  .stat-card { top: auto; bottom: 90px; left: auto; right: 0; min-width: 0; padding: 16px 18px; }
  .stat-num { font-size: 36px; }
  .why-list { grid-template-columns: 1fr; }
  .why-badge { right: 12px; bottom: 12px; width: 190px; padding: 18px; }
  .support-strip { flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .panel, .panel.is-open { height: 360px; }
}

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

/* ==========================================================================
   Dropdown navigation (replaces mega menu)
   ========================================================================== */
.drop-trigger i { font-size: 10px; transition: transform .3s var(--ease); }
.has-drop:hover .drop-trigger i, .has-drop.open .drop-trigger i { transform: rotate(180deg); }
.dropdown, .submenu {
  position: absolute; min-width: 272px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 70px -24px rgba(7, 11, 46, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dropdown { top: calc(100% + 16px); left: 0; transform: translateY(8px); }
.dropdown::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.has-drop:hover > .dropdown, .has-drop:focus-within > .dropdown, .has-drop.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown > li { position: relative; }
.dropdown > li > a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--heading); transition: background-color .2s, color .2s;
}
.dropdown .di { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--indigo-soft); color: var(--indigo); font-size: 13px; flex: none; transition: background-color .2s, color .2s; }
.dropdown .sub-caret { margin-left: auto; font-size: 10px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.dropdown > li:hover > a, .dropdown > li:focus-within > a { background: var(--paper); }
.dropdown > li:hover .di, .dropdown > li:focus-within .di { background: var(--indigo); color: var(--white); }
.dropdown > li:hover .sub-caret, .dropdown > li:focus-within .sub-caret { transform: translateX(3px); color: var(--indigo); }
.submenu { top: -9px; left: calc(100% + 8px); min-width: 250px; transform: translateX(-6px); }
.submenu::before { content: ""; position: absolute; inset: 0 auto 0 -12px; width: 12px; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.touch-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--body); transition: background-color .2s, color .2s, padding .2s; }
.submenu a:hover, .submenu a:focus-visible { background: var(--paper); color: var(--heading); padding-left: 16px; }
.submenu .sub-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.submenu .sub-all a { display: flex; align-items: center; justify-content: space-between; color: var(--indigo); font-weight: 600; }
.submenu .sub-all i { font-size: 11px; }

/* ==========================================================================
   Home — hero slider
   ========================================================================== */
.hero-slider { padding: 0; min-height: clamp(640px, 100svh, 920px); display: flex; flex-direction: column; }
.hero-slider::before { z-index: 3; pointer-events: none; }
.hero-slider .hero-glow { display: none; }
.slides { position: relative; flex: 1; display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center;
  padding-top: calc(env(safe-area-inset-top, 0px) + 140px); padding-bottom: 150px;
  opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 7.5s linear; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(7 11 46 / 78%) 0%, rgb(7 11 46 / 63%) 42%, rgb(7 11 46 / 31%) 100%), linear-gradient(0deg, rgb(7 11 46 / 27%) 0%, transparent 38%);
}
.slide-inner { position: relative; z-index: 2; }
.hero-slider .hero-title { font-size: clamp(40px, 6.4vw, 88px); max-width: 15ch; line-height: 1; }
.slide .hero-kicker, .slide .hero-title, .slide .hero-sub, .slide .hero-cta { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .hero-kicker { opacity: 1; transform: none; transition-delay: .15s; }
.slide.is-active .hero-title { opacity: 1; transform: none; transition-delay: .28s; }
.slide.is-active .hero-sub { opacity: 1; transform: none; transition-delay: .42s; }
.slide.is-active .hero-cta { opacity: 1; transform: none; transition-delay: .56s; }
.slide .hero-title em::after { animation: none; }
.slide.is-active .hero-title em::after { animation: underline 1.2s .8s var(--ease) both; }

.slider-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: flex-end; gap: 24px; padding-bottom: 28px; }
.slider-tabs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.slider-tab { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 20px 16px 4px 0; text-align: left; color: var(--on-dark); opacity: .6; transition: opacity .3s; }
.slider-tab + .slider-tab { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.slider-tab:hover, .slider-tab.is-active { opacity: 1; }
.st-no { font-family: var(--f-mono); font-size: 12px; color: var(--cyan); letter-spacing: .1em; }
.st-label { font-family: var(--f-display); font-size: clamp(15px, 1.5vw, 19px); font-weight: 500; color: var(--white); letter-spacing: -.01em; }
.st-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.slider-tab + .slider-tab .st-bar { left: 0; }
.st-bar span { display: block; height: 100%; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.slider-tab.is-active .st-bar span { animation: stprog var(--slide-dur, 7s) linear forwards; }
.hero-slider.is-paused .slider-tab.is-active .st-bar span { animation-play-state: paused; }
.slider-tab.is-done .st-bar span { transform: scaleX(1); opacity: .35; }
@keyframes stprog { to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 8px; }
.sl-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); font-size: 14px; transition: background-color .25s, border-color .25s, color .25s; }
.sl-btn:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }

/* ==========================================================================
   Inner pages — hero banner & breadcrumb
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white);
  padding: calc(env(safe-area-inset-top, 0px) + 170px) 0 clamp(64px, 7vw, 96px);
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 11, 46, .95) 0%, rgba(7, 11, 46, .82) 50%, rgba(7, 11, 46, .5) 100%),
    radial-gradient(600px 400px at 90% 10%, rgba(85, 206, 227, .18), transparent 70%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 20%, transparent 75%);
}
.page-title {color: var(--white);font-size: clamp(38px, 5.4vw, 72px);line-height: 1.02;letter-spacing: -.04em;/* max-width: 18ch; */font-variation-settings: "opsz" 96;}
.page-hero .hero-sub { margin-top: 22px; }
.page-hero .hero-cta { margin-top: 32px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 26px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .3); }
.crumbs a { color: var(--on-dark); transition: color .2s; }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current] { color: var(--cyan); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-tags li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .05); font-size: 13.5px; color: var(--on-dark); backdrop-filter: blur(6px); }

/* ---------- generic ---------- */
.is-paper { background: var(--paper); }
.is-white { background: var(--white); }
.h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.025em; }
.h4 { font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.mt { margin-top: 28px; }
.prose p { margin-top: 16px; max-width: 68ch; }
.prose .h3, .prose .h2 { margin-bottom: 4px; }
.section-link { justify-self: end; }
.check-list { display: grid; gap: 10px; margin-top: 16px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; color: var(--body); }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; background: var(--indigo-soft); color: var(--indigo); }

/* ---------- Detail layout ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.visual-card { position: relative; margin: 0 0 44px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.visual-card img { width: 100%; height: 100%; object-fit: cover; }
.visual-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 11, 46, .8)); }
.visual-card figcaption { position: absolute; left: 22px; bottom: 22px; z-index: 1; display: flex; align-items: center; gap: 14px; color: var(--white); font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.visual-card figcaption small { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 4px; }
.vc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cyan); color: var(--ink); font-size: 22px; flex: none; box-shadow: 0 10px 30px -8px rgba(85, 206, 227, .6); }
.block { margin-top: 56px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.feat { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.feat:hover { border-color: rgba(77, 81, 171, .35); box-shadow: var(--shadow); transform: translateY(-3px); }
.feat h3 { font-size: 18.5px; letter-spacing: -.01em; margin: 16px 0 6px; }
.feat p { font-size: 15px; line-height: 1.55; }
.feat-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); font-size: 18px; transition: background-color .3s, color .3s; }
.feat:hover .feat-icon, .svc-card:hover .feat-icon, .ind-card:hover .feat-icon { background: var(--indigo); color: var(--white); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { padding: 28px; border-radius: var(--r-md); background: var(--paper); }
.box .h4 { display: flex; align-items: center; gap: 10px; }
.box .h4 i { color: var(--indigo); font-size: 16px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.brand-list li { padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--heading); }

.detail-side { position: sticky; top: 112px; display: grid; gap: 16px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.side-title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-nav li + li { margin-top: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--heading); transition: background-color .2s, color .2s; }
.side-nav a i { width: 18px; text-align: center; color: var(--indigo); font-size: 14px; }
.side-nav a:hover { background: var(--paper); }
.side-nav a.is-active { background: var(--ink); color: var(--white); }
.side-nav a.is-active i { color: var(--cyan); }
.side-all { margin-top: 14px; padding-left: 12px; font-size: 14.5px; }
.side-quote { background: var(--ink); border-color: transparent; color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.side-quote::after { content: ""; position: absolute; right: -90px; top: -90px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 36px rgba(255, 255, 255, .03); z-index: -1; }
.side-quote .mono-label { color: var(--cyan); }
.side-h { font-family: var(--f-display); font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; color: var(--white); margin: 10px 0 8px; }
.side-quote p { font-size: 14.5px; }
.side-quote .btn { margin-top: 18px; width: 100%; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font-family: var(--f-mono); font-size: 14px; color: var(--white); }
.side-phone i { color: var(--cyan); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-grid .h2 { font-size: clamp(32px, 3.6vw, 46px); }
.faq-grid .section-intro { margin-top: 16px; justify-self: start; }
.faq-more { margin-top: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(77, 81, 171, .3); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.faq-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); flex: none; transition: background-color .3s, transform .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--indigo); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .3s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--indigo); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { font-size: 15.5px; max-width: 64ch; }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(77, 81, 171, .3); }
.p-media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.p-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 11, 46, .55)); }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-icon { position: absolute; left: 18px; bottom: -22px; z-index: 1; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--cyan); color: var(--ink); font-size: 20px; box-shadow: 0 10px 24px -8px rgba(7, 11, 46, .5); border: 3px solid var(--white); }
.p-media { overflow: visible; }
.p-media img { border-radius: var(--r-md) var(--r-md) 0 0; }
.p-body { display: flex; flex-direction: column; flex: 1; padding: 38px 22px 22px; }
.p-body h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.2; }
.p-body p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.p-tags li { padding: 4px 10px; border-radius: 6px; background: var(--paper); font-family: var(--f-mono); font-size: 11.5px; color: var(--body); }
.p-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-weight: 600; color: var(--indigo); font-size: 15px; }
.p-go i { font-size: 12px; transition: transform .3s var(--ease); }
.p-card:hover .p-go i { transform: translateX(4px); }

/* ---------- Category page ---------- */
.cat-intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.cat-intro .prose p { font-size: 17px; }
.cat-intro .about-actions { margin-top: 32px; }
.quick-card { padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); }
.quick-card .side-title { color: var(--cyan); }
.quick-list li + li { border-top: 1px solid var(--line-dark); }
.quick-list a { display: flex; align-items: center; gap: 14px; padding: 15px 4px; color: var(--white); font-weight: 500; transition: color .2s, padding .3s var(--ease); }
.quick-list a > i:first-child { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(85, 206, 227, .12); color: var(--cyan); font-size: 14px; flex: none; }
.quick-list .qa { margin-left: auto; font-size: 12px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.quick-list a:hover { color: var(--cyan); padding-left: 10px; }
.quick-list a:hover .qa { color: var(--cyan); transform: translateX(3px); }
.cat-products { background: var(--paper); }
.process.is-paper { background: var(--paper); }
.cat-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.cat-chips.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cat-chip { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.cat-chip:hover { border-color: rgba(77, 81, 171, .35); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-chip strong { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--heading); letter-spacing: -.01em; }
.cat-chip small { display: block; font-size: 14px; color: var(--body); line-height: 1.45; margin-top: 3px; }
.cat-chip > i { margin-left: auto; color: var(--indigo); font-size: 13px; transition: transform .3s var(--ease); }
.cat-chip:hover > i { transform: translateX(4px); }
.cat-chip:hover .call-icon { background: var(--indigo); color: var(--white); }

/* ---------- Home: category index numbering & popular ---------- */
.infra-no { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--indigo); margin-right: 16px; vertical-align: middle; }
.popular { background: var(--paper); }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.mini:hover { border-color: rgba(77, 81, 171, .35); transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); font-size: 18px; margin-bottom: 18px; transition: background-color .3s, color .3s; }
.mini:hover .mini-icon { background: var(--cyan); color: var(--ink); }
.mini-t { font-family: var(--f-display); font-size: 18.5px; font-weight: 600; color: var(--heading); letter-spacing: -.01em; line-height: 1.2; }
.mini-c { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mini-go { position: absolute; top: 24px; right: 22px; font-size: 12px; color: var(--muted); transform: rotate(-45deg); transition: transform .3s var(--ease), color .3s; }
.mini:hover .mini-go { transform: none; color: var(--indigo); }

/* ---------- About / clients / services ---------- */
.stats-band { background: var(--ink); padding: 40px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats > div { padding: 10px 24px; }
.stats > div + div { border-left: 1px solid var(--line-dark); }
.stats dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.stats dd { margin: 0; font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats dd .live { margin-right: 10px; vertical-align: middle; }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mv-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.mv-card img { width: 56px; height: 56px; }
.mv-card h3 { font-size: 23px; letter-spacing: -.015em; margin: 22px 0 10px; }
.mv-card p { font-size: 15.5px; }
.why-list.four { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); scroll-margin-top: 120px; transition: border-color .3s, box-shadow .4s var(--ease); }
.svc-card:hover, .svc-card:target { border-color: rgba(77, 81, 171, .35); box-shadow: var(--shadow); }
.svc-card .step-no { margin-top: 22px; }
.svc-card .h4 { margin: 8px 0 10px; }
.svc-card > p { font-size: 15.5px; }
.svc-card .check-list { margin: 18px 0 24px; }
.svc-card .check-list li { font-size: 14.5px; }
.svc-card .link-arrow { margin-top: auto; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .3s, box-shadow .4s var(--ease); }
.ind-card:hover { border-color: rgba(77, 81, 171, .35); box-shadow: var(--shadow); }
.ind-card h3 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -.01em; }
.ind-card p { font-size: 15px; line-height: 1.55; }

/* ---------- Gallery ---------- */
.g-grid { columns: 3 280px; column-gap: 16px; }
.g-item { position: relative; display: block; margin-bottom: 16px; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; background: var(--ink); }
.g-item:nth-child(3n+2) img { aspect-ratio: 4 / 5; }
.g-item img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.g-item:hover img { transform: scale(1.05); opacity: .8; }
.g-cap { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 8px 12px; border-radius: 10px; background: rgba(7, 11, 46, .65); backdrop-filter: blur(8px); color: var(--white); font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(5, 8, 35, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1100px, 88vw); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 16px; }
.lightbox figcaption { text-align: center; color: var(--on-dark); margin-top: 14px; font-size: 15px; }
.lb-close, .lb-nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 16px; transition: background-color .2s, color .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--cyan); color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -24px; }
.lb-next { right: 20px; top: 50%; margin-top: -24px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info .lead { margin-top: 18px; }
.info-list { display: grid; gap: 22px; margin-top: 36px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 16.5px; color: var(--heading); line-height: 1.5; }
.info-list small { display: block; font-size: 13px; color: var(--muted); }
.info-list address { font-style: normal; max-width: 36ch; }
.info-list a:hover { color: var(--indigo); }
.enquiry { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 16px; }
.form-note { font-size: 14px; color: var(--muted); margin-top: -8px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { display: grid; gap: 7px; }
.f-field > span { font-size: 14px; font-weight: 600; color: var(--heading); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--heading);
  padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.f-field textarea { resize: vertical; min-height: 130px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(77, 81, 171, .14); }
.f-field .invalid { border-color: #D64545; }
.enquiry .btn { justify-self: start; }
.form-status { font-size: 14.5px; color: var(--indigo); min-height: 1.4em; }
.map-sec iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.25); }

/* ==========================================================================
   Inner pages — responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .ind-grid, .why-list.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  .detail-grid, .cat-intro-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .detail-side .side-card:last-child { grid-column: 1 / -1; }
  .p-grid, .svc-grid, .mv-grid, .cat-chips { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .section-link { justify-self: start; }
  .slider-nav { flex-direction: column; align-items: stretch; gap: 14px; }
  .slider-arrows { justify-content: flex-end; order: -1; }
  .slide { padding-bottom: 200px; }
}
@media (max-width: 720px) {
  .hero-slider { min-height: 660px; }
  .slide { padding-top: 120px; padding-bottom: 190px; align-items: flex-start; }
  .slide::after { background: linear-gradient(180deg, rgba(7, 11, 46, .75) 0%, rgba(7, 11, 46, .85) 60%, rgba(7, 11, 46, .96) 100%); }
  .slider-tabs { grid-template-columns: repeat(4, 1fr); }
  .slider-tab { flex-direction: column; gap: 2px; padding: 14px 6px 2px 0; }
  .slider-tab + .slider-tab { padding-left: 8px; }
  .st-label { font-size: 12.5px; line-height: 1.2; }
  .sl-btn { width: 42px; height: 42px; }
  .page-hero { padding-top: 130px; }
  .hero-tags li { font-size: 12.5px; padding: 6px 11px; }
  .feat-grid, .two-col, .p-grid, .svc-grid, .mv-grid, .cat-chips, .cat-chips.cols-2, .ind-grid, .why-list.four, .f-row { grid-template-columns: 1fr; }
  .detail-side { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mini { padding: 16px; }
  .mini-icon { margin-bottom: 12px; width: 40px; height: 40px; font-size: 16px; }
  .mini-t { font-size: 16px; }
  .mini-go { display: none; }
  .visual-card { aspect-ratio: 4 / 3; margin-bottom: 32px; }
  .faq-item summary { padding: 18px; }
  .faq-a { padding: 0 18px 18px; }
  .faq-item summary h3 { font-size: 16.5px; }
  .stats > div { padding: 8px 14px; }
  .lb-nav { top: auto; bottom: 20px; margin-top: 0; }
  .map-sec iframe { height: 320px; }
  .infra-no { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-bg, .page-hero-bg { transform: none !important; animation: none !important; }
}

/* ==========================================================================
   v2 — image-led layout (category pages with all products, home image sections)
   ========================================================================== */
.p-media { overflow: hidden; aspect-ratio: 480 / 340; }
.p-media::after { display: none; }
.p-media img { border-radius: 0; }
.p-body { padding: 20px 22px 22px; }
.p-body .mini-c { margin-bottom: 6px; }
.p-grid.four { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p-grid.four .p-body h3 { font-size: 18.5px; }
.p-grid.four .p-body p { font-size: 14.5px; }

/* floating support card on about images */
.float-card { position: absolute; left: 0; top: 48px; display: flex; align-items: center; gap: 14px; padding: 16px 20px 16px 16px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); }
.float-card strong { display: block; font-family: var(--f-display); font-size: 18px; color: var(--heading); line-height: 1.2; }
.float-card small { display: block; font-size: 13px; color: var(--muted); }

/* home category cards */
.cat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cat-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.cat-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-card:hover .cat-card-media img { transform: scale(1.06); }
.cat-card-body { flex: 1; padding: 26px 28px 28px; display: flex; flex-direction: column; }
.cat-no { font-family: var(--f-mono); font-size: 12px; color: var(--indigo); letter-spacing: .1em; }
.cat-card h3 { font-size: 25px; letter-spacing: -.02em; margin: 6px 0 8px; }
.cat-card h3 a:hover { color: var(--indigo); }
.cat-card-body > p { font-size: 15px; line-height: 1.55; }
.cat-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0 14px; }
.cat-thumbs img { width: 100%; aspect-ratio: 480 / 340; object-fit: cover; border-radius: 8px; }
.cat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.cat-links a { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--paper); font-size: 13.5px; color: var(--heading); transition: background-color .2s, color .2s; }
.cat-links a:hover { background: var(--indigo); color: var(--white); }
.cat-card .link-arrow { margin-top: auto; font-size: 15px; }
.popular { background: var(--white); }

/* home gallery strip */
.home-gallery { background: var(--paper); }
.hg-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.hg-item { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--ink); }
.hg-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.hg-item:nth-child(6) { grid-column: span 2; }
.hg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.hg-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 46, .75)); }
.hg-item span { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.hg-item:hover img { transform: scale(1.06); }

/* about image cards */
.img-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.img-card { position: relative; display: flex; align-items: flex-end; min-height: 360px; border-radius: var(--r-md); overflow: hidden; isolation: isolate; color: var(--on-dark); }
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.img-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 46, .1) 20%, rgba(7, 11, 46, .92) 85%); }
.img-card:hover img { transform: scale(1.06); }
.img-card-body { padding: 22px; }
.img-card strong { display: block; font-family: var(--f-display); font-size: 22px; color: var(--white); letter-spacing: -.015em; }
.img-card small { display: block; font-size: 14px; margin-top: 6px; line-height: 1.45; }
.img-card .tile-go { margin-top: 14px; }

/* category page: jump nav, intro collage, product sections */
.jump-nav { position: sticky; top: 96px; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.jump-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--heading); background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.jump-nav a i { color: var(--indigo); font-size: 12px; }
.jump-nav a:hover, .jump-nav a.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.jump-nav a:hover i, .jump-nav a.is-active i { color: var(--cyan); }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.col-tile { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.col-tile img { width: 100%; aspect-ratio: 480 / 340; object-fit: cover; transition: transform .8s var(--ease); }
.col-tile span { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(7, 11, 46, .7); color: var(--white); font-size: 12.5px; font-weight: 500; }
.col-tile:hover img { transform: scale(1.05); }

.item-sec { padding: 80px 0; scroll-margin-top: 150px; border-top: 1px solid var(--line); }
.item-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.item-grid.is-flip .item-media { order: 2; }
.item-media { position: sticky; top: 170px; }
.item-art { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(7, 11, 46, .55); }
.item-art img { width: 100%; height: auto; }

/* Shown in place of an image when a product/category has none. */
.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  color: rgba(255, 255, 255, .35);
  font-size: 32px;
}
.item-art .media-placeholder { aspect-ratio: 480 / 340; height: auto; }
.cat-card-media .media-placeholder { min-height: 200px; }
.item-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.item-tags li { padding: 6px 12px; border-radius: 8px; background: var(--indigo-soft); color: var(--indigo); font-family: var(--f-mono); font-size: 12px; }
.item-copy .h2 { font-size: clamp(30px, 3.4vw, 44px); }
.item-copy .lead { margin-top: 16px; color: var(--heading); }
.item-copy .prose p { font-size: 16px; }
.item-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.item-feats li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.item-feats strong { display: block; color: var(--heading); font-size: 15.5px; margin-bottom: 2px; }
.if-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); font-size: 15px; flex: none; }
.is-paper .item-feats li .if-icon { background: var(--white); }
.item-lists { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 30px; padding: 24px; border-radius: var(--r-md); background: var(--paper); }
.is-paper .item-lists { background: var(--white); }
.mini-h { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.item-lists .check-list { margin-top: 12px; gap: 8px; }
.item-lists .check-list li { font-size: 14.5px; }
.is-paper .brand-list li { background: var(--paper); }
.item-copy .about-actions { margin-top: 30px; }

@media (max-width: 1180px) {
  .p-grid.four { grid-template-columns: repeat(2, 1fr); }
  .img-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  .item-grid, .item-grid.is-flip { grid-template-columns: minmax(0, 1fr); }
  .item-grid.is-flip .item-media { order: 0; }
  .item-media { position: static; max-width: 640px; }
  .hg-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .hg-item:nth-child(6) { grid-column: span 1; }
  .jump-nav { top: 92px; }
}
@media (max-width: 720px) {
  .cat-cards { grid-template-columns: 1fr; }
  .p-grid.four { grid-template-columns: 1fr 1fr; gap: 10px; }
  .p-grid.four .p-body { padding: 14px; }
  .p-grid.four .p-body p, .p-grid.four .p-tags { display: none; }
  .p-grid.four .p-body h3 { font-size: 16px; }
  .p-grid.four .p-go { padding-top: 10px; font-size: 14px; }
  .item-sec { padding: 56px 0; scroll-margin-top: 140px; }
  .item-feats, .item-lists { grid-template-columns: minmax(0, 1fr); }
  .img-cards { grid-template-columns: 1fr; }
  .img-card { min-height: 280px; }
  .hg-grid { grid-auto-rows: 140px; gap: 10px; }
  .float-card { top: auto; bottom: 90px; left: auto; right: 0; }
  .jump-nav { top: 84px; }
}
.item-copy .btn { white-space: normal; height: auto; min-height: 54px; padding-block: 14px; text-align: left; }
.cat-thumbs img, .col-tile img, .item-art img { height: auto; }

/* home services: icon given as an icon-font class from the admin */
.tile-icon.tile-fa { display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(77, 81, 171, .1); color: var(--indigo); font-size: 24px; }
span.tile-icon > img, span.tile-icon > svg { width: 100%; height: 100%; }
