/* CipherMetrix: shared visual system. Keep page content and parent Typhoon untouched. */
:root {
  --font-sans: 'Exo 2', system-ui, sans-serif;
  --default-font-family: 'Exo 2', system-ui, sans-serif;
  --ink: #171a3b;
  --text: #414947;
  --muted: #65706a;
  --paper: #f5f4ef;
  --line: #dcded7;
  --gold: #aa9056;
  --green: #486557;
  --radius: 4px;
  --container: 1160px;
}

/* Foundation and shared controls */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; width: auto !important; background: #fff !important; color: var(--text) !important; font: 400 17px/1.75 'Exo 2', system-ui, sans-serif !important; -webkit-font-smoothing: antialiased; }
main { flex: 1; outline: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
svg { display: inline-block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 500; line-height: 1.18; letter-spacing: -.035em; }
h1 { font-size: clamp(40px, 4.8vw, 64px); }
h2 { font-size: clamp(32px, 3.3vw, 43px); }
h3 { font-size: 24px; }
strong { font-weight: 600; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
::selection { background: #e6dcc3; color: var(--ink); }
.container { width: min(calc(100% - 96px), var(--container)); margin-inline: auto; }
.eyebrow { display: block; margin-bottom: 20px; color: var(--green); font-size: 12px; font-weight: 600; line-height: 1.65; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 14px 22px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: #fff; font-size: 14px; font-weight: 550; line-height: 1.5; white-space: normal; transition: background .2s, border-color .2s; }
.button:hover { background: #303553; border-color: #303553; }
.button span { font-size: 20px; line-height: 1; transition: transform .2s; }
.button:hover span { transform: translate(2px, -2px); }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }
.button-light:hover { background: var(--paper); border-color: var(--paper); }
.button:disabled { cursor: not-allowed; background: #e9e8e4; border-color: #d4d4ce; color: #5e665f; opacity: 1; }
.button:disabled span { transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding-block: 7px; color: var(--ink); font-size: 14px; font-weight: 550; line-height: 1.6; border-bottom: 1px solid transparent; }
.text-link:hover { border-color: var(--green); color: var(--green); }

/* Header and complete original image branding */
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 1000; padding: 12px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { width: min(calc(100% - 64px), 1280px); max-width: none; height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; max-width: 100%; }
.brand-logo { display: block; width: 450px; height: auto; max-width: 100%; object-fit: contain; }
/* Original 900 x 100 image: frame only its empty margins, retaining the full
   chip, wordmark and subtitle (safe source window x=8, y=23, w=479, h=52). */
.site-header .brand { position: relative; width: 464.4px; flex-shrink: 1; min-width: 0; aspect-ratio: 479 / 52; overflow: hidden; }
.site-header .brand-logo { position: absolute; width: calc(100% * 900 / 479); max-width: none; left: calc(100% * -8 / 479); top: calc(100% * -23 / 52); }
.main-nav { display: flex; flex-shrink: 0; align-items: center; gap: 16px; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); white-space: nowrap; }
.main-nav > a:not(.nav-contact) { min-height: 44px; padding: 12px 0; }
.main-nav a:hover, .nav-dropdown > summary:hover { color: var(--green); }
.main-nav [aria-current=page], .nav-dropdown.is-active > summary { color: var(--green); }
.nav-contact { display: flex; align-items: center; gap: 18px; min-height: 44px; padding: 11px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-contact span { font-size: 18px; }
.nav-contact:hover { border-color: var(--green); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { display: flex; align-items: center; gap: 9px; padding: 15px 0; min-height: 44px; cursor: pointer; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.chevron { width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); margin-top: -4px; }
.dropdown-panel { position: absolute; top: 100%; left: -24px; width: 260px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 20px #171a3b08; }
.dropdown-panel a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; }
.dropdown-panel a:hover { background: var(--paper); }
.dropdown-panel a > span { color: var(--muted); }
.menu-toggle { display: none; }

/* Home: copy-led composition and a coherent editorial image series */
.home-hero { background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 40px; padding-block: 60px; }
.hero-grid > div, .approach-grid > div, .personal-grid > div { min-width: 0; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow { font-size: 11px; }
.hero-copy h1 { font-size: clamp(42px, 5vw, 66px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.hero-copy h1 em { font-style: normal; color: var(--green); }
.hero-copy > p { max-width: 49ch; margin: 28px 0 28px; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.hero-visual > img { width: 100%; height: auto; }
.expertise-strip { border-block: 1px solid var(--line); background: #fff; }
.expertise-strip > .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; color: var(--text); font-size: 14px; }
.expertise-strip span { display: flex; align-items: center; gap: 12px; }
.expertise-strip span::before { content: '+'; color: var(--gold); font-size: 18px; }

/* Home services and shared section rhythm */
.section { padding-block: 88px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: 40px; }
.section-heading > p { max-width: 340px; font-size: 16px; line-height: 1.8; padding-bottom: 4px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px 0 12px; border-top: 1px solid var(--line); transition: border-color .2s; }
.service-card:hover { border-color: var(--green); }
.service-number { position: absolute; right: 0; top: 27px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.service-icon { height: 32px; color: var(--green); margin-bottom: 26px; }
.service-icon svg { width: 26px; height: 26px; stroke-width: 1.35; }
.service-card h3 { font-size: 24px; line-height: 1.3; margin-bottom: 16px; }
.service-card h3, .service-item h2, .competence-card h2 { overflow-wrap: anywhere; hyphens: auto; }
.service-card > p { font-size: 15px; line-height: 1.75; margin-bottom: 24px; flex-grow: 1; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 44px; color: var(--ink); font-size: 14px; font-weight: 550; }
.card-link > span { font-size: 20px; transition: transform .2s; }
.service-card:hover .card-link > span { transform: translate(2px, -2px); }
.section-end { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 30px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* Shared approach illustration and its compact HTML legend */
.approach-section { background: var(--paper); }
.approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.approach-grid h2 { margin-bottom: 25px; }
.approach-grid > div > p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.approach-art { padding: 32px 12px; border-block: 1px solid var(--line); text-align: center; min-height: 310px; display: flex; flex-direction: column; justify-content: center; }
.approach-art .eyebrow { font-size: 11px; color: var(--muted); }
.approach-legend { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); align-items: center; gap: 16px; color: var(--ink); margin: 18px 0; font-size: 12px; line-height: 1.7; }
.approach-legend strong { font-weight: 500; font-size: 15px; }
.approach-art > p { font-size: 12px !important; color: var(--muted); margin: 0 !important; }
.personal-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 88px; align-items: center; }
.personal-grid h2 { margin-bottom: 25px; }
.personal-grid p { font-size: 17px; line-height: 1.8; margin-bottom: 22px; }
.personal-grid .hero-actions { gap: 10px 24px; }
.personal-quote { min-width: 0; margin: 0; padding-top: 28px; border-top: 1px solid var(--gold); }
.personal-quote blockquote { max-width: 28ch; color: var(--ink); font-size: 30px; line-height: 1.5; font-weight: 450; font-style: italic; letter-spacing: -.02em; margin: 0; }
.personal-quote figcaption { margin-top: 22px; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* Closing contact band and footer */
.contact-band { background: var(--ink); color: #e0e3ed; padding-block: 56px; }
.contact-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.contact-band .eyebrow { color: #d5c49f; font-size: 11px; margin-bottom: 16px; }
.contact-band h2 { color: #fff; font-size: 34px; }
.contact-band p { font-size: 14px; line-height: 1.8; margin-top: 16px; color: #d1d3dd; }
.contact-band .button { flex-shrink: 0; }
.contact-band a:focus-visible { outline-color: #d5c49f; }
.site-footer { background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; padding-block: 64px 48px; }
.footer-grid > div > p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 20px; }
.footer-grid h2 { font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; margin-bottom: 16px; }
.footer-grid > div > a:not(.brand) { display: block; width: fit-content; font-size: 14px; padding-block: 5px; margin-bottom: 4px; color: var(--text); }
.footer-grid > div > a:hover { color: var(--green); }
.footer-grid > div:last-child > p { margin-top: 16px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 24px; display: flex; align-items: center; gap: 24px; justify-content: space-between; font-size: 14px; line-height: 1.7; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 32px; }
.back-top { color: var(--ink); }

/* Interior pages: a common reading grid */
.page-heading { background: var(--paper); border-bottom: 1px solid var(--line); padding: 24px 0 60px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 36px; line-height: 1.8; }
.breadcrumbs a:hover { color: var(--green); }
.page-heading .eyebrow { font-size: 11px; margin-bottom: 16px; }
.page-heading h1 { font-size: clamp(36px, 4.4vw, 56px); max-width: 930px; line-height: 1.16; }
.page-lead { font-size: 17px; line-height: 1.8; max-width: 68ch; margin-top: 24px; text-wrap: pretty; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 80px; padding-block: 56px 72px; align-items: start; }
.article-wide { display: block; }
.prose-content { min-width: 0; font-size: 17px; line-height: 1.75; }
.prose-content > p, .prose-content > ul, .prose-content > ol, .prose-content > table { margin-bottom: 24px; }
.article-wide > .prose-content > p { max-width: 68ch; }
.prose-content strong { color: var(--ink); }
.prose-content h2 { font-size: 30px; margin: 42px 0 22px; scroll-margin-top: 120px; }
.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 { font-size: 23px; margin: 32px 0 18px; scroll-margin-top: 120px; }
.prose-content h4 { font-size: 19px; color: var(--ink); font-weight: 550; margin: 28px 0 16px; }
.prose-content a:not(.button) { color: var(--green); text-decoration: underline; text-decoration-color: #9cafa2; text-underline-offset: 4px; }
.prose-content a:hover { text-decoration-color: var(--green); }
.prose-content ul, .prose-content ol { padding-left: 23px; list-style: disc; }
.prose-content ol { list-style: decimal; }
.prose-content li { padding-left: 5px; margin-bottom: 8px; }
.prose-content li > ul { margin-top: 10px; margin-bottom: 15px; }
.prose-content img { border-radius: var(--radius); display: block; }
.legacy-figure { margin: 32px 0; background: var(--paper); border-block: 1px solid var(--line); display: flex; align-items: center; gap: 28px; padding: 24px; }
.legacy-figure img { max-width: 210px; object-fit: contain; }
.legacy-figure figcaption { font-size: 14px; line-height: 1.8; color: var(--muted); }
.portrait-figure { float: right; margin: 0 0 25px 35px; width: 146px; }
.portrait-figure img { width: 100%; border-radius: var(--radius); }
.portrait-figure figcaption { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 12px; text-align: center; }
.prose-content::after { content: ''; display: block; clear: both; }
.article-aside { position: sticky; top: 125px; border-top: 1px solid var(--gold); padding-top: 24px; font-size: 15px; line-height: 1.8; }
.article-aside .eyebrow { font-size: 11px; margin-bottom: 16px; }
.article-aside h2 { font-size: 28px; margin-bottom: 18px; }
.article-aside p { margin-bottom: 24px; }
.article-aside .button { gap: 16px; padding: 13px 16px; }
.article-aside .text-link { margin-top: 14px; display: flex; }
.company-aside a { display: block; padding: 12px 0; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.company-aside a:hover { color: var(--green); }

/* One image component across heroes, articles, cards and long-page boundaries. */
.cmx-illustration { width: 100%; min-width: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.cmx-illustration > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.cmx-illustration.is-transparent { background: transparent; }
.illustration-inline { float: right; width: min(42%, 340px); margin: 0 0 28px 32px; }
.article-wide .illustration-inline { width: min(40%, 360px); }
.prose-content > .competence-grid, .prose-content > .reference-list, .prose-content > .services-index { clear: both; }
.illustration-card { margin-bottom: 24px; }
.service-card .service-number { position: static; align-self: flex-end; margin-bottom: 12px; }
.illustration-approach { width: 100%; margin-inline: auto; }
.illustration-support { display: flex; align-items: center; gap: 28px; margin: 32px 0; background: transparent; }
.illustration-support > img { width: min(46%, 340px); flex-shrink: 0; }
.illustration-support figcaption { font-size: 14px; line-height: 1.8; color: var(--muted); }
.illustration-break { width: min(100%, 360px); margin: 28px auto 32px; }
.illustration-contact { max-width: 340px; margin-top: 32px; }
.service-item:has(.illustration-service) { display: grid; grid-template-columns: minmax(0, 1fr) 180px; grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 28px; align-items: start; }
.service-item:has(.illustration-service) > h2, .service-item:has(.illustration-service) > p, .service-item:has(.illustration-service) > span { grid-column: 1; }
.illustration-service { grid-column: 2; grid-row: 1 / 4; align-self: center; }

/* Structured inventories use rules, leaving the supplied content untouched. */
.competence-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 40px 0; }
.competence-card { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 2fr); gap: 48px; border-top: 1px solid var(--line); padding: 28px 0; }
.competence-card h2 { font-size: 22px; margin: 0; line-height: 1.4; letter-spacing: -.025em; hyphens: manual; }
.competence-card ul { min-width: 0; padding-left: 19px; margin: 0; font-size: 15px; line-height: 1.75; }
.competence-card li { margin-bottom: 8px; padding-left: 2px; }
.competence-card li:last-child { margin-bottom: 0; }
.reference-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 40px 0; }
.reference-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 48px; align-items: start; border-top: 1px solid var(--line); padding: 32px 0; }
.reference-logo { width: 125px; height: 90px; background: #fff; display: flex; align-items: center; justify-content: flex-start; }
.reference-logo img { max-width: 120px; max-height: 85px; object-fit: contain; border-radius: 0; }
.reference-card h2 { font-size: 25px; margin: 0 0 16px; }
.reference-card p, .reference-card li { font-size: 15px; line-height: 1.75; }
.reference-card ul { padding-left: 19px; margin-bottom: 0; }
.reference-card p { margin-bottom: 12px; }
.reference-note { max-width: 68ch; padding: 28px 0 12px; }
.services-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; margin-block: 40px; }
.service-item { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; border-top: 1px solid var(--line); padding: 28px 0 12px; text-decoration: none !important; color: var(--text) !important; transition: border-color .2s; }
.service-item h2 { font-size: 25px; margin: 0 0 16px; }
.service-item p { font-size: 15px; line-height: 1.75; margin-bottom: 16px; flex-grow: 1; }
.service-item > span { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--green); font-weight: 550; }
.service-item:hover { border-color: var(--green); }
.privacy-content { max-width: 870px; margin-inline: auto; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.privacy-content h2 { font-size: 29px; }
.privacy-content h3 { font-size: 23px; }
.privacy-content li p { margin-top: 12px; }
.privacy-content table { width: 100%; border-collapse: collapse; }
.privacy-content td { padding: 14px; vertical-align: top; }
.privacy-toc { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 36px; padding: 24px; background: var(--paper); border-block: 1px solid var(--line); }
.privacy-toc a { font-size: 14px; }
.privacy-note { padding: 24px; background: var(--paper); border-left: 2px solid var(--green); margin-bottom: 32px; font-size: 15px; }
.error-page { padding-block: 100px; min-height: 520px; }
.error-page h1 { margin-bottom: 26px; }
.error-page p { max-width: 550px; margin-bottom: 32px; }

/* Contact: readable labels and a shared, restrained form surface */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; padding-block: 56px 80px; align-items: start; }
.contact-details h2 { font-size: 36px; margin-bottom: 24px; }
.contact-details > p { font-size: 16px; line-height: 1.8; max-width: 38ch; margin-bottom: 30px; }
.contact-detail { border-top: 1px solid var(--line); padding-block: 22px; font-size: 15px; }
.contact-detail > span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; margin-bottom: 10px; text-transform: uppercase; }
.contact-detail > a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); font-size: 18px; font-weight: 500; }
.contact-detail > p { font-size: 15px; line-height: 1.8; }
.contact-small { font-size: 13px !important; line-height: 1.8; color: var(--muted); margin-top: 24px; }
.contact-small a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.contact-form-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-width: 0; }
.contact-form-panel > h2 { font-size: 27px; line-height: 1.3; margin-bottom: 12px; }
.form-intro { font-size: 14px; line-height: 1.75; margin-bottom: 26px; color: var(--muted); }
.form-notice, .alert, .form-errors { padding: 16px 18px; background: #f7f3e8; border-left: 2px solid var(--gold); border-radius: 0; font-size: 14px; line-height: 1.75; margin-bottom: 24px; color: #65532c; }
.form-errors { background: #fff0f0; border-left: 4px solid #d00000; color: #d00000; font-weight: 600; }
.form-notice a { text-decoration: underline; text-underline-offset: 3px; }
.form-wrapper form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.form-field { min-width: 0; }
.contact-form-panel .form-field { margin: 0; }
.form-field:nth-of-type(n+3) { grid-column: 1/-1; }
.form-field label { display: block; font-size: 14px; font-weight: 550; color: var(--ink); margin-bottom: 8px; line-height: 1.7; }
.required { color: var(--green); padding-left: 2px; }
.form-field input[type=text], .form-field input[type=email], .form-field textarea { display: block; width: 100%; min-height: 48px; border: 1px solid #89978c; border-radius: var(--radius); padding: 11px 12px; font-size: 16px; line-height: 1.5; background: #fff; color: var(--ink); transition: border-color .2s; }
.form-field input:hover, .form-field textarea:hover { border-color: var(--muted); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); outline-color: var(--green); outline-width: 2px; outline-offset: 2px; }
.form-field textarea { resize: vertical; min-height: 160px; }
.form-field .checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-field input[type=checkbox] { margin: 4px 10px 0 0; accent-color: var(--ink); width: 17px; height: 17px; flex-shrink: 0; }
.form-field a { color: var(--green); text-decoration: underline; }
.form-field .checkbox label, .form-field.checkbox-field label { font-size: 13px; line-height: 1.8; font-weight: 400; color: var(--text); }
.contact-form-panel form > .text-center, .contact-form-panel form > .buttons { grid-column: 1/-1; text-align: left; }
.form-wrapper .button { grid-column: 1/-1; justify-self: start; margin: 0; }
.contact-submit-status { margin: 14px 0 0; max-width: 56ch; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-field-error { margin: 8px 0 0; color: #8e302a; font-size: 13px; line-height: 1.7; }
.contact-form-panel [aria-invalid="true"] { border-color: #8e302a !important; }
.form-honeybear { position: absolute !important; visibility: hidden; height: 1px; width: 1px; overflow: hidden; }
.captcha-consent { font-size: 13px; line-height: 1.8; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.captcha-consent p { margin-bottom: 12px; }
.captcha-consent button { display: block; min-height: 44px; border: 1px solid #a7b1a8; border-radius: var(--radius); padding: 10px 12px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 550; margin-bottom: 10px; }
.captcha-consent a { font-size: 12px; }
.captcha-widget { margin-top: 12px; max-width: 100%; }
.captcha-status { margin: 10px 0 0 !important; color: var(--muted); font-size: 13px; line-height: 1.7; }
.captcha-status.is-error { color: #8e302a; }
.captcha-activate:disabled { cursor: default; color: var(--muted); }
.captcha-pending { font-size: 13px; color: var(--muted); }
.form-description, .form-message { font-size: 14px; }
.form-wrapper .alert { margin-bottom: 24px; }

/* Tablet and compact desktop */
@media (min-width: 1051px) and (max-width: 1250px) {
  .site-header .brand { width: clamp(297px, calc(58.5vw - 317.7px), 464.4px); }
  .main-nav { gap: 14px; font-size: 15px; }
  .nav-contact { padding-inline: 13px; gap: 12px; }
}
@media (max-width: 1050px) {
  .header-inner { height: 80px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; font-size: 16px; color: var(--ink); border: none; background: none; padding: 10px 0; }
  .menu-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 32px 24px; border-bottom: 1px solid var(--line); font-size: 16px; max-height: calc(100dvh - 80px); overflow-y: auto; white-space: normal; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .main-nav > a:not(.nav-contact) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-dropdown > summary { padding: 13px 0; justify-content: space-between; }
  .dropdown-panel { position: static; box-shadow: none; border: 0; border-radius: 0; width: 100%; padding: 0 0 10px 12px; }
  .nav-contact { margin: 20px 0 0; justify-content: space-between; }
  .hero-grid { gap: 24px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { gap: 10px 20px; }
  .expertise-strip > .container { font-size: 12px; }
  .section { padding-block: 72px; }
  .section-heading { gap: 40px; }
  .service-grid { gap: 26px; }
  .service-card h3 { font-size: 22px; }
  .approach-grid, .personal-grid { gap: 48px; }
  .approach-legend { gap: 10px; font-size: 11px; }
  .approach-legend strong { font-size: 13px; }
  .contact-band-inner { gap: 32px; }
  .contact-band h2 { font-size: 30px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 42px; }
  .article-aside .button { font-size: 13px; padding-inline: 12px; gap: 12px; }
  .contact-layout { gap: 42px; }
  .contact-form-panel { padding: 26px; }
  .contact-form-panel .form-wrapper form { grid-template-columns: minmax(0, 1fr); }
  .contact-form-panel .form-field { grid-column: 1/-1; }
  .competence-card { grid-template-columns: minmax(180px, .85fr) minmax(0, 2fr); gap: 32px; }
  .footer-grid { gap: 32px; }
  .illustration-inline, .article-wide .illustration-inline { float: none; width: min(100%, 340px); margin: 0 auto 28px; }
  .service-item:has(.illustration-service) { display: flex; }
  .illustration-service { width: min(100%, 280px); margin-bottom: 24px; }
}

/* Keep the form wide enough for the native CAPTCHA on narrow tablets. */
@media (min-width: 761px) and (max-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile: readable copy, clear rules and diagrams inside their columns */
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 40px); height: 80px; }
  .brand-logo { width: 450px; }
  .site-header .brand { width: min(464.4px, calc((100vw - 151px) * .9)); }
  .site-header .menu-toggle { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
  .main-nav { padding-inline: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 22px 40px; gap: 20px; }
  .hero-copy .eyebrow { font-size: 11px; margin-bottom: 22px; letter-spacing: .09em; }
  .hero-copy h1 { font-size: clamp(38px, 8.5vw, 58px); max-width: 600px; }
  .hero-copy > p { font-size: 16px; margin: 24px 0; max-width: 50ch; }
  .hero-visual { max-width: 340px; width: 100%; margin: 0 auto; }
  .expertise-strip > .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; padding-block: 22px; font-size: 12px; }
  .expertise-strip span { gap: 8px; }
  .section { padding-block: 60px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 24px; max-width: 50ch; font-size: 16px; }
  .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .section-heading h2, .approach-grid h2, .personal-grid h2 { font-size: 35px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .service-card { padding: 24px 0 8px; }
  .service-icon { margin-bottom: 20px; }
  .service-card > p { max-width: 55ch; font-size: 15px; margin-bottom: 18px; }
  .service-card h3 { font-size: 24px; }
  .section-end { display: block; margin-top: 28px; }
  .section-end .text-link { margin-top: 12px; }
  .approach-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .approach-art { order: 2; min-height: 270px; padding: 26px 0; }
  .approach-legend { gap: 10px; font-size: 11px; }
  .approach-legend strong { font-size: 14px; }
  .illustration-approach { max-width: 360px; }
  .illustration-card { max-width: 300px; }
  .illustration-support { display: block; }
  .illustration-support > img { width: min(100%, 340px); margin: 0 auto 20px; }
  .approach-grid > div > p { font-size: 16px; }
  .personal-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .personal-grid p { font-size: 16px; }
  .personal-quote { padding-top: 24px; }
  .personal-quote blockquote { font-size: 26px; line-height: 1.5; }
  .personal-grid .hero-actions { display: block; }
  .personal-grid .hero-actions a { display: flex; width: fit-content; margin-bottom: 8px; }
  .contact-band { padding-block: 44px; }
  .contact-band-inner { display: block; }
  .contact-band h2 { font-size: 30px; max-width: 22ch; }
  .contact-band p { font-size: 14px; max-width: 40ch; }
  .contact-band .button { margin-top: 28px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-block: 44px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-grid > div:first-child > p { margin-top: 20px; }
  .footer-grid > div > a:not(.brand) { font-size: 13px; min-height: 36px; }
  .footer-grid > div:last-child > a { overflow-wrap: anywhere; }
  .footer-grid > div > p { font-size: 13px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px 20px; font-size: 13px; padding-block: 20px; }
  .footer-bottom > span { width: 100%; }
  .footer-bottom nav { gap: 18px; }
  .footer-bottom .back-top { margin-left: auto; }
  .page-heading { padding: 22px 0 40px; }
  .breadcrumbs { font-size: 11px; margin-bottom: 30px; gap: 10px; }
  .page-heading h1 { font-size: 36px; overflow-wrap: break-word; }
  .page-lead { font-size: 16px; line-height: 1.75; margin-top: 22px; }
  .article-layout { display: block; padding-block: 40px 60px; }
  .prose-content { font-size: 16px; line-height: 1.75; }
  .prose-content h2 { font-size: 27px; }
  .prose-content h3 { font-size: 22px; }
  .article-aside { position: static; margin-top: 42px; }
  .company-aside { display: none; }
  .competence-grid { margin-top: 32px; }
  .competence-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 26px 0; }
  .competence-card h2 { font-size: 23px; }
  .competence-card ul { font-size: 15px; }
  .reference-card { grid-template-columns: minmax(0, 1fr); padding: 28px 0; gap: 22px; }
  .reference-logo { height: 70px; width: 125px; }
  .reference-logo img { max-width: 125px; max-height: 70px; }
  .reference-card h2 { font-size: 25px; }
  .reference-card p, .reference-card li { font-size: 15px; }
  .services-index { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .service-item { padding: 24px 0 8px; }
  .legacy-figure { display: block; padding: 20px; }
  .legacy-figure img { max-width: 100%; width: 250px; margin: 0 auto 20px; }
  .legacy-figure figcaption { font-size: 14px; }
  .portrait-figure { width: 125px; margin-left: 20px; }
  .portrait-figure figcaption { font-size: 11px; }
  .privacy-content { font-size: 15px; }
  .privacy-content h2 { font-size: 26px; }
  .privacy-content h3 { font-size: 21px; }
  .privacy-toc { padding: 20px; }
  .privacy-note { padding: 20px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px 60px; }
  .contact-details > p { max-width: 100%; }
  .contact-details h2 { font-size: 34px; }
  .contact-form-panel { padding: 26px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .contact-form-panel > h2 { font-size: 27px; }
  .form-wrapper form { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .form-field { grid-column: 1/-1; }
  .form-field label { font-size: 14px; }
  .form-field .checkbox label { font-size: 13px; }
  .captcha-consent { padding: 16px 12px; }
  .error-page { padding-block: 64px; }
  .error-page h1 { font-size: 42px; }
}
@media (max-width: 480px) {
  .portrait-figure { float: none; width: 146px; margin: 0 auto 26px; }
  .portrait-figure figcaption { font-size: 12px; }
}
@media (max-width: 1050px) {
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 18px; }
  html:not(.js) .main-nav { position: static; display: flex; width: 100%; max-height: none; padding: 0; border: 0; box-shadow: none; }
  html:not(.js) .menu-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
