/* The site and its ecommerce assistant share the editorial reading palette. */
main[id], .assistant {
  --ink: #142638;
  --muted: #405366;
  --link: #144cba;
  --cyan: #174ec0;
  --border: #becbd2;
  --surface-inset: #fff;
  --surface-raised: #eef2f3;
  --panel-background: #fff;
  --panel-shadow: none;
  --callout-background: #edf2f5;
  --callout-shadow: none;
  --callout-accent-shadow: none;
  --control-border: #8799a5;
  --catalog-source-background: #eff2f3;
  --catalog-review-background: #e7f0f4;
  --icon-background: transparent;
  --icon-teal-background: transparent;
  --step-background: #eaf0f4;
  --photo-filter: none;
  --cover-paper: #f1f3f1;
  --rule: #c5cfd3;
  color-scheme: light;
  color: var(--ink);
  background: #fcfcfa;
}
main[id] .container { width: min(calc(100% - 2 * clamp(1.25rem, 4.7vw, 5rem)), 85rem); }
main[id] :focus-visible { outline-color: #1757d0; }
main[id] :is(.section-title, .development-heading, .closing h2, .development-project h2) {
  font-weight: 570;
  line-height: 1.07;
  letter-spacing: -.047em;
  text-wrap: balance;
}
main[id] :is(.development-section, .content-section, .contact-section) {
  margin-block: clamp(3rem, 5.6vw, 5.6rem) 0;
}
main[id] .contact-section { margin-bottom: clamp(1rem, 3vw, 2rem); }
main[id] :is(.section-title, .development-heading) {
  display: block;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2.2rem);
  font-size: clamp(1.85rem, 3.25vw, 3.2rem);
  text-align: left;
}
main[id] :is(.section-title, .development-heading, .eyebrow)::after,
main[id] .development-heading::before { content: none; }
main[id] .button {
  min-height: 3rem;
  padding: .7rem 1.15rem;
  border-radius: .25rem;
  box-shadow: none;
  font-size: .96rem;
  font-weight: 620;
  white-space: normal;
}
main[id] .button--primary { background: #164bc0; border-color: #164bc0; color: white; }
main[id] .button--primary:hover { background: #0d388f; border-color: #0d388f; }
main[id] .button--outline { background: transparent; border-color: #9baab3; color: var(--ink); }
main[id] .button--outline:hover { border-color: #20394a; background: #e3e9e9; }
main .panel { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
main[id] .icon-tile {
  width: 2rem;
  height: 2rem;
  border-radius: 0;
  background: none;
  color: var(--link);
}
main[id] .icon-tile .icon { width: 1.65rem; height: 1.65rem; }

.page-cover { background: var(--cover-paper); border-bottom: 1px solid var(--rule); }
.page-cover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  gap: clamp(2rem, 4.4vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 4.4vw, 4.8rem);
}
.page-cover-copy { max-width: 40rem; }
.page-kicker, .page-kicker a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.page-kicker {
  margin-bottom: clamp(1.2rem, 2.3vw, 2.15rem);
  color: #355468;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.page-kicker a { min-height: 1.8rem; }
.page-kicker a:hover { color: var(--link); text-decoration: underline; text-underline-offset: .25em; }
.page-kicker .icon { width: .95rem; height: .95rem; transform: rotate(180deg); }
.page-kicker:not(:has(a))::before { content: ''; width: 1.9rem; height: 2px; background: var(--link); }
.page-cover h1 {
  font-size: clamp(2.4rem, 4.65vw, 4.8rem);
  font-weight: 590;
  letter-spacing: -.062em;
  line-height: 1.01;
  text-wrap: balance;
}
.page-cover h1 span {
  display: block;
  margin-top: .05em;
  font: italic 400 1.02em/1.04 Georgia, 'Times New Roman', serif;
  letter-spacing: -.053em;
}
.page-cover--display h1 { font-size: clamp(3.1rem, 5.5vw, 5.65rem); }
.page-intro {
  max-width: 48ch;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.23vw, 1.19rem);
  line-height: 1.56;
}
.page-cover .hero-actions { margin-top: 1.65rem; gap: .65rem; }
.page-cover .hero-actions:has(.button--primary:not([hidden])) .button--outline {
  padding-inline: .35rem;
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
  text-decoration-color: #8596a0;
  text-underline-offset: .3em;
}
.page-cover .hero-actions .button--outline:hover { color: var(--link); text-decoration-color: currentColor; }
.page-cover-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.42;
  object-fit: cover;
  object-position: center;
  background: #d6dfe0;
}
main[id] .process-number { color: var(--link); background: none; border: 1px solid #9baec0; }
main[id] .process-top > .icon { color: var(--link); }
main[id] .process-grid li .process-top::after { background: var(--rule); }
main[id] .closing {
  padding: clamp(1.65rem, 4.6vw, 4.8rem);
  border: 0;
  border-left: .28rem solid #2056c4;
  border-radius: 0;
  background: #eaf0f4;
  text-align: left;
}
main[id] .closing h2 { max-width: 23ch; font-size: clamp(2rem, 3.6vw, 3.6rem); }
main[id] .closing p { max-width: 64ch; color: var(--muted); }
main[id] .closing .scope-link { margin-bottom: 0; font-size: .95rem; }
main[id] .client-review-ratings { justify-content: flex-start; margin-top: 1rem; }
main[id] .client-review-ratings a { color: var(--ink); border-color: var(--rule); background: #fff; }
main[id] .client-review-star { color: #825700; }

@media (max-width: 960px) {
  .page-cover-layout { gap: 1.75rem; }
}
@media (max-width: 760px) {
  .page-cover-layout { grid-template-columns: 1fr; padding-block: 2rem 1.4rem; gap: 1.5rem; }
  .page-kicker { margin-bottom: 1rem; }
  .page-cover h1 { font-size: clamp(2.4rem, 7.8vw, 3.7rem); }
  .page-cover--display h1 { font-size: clamp(2.8rem, 9.2vw, 4.2rem); }
  .page-cover-photo { aspect-ratio: 1.85; max-height: 21rem; }
  .page-cover .hero-actions { margin-top: 1.2rem; }
}

/* Editorial covers, reading pages and service navigation */
.page-cover-copy > .button { margin-top: 1.45rem; }
.cover-detail { max-width: 49ch; margin-top: .65rem; line-height: 1.6; color: var(--muted); }
main h2, main h3 { font-weight: 600; }
main .eyebrow { color: var(--link); font-size: .76rem; letter-spacing: .09em; }
main .office-summary { border-block: 1px solid var(--rule); padding: 1.6rem 0; }
.home-priorities { border-bottom: 1px solid var(--rule); }
.home-priorities > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 clamp(1rem,3.6vw,3rem); }
.home-priorities a { display: grid; gap: .26rem; padding: 1.3rem 0; }
.home-priorities strong { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: clamp(1.1rem,1.7vw,1.45rem); letter-spacing: -.035em; font-weight: 620; }
.home-priorities span { color: var(--muted); font-size: .94rem; }
.home-priorities .icon { width: 1.1rem; height: 1.1rem; color: var(--link); }
.home-priorities a:hover strong { color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.home-page .benefits { margin-top: clamp(3rem,5.6vw,5.6rem); padding: 0; background: none; border: 0; }
.home-page .benefits h2 { display: block; text-align: left; margin-bottom: 1.5rem; }
.home-page .benefits h2::before, .home-page .benefits h2::after { content: none; }
.home-page :is(.benefit,.service), .method-item.panel, .inquiry-tip.panel, .solution-example.panel, .collection-note.panel, .collection-card.panel {
  border-top: 1px solid var(--rule); padding: 1.15rem 0;
}
.home-page .service-grid, .home-page .benefit-grid { column-gap: clamp(1.25rem,2.5vw,2.5rem); }
.home-page :is(.benefit,.service) { align-items: start; }
.home-page :is(.benefit,.service) h3 { font-size: clamp(1.16rem,1.6vw,1.5rem); }
.home-page :is(.industry,.service) h3 a { color: var(--ink); text-decoration: none; }
.home-page :is(.industry,.service) h3 a:hover { color: var(--link); text-decoration: underline; }
.home-page .industry { display: block; min-height: 0; }
.home-page .industry::before { content: none; }
.home-page .industry-photo { position: static; width: 100%; aspect-ratio: 1.5; }
.home-page .industry-copy { padding: 1rem 0; }
.home-page .industry-copy > .icon { display: none; }
.home-page .catalog-card { padding: 1rem; border-top: 2px solid var(--control-border); background: var(--catalog-source-background); }
.home-page .catalog-card--enriched { border-color: var(--link); background: var(--catalog-review-background); }
.home-page .catalog-card dt { color: var(--ink); }
.home-page .review-status { color: #245651; }
.home-page .capability-grid li { border: 0; border-radius: 0; border-top: 1px solid var(--rule); padding: .75rem 0; background: transparent; }
.home-page :is(.check-list,.capability-grid) .icon { background: none; color: var(--link); }
.about-method .method-statement { background: #eaf0f4; color: var(--ink); border: 0; border-left: .28rem solid var(--link); }
.method-statement::after { content: none; }
.method-statement > .icon { color: var(--link); }
.method-statement p { color: var(--muted); }
.method-list { align-content: center; }
.sector-card.panel { padding: 0; }
.sector-image, .guide-cover, .trail-photo, .warehouse-photo { border: 0; border-radius: 0; }
.sector-copy { padding: 1rem 0; }
.sector-copy .icon { width: 1.6rem; height: 1.6rem; filter: none; }
.sector-copy h3 { font-weight: 600; }
.solution-feature.panel, .guide--featured.panel { background: #eaf0f2; }
.solution-path { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: 1.2rem; }
.solution-path li { display: block; border: 0; padding: 0; background: transparent; color: var(--muted); text-align: left; font-size: .86rem; }
.solution-path li:not(:last-child)::after { position: static; display: inline-block; margin-left: .55rem; width: .34rem; height: .34rem; border-width: 1px; vertical-align: .12em; }
.record-panel, .order-path li, .search-example figcaption { border: 1px solid var(--rule); border-radius: .2rem; }
.record-panel--review, .order-path li:last-child { border-color: #889faf; }
.review-details p, .guide-excerpt { color: var(--muted); }
.guide-title { font-weight: 600; }
main[id] .featured-guide { margin-top: clamp(2.4rem,5vw,4.5rem); }
.guide-card-copy { padding: 1rem 0 1.8rem; }
.resource-article, .policy-copy { padding-block: clamp(2.8rem,6vw,6rem); }
main[id] .container:is(.resource-article,.policy-copy) { max-width: 49rem; }
.resource-article header h1, .policy-copy h1 { margin-block: .5rem 1rem; font: 400 clamp(2.3rem,4.9vw,4.4rem)/1.05 Georgia, serif; letter-spacing: -.048em; text-wrap: balance; }
.resource-article .interior-lead { color: var(--muted); font-size: 1.18rem; font-weight: 450; line-height: 1.55; }
.guide-body.panel { width: 100%; padding: 1.35rem 0; border-top: 1px solid var(--rule); }
.guide-body strong { color: var(--ink); }
.guide-body ol { gap: 1rem; }
.resource-links { padding-top: 1rem; border-top: 1px solid var(--rule); }
.faq-answers .guide-body h2 { font-size: clamp(1.2rem,2vw,1.65rem); }
.policy-copy h2 { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.policy-copy p { line-height: 1.65; }
.contact-project { grid-template-columns: minmax(0,1.23fr) minmax(0,.77fr); grid-template-areas: "form steps"; }
.project-form.panel { background: #edf2f3; border: 0; border-radius: 0; box-shadow: none; }
.form-fields :is(input,textarea) { border-radius: .2rem; background: #fff; }
.form-fields input::placeholder { color: #637481; }
.next-steps ol { padding-left: 0; gap: 0; }
.next-steps ol::before, .next-steps li::before { content: none; }
.next-steps li { border-top: 1px solid var(--rule); padding: 1rem 0; }
.next-steps li span { width: 1.65rem; height: 1.65rem; margin: 0; border: 0; border-radius: 0; background: transparent; }
.next-steps p { margin-top: 1.25rem; }
.form-feedback:not(:empty) { background: #e0efe9; color: #16483d; border-color: #88ada1; }
main[id] .not-found-hero { padding-block: clamp(4rem,10vw,8rem); }
@media (max-width: 760px) {
  .contact-project { grid-template-columns: 1fr; grid-template-areas: "form" "steps"; }
  .home-priorities > div { grid-template-columns: 1fr; }
  .home-priorities a { padding: .95rem 0; }
  .home-priorities a + a { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .home-page .catalog-flow, .solution-records { grid-template-columns: 1fr; gap: .6rem; }
  .home-page .catalog-item, .solution-records .record-data { grid-template-columns: 5.2rem 1fr; }
  .home-page .flow-arrow, .solution-records .record-arrow { transform: rotate(90deg); justify-self: center; }
}
