/* Auremere Systems — an independent engineering drawing system. */
:root {
  --paper: #f5f6f1;
  --white: #fcfdf9;
  --ink: #172b26;
  --muted: #56655e;
  --green: #0e6e5c;
  --green-dark: #074e41;
  --wash: #e5eee7;
  --line: #c9d1c9;
  --grid: rgba(45, 83, 63, .055);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; z-index: -1; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--green); }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
::selection { background: #c6e4d6; color: var(--ink); }
img, svg { max-width: 100%; }
img { display: block; }
svg { display: block; height: auto; }
p, h1, h2, h3, h4, figure { margin: 0; }
p + p { margin-top: 16px; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(42px, 5.7vw, 78px); letter-spacing: -.058em; }
h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; }
h3 { font-size: 22px; letter-spacing: -.025em; }
ul, ol { margin: 18px 0 0; padding-left: 22px; }
li { padding-left: 3px; margin: 8px 0; }
strong { font-weight: 600; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.mono, .eyebrow, .section-code, .button, .nav, .drawing-header, .drawing-footer, .tag, caption, thead, .page-index, .footer-label, .aside-nav, .number { font-family: var(--mono); }
.eyebrow, .section-code, .footer-label { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green); margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--green); flex: 0 0 auto; }
.skip { position: absolute; top: -80px; left: 20px; padding: 10px 20px; background: var(--ink); color: white; z-index: 10; }
.skip:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.mark { width: 32px; height: 32px; }
.wordmark { font-size: 23px; letter-spacing: -.8px; font-weight: 600; line-height: 1; }
.brand-division { display: block; font: 9px/1 var(--mono); letter-spacing: .14em; margin-top: 7px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 25px; font-size: 11px; }
.nav a { text-decoration: none; padding-block: 9px; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px var(--green); }
.nav .contact-link { border: 1px solid var(--ink); padding: 10px 15px; }
.nav .contact-link:hover { background: var(--wash); }
.page-index { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 23px; }
.hero { display: grid; grid-template-columns: .93fr 1.07fr; gap: 58px; align-items: center; padding-block: 53px 63px; }
.hero h1 span { color: var(--green); }
.hero .lead { max-width: 440px; margin-top: 28px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 25px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 13px 18px; font-size: 11px; line-height: 1.5; text-decoration: none; border: 1px solid var(--green); background: var(--green); color: var(--white); }
.button:hover { background: var(--green-dark); color: white; }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button.secondary:hover { background: var(--wash); }
.text-link { display: inline-flex; gap: 20px; align-items: center; font: 11px/1.5 var(--mono); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.hero-note { display: flex; gap: 13px; color: var(--muted); font: 10px/1.6 var(--mono); margin-top: 32px; }
.hero-note::before { content: "+"; color: var(--green); font-size: 18px; line-height: 1; }
.drawing { border: 1px solid #8b9f93; background: rgba(252,253,249,.8); min-width: 0; }
.drawing-header { padding: 13px 17px; display: flex; justify-content: space-between; gap: 12px; font-size: 9px; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.drawing-header span:last-child { color: var(--green); }
.drawing svg { width: 100%; }
.drawing-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; border-top: 1px solid var(--line); padding: 12px 17px; font-size: 9px; color: var(--muted); }
.legend { display: inline-flex; align-items: center; gap: 7px; }
.legend::before { content: ""; width: 18px; height: 1px; background: var(--green); }
.legend.boundary::before { height: 0; border-top: 1px dashed var(--green); background: none; }
.drawing-caption { color: var(--muted); font: 10px/1.65 var(--mono); margin-top: 13px; }
.principle-strip { display: grid; grid-template-columns: 1.25fr 1fr 1fr; border-block: 1px solid var(--line); background: rgba(252,253,249,.72); }
.principle-strip > div { padding: 25px 28px; border-right: 1px solid var(--line); }
.principle-strip > div:first-child { padding-left: 0; }
.principle-strip > div:last-child { border: 0; }
.principle-strip .mono { color: var(--green); font-size: 10px; }
.principle-strip p { font-size: 14px; margin-top: 6px; }
.section { padding-block: 64px; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 160px 1fr auto; align-items: start; gap: 24px; margin-bottom: 30px; }
.section-code { color: var(--green); padding-top: 9px; }
.section-heading p { color: var(--muted); max-width: 590px; margin-top: 13px; }
.section-heading .text-link { margin-top: 13px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.65; text-align: left; }
caption { text-align: left; font-size: 10px; color: var(--muted); padding: 13px 19px; border-bottom: 1px solid var(--line); background: var(--paper); }
th, td { vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
th + th, td + td, th + td { border-left: 1px solid var(--line); }
thead th { font-size: 10px; letter-spacing: .035em; text-transform: uppercase; background: var(--wash); font-weight: 400; }
tbody th { font-weight: 500; width: 23%; }
tbody td { color: var(--muted); }
tbody tr:last-child > * { border-bottom: 0; }
.row-no { color: var(--green); font: 10px/1.6 var(--mono); display: block; margin-bottom: 5px; }
.matrix td:last-child { width: 31%; }
.matrix tbody a { text-decoration: none; }
.matrix tbody a:hover { text-decoration: underline; }
.thesis { background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 48px; position: relative; }
.thesis::before { content: "+"; position: absolute; top: 9px; right: 15px; font: 20px var(--mono); color: #96b9a7; }
/* max-width:430px 装不下 35px 的整句，第一句折行后 "model." 会独占一行
   （2026-10-15 实测：3 行、出现孤行）。放开到列宽，让 <br> 决定换行点。 */
.thesis h2 { max-width: none; font-size: 35px; }
.thesis .eyebrow { color: #a6c9b8; margin-bottom: 20px; }
.thesis .eyebrow::before { background: #a6c9b8; }
.thesis p { color: #c5d2ca; font-size: 15px; }
.thesis a { color: white; border-color: #658073; margin-top: 23px; }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--white); }
.route { text-decoration: none; padding: 30px; position: relative; }
.route + .route { border-left: 1px solid var(--line); }
.route:hover { background: var(--wash); }
.route .mono { font-size: 10px; color: var(--green); }
.route h3 { margin-block: 20px 12px; }
.route p { color: var(--muted); max-width: 430px; font-size: 14px; padding-right: 20px; }
.route-arrow { position: absolute; right: 28px; bottom: 29px; font-size: 22px; }
.page-hero { max-width: 1010px; padding-block: 61px 56px; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { margin-top: 27px; }
.page-hero .eyebrow { margin-bottom: 22px; }
.reading-layout { display: grid; grid-template-columns: 196px minmax(0,1fr); gap: 54px; padding-bottom: 72px; align-items: start; }
.aside-nav { position: sticky; top: 24px; border-top: 1px solid var(--ink); padding-top: 16px; font-size: 10px; }
.aside-nav p { color: var(--muted); margin-bottom: 18px; letter-spacing: .06em; text-transform: uppercase; }
.aside-nav a { display: flex; gap: 12px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.aside-nav a span { color: var(--green); }
.reading-main { min-width: 0; }
.spec { border-top: 1px solid var(--ink); padding-top: 29px; margin-bottom: 44px; scroll-margin-top: 28px; }
.spec h2 { font-size: 29px; margin-bottom: 18px; }
.spec h3 { font-size: 20px; margin: 26px 0 13px; }
.spec > p { max-width: 770px; color: var(--muted); }
.spec .number { color: var(--green); font-size: 12px; margin-bottom: 16px; display: block; }
.spec .table-wrap { margin-top: 22px; }
.spec ul, .spec ol { color: var(--muted); font-size: 15px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border: 1px solid var(--line); background: var(--white); }
.spec-list > div { padding: 22px; }
.spec-list > div + div { border-left: 1px solid var(--line); }
.spec-list dt { color: var(--green); font: 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.spec-list dd { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.callout { padding: 22px 25px; border-left: 3px solid var(--green); background: var(--wash); margin-block: 24px; font-size: 14px; }
.callout strong { display: block; margin-bottom: 5px; }
.ownership { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--white); margin-bottom: 40px; }
.ownership > div { padding: 25px; border-top: 3px solid var(--green); }
.ownership > div:nth-child(2) { border-top-color: var(--ink); }
.ownership > div:nth-child(3) { border-top-color: #879f89; }
.ownership > div + div { border-left: 1px solid var(--line); }
.ownership h2 { font-size: 20px; margin: 12px 0; }
.ownership .mono { font-size: 10px; color: var(--muted); }
.ownership p { font-size: 13px; color: var(--muted); }
.wide-drawing { margin-bottom: 34px; }
.process-strip { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); margin-bottom: 40px; background: var(--white); }
.process-strip a { padding: 23px; text-decoration: none; }
.process-strip a + a { border-left: 1px solid var(--line); }
.process-strip span { font: 10px var(--mono); color: var(--green); }
.process-strip strong { display: block; font-size: 19px; font-weight: 500; margin: 12px 0 4px; }
.process-strip small { font-size: 12px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding-bottom: 72px; }
.contact-info { border-top: 1px solid var(--ink); padding-top: 28px; }
.contact-info h2 { font-size: 29px; margin-bottom: 23px; }
.contact-info > p { color: var(--muted); font-size: 14px; }
.entity-card { border: 1px solid var(--line); padding: 25px; background: var(--white); margin-block: 24px; }
.entity-card dl { margin: 0; }
.entity-card dt { font: 10px/1.5 var(--mono); text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.entity-card dd { margin: 0 0 20px; font-size: 14px; }
.entity-card dd:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; counter-reset: checklist; }
.checklist li { counter-increment: checklist; position: relative; border-top: 1px solid var(--line); padding: 20px 0 20px 44px; margin: 0; }
.checklist li::before { content: counter(checklist, decimal-leading-zero); position: absolute; left: 0; top: 22px; color: var(--green); font: 11px var(--mono); }
.checklist strong { display: block; margin-bottom: 5px; }
.checklist p { color: var(--muted); font-size: 14px; }
.legal { max-width: 850px; margin-left: 250px; padding-bottom: 60px; }
.legal .spec { margin-bottom: 32px; }
.legal h2 { font-size: 25px; }
.error-layout { padding-block: 75px 100px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.error-code { font: clamp(100px, 19vw, 250px)/1 var(--mono); letter-spacing: -.1em; color: transparent; -webkit-text-stroke: 1px var(--green); border: 1px solid var(--line); padding: 35px 25px; text-align: center; background: repeating-linear-gradient(135deg, transparent, transparent 7px, var(--grid) 7px, var(--grid) 8px); }
.error-layout h1 { font-size: 50px; }
.error-layout .lead { margin-top: 22px; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1.15fr .85fr; padding-block: 38px; gap: 80px; }
.footer-label { color: var(--green); margin-bottom: 15px; }
.footer-top .footer-tagline { font-size: 23px; letter-spacing: -.025em; line-height: 1.3; max-width: 330px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 9px 23px; font: 11px/1.6 var(--mono); margin-top: 22px; }
.footer-nav a { text-decoration: none; }
.group { border-top: 1px solid var(--line); padding-block: 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; }
.group p:not(.footer-label) { color: var(--muted); font-size: 12px; max-width: 540px; }
.group-links { display: grid; gap: 8px; }
.group-links a { font: 11px/1.5 var(--mono); display: flex; justify-content: space-between; gap: 15px; text-decoration: none; }
.footer-entity { border-top: 1px solid var(--line); padding-block: 21px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.footer-entity p + p { margin-top: 3px; }
.footer-entity .legal-name { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 13px; color: var(--muted); font: 9px/1.6 var(--mono); }
@media (min-width: 1500px) { .hero { gap: 75px; } }
@media (max-width: 1200px) {
  .wrap { width: calc(100% - 64px); }
  .nav { gap: 17px; font-size: 10px; }
  .header-inner { gap: 25px; }
  .hero { gap: 36px; }
  .hero h1 { font-size: 64px; }
  .section-heading { grid-template-columns: 125px 1fr; }
  .section-heading > .text-link { grid-column: 2; justify-self: start; margin-top: 0; }
  .reading-layout { grid-template-columns: 165px minmax(0,1fr); gap: 35px; }
  .legal { margin-left: 200px; }
}
@media (max-width: 1024px) {
  .header-inner { flex-wrap: wrap; padding-block: 22px 17px; gap: 20px; }
  .nav { gap: 21px; margin-left: auto; flex-wrap: wrap; }
  .wordmark { font-size: 21px; }
  .hero { gap: 28px; padding-top: 43px; }
  .hero h1 { font-size: 55px; }
  .hero .lead { font-size: 16px; }
  .hero .actions { gap: 17px; }
  .thesis { gap: 35px; padding: 36px; }
  .ownership > div { padding: 20px; }
}
@media (max-width: 860px) {
  .header-inner { display: block; }
  .nav { margin-top: 22px; justify-content: space-between; gap: 10px 15px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(48px, 8vw, 68px); max-width: 650px; }
  .hero .lead { max-width: 540px; font-size: 17px; }
  .hero-visual { max-width: 670px; }
  .principle-strip { grid-template-columns: 1fr; }
  .principle-strip > div, .principle-strip > div:first-child { padding: 17px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-strip > div { display: grid; grid-template-columns: 140px 1fr; gap: 15px; align-items: baseline; }
  .principle-strip p { margin: 0; }
  .reading-layout { grid-template-columns: 1fr; gap: 30px; }
  .aside-nav { position: static; display: flex; flex-wrap: wrap; gap: 0 22px; }
  .aside-nav p { width: 100%; margin-bottom: 4px; }
  .aside-nav a { font-size: 10px; }
  .contact-grid { gap: 35px; }
  .legal { margin-left: 0; }
  .footer-top, .group { gap: 35px; }
  .thesis { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 9px; gap: 6px 10px; align-items: center; }
  .nav a { white-space: normal; }
  .nav .contact-link { padding: 7px 0; border: 0; }
  .page-index { font-size: 8px; }
  .page-index span:last-child { text-align: right; }
  .hero { padding-block: 37px 36px; gap: 32px; }
  .hero h1 { font-size: clamp(45px, 10vw, 60px); }
  .eyebrow { font-size: 9px; margin-bottom: 21px; }
  .hero .lead { font-size: 16px; margin-top: 22px; }
  .hero-note { margin-top: 25px; font-size: 9px; }
  .drawing-header { font-size: 8px; padding: 10px; }
  .drawing-footer { padding: 10px; font-size: 8px; }
  .principle-strip > div { grid-template-columns: 1fr; gap: 4px; }
  .section { padding-block: 38px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; margin-bottom: 24px; }
  .section-heading > .text-link { grid-column: 1; }
  .section-heading p { font-size: 14px; }
  table { font-size: 12px; }
  th, td { padding: 12px 10px; overflow-wrap: anywhere; }
  thead th { font-size: 9px; }
  caption { padding: 12px 10px; font-size: 9px; }
  .matrix { table-layout: fixed; }
  .matrix th:first-child { width: 28%; }
  .matrix td:last-child { width: auto; }
  .row-no { font-size: 9px; }
  .thesis { padding: 29px 23px; }
  .thesis h2 { font-size: 30px; }
  .route-grid { grid-template-columns: 1fr; }
  .route + .route { border-left: 0; border-top: 1px solid var(--line); }
  .route { padding: 25px; }
  .page-hero { padding-block: 42px 38px; }
  .page-hero h1 { font-size: 44px; }
  .lead { font-size: 16px; }
  .ownership { grid-template-columns: 1fr; margin-bottom: 30px; }
  .ownership > div + div { border-left: 0; }
  .ownership h2 { margin-block: 8px; }
  .spec { padding-top: 22px; margin-bottom: 32px; }
  .spec h2 { font-size: 26px; }
  .spec > p { font-size: 15px; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .process-strip { grid-template-columns: 1fr 1fr; }
  .process-strip a { padding: 17px; }
  .process-strip a:nth-child(3) { border-left: 0; }
  .process-strip a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-top, .group { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { padding-block: 29px; }
  .footer-top .footer-tagline { font-size: 23px; }
  .footer-bottom { font-size: 8px; }
  .error-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 40px 65px; }
  .error-code { font-size: 130px; }
  .error-layout h1 { font-size: 41px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; }
  body::before, .site-header, .aside-nav, .group, .actions, .footer-nav, .skip { display: none; }
  .wrap { width: 100%; }
  .reading-layout, .hero, .contact-grid, .thesis { display: block; }
  .legal { margin-left: 0; }
  .spec, .drawing, tr { break-inside: avoid; }
  .hero-visual { max-width: 500px; margin-top: 25px; }
  .thesis { background: white; border: 1px solid; color: black; }
  .thesis p, .thesis .eyebrow, .thesis a { color: black; }
}
