/* Pyonair Managed Services v1.0
   Based on reference/approved-managed-services.png.
   Native page content stays editable; only approved photographs and product imagery are raster.
   Font setup: docs/FONTS.md. Colour reconciliation: docs/DESIGN-NOTES.md. */

:root {
  --brand-red: #e63946; /* Official guideline swatch, retained for brand use. */
  --accent-red: #ff0033; /* Bright red from the approved concept. */
  --action-red: #d9002e; /* Darkened for readable white button labels. */
  --action-hover: #ba0027;
  --ink: #121724;
  --muted: #586278;
  --white: #ffffff;
  --soft: #f7f8fa;
  --line: #e6e8ec;
  --red-light: #fdecee;
  --font: 'DM Sans', Arial, sans-serif;
  --gutter: clamp(24px, 4.55vw, 80px);
  --shell: 1320px;
  --radius: 5px;
  --section-heading: clamp(29px, 3.1vw, 39px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
svg { display: block; flex-shrink: 0; }
figure, blockquote, p, h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--action-red); outline-offset: 5px; }
::selection { background: var(--red-light); color: var(--ink); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--section-heading); line-height: 1.04; letter-spacing: -.04em; }
h3 { font-size: 17px; line-height: 1.25; }
p { color: var(--muted); }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.icon { width: 42px; height: 42px; color: var(--accent-red); }
.icon--small { width: 17px; height: 17px; color: currentColor; }
.icon--arrow { width: 17px; height: 17px; color: currentColor; }
.eyebrow { margin-bottom: 13px; color: var(--action-red); font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: .16em; }
.section-rule { border-top: 1px solid var(--line); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 13px 23px; border: 1px solid var(--action-red); border-radius: var(--radius); color: #fff; background: var(--action-red); font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center; transition: background-color .15s, border-color .15s; }
.button:hover { background: var(--action-hover); border-color: var(--action-hover); }
.button--outline { color: var(--ink); background: #fff; border-color: #ef8294; }
.button--outline:hover { background: #fff5f6; border-color: var(--action-red); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.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; }
.skip-link { position: absolute; left: 12px; top: 10px; z-index: 20; padding: 10px 16px; color: white; background: var(--action-red); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: relative; z-index: 5; background: #fff; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 76px; }
.brand { display: inline-flex; width: fit-content; padding: 5px 0; flex-shrink: 0; }
.brand__image { width: 132px; height: auto; }
.site-nav { display: flex; gap: 34px; align-items: center; }
.site-nav a { position: relative; display: block; padding: 25px 0; font-size: 14px; }
.site-nav a:hover, .footer-nav a:hover, .footer-bottom a:hover, .footer-social a:hover { color: var(--action-red); }
.site-nav a[aria-current="page"]::after { content: ''; position: absolute; bottom: 16px; left: 0; right: 0; height: 2px; background: var(--accent-red); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.header-actions .button { min-height: 43px; font-size: 13px; padding: 12px 18px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.menu-toggle .icon { width: 24px; height: 24px; color: var(--ink); }

/* Hero: strict non-overlapping columns. No copy is positioned on top of the photo. */
.hero { overflow: hidden; background: #fff; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .40fr) minmax(0, .60fr); align-items: stretch; }
.hero-copy { position: relative; z-index: 1; padding: 57px 26px 55px 0; min-width: 0; }
.hero-copy h1 { font-size: clamp(43px, 4.6vw, 66px); line-height: 1.0; letter-spacing: -.037em; margin-bottom: 18px; }
.hero-copy h1 span { color: var(--accent-red); }
.hero-lead { max-width: 29em; margin-bottom: 12px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; line-height: 1.38; color: var(--ink); }
.hero-description { max-width: 29em; font-size: clamp(16px, 1.22vw, 18px); line-height: 1.52; margin-bottom: 26px; }
.hero-visual { min-width: 0; display: flex; align-items: center; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--shell)) / 2)); }
.hero-visual picture { width: 100%; }
.hero-visual img { width: 100%; height: auto; }

/* Value propositions */
.benefits { padding: 37px 0 34px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.benefit { padding: 0 35px; border-left: 1px solid var(--line); }
.benefit:first-child { border-left: 0; padding-left: 0; }
.benefit:last-child { padding-right: 0; }
.benefit .icon { margin: 0 0 13px; width: 46px; height: 46px; }
.benefit h2 { margin: 0 0 5px; font-size: 18px; line-height: 1.3; }
.benefit p { max-width: 23ch; font-size: 16px; line-height: 1.45; }

/* Four-step delivery process */
.process { padding: 38px 0 37px; }
.process-layout { display: grid; grid-template-columns: minmax(0,.35fr) minmax(0,.65fr); gap: 40px; }
.section-intro > p:not(.eyebrow) { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.section-intro > .button { margin-top: 17px; }
.process-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: 28px; padding-top: 3px; }
.process-step { position: relative; text-align: center; min-width: 0; }
.step-symbols { display: flex; justify-content: center; align-items: center; gap: 17px; margin-bottom: 18px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; flex-shrink: 0; border-radius: 50%; color: var(--ink); background: var(--red-light); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step-symbols .icon { width: 39px; height: 39px; }
.process-step h3 { margin-bottom: 9px; font-size: 17px; }
.process-step > p { max-width: 15ch; margin-inline: auto; font-size: 16px; line-height: 1.4; }
.step-arrow { position: absolute; right: -24px; top: 48px; width: 19px; height: 19px; color: var(--accent-red); }

/* Industry expertise */
.expertise-layout { max-width: 1600px; margin-inline: auto; display: grid; grid-template-columns: minmax(0,.424fr) minmax(0,.576fr); align-items: stretch; }
.expertise-visual { min-width: 0; }
.expertise-visual picture, .expertise-visual img { width: 100%; height: 100%; }
.expertise-visual img { object-fit: cover; object-position: center; }
.expertise-copy { min-width: 0; padding: 30px max(var(--gutter), calc((100vw - var(--shell)) / 2)) 27px 38px; }
.expertise-copy .eyebrow { margin-bottom: 11px; font-size: 11px; }
.expertise-description { max-width: 61ch; margin-top: 13px; font-size: 16px; line-height: 1.48; }
.industry-grid { margin-top: 21px; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; }
.industry-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 9px; padding: 14px 4px 12px; min-height: 112px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.industry-card .icon { width: 33px; height: 33px; }
.industry-card span { font-size: 12px; font-weight: 500; line-height: 1.35; }
.industry-card--primary { background: linear-gradient(155deg,#fff 0%,#fff1f3 100%); }

/* Everyday use cases */
.impact { padding: 35px 0 34px; }
.impact-layout { display: grid; grid-template-columns: minmax(0,.41fr) minmax(0,.59fr); gap: 39px; align-items: start; }
.impact .section-intro .eyebrow { margin-bottom: 10px; font-size: 11px; }
.impact h2 { font-size: clamp(25px,2.15vw,31px); }
.impact .section-intro > p:not(.eyebrow) { max-width: 51ch; }
.use-case-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.use-case { min-width: 0; border-left: 1px solid var(--line); padding: 0 20px; }
.use-case:last-child { padding-right: 0; }
.use-case .icon { width: 41px; height: 41px; margin-bottom: 11px; }
.use-case h3 { font-size: 14px; line-height: 1.3; margin-bottom: 8px; letter-spacing: -.015em; }
.use-case p { font-size: 14px; line-height: 1.4; }

/* Quote is explicitly a draft, not presented as verified testimony. */
.testimonial { padding: 24px 0; }
.testimonial-layout { display: grid; grid-template-columns: 45px minmax(0,1fr) 280px; gap: 28px; align-items: center; }
.quote-mark { width: 40px; height: 40px; color: var(--accent-red); }
.testimonial blockquote p { font-style: italic; font-size: 17px; line-height: 1.5; color: #293348; }
.testimonial-attribution { padding-left: 32px; border-left: 1px solid var(--line); }
.testimonial-attribution p { font-size: 13px; line-height: 1.5; }
.testimonial-attribution strong { display: block; color: var(--ink); font-weight: 600; }
.testimonial-attribution span { display: block; }
.testimonial-attribution small { display: inline-block; margin-top: 7px; color: var(--action-red); font-size: 11px; font-weight: 500; }

/* Dark closing strip. Red light trail is a separately editable SVG asset. */
.closing { position: relative; background: #181213 url('../assets/backgrounds/red-wave-footer.svg') center center / cover no-repeat; padding: 39px 0 40px; color: #fff; }
.closing-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) auto; align-items: center; gap: 47px; }
.closing .eyebrow { font-size: 11px; font-weight: 500; color: #fff; letter-spacing: .22em; margin-bottom: 13px; }
.closing h2 { font-size: clamp(30px,3.0vw,42px); line-height: 1.15; }
.closing-description { border-left: 1px solid #645055; padding-left: 48px; color: #fff; font-size: 15px; line-height: 1.5; }
.closing .button { min-width: 165px; }

/* Footer */
.footer-main { min-height: 101px; display: flex; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 24px; margin-right: auto; }
.footer-brand .brand__image { width: 120px; }
.footer-brand > span { font-size: 11px; color: var(--muted); }
.footer-nav { display: flex; align-items: center; gap: 27px; font-size: 12px; }
.footer-social { margin-left: 3px; padding-left: 29px; border-left: 1px solid var(--line); }
.footer-social strong { font-size: 11px; font-weight: 600; }
.footer-social a { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-top: 4px; }
.footer-location { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; min-height: 61px; gap: 24px; font-size: 11px; }
.footer-bottom nav { display: flex; gap: 29px; color: var(--muted); }

/* Review-only route dialog. No invented destinations or forms. */
.route-dialog { width: min(520px, calc(100% - 40px)); max-height: calc(100% - 40px); padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 20px 100px #0003; }
.route-dialog::backdrop { background: #13172199; }
.dialog-content { padding: 32px; }
.dialog-content h2 { font-size: 26px; }
.dialog-content > p:not(.eyebrow) { margin-top: 15px; }
.dialog-content form { margin-top: 24px; }
.no-js-notice { padding: 20px var(--gutter); background: var(--soft); font-size: 13px; color: var(--muted); }

@media (min-width: 1601px) {
  .hero-visual { margin-right: calc(-1 * var(--gutter)); }
  .expertise-copy { padding-right: 70px; }
}
@media (max-width: 1199px) {
  .header-inner { gap: 18px; min-height: 67px; }
  .site-nav { gap: 25px; }
  .brand__image { width: 120px; }
  .hero-copy { padding-block: 40px; padding-right: 20px; }
  .hero-copy h1 { font-size: 4.65vw; }
  .hero-lead { font-size: 17px; }
  .hero-description { font-size: 16px; }
  .hero-copy .button-row { gap: 11px; }
  .hero-copy .button { padding: 12px 16px; font-size: 13px; min-height: 44px; }
  .benefit { padding-inline: 24px; }
  .benefit h2 { font-size: 16px; }
  .benefit p { font-size: 15px; }
  .process-layout { gap: 26px; }
  .process-steps { gap: 22px; }
  .step-symbols { gap: 12px; }
  .process-step h3 { font-size: 15px; }
  .process-step > p { font-size: 15px; }
  .step-arrow { right: -20px; width: 15px; }
  .expertise-copy { padding: 26px var(--gutter) 25px 28px; }
  .expertise-description { font-size: 15px; }
  .industry-grid { gap: 7px; }
  .industry-card { min-height: 101px; padding-top: 12px; }
  .industry-card span { font-size: 11px; }
  .industry-card .icon { width: 28px; height: 28px; }
  .impact-layout { gap: 25px; }
  .use-case { padding-inline: 13px; }
  .use-case h3 { font-size: 12px; }
  .use-case p { font-size: 13px; }
  .testimonial-layout { grid-template-columns: 38px minmax(0,1fr) 220px; gap: 20px; }
  .testimonial blockquote p { font-size: 15px; }
  .testimonial-attribution { padding-left: 20px; }
  .closing-layout { gap: 30px; }
  .closing-description { font-size: 13px; padding-left: 30px; }
  .closing .button { min-width: 148px; }
  .footer-main { gap: 22px; }
  .footer-brand { gap: 18px; }
  .footer-brand > span { max-width: 136px; }
  .footer-nav { gap: 18px; }
  .footer-social { padding-left: 20px; }
}
@media (max-width: 959px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; justify-content: center; padding: 4px 0 13px; }
  .site-nav a { padding: 8px 0; }
  .site-nav a[aria-current="page"]::after { bottom: 0; }
  .has-js .menu-toggle { display: flex; }
  .has-js .site-nav:not(.is-open) { display: none; }
  .hero-layout { grid-template-columns: minmax(0,.47fr) minmax(0,.53fr); }
  .hero-copy { padding-block: 33px; }
  .hero-copy h1 { font-size: clamp(35px,4.6vw,44px); }
  .hero-lead { font-size: 16px; }
  .hero-description { font-size: 15px; margin-bottom: 20px; }
  .hero-visual { align-items: center; }
  .benefit { padding-inline: 19px; }
  .benefit h2 { font-size: 15px; }
  .benefit p { font-size: 14px; }
  .benefit .icon { width: 39px; height: 39px; }
  .process-layout { grid-template-columns: 1fr; gap: 32px; }
  .process .section-intro { max-width: 640px; }
  .process .section-intro > p { max-width: 65ch; }
  .process-steps { gap: 30px; }
  .step-arrow { right: -23px; top: 46px; }
  .expertise-layout { grid-template-columns: minmax(0,.43fr) minmax(0,.57fr); }
  .expertise-copy { padding: 27px var(--gutter) 27px 26px; }
  .expertise-copy h2 { font-size: 26px; }
  .expertise-description { font-size: 14px; }
  .industry-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 17px; }
  .industry-card { min-height: 87px; padding: 10px 5px; gap: 7px; }
  .expertise-visual img { object-position: 40% center; }
  .impact-layout { grid-template-columns: 1fr; gap: 25px; }
  .impact .section-intro > p:not(.eyebrow) { max-width: 68ch; }
  .use-case:first-child { border-left: 0; padding-left: 0; }
  .use-case { padding-inline: 24px; }
  .use-case h3 { font-size: 14px; }
  .use-case p { font-size: 14px; }
  .testimonial-layout { grid-template-columns: 35px minmax(0,1fr) 180px; gap: 18px; }
  .testimonial-attribution { padding-left: 18px; }
  .closing-layout { grid-template-columns: minmax(0,1fr) auto; gap: 25px; }
  .closing-description { grid-column: 1; grid-row: 2; padding-left: 0; border: 0; }
  .closing .button { grid-column: 2; grid-row: 1 / 3; }
  .footer-main { flex-wrap: wrap; padding-block: 24px; row-gap: 22px; }
  .footer-brand { flex-basis: 50%; }
  .footer-nav { margin-left: auto; }
  .footer-social { padding-left: 0; border-left: 0; margin: 0 auto 0 0; }
}
@media (max-width: 679px) {
  :root { --gutter: 24px; --section-heading: 29px; }
  .header-inner { min-height: 72px; }
  .brand__image { width: 112px; }
  .header-actions { gap: 9px; }
  .header-actions .button { min-height: 41px; padding: 10px 12px; font-size: 12px; gap: 7px; }
  .header-actions .button .icon { width: 14px; height: 14px; }
  .menu-toggle { width: 41px; height: 41px; }
  .site-nav { gap: 27px; padding-bottom: 17px; }
  .hero-layout { display: flex; flex-direction: column; }
  .hero-copy { padding: 30px 0 20px; }
  .hero-copy .eyebrow { margin-bottom: 17px; font-size: 11px; }
  .hero-copy h1 { font-size: clamp(40px,8.8vw,55px); letter-spacing: -.035em; margin-bottom: 20px; }
  .hero-lead { font-size: 18px; line-height: 1.4; max-width: 30ch; }
  .hero-description { font-size: 16px; line-height: 1.5; max-width: 40ch; margin-bottom: 24px; }
  .hero-copy .button { min-height: 47px; font-size: 14px; padding: 13px 17px; }
  .hero-copy .button-row { gap: 12px; }
  .hero-visual { margin: 0 calc(-1 * var(--gutter)); }
  .hero-visual img { width: 100%; height: auto; }
  .benefits { padding: 30px 0; }
  .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px 0; }
  .benefit { padding-inline: 20px 0; }
  .benefit:nth-child(odd) { padding-left: 0; padding-right: 18px; border-left: 0; }
  .benefit .icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .benefit h2 { font-size: 16px; }
  .benefit p { font-size: 14px; max-width: 23ch; }
  .process { padding: 33px 0 32px; }
  .process-layout { gap: 30px; }
  .section-intro > p:not(.eyebrow) { font-size: 16px; }
  .process-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 24px; }
  .step-symbols { margin-bottom: 14px; }
  .process-step h3 { font-size: 16px; }
  .process-step > p { font-size: 15px; max-width: 17ch; }
  .step-arrow { display: none; }
  .expertise-layout { display: flex; flex-direction: column; }
  .expertise-visual { width: 100%; }
  .expertise-visual img { width: 100%; height: auto; }
  .expertise-copy { padding: 29px var(--gutter) 31px; }
  .expertise-copy h2 { font-size: 29px; }
  .expertise-description { margin-top: 15px; font-size: 16px; }
  .industry-grid { gap: 9px; margin-top: 24px; }
  .industry-card { min-height: 105px; padding: 13px 7px; gap: 9px; }
  .industry-card .icon { width: 31px; height: 31px; }
  .industry-card span { font-size: 12px; }
  .impact { padding: 31px 0; }
  .impact-layout { gap: 27px; }
  .impact h2 { font-size: 29px; }
  .impact .eyebrow { font-size: 11px; }
  .use-case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 0; }
  .use-case { padding-inline: 21px 0; }
  .use-case:nth-child(odd) { border-left: 0; padding-left: 0; padding-right: 18px; }
  .use-case .icon { width: 38px; height: 38px; }
  .use-case h3 { font-size: 15px; }
  .use-case p { font-size: 14px; }
  .testimonial { padding: 29px 0; }
  .testimonial-layout { grid-template-columns: 28px minmax(0,1fr); gap: 15px; align-items: start; }
  .quote-mark { width: 28px; height: 31px; }
  .testimonial blockquote p { font-size: 16px; }
  .testimonial-attribution { grid-column: 2; border: 0; padding: 0; }
  .testimonial-attribution p { font-size: 13px; }
  .testimonial-attribution small { font-size: 11px; }
  .closing { padding: 36px 0 41px; background-position: 60% center; }
  .closing-layout { display: flex; flex-direction: column; align-items: flex-start; gap: 23px; }
  .closing h2 { font-size: 32px; }
  .closing .eyebrow { font-size: 10px; }
  .closing-description { font-size: 15px; }
  .closing .button { min-width: 163px; }
  .footer-main { align-items: flex-start; gap: 25px; padding-block: 29px; }
  .footer-brand { flex-basis: 100%; gap: 18px; }
  .footer-brand > span { max-width: none; font-size: 10px; }
  .footer-nav { flex-basis: 100%; margin: 0; justify-content: space-between; font-size: 13px; gap: 16px; }
  .footer-social { margin-right: auto; }
  .footer-social strong { font-size: 12px; }
  .footer-social a { font-size: 13px; }
  .footer-location { font-size: 12px; padding-top: 6px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 15px; padding-block: 21px; font-size: 11px; }
  .footer-bottom nav { gap: 26px; }
}
@media (max-width: 359px) {
  :root { --gutter: 18px; }
  .header-actions .button { padding-inline: 9px; }
  .header-actions .button .icon { display: none; }
  .hero-copy h1 { font-size: 37px; }
  .hero-copy .button { padding-inline: 12px; font-size: 13px; }
  .hero-copy .button-row { gap: 9px; }
  .hero-lead { font-size: 17px; }
  .benefit { padding-left: 15px; }
  .benefit:nth-child(odd) { padding-right: 13px; }
  .benefit h2 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-nav, .header-actions, .site-footer, .button-row, .section-intro > .button, .closing .button { display: none; }
  body { color: #000; }
  .hero, .process, .expertise, .impact, .testimonial { break-inside: avoid; }
  .closing { background: #fff; color: #000; border-top: 1px solid #999; }
  .closing p { color: #000; }
  .closing-description { border-color: #999; }
}

/* Blend the approved photograph into the white canvas without covering copy. */
@media (min-width: 680px) {
  .hero-visual { position: relative; }
  .hero-visual::before { content: ''; position: absolute; z-index: 1; pointer-events: none; inset: 0 auto 0 0; width: 48px; background: linear-gradient(90deg,#fff,rgba(255,255,255,0)); }
}
