/* ==========================================================================
   DigiWise Tech — a DigiWiseWeb division
   v3: clean and professional. Full-bleed industrial photography, generous
   white space, sharp edges, violet as the single accent. Motion stays subtle.
   ========================================================================== */

:root {
  /* Inherited from digiwiseweb.com */
  --violet: #621df2;
  --ink: #090118;
  --paper: #fefdff;

  --black: #07030e;
  --stone: #f4f2f8;
  --violet-glow: #8b5cff;
  --muted: #9a94a8;
  --muted-ink: #5d566b;
  --body-ink: #3b3449;
  --body-dark: #cfcad9;
  --line-light: rgba(254, 253, 255, 0.14);
  --line-dark: rgba(9, 1, 24, 0.14);

  --font-display: "Wix Madefor Display", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; }
p { margin: 0; }
::selection { background: var(--violet); color: var(--paper); }

.wrap { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--violet-glow); }
.on-light .accent, .on-stone .accent { color: var(--violet); }

/* ---------- labels ---------- */
.label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
}
.muted { color: var(--muted); }
.on-light .muted, .on-stone .muted { color: var(--muted-ink); }
.todo { color: #b86e00; margin-top: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 8px 0 22px; border-radius: 2px;
  background: var(--violet); color: var(--paper);
  font: 500 14px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  border: 0; cursor: pointer; transition: background .3s var(--ease);
}
.btn .sq { width: 36px; height: 36px; display: grid; place-items: center; background: var(--paper); color: var(--violet); transition: transform .3s var(--ease); }
.btn:hover { background: #7436ff; }
.btn:hover .sq { transform: translateX(3px); }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: color .2s;
}
.link:hover { color: var(--violet-glow); }
.on-light .link:hover, .on-stone .link:hover { color: var(--violet); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s; background: rgba(7, 3, 14, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-light); }
.header.scrolled { background: rgba(7, 3, 14, .9); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; justify-self: start; }
.brand svg { width: 34px; color: var(--paper); }
.brand b { font-weight: 600; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.brand span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--violet-glow); margin-left: 2px; }
.nav { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.nav a { opacity: .92; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--violet-glow); }
.header__right { justify-self: end; display: flex; align-items: center; gap: 28px; font-size: 14px; }
.header__right .cta { display: inline-flex; gap: 8px; align-items: center; }
.header__right .cta i { font-style: normal; color: var(--violet-glow); }
.burger { display: none; background: none; border: 0; color: var(--paper); cursor: pointer; padding: 6px; justify-self: end; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,3,14,.55) 0%, rgba(7,3,14,.5) 35%, rgba(7,3,14,.92) 100%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(34px, 5.4vw, 86px); letter-spacing: -0.045em; line-height: .98; margin-top: 20px; max-width: 1240px; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(28px, 3.4vw, 44px); padding-top: 24px; border-top: 1px solid var(--line-light); }
.hero__ctas { display: flex; align-items: center; gap: 26px; flex: none; }

/* ---------- section scaffolding ---------- */
.section { position: relative; padding: clamp(80px, 9vw, 140px) 0; }
.on-light { background: var(--paper); color: var(--ink); }
.on-stone { background: var(--stone); color: var(--ink); }
.sec-top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line-light); margin-bottom: clamp(40px, 5vw, 72px); }
.on-light .sec-top, .on-stone .sec-top { border-color: var(--line-dark); }
.sec-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.big { font-size: clamp(38px, 5.2vw, 84px); letter-spacing: -0.045em; line-height: .98; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 620px; color: var(--body-dark); }
.on-light .lead, .on-stone .lead { color: var(--body-ink); }
.statement { font-size: clamp(28px, 3.4vw, 52px); letter-spacing: -0.04em; line-height: 1.06; max-width: 1100px; margin-bottom: clamp(48px, 6vw, 80px); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; background: var(--stone); }
.service__img img, .ind__img img, .concept__img img, .case__img img, .buyer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover img, .ind:hover img, .concept:hover img { transform: scale(1.03); }
.service h3 { font-size: clamp(24px, 2.1vw, 32px); margin: 10px 0 12px; }
.service p { color: var(--body-ink); }
.service ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.service li { padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }

