.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .8rem 1.2rem; min-height: 44px; background: var(--paper); color: var(--ink); font-weight: 600; transform: translateY(-180%); border-radius: var(--radius); }
.skip-link:focus { transform: none; }
.site-sidebar { background: var(--ink); border-right: var(--hairline); padding: 2rem 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 2rem; z-index: var(--z-sidebar); }
.sidebar-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.brand, .footer-brand { display: inline-flex; align-items: center; padding: .25rem 0; min-height: 44px; text-decoration: none; max-width: 100%; }
.brand img { height: 3.2rem; width: auto; max-width: 100%; object-fit: contain; }
.sidebar-descriptor { font-family: var(--font-mono); font-size: .6875rem; line-height: 1.7; color: var(--muted); letter-spacing: .045em; margin-top: 1rem; max-width: 22ch; }
.site-nav { margin-block: auto; padding-block: 1rem; }
.nav-list { list-style: none; padding: 0; display: grid; gap: .15rem; }
.nav-list li { margin: 0; }
.nav-link { display: flex; align-items: baseline; gap: .9rem; min-height: 44px; padding: .7rem .8rem; border-left: 2px solid transparent; text-decoration: none; font-size: .9375rem; line-height: 1.5; transition: color var(--duration-fast), background-color var(--duration-fast), border-color var(--duration-fast); }
.nav-link .nav-number { color: var(--muted); font-family: var(--font-mono); font-size: .625rem; flex: 0 0 1.4rem; }
.nav-link span:last-child { min-width: 0; overflow-wrap: anywhere; }
.nav-link:hover, .nav-link:focus-visible { background: var(--surface); }
.nav-link[aria-current='page'] { border-left-color: var(--brass); background: var(--garnet); color: var(--white); }
.nav-link[aria-current='page'] .nav-number { color: var(--paper); }
.nav-service-links { list-style: none; padding: .25rem 0 .5rem 2rem; border-left: 1px solid var(--rule); margin-left: .8rem; }
.nav-service-links a { display: flex; align-items: center; min-height: 44px; padding: .6rem .5rem; font-size: .8125rem; line-height: 1.5; color: var(--text-secondary); text-decoration: none; }
.nav-service-links a[aria-current='page'] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--brass); }
.sidebar-contact { border-top: var(--brass-hairline); padding-top: 1.25rem; font: 400 .6875rem/1.7 var(--font-mono); color: var(--text-secondary); }
.sidebar-contact a { display: flex; align-items: center; min-height: 44px; padding-block: .5rem; gap: .65rem; text-decoration: none; }
.sidebar-contact .icon { width: 1rem; height: 1rem; color: var(--muted); }
.sidebar-contact address { margin-top: .5rem; color: var(--muted); }
.sidebar-contact .sidebar-location { display: block; margin-top: .5rem; }
.menu-toggle { display: none; min-height: 44px; padding: .75rem 1rem; border: var(--hairline); background: var(--ink); color: var(--paper); align-items: center; gap: .6rem; box-shadow: 0 5px 18px rgb(0 0 0 / .25); }
.menu-close { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .65rem .5rem; }
.nav-backdrop { position: fixed; inset: 0; z-index: var(--z-backdrop); background: rgb(0 0 0 / .68); }
body.menu-open { overflow: hidden; }
@media (min-width: 960px) { .site-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
@media (min-width: 960px) and (max-height: 820px) { .site-sidebar { gap: 1rem; padding-top: 1.25rem; } .sidebar-descriptor { margin-top: .5rem; } .site-nav { padding-block: .25rem; } .sidebar-contact { padding-top: .75rem; } }
@media (max-width: 959px) {
  .site-sidebar { position: relative; border-right: 0; border-bottom: var(--hairline); padding: 1.5rem var(--gutter); }
  .site-nav { margin: 0; }
  .nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-contact { max-width: 32rem; }
  .js .site-sidebar { position: fixed; inset: 0 auto 0 0; width: min(360px, 100%); height: 100vh; height: 100dvh; overflow-y: auto; z-index: var(--z-menu); border-right: var(--hairline); visibility: hidden; transform: translateX(-100%); transition: transform var(--duration-base) var(--ease-out), visibility var(--duration-base); padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .js .site-sidebar.is-open { visibility: visible; transform: none; }
  .js .site-sidebar .nav-list { grid-template-columns: minmax(0, 1fr); }
  .js .site-sidebar .site-nav { margin-block: auto; }
  .js .menu-toggle { display: inline-flex; position: fixed; top: max(1rem, env(safe-area-inset-top)); left: var(--gutter); z-index: var(--z-sidebar); }
  .js .menu-close { display: inline-flex; }
  .js .menu-toggle.is-condensed { border-color: var(--rule-brass); background: var(--surface); }
  .js .sidebar-top { align-items: center; }
}

.button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 48px; padding: .9rem 1.5rem; max-width: 100%; border: 1px solid var(--garnet); border-radius: var(--radius); background: var(--garnet); color: var(--white); font: 500 .9375rem/1.45 var(--font-body); text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast); }
.button > span, .btn > span { min-width: 0; }
.button .icon, .btn .icon { width: 1.1rem; height: 1.1rem; }
.button:hover, .btn:hover { background: var(--garnet-bright); border-color: var(--garnet-bright); }
.button:active, .button.is-pressed, .btn:active { box-shadow: inset 0 3px 7px rgb(0 0 0 / .3); background: #68122a; }
.button-secondary { border-color: var(--rule); background: transparent; color: var(--paper); }
.button-secondary:hover { border-color: var(--brass); background: var(--surface); }
.button-quiet { border-color: transparent; background: transparent; color: var(--paper); text-decoration: underline; text-decoration-color: var(--rule-brass); }
.button-quiet:hover { border-color: var(--rule); background: var(--surface); }
.button-small { min-height: 44px; padding: .7rem 1rem; font-size: .8125rem; }
.button-wide { width: 100%; }
.button[aria-busy='true'] { cursor: progress; border-color: var(--muted); }
.button:disabled:hover { background: var(--garnet); border-color: var(--garnet); }
.icon-button { display: inline-flex; min-height: 44px; min-width: 44px; padding: .75rem; align-items: center; justify-content: center; border: var(--hairline); background: var(--surface); color: var(--paper); }
.icon-button:hover { border-color: var(--brass); }
.text-link { display: inline-flex; align-items: center; gap: .85rem; min-height: 44px; padding-block: .65rem; color: var(--paper); text-decoration: underline; text-decoration-color: var(--rule-brass); font-weight: 500; line-height: 1.45; }
.text-link .icon { width: 1.1rem; height: 1.1rem; }
.text-link:hover { text-decoration-color: var(--brass); }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.action-row > * { min-width: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; padding: 0; list-style: none; color: var(--muted); font: 400 .6875rem/1.6 var(--font-mono); }
.breadcrumbs li { display: flex; align-items: center; gap: .75rem; margin: 0; min-width: 0; }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--brass); }
.breadcrumbs a, .breadcrumbs [aria-current] { display: inline-flex; align-items: center; padding-block: .5rem; min-height: 44px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs [aria-current] { color: var(--text-secondary); }

.spec-ticker, .ticker { position: relative; min-height: 48px; background: var(--ink); border-block: 1px solid var(--brass); overflow: hidden; }
.ticker-track { display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; min-width: 100%; }
.ticker-list { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; list-style: none; padding: 0; margin: 0; flex: 1 1 auto; }
.is-running .ticker-track { width: max-content; flex-wrap: nowrap; will-change: transform; }
.is-running .ticker-list { flex: 0 0 auto; flex-wrap: nowrap; }
@media (prefers-reduced-motion: reduce) { .is-running .ticker-track { width: 100%; flex-wrap: wrap; will-change: auto; } .is-running .ticker-list { flex: 1 1 auto; flex-wrap: wrap; } }
.ticker-label, .ticker-list li { display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: .85rem 1.5rem; min-height: 46px; font: 400 .6875rem/1.6 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); margin: 0; }
.ticker-label::after, .ticker-list li::after { content: ''; display: block; width: 16px; border-top: 1px solid var(--garnet-bright); flex-shrink: 0; }
.ticker-label a, .ticker-list a { display: inline-flex; min-height: 44px; padding: .5rem 0; align-items: center; }
.ticker-pause { display: inline-flex; min-height: 44px; padding: .65rem 1rem; align-items: center; border-left: var(--brass-hairline); font: 400 .6875rem/1.5 var(--font-mono); }
.service-list { border-top: var(--brass-hairline); }
.service-row { display: grid; grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: start; gap: 1.5rem; padding-block: 2rem; border-bottom: var(--hairline); }
.service-number { font: 400 .75rem/1.6 var(--font-mono); color: var(--muted); padding-top: .4rem; }
.service-row h3 { font-size: clamp(1.625rem, 2.6vw, 2.5rem); }
.service-row p { color: var(--text-secondary); font-size: .9375rem; }
.service-row .text-link { align-self: end; }
.service-row:focus-within { border-bottom-color: var(--brass); }
.service-card { padding-block: 2rem; border-top: var(--brass-hairline); display: grid; gap: 1.5rem; }
.service-card figure { margin: 0; }
.service-card h3 { max-width: 20ch; }
.service-card p { color: var(--text-secondary); }
.service-card .service-meta { font: 400 .6875rem/1.6 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.service-card .text-link { justify-self: start; }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.editorial-figure { margin: 0; }
.editorial-figure img { width: 100%; object-fit: cover; background: var(--surface); }
.editorial-figure figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .85rem; padding-top: .7rem; border-top: var(--hairline); font: 400 .6875rem/1.6 var(--font-mono); color: var(--muted); }
.editorial-figure figcaption > * { min-width: 0; }
.photo-portrait img { aspect-ratio: 4 / 5; }
.photo-landscape img { aspect-ratio: 3 / 2; }
.photo-detail img { aspect-ratio: 4 / 3; }
.note-panel { padding: 1.5rem 1.75rem; border-left: 1px solid var(--brass); background: var(--surface); }
.note-panel > * + * { margin-top: 1rem; }
.note-panel h3 { font-size: var(--type-h4); }
.note-panel p { color: var(--text-secondary); }
.badge, .chip, .tag { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; max-width: 100%; padding: .65rem .9rem; border: var(--hairline); border-radius: var(--radius); font: 400 .6875rem/1.5 var(--font-mono); overflow-wrap: anywhere; }
.badge { border-color: var(--rule-brass); color: var(--paper); }
.chip:hover { background: var(--surface-raised); border-color: var(--muted); }
.chip[aria-pressed='true'] { background: var(--garnet); color: var(--white); border-color: var(--garnet-bright); }
.chip-group { display: flex; flex-wrap: wrap; gap: .6rem; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .9375rem; text-align: left; }
.spec-table caption { text-align: left; font: 400 .75rem/1.6 var(--font-mono); color: var(--text-secondary); padding-bottom: 1rem; }
.spec-table th, .spec-table td { padding: 1.15rem 1rem 1.15rem 0; vertical-align: top; border-bottom: var(--hairline); overflow-wrap: anywhere; }
.spec-table thead th { font: 500 .6875rem/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-top: var(--brass-hairline); }
.spec-table tbody th { width: 32%; font-weight: 500; color: var(--paper); }
.spec-table td { color: var(--text-secondary); }
.spec-table th:last-child, .spec-table td:last-child { padding-right: 0; }
.spec-list { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-top: var(--brass-hairline); }
.spec-list dt, .spec-list dd { padding: 1rem 0; border-bottom: var(--hairline); }
.spec-list dt { font: 400 .6875rem/1.7 var(--font-mono); color: var(--muted); text-transform: uppercase; padding-right: 1.5rem; }
.spec-list dd { color: var(--text-secondary); font-size: .9375rem; }

