/* ==========================================================================
   Data HS s.r.o. - site stylesheet
   Light corporate system, built on the Codi IT services layout.
   Single file. No build step, no dependencies.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* Surfaces */
  --paper:      #FFFFFF;
  --paper-2:    #F6F7F8;
  --card:       #F1F2F4;
  --card-2:     #E8EAEE;
  --ink:        #0E0F12;
  --ink-2:      #16181D;
  --ink-3:      #1E2128;

  /* Text */
  --text:       #0E0F12;
  --muted:      #5B6169;
  --on-dark:    #F2F4F6;
  --on-dark-mut:#9AA2AC;
  --on-light:   var(--text);
  --on-light-mut: var(--muted);

  /* Brand, taken from the Data HS logo */
  --brand:      #1C75BC;
  --brand-ink:  #145C95;
  --brand-lift: #2E8FD8;
  --brand-soft: #E9F2FA;
  --green:      #8DC63F;
  --green-deep: #6FA82E;
  --teal:       #2FA9A0;
  --mint:       var(--green);

  --grad:      linear-gradient(120deg, var(--brand) 0%, var(--teal) 52%, var(--green) 100%);
  --grad-dark: linear-gradient(120deg, var(--brand-lift) 0%, var(--teal) 48%, var(--green) 100%);
  --grad-band: linear-gradient(115deg, #E2EEF9 0%, #E6F2EC 48%, #EFF7DE 100%);
  --grad-soft: linear-gradient(120deg, rgba(28,117,188,.16), rgba(47,169,160,.10) 55%, rgba(141,198,63,.14));

  /* Lines */
  --line:       #E3E5E9;
  --line-2:     #D5D8DE;
  --line-dark:  rgba(255,255,255,.11);
  --line-dark-2:rgba(255,255,255,.07);
  --line-light: var(--line);

  /* Type */
  --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Metrics */
  --shell: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(14,15,18,.05);
  --shadow-md: 0 18px 44px -22px rgba(14,15,18,.22);
  --shadow-lg: var(--shadow-md);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- 2. Reset ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.028em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); letter-spacing: -.042em; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.85rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -.022em; }
h4 { font-size: 1.04rem; letter-spacing: -.015em; }

p { margin: 0 0 1.1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* --- 3. Layout primitives ------------------------------------------------ */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 900px; }

.section { padding-block: clamp(66px, 7.6vw, 114px); position: relative; }
.section--tight { padding-block: clamp(48px, 5.2vw, 74px); }
.section--soft, .section--muted, .section--dark { background: var(--paper-2); }
.section--accent, .section--ink2 { background: var(--grad-band); }

.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3, .section--ink h4, .section--ink h5 { color: var(--on-dark); }
.section--ink p { color: var(--on-dark-mut); }

.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- 4. Section furniture ------------------------------------------------ */

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 20px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--ink .eyebrow { color: var(--green); }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 64ch; }
.section--ink .lede { color: var(--on-dark-mut); }

.section-head { max-width: 760px; margin-bottom: clamp(34px, 4.4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lede { margin-inline: auto; }

.head-split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  margin-bottom: clamp(34px, 4.4vw, 56px);
}
.head-split .section-head { margin-bottom: 0; }

/* --- 5. Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-size: .93rem; font-weight: 600; letter-spacing: -.012em;
  transition: background-color .28s var(--ease), border-color .28s var(--ease), color .28s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-ink); }

.btn--ghost, .btn--ghost-dark { border-color: var(--text); color: var(--text); background: transparent; }
.btn--ghost:hover, .btn--ghost-dark:hover { background: var(--text); color: #fff; }

.section--ink .btn--ghost, .section--ink .btn--ghost-dark { border-color: rgba(255,255,255,.4); color: var(--on-dark); }
.section--ink .btn--ghost:hover, .section--ink .btn--ghost-dark:hover { background: #fff; color: var(--text); border-color: #fff; }

.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: var(--card); }
.btn--sm { padding: 11px 22px; font-size: .87rem; }

/* Codi style understated underlined link */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .87rem;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--text);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand); border-color: var(--brand); }
.link-arrow:hover svg { transform: translateX(3px); }
.section--ink .link-arrow { color: var(--on-dark); border-color: var(--on-dark); }
.section--ink .link-arrow:hover { color: var(--green); border-color: var(--green); }