/* ---------- approach ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.step { padding: 24px 24px 0 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.step .label { color: var(--violet); }
.step h3 { font-size: clamp(22px, 1.9vw, 28px); margin: 44px 0 12px; letter-spacing: -0.03em; line-height: 1.1; }
.step p { color: var(--body-ink); font-size: 15.5px; }
.section--compact { padding: clamp(56px, 6vw, 88px) 0; }
.section--compact .sec-top { margin-bottom: clamp(28px, 3vw, 40px); }
.section--compact .sec-head { margin-bottom: clamp(28px, 3vw, 44px); }
.section--compact .big { font-size: clamp(32px, 3.8vw, 60px); }
.section--compact .step h3 { margin-top: 18px; font-size: clamp(19px, 1.5vw, 22px); }

/* ---------- industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.ind__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.ind h3 { font-size: clamp(18px, 1.5vw, 22px); margin-top: 14px; letter-spacing: -0.02em; line-height: 1.15; }

/* ---------- buyers ---------- */
.buyers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 36px); }
.buyer { display: grid; grid-template-columns: 2fr 3fr; border: 1px solid var(--line-light); transition: border-color .3s; }
.buyer:hover { border-color: var(--violet-glow); }
.buyer__img { overflow: hidden; min-height: 320px; }
.buyer__body { padding: clamp(20px, 2.2vw, 32px); }
.buyer h3 { font-size: clamp(24px, 2.1vw, 32px); margin: 12px 0 12px; }
.buyer p { color: var(--body-dark); font-size: 15.5px; }
.spec { margin: 20px 0 0; }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-light); font-size: 14.5px; }
.spec dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; }