.inquiry-form { display: grid; gap: 1.75rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.form-field { display: grid; align-content: start; gap: .55rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label, .form-label, .inquiry-form legend { font: 500 .875rem/1.5 var(--font-body); color: var(--paper); }
.form-field label span { color: var(--muted); font-weight: 400; font-size: .75rem; }
.form-field input:not([type='checkbox']):not([type='radio']), .form-field textarea, .form-field select, .form-control { display: block; width: 100%; min-height: 50px; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--rule); color: var(--paper); font-size: 1rem; line-height: 1.5; transition: border-color var(--duration-fast), background-color var(--duration-fast); }
.form-field textarea { min-height: 156px; }
.form-field input:hover, .form-field textarea:hover, .form-field select:hover { border-color: var(--muted); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--brass); background: var(--surface-deep); }
.form-field input:autofill { box-shadow: 0 0 0 1000px var(--surface) inset; -webkit-text-fill-color: var(--paper); }
.form-hint, .field-hint, .character-count { font: 400 .6875rem/1.7 var(--font-mono); color: var(--muted); }
.character-count { text-align: right; }
.check-field { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: .8rem; }
.check-field input { margin: .9rem 0 0; width: 20px; height: 20px; accent-color: var(--garnet); }
.check-field label { display: block; min-height: 44px; padding-block: .65rem; color: var(--text-secondary); font-size: .8125rem; line-height: 1.65; cursor: pointer; }
.check-field a { color: var(--paper); }
.check-field:focus-within { border-radius: var(--radius); }
.radio-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.radio-option { display: flex; align-items: center; gap: .65rem; min-height: 48px; padding: .8rem 1rem; border: var(--hairline); font-size: .875rem; cursor: pointer; }
.radio-option input { accent-color: var(--garnet); margin: 0; flex-shrink: 0; }
.radio-option:has(input:checked) { background: var(--garnet); border-color: var(--garnet-bright); }
.radio-option:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: 3px; }
.field-error { color: var(--error); font-size: .8125rem; line-height: 1.6; }
.field-error:empty { display: none; }
[aria-invalid='true'] { border-color: var(--error) !important; }
.check-field input[aria-invalid='true'] { outline: 1px solid var(--error); outline-offset: 3px; }
.form-summary { border: 1px solid var(--error); border-left-width: 3px; background: var(--error-ground); padding: 1.25rem; }
.form-summary h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.form-summary ul { padding-left: 1.25rem; }
.form-summary a { color: var(--paper); font-size: .875rem; display: inline-flex; align-items: center; min-height: 44px; padding-block: .5rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; border-top: var(--hairline); padding-top: 1.5rem; }
.form-actions p { font-size: .75rem; color: var(--muted); max-width: 36ch; }
.form-status { padding: 1rem 0; font-size: .875rem; color: var(--text-secondary); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-section { border-top: var(--hairline); padding-top: 1.5rem; }
.form-section legend { padding-right: 1rem; }

.site-footer { border-top: 1px solid var(--brass); background: var(--surface-deep); padding-block: clamp(3rem, 6vw, 5rem) calc(1.5rem + var(--cookie-height)); }
.footer-ticker { margin-top: calc(-1 * clamp(3rem, 6vw, 5rem) + 6px); margin-bottom: clamp(3rem, 6vw, 5rem); border-top: 0; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; }
.footer-intro { max-width: 34rem; }
.footer-brand img { height: 4rem; width: auto; object-fit: contain; }
.footer-intro p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2.25rem); line-height: 1.3; letter-spacing: -.02em; margin-top: 1.5rem; max-width: 25ch; }
.footer-intro .text-link { margin-top: 1.5rem; font-size: .875rem; }
.footer-heading { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font: 400 .6875rem/1.6 var(--font-mono); margin-bottom: 1rem; }
.footer-contact { font: 400 .8125rem/1.8 var(--font-mono); align-self: start; }
.footer-contact > a { display: flex; align-items: center; min-height: 44px; padding-block: .5rem; text-decoration: none; }
.footer-contact address { margin-top: 1rem; color: var(--text-secondary); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: flex; min-height: 44px; align-items: center; padding-block: .5rem; text-decoration: none; font-size: .875rem; }
.footer-services { margin-top: 2.5rem; padding-top: 1.5rem; border-top: var(--hairline); }
.footer-services .footer-links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.5rem; margin-top: 2.5rem; border-top: var(--hairline); padding-top: 1rem; }
.footer-legal a, .footer-legal button { display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 0; font: 400 .75rem/1.5 var(--font-body); color: var(--text-secondary); text-decoration: underline; text-decoration-color: var(--rule); }
.footer-legal a:hover, .footer-legal button:hover { color: var(--paper); text-decoration-color: var(--brass); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1rem; color: var(--muted); font: 400 .625rem/1.7 var(--font-mono); }
.footer-bottom > * { min-width: 0; }