/* --- 5b. Skip link ------------------------------------------------------- */

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 12px 20px; border-radius: 999px;
  background: var(--text); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  transition: top .25s var(--ease);
}
.skip:focus { top: 16px; }

/* --- 6. Header ----------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 15px;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { padding-block: 9px; border-bottom-color: var(--line); background: rgba(255,255,255,.96); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 36px; height: 36px; }

/* Drop-in logo. Replace the file, nothing else changes. */
.brand__logo { height: 38px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .brand__logo { height: 33px; }
.site-footer .brand__logo { height: 34px; }

.brand__type {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -.045em; color: var(--brand); line-height: 1;
}
.brand__type span { color: var(--green); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 13px; border-radius: 999px;
  font-size: .91rem; font-weight: 500; color: var(--muted);
  transition: color .22s var(--ease), background-color .22s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--card); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
}
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; transition: background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.6px;
  background: currentColor; transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- 7. Hero ------------------------------------------------------------- */

.hero {
  position: relative; background: var(--paper);
  padding-top: clamp(126px, 14vw, 172px);
  padding-bottom: clamp(56px, 6.6vw, 92px);
  overflow: hidden; isolation: isolate;
}
.hero--page {
  padding-top: clamp(118px, 12vw, 152px);
  padding-bottom: clamp(44px, 5vw, 70px);
  background: var(--paper-2);
}

.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(14,15,18,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,15,18,.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 78% 62% at 72% 8%, #000 8%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 72% 8%, #000 8%, transparent 70%);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; }
.hero__orb--a { width: 640px; height: 640px; top: -320px; right: -140px; background: rgba(28,117,188,.30); }
.hero__orb--b { width: 500px; height: 500px; top: -200px; right: 260px; background: rgba(141,198,63,.26); }
.hero__orb--c { display: none; }
.hero__noise { display: none; }

.hero__inner { position: relative; max-width: 940px; }
.hero--page .hero__inner { max-width: 840px; }

.hero--home .shell {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(34px, 5vw, 76px); align-items: center;
}
.hero--home .hero__inner { max-width: none; }
.hero--home .hero__media .imgph { border-radius: var(--r-xl); }

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .81rem; color: var(--muted); margin-bottom: 26px;
}
.hero__tag b {
  font-family: var(--font-display);
  font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--grad); color: #fff;
}

.hero h1 { margin-bottom: 24px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: clamp(1.03rem, 1.45vw, 1.18rem); color: var(--muted); max-width: 60ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
  margin-top: clamp(38px, 4.6vw, 58px); padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 42px;
  font-size: .83rem; color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

.crumb { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--muted); margin-bottom: 20px; }
.crumb a:hover { color: var(--brand); }
.crumb svg { width: 12px; height: 12px; opacity: .5; }

/* --- 8. Stats ------------------------------------------------------------ */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.stat { padding-left: 22px; border-left: 2px solid var(--brand); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.7vw, 3.1rem);
  font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--text);
}
.stat__label { margin-top: 10px; font-size: .87rem; color: var(--muted); line-height: 1.45; }
.section--ink .stat { border-left-color: var(--green); }
.section--ink .stat__num { color: var(--on-dark); }
.section--ink .stat__label { color: var(--on-dark-mut); }

/* --- 9. Cards ------------------------------------------------------------ */

.card {
  position: relative;
  padding: clamp(26px, 2.8vw, 38px);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  background: var(--card);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { background: var(--card-2); }
.card h3, .card h4 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 24px; }