/* ---------- work ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); background: var(--paper); }
.case__img { overflow: hidden; min-height: 460px; }
.case__body { padding: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) 0; display: flex; flex-direction: column; justify-content: center; }
.case h3 { font-size: clamp(32px, 3.6vw, 56px); margin: 14px 0 16px; }
.case__body > p:not(.label) { color: var(--body-ink); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.metric { padding: 20px 16px 20px 0; }
.metric + .metric { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.metric b { display: block; font-size: clamp(36px, 3.6vw, 56px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.metric span { display: block; margin-top: 8px; color: var(--body-ink); font-size: 14px; }
.case__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(20px, 2.4vw, 36px); }
.concept__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 18px; background: var(--paper); }
.tag { position: absolute; top: 14px; left: 14px; padding: 6px 10px; background: var(--violet); color: var(--paper); font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.concept h3 { font-size: clamp(22px, 1.9vw, 28px); margin: 8px 0 10px; }
.concept p { color: var(--body-ink); font-size: 15.5px; max-width: 560px; }
.concept__note { margin-top: 24px; }

/* ---------- before / after project cards ---------- */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.project { background: var(--paper); border-radius: 14px; padding: clamp(20px, 2.4vw, 34px); display: flex; flex-direction: column; min-width: 0; }
.project__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ptag { padding: 6px 10px; border-radius: 4px; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.ptag--client { background: var(--violet); color: var(--paper); }
.ptag--concept { background: transparent; color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }
.project h3 { font-size: clamp(24px, 2.2vw, 34px); margin: 14px 0 10px; }
.project__desc { color: var(--body-ink); font-size: 15.5px; max-width: 620px; }

.ba { position: relative; aspect-ratio: 16 / 7.8; margin: clamp(28px, 3vw, 40px) 0 clamp(18px, 2vw, 26px); }
.shot { position: absolute; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 var(--line-dark), 0 18px 40px -18px rgba(9, 1, 24, .35); }
.shot--before { left: 0; top: 16%; width: 50%; filter: saturate(.75); }
.shot--after { right: 0; top: 0; width: 66%; z-index: 2; background: #1b1626; }
.pill { position: absolute; top: -12px; left: 12px; z-index: 3; padding: 5px 10px; border-radius: 4px; background: #6f6880; color: #fff; font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pill--after { background: var(--violet); }
.chrome { display: flex; gap: 4px; padding: 7px 8px; border-bottom: 1px solid var(--line-dark); }
.shot--after .chrome { border-color: rgba(255, 255, 255, .08); }
.chrome i { width: 6px; height: 6px; border-radius: 50%; background: #d6d2de; }
.shot--after .chrome i { background: #3a3448; }
.ba__arrow { position: absolute; left: calc(34% - 15px); top: 30%; z-index: 4; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--violet); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(9, 1, 24, .2); }

.scr { container-type: inline-size; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 8px 8px; }
/* dated "before" layout */
.old { background: #f1f1ee; font-family: "Times New Roman", Times, serif; color: #222; display: flex; flex-direction: column; }
.old__top { display: flex; justify-content: space-between; align-items: center; padding: 3cqw 4cqw; background: linear-gradient(#2e5fae, #1f4688); color: #fff; }
.old__top b { font-size: 4.6cqw; letter-spacing: .02em; }
.old__top b span { color: #ffd84d; margin-left: .4em; }
.old__top em { font-style: normal; font-size: 2.4cqw; opacity: .85; }
.old__body { display: flex; flex: 1; min-height: 0; }
.old__body ul { list-style: none; margin: 0; padding: 3cqw 0; width: 24%; background: #dfe5ef; border-right: 1px solid #c4cdd9; }
.old__body li { font-size: 2.6cqw; color: #1f4688; padding: 1.2cqw 3cqw; border-bottom: 1px solid #c9d1dd; text-decoration: underline; }
.old__main { flex: 1; padding: 3cqw 4cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.old__main h5 { margin: 0; font-size: 4.2cqw; color: #1f4688; font-weight: 700; line-height: 1.1; }
.old__img { height: 30cqw; background-size: cover; background-position: center; filter: grayscale(.6) contrast(.9); border: 2px solid #fff; outline: 1px solid #bbb; }
.old__main i { display: block; height: 1.4cqw; background: #c9c9c4; border-radius: 1px; }
.old__main i.s { width: 60%; }
/* before B: early-2000s small business (pool) */
.old--b { background: linear-gradient(#bfe9f3, #e8f8fb); font-family: Verdana, Arial, sans-serif; }
.ob__banner { height: 24cqw; background-size: cover; background-position: center; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; text-shadow: .3cqw .3cqw 0 #00467a; border-bottom: .6cqw solid #ffcc00; }
.ob__banner b { font: 700 6cqw/1 "Comic Sans MS", "Trebuchet MS", sans-serif; letter-spacing: .05em; }
.ob__banner em { font-size: 2.4cqw; font-style: italic; margin-top: 1cqw; }
.ob__nav { display: flex; justify-content: center; gap: .8cqw; padding: 1.6cqw; background: #0a6fa8; }
.ob__nav span { font-size: 2.2cqw; color: #fff; padding: .8cqw 2cqw; background: linear-gradient(#3aa6e0, #0a5a8c); border: .3cqw outset #7cc8f0; }
.ob__cols { display: flex; gap: 3cqw; padding: 3cqw 4cqw; flex: 1; }
.ob__text { flex: 1.3; display: flex; flex-direction: column; gap: 1.4cqw; position: relative; }
.ob__text h5 { margin: 0; font: 700 3.6cqw/1.1 "Comic Sans MS", "Trebuchet MS", sans-serif; color: #c2185b; }
.ob__text i { display: block; height: 1.3cqw; background: #9ccfdc; }
.ob__text i.s { width: 55%; }
.ob__burst { position: absolute; right: -2cqw; bottom: -1cqw; background: #e53935; color: #ffeb3b; font: 700 2.4cqw/1 Arial, sans-serif; padding: 1.6cqw 1.8cqw; border-radius: 50%; transform: rotate(-12deg); border: .4cqw dashed #ffeb3b; }
.ob__img { flex: 1; background-size: cover; background-position: center; border: .8cqw ridge #c0c0c0; }

/* before C: grey corporate tables (industrial) */
.old--c { background: #e9e9e9; font-family: Tahoma, Arial, sans-serif; color: #333; }
.oc__top { display: flex; justify-content: space-between; align-items: center; padding: 2.4cqw 3.6cqw; background: #fff; border-bottom: .4cqw solid #b30000; }
.oc__top b { font: 700 4.4cqw/1 Arial, sans-serif; color: #b30000; }
.oc__top b span { color: #333; font-weight: 400; }
.oc__search { font-size: 2.1cqw; color: #666; display: flex; align-items: center; gap: 1cqw; }
.oc__search i { display: inline-block; width: 14cqw; height: 3cqw; background: #fff; border: 1px solid #999; }
.oc__tabs { display: flex; gap: .4cqw; padding: 1.4cqw 3.6cqw 0; background: #c9c9c9; }
.oc__tabs span { font-size: 2.2cqw; padding: 1.1cqw 2.2cqw; background: #e0e0e0; border: 1px solid #a8a8a8; border-bottom: 0; color: #333; }
.oc__tabs span.on { background: #fff; color: #b30000; font-weight: 700; }
.oc__hero { height: 22cqw; background-size: cover; background-position: center; filter: grayscale(1) contrast(.85); display: flex; align-items: flex-end; border-bottom: 1px solid #999; }
.oc__hero h5 { margin: 0; width: 100%; padding: 1.4cqw 3.6cqw; background: rgba(0, 0, 0, .55); color: #fff; font: 700 3.2cqw/1.1 Arial, sans-serif; }
.oc__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 2.6cqw 3.6cqw; flex: 1; }
.oc__cols div { background: #fff; border: 1px solid #b5b5b5; padding: 1.6cqw; display: flex; flex-direction: column; gap: 1cqw; }
.oc__cols b { font-size: 2.4cqw; color: #b30000; border-bottom: 1px solid #ddd; padding-bottom: .8cqw; }
.oc__cols i { display: block; height: 1.2cqw; background: #d4d4d4; }

/* before D: navy and orange with a sidebar form (logistics) */
.old--d { background: #fff; font-family: Georgia, "Times New Roman", serif; color: #1d2a44; }
.od__top { display: flex; justify-content: space-between; align-items: center; padding: 2.6cqw 3.6cqw; background: #14244a; color: #fff; }
.od__top b { font-size: 4.2cqw; font-style: italic; }
.od__top em { font-style: normal; font-size: 2.2cqw; color: #ff9f1c; font-weight: 700; }
.od__nav { padding: 1.4cqw 3.6cqw; background: #ff8c00; color: #14244a; font: 700 2.2cqw/1 Arial, sans-serif; }
.od__body { display: flex; gap: 3cqw; padding: 3cqw 3.6cqw; flex: 1; min-height: 0; }
.od__main { flex: 1; display: flex; flex-direction: column; gap: 1.4cqw; }
.od__main h5 { margin: 0; font-size: 3.6cqw; line-height: 1.1; color: #14244a; }
.od__main ul { margin: 0; padding-left: 3.6cqw; font-size: 2.3cqw; line-height: 1.5; color: #333; }
.od__img { flex: 1; min-height: 10cqw; background-size: cover; background-position: center; filter: saturate(.6); border: 1px solid #aaa; }
.od__side { width: 30%; background: #eef1f7; border: 1px solid #b9c3d8; padding: 2cqw; display: flex; flex-direction: column; gap: 1.4cqw; }
.od__side b { font: 700 2.6cqw/1 Arial, sans-serif; color: #14244a; }
.od__side i { display: block; height: 3cqw; background: #fff; border: 1px solid #9aa6bf; }
.od__side em { font-style: normal; text-align: center; background: #ff8c00; color: #fff; font: 700 2.2cqw/1 Arial, sans-serif; padding: 1.4cqw; }

/* modern "after" layout */
.new { background-size: cover; background-position: center; color: #fff; display: flex; flex-direction: column; font-family: var(--font-display); }
.new__nav { display: flex; align-items: center; gap: 3.4cqw; padding: 3.4cqw 4.4cqw; font-size: 2.1cqw; }
.new__nav b { font-size: 3cqw; font-weight: 600; margin-right: auto; letter-spacing: -.01em; }
.new__nav span { opacity: .8; }
.new__nav em { font-style: normal; background: var(--violet); padding: 1.3cqw 2.4cqw; border-radius: 1cqw; }
.new__hero { margin-top: auto; padding: 0 4.4cqw 6cqw; max-width: 72%; }
.new__hero h5 { margin: 0; font-size: 5.6cqw; font-weight: 500; line-height: 1.04; letter-spacing: -.03em; }
.new__hero p { margin-top: 1.8cqw; font-size: 2.3cqw; opacity: .8; }
.new__btns { display: flex; gap: 1.8cqw; margin-top: 3cqw; font-size: 2.1cqw; }
.new__btns em { font-style: normal; background: var(--violet); padding: 1.4cqw 2.6cqw; border-radius: 1cqw; }
.new__btns em.ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }

/* after A: security brand, graphite and signal red */
.new--a { font-family: Arial, "Helvetica Neue", sans-serif; }
.new--a .new__nav b { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.new--a .new__nav b::before { content: ""; display: inline-block; width: 2.4cqw; height: 2.8cqw; margin-right: 1.2cqw; vertical-align: -.4cqw; background: #e63946; clip-path: polygon(50% 0, 100% 18%, 100% 60%, 50% 100%, 0 60%, 0 18%); }
.new--a .new__nav em, .new--a .new__btns em:not(.ghost) { background: #e63946; border-radius: 0; }
.new--a .new__btns em.ghost { border-radius: 0; }
.new--a .new__hero h5 { text-transform: uppercase; font-weight: 700; font-size: 5cqw; letter-spacing: -.01em; line-height: 1.02; }
.new--a .new__hero h5::before { content: ""; display: block; width: 7cqw; height: .6cqw; background: #e63946; margin-bottom: 2cqw; }

/* after B: pool brand, light split with aqua */
.new--b { background: #f4fbfd; color: #0b2a3a; }
.shot--after:has(.new--b) { background: #f4fbfd; }
.shot--after:has(.new--b) .chrome { border-color: rgba(11, 42, 58, .1); }
.shot--after:has(.new--b) .chrome i { background: #cfe3ea; }
.new--b .new__nav { background: #fff; border-bottom: 1px solid #e1eef3; }
.new--b .new__nav b { color: #0089a8; }
.new--b .new__nav b::before { content: "◐ "; color: #00b4d8; }
.new--b .new__nav em, .new--b .new__btns em:not(.ghost) { background: #00a6c8; border-radius: 99px; }
.new--b .new__btns em.ghost { border-radius: 99px; box-shadow: inset 0 0 0 1px #00a6c8; color: #0089a8; }
.nb__split { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 0; }
.new--b .new__hero { max-width: none; margin: 0; padding: 0 3cqw 0 4.4cqw; align-self: center; }
.new--b .new__hero h5 { font-size: 5cqw; font-weight: 600; color: #0b2a3a; }
.new--b .new__hero p { color: #3c6475; opacity: 1; }
.nb__img { background-size: cover; background-position: center; margin: 2.4cqw 2.4cqw 2.4cqw 0; border-radius: 2.4cqw; }

/* after C: industrial brand, steel and safety yellow */
.new--c .new__nav b { color: #f5b700; font-weight: 800; letter-spacing: .04em; }
.new--c .new__nav b::before { content: "▲ "; }
.new--c .new__nav em, .new--c .new__btns em:not(.ghost) { background: #f5b700; color: #111; border-radius: .6cqw; font-weight: 600; }
.new--c .new__btns em.ghost { border-radius: .6cqw; }
.new--c .new__hero { padding-bottom: 3cqw; }
.new--c .new__hero h5 { font-weight: 600; }
.nc__strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .15); background: rgba(14, 17, 20, .7); }
.nc__strip span { font-size: 2.1cqw; padding: 2.2cqw 0 2.2cqw 4.4cqw; border-left: .5cqw solid #f5b700; margin-left: -1px; opacity: .9; }

/* after D: logistics brand, deep blue and orange, centered */
.new--d .new__nav b { font-weight: 700; }
.new--d .new__nav b::before { content: "➜ "; color: #ff8a1f; }
.new--d .new__nav em, .new--d .new__btns em:not(.ghost) { background: #ff8a1f; border-radius: .6cqw; }
.new--d .new__btns em.ghost { border-radius: .6cqw; }
.new--d .new__hero { max-width: none; text-align: center; margin: auto 0 0; padding: 0 9cqw 3cqw; }
.new--d .new__hero h5 { font-size: 5cqw; font-weight: 600; }
.new--d .new__btns { justify-content: center; }
.nd__svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; padding: 0 4.4cqw 4cqw; }
.nd__svc span { font-size: 2cqw; text-align: center; padding: 1.6cqw 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: .8cqw; background: rgba(8, 26, 58, .5); }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 16px; background: var(--stone); border-radius: 10px; }
.feat { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 13.5px; color: var(--body-ink); line-height: 1.4; }
.feat__i { width: 30px; height: 30px; border-radius: 8px; background: var(--paper); color: var(--violet); display: grid; place-items: center; }
.feat__i svg { width: 17px; height: 17px; }
.feat b { display: block; color: var(--ink); font-weight: 500; font-size: 14.5px; margin-bottom: 2px; }
.pmetrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid var(--line-dark); }
.pmetrics div { padding: 16px 12px 0 0; }
.pmetrics div + div { padding-left: 14px; border-left: 1px solid var(--line-dark); }
.pmetrics b { display: block; font-size: clamp(30px, 2.8vw, 42px); font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--violet); }
.pmetrics span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--body-ink); }
.pnote { margin-top: 12px; }
.pmetrics--text b { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; }
@media (max-width: 1080px) {
  .projects { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .feats { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 16 / 8.4; }
  .pill { font-size: 9.5px; top: -10px; }
}

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.why > div { padding: 24px 24px 0 0; }
.why > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.why h4 { font-size: 23px; margin: 40px 0 12px; letter-spacing: -0.025em; line-height: 1.1; }
.why p { color: var(--body-ink); font-size: 15.5px; }
.why .label { color: var(--violet); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { border-top: 1px solid var(--line-dark); }
.faq details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--violet); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--body-ink); max-width: 680px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact .big { margin-bottom: 26px; }
.audit { margin-top: 36px; border-top: 1px solid var(--line-light); }
.audit div { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.audit .label { color: var(--violet-glow); padding-top: 3px; }
.audit b { display: block; font-weight: 500; }
.audit span { display: block; color: var(--body-dark); font-size: 14.5px; }
.form { display: grid; gap: 26px; align-content: start; padding-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--paper); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; padding: 10px 0 12px; outline: none; width: 100%;
  transition: border-color .2s;
}
.field select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b5cff' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right center; }
.field select option { color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet-glow); }
.field input::placeholder, .field textarea::placeholder { color: #6e6880; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); font-size: 13px; max-width: 280px; }
.form__ok { display: none; padding: 14px 0; color: #2ee59d; font-size: 15px; }
.form.sent .form__ok { display: block; }
.contact__list { margin-top: 12px; display: grid; gap: 10px; }
.contact__list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 15px; }
.contact__list a:hover { color: var(--violet-glow); }

/* White form panel on the dark contact section */
.form { background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 44px); }
.form .field label, .form .muted, .form__foot small { color: var(--muted-ink); }
.form .field input, .form .field select, .form .field textarea { color: var(--ink); border-color: var(--line-dark); }
.form .field input:focus, .form .field select:focus, .form .field textarea:focus { border-color: var(--violet); }
.form .field input::placeholder, .form .field textarea::placeholder { color: var(--muted); }
.form .form__ok { color: #0d7a50; }
.form .contact__list { padding-top: 20px; border-top: 1px solid var(--line-dark); }
.form .contact__list a:hover { color: var(--violet); }

/* Soft corners */
.form, .case, .buyer, .service__img, .ind__img, .concept__img { border-radius: 10px; overflow: hidden; }
.btn { border-radius: 8px; }
.btn .sq { border-radius: 5px; }
.tag { border-radius: 4px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-light); padding: 56px 0 32px; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form { position: relative; }
.form.sending .btn { opacity: .6; cursor: progress; }
.form__error { margin: 0; padding: 12px 14px; border-radius: 8px; background: #fdecec; color: #a3242c; font-size: 14.5px; }

/* thank-you popup */
.thanks { border: 0; padding: clamp(28px, 4vw, 44px); width: min(460px, calc(100vw - 32px)); border-radius: 14px; background: var(--paper); color: var(--ink); text-align: left; box-shadow: 0 30px 80px -20px rgba(7, 3, 14, .6); }
.thanks::backdrop { background: rgba(7, 3, 14, .6); backdrop-filter: blur(6px); }
.thanks[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.thanks__mark { width: 52px; color: var(--violet); margin-bottom: 22px; }
.thanks .label { color: var(--violet); }
.thanks h3 { font-size: clamp(28px, 3vw, 38px); margin: 10px 0 14px; }
.thanks p { color: var(--body-ink); font-size: 16px; }
.thanks__small { margin-top: 12px; font-size: 14px !important; }
.thanks__small a { color: var(--violet); border-bottom: 1px solid currentColor; }
.thanks .btn { margin-top: 26px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; align-items: start; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__col .label { color: var(--muted); margin-bottom: 8px; }
.footer__col a:hover { color: var(--violet-glow); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line-light); color: var(--muted); }
.footer__bottom a { color: var(--paper); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .sec-head, .case, .contact, .faq-grid, .buyers { grid-template-columns: 1fr; }
  .case__body { padding: 0 24px 28px; }
  .case__img { min-height: 320px; }
  .steps, .why, .industries { grid-template-columns: 1fr 1fr; }
  .step:nth-child(odd), .why > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .step, .why > div { padding-bottom: 24px; border-bottom: 1px solid var(--line-dark); }
  .step h3, .why h4 { margin-top: 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header__right { display: none; }
  .burger { display: block; }
  .header__inner { grid-template-columns: 1fr auto; }
  .header.open { background: var(--black); }
  .header.open .nav { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--black); padding: 16px var(--gutter) 32px; gap: 14px; font-size: 26px; border-bottom: 1px solid var(--line-light); }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .services { grid-template-columns: 1fr; }
  .concepts { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps, .why, .form__row, .footer__top { grid-template-columns: 1fr; }
  .step, .step + .step, .why > div, .why > div + div { padding-left: 0; border-left: 0; }
  .buyer { grid-template-columns: 1fr; }
  .buyer__img { min-height: 0; aspect-ratio: 4 / 3; }
  .metrics { grid-template-columns: 1fr; }
  .metric + .metric { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .sec-top { flex-direction: column; gap: 6px; }
}