.cookie-banner { position: fixed; z-index: var(--z-consent); inset: auto 0 0; border-top: var(--brass-hairline); background: var(--surface); box-shadow: 0 -8px 30px rgb(0 0 0 / .2); padding: .65rem max(1rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; max-width: 1400px; margin-inline: auto; }
.cookie-copy { font-size: .75rem; line-height: 1.45; color: var(--text-secondary); }
.cookie-copy a { color: var(--paper); text-decoration-color: var(--brass); }
.cookie-actions { display: flex; flex: 0 0 auto; align-items: center; gap: .5rem; }
.cookie-actions button { min-height: 44px; padding: .65rem 1.1rem; border: 1px solid var(--rule); font: 500 .75rem/1.4 var(--font-body); }
.cookie-decline { background: var(--surface); color: var(--paper); }
.cookie-allow { background: var(--garnet); color: var(--white); border-color: var(--garnet) !important; }
.cookie-actions button:hover { border-color: var(--brass); }
.cookie-allow:hover { background: var(--garnet-bright); }
.consent-status { font: 400 .8125rem/1.7 var(--font-mono); padding: 1rem; border: var(--hairline); color: var(--text-secondary); }
@media (min-width: 960px) { .cookie-banner { left: var(--sidebar-width); } }
@media (max-width: 600px) { .cookie-banner { padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); } .cookie-inner { flex-wrap: wrap; gap: .25rem; } .cookie-copy { flex-basis: 100%; font-size: .6875rem; } .cookie-actions { margin-left: auto; } .cookie-actions button { padding: .55rem 1rem; } }

