/* AirFlow official identity. Native CSS; light theme intentionally fixed. */
:root {
  color-scheme: light;
  --brand: #22817f;
  --brand-gray: #9e9d9d;
  --ink: #171b1b;
  --muted: #555c5c;
  --surface: #fff;
  --surface-alt: #f4f6f5;
  --tint: #eaf2f1;
  --line: #d7dddc;
  --radius: 2px;
  --font: "Segoe UI", "Frutiger", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 17px/1.6 var(--font); }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
p + p { margin-top: 18px; }
h1, h2, h3 { font-weight: 500; line-height: 1.13; }
h1 { font-size: clamp(38px, 3.75vw, 56px); letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 3.1vw, 46px); letter-spacing: -.035em; }
h3 { font-size: 23px; letter-spacing: -.02em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 88px; }
.section-heading { margin-bottom: 44px; }
.section-heading > p:not(.eyebrow) { max-width: 580px; margin-top: 22px; color: var(--muted); }
.eyebrow { color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 24px; }
.muted { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 54px; padding: 14px 23px; color: #fff; background: var(--brand); border: 1px solid var(--brand); border-radius: var(--radius); font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .18s, transform .18s; }
.button:hover { background: #1b6866; border-color: #1b6866; }
.button:active { transform: translateY(1px); }
.button span { font-size: 21px; line-height: 1; }
.button-small { min-height: 44px; padding: 9px 17px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--brand-gray); }
.text-link:hover { color: var(--brand); text-decoration-color: currentColor; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 12px; padding: 12px 20px; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.brand { display: inline-block; width: 194px; flex-shrink: 0; }
.site-header nav { display: flex; gap: 27px; align-items: center; font-size: 14px; }
.site-header nav > a:not(.button) { display: flex; align-items: center; min-height: 44px; }
.site-header nav > a:not(.button):hover { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-height: 44px; padding: 8px 14px; color: var(--ink); }
.menu-toggle span { margin-left: 12px; }
.hero { display: grid; grid-template-columns: 1.18fr 1fr; gap: 52px; align-items: center; padding-block: 60px 48px; }
.hero h1 span { color: var(--brand); }
.hero-description { max-width: 430px; margin-top: 27px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero-figure { border-top: 5px solid var(--brand); }
.hero-image { width: 100%; height: 440px; object-fit: cover; object-position: 64% 40%; }
figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.company { display: grid; grid-template-columns: 1.35fr 1fr; gap: 100px; border-top: 1px solid var(--line); padding-top: 65px; }
.company-intro > p { max-width: 610px; color: var(--muted); margin-top: 22px; }
.experience { align-self: center; padding-left: 44px; border-left: 1px solid var(--brand-gray); }
.experience-number { color: var(--brand); font-size: 100px; line-height: 1; letter-spacing: -.06em; font-weight: 400; }
.experience-number span { font-size: 25px; letter-spacing: -.02em; margin-left: 12px; }
.experience > p:nth-child(2) { margin-top: 16px; font-size: 20px; line-height: 1.4; }
.experience .experience-note { font-size: 15px; color: var(--muted); margin-top: 18px; }
.services { background: var(--surface-alt); }
.services-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 65px; }
.service-feature { position: relative; isolation: isolate; overflow: hidden; background: var(--tint); padding: 40px; min-height: 460px; display: flex; flex-direction: column; align-items: flex-start; }
.service-category { font-size: 14px; color: var(--muted); }
.service-feature h3 { font-size: 36px; margin-top: 12px; }
.service-feature p { margin-top: 20px; max-width: 320px; }
.service-feature a { margin-top: 22px; }
.service-feature img { position: absolute; width: 225px; height: 225px; object-fit: contain; bottom: -50px; right: -60px; opacity: .22; z-index: -1; }
.service-list article { padding-block: 23px; border-bottom: 1px solid var(--line); }
.service-list article:first-child { padding-top: 0; }
.service-list article:last-child { border: 0; padding-bottom: 0; }
.service-list p { margin-top: 10px; max-width: 560px; color: var(--muted); font-size: 16px; }
.difference-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.difference-grid article { border-top: 3px solid var(--brand); padding-top: 24px; }
.difference-grid h3 { font-size: 21px; }
.difference-grid p { color: var(--muted); font-size: 16px; margin-top: 16px; }
.projects { background: var(--surface-alt); }
.project-preview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.prototype-label { color: var(--muted); font-size: 15px; border-left: 3px solid var(--brand); padding-left: 12px; line-height: 1.5; }
.project-copy h3 { margin-top: 20px; font-size: 30px; }
.project-copy > p:not(.prototype-label) { margin-top: 18px; }
.project-copy > .muted { font-size: 16px; }
.project-details { margin-top: 22px; border-top: 1px solid var(--line); }
summary { padding-block: 17px; font-size: 15px; font-weight: 600; }
summary:hover { color: var(--brand); }
.project-details ul { margin: 0; padding: 0 0 15px 20px; font-size: 15px; color: var(--muted); }
.quote { display: grid; grid-template-columns: 1.15fr 1fr; gap: 100px; }
.quote-copy > p { max-width: 400px; margin-top: 22px; color: var(--muted); }
.quote-action > p:not(.prototype-label) { font-size: 16px; color: var(--muted); margin-block: 18px 24px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 45px 20px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; font-size: 14px; }
.footer-main p { color: var(--muted); margin-top: 16px; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.footer-main nav a { min-height: 44px; display: flex; align-items: center; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-contact p { margin-top: 0; }
.footer-contact .text-link { margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 35px; color: var(--muted); }
.footer-bottom small { font-size: 14px; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .site-header nav { gap: 18px; }
  .brand { width: 170px; }
  .hero { gap: 30px; }
  .hero-image { height: 390px; }
  .hero-actions { gap: 14px; }
  .company, .quote { gap: 60px; }
  .services-layout, .project-preview { gap: 40px; }
  .difference-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; min-height: 72px; padding-block: 12px; }
  .site-header nav { width: 100%; flex-wrap: wrap; }
  .js .menu-toggle:not([hidden]) { display: block; }
  .js .site-header nav { display: none; }
  .js .site-header nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-block: 12px; }
  .js .site-header nav.is-open > a { padding: 12px; }
  .js .site-header nav.is-open .button { margin-top: 10px; }
  .hero { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  h1 { font-size: 38px; }
  .hero h1 br { display: none; }
  .hero h1 span { display: block; }
  .hero-image { height: 410px; }
  .eyebrow { font-size: 12px; }
  .section { padding-block: 65px; }
  .company { gap: 38px; }
  .experience { padding-left: 28px; }
  .experience-number { font-size: 78px; }
  .experience > p:nth-child(2) { font-size: 18px; }
  .services-layout { grid-template-columns: 1fr 1.15fr; gap: 28px; }
  .service-feature { padding: 28px; }
  .service-feature h3 { font-size: 30px; }
  .project-preview { gap: 30px; }
  .quote { gap: 40px; }
  .footer-main { gap: 30px; grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 52px; }
  h1 { font-size: clamp(32px, 9.1vw, 48px); }
  h2 { font-size: 32px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 36px; }
  .hero h1 br { display: initial; }
  .hero h1 span { display: inline; }
  .eyebrow { margin-bottom: 18px; font-size: 12px; letter-spacing: .1em; }
  .hero-description { font-size: 17px; margin-top: 22px; }
  .hero-actions { margin-top: 25px; gap: 12px 18px; }
  .hero-actions .button { padding-inline: 18px; gap: 16px; }
  .hero-actions .text-link { font-size: 14px; gap: 8px; }
  .hero-image { height: 275px; }
  .company { grid-template-columns: 1fr; gap: 35px; }
  .company-intro > p { font-size: 16px; }
  .experience { padding-left: 24px; }
  .experience-number { font-size: 84px; }
  .section-heading { margin-bottom: 30px; }
  .services-layout { grid-template-columns: 1fr; gap: 32px; }
  .service-feature { min-height: 310px; }
  .service-feature p { max-width: 290px; }
  .difference-grid { grid-template-columns: 1fr; gap: 30px; }
  .difference-grid article { padding-top: 18px; }
  .difference-grid p { margin-top: 12px; }
  .project-preview { grid-template-columns: 1fr; gap: 28px; }
  .quote { grid-template-columns: 1fr; gap: 30px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-main nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  dialog { padding: 24px; }
  .dialog-top { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Gate 7: shared internal-page components, using the Gate 6 identity. */
.site-header a[aria-current="page"]:not(.button), .site-footer a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }
.page-intro { padding-block: 32px 60px; }
.breadcrumb { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.page-intro h1 span { color: var(--brand); }
.page-intro > p { max-width: 640px; color: var(--muted); margin-top: 25px; font-size: 19px; }
.institutional-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.company-intro .text-link { margin-top: 24px; }
.portfolio-figure { border-top: 5px solid var(--brand); }
.portfolio-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 65% 40%; }
.project-copy > .text-link { margin-top: 20px; }
.system-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.system-pair article { border-top: 3px solid var(--brand); padding-top: 24px; }
.system-pair h3 { font-size: 30px; margin-top: 12px; }
.system-pair article > p:last-child { color: var(--muted); margin-top: 20px; max-width: 520px; }
.project-data { margin: 24px 0 0; }
.project-data div { margin-top: 18px; }
.project-data dt { font-weight: 600; font-size: 16px; }
.project-data dd { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.portfolio-details { margin-top: 40px; }
.record-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 20px 0 30px; }
.record-layout p { color: var(--muted); margin-top: 16px; }
.portfolio-note { margin-top: 28px; color: var(--muted); font-size: 16px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; border-top: 1px solid var(--line); }
.contact-aside > p { margin-top: 24px; color: var(--muted); }
.contact-aside > .text-link { margin-top: 24px; }
.contact-channel { margin-top: 34px; }
.contact-channel h3 { font-size: 21px; }
.contact-channel p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.form-panel { min-width: 0; padding: 36px; background: var(--surface-alt); }
.form-panel h2 { font-size: 30px; }
.form-panel > .prototype-label { margin-top: 22px; }
fieldset { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
legend { font-size: 18px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.form-help { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
label { font-size: 16px; font-weight: 600; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #727a78; border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; padding: 10px 12px; }
textarea { resize: vertical; }
[aria-invalid="true"] { border: 2px solid var(--ink); }
.field-error { font-size: 15px; font-weight: 600; }
.field-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 28px; }
.reset-button { border: 0; padding: 0; background: transparent; color: var(--ink); }
#form-status:not(:empty) { margin-top: 24px; padding: 20px; background: var(--tint); border-left: 3px solid var(--brand); }
@media (max-width: 1100px) { .contact-layout { gap: 40px; } .form-panel { padding: 28px; } }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { max-width: 640px; } .institutional-layout { gap: 32px; } }
@media (max-width: 639px) {
  .page-intro { padding-block: 18px 40px; }
  .breadcrumb { margin-bottom: 22px; }
  .page-intro > p { font-size: 17px; }
  .institutional-layout, .system-pair, .record-layout, .form-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-panel { padding: 24px 18px; }
  .form-actions .button { padding-inline: 16px; gap: 16px; }
}

.section-heading > .prototype-label + h2 { margin-top: 20px; }

/* Gate 7.1: secondary stock photograph in the existing portfolio composition. */
.portfolio-detail-figure { margin-top: 28px; }
.portfolio-detail-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