.card--dark { background: var(--card); color: var(--text); }
.card--dark h3, .card--dark h4 { color: var(--text); }
.card--dark p { color: var(--muted); }
.card--flat:hover { background: var(--card); }
.card--outline { background: #fff; border-color: var(--line); }
.card--outline:hover { background: #fff; border-color: var(--text); }

.section--ink .card, .section--ink .card--dark { background: var(--ink-2); }
.section--ink .card:hover { background: var(--ink-3); }
.section--ink .card h3, .section--ink .card h4 { color: var(--on-dark); }
.section--ink .card p { color: var(--on-dark-mut); }

/* Codi style thin line icon, no tile */
.icon-tile {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; color: var(--text);
  margin-bottom: 26px; flex-shrink: 0; border-radius: 0;
}
.icon-tile svg { width: 42px; height: 42px; stroke-width: 1.35; }
.card--dark .icon-tile { background: none; color: var(--text); }
.section--ink .icon-tile { color: var(--on-dark); }

.card__index {
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700; letter-spacing: .18em;
  color: var(--brand); margin-bottom: 16px;
}

/* Compact tile for the full service catalogue */
.tile {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: background-color .3s var(--ease);
  height: 100%;
}
.tile:hover { background: var(--card-2); }
.tile > svg { width: 34px; height: 34px; stroke-width: 1.4; color: var(--text); margin-bottom: 20px; }
.tile h4 { margin-bottom: 8px; font-size: 1rem; }
.tile p { font-size: .88rem; color: var(--muted); margin-bottom: 0; }

/* Big service row */
.svc {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 58px); align-items: center;
  padding: clamp(30px, 3.6vw, 52px);
  border-radius: var(--r-xl);
  background: var(--card); border: 0;
}
.svc + .svc { margin-top: 20px; }
.svc__num { font-family: var(--font-display); font-size: .73rem; font-weight: 700; letter-spacing: .2em; color: var(--brand); margin-bottom: 16px; }
.svc h3 { font-size: clamp(1.5rem, 2.3vw, 1.95rem); margin-bottom: 16px; }
.svc p { color: var(--muted); }
.svc__foot { margin-top: 28px; }
.svc__panel { border-radius: var(--r-lg); background: #fff; border: 0; padding: clamp(22px, 2.4vw, 30px); }
.svc__panel h4 { font-size: .71rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* --- 10. Lists ----------------------------------------------------------- */

.ticks li { position: relative; padding-left: 30px; font-size: .93rem; color: var(--muted); }
.ticks li + li { margin-top: 11px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 17px; height: 17px; border-radius: 50%;
  background-color: var(--brand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C75BC' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.section--ink .ticks li { color: var(--on-dark-mut); }
.section--ink .ticks li::before {
  background-color: rgba(141,198,63,.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238DC63F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.spec { border-top: 1px solid var(--line); }
.spec > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; text-align: right; color: var(--text); }
.spec--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); border-top: 0; }
.spec--cols > div:first-child, .spec--cols > div:nth-child(2) { border-top: 1px solid var(--line); }
.section--ink .spec, .section--ink .spec > div { border-color: var(--line-dark-2); }
.section--ink .spec dt { color: var(--on-dark-mut); }
.section--ink .spec dd { color: var(--on-dark); }

/* Capability columns: the depth-of-catalogue block */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.8vw, 42px); }
.caps h5 {
  font-family: var(--font-display); font-size: .71rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.caps li { font-size: .89rem; color: var(--muted); padding: 5px 0; }
.section--ink .caps h5 { color: var(--green); border-color: var(--line-dark-2); }
.section--ink .caps li { color: var(--on-dark-mut); }

/* --- 11. Process --------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.step { padding-top: 22px; border-top: 2px solid var(--text); }
.step__n { font-family: var(--font-display); font-size: .71rem; font-weight: 700; letter-spacing: .2em; color: var(--brand); margin-bottom: 14px; }
.step h4 { margin-bottom: 10px; }
.step p { font-size: .91rem; color: var(--muted); }
.section--ink .step { border-top-color: var(--on-dark); }
.section--ink .step__n { color: var(--green); }

/* --- 12. Wordmark strip -------------------------------------------------- */

.logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3.4vw, 52px); justify-content: center; }
.logos span { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -.02em; color: var(--muted); white-space: nowrap; transition: color .25s var(--ease); }
.logos span:hover { color: var(--text); }
.logos-note { text-align: center; font-size: .79rem; color: var(--muted); margin-top: 24px; }

/* --- 13. Feature split --------------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 70px); align-items: center; }
.split--wide-left { grid-template-columns: 1.12fr 1fr; }

.panel-visual { position: relative; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--card); padding: clamp(20px, 2.4vw, 30px); overflow: hidden; }

.term {
  border-radius: var(--r-md); background: var(--ink);
  border: 1px solid rgba(255,255,255,.08); overflow: hidden;
  font-family: 'SF Mono', ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;
  font-size: .8rem;
}
.term__bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.17); }
.term__bar b { margin-left: 8px; font-family: var(--font-body); font-size: .72rem; font-weight: 500; color: rgba(242,244,246,.5); }
.term__body { padding: 18px 18px 20px; line-height: 1.85; color: rgba(242,244,246,.82); }
.term__body .c-mut { color: rgba(242,244,246,.36); }
.term__body .c-key { color: #7FC4F2; }
.term__body .c-ok { color: var(--green); }
.term__body .c-num { color: #F2B24C; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.kpi { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); padding: 16px; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.035em; color: var(--text); line-height: 1.1; }
.kpi small { display: block; margin-top: 5px; font-size: .69rem; color: var(--muted); letter-spacing: .05em; }

/* --- 13b. Image placeholders --------------------------------------------- */

.imgph {
  position: relative; margin: 0;
  aspect-ratio: var(--ar, 4/3);
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--card); isolation: isolate;
}
.imgph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.imgph figcaption {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 20px;
  border: 1.5px dashed var(--line-2); border-radius: inherit;
  background: repeating-linear-gradient(45deg, rgba(14,15,18,.026) 0 10px, transparent 10px 20px), var(--card);
  font-family: var(--font-display); font-size: .77rem; color: var(--muted);
}
.imgph figcaption b { font-size: .89rem; font-weight: 700; color: var(--text); word-break: break-all; }
.imgph figcaption::before {
  content: ''; width: 30px; height: 30px; margin-bottom: 4px;
  background: currentColor; opacity: .32;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat;
}
.imgph__alt { max-width: 30ch; font-family: var(--font-body); font-size: .73rem; opacity: .74; }
.section--ink .imgph { background: var(--ink-3); }
.section--ink .imgph figcaption {
  border-color: rgba(255,255,255,.22); color: var(--on-dark-mut);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 10px, transparent 10px 20px), var(--ink-3);
}
.section--ink .imgph figcaption b { color: var(--on-dark); }