.chat-widget { position: relative; z-index: var(--z-chat); }
.chat-launcher { position: fixed; bottom: calc(1.25rem + env(safe-area-inset-bottom)); right: max(1.25rem, env(safe-area-inset-right)); display: inline-flex; align-items: center; justify-content: center; gap: .7rem; max-width: calc(100vw - 2.5rem); min-height: 48px; padding: .9rem 1.2rem; background: var(--surface); border: var(--brass-hairline); box-shadow: var(--shadow-panel); color: var(--paper); font-size: .8125rem; }
.chat-launcher:hover { border-color: var(--brass); background: var(--surface-raised); }
.consent-visible .chat-launcher { display: none; }
.chat-unread { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; padding: .15rem .4rem; background: var(--garnet); color: var(--paper); font: 500 .6875rem/1.6 var(--font-mono); border-radius: 2px; }
.chat-panel { position: fixed; inset: auto max(1.25rem, env(safe-area-inset-right)) calc(1.25rem + env(safe-area-inset-bottom)) auto; width: min(420px, calc(100vw - 2.5rem)); max-height: calc(100vh - 2.5rem); max-height: calc(100dvh - 2.5rem); display: flex; flex-direction: column; background: var(--surface); border: var(--brass-hairline); border-radius: var(--radius); box-shadow: var(--shadow-panel); overflow: hidden; }
.chat-header { display: flex; flex-shrink: 0; align-items: start; gap: 1rem; padding: 1.25rem; border-bottom: var(--hairline); background: var(--ink); }
.chat-header > div { flex: 1; }
.chat-title { font-size: 1.65rem; line-height: 1.2; }
.chat-subtitle { font-size: .6875rem; line-height: 1.6; color: var(--muted); margin-top: .4rem; }
.chat-close { flex-shrink: 0; }
.chat-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem; scrollbar-width: thin; }
.chat-intro { color: var(--text-secondary); font-size: .8125rem; line-height: 1.7; margin-bottom: 1.25rem; }
.chat-contact { display: grid; gap: 1rem; }
.chat-contact .form-field { gap: .4rem; }
.chat-contact .form-field label { font-size: .8125rem; }
.chat-contact .form-field label span { display: block; margin-top: .25rem; font-size: .6875rem; }
.chat-contact .form-field input { min-height: 44px; padding: .65rem .8rem; }
.chat-contact .button { justify-self: start; }
.chat-transcript { display: grid; gap: 1rem; }
.chat-message { max-width: 93%; justify-self: start; padding: .85rem 1rem; background: var(--ink); border-left: 1px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0; }
.chat-message--outgoing { justify-self: end; background: #2b1720; border-left: 0; border-right: 1px solid var(--garnet-bright); border-radius: var(--radius) 0 0 var(--radius); }
.chat-message-label { display: block; font: 500 .625rem/1.6 var(--font-mono); letter-spacing: .04em; color: var(--muted); margin-bottom: .35rem; }
.chat-message p { font-size: .8125rem; line-height: 1.7; white-space: pre-wrap; }
.chat-message-status { display: block; color: var(--muted); font: 400 .625rem/1.5 var(--font-mono); margin-top: .5rem; }
.chat-message-status:empty { display: none; }
.chat-message--pending { border-right-style: dashed; }
.chat-message--failed { border-right-color: var(--error); }
.chat-message--failed .chat-message-status { color: var(--error); }
.chat-retry { display: inline-flex; min-height: 44px; padding: .65rem 0; text-decoration: underline; color: var(--paper); font-size: .75rem; }
.chat-compose { padding: 1rem 1.25rem .5rem; border-top: var(--hairline); flex-shrink: 0; background: var(--surface-deep); }
.chat-compose > label { display: block; font-size: .75rem; margin-bottom: .5rem; }
.chat-compose textarea { display: block; width: 100%; min-height: 72px; max-height: 140px; padding: .65rem .8rem; background: var(--ink); border: var(--hairline); font-size: 1rem; line-height: 1.5; }
.chat-compose-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .75rem; }
.chat-compose-footer small { max-width: 16ch; font: 400 .625rem/1.6 var(--font-mono); color: var(--muted); }
.chat-end { display: flex; min-height: 44px; align-items: center; text-align: left; padding: .65rem 0; font-size: .625rem; line-height: 1.5; text-decoration: underline; color: var(--muted); }
.chat-status { padding: .5rem 1.25rem .85rem; color: var(--text-secondary); font-size: .6875rem; line-height: 1.6; flex-shrink: 0; }
.chat-status:empty { padding: 0; }
.chat-status.is-error { color: var(--error); }

