/* The supporting pages keep the scale and contrast of a manufacturing publication. */
.capabilities {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 9%;
  color: var(--ink);
  background: #f3f4ef;
  border-top: 8px solid var(--cyan);
}
.capabilities .eyebrow { color: #226f88; }
.capabilities h2 { margin: 25px 0; color: var(--ink); font-family: BarlowCondensed, sans-serif; font-size: clamp(44px, 4.6vw, 76px); font-weight: 600; line-height: .98; letter-spacing: -.025em; }
.capabilities h2 em { font-style: normal; color: #517887; }
.capabilities-intro > p { max-width: 520px; margin: 28px 0 34px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.capabilities .button-cyan { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 50px; padding: 14px 20px; background: var(--cyan); color: var(--ink); font-size: 13px; font-weight: 650; }
.capability-accordion { border-top: 1px solid #637d8a; }
.capability-accordion details { border-bottom: 1px solid #637d8a; }
.capability-accordion summary { display: grid; grid-template-columns: 44px 1fr 26px; align-items: center; gap: 17px; padding: 27px 0; cursor: pointer; list-style: none; }
.capability-accordion summary::-webkit-details-marker { display: none; }
.capability-accordion summary > span { font-family: BarlowCondensed, sans-serif; font-size: 38px; line-height: 1; color: #1682a0; }
.capability-accordion summary h3 { font-size: clamp(16px, 1.3vw, 21px); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.capability-accordion summary b { font-size: 28px; font-weight: 400; text-align: center; color: #1682a0; transition: transform .2s; }
.capability-accordion details[open] summary b { transform: rotate(45deg); }
.detail-copy { padding: 0 27px 29px 61px; }
.detail-copy p { font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 19px; max-width: 480px; }
.detail-copy > span { display: block; color: #567582; font-family: Consolas, monospace; font-size: 11px; line-height: 1.65; }

.industries { background: #dce3e4; color: var(--ink); }
.industry-heading { display: grid; grid-template-columns: .5fr 1.5fr 1fr; gap: 4%; align-items: start; margin-bottom: 65px; }
.industry-heading > .eyebrow { border-top: 1px solid var(--ink); padding-top: 15px; }
.industry-heading h2 { font-family: BarlowCondensed, sans-serif; font-size: clamp(43px, 4.6vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.025em; }
.industry-heading h2 em { font-style: normal; color: #4c6a78; }
.industry-heading > p { padding-top: 12px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.industry-layout { display: grid; grid-template-columns: .8fr 1.6fr; gap: 5%; align-items: start; }
.industry-tabs { border-top: 1px solid #78909b; }
.industry-tabs button { display: grid; grid-template-columns: 38px 1fr 24px; align-items: center; text-align: left; gap: 17px; width: 100%; min-height: 82px; padding: 17px 15px 17px 0; border-bottom: 1px solid #a8b8bf; color: #516c79; background: transparent; font-family: BarlowCondensed, sans-serif; font-size: clamp(26px, 2.2vw, 38px); font-weight: 600; line-height: 1; transition: color .2s, background .2s, padding .2s; }
.industry-tabs button > span { font-family: Consolas, monospace; font-size: 11px; font-weight: 400; align-self: start; padding-top: 5px; }
.industry-tabs button b { font-family: Manrope, sans-serif; font-size: 23px; font-weight: 400; }
.industry-tabs button.active { color: var(--ink); background: var(--cyan); padding-left: 15px; border-bottom-color: var(--ink); }
.industry-tabs button:hover { color: var(--ink); }
.industry-panel { min-width: 0; }
.industry-panel figure { margin: 0; }
#industry-project-trigger { position: relative; display: block; width: 100%; height: clamp(230px, 26vw, 400px); overflow: hidden; background: var(--ink); }
#industry-project-trigger img { display: block; width: 100%; height: 100%; object-fit: cover; }
#industry-project-trigger > span { position: absolute; right: 15px; bottom: 15px; display: grid; place-items: center; width: 48px; height: 48px; background: var(--cyan); color: var(--ink); font-size: 28px; }
#industry-project-label { padding: 12px 0; font-family: Consolas, monospace; font-size: 11px; line-height: 1.65; color: #4c6570; border-bottom: 1px solid #9daeb4; }
.industry-content { padding-top: 25px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.panel-top > span:last-child { font-family: Consolas, monospace; color: #4c6570; font-size: 12px; }
.industry-content h3 { max-width: 740px; font-size: clamp(24px, 2.1vw, 34px); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; margin-bottom: 22px; }
.industry-content > p { max-width: 700px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.industry-content ul { display: flex; flex-wrap: wrap; list-style: none; gap: 10px 24px; padding: 0; margin: 22px 0 27px; }
.industry-content li { font-size: 12px; font-weight: 550; line-height: 1.6; }
.industry-content li::before { content: "+"; margin-right: 8px; }
.industry-content .text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 650; }

.approach { background: var(--cyan); color: var(--ink); }
.approach-header { display: grid; grid-template-columns: .5fr 1.5fr 1fr; gap: 4%; align-items: start; }
.approach-header > .eyebrow { border-top: 1px solid var(--ink); padding-top: 15px; }
.approach-header h2 { font-family: BarlowCondensed, sans-serif; font-weight: 600; font-size: clamp(43px, 4.6vw, 72px); line-height: 1; letter-spacing: -.025em; }
.approach-header h2 em { font-style: normal; }
.approach-header > p { padding-top: 12px; font-size: 14px; line-height: 1.85; }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 70px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.process-list li { padding: 27px 28px 0 0; margin-right: 28px; border-right: 1px solid #087b97; }
.process-list li:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.process-list li > span { display: block; font-family: BarlowCondensed, sans-serif; font-size: clamp(88px, 8vw, 130px); font-weight: 600; line-height: .9; letter-spacing: -.045em; color: var(--ink); }
.process-list h3 { margin-top: 30px; margin-bottom: 18px; font-size: 20px; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.process-list p { font-size: 14px; line-height: 1.85; }

.contact { background: #f3f4ef; color: var(--ink); display: grid; grid-template-columns: 1fr 1.05fr; gap: 10%; }
.contact-intro h2 { font-family: BarlowCondensed, sans-serif; font-size: clamp(50px, 5.4vw, 88px); font-weight: 600; line-height: .98; letter-spacing: -.025em; margin: 28px 0; }
.contact-intro h2 em { font-style: normal; color: #55717d; }
.contact-intro > p { font-size: 15px; line-height: 1.85; max-width: 500px; color: var(--muted); margin-bottom: 35px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid #9daeb4; border-bottom: 1px solid #9daeb4; font-size: clamp(17px, 1.7vw, 27px); letter-spacing: -.035em; }
.contact-email span { font-size: 31px; color: #377589; }
.contact-details { display: flex; gap: 20px 35px; flex-wrap: wrap; padding: 22px 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.contact-intro > .text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 13px; font-weight: 650; border-bottom: 1px solid var(--ink); }
#project-form { padding-top: 0; min-width: 0; }
.brief-types { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.brief-types button { min-height: 50px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 13px; font-size: 12px; font-weight: 600; text-align: left; color: var(--ink); }
.brief-types button.active { background: var(--ink); color: var(--cyan); }
.brief-types button:hover { background: var(--cyan); color: var(--ink); }
#brief-type-status { color: #3a6879; font-size: 12px; line-height: 1.6; margin-top: 10px; }
#brief-type-status:empty { display: none; }
.form-topline { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px 0 24px; font-family: Consolas, monospace; font-size: 10px; line-height: 1.6; color: #58717c; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 600; line-height: 1.6; margin-bottom: 8px; }
.field label > span { color: #177e9d; }
.field input,.field select,.field textarea { display: block; width: 100%; min-height: 48px; border: 1px solid #9daeb4; border-radius: 0; padding: 12px; background: #e6ebea; color: var(--ink); font-family: Manrope, sans-serif; font-size: 13px; line-height: 1.6; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,.field textarea::placeholder { color: #607782; opacity: 1; }
.field input:focus,.field select:focus,.field textarea:focus { border-color: #087595; background: #fff; }
.form-note { color: #58717c; font-size: 12px; line-height: 1.8; margin: 20px 0; }
.contact .button-cyan { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 15px 20px; color: var(--ink); background: var(--cyan); font-size: 13px; font-weight: 650; }
.contact .form-submit { width: 100%; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 12px 25px; padding: 17px 0 0; border-top: 1px solid #c0cccf; margin-top: 24px; }
.draft-actions button { min-height: 34px; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; color: #4a6876; }
#draft-status { flex-basis: 100%; font-size: 12px; line-height: 1.7; color: #386a7d; }
.brief-result { padding: 25px; background: #dce5e6; border-top: 3px solid var(--ink); margin-top: 30px; }
.brief-result h3 { font-family: BarlowCondensed, sans-serif; font-size: 40px; line-height: 1; margin-bottom: 15px; }
.brief-result p { font-size: 14px; line-height: 1.8; margin-bottom: 17px; }
.brief-result .text-link { min-height: 44px; margin-left: 20px; display: inline-flex; align-items: center; font-size: 13px; text-decoration: underline; }
.brief-result pre { padding: 20px; border: 1px solid #8da3ad; margin-top: 25px; color: var(--ink); background: #f3f4ef; white-space: pre-wrap; overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: 12px; line-height: 1.7; }

footer { padding: 45px 5% 25px; background: var(--ink); color: var(--paper); overflow: hidden; }
.footer-signature { font-family: BarlowCondensed, sans-serif; font-size: 43.5vw; line-height: .76; letter-spacing: -.04em; color: var(--cyan); font-weight: 600; margin: 15px 0 55px; }
.footer-top { display: grid; grid-template-columns: .8fr 1fr; align-items: end; gap: 8%; border-bottom: 1px solid #547382; padding-bottom: 40px; }
.footer-big-wordmark { display: block; width: fit-content; font-family: BarlowCondensed, sans-serif; font-size: 65px; font-weight: 600; line-height: .76; letter-spacing: -.04em; color: var(--paper); }
.footer-big-wordmark span { color: #e6eceb; }
.footer-top > div { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.footer-top p { font-family: Consolas, monospace; font-size: 11px; line-height: 1.9; color: #b6c9d1; }
.footer-top > div > a { font-size: 12px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: end; padding-bottom: 4px; }
.footer-bottom { display: flex; gap: 25px; flex-wrap: wrap; align-items: center; padding-top: 22px; color: #9ab3bf; font-size: 11px; line-height: 1.8; }
.footer-bottom > span { margin-right: auto; }
.footer-bottom button { min-height: 34px; }

dialog::backdrop { background: #031722e8; backdrop-filter: blur(7px); }
.project-lightbox { position: fixed; inset: 0; margin: auto; width: min(1360px, 94vw); max-width: none; max-height: 94dvh; padding: 0; border: 1px solid #6a8d9f; color: var(--paper); background: var(--ink); overflow: auto; }
#lightbox-close { position: absolute; z-index: 2; right: 15px; top: 15px; width: 48px; height: 48px; background: var(--cyan); color: var(--ink); font-size: 31px; line-height: 1; }
.lightbox-image-wrap { display: flex; justify-content: center; align-items: center; min-height: 150px; height: min(67dvh, 800px); background: #031521; }
#lightbox-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox-info { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 25px 32px; }
.lightbox-info h2 { color: #fff; font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 12px; }
.lightbox-info p { max-width: 820px; font-size: 13px; line-height: 1.85; color: #b6c9d1; }
.lightbox-controls { display: flex; align-items: center; gap: 10px; align-self: start; }
.lightbox-controls > span { font-family: Consolas, monospace; font-size: 12px; margin-right: 12px; }
.lightbox-controls button { min-height: 44px; width: 44px; border: 1px solid #668a9d; background: transparent; color: var(--paper); font-size: 23px; }
.lightbox-controls button:hover { color: var(--ink); background: var(--cyan); }
.lightbox-controls button:disabled { opacity: .3; cursor: default; }
#privacy-dialog { position: fixed; inset: 0; margin: auto; width: min(650px, 92vw); max-height: 90dvh; padding: 45px; border: 0; color: var(--ink); background: #f3f4ef; overflow: auto; }
.dialog-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; font-size: 28px; color: var(--ink); }
#privacy-dialog h2 { font-family: BarlowCondensed, sans-serif; font-size: 44px; font-weight: 600; line-height: 1.05; margin: 25px 0; }
#privacy-dialog p { font-size: 14px; line-height: 1.85; margin-bottom: 20px; }
#privacy-dialog .button { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; background: var(--cyan); color: var(--ink); font-size: 13px; font-weight: 650; }

@media (max-width: 1100px) {
  .capabilities { gap: 6%; }
  .industry-heading,.approach-header { grid-template-columns: .5fr 1.5fr; gap: 20px 5%; }
  .industry-heading > p,.approach-header > p { grid-column: 2; max-width: 640px; }
  .industry-layout { grid-template-columns: .85fr 1.3fr; gap: 4%; }
  .process-list { grid-template-columns: 1fr 1fr; row-gap: 35px; }
  .process-list li:nth-child(2) { border-right: 0; padding-right: 0; margin-right: 0; }
  .contact { gap: 6%; }
  .footer-top > div { flex-direction: column; align-items: start; }
}

@media (max-width: 800px) {
  .capabilities { grid-template-columns: 1fr; gap: 50px; }
  .capabilities-intro > p { max-width: 650px; }
  .capability-accordion summary { padding: 24px 0; }
  .industry-heading { margin-bottom: 40px; }
  .industry-layout { grid-template-columns: 1fr; gap: 35px; }
  .industry-tabs { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid #a8b8bf; }
  .industry-tabs button { min-height: 70px; padding: 15px; border-right: 1px solid #a8b8bf; gap: 8px; grid-template-columns: 25px 1fr 18px; font-size: 27px; }
  .industry-tabs button.active { padding-left: 15px; }
  .industry-tabs button b { font-size: 20px; }
  #industry-project-trigger { height: 340px; }
  .contact { grid-template-columns: 1fr; gap: 50px; }
  .contact-intro h2 br { display: none; }
  .contact-intro h2 { max-width: 650px; }
  .contact-intro > p { max-width: 650px; }
  .contact-email { max-width: 650px; }
  .contact-email { font-size: 23px; }
  .footer-top { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 5%; }
  .footer-big-wordmark { font-size: 60px; }
}

@media (max-width: 540px) {
  .capabilities h2,.industry-heading h2,.approach-header h2 { font-size: 46px; line-height: 1; }
  .capabilities h2 br,.industry-heading h2 br,.approach-header h2 br { display: none; }
  .capabilities-intro > p { font-size: 14px; }
  .capability-accordion summary { grid-template-columns: 34px 1fr 22px; gap: 12px; }
  .capability-accordion summary > span { font-size: 33px; }
  .capability-accordion summary h3 { font-size: 16px; }
  .detail-copy { padding: 0 0 26px 46px; }
  .detail-copy p { font-size: 13px; }
  .detail-copy > span { font-size: 10px; }
  .industry-heading,.approach-header { grid-template-columns: 1fr; gap: 25px; }
  .industry-heading > p,.approach-header > p { grid-column: 1; padding-top: 0; font-size: 14px; }
  .industry-tabs button { font-size: 24px; gap: 7px; padding: 13px 9px; grid-template-columns: 20px 1fr; min-height: 74px; line-height: 1.1; }
  .industry-tabs button.active { padding-left: 9px; }
  .industry-tabs button > span { font-size: 10px; }
  .industry-tabs button b { display: none; }
  #industry-project-trigger { height: 260px; }
  #industry-project-label { font-size: 10px; }
  .industry-content h3 { font-size: 25px; }
  .industry-content > p { font-size: 14px; }
  .industry-content ul { display: grid; gap: 12px; }
  .process-list { margin-top: 40px; grid-template-columns: 1fr; row-gap: 0; }
  .process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 0 22px; border: 0; border-bottom: 1px solid #087b97; margin: 0; padding: 27px 0; }
  .process-list li:nth-child(2) { border-bottom: 1px solid #087b97; }
  .process-list li:last-child { border-bottom: 0; }
  .process-list li > span { grid-row: 1 / 3; font-size: 72px; padding-top: 3px; }
  .process-list h3 { margin-top: 0; margin-bottom: 13px; font-size: 19px; }
  .process-list p { font-size: 13px; }
  .contact-intro h2 { font-size: 57px; }
  .contact-intro > p { font-size: 14px; }
  .contact-email { font-size: 18px; gap: 10px; }
  .contact-email span { font-size: 26px; }
  .contact-details { gap: 12px; flex-direction: column; font-size: 13px; }
  .brief-types button { font-size: 11px; min-height: 48px; }
  .form-topline { font-size: 10px; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .field label { font-size: 12px; }
  .field input,.field select,.field textarea { font-size: 16px; }
  .brief-result { padding: 20px; }
  .brief-result .text-link { margin-left: 0; margin-top: 15px; }
  footer { padding-top: 35px; }
  .footer-top { grid-template-columns: 1fr; gap: 35px; padding-bottom: 30px; }
  .footer-signature { margin-bottom: 35px; }
  .footer-big-wordmark { font-size: 60px; }
  .footer-top > div { flex-direction: row; align-items: end; gap: 25px; }
  .footer-top p { font-size: 10px; }
  .footer-top > div > a { font-size: 11px; }
  .footer-bottom { font-size: 10px; gap: 15px; }
  .footer-bottom > span { flex-basis: 100%; margin: 0; }
  .project-lightbox { width: 96vw; max-height: 96dvh; }
  #lightbox-close { right: 10px; top: 10px; width: 44px; height: 44px; }
  .lightbox-image-wrap { height: 52dvh; }
  .lightbox-info { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .lightbox-info h2 { font-size: 22px; }
  .lightbox-info p { font-size: 13px; }
  .lightbox-controls { justify-content: end; }
  .lightbox-controls > span { margin-right: auto; }
  #privacy-dialog { padding: 35px 25px; }
  #privacy-dialog h2 { font-size: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  .capability-accordion summary b,.industry-tabs button { transition: none; }
}