/* --- 14. Case notes ------------------------------------------------------ */

.case {
  border-radius: var(--r-lg); background: var(--card);
  padding: clamp(24px, 2.8vw, 34px);
  height: 100%; display: flex; flex-direction: column;
  transition: background-color .3s var(--ease);
}
.case:hover { background: var(--card-2); }
.case__sector { font-family: var(--font-display); font-size: .69rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.case h3 { font-size: 1.16rem; margin-bottom: 12px; }
.case p { font-size: .92rem; color: var(--muted); }
.case__thumb {
  margin: calc(-1 * clamp(24px, 2.8vw, 34px)) calc(-1 * clamp(24px, 2.8vw, 34px)) 24px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.case__result { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; gap: 24px; flex-wrap: wrap; }
.case__result div b { display: block; font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.035em; color: var(--text); }
.case__result div small { font-size: .74rem; color: var(--muted); }

/* --- 15. Accordion ------------------------------------------------------- */

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-size: 1.01rem; font-weight: 600; letter-spacing: -.02em; color: var(--text);
}
.acc__q i {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; position: relative;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.acc__q i::before, .acc__q i::after { content: ''; position: absolute; background: currentColor; transition: transform .3s var(--ease); }
.acc__q i::before { width: 11px; height: 1.5px; }
.acc__q i::after { width: 1.5px; height: 11px; }
.acc__item.is-open .acc__q i { background: var(--brand); border-color: var(--brand); color: #fff; }
.acc__item.is-open .acc__q i::after { transform: scaleY(0); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__a > div { padding: 0 0 24px; max-width: 76ch; color: var(--muted); font-size: .94rem; }

/* --- 16. CTA band -------------------------------------------------------- */

.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--grad-band);
  padding: clamp(40px, 5.4vw, 76px);
  text-align: center;
}
.cta-band h2 { color: var(--text); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 58ch; margin-inline: auto; margin-bottom: 32px; }
.cta-band .hero__cta { justify-content: center; }
.cta-band .btn--ghost-dark { border-color: var(--text); color: var(--text); }
.cta-band .btn--ghost-dark:hover { background: var(--text); color: #fff; }

/* --- 17. Team / person --------------------------------------------------- */

.person { border-radius: var(--r-lg); background: var(--card); padding: 30px; text-align: center; }
.person__avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; background: var(--grad);
}
.person h4 { margin-bottom: 5px; }
.person__role { font-size: .85rem; color: var(--brand); font-weight: 500; margin-bottom: 14px; }
.person p { font-size: .91rem; color: var(--muted); }

/* --- 18. Contact --------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 66px); align-items: start; }

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: .81rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: #fff;
  font: inherit; font-size: .95rem; color: var(--text);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(28,117,188,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .81rem; color: var(--muted); margin-top: 14px; }

.form-card { border-radius: var(--r-xl); background: var(--card); padding: clamp(26px, 3.2vw, 42px); }

.contact-block { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.contact-block:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.contact-block h4 { font-size: .71rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.contact-block p { color: var(--text); }
.contact-block a:hover { color: var(--brand); }

.map-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 340px; background: var(--card); }
.map-frame iframe { position: relative; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25); }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding: 24px; color: var(--muted); font-size: .92rem; }
.map-fallback b { font-family: var(--font-display); color: var(--text); font-size: 1.03rem; }

/* --- 19. Footer ---------------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(52px, 6.2vw, 82px) 30px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: 44px; border-bottom: 1px solid var(--line-dark-2);
}
.footer-brand p { font-size: .9rem; color: var(--on-dark-mut); margin-top: 20px; max-width: 36ch; }
.footer-col h5 { font-family: var(--font-display); font-size: .71rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(242,244,246,.45); margin: 0 0 18px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col span { font-size: .9rem; color: var(--on-dark-mut); transition: color .22s var(--ease); }
.footer-col a:hover { color: #fff; }

.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; font-size: .8rem; color: rgba(242,244,246,.42); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }

/* --- 20. Reveal ---------------------------------------------------------- */

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* --- 21. Responsive ------------------------------------------------------ */

@media (max-width: 1180px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1120px) { .nav a { padding: 9px 10px; font-size: .87rem; } }

@media (max-width: 1040px) {
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 0 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 88px 24px 28px;
    background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-102%); transition: transform .4s var(--ease); z-index: -1;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 16px; font-size: 1.02rem; border-radius: var(--r-md); }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .site-header { background: rgba(255,255,255,.96); }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .split, .split--wide-left, .contact-grid { grid-template-columns: 1fr; }
  .hero--home .shell { grid-template-columns: 1fr; }
  .hero--home .hero__media { order: -1; }
}

