@charset "UTF-8";
:root {
  color-scheme: light;
  --ink: #10100f;
  --ink-soft: #252420;
  --paper: #f5f1e8;
  --cream: #fcfaf5;
  --cream-deep: #eae3d5;
  --gold: #bd965f;
  --gold-deep: #795b34;
  --gold-bright: #d8b681;
  --line: #d6c3a0;
  --muted: #6a665f;
  --danger: #9b342c;
  --success: #356a4d;
  --shadow: 0 18px 45px rgba(36, 28, 16, .09);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.5; }
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #96713d; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: .75rem; transform: translateY(-160%); padding: .75rem 1rem; color: #fff; background: var(--ink); border: 1px solid var(--gold); }
.skip-link:focus { transform: translateY(0); }

/* Public header and source-inspired identity */
.site-header { position: sticky; z-index: 20; top: 0; color: var(--paper); background: rgba(12, 12, 11, .97); border-bottom: 1px solid rgba(189, 150, 95, .7); backdrop-filter: blur(12px); }
.header-inner { width: min(1280px, calc(100% - 48px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; height: 43px; object-fit: contain; }
.brand-wordmark { display: grid; gap: .12rem; font: 16px/1 Georgia, 'Times New Roman', serif; letter-spacing: .23em; }
.brand-wordmark small { color: var(--gold-bright); font: 8px/1.4 Arial, sans-serif; letter-spacing: .31em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.25rem); }
.main-nav a { color: #eee8dc; font-size: .86rem; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover { color: var(--gold-bright); }
.main-nav .nav-admin { color: var(--gold-bright); border: 1px solid rgba(189, 150, 95, .65); padding: .55rem .8rem; }
.nav-admin span { padding-left: .25rem; }
.intro-band { position: relative; overflow: hidden; color: var(--paper); background: radial-gradient(ellipse at 82% 44%, rgba(184, 138, 74, .12), transparent 38%), linear-gradient(105deg, #0c0d0c 0%, #171512 56%, #10100e 100%); border-bottom: 1px solid #886b42; }
.intro-band::after { position: absolute; right: -5rem; top: -13rem; width: 34rem; height: 34rem; content: ""; border: 1px solid rgba(189, 150, 95, .17); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(189, 150, 95, .025), 0 0 0 5rem rgba(189, 150, 95, .02); }
.intro-band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; width: min(1280px, calc(100% - 48px)); min-height: 310px; margin: auto; padding: 3.6rem 0; }
.eyebrow, .section-kicker { margin: 0; color: var(--gold-bright); font-size: .68rem; font-weight: 700; letter-spacing: .25em; }
.eyebrow-line { display: inline-block; width: 30px; height: 1px; margin: 0 .55rem .2rem 0; background: var(--gold); }
.intro-copy h1 { margin: 1.1rem 0 1.5rem; font: 400 clamp(2.7rem, 6vw, 5.6rem)/.98 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.intro-copy h1 span { color: var(--gold-bright); }
.gold-link { display: inline-flex; align-items: center; gap: .8rem; color: #f3e7d3; font-size: .88rem; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .45rem; }
.gold-link span { color: var(--gold-bright); font-size: 1.15rem; }
.intro-seal { display: grid; justify-items: center; gap: .8rem; margin-right: 5rem; opacity: .82; }
.seal-ring { display: grid; width: 116px; height: 116px; place-items: center; border: 1px solid rgba(189, 150, 95, .5); border-radius: 50%; box-shadow: 0 0 0 7px rgba(189, 150, 95, .035); }
.seal-ring img { width: 42px; height: 50px; object-fit: contain; }
.seal-caption { color: #d5c4a7; font-size: .53rem; line-height: 1.9; letter-spacing: .28em; text-align: center; }

/* Seven axes */
.expertise-section { width: min(1280px, calc(100% - 48px)); margin: auto; padding: 4.5rem 0 5.2rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.3rem; }
.section-heading h2, .contact-copy h2 { margin: .35rem 0 0; font: 400 clamp(2rem, 4vw, 3.15rem)/1.12 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
.section-heading .section-kicker { color: var(--gold-deep); }
.section-index { margin: 0 .2rem .4rem 0; color: var(--gold-deep); font: 13px Georgia, serif; letter-spacing: .1em; }
.section-index span { padding: 0 .35rem; color: #a99a81; }
.axis-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; padding: .65rem 0 1.6rem; }
.axis-nav a { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: .55rem .8rem; color: #f2eadc; background: #11110f; border: 1px solid #a9854f; font-size: .78rem; line-height: 1.25; text-align: center; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.axis-nav a:hover, .axis-nav a:focus-visible { color: #17130d; background: var(--gold-bright); border-color: var(--gold-bright); }
.axis-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: 1.35rem; }
.axis-card { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); grid-template-rows: auto auto auto; min-width: 0; overflow: hidden; scroll-margin-top: 100px; background: var(--cream); border: 1px solid #cdb88e; box-shadow: 0 8px 22px rgba(34, 28, 18, .055); }
.axis-visual { position: relative; grid-column: 1; grid-row: 1; min-height: 370px; overflow: hidden; background: #13120f; }
.axis-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.axis-visual::after { position: absolute; top: 0; right: 0; bottom: 0; width: 2px; content: ""; background: rgba(189,150,95,.85); }
.axis-content { display: flex; grid-column: 2; grid-row: 1; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 4vw, 3.4rem); }
.axis-content-brand { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; color: var(--gold-deep); font: 9px/1.1 Georgia, 'Times New Roman', serif; letter-spacing: .28em; }
.axis-content-brand img { width: 25px; height: 28px; object-fit: contain; }
.axis-title { margin: 0 0 .75rem; color: #181612; font: 400 clamp(1.55rem, 3vw, 2.25rem)/1.12 Georgia, 'Times New Roman', serif; letter-spacing: .07em; }
.axis-lead { margin: 0 0 1rem; padding-bottom: .85rem; color: #24211c; border-bottom: 1px solid #ded3c0; font: 400 clamp(1.04rem, 1.6vw, 1.2rem)/1.38 Georgia, 'Times New Roman', serif; text-align: left; }
.service-list { display: grid; gap: .48rem; margin: 0; padding: 0; list-style: none; }
.service-list li { display: flex; align-items: center; gap: .58rem; min-height: 27px; color: #2d2a24; font-size: .88rem; line-height: 1.35; }
.service-icon { position: relative; display: block; width: 12px; height: 12px; flex: 0 0 12px; margin: 0 3px; border: 1px solid #b18a52; border-radius: 50%; background: radial-gradient(circle, #9a743e 0 1.5px, transparent 2px); }
.axis-card:nth-child(even) .axis-visual { grid-column: 2; }
.axis-card:nth-child(even) .axis-visual::after { right: auto; left: 0; }
.axis-card:nth-child(even) .axis-content { grid-column: 1; grid-row: 1; }
.card-metrics { display: grid; grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 72px; background: #eee6d8; border-top: 1px solid #d6c4a2; }
.card-metrics div { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .55rem .25rem; text-align: center; }
.card-metrics div + div { border-left: 1px solid rgba(129, 102, 61, .22); }
.card-metrics strong { color: #1f1c17; font: 700 .8rem/1.15 Arial, sans-serif; }
.card-metrics span { margin-top: .22rem; color: #4a4439; font-size: .68rem; line-height: 1.2; }
.card-footer { display: grid; grid-column: 1 / -1; grid-row: 3; min-height: 34px; place-items: center; padding: .48rem .5rem; color: #ded1b8; background: #0d0d0c; font-size: .52rem; letter-spacing: .36em; text-align: center; }
.source-note { margin: 1.2rem 0 0; color: #655d4f; font-size: .76rem; }
.source-note span { margin-right: .4rem; color: var(--gold-deep); }

/* Contact area and footer */
.contact-section { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 7vw, 7rem); padding: clamp(3rem, 7vw, 6.5rem) max(24px, calc((100% - 1280px)/2)); color: #f8f3e8; background: #10100f; border-top: 1px solid #987744; }
.contact-copy { position: relative; }
.contact-copy .section-kicker { color: var(--gold-bright); }
.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy > p:not(.section-kicker) { max-width: 360px; color: #d0c8ba; font-size: .94rem; }
.contact-mark { display: grid; width: 98px; height: 98px; margin-top: 2.5rem; place-items: center; border: 1px solid rgba(189,150,95,.5); border-radius: 50%; }
.contact-mark img { width: 36px; height: 44px; object-fit: contain; }
.contact-form { display: grid; gap: 1rem; align-content: start; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { color: #eee5d4; font-size: .82rem; font-weight: 600; }
.field label span { color: var(--gold-bright); }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: .72rem .8rem; color: #f8f3e8; background: #1a1916; border: 1px solid #66583f; border-radius: 0; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-bright); outline: 2px solid rgba(216,182,129,.35); outline-offset: 1px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e9968a; }
.field-error { min-height: .8rem; color: #ffc0b8; font-size: .74rem; }
.required-note { margin: -.2rem 0 0; color: #c9c1b3; font-size: .74rem; }
.button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: .85rem; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 0; cursor: pointer; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.button-gold { color: #15120d; background: var(--gold-bright); border-color: var(--gold-bright); }
.button-gold:hover { color: #fff; background: #87673d; border-color: #c5a26e; }
.button-dark { color: #f7f1e6; background: var(--ink); border-color: var(--gold); }
.button-dark:hover { color: #17140f; background: var(--gold-bright); }
.button:disabled { cursor: wait; opacity: .65; }
.form-feedback { min-height: 1.5rem; margin: 0; color: #dce9d9; font-size: .88rem; }
.form-feedback.is-error { color: #ffc0b8; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; padding: 1.3rem max(24px, calc((100% - 1280px)/2)); color: #e8dfcf; background: #080908; border-top: 1px solid #30291e; }
.footer-brand { color: #f0e7d7; font: 14px Georgia, 'Times New Roman', serif; letter-spacing: .2em; text-decoration: none; white-space: nowrap; }
.footer-brand span { display: block; margin-top: .25rem; color: var(--gold); font: 8px Arial, sans-serif; letter-spacing: .29em; }
.social-links { display: flex; align-items: center; gap: .7rem; }
.social-links a { display: grid; width: 42px; height: 42px; place-items: center; color: var(--gold-bright); border: 1px solid #69583d; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.social-links a:hover { color: #12100c; background: var(--gold-bright); border-color: var(--gold-bright); }
.social-icon { display: grid; width: 22px; height: 22px; place-items: center; color: currentColor; }
.social-icon-instagram { position: relative; width: 19px; height: 19px; border: 2px solid currentColor; border-radius: 6px; }
.social-icon-instagram::before { width: 7px; height: 7px; content: ""; border: 2px solid currentColor; border-radius: 50%; }
.social-icon-instagram::after { position: absolute; top: 2px; right: 2px; width: 3px; height: 3px; content: ""; background: currentColor; border-radius: 50%; }
.social-icon-linkedin { font: 700 19px/1 Arial, sans-serif; letter-spacing: -.08em; }
.social-icon-x { font: 700 20px/1 Arial, sans-serif; }
.back-top { color: #d6c8b0; font-size: .78rem; text-decoration: none; white-space: nowrap; }
.back-top:hover { color: var(--gold-bright); }

/* Admin and login */
.admin-body { min-height: 100vh; background: #f3efe6; }
.admin-header { color: #f7f1e6; background: #10100f; border-bottom: 1px solid #a07b48; }
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(1440px, calc(100% - 40px)); min-height: 78px; margin: auto; }
.admin-title { display: flex; align-items: center; gap: .8rem; }
.admin-title .brand-mark { width: 32px; height: 36px; }
.admin-title-text { display: grid; gap: .15rem; }
.admin-title-text strong { font: 400 14px Georgia, serif; letter-spacing: .19em; }
.admin-title-text small { color: var(--gold-bright); font-size: .65rem; letter-spacing: .13em; }
.admin-user-actions { display: flex; align-items: center; gap: 1rem; }
.admin-user-label { color: #d4cabb; font-size: .82rem; }
.admin-shell { width: min(1440px, calc(100% - 40px)); margin: 0 auto; padding: 2.2rem 0 4rem; }
.admin-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.admin-heading-row h1 { margin: .2rem 0 0; font: 400 clamp(1.8rem, 4vw, 2.8rem)/1.1 Georgia, serif; }
.admin-heading-row p { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; }
.admin-panel { margin-bottom: 1.35rem; padding: 1.1rem; background: #fffdf8; border: 1px solid #d4c3a4; box-shadow: 0 8px 24px rgba(20,18,14,.045); }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)) auto auto; align-items: end; gap: .8rem; }
.admin-panel .field label { color: #454035; font-size: .75rem; }
.admin-panel .field input, .admin-panel .field select, .admin-panel .field textarea { min-height: 42px; padding: .6rem .7rem; color: #211f1a; background: white; border-color: #cab994; }
.admin-panel .field textarea { min-height: 110px; }
.admin-panel .button { min-height: 42px; padding: .6rem 1rem; font-size: .82rem; }
.admin-notice { margin: 0 0 1rem; padding: .85rem 1rem; color: #44351c; background: #f0e3c9; border-left: 3px solid var(--gold); font-size: .87rem; }
.admin-notice.is-error { color: #6f211c; background: #f7e0dd; border-color: var(--danger); }
.admin-notice.is-success { color: #225039; background: #e2f0e6; border-color: var(--success); }
.table-wrap { overflow-x: auto; }
.contacts-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.contacts-table th { padding: .75rem .65rem; color: #554a37; background: #eee7d9; border-bottom: 1px solid #cdbd9f; font-size: .72rem; letter-spacing: .04em; text-align: left; white-space: nowrap; }
.contacts-table td { padding: .78rem .65rem; border-bottom: 1px solid #ece7dc; vertical-align: middle; }
.contacts-table tbody tr:hover { background: #fbf8f0; }
.contacts-table .subject-cell { min-width: 170px; }
.status-chip { display: inline-block; padding: .27rem .48rem; color: #574420; background: #f0e6d2; border: 1px solid #d9c59f; font-size: .69rem; white-space: nowrap; }
.status-chip.status-done { color: #275137; background: #e3efe5; border-color: #b7d0bd; }
.status-chip.status-replied { color: #3c4f6a; background: #e4eaf2; border-color: #bdcce0; }
.row-link { padding: .35rem .55rem; color: #4f3920; background: transparent; border: 1px solid #bca477; cursor: pointer; font-size: .74rem; }
.row-link:hover { color: #fff; background: #181612; }
.table-empty { padding: 2rem !important; color: var(--muted); text-align: center; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: #635d52; font-size: .82rem; }
.pagination-controls { display: flex; gap: .5rem; }
.pagination button { min-width: 38px; min-height: 36px; color: #403a30; background: #fffdf8; border: 1px solid #c9b894; cursor: pointer; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.admin-lower-grid { display: grid; grid-template-columns: 1fr minmax(320px, .8fr); gap: 1.35rem; }
.panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.panel-title h2 { margin: 0; font: 400 1.25rem Georgia, serif; }
.panel-title p { margin: 0; color: var(--muted); font-size: .76rem; }
.user-create-form { display: grid; gap: .8rem; }
.user-create-form .field-row { gap: .8rem; }
.dialog { width: min(740px, calc(100% - 28px)); max-height: min(90vh, 900px); padding: 0; color: var(--ink); background: var(--cream); border: 1px solid #ba9a68; box-shadow: 0 24px 90px rgba(0,0,0,.34); }
.dialog::backdrop { background: rgba(8,8,7,.74); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; color: #f6f0e5; background: #121210; border-bottom: 1px solid #987544; }
.dialog-head h2 { margin: .15rem 0 0; font: 400 1.45rem Georgia, serif; }
.dialog-head p { margin: 0; color: var(--gold-bright); font-size: .7rem; letter-spacing: .13em; }
.dialog-close { width: 38px; height: 38px; color: #f7f1e6; background: transparent; border: 1px solid #766340; cursor: pointer; font-size: 1.3rem; }
.dialog-content { max-height: calc(90vh - 78px); overflow: auto; padding: 1.25rem; }
.detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; margin: 0 0 1.3rem; }
.detail-meta div { padding-bottom: .55rem; border-bottom: 1px solid #e4ddce; }
.detail-meta dt { color: #716957; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.detail-meta dd { margin: .22rem 0 0; overflow-wrap: anywhere; font-size: .9rem; }
.detail-message { margin: 0 0 1.3rem; padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; background: #f0ebdf; border-left: 2px solid var(--gold); }
.history-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.history-item { padding: .75rem; background: #f5f1e8; border: 1px solid #e0d8c8; }
.history-item strong { display: block; margin-bottom: .2rem; font-size: .82rem; }
.history-item time, .history-item p { margin: 0; color: #676052; font-size: .75rem; }
.status-form { display: flex; align-items: end; gap: .75rem; margin: 1.2rem 0; padding: 1rem; background: #f0e9dc; }
.status-form .field { flex: 1; }
.password-change-panel { display: none; }
.password-change-panel.is-visible { display: block; }
.admin-login-page { display: grid; min-height: 100vh; place-items: center; padding: 2rem 1rem; color: #f7f1e6; background: radial-gradient(ellipse at 50% 8%, rgba(189,150,95,.13), transparent 45%), #10100f; }
.login-card { width: min(480px, 100%); padding: clamp(1.6rem, 6vw, 3rem); background: #171613; border: 1px solid #9c7947; box-shadow: 0 28px 80px rgba(0,0,0,.4); }
.login-brand { display: grid; justify-items: center; margin-bottom: 2rem; }
.login-brand .brand-mark { width: 51px; height: 57px; margin-bottom: .45rem; }
.login-brand strong { font: 400 18px Georgia, serif; letter-spacing: .3em; }
.login-brand small { margin-top: .38rem; color: var(--gold-bright); font-size: .57rem; letter-spacing: .28em; }
.login-card h1 { margin: 0 0 .5rem; font: 400 1.9rem Georgia, serif; text-align: center; }
.login-intro { margin: 0 0 1.4rem; color: #c8c0b2; font-size: .86rem; text-align: center; }
.login-form { display: grid; gap: 1rem; }
.login-form .button { width: 100%; margin-top: .25rem; }
.login-step { display: none; }
.login-step.is-active { display: block; }
.login-help { margin: .8rem 0 0; color: #c9c0af; font-size: .75rem; }
.login-back-link { color: #dfc59b; text-decoration: none; }
.login-back-link:hover { text-decoration: underline; }
.admin-security-copy { color: #5f594d; line-height: 1.6; }
.sort-button { padding: 0; color: inherit; background: transparent; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; }
.sort-button:hover { color: #17140f; text-decoration: underline; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dialog-content h3 { margin: 1.2rem 0 .65rem; font: 400 1.1rem Georgia, serif; }
.login-feedback { min-height: 1.4rem; margin: .85rem 0 0; color: #f2c2ba; font-size: .84rem; text-align: center; }
.login-feedback.is-success { color: #c7e2cb; }
.totp-qr { display: block; width: 184px; height: 184px; margin: 1rem auto; padding: .5rem; background: white; }
.secret-box { padding: .7rem; color: #f2d9ae; background: #242119; border: 1px dashed #9d7c4a; font-family: monospace; font-size: .9rem; overflow-wrap: anywhere; text-align: center; user-select: all; }
.recovery-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .5rem; margin: 1rem 0; padding: 1rem; color: #1b1a16; background: #f7f1e6; font: .84rem monospace; list-style: none; }
.recovery-warning { color: #ffdc9d; font-size: .79rem; }
.auth-step-back { margin-top: .8rem; padding: .3rem 0; color: #dfc59b; background: none; border: 0; cursor: pointer; text-decoration: underline; }

@media (max-width: 1080px) {
  .axis-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .axis-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .filter-grid > .button { width: 100%; }
  .admin-lower-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .header-inner { width: min(100% - 28px, 1280px); min-height: 68px; gap: .6rem; }
  .brand { gap: .55rem; }
  .brand-mark { width: 30px; height: 35px; }
  .brand-wordmark { font-size: 13px; }
  .brand-wordmark small { font-size: 6px; letter-spacing: .25em; }
  .main-nav { gap: .7rem; }
  .main-nav a { font-size: .73rem; }
  .main-nav a:first-child { display: none; }
  .main-nav .nav-admin { padding: .42rem .48rem; }
  .intro-band-inner { width: calc(100% - 36px); min-height: 270px; padding: 3rem 0; }
  .intro-seal { margin-right: 0; }
  .seal-ring { width: 80px; height: 80px; }
  .seal-ring img { width: 29px; height: 37px; }
  .seal-caption { font-size: .43rem; letter-spacing: .17em; }
  .eyebrow { font-size: .57rem; letter-spacing: .15em; }
  .expertise-section { width: calc(100% - 28px); padding: 3.25rem 0 3.8rem; }
  .section-heading h2 { font-size: 2.3rem; }
  .axis-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 1.1rem; }
  .axis-nav a { min-height: 44px; padding: .5rem .45rem; font-size: .72rem; }
  .axis-grid { grid-template-columns: 1fr; gap: 1rem; }
  .axis-card { grid-template-columns: 1fr; grid-template-rows: 225px auto auto auto; }
  .axis-card .axis-visual, .axis-card:nth-child(even) .axis-visual { grid-column: 1; grid-row: 1; min-height: 225px; }
  .axis-card .axis-visual::after, .axis-card:nth-child(even) .axis-visual::after { top: auto; right: 0; bottom: 0; left: 0; width: auto; height: 2px; }
  .axis-card .axis-content, .axis-card:nth-child(even) .axis-content { grid-column: 1; grid-row: 2; padding: 1.2rem 1.2rem 1.3rem; }
  .card-metrics { grid-column: 1; grid-row: 3; }
  .card-footer { grid-column: 1; grid-row: 4; }
  .axis-title { font-size: clamp(1.45rem, 6.5vw, 2rem); }
  .axis-lead { margin-bottom: 1rem; font-size: 1.06rem; }
  .service-list li { font-size: .88rem; }
  .card-metrics { min-height: 72px; }
  .card-metrics strong { font-size: .77rem; }
  .card-metrics span { font-size: .67rem; }
  .contact-section { grid-template-columns: 1fr; gap: 1.6rem; padding: 3.4rem 20px; }
  .contact-mark { display: none; }
  .field-row { grid-template-columns: 1fr; gap: .8rem; }
  .contact-form { gap: .8rem; }
  .site-footer { flex-wrap: wrap; padding: 1.3rem 20px; }
  .social-links { order: 3; width: 100%; justify-content: space-between; }
  .back-top { margin-left: auto; }
  .admin-header-inner { width: calc(100% - 28px); min-height: 68px; }
  .admin-user-label { display: none; }
  .admin-shell { width: calc(100% - 28px); padding-top: 1.4rem; }
  .admin-heading-row { align-items: start; flex-direction: column; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-grid .button { width: 100%; }
  .pagination { align-items: start; flex-direction: column; }
  .detail-meta { grid-template-columns: 1fr; }
  .status-form { align-items: stretch; flex-direction: column; }
  .status-form .button { width: 100%; }
  .dialog-content { padding: 1rem; }
  .user-create-form .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .intro-seal { display: none; }
  .brand-wordmark { letter-spacing: .16em; }
  .main-nav { gap: .45rem; }
  .main-nav a { font-size: .68rem; }
  .card-footer { letter-spacing: .24em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