.tab-list, [role='tablist'] { display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: var(--hairline); padding-bottom: .75rem; }
[role='tab'] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .75rem 1rem; border: var(--hairline); font-size: .875rem; }
[role='tab'][aria-selected='true'] { background: var(--garnet); border-color: var(--garnet-bright); color: var(--white); }
[role='tabpanel'] { padding-top: 1.5rem; }
.lightbox { width: min(1100px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 1.25rem; border: var(--brass-hairline); background: var(--ink); color: var(--paper); overflow: auto; }
.lightbox::backdrop { background: rgb(0 0 0 / .88); }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.lightbox img { width: auto; max-height: 70dvh; margin-inline: auto; object-fit: contain; }
.lightbox figcaption { padding-top: 1rem; font: 400 .75rem/1.6 var(--font-mono); color: var(--text-secondary); }
[data-lightbox] { cursor: zoom-in; }
.empty-state { padding: 2rem 0; border-top: var(--hairline); }
.empty-state h3 { font-size: var(--type-h4); margin-bottom: 1rem; }
.empty-state p { color: var(--text-secondary); }

@media (max-width: 1200px) { .service-row { grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem 1.5rem; } .service-row p, .service-row .text-link { grid-column: 2; } .service-row .text-link { justify-self: start; } }
@media (max-width: 767px) { .footer-main { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } .footer-legal { gap: .2rem 1.25rem; } .service-row { padding-block: 1.5rem; } .form-grid { grid-template-columns: minmax(0, 1fr); } .form-field-wide { grid-column: auto; } .spec-table { font-size: .8125rem; } .note-panel { padding: 1.25rem; } }
@media (max-width: 414px) { .chat-panel { inset: auto .5rem max(.5rem, env(safe-area-inset-bottom)) .5rem; width: auto; max-height: calc(100dvh - 1rem); } .chat-header { padding: 1rem; gap: .65rem; } .chat-scroll { padding: 1rem; } .chat-compose { padding: .85rem 1rem .4rem; } .chat-status { padding-inline: 1rem; } .chat-compose-footer small { max-width: none; } .action-row { align-items: stretch; } .action-row .button { width: 100%; } .spec-list { grid-template-columns: minmax(0, 1fr); } .spec-list dt { padding-bottom: .4rem; border-bottom: 0; } .spec-list dd { padding-top: 0; } .nav-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-height: 520px) { .chat-panel { overflow-y: auto; } .chat-scroll { overflow: visible; flex-shrink: 0; } .chat-header { padding-block: .75rem; } .cookie-banner { padding-block: .25rem; } .cookie-inner { flex-wrap: nowrap; gap: .5rem; } .cookie-copy { flex-basis: auto; } .cookie-actions button { padding-inline: .65rem; } }
@media (prefers-reduced-motion: reduce) { .js .site-sidebar { transition: none; } .ticker-track { transform: none !important; will-change: auto; flex-wrap: wrap; width: 100%; } .ticker-list { flex-wrap: wrap; flex-shrink: 1; } .ticker-list[aria-hidden='true'] { display: none; } .spec-ticker, .ticker { overflow: visible; } }
@media (forced-colors: active) { .nav-link[aria-current='page'], .chip[aria-pressed='true'], [role='tab'][aria-selected='true'] { outline: 2px solid Highlight; } .cookie-banner, .chat-panel, .site-sidebar { border: 1px solid CanvasText; } .chat-message { border: 1px solid CanvasText; } }
@media print { .site-footer { padding-block: 2rem; background: none; } .footer-main { display: block; } .footer-services, .footer-legal button, .action-row, [role='tablist'] { display: none; } [role='tabpanel'][hidden] { display: block !important; } .spec-ticker { overflow: visible; } .ticker-track, .ticker-list { flex-wrap: wrap; width: auto; } .ticker-list[aria-hidden='true'] { display: none; } }
