/* Sovra Consulting
   Look: paper ground, slate ink, Outfit headlines, Manrope text, hairline rules
   and a short copper overline taken from the logo. No stock photos. */
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url(../fonts/outfit-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url(../fonts/outfit-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-700-normal.woff2) format("woff2"); }

:root {
  --slate: #10262F; --slate-2: #1B3541; --ink: #10262F; --text: #33434A; --muted: #5B6A70;
  --paper: #F4F1EC; --paper-2: #EAE5DC; --white: #FFFFFF;
  --copper: #B8743F; --copper-text: #9A5F31; --copper-light: #D4935E;
  --rule: rgba(16, 38, 47, 0.16);
  --serif: "Outfit", "Manrope", system-ui, sans-serif;
  --display: "Outfit", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.08; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 28px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--slate); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Overline: the copper bar from the logo above a small label */
.overline { font: 600 14px/1.3 var(--sans); color: var(--copper-text); margin: 0 0 18px; }
.overline::before { content: ""; display: block; width: 36px; height: 3px; background: var(--copper); margin-bottom: 14px; }
.overline a { color: inherit; text-decoration: none; }
.overline a:hover { text-decoration: underline; }
.band-slate .overline { color: var(--copper-light); }
.band-slate .overline::before { background: var(--copper-light); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 236, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--copper); color: var(--ink); }
.site-nav .nav-cta { border: 1px solid var(--ink); padding: 12px 18px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--ink); color: var(--ink); font: 600 14px var(--sans); min-height: 44px; padding: 0 14px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px clamp(20px, 4vw, 48px) 24px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .site-nav .nav-cta { margin-top: 18px; text-align: center; }
  .brand img { height: 38px; }
  .header-row { min-height: 72px; }
}

/* Buttons and links */
.button { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; background: var(--slate); color: var(--white); font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid var(--slate); cursor: pointer; transition: background .2s, color .2s; }
.button:hover { background: var(--copper-text); border-color: var(--copper-text); color: var(--white); }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-light:hover { background: var(--copper-light); border-color: var(--copper-light); color: var(--ink); }
.button-block { width: 100%; justify-content: center; margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1.3 var(--sans); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--copper); padding-bottom: 4px; }
.arrow { flex: none; transition: transform .2s; }
a:hover .arrow { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text); max-width: 62ch; }
.hero-aside { border-top: 3px solid var(--slate); padding-top: 22px; }
.aside-h { font: 700 13px/1.3 var(--sans); color: var(--ink); margin: 0 0 14px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--muted); }
.aside-list span { display: block; font: 600 20px/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-rule { border-top: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.band { padding: clamp(64px, 8vw, 112px) 0; }
.band-slate { background: var(--slate); color: rgba(244, 241, 236, 0.86); }
.band-slate h2, .band-slate h3 { color: var(--paper); }
.band-paper-dark { background: var(--paper-2); }
.small-h { font-size: 26px; margin-bottom: 18px; }

/* Rows: the services list */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 24px; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--text); }
.row-title { font: 600 30px/1.1 var(--serif); color: var(--ink); }
.row-text { font-size: 16px; line-height: 1.55; }
.row .arrow { color: var(--copper-text); }
.row:hover .row-title { color: var(--copper-text); }
.rows-compact .row { padding: 18px 0; }
.rows-compact .row-title { font-size: 24px; }
@media (max-width: 720px) { .row { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px 16px; } .row-text { grid-column: 1; grid-row: 2; } .row .arrow { grid-row: 1 / span 2; grid-column: 2; } }

/* Industries split */
.split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(244, 241, 236, 0.3); }
.split-item { padding: 36px 40px 40px 0; text-decoration: none; color: inherit; border-bottom: 1px solid rgba(244, 241, 236, 0.3); }
.split-item + .split-item { padding-left: 40px; border-left: 1px solid rgba(244, 241, 236, 0.3); }
.split-item h3 { font-size: clamp(34px, 4vw, 48px); }
.split-item p { max-width: 44ch; margin-bottom: 24px; }
.band-slate .text-link { color: var(--paper); border-bottom-color: var(--copper-light); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split-item, .split-item + .split-item { padding: 28px 0; border-left: 0; } }

/* Approach steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { border-top: 3px solid var(--slate); padding-top: 22px; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 600 15px var(--sans); color: var(--copper-text); margin-bottom: 10px; }
.steps p { font-size: 16px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { max-width: 22ch; margin: 0; }

/* Page head (inner pages) */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 18ch; }
.page-head-tall { min-height: 60vh; }

/* Two-column content */
.two-col { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 70ch; }
.prose.narrow { max-width: 68ch; }
.prose h2 { font-size: 34px; margin-top: 1.2em; }
.intro { font: 500 24px/1.45 var(--serif); color: var(--ink); }
.panel { background: var(--white); border-top: 3px solid var(--copper); padding: 28px; position: sticky; top: 110px; }
.panel .aside-h { margin-top: 22px; } .panel .aside-h:first-child { margin-top: 0; }
@media (max-width: 900px) { .panel { position: static; } }