@media (max-width: 700px) {
  .spec--cols { grid-template-columns: 1fr; }
  .spec--cols > div:nth-child(2) { border-top: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .stats, .caps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .head-split { align-items: flex-start; }
  .hero__orb { opacity: .4; }
}

/* --- 22. Print ----------------------------------------------------------- */

@media print {
  .site-header, .cta-band, .nav-toggle { display: none; }
  body { color: #000; background: #fff; }
}

/* --- 18b. Contact form states -------------------------------------------- */

/* Honeypot: off screen, never announced, never focusable by tab */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note--ok  { color: var(--green-deep); font-weight: 500; }
.form-note--err { color: #C0392B; font-weight: 500; }

.btn[disabled] { opacity: .6; cursor: progress; }
.btn[disabled]:hover { background: var(--brand); }

.form-success {
  border-radius: var(--r-xl);
  background: var(--grad-band);
  padding: clamp(30px, 3.6vw, 46px);
  text-align: center;
}
.form-success:focus { outline: none; }
.form-success__tick {
  width: 54px; height: 54px; margin: 0 auto 22px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff;
}
.form-success__tick svg { width: 22px; height: 22px; }
.form-success h3 { margin-bottom: 12px; }
.form-success p { color: var(--muted); margin: 0; }
.form-success a { color: var(--brand); font-weight: 600; }
.form-success { scroll-margin-top: 110px; }
