.net-hero, .detail-head { background: #eaf2fc; padding-block: .7rem clamp(2rem, 4vw, 4rem); }
.net-hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); margin-top: 1.35rem; }
.net-hero-grid > *, .article-grid > * { min-width: 0; }
.net-hero h1, .detail-head h1 { font-size: clamp(2.55rem, 5.5vw, 5.25rem); line-height: 1.01; overflow-wrap: break-word; }
.net-hero h1 { max-width: 15ch; }
.net-hero-grid > div > p, .detail-head > .wrap > p { max-width: 54ch; margin-top: 1.1rem; color: #374d69; font-size: clamp(1.06rem, 1.4vw, 1.25rem); }
.net-hero figure img { width: 100%; aspect-ratio: 2.04; object-fit: cover; height: auto; clip-path: polygon(var(--photo-cut) 0, 100% 0, 100% calc(100% - var(--photo-cut)), calc(100% - var(--photo-cut)) 100%, 0 100%, 0 var(--photo-cut)); }
.net-hero-grid .action-row:empty { display: none; }
.net-hero-dark { color: white; background: linear-gradient(112deg, #0c1c39, #183c58); }
.net-hero-dark .breadcrumbs, .net-hero-dark .photo-caption, .net-hero-dark .net-hero-grid > div > p { color: #dbe6f7; }
.net-hero-dark :focus-visible { outline-color: var(--ice); }
.net-hero-dark figure img { aspect-ratio: auto; clip-path: none; }
.section-jumps { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .65rem; padding-block: 1.3rem; }
.section-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem .9rem; color: var(--cobalt); background: #f2f6fb; border: 1px solid #c5d4e6; border-radius: 2rem; text-decoration: none; font-size: .94rem; font-weight: 600; }
.section-jumps a:hover { background: #e0edff; }
.section-jumps.jump-contents { gap: .15rem clamp(.9rem, 2vw, 2rem); }
.section-jumps.jump-contents a {
  display: inline-grid; grid-template-columns: minmax(0, 1fr) auto;
  flex: none; width: max-content; max-width: 100%; padding: .5rem 0; gap: .55em; border: 0; border-radius: 0;
  color: var(--service-accent, var(--cobalt)); background: none; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: break-word;
}
.jump-contents a::after {
  content: ""; width: .38em; height: .38em; margin-top: -.16em;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.section-jumps.jump-contents a:hover { text-decoration-thickness: 2px; }
.catalog-index .section-jumps { padding-bottom: 0; }
.task-links .task-hint { color: var(--muted); font-size: .94rem; margin: -.15rem 0 .9rem; }
.service-diagram, .estimate-example { margin: clamp(1.6rem, 3.5vw, 3.3rem) 0 0; }
.service-diagram {
  --diagram-ink: var(--service-ink, #172f66); overflow-wrap: anywhere;
  padding: clamp(1rem, 2.1vw, 1.8rem); border: 1px solid var(--line); border-radius: .4rem;
}
.service-diagram figcaption strong { display: block; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.2; margin-top: .25rem; }
.diagram-caption { color: var(--diagram-ink); font-size: .9rem; font-weight: 620; }
.service-diagram img { display: block; width: 100%; max-width: 38rem; height: auto; margin: 1rem auto; }
.diagram-legend { display: grid; gap: .8rem; margin: 0; }
.diagram-legend > div { padding-inline-start: 2rem; }
.diagram-legend dt { position: relative; font-weight: 650; color: var(--diagram-ink); }
.diagram-legend dd, .estimate-example dd { margin: .2rem 0 0; color: var(--muted); }
.diagram-note { margin: 1rem 0 0; padding-top: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.diagram-marker {
  position: absolute; inset-inline-start: -2rem; inset-block-start: .05rem;
  width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--diagram-ink); color: white;
  display: grid; place-content: center; font-size: .9rem; line-height: 1;
}
.estimate-example > p { margin: .4rem 0 1.1rem; color: var(--muted); }
.estimate-example dl { margin: 0; border-top: 2px solid var(--service-accent, var(--cobalt)); }
.estimate-example dl > div {
  display: grid; grid-template-columns: minmax(7rem, .7fr) minmax(0, 1.4fr); gap: .5rem 1.2rem;
  align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere;
}
.estimate-example dt { font-weight: 650; }
@media (max-width: 44rem) {
  .estimate-example dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
.catalog-group { --group-color: var(--cobalt); padding-block: clamp(1.45rem, 3vw, 2.8rem); }
.catalog-group[data-family=security] { --group-color: var(--teal); }
.catalog-group[data-family=automation] { --group-color: var(--violet); }
.catalog-group[data-family=electrical] { --group-color: var(--berry); }
.catalog-group > h2, .task-directory h2, .article-grid h2 { font-size: clamp(1.48rem, 2.5vw, 2.5rem); line-height: 1.12; }
.catalog-directions, .task-links, .related-services ul { padding: 0; list-style: none; }
.catalog-directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.4rem; margin: 1.05rem 0 0; }
.catalog-direction { height: 100%; display: grid; grid-template-columns: clamp(6.6rem, 12vw, 11rem) minmax(0,1fr); align-items: center; gap: clamp(1rem, 2vw, 1.75rem); padding: .6rem clamp(.8rem, 1.7vw, 1.5rem) .6rem .6rem; border: 1px solid var(--line); border-left: 4px solid var(--group-color); border-radius: .4rem; text-decoration: none; }
.catalog-direction img { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; border-radius: .2rem; }
.catalog-direction h3 { font-size: clamp(1.1rem, 1.7vw, 1.55rem); line-height: 1.18; letter-spacing: -.035em; overflow-wrap: anywhere; }
.catalog-direction p, .estimate-note p, .net-case-link p { color: var(--muted); }
.catalog-direction p { margin-top: .3rem; line-height: 1.4; }
.catalog-direction:hover h3, .task-links a:hover, .related-services a:hover, .net-case-link:hover h2, .portfolio-extra a:hover strong { color: var(--cobalt); text-decoration: underline; text-underline-offset: .15em; }
.catalog-group:last-child { padding-bottom: clamp(3rem,5vw,5rem); }
.task-directory { padding-block: 1rem; }
.task-directory section { padding-block: clamp(1.65rem, 3.2vw, 3rem); border-top: 1px solid var(--line); }
.task-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; margin: 1rem 0 0; }
.task-links li { border-bottom: 1px solid var(--line); }
.task-links a, .related-services li a { display: flex; align-items: center; min-height: 48px; padding-block: .6rem; text-decoration: underline; text-decoration-color: #a4b8d4; text-underline-offset: .2em; font-weight: 580; }
.network-example { padding-block: clamp(1.3rem, 3.3vw, 3.25rem) clamp(2.5rem, 5vw, 5rem); }
.net-case-link { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(1.3rem, 4.4vw, 5rem); padding: clamp(1.1rem, 2.4vw, 2.5rem); background: var(--frost); text-decoration: none; border-radius: .45rem; }
.net-case-link img { width: 100%; height: auto; max-height: 19rem; object-fit: contain; }
.net-case-link h2 { font-size: clamp(1.65rem, 3vw, 3rem); line-height: 1.07; margin: .35rem 0 .6rem; }
.case-caption { color: var(--cobalt); font-size: .88rem; font-weight: 650; }
.detail-head h1 { margin-top: 1.1rem; max-width: 19ch; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, .8fr); align-items: start; gap: clamp(2rem, 7vw, 8rem); padding-block: clamp(2rem, 4.6vw, 4.5rem) 1rem; }
.work-points { list-style: disc; padding-left: 1.35rem; margin: 1rem 0 0; }
.work-points li { padding: .53rem .3rem; }
.work-points li::marker { color: var(--cobalt); }
.estimate-note { border-left: 4px solid var(--cobalt); padding: .25rem 0 .25rem clamp(1rem, 2vw, 1.85rem); margin-top: clamp(1.6rem, 3.4vw, 3.3rem); }
.estimate-note p { margin-top: .6rem; }
.related-services { background: var(--frost); padding: 1.4rem clamp(1rem, 2vw, 2rem); border-radius: .3rem; }
.related-services h2 { font-size: 1.23rem; }
.related-services ul { margin: .5rem 0; }
.portfolio-extra { margin-top: 1.5rem; }
.portfolio-extra a { display: flex; align-items: center; gap: 1.2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; text-decoration: none; }
.portfolio-extra img { width: clamp(6rem, 12vw, 11rem); height: auto; border-radius: .25rem; }
.portfolio-extra strong, .portfolio-extra span { display: block; }
.portfolio-extra strong { font-size: clamp(1.1rem, 1.65vw, 1.5rem); }
.portfolio-extra span { color: var(--muted); }
@media (max-width: 58rem) {
  .task-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-direction { grid-template-columns: 6rem minmax(0, 1fr); }
}
@media (max-width: 44rem) {
  .net-hero, .detail-head { padding-block: .3rem 1.6rem; }
  .net-hero-grid, .catalog-directions, .net-case-link, .article-grid { grid-template-columns: minmax(0,1fr); }
  .net-hero-grid { gap: 1.2rem; margin-top: .75rem; }
  .net-hero figure img { max-height: 13rem; }
  .net-hero-dark figure img { max-height: none; }
  .section-jumps { gap: .3rem .4rem; padding-block: 1rem; }
  .section-jumps a { padding-inline: .65rem; }
  .catalog-direction { grid-template-columns: 5.2rem minmax(0, 1fr); gap: .8rem; }
  .catalog-direction p { font-size: .92rem; }
  .task-links { grid-template-columns: minmax(0,1fr); }
  .net-case-link img { max-height: 14rem; }
  .article-grid { gap: 1.7rem; }
  .portfolio-extra a { gap: .75rem; }
}

/* Direction pages follow the family colours used in the home catalogue. */
main[data-family=security] {
  --service-accent: var(--teal); --service-ink: #073e39; --service-tint: #e7f5ef;
  --photo-rule: #428f7f; --project-background: linear-gradient(116deg, #0c2529, #124b46);
}
main[data-family=automation] {
  --service-accent: var(--violet); --service-ink: #36215b; --service-tint: #f1ebfa;
  --photo-rule: #9578b9; --project-background: linear-gradient(115deg, #241934, #4d3366);
}
main[data-family=electrical] {
  --service-accent: var(--berry); --service-ink: #54233b; --service-tint: #faebf0;
  --photo-rule: #ad6b82; --project-background: linear-gradient(115deg, #301a29, #583044);
}
main[data-family] .net-hero:not(.net-hero-dark),
main[data-family] .detail-head { background: var(--service-tint); }
main[data-family] .net-hero:not(.net-hero-dark) h1,
main[data-family] .detail-head h1 { color: var(--service-ink); }
main[data-family] h1 { hyphens: auto; }
main[data-family] .net-hero:not(.net-hero-dark) figure {
  width: min(100%, 28.625rem);
  justify-self: center;
  border-bottom: .4rem solid var(--photo-rule);
}
main[data-family] .net-hero:not(.net-hero-dark) figure img { aspect-ratio: 458/250; }
main[data-family] .button:not(.ice) { background: var(--service-accent); }
main[data-family] .button:not(.ice):hover { background: var(--service-ink); }
main[data-family] .text-link,
main[data-family] .case-caption,
main[data-family] .work-points li::marker { color: var(--service-accent); }
main[data-family] .estimate-note { border-color: var(--service-accent); }
main[data-family] .section-jumps a { background: color-mix(in srgb, var(--service-tint) 55%, white); border-color: color-mix(in srgb, var(--service-accent) 28%, white); color: var(--service-ink); }
main[data-family] .section-jumps a:hover { background: var(--service-tint); }
main[data-family] .related-services { background: color-mix(in srgb, var(--service-tint) 60%, white); }
main[data-family] .related-services > .text-link { display: flex; width: fit-content; }
main[data-family] .net-hero-dark { background: var(--project-background); }
main[data-family] .net-hero-dark figure { justify-self: center; max-width: 100%; }
main[data-family] .net-hero-dark figure img {
  width: auto; max-width: 100%; max-height: 22rem; height: auto;
  border-radius: .25rem;
}
main[data-family] .net-hero-dark .photo-caption { color: #f3f4f7; }
.family-case { background: color-mix(in srgb, var(--service-tint) 68%, white); grid-template-columns: minmax(9rem, .68fr) 1.32fr; }
.family-case img { max-height: 13.75rem; }
.material-link {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem;
  padding: clamp(1.25rem, 3vw, 3rem); color: var(--service-ink); text-decoration: none;
  background: color-mix(in srgb, var(--service-tint) 75%, white); border-left: 4px solid var(--service-accent); border-radius: .25rem;
}
.material-link h2 { font-size: clamp(1.55rem, 2.8vw, 2.7rem); }
.material-link p { margin-top: .65rem; max-width: 58ch; color: var(--muted); }
.material-link .text-link { flex-shrink: 0; }
.material-link:hover h2, .family-case:hover h2 { color: var(--service-accent); text-decoration: underline; text-underline-offset: .16em; }
.portfolio-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.portfolio-extra a { align-items: start; gap: .85rem; }
.portfolio-extra img { width: clamp(3.5rem, 6vw, 5.5rem); aspect-ratio: 1; object-fit: cover; }
.portfolio-extra .full-frame img { object-fit: contain; }
.portfolio-extra span { font-size: .93rem; line-height: 1.4; margin-top: .25rem; }
@media (max-width: 55rem) {
  .portfolio-extra { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .portfolio-extra a { align-items: center; }
  main[data-family] .net-hero h1, main[data-family] .detail-head h1 { font-size: clamp(2rem, 5.6vw, 3.2rem); }
}
@media (max-width: 44rem) {
  main[data-family] .net-hero:not(.net-hero-dark) figure { justify-self: start; }
  main[data-family] .net-hero-dark figure { justify-self: start; }
  main[data-family] .net-hero-dark figure img { max-height: 16rem; }
  .family-case { grid-template-columns: minmax(0,1fr); }
  .family-case img { width: auto; max-width: 100%; max-height: 10.5rem; }
  .material-link { align-items: start; flex-direction: column; gap: .25rem; }
}
@media (max-width: 23rem) {
  .catalog-direction { grid-template-columns: 2.5rem minmax(0, 1fr); gap: .5rem; }
}
@media (min-width: 44.01rem) {
  main[data-family=security] .net-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 4.75vw, 4.5rem);
    hyphens: manual;
    text-wrap: wrap;
  }
}

main:is([data-family=automation], [data-family=electrical]) .net-hero:not(.net-hero-dark) figure {
  width: min(100%, 35rem);
  border-bottom: 0;
}
main:is([data-family=automation], [data-family=electrical]) .net-hero:not(.net-hero-dark) figure img {
  aspect-ratio: 1.83;
  border-bottom: .35rem solid var(--photo-rule);
}
main:is([data-family=automation], [data-family=electrical]) .net-hero:not(.net-hero-dark) .photo-caption { color: var(--service-ink); }
main[data-family=automation] .net-hero-dark figure img { width: 100%; }
.mini-rows .object-service, .mini-rows .object-project { margin: 0 0 .6rem; }
.object-links { display: grid; justify-items: start; }
.portfolio-index-link { padding-top: 1.15rem; }
.gallery-head { padding-block: .7rem clamp(1.8rem, 3.8vw, 3.6rem); background: var(--frost); }
.gallery-head h1 { margin-top: 1rem; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.gallery-head .section-jumps { padding-block: 1rem 0; }
.gallery { padding-block: clamp(1.6rem, 4vw, 3.6rem); }
.portfolio-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.05rem, 2.3vw, 2.1rem); }
.portfolio-card {
  --gallery-accent: var(--cobalt);
  display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: .45rem; overflow: hidden; background: white;
}
.portfolio-card[data-family=security] { --gallery-accent: var(--teal); }
.portfolio-card[data-family=automation] { --gallery-accent: var(--violet); }
.portfolio-card[data-family=electrical] { --gallery-accent: var(--berry); }
.portfolio-card[id] { scroll-margin-block-start: 1rem; }
.portfolio-card:target { outline: 3px solid var(--gallery-accent); outline-offset: 3px; }
.portfolio-image { position: relative; aspect-ratio: 1.95; background: var(--frost); border-bottom: .25rem solid var(--gallery-accent); }
.portfolio-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.portfolio-image.portrait { background: color-mix(in srgb, var(--gallery-accent) 8%, #f9fafc); }
.portfolio-image.portrait img { padding: .35rem; }
.portfolio-copy { padding: clamp(1rem, 1.8vw, 1.65rem); }
.portfolio-copy p { font-size: .89rem; font-weight: 640; color: var(--gallery-accent); }
.portfolio-copy h2 { font-size: clamp(1.35rem, 2.1vw, 2.2rem); line-height: 1.1; margin: .45rem 0 .55rem; }
.portfolio-copy span { color: var(--muted); }
.portfolio-card:hover h2 { color: var(--gallery-accent); text-decoration: underline; text-underline-offset: .15em; }
main[data-family=electrical] .net-hero-dark h1 { max-width: none; font-size: clamp(1.75rem, 8.4vw, 2.75rem); }
@media (min-width: 44.01rem) {
  main[data-family=electrical] .net-hero-dark h1 { font-size: clamp(1.8rem, 4.25vw, 3.85rem); }
}
@media (max-width: 60rem) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .portfolio-grid { grid-template-columns: minmax(0, 1fr); }
}

main[data-family=common] {
  --service-accent: var(--cobalt); --service-ink: #172f66; --service-tint: #eaf2fc;
}
main[data-family=common] .detail-head h1 { max-width: 25ch; }
.common-links {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1rem, 4vw, 4rem);
  padding: 0; margin: .8rem 0 0; list-style: none;
}
.common-links li { border-top: 1px solid var(--line); }
.common-links a {
  position: relative; display: grid; align-content: center; min-height: 44px;
  padding: 1.15rem 1.7rem 1.15rem 0; text-decoration: none;
}
.common-links a::after {
  content: ""; position: absolute; right: .3rem; top: 1.6rem; width: .5rem; height: .5rem;
  border: solid var(--cobalt); border-width: 2px 2px 0 0; transform: rotate(45deg);
}
.common-links strong { font-size: clamp(1.04rem, 1.5vw, 1.32rem); font-weight: 640; }
.common-links span { margin-top: .2rem; color: var(--muted); }
.common-links a:is(:hover,:focus-visible) strong { color: var(--cobalt); text-decoration: underline; text-underline-offset: .18em; }
.home-common { border-block: 1px solid var(--line); margin-top: 1.25rem; }
.home-common summary { padding-block: .9rem; font-size: 1.08rem; font-weight: 645; }
.home-common summary::marker { color: var(--cobalt); }
.home-common[open] { padding-bottom: .65rem; }
.home-common .common-links { margin: 0; }
.home-common .common-links strong { font-size: 1rem; }
.company-grid .text-link { margin-top: .4rem; }
.footer-policy { display: inline-flex; align-items: center; min-height: 44px; color: #deebff; font-size: .87rem; text-underline-offset: .24em; }
.about-work, .contacts-page { padding-bottom: clamp(2.8rem, 6vw, 6rem); }
.about-work { padding-top: clamp(2rem, 4vw, 4rem); }
.work-steps { --step-gap: clamp(1.5rem, 3vw, 3rem); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--step-gap); padding: 0; margin: 1.7rem 0 0; list-style: none; }
.work-steps li { position: relative; padding-top: 1.4rem; min-width: 0; }
.work-steps li::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: .7rem; height: .7rem; border-radius: 50%; background: var(--cobalt); }
.work-steps li:not(:last-child)::after { content: ""; position: absolute; top: .3rem; left: 0; width: calc(100% + var(--step-gap)); height: 2px; background: var(--cobalt); }
.work-steps h3 { font-size: 1.2rem; overflow-wrap: anywhere; }
.work-steps p { margin-top: .5rem; color: var(--muted); }
.company-details { padding-bottom: clamp(3rem, 6vw, 6rem); overflow-wrap: anywhere; }
.company-details h2 { border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.company-details p { margin: .8rem 0; }
.company-details dl { display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.company-details dl > div { display: flex; flex-wrap: wrap; gap: .15rem .5rem; }
.company-details dt { color: var(--muted); }
.contacts-page, .policy-head { padding-top: .7rem; }
.contacts-page h1, .policy-head h1 { margin-block: 1.25rem 1.6rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); align-items: start; gap: clamp(1.5rem, 4vw, 4rem); }
.office-card {
  background: var(--frost); border-radius: .2rem; padding: clamp(1.3rem, 2.4vw, 2.5rem);
}
.office-card h2, .office-card h3 { color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.office-card address { font: 645 clamp(1.45rem, 2vw, 2rem)/1.18 Inter, Arial, sans-serif; letter-spacing: -.035em; margin: .8rem 0 1.5rem; overflow-wrap: anywhere; }
.office-card address span { display: block; margin-top: .5rem; font-size: .63em; letter-spacing: -.015em; }
.office-card p { margin-top: .45rem; }
.office-card p + h3 { margin-top: 1.15rem; }
.contact-data > div + div { border-top: 1px solid #53617b; padding-top: 1.1rem; margin-top: 1.1rem; }
.contact-data dt { font-size: .96rem; color: var(--ice); }
.contact-data dd { font-size: clamp(1.35rem, 2.6vw, 2.5rem); line-height: 1.25; font-weight: 610; letter-spacing: -.035em; margin-top: .35rem; }
.direct-office-contacts { min-width: 0; overflow-wrap: anywhere; color: white; background: var(--navy); border-left: .36rem solid #749aff; border-radius: .2rem; padding: clamp(1.3rem, 3vw, 3rem); }
.direct-office-contacts .contact-note { margin-top: .9rem; color: #d7e2f4; }
.contact-note { margin-top: 1.6rem; max-width: 65ch; color: var(--muted); }
.policy-head { padding-bottom: clamp(1.7rem, 4vw, 3.5rem); background: var(--frost); }
.policy-head h1 { max-width: 26ch; overflow-wrap: anywhere; hyphens: auto; font-size: clamp(1.83rem, 4.2vw, 4rem); line-height: 1.08; }
.policy-head p { max-width: 68ch; color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: minmax(12rem, .85fr) minmax(0, 2fr); gap: clamp(1.6rem, 6vw, 7rem); align-items: start; padding-block: clamp(1.7rem, 4.5vw, 4.2rem); }
.policy-index { padding: 1.1rem 1.3rem; border-left: 3px solid var(--cobalt); background: var(--frost); }
.policy-index h2 { font-size: 1.2rem; }
.policy-index ul { list-style: none; padding: 0; margin: .6rem 0 0; }
.policy-index a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cobalt); text-underline-offset: .2em; font-size: .92rem; line-height: 1.4; }
#policy-text { width: min(100%, 70ch); overflow-wrap: anywhere; }
#policy-text section { scroll-margin-top: 1rem; }
#policy-text section + section { border-top: 1px solid var(--line); margin-top: 2.25rem; padding-top: 1.75rem; }
#policy-text h2 { font-size: clamp(1.3rem, 2.25vw, 2.1rem); line-height: 1.2; }
#policy-text p { margin-top: .85rem; line-height: 1.65; }
@media (max-width: 44rem) {
  .common-links, .contact-grid, .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .work-steps { grid-template-columns: minmax(0,1fr); gap: 1.1rem; }
  .work-steps li { padding-top: 0; padding-left: 1.5rem; }
  .work-steps li::before { top: .35rem; }
  .work-steps li:not(:last-child)::after { left: .3rem; top: .65rem; height: calc(100% + 1.1rem); width: 2px; }
  .common-links a { padding-block: .85rem; }
  .common-links a::after { top: 1.2rem; }
  .contact-grid { gap: 1.2rem; }
  .office-card address { margin-bottom: 1.3rem; }
}