.offers { margin: 0; border-top: 1px solid var(--ink); }
.offers > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.offers dt { font: 600 22px/1.2 var(--serif); color: var(--ink); }
.offers dd { margin: 0; font-size: 16px; }
@media (max-width: 600px) { .offers > div { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

.ticks, .plain, .dash { list-style: none; margin: 0 0 8px; padding: 0; }
.ticks li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 2px; background: var(--copper); }
.plain li { padding: 6px 0; }
.dash li { padding: 16px 0; border-bottom: 1px solid var(--rule); font: 500 22px/1.35 var(--serif); color: var(--ink); }
.dash { border-top: 1px solid var(--ink); }

/* Cards (services overview, industry pages) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 6px; background: var(--paper); padding: 32px; text-decoration: none; color: var(--text); transition: background .2s; }
.band-paper-dark .card { background: var(--paper); }
.card:hover { background: var(--white); }
.card h2, .card h3 { font-size: 30px; margin-bottom: 6px; }
.card p { font-size: 16px; }
.card .ticks { margin: 4px 0 22px; }
.card .text-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards-2 { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
.form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font: 600 14px/1.3 var(--sans); color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid rgba(16, 38, 47, 0.35); border-radius: 0; padding: 13px 14px; min-height: 50px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--copper); outline-offset: 0; border-color: var(--copper); }
.form .button { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 14px; color: var(--muted); }
.notice { padding: 24px 28px; border-left: 3px solid var(--copper); background: var(--white); margin-bottom: 24px; }
.notice-error { border-left-color: #A3362B; }
.notice h2 { font-size: 30px; }

/* Footer */
.site-footer { background: var(--slate); color: rgba(244, 241, 236, 0.8); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-h { font: 700 13px/1.3 var(--sans); color: var(--paper); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: rgba(244, 241, 236, 0.86); text-decoration: none; }
.site-footer a:hover { color: var(--copper-light); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(244, 241, 236, 0.2); font-size: 14px; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Let a last card fill the leftover space in a row */
.cards:not(.cards-2) > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.cards:not(.cards-2) > :last-child:nth-child(3n+2) { grid-column: span 2; }
.cards-2 > :last-child:nth-child(2n+1) { grid-column: 1 / -1; }
@media (max-width: 960px) {
  .cards:not(.cards-2) > :last-child:nth-child(3n+1), .cards:not(.cards-2) > :last-child:nth-child(3n+2) { grid-column: auto; }
  .cards:not(.cards-2) > :last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .cards > :last-child { grid-column: auto !important; } }

/* ---------- Option B: modern sans headlines and a visual hero ---------- */
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(36px, 4.4vw, 56px); }
.hero-b h1 { text-wrap: pretty; max-width: 15em; }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 22px; }
.row-title, .offers dt, .aside-list span, .dash li, .card h2, .card h3, .split-item h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
.row-title { font-size: 22px; }
.rows-compact .row-title { font-size: 19px; }
.offers dt { font-size: 18px; line-height: 1.3; }
.aside-list span { font-size: 16px; }
.intro { font: 500 20px/1.55 var(--sans); }
.dash li { font-size: 18px; font-weight: 600; }
.card h2, .card h3 { font-size: 22px; }
.split-item h3 { font-size: clamp(26px, 2.6vw, 34px); }
.prose h2 { font-size: 28px; }
.small-h { font-size: 22px; }
.notice h2 { font-size: 24px; }

.hero-b { background: var(--slate); color: rgba(244, 241, 236, 0.86); padding: clamp(64px, 9vw, 120px) 0; border: 0; overflow: hidden; }
.hero-b h1 { color: var(--paper); }
.hero-b .lede { color: rgba(244, 241, 236, 0.86); }
.hero-b .overline { color: var(--copper-light); }
.hero-b .overline::before { background: var(--copper-light); }
.hero-b .text-link { color: var(--paper); border-bottom-color: var(--copper-light); }
.hero-b-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-art svg { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .hero-b-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { max-width: 340px; justify-self: start; } }

.strip { border-bottom: 1px solid var(--rule); }
.strip-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.strip-grid li { padding: 28px 24px 30px 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.strip-grid li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.strip-grid span { display: block; font: 700 16px/1.3 var(--sans); color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
@media (max-width: 1000px) { .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip-grid li, .strip-grid li + li { padding: 20px 20px 20px 0; border-left: 0; border-bottom: 1px solid var(--rule); } }
@media (max-width: 520px) { .strip-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .hero-art { display: none; } }

/* Option B with Outfit: headlines in Outfit to match the logo */
h1, h2, h3, .row-title, .offers dt, .aside-list span, .dash li, .card h2, .card h3, .split-item h3, .strip-grid span { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-weight: 500; letter-spacing: -0.02em; }
.brand img { height: 58px; }
@media (max-width: 900px) { .brand img { height: 42px; } }
.footer-brand img { height: 50px; }

/* White ground: white pages, cool gray alternate sections, slate bands. Paper stays only as text on slate. */
:root { --ground: #FFFFFF; --mist: #F3F5F6; --mist-2: #E8ECEE; --rule: rgba(16, 38, 47, 0.14); }
body { background: var(--ground); }
.site-header { background: rgba(255, 255, 255, 0.95); }
@media (max-width: 900px) { .site-nav { background: var(--ground); } }
.band-paper-dark { background: var(--mist); }
.card, .band-paper-dark .card { background: var(--ground); }
.card:hover { background: var(--mist); }
.panel { background: var(--mist); }
.notice { background: var(--mist); }
.button-light { background: #FFFFFF; border-color: #FFFFFF; }
.band-paper-dark .panel { background: var(--ground); }

/* Inline logos */
.brand { display: inline-flex; align-items: center; }
.logo-svg { display: block; width: auto; aspect-ratio: 405.6 / 145.28; }
.brand .logo-svg { height: 46px; }
@media (max-width: 900px) { .brand .logo-svg { height: 36px; } }
.footer-brand .logo-svg { height: 44px; margin-bottom: 18px; }
.logo-text { font: 600 22px/1 var(--display); letter-spacing: 0.15em; color: inherit; }
