/* AEROCAL — warm paper, ink, brass and the geometry of measurement. */
:root {
  --ink: #1e2b3d;
  --paper: #f8f6f0;
  --muted: #626975;
  --line: #dadbd7;
  --lime: #efbf70;
  --header-height: 88px;
}
body { -webkit-font-smoothing: antialiased; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
::selection { background: #efbf70; color: #182638; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
header { height: var(--header-height); background: #f8f6f0f2; }
.logo img { width: 168px; }
.all-services>summary { border: 1px solid #cfd1cd; border-radius: 30px; padding: 12px 16px; }
.all-services[open]>summary { background: var(--ink); color: white; }
.all-services nav { border-radius: 16px; padding: 10px; margin-top: 12px; }
.all-services nav a { border-radius: 7px; }
.nav-quote { border-radius: 30px; padding: 15px 20px; }
.button { border-radius: 30px; padding: 17px 24px; min-height: 50px; font-size: 13px; }
.button.dark, .nav-quote { background: var(--ink); color: white; }
.button.dark .icon, .nav-quote .icon { color: var(--lime); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.button:active { transform: translateY(1px); }
.eyebrow { line-height: 1.6; }

/* The hero is an interactive instrument, with all graphics drawn as vectors. */
.hero {
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 0;
  padding: 48px 5% 56px;
  gap: 6%;
  background: radial-gradient(ellipse at 15% 70%, #f0eadc 0, transparent 65%);
}
.hero-copy { padding-block: 12px; }
.hero h1 { font-size: clamp(50px, 5.6vw, 84px); line-height: 1.04; letter-spacing: -.06em; margin: 30px 0 26px; }
.hero h1 span { color: #81888e; }
.hero-copy>p { font-size: 16px; line-height: 1.75; max-width: 400px; }
.hero .actions { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 28px; }
.hero-footnote { display: flex; gap: 16px; align-items: center; border-top: 1px solid #d4d6d0; margin-top: 32px; padding-top: 24px; max-width: 365px; }
.hero-footnote p { font-size: 12px; line-height: 1.6; margin: 0; }
.hero-footnote strong { font-weight: 500; color: var(--ink); }
.hero-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #c5c8c2; border-radius: 50%; }
.hero .instrument {
  min-height: 0;
  width: 100%;
  max-width: 660px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 40%, #314557 0, #162535 70%);
  color: white;
  border: 1px solid #475565;
  box-shadow: 0 24px 60px -35px #17263880;
}
.hero .instrument-top { background: transparent; padding: 22px 26px 16px; margin: 0; font: 9px 'DM Sans', sans-serif; letter-spacing: .13em; color: #bcc8d0; }
.instrument-top i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); margin-right: 7px; }
.instrument-title { display: flex; align-items: center; justify-content: space-between; padding: 0 26px; gap: 10px; }
.instrument-title h2 { font-size: 25px; letter-spacing: -.035em; margin: 0; color: white; }
.instrument-title>span { border: 1px solid #ffffff30; border-radius: 20px; font-size: 8px; padding: 6px 9px; letter-spacing: .1em; color: #c7d0d7; }
.hero .dial-wrap { width: 100%; max-width: 490px; margin: -4px auto -8px; filter: none; position: relative; }
#dial { display: block; width: 100%; height: auto; }
#dial .svg-label { fill: #b8c4cc; font: 12px 'Space Grotesk', sans-serif; letter-spacing: 0; }
#dial .svg-small { fill: #bdc9d0; font: 9px 'DM Sans', sans-serif; letter-spacing: 1px; }
#dial #reading { fill: #f4d197; font: 34px 'Space Grotesk', sans-serif; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
#dial #unit { fill: #c3cfd7; font-size: 12px; letter-spacing: 1px; }
#dial .dial-scale { fill: #b5c3ce; font: 13px 'Space Grotesk', sans-serif; }
#dial #needle { transform-origin: 300px 270px; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.dial-cross { position: absolute; top: 48%; color: #b2c0cc; font-size: 12px; }
.dial-cross.left { left: 18px; }
.dial-cross.right { right: 18px; }
.instrument-controls { padding: 0 26px 20px; }
.hero .dial-controls { padding: 4px; gap: 4px; border: 1px solid #ffffff24; border-radius: 14px; margin: 0; background: #101d2a66; }
.hero .dial-controls button { flex: 1; height: 44px; min-width: 0; border: 0; border-radius: 10px; color: #c6d0d8; background: transparent; font: 13px 'Space Grotesk', sans-serif; }
.hero .dial-controls button.active { color: #1e2b3d; background: #efbf70; box-shadow: 0 3px 12px #0002; }
.hero .dial-controls button:hover:not(.active) { background: #ffffff10; }
.instrument-adjust { padding-top: 17px; }
.instrument-adjust label { display: flex; justify-content: space-between; font-size: 11px; color: #c0cbd4; }
.instrument-adjust input { display: block; width: 100%; height: 34px; padding: 0; margin: 4px 0 0; accent-color: #efbf70; cursor: ew-resize; background: transparent; border: 0; }
.instrument-detail { display: flex; align-items: center; gap: 14px; padding: 17px 26px; border-top: 1px solid #ffffff20; background: #ffffff04; }
.instrument-detail img { width: 50px; height: 50px; border-radius: 9px; object-fit: cover; }
.instrument-detail>span { flex: 1; }
.instrument-detail small { display: block; color: #bcc6cf; font-size: 8px; letter-spacing: .13em; margin-bottom: 5px; }
.instrument-detail strong { display: block; color: #f0f3f5; font-size: 12px; line-height: 1.4; font-weight: 400; }
.instrument-detail>.icon { color: #efbf70; }
.instrument-detail:hover { background: #ffffff0c; }
.capability-strip { background: transparent; border-block: 1px solid #d6d8d2; padding: 0 5%; gap: 0; }
.capability-strip a { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 25px; padding: 25px 20px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; border-right: 1px solid #d6d8d2; }
.capability-strip a:first-child { padding-left: 0; }
.capability-strip a:last-child { border-right: 0; padding-right: 0; }
.capability-strip a:hover { color: #88601d; }

/* Consistent surfaces, deliberate spacing, and controls that read as controls. */
.section, .sector-section { padding-inline: 5%; }
.section-top { padding-top: 18px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 15px; }
.expertise-gallery { gap: 18px; margin-bottom: 26px; }
.expertise-tile, .expertise-tile:nth-child(-n+2) { border-radius: 18px; min-height: 320px; }
.expertise-tile:nth-child(-n+2) { min-height: 390px; }
.expertise-tile>span { left: 28px; right: 28px; bottom: 28px; }
.expertise-tile b { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff60; border-radius: 50%; font-size: 18px; }
.expertise-tile strong { padding-right: 45px; }
.expertise-tile:after { background: linear-gradient(180deg, #14253805 10%, #102132eb 100%); }
.expertise-details>summary { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 22px 0; border-block: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.expertise-details .service-layout { padding-top: 24px; }
.service-tabs button { border-radius: 8px; margin-bottom: 5px; }
#service-panel { border-radius: 16px; background: #eceeea; }
.service-panel-photo { border-radius: 10px; }
.need-finder { background: #192b3c; }
.need-options button { border-radius: 12px; min-height: 58px; }
.need-options button[aria-pressed=true] { box-shadow: inset 4px 0 #fff7; }
.need-result { border-top: 1px solid #ffffff25; margin-top: 22px; }
.catalog { background: #eeefeb; }
.catalog-search { max-width: none; }
.catalog-search input { border-radius: 12px; min-height: 56px; padding-inline: 18px; max-width: 620px; }
.catalog-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.catalog-tools button { display: inline-flex; gap: 10px; align-items: center; border: 1px solid #bdc3c1; border-radius: 24px; padding: 10px 16px; font-size: 12px; min-height: 44px; }
.catalog-tools [aria-pressed=true] { color: white; background: var(--ink); border-color: var(--ink); }
#catalog-count { font-size: 12px; margin: 20px 0 14px; }
.catalog-card { border-radius: 16px; background: #fafaf7; border-color: #d1d6d2; }
.catalog-card.selected { border-color: #a9782c; background: #fff9ed; box-shadow: inset 0 -3px #bc8840; }
.catalog-card button { width: 100%; justify-content: space-between; border-top: 1px solid #d7d8d1; padding-top: 14px; min-height: 52px; }
.catalog-unit { border-radius: 9px; font-variant-numeric: tabular-nums; }
.catalog-basket { border-radius: 16px 16px 0 0; background: #f8f6f0f5; padding: 16px 20px; box-shadow: 0 -8px 28px #1e2b3d08; }
.sector-section { background: #192b3c; }
.sector-buttons { gap: 8px; border: 0; }
.sector-buttons button { border: 1px solid #ffffff30; border-radius: 12px; }
.sector-buttons button.active { background: #efbf70; color: #1e2b3d; border-color: #efbf70; }
.sector-art { border-radius: 18px; }
.sector-art #sector-code { position: absolute; left: 18px; bottom: 18px; border-radius: 6px; }
.approach-visual { border-radius: 18px; overflow: hidden; }
.process { counter-reset: process; gap: 14px; }
.process article, .process article:first-child { padding: 24px; border: 1px solid #d6d9d2; border-radius: 14px; }
.process article:hover { background: #eeede4; }
.process h3 { margin-top: 28px; }
.quality-note { border-radius: 14px; }
.faqs summary { font-size: 15px; line-height: 1.5; padding-block: 24px; }
.faqs p { font-size: 14px; }
.contact { background: #ecc17d; }
.round-button:hover { transform: translateY(-3px); }
.contact-grid a { display: inline-block; padding-block: 8px; }
footer { border-top: 1px solid #d6d8d2; }
.back-top { background: #f8f6f0; color: var(--ink); border-color: #b9c1c7; }
.mobile-dock { display: none; }

/* Service pages share the same visual rhythm as the home page. */
.service-page .visual-hero { min-height: 0; padding: 30px 5% 40px; gap: 5%; grid-template-columns: 1fr 1fr; }
.visual-hero-copy { padding: 20px 0; align-self: center; }
.visual-hero-copy>.eyebrow { margin-top: 30px; }
.visual-hero-copy h1 { font-size: clamp(40px, 4.8vw, 70px); }
.visual-hero-copy .detail-lead { font-size: 20px; line-height: 1.6; }
.service-visual { min-height: 570px; border-radius: 22px; }
.service-visual:after { content: ''; position: absolute; inset: 20px; border: 1px solid #ffffff35; border-radius: 9px; pointer-events: none; }
.visual-caption { bottom: 75px; }
.service-jump { top: var(--header-height); padding-block: 10px; }
.service-jump a { padding: 6px 10px; }
.service-jump a[aria-current] { background: #eee4cf; border-radius: 8px; color: #67480f; }
.service-jump a:after { display: none; }
.service-filter input { border-radius: 12px; min-height: 54px; }
.service-page .visual-card { border-radius: 16px; border-color: #d5dad5; }
.visual-card .card-request { padding-block: 14px; min-height: 48px; }
.card-guide summary { min-height: 48px; }
.deliverables { background: #192b3c; }
.deliverables .delivery-photo { border-radius: 18px; }
.preparation { border-radius: 18px; background: #fffcf5; }
.preparation label { min-height: 62px; padding-inline: 10px; border-radius: 7px; }
.preparation label.is-checked { background: #e9eee5; }
.preparation input { width: 22px; height: 22px; }
.related a { border-radius: 30px; }

/* Short quote stages keep the phone keyboard from obscuring a long form. */
#quote, #legal { border-radius: 20px; width: min(620px, calc(100% - 32px)); padding: 30px; }
#quote h2 { font-size: 34px; }
.dialog-head { margin-bottom: 15px; }
.quote-steps { display: flex; list-style: none; gap: 14px; padding: 0 0 20px; margin: 20px 0 24px; border-bottom: 1px solid var(--line); }
.quote-steps li { flex: 1; font-size: 11px; color: #747a7c; line-height: 1.6; }
.quote-steps li>span { display: block; font: 12px 'Space Grotesk', sans-serif; margin-bottom: 4px; }
.quote-steps li[aria-current] { color: #714e12; font-weight: 500; }
.quote-steps li[aria-current]>span { background: #efbf70; width: fit-content; border-radius: 5px; padding: 3px 8px; margin-top: -3px; }
.quote-steps .completed { color: #315a47; }
#quote fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
#quote legend { font: 21px 'Space Grotesk', sans-serif; margin-bottom: 22px; letter-spacing: -.03em; }
#quote input, #quote select, #quote textarea { border-radius: 10px; min-height: 48px; background: #fff; padding: 13px; font-size: 16px; }
#quote .checkbox { font-size: 12px; line-height: 1.6; align-items: flex-start; gap: 12px; }
#quote .checkbox input { min-height: 22px; width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--ink); }
.quote-navigation { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.quote-navigation .button { margin-left: auto; }
#quote-result #summary { border-radius: 10px; }
.modal-open .mobile-dock { visibility: hidden; }

@media (min-width: 1500px) {
  .hero { padding-block: 65px; gap: 8%; }
}
@media (max-width: 1100px) {
  .hero { gap: 4%; padding-inline: 4%; }
  .hero h1 { font-size: clamp(48px, 6vw, 68px); }
  .instrument-title h2 { font-size: 23px; }
  .instrument-title, .hero .instrument-top { padding-inline: 20px; }
  .instrument-controls { padding-inline: 20px; }
  .service-visual { min-height: 500px; }
  .capability-strip a { padding-inline: 13px; gap: 10px; font-size: 9px; }
}
@media (max-width: 760px) {
  :root { --header-height: 72px; }
  html { scroll-padding-top: 88px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  header, .service-page header { height: var(--header-height); padding-inline: 20px; }
  .logo img { width: 139px; }
  .logo span { font-size: 6px; }
  .all-services>summary { padding: 10px 13px; min-height: 44px; gap: 12px; }
  .all-services>summary>span { font-size: 12px; }
  .all-services nav { margin-top: 8px; max-height: calc(100dvh - 170px); border-radius: 16px; padding: 10px; }
  .all-services nav a { padding-block: 15px; font-size: 14px; }
  .hero { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 30px 20px 32px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .09em; }
  .hero h1 { font-size: clamp(46px, 10.6vw, 70px); line-height: 1.02; margin: 23px 0 20px; }
  .hero-copy>p { font-size: 14px; line-height: 1.65; max-width: 440px; margin-bottom: 0; }
  .hero .actions { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 20px; }
  .hero .actions .button { min-height: 48px; padding: 14px 19px; font-size: 12px; gap: 20px; }
  .hero .actions .text-link { font-size: 12px; }
  .hero-footnote { display: none; }
  .hero .instrument { min-height: 0; border-radius: 20px; max-width: 500px; }
  .hero .instrument-top { font-size: 8px; padding: 18px 20px 12px; }
  .instrument-title { padding-inline: 20px; }
  .instrument-title h2 { font-size: 22px; }
  .hero .dial-wrap { width: 100%; max-width: 380px; margin: -3px auto -8px; }
  .instrument-controls { padding: 0 18px 12px; }
  .hero .dial-controls { gap: 3px; padding: 4px; }
  .hero .dial-controls button { min-width: 0; height: 44px; }
  .instrument-adjust { padding-top: 14px; }
  .instrument-detail { padding: 14px 18px; gap: 12px; }
  .instrument-detail strong { font-size: 11px; }
  .instrument-detail img { width: 42px; height: 42px; }
  .capability-strip { padding-inline: 20px; overflow-x: auto; scrollbar-width: none; }
  .capability-strip a { flex: 0 0 auto; padding: 20px; gap: 30px; font-size: 10px; }
  .section, .sector-section { padding: 56px 20px; }
  h2, .resources h2 { font-size: clamp(30px, 8vw, 40px); line-height: 1.13; }
  .section-top { margin-bottom: 26px; }
  .section-heading p { font-size: 14px; }
  .expertise-gallery { display: flex; flex-direction: column; gap: 12px; margin: 25px 0 16px; }
  .expertise-tile, .expertise-tile:nth-child(-n+2), .expertise-tile:last-child { min-height: 205px; border-radius: 14px; }
  .expertise-tile:nth-child(-n+2) { min-height: 235px; }
  .expertise-tile>span { left: 22px; right: 22px; bottom: 22px; }
  .expertise-tile small { font-size: 9px; margin-bottom: 12px; }
  .expertise-tile strong { font-size: 25px; max-width: 340px; }
  .expertise-details>summary { font-size: 13px; }
  .service-tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 10px; scroll-snap-type: x proximity; }
  .service-tabs button { flex: 0 0 220px; padding: 14px; border: 1px solid var(--line); scroll-snap-align: start; font-size: 13px; }
  .service-tabs button[aria-selected=true] { padding-left: 14px; }
  .need-options button { padding: 16px; font-size: 13px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 14px; }
  .catalog-card { padding: 0 20px 15px; }
  .catalog-photo { height: 190px; width: calc(100% + 40px); margin-inline: -20px; margin-bottom: 20px; }
  .catalog-card h3 { font-size: 23px; margin-bottom: 10px; }
  .catalog-card p { font-size: 14px; margin-bottom: 12px; }
  .catalog-unit { top: 148px; }
  .catalog-basket { position: static; border-radius: 14px; box-shadow: none; padding: 16px; }
  .sector-buttons { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sector-buttons button { padding: 15px 12px; font-size: 12px; }
  .sector-art { min-height: 235px; }
  .approach-visual>div { padding: 24px; }
  .approach-visual h3 { font-size: 28px; }
  .process { grid-template-columns: 1fr; gap: 10px; }
  .process article, .process article:first-child, .process article:nth-child(3) { border: 1px solid #d6d9d2; padding: 23px; }
  .process h3 { max-width: none; margin: 18px 0 10px; font-size: 22px; }
  .process p { font-size: 14px; margin-bottom: 0; }
  .contact h2 { font-size: clamp(32px, 8.4vw, 42px); }
  .contact-title { align-items: flex-start; }
  .contact-title .round-button { min-width: 48px; width: 48px; height: 48px; font-size: 24px; }
  .contact-grid { gap: 20px; }
  footer { padding: 32px 20px; }
  .mobile-dock { display: flex; align-items: center; gap: 12px; position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); z-index: 12; background: #f8f6f0f5; border-top: 1px solid #d5d8d4; backdrop-filter: blur(16px); }
  .mobile-dock>a { display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 48px; font-size: 12px; }
  .mobile-dock>a:first-child { flex-direction: column; gap: 3px; min-width: 62px; font-size: 10px; }
  .mobile-dock .dock-project { background: var(--ink); color: white; border-radius: 28px; flex: 1; gap: 20px; }
  .mobile-dock .dock-project .icon { color: var(--lime); }
  .back-top { bottom: calc(86px + env(safe-area-inset-bottom)); right: 14px; }
  .service-page .visual-hero { padding: 24px 20px 28px; grid-template-columns: 1fr; gap: 25px; }
  .visual-hero-copy { padding: 0; }
  .visual-hero-copy>.eyebrow { margin-top: 28px; }
  .visual-hero-copy h1 { font-size: clamp(36px, 9.2vw, 57px); margin: 20px 0; }
  .visual-hero-copy .detail-lead { font-size: 18px; }
  .visual-hero-copy .tags { gap: 7px; margin-block: 20px; }
  .visual-hero-copy .tags span { font-size: 10px; }
  .explore-link { margin-top: 6px; }
  .service-visual { min-height: 300px; height: 80vw; max-height: 400px; border-radius: 18px; }
  .visual-caption p { font-size: 29px; }
  .service-jump { top: var(--header-height); padding: 8px 10px; gap: 4px; }
  .service-jump a { flex-shrink: 0; font-size: 11px; padding-inline: 10px; }
  .service-page section[id] { scroll-margin-top: 140px; }
  .service-page .detail-grid { padding-top: 20px; }
  .visual-card>.content-photo { height: 210px; }
  .visual-card-body { padding: 22px; }
  .service-page .related { gap: 10px; }
  #quote, #legal { padding: 24px 20px; border-radius: 22px 22px 0 0; width: 100%; max-width: 620px; margin: auto auto 0; max-height: calc(100dvh - 16px); padding-bottom: max(24px, env(safe-area-inset-bottom)); scrollbar-gutter: auto; }
  #quote h2 { font-size: 32px; }
  .dialog-head { position: sticky; top: -24px; padding-top: 10px; padding-bottom: 8px; background: var(--paper); z-index: 3; margin-top: -10px; }
  .quote-steps { gap: 10px; margin-bottom: 20px; }
  .quote-steps li { font-size: 10px; }
  #quote legend { font-size: 20px; }
  .quote-navigation .button { font-size: 12px; padding: 15px 19px; gap: 12px; }
}
@media (max-width: 359px) {
  header, .service-page header { padding-inline: 14px; }
  .hero, .section, .sector-section { padding-inline: 16px; }
  .hero h1 { font-size: 44px; }
  .hero .actions { gap: 4px; }
  .instrument-title h2 { font-size: 20px; }
  .instrument-title>span { font-size: 7px; }
  .instrument-detail { gap: 9px; padding-inline: 14px; }
  .contact h2 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  #dial #needle, *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
