/* shared-brand.css */
/* company-directory.css */
/* Company marks retain their own colors. Only their surrounding surfaces vary. */
.company-heading-marks{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px;line-height:1;letter-spacing:normal}
.company-heading-mark{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:132px;height:70px;padding:11px 15px;border-radius:10px;border:1px solid #b7cdd5;background:#fff;overflow:hidden}
.company-heading-mark img{display:block;width:100%;height:100%;object-fit:contain;filter:none!important;mix-blend-mode:normal}
.company-mark-coal,.company-mark-black{background:#111a21;border-color:#4b626d}
.company-mark-toyota,.company-mark-roses,.company-mark-port,.company-mark-paper{background:#fff}
.company-google-label{display:inline-flex;align-items:center;gap:12px;line-height:1.3}
.company-google-label img{display:block;flex:none;width:30px;height:30px;filter:none!important;background:#fff;border-radius:50%;padding:4px;box-sizing:content-box}
.social-brand-mark{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:none;width:68px;height:68px;padding:10px;border-radius:14px;background:#fff;vertical-align:middle}
.social-brand-mark[data-social-brand="x"]{background:#101010}
.social-brand-mark img{display:block;width:48px!important;height:48px!important;object-fit:contain;filter:none!important;mix-blend-mode:normal}
.company-directory{padding:40px 0 100px;background:radial-gradient(ellipse at 0 0,#d5edf5 0,transparent 40%),linear-gradient(125deg,#f2f7fa,#e2edf1 58%,#f6ecda);color:#163747;position:relative;isolation:isolate}
.company-directory::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(135deg,transparent 49.8%,#789cac13 50%,transparent 50.2%);background-size:72px 72px}
.company-directory-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 26px;border-bottom:1px solid #b9cdd6}
.company-directory-overview p{margin:0;color:#14384c;font-size:1.1rem}
.company-directory-overview strong{font-size:2rem;letter-spacing:-.05em}
.company-directory-overview p span{margin:0 12px;color:#548496}
.company-directory-overview>span{max-width:340px;font-size:.95rem;line-height:1.5;color:#425e6a}
.company-directory-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr) auto;gap:16px;align-items:end;padding:28px 0 12px}
.company-directory-tools[hidden]{display:none}
.company-directory-tools label{display:grid;gap:8px;color:#14384c;font-size:.9rem;font-weight:700;letter-spacing:.01em}
.company-directory-tools input,.company-directory-tools select{box-sizing:border-box;min-height:52px;width:100%;padding:11px 15px;border:1px solid #7799a8;border-radius:10px;background:#fff;color:#163747;font:inherit;font-size:1rem}
.company-directory-tools input::placeholder{color:#5f7580;opacity:1}
.company-directory-clear{min-height:52px;border:1px solid #7799a8;border-radius:10px;padding:11px 18px;background:#163b4f;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.company-directory-count{color:#385a6a;font-size:.9rem;margin:6px 0 20px}
.company-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:24px}
.company-directory-card{min-width:0;position:relative;display:flex;flex-direction:column;padding:26px;border:1px solid #b7cdd7;border-radius:22px;background:linear-gradient(150deg,#ffffff 12%,#f3f8fa 100%);box-shadow:0 12px 28px #15364b0b;scroll-margin-top:170px}
.company-directory-card[hidden]{display:none}
.company-directory-card:target{outline:3px solid #257b9d;outline-offset:5px}
.company-directory-kind{display:block;color:#426a7e;letter-spacing:.12em;text-transform:uppercase;font-size:.73rem;font-weight:800;margin:0 0 17px}
.company-directory-logo{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:120px;padding:18px 25px;border:1px solid #c4d4db;border-radius:13px;margin-bottom:22px}
.company-directory-logo img{display:block;width:100%;height:100%;object-fit:contain;filter:none!important;mix-blend-mode:normal}
.company-directory-card h2{font-size:clamp(1.18rem,1.8vw,1.5rem);line-height:1.2;letter-spacing:-.025em;color:#14384c;margin:0;font-weight:750;background:none;-webkit-text-fill-color:#14384c}
.company-directory-card h2::after{display:none}
.company-directory-role{font-size:.92rem;line-height:1.55;color:#46616e;margin:12px 0 20px}
.company-directory-location{display:grid;gap:14px;margin:0 0 20px;padding-top:19px;border-top:1px solid #d2e0e6}
.company-directory-location dt{font-size:.76rem;letter-spacing:.075em;text-transform:uppercase;font-weight:750;color:#527386;margin-bottom:5px}
.company-directory-location dd{margin:0;color:#153d52;font-size:1rem;line-height:1.5;font-weight:650}
.company-directory-note{margin:0 0 20px;font-size:.84rem;line-height:1.5;color:#526b78}
.company-directory-actions{display:grid;gap:10px;margin-top:auto;padding-top:18px;border-top:1px solid #d2e0e6}
.company-directory-link,.company-directory-project{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:32px;color:#135f7f;font-weight:750;font-size:.94rem;line-height:1.45;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.company-directory-link span,.company-directory-project span{flex:none;text-decoration:none;font-size:1.25rem}
.company-directory-project{color:#496978;font-weight:600;font-size:.88rem}
.company-directory-empty{padding:35px;border:1px dashed #789aab;border-radius:16px;text-align:center;color:#2e5265;background:#ffffff9c}
.company-directory :is(a,button,input,select):focus-visible{outline:3px solid #247d9f;outline-offset:4px}
.company-directory a:hover{color:#092d40}
@media(min-width:1200px){.company-directory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.company-directory-card{padding:22px}.company-directory-logo{height:112px}}
@media(max-width:920px){.company-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.company-directory-tools{grid-template-columns:minmax(0,1fr) minmax(190px,.8fr)}.company-directory-clear{grid-column:1/-1;justify-self:start;min-height:44px}}
@media(max-width:560px){.company-directory{padding:28px 0 64px}.company-directory-overview{display:block}.company-directory-overview>span{display:block;margin-top:12px}.company-directory-overview p{font-size:1rem}.company-directory-overview strong{font-size:1.65rem}.company-directory-tools{grid-template-columns:1fr;gap:14px}.company-directory-grid{grid-template-columns:1fr;gap:18px}.company-directory-card{padding:24px}.company-directory-logo{height:118px}.company-directory-card h2{font-size:1.4rem}.company-heading-mark{width:112px;height:60px}.company-heading-marks{gap:9px;margin-bottom:16px}}

/* The original supplier artwork accompanies company references across the site. */
main img.yoder-inline-mark {
  display:inline-block;position:static;float:none;
  width:clamp(1.75rem,2.1em,3.75rem);height:auto;aspect-ratio:230 / 176;
  margin:0 .3em 0 0;padding:0;vertical-align:middle;object-fit:contain;
  border:0;border-radius:3px;box-shadow:none;
}
.foot nav .footer-partner-link {
  display:inline-flex;align-items:center;gap:.6rem;min-height:44px;
}
.foot nav .footer-partner-link img {
  display:block;width:auto;height:2.35rem;max-width:5rem;object-fit:contain;border-radius:3px;
}

/* brand-stage.css */
/* One silent, forward-playing logo fills each brand area. */
.nav-head,.foot {isolation:isolate;position:relative;background:#061725}
.brand-stage {position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none;background:#061725}
.brand-stage-film {width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 48%;opacity:.94}
.brand-stage::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#06172565,transparent 40%,transparent 60%,#06172565)}
.nav-head::after,.foot::after {content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#06172518,#06172535)}
.brand-home-link {display:inline-flex;flex-direction:column;color:#f3fbff;text-decoration:none;line-height:1.2;text-shadow:0 2px 15px #000}
.brand-home-link strong {font-size:1.1rem;letter-spacing:.14em;text-transform:uppercase;font-weight:800}
.brand-home-link span {font-size:.875rem;letter-spacing:.01em;margin-top:5px}
/* The animated artwork is the homepage wordmark. Keep its home link available
   to assistive technology without printing a second name over the film. */
.home .nav-head .brand-home-link {min-width:130px;min-height:58px}
.home .nav-head .brand-home-link :is(strong,span) {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.nav-head .nav-row {min-height:176px;grid-template-columns:minmax(130px,.85fr) minmax(0,2.7fr) auto;padding-block:16px;row-gap:17px}
.nav-row>.brand-home-link {grid-column:1;grid-row:1 / 3;justify-self:start}
.header-mast {position:relative;isolation:isolate}
.nav-head>.header-recognition {justify-content:center;flex-wrap:wrap;padding:7px var(--edge);gap:8px 20px;border-bottom:1px solid #476273;background:linear-gradient(100deg,#0a1e2c,#173446,#0a1e2c)}
.nav-row>.navlinks {grid-column:2;grid-row:2;justify-self:end;padding:8px 12px;border-radius:12px;background:#06172570;backdrop-filter:blur(3px);text-shadow:0 2px 6px #000}
.nav-row>.nav-actions {grid-column:3;grid-row:1 / 3}
.nav-head .nav-actions .btn {background:#0a2234b8;color:#ffe0b8;border-color:#bba180;transition:box-shadow .25s,transform .25s}
.nav-head .nav-actions .btn:hover {background:#f0c799;color:#132a38}
.foot {border-top:1px solid #5c849c;min-height:540px}
.foot>.shell {position:relative;gap:28px;padding-block:50px}
.footer-logo-stage {width:100%;display:grid;place-items:center;pointer-events:none}
.footer-logo-art {
  position:relative;
  width:min(100%,960px);
  aspect-ratio:16 / 9;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(0deg,transparent,#000 4%,#000 96%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(0deg,transparent,#000 4%,#000 96%,transparent);
  mask-composite:intersect;
}
.footer-logo-poster {position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.footer-logo-film {position:relative;display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.footer-logo-film:not(.is-playing),
html[data-diamond-motion=paused] .footer-logo-film {visibility:hidden}
.foot>.shell>nav:not(.social-links) {flex:1;min-width:250px;max-width:850px;padding:22px;border:1px solid #8ac4e06b;border-radius:14px;background:#06172570;backdrop-filter:blur(3px);gap:16px 24px;text-shadow:0 2px 5px #000}
.foot .footer-contact,.foot .employee-access {background:#06172580;border-color:#78a1b9;text-shadow:0 2px 5px #000;backdrop-filter:blur(3px)}
.foot .footer-contact {padding:15px 20px;border:1px solid #53788f;border-radius:12px}
.foot .brand-home-link strong {font-size:1.6rem}
.foot .brand-home-link span {font-size:.85rem}
.foot .social-links a {display:grid;place-items:center;width:46px;height:46px;border:1px solid #7899aa;border-radius:12px;background:#f5fbff}
.foot .social-links img {width:26px;height:26px;object-fit:contain}
.foot .social-brand-mark {width:44px;height:44px;padding:8px;border-radius:11px}
.foot .social-brand-mark img {width:26px!important;height:26px!important}
.foot .social-links .social-original-x {background:#101820;padding:4px;border-radius:5px}
.brand-home-link:focus-visible {outline:3px solid #b8e9ff;outline-offset:8px}
@media(prefers-reduced-motion:no-preference) {
 .home .cinema-hero[data-hero-pending=true]:not([data-hero-reveal-instant=true]) .cinema-layout::before {opacity:.2}
}
.home .cinema-layout::before {transition:opacity .8s ease}
.home .cinema-hero[data-hero-reveal-instant=true] .cinema-layout::before {opacity:1;transition:none}
.cooling-study {--ink:#153747;--blue:#1d617e;display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,80px);align-items:center;margin-block:clamp(30px,5vw,70px);padding:clamp(25px,4vw,58px);border:1px solid #a7c6d4;border-radius:24px;background:radial-gradient(ellipse at 0 0,#ffffffba,transparent 65%),radial-gradient(ellipse at 100% 100%,#a6d7e54d,transparent 65%),linear-gradient(130deg,#eaf3f7,#f4efe5);color:#153747;box-shadow:0 18px 48px #020d1724}
.cooling-study h2 {color:#153747}
.cooling-study-copy>p {margin-top:18px;color:#375769;line-height:1.7}
.cooling-study-copy .kicker {margin:0 0 16px;color:#24637f}
.cooling-study-copy .textlink {display:inline-block;margin-top:24px;color:#1d617e}
.cooling-study-resources {
  margin-top:1.5rem;
  overflow:hidden;
  border:1px solid #89aeb9;
  border-radius:14px;
  background:#eff5f4;
}
.cooling-study-resources a {
  display:block;
  margin:0;
  text-decoration:none;
  line-height:1.35;
}
.cooling-study-resources a:focus-visible {outline:3px solid #cf8220;outline-offset:-4px}
.cooling-study-resources .cooling-guide {
  display:flex;
  align-items:center;
  gap:clamp(.6rem,1.6vw,1.1rem);
  padding:.7rem 1rem;
  background:linear-gradient(115deg,#113148,#164556);
  color:#fff;
}
.cooling-guide strong,.cooling-council-guide strong {display:block;font-size:1.02rem}
.cooling-guide small {display:block;margin-top:.2rem;color:#bce3e8;font-size:.8rem}
.cooling-reflection {width:clamp(80px,21%,120px);height:auto;flex:none}
.reflect-sun {fill:#ffe2a2}
.reflect-sun-rays,.reflect-surface,.reflect-ray,.reflect-ray-tip,.reflect-ray-motion {
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.reflect-sun-rays {stroke:#ffe2a2;stroke-width:1.8}
.reflect-roof {fill:#407286}
.reflect-surface {stroke:#d1eeee;stroke-width:3.2}
.reflect-ray,.reflect-ray-tip {stroke:#d5ba79;stroke-width:1.8}
.reflect-ray-motion {stroke:#fff1c7;stroke-width:3.5;stroke-dasharray:14 112;stroke-dashoffset:15;opacity:0}
@media(prefers-reduced-motion:no-preference) {
  html[data-diamond-motion=playing] .reflect-ray-motion {opacity:1;animation:cooling-sunlight 2.8s ease-in-out infinite}
}
@keyframes cooling-sunlight {0%,16%{stroke-dashoffset:15}82%,100%{stroke-dashoffset:-101}}
.cooling-study-resources {container-type:inline-size}
.cooling-resource-links {display:grid;grid-template-columns:minmax(0,1fr);gap:1px;background:#abc1c6}
.cooling-resource-links a {display:flex;align-items:flex-start;flex-direction:column;gap:.4rem;min-width:0;padding:.9rem 1rem;background:#f9fbf9;color:#153747}
.cooling-resource-links .cooling-spec {flex-direction:row;align-items:center;gap:.9rem}
.cooling-spec img {display:block;width:clamp(56px,16%,76px);height:auto;flex:none}
.cooling-spec strong {display:block;font-size:1rem;color:#163645}
.cooling-spec sup {font-size:.58em;line-height:0}
.cooling-spec small {display:block;margin-top:4px;font-size:.82rem;line-height:1.45;color:#2c5770}
.cooling-council {display:grid;align-content:center;min-width:0;background:#f9fbf9}
.cooling-council .cooling-directory {padding-top:.65rem;border-top:1px solid #d5e1e2;color:#24536a;font-size:.82rem;text-decoration:underline;text-underline-offset:.18em}
@container (min-width:550px) {
  .cooling-resource-links {grid-template-columns:minmax(160px,.63fr) minmax(0,1fr)}
  .cooling-resource-links .cooling-spec {flex-direction:column;align-items:flex-start;justify-content:center}
  .cooling-spec img {width:76px}
}
.roof-energy-flow {display:block;width:100%;height:auto}
.flow-sun path,.flow-lines {fill:none;stroke-linecap:round;stroke-linejoin:round}
.flow-sun path {stroke-width:2.5}
.flow-lines {stroke-width:3}
.flow-in {stroke:#ffc264}
.flow-out {stroke:#b0eff8}
.flow-heat {stroke:#ff9168}
.flow-pulse {opacity:0;stroke-width:4.5;stroke-dasharray:20 120}
.flow-pulse-in {stroke:#fff4b0}
.flow-pulse-out {stroke:#fff}
.flow-pulse-heat {stroke:#ffe0bd}
@media(prefers-reduced-motion:no-preference) {
  html[data-diamond-motion=playing] .cooling-council-guide.in-view .flow-pulse {opacity:1}
  .flow-pulse-in {animation:roof-sun-in 2.8s ease-in-out infinite paused}
  .flow-pulse-out {animation:roof-sun-out 2.8s ease-in-out infinite paused}
  .flow-pulse-heat {animation:roof-heat-out 2.8s ease-in-out infinite paused}
  .flow-pulse-later {animation-delay:-.6s}
  html[data-diamond-motion=playing] .cooling-council-guide.in-view .flow-pulse {animation-play-state:running}
}
@keyframes roof-sun-in {0%,5%{stroke-dashoffset:22}39%,100%{stroke-dashoffset:-103}}
@keyframes roof-sun-out {0%,35%{stroke-dashoffset:22}75%,100%{stroke-dashoffset:-103}}
@keyframes roof-heat-out {0%,13%{stroke-dashoffset:22}82%,100%{stroke-dashoffset:-103}}
.cooling-council-guide .roof-energy-key {display:flex;flex-wrap:wrap;align-items:center;gap:.12rem .65rem;margin:.05rem 0 .3rem}
.cooling-council-guide .roof-energy-key span {display:inline-flex;align-items:center;gap:.25rem;color:#244551;font-size:.8rem;line-height:1.55;white-space:nowrap}
.roof-energy-key i {display:inline-block;position:relative;width:13px;height:2px;background:currentColor}
.roof-energy-key i::after {content:"";position:absolute;right:0;top:-2px;width:6px;height:6px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg)}
.key-sun {color:#8c5907;transform:rotate(38deg)}
.key-reflection {color:#126982;transform:rotate(-38deg)}
.key-heat {color:#ad4620;transform:rotate(-90deg)}
.cooling-resource-links span {font-size:.82rem;color:#2c5770;line-height:1.45}
.cooling-study-resources a:is(:hover,:focus-visible) :is(strong,.cooling-resource-links span) {text-decoration:underline;text-underline-offset:.18em}
.cooling-study-chart {padding:clamp(24px,3vw,38px);border:1px solid #8fb8c9;border-radius:22px;background:radial-gradient(ellipse at top right,#32768d70,transparent 65%),#0d2a3d;color:#f0faff;box-shadow:0 20px 50px #0a344424}
.cooling-study-chart figcaption {display:flex;flex-direction:column;gap:8px;color:#d8edf6}
.cooling-study-chart figcaption strong {font-size:clamp(2rem,3.6vw,3.4rem);letter-spacing:-.05em;color:#b6f1ce;line-height:1.05}
.study-bars {margin-top:28px}
.study-bar-row+.study-bar-row {margin-top:22px}
.study-bar-row>div {display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:.95rem}
.study-bar-track {display:block;height:23px;border-radius:6px;background:#ffffff1c;overflow:hidden}
.study-bar-track>span {display:block;height:100%;border-radius:6px}
.study-bar-before {width:100%;background:linear-gradient(90deg,#d7b88a,#f4d9ae)}
.study-bar-after {width:90%;background:linear-gradient(90deg,#48b4b8,#a0edce)}
.study-bar-axis {display:flex;justify-content:space-between;font-size:.75rem;color:#b7d0df;margin-top:9px}
.cooling-study-chart>p {font-size:.8rem;line-height:1.6;color:#c9dce7;margin-top:23px}
.cooling-study-chart .study-source {display:block;font-size:.77rem;color:#b6e7ff;margin-top:14px;line-height:1.6}
@media(max-width:1100px){
 .nav-head .nav-row {grid-template-columns:1fr auto;min-height:180px;align-content:start;padding-block:15px;row-gap:0}
 .nav-row>.brand-home-link {grid-column:1;grid-row:1;align-self:start}
 .nav-row>.nav-actions {grid-column:2;grid-row:1;align-self:start;justify-self:end}
 .nav-row>.navlinks {grid-column:auto;grid-row:auto;justify-self:stretch;padding:16px var(--edge);background:#0b2437;backdrop-filter:none;border-radius:0}
 .nav-head .brand-stage-film {object-fit:contain;object-position:center;opacity:.94}
 .js .nav-head .nav-row .navlinks.open {max-height:calc(100dvh - 236px)}
}
@media(max-width:760px){
 .nav-head .nav-row {min-height:clamp(164px,42vw,205px)}
 .nav-head .brand-stage-film {opacity:.94}
 .nav-row .header-google {padding-left:13px}
 .header-award>strong {font-size:.98rem}
 .header-award>small {font-size:.7rem}
 .brand-home-link strong {font-size:.94rem}
 .brand-home-link span {font-size:.875rem}
 .nav-head .nav-actions .btn {font-size:.8rem;min-height:40px;padding-inline:12px}
 .js .nav-head .nav-row .navlinks.open {max-height:calc(100dvh - 268px)}
 .foot>.shell>nav:not(.social-links) {max-width:none;min-width:0;width:100%;padding:20px}
 .cooling-study {grid-template-columns:1fr;gap:28px}
 .cooling-study-chart {width:100%}
}
/* The homepage logo uses the same square for the artwork and its home link. */
.home .header-mast {
  --header-logo-size: 124px;
  --header-logo-top: 4px;
}
.home .nav-head .brand-stage,
.home .nav-head .nav-row > .brand-home-link {
  position: absolute;
  inset: var(--header-logo-top) auto auto 50%;
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  min-width: 0;
  min-height: 0;
  transform: translateX(-50%);
}
.home .nav-head .brand-stage-film {object-fit: contain; object-position: center}
html[data-diamond-motion=paused] .home .nav-head .brand-stage {
  background: #061725 url("/assets/diamond-brand/full-logo.webp") center / contain no-repeat;
}
html[data-diamond-motion=paused] .home .nav-head .brand-stage-film {visibility: hidden}
.home .nav-head .brand-home-link:focus-visible {outline-offset: 2px}
@media (min-width: 1101px) {
  .home .nav-head .nav-row {
    grid-template-rows: calc(var(--header-logo-size) + 8px) auto;
    row-gap: 0;
    padding-block: 0 10px;
  }
}
@media (max-width: 1100px) {
  html:not(.js) .home .nav-head .nav-row {
    grid-template-rows: calc(var(--header-logo-top) + var(--header-logo-size) + 5px) auto;
  }
  html:not(.js) .home .nav-head .nav-row > .navlinks {grid-column: 1 / -1; grid-row: 2}
}
@media (min-width: 821px) and (max-width: 1100px) {
  .home .header-mast {--header-logo-size: 168px}
}
@media (max-width: 820px) {
  .home .header-mast {--header-logo-size: 136px; --header-logo-top: 64px}
  .home .nav-head .nav-row {min-height: calc(var(--header-logo-top) + var(--header-logo-size) + 5px)}
}
@media(prefers-reduced-motion:reduce){
 .home .cinema-layout::before {opacity:1;transition:none;transform:none}
}

.rail-directory-link {color:#c1eafd;font-size:.9rem;font-weight:650;text-underline-offset:5px}

/* The footer signature and social signs belong to the brand, not the films. */
/* Scale the name to the content width independently of the footer's layout. */
.foot>.shell {padding-block-start:clamp(18px,3vw,42px)}
.foot .footer-wordmark {
  display:grid;grid-template-columns:minmax(0,1fr);align-items:center;
  flex:0 0 100%;width:100%;min-width:0;container-type:inline-size;
  padding-block:clamp(12px,2vw,30px);gap:clamp(9px,1.6vw,24px);text-align:center;
}
.foot .footer-wordmark .footer-wordmark-kicker,
.foot .footer-wordmark .footer-wordmark-trade {
  display:flex;align-items:center;justify-content:center;gap:clamp(10px,2.5vw,40px);
  margin:0;font-size:clamp(.68rem,1.15vw,1rem);font-weight:650;
  line-height:1.35;letter-spacing:.21em;text-transform:uppercase;color:#cfebf4;
}
.foot .footer-wordmark .footer-wordmark-trade {
  color:#f5dbb5;letter-spacing:.36em;font-weight:750;
}
.footer-wordmark-kicker::before,.footer-wordmark-kicker::after,
.footer-wordmark-trade::before,.footer-wordmark-trade::after {
  content:"";height:1px;flex:1;min-width:0;opacity:.65;
  background:linear-gradient(90deg,transparent,currentColor);
}
.footer-wordmark-kicker::after,.footer-wordmark-trade::after {transform:scaleX(-1)}
.foot .footer-wordmark strong {
  display:block;width:100%;padding-inline:0 .04em;box-sizing:border-box;
  font-family:Inter,Arial,sans-serif;font-weight:900;font-style:italic;
  font-variation-settings:"opsz" 32,"wght" 900;
  font-size:min(17.5vw,18rem);font-size:20cqw;line-height:.87;
  letter-spacing:-.035em;white-space:nowrap;color:#e3f5ff;text-shadow:0 2px 0 #5c8394;
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  .foot .footer-wordmark strong {
    background-image:linear-gradient(109deg,transparent 35%,#f8fdffaa 42%,#fff 45%,#ffe2a680 47%,transparent 50%),
      linear-gradient(169deg,#effaff 11%,#b6dff0 39%,#71a3b9 48%,#dcf5ff 49%,#ddedf2 74%,#e9c797 92%);
    background-size:270% 100%,100% 100%;background-position:100% 50%,center;
    background-repeat:no-repeat;background-clip:text;-webkit-background-clip:text;
    -webkit-text-fill-color:transparent;text-shadow:none;
    filter:drop-shadow(0 1px 0 #a0c0c9) drop-shadow(0 3px 0 #39566a);
    animation:footer-wordmark-glow 7s ease-in-out infinite;animation-play-state:paused;
  }
}
.footer-social {flex-basis:100%;display:flex;flex-direction:column;align-items:center;gap:11px;padding:14px 0 20px}
.foot .footer-social .social-links {display:flex;justify-content:center;gap:16px;width:auto;margin:0;padding:0;flex:none}
.social-marquee {position:relative;width:256px;height:110px;margin-inline:auto;color:#ffe5b2;filter:drop-shadow(0 5px 14px #0218268c);transform-origin:center 60%;animation:social-marquee-sway 5s ease-in-out infinite;animation-play-state:paused}
.social-marquee::before {content:"";position:absolute;inset:10px 0 45px;border:2px solid #b57f42;border-radius:32px;background:linear-gradient(140deg,#0e384d,#071a2b);box-shadow:inset 0 0 0 4px #030f1b,inset 0 0 16px #62ccef33,0 0 0 1px #ffe0ad70}
.social-marquee-label {position:absolute;inset:17px 20px auto;display:block;text-align:center;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:700;font-size:1.7rem;line-height:38px;color:#fff1cd;text-shadow:0 0 8px #ffcf8570;white-space:nowrap}
.social-marquee-lights {position:absolute;inset:0;width:256px;height:72px;overflow:visible}
.social-marquee-lights circle {fill:#b28149;stroke:#ffe8b5;stroke-width:.65px;animation:social-marquee-bulb 2.7s ease-in-out infinite;animation-play-state:paused}
.social-marquee-lights circle:nth-child(3n+1) {animation-delay:-.9s}
.social-marquee-lights circle:nth-child(3n+2) {animation-delay:-1.8s}
.social-marquee-arrow {position:absolute;bottom:0;left:calc(50% - 22px);width:44px;height:42px;fill:#f3c98a;stroke:#fff0cb;stroke-width:1.5;filter:drop-shadow(0 0 6px #e5ba6c55)}
html[data-diamond-motion=playing] :is(.social-marquee,.social-marquee-lights circle,.foot .footer-wordmark strong) {animation-play-state:running}
html[data-diamond-motion=paused] :is(.social-marquee,.social-marquee-lights circle,.foot .footer-wordmark strong) {animation-play-state:paused!important}
@keyframes social-marquee-sway {0%,100%{transform:translateX(-5px) rotate(-1.4deg)}50%{transform:translateX(5px) rotate(1.4deg)}}
@keyframes social-marquee-bulb {0%,15%,100%{fill:#fff0b8;filter:drop-shadow(0 0 3px #ffe3a2)}45%,70%{fill:#b78950;filter:none}}
@keyframes footer-wordmark-glow {0%,22%{background-position:100% 50%,center}70%,100%{background-position:0 50%,center}}
.supplier-contact {display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.85fr);gap:32px;align-items:center;margin:28px 0 40px;padding:clamp(22px,3vw,38px);border:1px solid #9fbecb;border-radius:20px;background:radial-gradient(ellipse at 100% 0,#94d1e44d,transparent 60%),linear-gradient(135deg,#e8f1f5,#f2e8d9);box-shadow:0 16px 32px #0d3b5012;color:#153647}
.supplier-contact .supplier-contact-kicker {margin:0 0 12px;color:#285a70;font-size:.76rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
.supplier-contact-phone {display:inline-block;color:#153647;font-size:clamp(1.65rem,3vw,2.3rem);font-weight:750;letter-spacing:-.035em;text-decoration:none}
.supplier-map-link {display:flex;gap:12px;align-items:center;margin-top:20px;color:#204d64;font-size:1rem;line-height:1.5;text-decoration:none}
.supplier-map-link svg {flex:none;width:30px;height:38px;fill:#1f7897;stroke:#173f51;stroke-width:1.1}
.supplier-map-link svg circle {fill:#edf8ff;stroke:none}
.supplier-map-caption {display:block;font-size:.77rem;text-decoration:underline;text-underline-offset:3px;margin-top:4px}
.supplier-website {display:inline-block;margin-top:20px;font-weight:700;color:#1b5c78;text-underline-offset:4px}
.supplier-social {display:flex;flex-direction:column;align-items:center;gap:10px}
.supplier-facebook {display:flex;align-items:center;justify-content:center;gap:12px;color:#164969;font-size:.9rem;font-weight:700;text-decoration:none}
.supplier-facebook .social-brand-mark {width:52px;height:52px;padding:9px;border:1px solid #b0c9d6;border-radius:14px;background:#fff;box-shadow:0 5px 16px #12354b12}
.supplier-facebook .social-brand-mark img {width:32px!important;height:32px!important}
.supplier-contact a:hover {text-decoration:underline;text-underline-offset:4px}
.supplier-contact a:focus-visible {outline:3px solid #17678a;outline-offset:5px}
@media(max-width:680px) {
 .supplier-contact {grid-template-columns:1fr;gap:34px}
 .supplier-social {border-top:1px solid #afc6d0;padding-top:24px}
}
@media(prefers-reduced-motion:reduce) {
 .social-marquee,.social-marquee-lights circle,.foot .footer-wordmark strong {animation:none!important;transform:none}
}
@media(forced-colors:active) {
 .foot .footer-wordmark strong {background:none;-webkit-text-fill-color:currentColor;filter:none}
 .social-marquee-label {color:CanvasText;text-shadow:none}
 .social-marquee-lights,.social-marquee-arrow {display:none}
}

.foot .emergency-leak {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, auto);
  align-items: center;
  gap: 1.3rem 2rem;
  width: 100%;
  padding: clamp(1.15rem, 3.3vw, 2.5rem);
  border: 2px solid #ffa69e;
  border-radius: 10px;
  background: linear-gradient(115deg, #ab1929 0%, #801621 55%, #55131b 100%);
  box-shadow: inset 0 0 0 4px #74121e, inset 0 0 0 5px #ff8d7e8c, 0 0 20px #fc374033;
  color: #fff;
}
.foot .emergency-leak h2 {
  margin: 0 0 .65rem;
  color: #fffaf6;
  font-size: clamp(1.65rem, 3.15vw, 2.9rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: .018em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px #671018, 0 0 12px #ffd5ca52;
}
.foot .emergency-leak p {margin: 0; max-width: 44ch; color: #fff5f2; font-size: 1rem; line-height: 1.5;}
.leak-contact-actions {display: grid; grid-template-columns: auto auto; gap: .5rem; align-items: stretch;}
.foot .leak-contact-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: .5rem .8rem;
  border: 1px solid #ffc5be;
  border-radius: 5px;
  color: #fff;
  background: #64131b;
  font-size: 1rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.foot .leak-contact-actions a:hover {background: #801b26; color: #fff; text-decoration: underline;}
.foot .leak-contact-actions .leak-report {
  grid-column: 1 / -1;
  border-color: #fff;
  background: #fff7f2;
  color: #791524;
  font-size: 1.1rem;
  font-weight: 800;
}
.foot .leak-contact-actions .leak-report:hover {background: #fff; color: #541019;}
.foot .leak-contact-actions a:focus-visible {outline: 3px solid #fff; outline-offset: 3px;}
#request-details, #emergency-leak {scroll-margin-top: 1rem;}
@media (max-width: 720px) {
  .foot .emergency-leak {grid-template-columns: minmax(0, 1fr); gap: 1rem;}
  .leak-contact-actions {max-width: 100%;}
}
@media (max-width: 440px) {
  .leak-contact-actions {grid-template-columns: minmax(0, 1fr);}
}
@media (forced-colors: active) {
  .foot .emergency-leak {background: Canvas; border-color: CanvasText; box-shadow: none;}
  .foot .emergency-leak h2, .foot .emergency-leak p {color: CanvasText; text-shadow: none;}
  .foot .leak-contact-actions a, .foot .leak-contact-actions .leak-report {color: LinkText; background: Canvas; border-color: LinkText;}
  .foot .leak-contact-actions a:focus-visible {outline-color: Highlight;}
}

/* public-surfaces.css */
/* Shared public-page surfaces: brushed blue steel, fine facets, and warm stone.
   Load after page styles. Photographs, swatches, logos, document images,
   form controls, and dark/video sections retain their original treatments. */
@media screen {
  body.interior {
    --ink:#123347;--slate:#354f5e;--line:#91adba;--cloud:#c4d8e0;
    background-color:#c9dce3;
    background-image:linear-gradient(126deg,transparent 0 76%,#446d7d12 76% 76.1%,transparent 76.1%),radial-gradient(ellipse at 0 0,#afd1df80,transparent 42rem),radial-gradient(ellipse at 100% 75%,#c5af8d38,transparent 45rem),linear-gradient(135deg,#d8e4e8,#c9dce3 52%,#d8d4c8);
  }

  :is(body.home,body.interior) :is(
    .field-details,.inspection-package,.muted-section,.recognition,.city-links,
    .rg-end,.contact-row,.social-follow,.project-brands,.ro,.ro-home,.ro-teaser,
    .ro-tint,.roof-comparison,.commercial-options,.coat-paths,.ext-projects,
    .sc-proof,.sc-coverage,.repair-gallery,.rpp-band,.system-nav,.owner-connections,
    .gaf-training,.gaf-training-card,.website-tour,.website-review,
    .careers-page,.career-values,.career-faq,.showcase-transcript,.showcase-more
  ) {
    background-color:#cadde4;
    background-image:linear-gradient(130deg,transparent 0 64%,#386b8012 64% 64.2%,transparent 64.2%),radial-gradient(ellipse at 0 0,#e3edf04d,transparent 65%),radial-gradient(ellipse at 100% 100%,#89b5c94d,transparent 68%);
    background-repeat:no-repeat;
  }

  :is(body.home,body.interior) :is(.cta,.commercial-options,.coat-paths,.social-follow) {
    background-color:#d7d3c8;
    background-image:linear-gradient(128deg,transparent 0 68%,#765a3512 68% 68.2%,transparent 68.2%),radial-gradient(ellipse at 5% 0,#e7d5b855,transparent 72%),radial-gradient(ellipse at 100% 100%,#9ec8d657,transparent 65%);
    border-block-color:#99afb9;
  }

  :is(body.home,body.interior) :is(
    .measurement-example,.credential-card,.career-role-card,.career-form,
    .roof-color-card,.roof-metal-color,.sc-card,.ro-callout,.roof-paths,.roof-path,
    .project-post,.field-update,.tour-chapter-card,.review-toolbar,.review-manual-export,
    .coat-calculator,.coat-calc-box form
  ),
  .website-review .review-card,
  .social-follow nav a {
    background-color:#dce8ed;
    background-image:radial-gradient(ellipse at 100% 0,#a9cfdf38,transparent 64%),linear-gradient(145deg,#e2ecefe6,#cfdfe6e6);
    border-color:#98b6c5;
    box-shadow:0 12px 32px #123d5015,inset 0 1px 0 #edf5f780;
  }

  .measurement-example .measurement-label,
  .gaf-training__photo figcaption,
  .roof-color-pair-labels,
  .roof-color-chart,
  .showcase-tour-link {
    background-color:#c6dbe4;
    background-image:linear-gradient(115deg,#d1e3eac7,#b4cedb6b 62%,#d9cbb36b);
  }
  .measurement-example .measurement-label {border-bottom-color:#b7d0dc}
  .career-role-card {border-top-color:#367e9d}
  .sc-card:hover,.project-post:hover,.social-follow nav a:hover {background-color:#e3f0f6;border-color:#5b8fa7;box-shadow:0 12px 32px #123d501a}
  .tour-chapter-card:has(.tour-chapter-button[aria-current="true"]) {border-color:#5b9bbb;box-shadow:inset 3px 0 0 #4b8fae,0 12px 32px #123d5010}

  /* Customer voices sit in a richer blue setting, above the credentials. */
  .home .google-reviews {
    position:relative;isolation:isolate;overflow:hidden;
    background:radial-gradient(ellipse at 3% 12%,#2d69855c,transparent 56%),radial-gradient(ellipse at 100% 100%,#8b705024,transparent 62%),linear-gradient(135deg,#102b40,#071b2b 68%,#102b3d);
    border-block:1px solid #476c81;
  }
  .home .google-reviews::before {
    content:"";position:absolute;z-index:-1;pointer-events:none;right:7%;top:-150px;width:420px;height:420px;
    transform:rotate(45deg);border:1px solid #b8e5f620;box-shadow:0 0 0 46px #8ccde909,0 0 0 94px #8ccde906;
  }
  .home .google-reviews .review-card {
    background:linear-gradient(145deg,#21445aea,#102b40f5);
    border-color:#62879b;border-radius:16px;
    box-shadow:0 16px 36px #020d172b,inset 0 1px 0 #cfebff17;
  }
  .home .google-reviews .review-head {border-bottom:1px solid #8bb4c72e;padding-bottom:24px}
  .home .google-reviews .review-stars {color:#ffda9c;text-shadow:0 0 16px #ffd49a25}

  /* Social destinations are individual brand cards, not a row of plain links. */
  .social-follow nav {gap:14px}
  .social-follow nav a {
    --social-accent:#318bad;
    position:relative;isolation:isolate;overflow:hidden;min-height:100px;padding:22px 18px;
    border:1px solid #aec7d3;border-left:4px solid var(--social-accent);border-radius:13px;
    background:radial-gradient(ellipse at 100% 100%,#9bc7d74d,transparent 70%),linear-gradient(135deg,#dce9ef,#c9dce5);
    color:#17384a;box-shadow:0 9px 24px #14354a0d;
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  }
  .social-follow nav a[href*="facebook.com"] {--social-accent:#0866ff}
  .social-follow nav a[href*="linkedin.com"] {--social-accent:#0a66c2}
  .social-follow nav a[href*="instagram.com"] {--social-accent:#c13584}
  .social-follow nav a[href*="x.com"],.social-follow nav a[href*="twitter.com"] {--social-accent:#182731}
  .social-follow nav a::before {content:"";position:absolute;z-index:-1;right:-27px;top:-32px;width:76px;height:76px;border:1px solid #7aa5b52b;transform:rotate(45deg);pointer-events:none}
  .social-follow nav a:hover {transform:translateY(-3px);border-color:var(--social-accent);box-shadow:0 13px 28px #14354a1a;color:#103348}
  .social-follow nav img {filter:none;object-fit:contain;width:31px;height:31px;flex:none}
  .social-follow nav a>span:last-child {color:var(--social-accent)}

  /* Inspection cards and explanations share a deliberate field-report style. */
  .film-library .film-card {
    padding:0;overflow:hidden;border:1px solid #b8cdd8;border-radius:14px;
    background:radial-gradient(ellipse at 100% 100%,#98c4d64f,transparent 65%),linear-gradient(145deg,#dce9ef,#c6dbe5);
    box-shadow:0 12px 32px #123d5010;
  }
  .film-library .film-card-copy {padding:22px}
  .film-library .film-category {display:inline-flex;padding:5px 10px;border:1px solid #9fc6d8;border-radius:999px;background:#deeff6;color:#165774;font-size:.78rem;line-height:1.4;letter-spacing:.025em}
  .film-library .film-card h3 {color:#153748}
  .film-library .film-description {color:#3d5a6b}
  .film-library .film-watch-label {padding-top:16px;border-top:1px solid #bed1dc;color:#145d7e}
  .film-library .film-open:focus-visible {outline:3px solid #186d93;outline-offset:-4px;border-radius:14px}
  .inspection-next {background:radial-gradient(ellipse at 0 0,#d8e9ef66,transparent 70%),linear-gradient(120deg,#c0d8e3,#d2e1e7 60%,#d8cdb9);border:1px solid #96b4c4;border-radius:16px;margin-bottom:clamp(2rem,4vw,4rem);padding-inline:clamp(22px,3vw,42px);box-shadow:0 14px 36px #0c314818}
  .field-film-info {background:radial-gradient(ellipse at 100% 0,#2b627733,transparent 70%),#0b2436}
  .field-film-info .film-explainer {background:linear-gradient(130deg,#1d4b62,#12364d);border:1px solid #608b9f;border-left:3px solid #b4e1f2;border-radius:10px;box-shadow:0 8px 22px #020e191f}
  .field-film-info .film-explainer :is(p,li) {color:#dcecf5}
  .field-film-info .film-explainer :is(h3,a) {color:#f3fbff}

  /* These navy callouts sit inside light reading areas: give their links an
     explicit light color instead of inheriting the surrounding blue ink. */
  :is(body.home,body.interior) #main :is(.inspection-progress,.inspection-summary) a {
    color:#b9e6f4;
    text-decoration-color:currentColor;
    text-decoration-thickness:1px;
    text-underline-offset:.24em;
  }
  :is(body.home,body.interior) #main :is(.inspection-progress,.inspection-summary) a:hover {
    color:#f4d29e;
    text-decoration-thickness:2px;
  }
  :is(body.home,body.interior) #main :is(.inspection-progress,.inspection-summary) a:focus-visible {
    color:#f4d29e;
    outline:2px solid #f4d29e;
    outline-offset:4px;
    border-radius:3px;
    text-decoration-thickness:2px;
  }
  :is(body.home,body.interior) #main .inspection-progress .textlink {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    margin-top:12px;
  }

  /* Keep reading and comparison surfaces clear; polish lives around the data. */
  .measurement-example img,.credential-sheet img,.roof-color-pair img,
  .roof-color-chart img,.roof-metal-color-swatch,.actual-mark,.issuer-white,
  .career-field :is(input,select,textarea),.review-field :is(input,select,textarea) {
    background-image:none;
  }

  /* The slogan remains bright at every point in its shimmer. */
  .home .signature-art {filter:drop-shadow(0 0 15px #6bc4eb20)}
  .home .signature-title {color:#e5f7ff;text-shadow:0 2px 20px #02203780}
  .home .signature-lead {color:#d8f2ff}
  .signature-words {position:relative}
  .signature-words::before,.signature-words::after {
    content:"";position:absolute;pointer-events:none;background:#ecfbff;
    width:11px;height:11px;clip-path:polygon(50% 0,62% 37%,100% 50%,62% 63%,50% 100%,38% 63%,0 50%,38% 37%);
    filter:drop-shadow(0 0 5px #a6e2ff);opacity:.8;
  }
  .signature-words::before {right:-5px;top:17%;width:14px;height:14px}
  .signature-words::after {left:17%;bottom:-4px;width:9px;height:9px}

  @supports ((background-clip:text) or (-webkit-background-clip:text)) {
    .home .signature-title {
      background-image:linear-gradient(110deg,#c5ebff 0%,#d8f3ff 27%,#fff 43%,#fff 48%,#c5ebff 65%,#def5ff 82%,#c5ebff 100%);
      background-size:240% 100%;background-clip:text;-webkit-background-clip:text;
      -webkit-text-fill-color:transparent;
    }
  }

  @media (prefers-reduced-motion:no-preference) {
    .diamond-word-art::after {animation-name:diamond-underline-flow;animation-duration:3.6s;animation-timing-function:linear}
    .signature-rule::after {animation-name:diamond-signature-sweep;animation-duration:3.4s;animation-timing-function:linear}
    .signature-title {animation-name:diamond-signature-shine;animation-duration:4.8s;animation-timing-function:linear}
    .signature-glint {animation-duration:4.8s;animation-timing-function:linear}
    .signature-words::before,.signature-words::after {animation:diamond-signature-sparkle 3.8s ease-in-out infinite;animation-play-state:paused}
    .signature-words::after {animation-delay:-1.9s}
    .signature-art[data-animation-active=true] .signature-words::before,
    .signature-art[data-animation-active=true] .signature-words::after {animation-play-state:running}
  }
  html[data-diamond-motion=paused] .signature-words::before,
  html[data-diamond-motion=paused] .signature-words::after {animation-play-state:paused!important}
  @media (prefers-reduced-motion:reduce) {
    .signature-words::before,.signature-words::after {animation:none;opacity:.6}
    .home .signature-title {background:none;-webkit-text-fill-color:currentColor}
    .social-follow nav a {transition:none}
    .social-follow nav a:hover {transform:none}
  }
  @media (forced-colors:active),(prefers-contrast:more) {
    .signature-words::before,.signature-words::after {display:none}
    .home .signature-title {background:none;-webkit-text-fill-color:currentColor}
  }
}

@keyframes diamond-underline-flow {from{background-position:100% 50%}to{background-position:-130% 50%}}
@keyframes diamond-signature-sweep {from{transform:translateX(-110%)}to{transform:translateX(420%)}}
@keyframes diamond-signature-shine {from{background-position:100% 50%}to{background-position:-140% 50%}}
@keyframes diamond-signature-sparkle {0%,100%{opacity:.25;transform:scale(.65) rotate(0)}50%{opacity:.95;transform:scale(1) rotate(15deg)}}

/* service-atmosphere.css */
/* Diamond's public service atmosphere.
   Load last. All treatments live around the original project media, documents,
   manufacturer samples and logos; their pixels and color values are untouched.
   The page route supplied by the shared layout selects each service identity. */
@media screen {
  :is(body.home,body.interior) #main {
    --atmo-ink:#12374b;
    --atmo-copy:#324e60;
    --atmo-blue:#20718e;
    --atmo-ice:#b9e6f4;
    --atmo-bronze:#c7935e;
    --atmo-line:#94b1c0;
    --atmo-paper:#c9dce3;
    --surface-grain:repeating-linear-gradient(127deg,transparent 0 84px,#244e6310 84px 85px,transparent 85px 168px);
    --surface-steel:linear-gradient(125deg,#d6e4e9,#bfd6e1 65%,#cbd7db);
    --surface-stone:linear-gradient(120deg,#dfd1bb,#d5dcd9 55%,#bfd6df);
    --surface-card:linear-gradient(140deg,#deeaee,#cbdfe7);
  }

  /* A steel-blue canvas: the broad reading planes are visibly toned, not white. */
  body.interior #main:has(.media-hero,.rg,.ro,.inspection-package,.roof-color-gallery,.coat-section) {
    background-color:#c9dce3;
    background-image:
      var(--surface-grain),
      radial-gradient(ellipse 60rem 48rem at 100% 15%,#91bdd063,transparent 74%),
      radial-gradient(ellipse 52rem 42rem at 0 65%,#a4cbd959,transparent 76%),
      linear-gradient(150deg,#d5e3e8,#c4d9e2 54%,#d8d2c4);
  }

  :is(body.home,body.interior) #main :is(
    .field-details,.inspection-package,.muted-section,.recognition,.city-links,
    .contact-row,.ro,.ro-home,.ro-teaser,.ro-tint,.roof-comparison,.ext-projects,
    .sc-proof,.sc-coverage,.repair-gallery,.rpp-band,.owner-connections,
    .gaf-training,.website-tour,.website-review,.careers-page,.career-values,
    .career-faq,.showcase-transcript,.showcase-more,.rg-scope
  ) {
    background-color:#c8dce4;
    background-image:
      var(--surface-grain),
      radial-gradient(ellipse at 0 0,#e4edf03d,transparent 68%),
      radial-gradient(ellipse at 100% 100%,#8db7cd59,transparent 64%),
      var(--surface-steel);
    background-repeat:repeat,no-repeat,no-repeat,no-repeat;
    border-block-color:#95b1bf;
  }

  :is(body.home,body.interior) #main :is(
    .cta,.rg-end,.commercial-options,.coat-paths,.social-follow
  ) {
    background-color:#d3d7d0;
    background-image:
      var(--surface-grain),
      radial-gradient(ellipse at 100% 100%,#8db6c74d,transparent 68%),
      var(--surface-stone);
    background-repeat:repeat,no-repeat,no-repeat;
    border-block:1px solid #96aeb9;
  }

  :is(body.home,body.interior) #main :is(
    .measurement-example,.credential-card,.career-role-card,.sc-card,
    .ro-callout,.roof-paths,.project-post,.field-update,.tour-chapter-card,
    .review-toolbar,.review-manual-export,.gaf-training-card,
    .company-directory-card
  ) {
    border-color:#91b0c0;
    border-radius:18px;
    background-color:#d6e5eb;
    background-image:
      radial-gradient(ellipse at 100% 0,#a7cfdf33,transparent 68%),
      var(--surface-card);
    box-shadow:0 14px 36px #103a5018,inset 0 1px 0 #edf5f780;
  }

  /* Explicit dark ink on the toned reading planes; film stages stay bright. */
  :is(body.home,body.interior) #main :is(
    .inspection-package,.field-details,.contact-row,.repair-gallery,
    .roof-comparison,.rg-end,.commercial-options,.coat-paths,.rg-scope
  ) {
    --ink:#12374b;
    --slate:#324e60;
    --line:#94b1c0;
    --blue:#17617e;
    color:#12374b;
  }

  /* The service routes share one visual language and three material accents. */
  body[data-page="/metal-roofing/"] #main {
    --service-accent:#9fdef2;
    --service-key:#237c9a;
    --service-soft:#dceef5;
    --service-warm:#eac69a;
  }
  body[data-page="/shingle-roofing/"] #main {
    --service-accent:#f0c58d;
    --service-key:#936032;
    --service-soft:#f1e7d7;
    --service-warm:#f4d2a3;
  }
  body[data-page="/commercial/roof-coatings/"] #main {
    --service-accent:#a6e9e5;
    --service-key:#247d88;
    --service-soft:#deeff0;
    --service-warm:#e6c898;
  }

  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) #main {
    --ink:#12374b;
    --slate:#365365;
    --blue:#1b647f;
    --line:#b6cdd7;
    --cloud:#e4eff3;
    color:var(--ink);
  }

  /* Keep the crew and completed roofs visible beside the readable headline. */
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero {
    border-bottom:3px solid var(--service-accent);
    background-color:#071e2e;
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero::after {
    background:
      linear-gradient(0deg,#061d2ff5,transparent 39%),
      linear-gradient(90deg,#061a2cf5 0%,#082438e8 34%,#102b3d9c 60%,#10283933 100%);
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero::before {
    content:"";
    position:absolute;
    z-index:0;
    top:12%;
    right:6%;
    width:31%;
    height:59%;
    border:1px solid #bfe4f440;
    border-radius:2px;
    pointer-events:none;
  }

  body[data-page="/metal-roofing/"] .media-hero::before {
    transform:skewY(-9deg);
    border-color:#a4e5fd59;
    background:repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#b3e7f53b calc(25% - 1px) 25%);
    box-shadow:14px 14px 0 -13px #b0e4f442;
  }
  body[data-page="/shingle-roofing/"] .media-hero::before {
    top:14%;
    height:54%;
    transform:skewY(-7deg);
    border-color:#f2cf9e66;
    background:
      repeating-linear-gradient(0deg,transparent 0 calc(25% - 1px),#f2cf9e4a calc(25% - 1px) 25%),
      repeating-linear-gradient(90deg,transparent 0 calc(50% - 1px),#f2cf9e21 calc(50% - 1px) 50%);
    box-shadow:14px 14px 0 -13px #f2cf9e57;
  }
  body[data-page="/commercial/roof-coatings/"] .media-hero::before {
    top:13%;
    height:53%;
    transform:skewY(-8deg);
    border-color:#a6e9e566;
    border-radius:2px 2px 46px 2px;
    background:
      linear-gradient(0deg,#a6e9e512,transparent 65%),
      repeating-linear-gradient(0deg,transparent 0 calc(33.333% - 1px),#a6e9e545 calc(33.333% - 1px) 33.333%);
    box-shadow:15px 15px 0 -14px #a6e9e554,30px 30px 0 -29px #a6e9e533;
  }

  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero-body {
    position:relative;
    z-index:1;
    min-height:clamp(640px,76vh,860px);
    gap:42px;
    padding-top:clamp(64px,7.5vw,108px);
    padding-bottom:24px;
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero-copy {
    max-width:820px;
    padding-left:clamp(16px,2vw,28px);
    border-left:2px solid var(--service-accent);
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero .kicker {
    color:var(--service-accent);
    line-height:1.5;
    letter-spacing:.14em;
    margin-bottom:20px;
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero h1 {
    color:#f5fbff;
    font-size:clamp(3.1rem,5.6vw,5.6rem);
    line-height:1.025;
    max-width:18ch;
    text-shadow:0 2px 26px #06162255;
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero-summary {
    max-width:56ch;
    color:#e5f0f7;
    font-size:clamp(1.05rem,1.25vw,1.16rem);
    line-height:1.75;
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero .btn.pale {
    background:#efd0a5;
    border:1px solid #ffe7c6;
    color:#182b36;
    box-shadow:0 9px 26px #020f2033,inset 0 1px 0 #fff8;
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero-gallery {
    color:#edf8ff;
    text-decoration-color:var(--service-accent);
    text-decoration-thickness:1px;
    text-underline-offset:6px;
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero-caption {
    padding-top:20px;
    border-top:1px solid #c7e7f33d;
    color:#d9eaf3;
    line-height:1.5;
    margin-top:8px;
  }
  body:is(
    [data-page="/metal-roofing/"],
    [data-page="/shingle-roofing/"],
    [data-page="/commercial/roof-coatings/"]
  ) .media-hero-caption>span {
    max-width:72ch;
  }

  /* Service shortcuts read as a useful material guide below the film. */
  :is(body.home,body.interior) #main .system-nav {
    background:var(--surface-grain),linear-gradient(115deg,#adcbd9,#cfdee4 53%,#d8cfbe);
    border-block:1px solid #abc3d0;
    box-shadow:0 9px 24px #0c324609;
  }
  :is(body.home,body.interior) #main :is(.system-nav,.coat-guide-nav) a {
    color:#1d5068;
    text-decoration-color:#7fabbc;
    text-underline-offset:5px;
  }
  body[data-page="/commercial/roof-coatings/"] .coat-guide-nav {
    padding-block:24px;
    gap:10px 14px;
    border-bottom-color:#a7c9ce;
  }
  body[data-page="/commercial/roof-coatings/"] .coat-guide-nav a {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:9px 15px;
    border:1px solid #afccd4;
    border-radius:999px;
    background:#dce9ed;
    font-size:.9rem;
  }

  /* Broad blue planes give the service guides a crafted, consistent rhythm. */
  body[data-page="/metal-roofing/"] #compare,
  body[data-page="/metal-roofing/"] #metal-colors {
    background:
      linear-gradient(90deg,#5d99b40a 1px,transparent 1px) 0 0 / 84px 100%,
      linear-gradient(120deg,#b9d5e0,#d3e2e7 64%,#bfd6df);
    border-block:1px solid #b6cdd8;
  }
  body[data-page="/shingle-roofing/"] #hires-road-project,
  body[data-page="/shingle-roofing/"] #uhdz-colors {
    background:
      linear-gradient(140deg,transparent 0 83%,#af8a5a0b 83% 83.2%,transparent 83.2%),
      linear-gradient(115deg,#ddceb7,#d7e0e1 52%,#bed5df);
    border-block:1px solid #c9c8bb;
  }
  body[data-page="/commercial/roof-coatings/"] #roof-assessment,
  body[data-page="/commercial/roof-coatings/"] #restoration-process {
    background:
      radial-gradient(ellipse at 100% 0,#badfe55e,transparent 65%),
      linear-gradient(130deg,#bcd8da,#d5e4e4 60%,#bfd3df);
    border-block:1px solid #b3cdd3;
  }

  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .rg-options {
    gap:20px;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .rg-options>article,
  body[data-page="/commercial/roof-coatings/"] .coat-decisions>article {
    min-width:0;
    padding:clamp(22px,2.4vw,34px);
    border:1px solid #b2cbd6;
    border-top:3px solid var(--service-key);
    border-radius:3px 18px 18px 18px;
    background:var(--surface-card);
    box-shadow:0 14px 30px #12374b15,inset 0 1px 0 #edf5f780;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .rg-options h3,
  body[data-page="/commercial/roof-coatings/"] .coat-decisions h3 {
    color:#12374b;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .install-steps {
    gap:20px;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .install-steps li {
    padding:24px 24px 22px 74px;
    border:1px solid #b4ccd6;
    border-radius:16px;
    background:var(--surface-card);
    box-shadow:0 9px 24px #0d314708;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .install-steps li::before {
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    top:24px;
    left:22px;
    color:#f4fbff;
    background:#17475e;
    border:1px solid #497c91;
    border-radius:10px 3px 10px 3px;
    font-size:.9rem;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .install-steps p {
    color:#365365;
  }
  body[data-page="/metal-roofing/"] .fastener-offer {
    border:1px solid #adc8d5;
    border-left:4px solid #ae7b48;
    border-radius:0 18px 18px 0;
    background:linear-gradient(115deg,#deccae,#c4d9e3 72%);
    color:#173b50;
  }

  /* A deeper blue interlude separates coverage and coating-system details. */
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .coverage-band,
  body[data-page="/commercial/roof-coatings/"] .coat-materials {
    --ink:#eef8ff;
    --slate:#d3e5ef;
    --blue:#b4e5f7;
    color:#eef8ff;
    background:
      linear-gradient(125deg,transparent 0 77%,#bfe8fa09 77% 77.15%,transparent 77.15%),
      radial-gradient(ellipse at 100% 0,#2a63775c,transparent 61%),
      linear-gradient(120deg,#0b293c,#10374a 60%,#0b2637);
    border-block:1px solid #567b8e;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .coverage-band :is(h2,h3),
  body[data-page="/commercial/roof-coatings/"] .coat-materials :is(h2,h3) {
    color:#f0f9ff;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .coverage-band p,
  body[data-page="/commercial/roof-coatings/"] .coat-materials :is(p,dd) {
    color:#d6e7f0;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .coverage-grid>article,
  body[data-page="/commercial/roof-coatings/"] .coat-material-grid>article {
    min-width:0;
    padding:24px;
    border:1px solid #60879b;
    border-top:3px solid var(--service-accent);
    border-radius:3px 16px 16px 16px;
    background:linear-gradient(140deg,#234d6299,#0b2b4199);
    box-shadow:0 14px 28px #03111a1c;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .coverage-term,
  body[data-page="/commercial/roof-coatings/"] .coat-materials .coat-eyebrow {
    color:#f4d29e;
  }
  body[data-page="/commercial/roof-coatings/"] .coat-materials .coat-source {
    color:#d6e7f0;
  }
  body[data-page="/commercial/roof-coatings/"] .coat-substrates {
    border-top-color:#678c9c;
  }
  body[data-page="/commercial/roof-coatings/"] .coat-process-grid>article {
    padding:18px;
    border:1px solid #afccd6;
    border-radius:16px;
    background:var(--surface-card);
    box-shadow:0 12px 26px #163c4a0d;
  }
  body[data-page="/commercial/roof-coatings/"] .coat-process-grid img {
    border-radius:9px;
  }
  body[data-page="/commercial/roof-coatings/"] .coat-process-grid figcaption {
    color:#365466;
  }

  /* The gallery surround changes; the manufacturer artwork never does. */
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) :is(.roof-color-card,.roof-metal-color) {
    border-color:#b3c9d3;
    border-radius:14px;
    background:#d5e4ea;
    box-shadow:0 12px 24px #163c4a0d;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .roof-color-card-heading {
    border-bottom:1px solid #c1d2db;
    background:linear-gradient(115deg,#c6dde6,#b9d1df);
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .roof-color-card-heading h4 {
    color:#153a50;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) :is(.roof-color-card-source,.roof-metal-color figcaption span) {
    color:#365466;
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .roof-color-source-note {
    border:1px solid #bacad2;
    border-left:4px solid #b78250;
    border-radius:0 16px 16px 0;
    background:linear-gradient(115deg,#dbcfb8,#c6dce4);
  }
  body[data-page="/shingle-roofing/"] .shingle-project-photos figure {
    padding:14px;
    border:1px solid #b6cbd5;
    border-radius:17px;
    background:#d5e4ea;
    box-shadow:0 14px 28px #163c4a0f;
  }
  body[data-page="/shingle-roofing/"] .shingle-project-photos a {
    border-radius:9px;
  }

  /* Readable question panels, without changing their native disclosure UX. */
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .rg-questions details,
  body[data-page="/commercial/roof-coatings/"] .coat-faq details {
    padding-inline:20px;
    border:1px solid #b4cbd6;
    border-radius:12px;
    margin-bottom:10px;
    background:var(--surface-card);
  }
  body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .rg-questions details[open],
  body[data-page="/commercial/roof-coatings/"] .coat-faq details[open] {
    border-color:#5c8da5;
    box-shadow:inset 3px 0 0 #528ba4;
  }

  /* Carry the same toned surfaces through partner stories, directories and
     supporting articles. Each selector names an existing light reading area. */
  :is(body.home,body.interior) #main :is(
    .company-directory,.yp-intro,.yp-options,.yp-color-section,
    .yp-planning,.yp-faq-section
  ) {
    background-color:#c8dce4;
    background-image:var(--surface-grain),var(--surface-steel);
    border-block-color:#96b2bf;
  }
  :is(body.home,body.interior) #main :is(
    .cooling-study,.supplier-contact,.yp-planning
  ) {
    background-color:#d3d7d0;
    background-image:var(--surface-grain),var(--surface-stone);
    border-color:#94b1bf;
  }
  :is(body.home,body.interior) #main :is(
    .yp-profile-card,.yp-contact-card,.coating-spec-card,
    .career-repeat-card,.career-upload,.career-receipt,
    .company-directory-empty
  ) {
    background-color:#d6e5eb;
    background-image:var(--surface-card);
    border-color:#94b3c2;
    box-shadow:0 10px 26px #12374b10;
  }
  body.interior #main .yp-page {
    --yp-ice:#c9dce3;
    --yp-line:#94b1c0;
    --yp-copy:#324e60;
  }
  body.interior #main :is(.yp-catalog-note,.yp-warranty) {
    background:linear-gradient(115deg,#c0d8e3,#d3dfdf);
    border-color:#96b4c3;
    border-left-color:#a77c49;
  }
  body.interior #main :is(
    .yp-intro,.yp-options,.yp-color-section,.yp-planning,.yp-faq-section
  ) :is(.yp-source,.yp-eyebrow,.yp-fact-strip dt,.yp-color-label) {
    color:#365466;
  }
  :is(body.home,body.interior) #main .coating-spec-label {
    color:#3b5869;
  }

  /* Tables stay calm and legible on steel-blue paper. The dark column header
     and the actual report, photographs, product samples and logos are intact. */
  body.interior #main .ro-table {background:#dce8ed}
  body.interior #main .ro-table caption {background:#bcd5e1;color:#173b50}
  body.interior #main .ro-table tbody tr:nth-child(even) {background:#c9dce5}
  body.interior #main .ro-table :is(th,td) {border-bottom-color:#a2bcc9}
  body.interior #main .ro-layers li {background:#d6e4ea}
  body.interior #main .ro-layers li:nth-child(2) {background:#d7cfbf}
  body.interior #main .ro-layers li:nth-child(3) {background:#bdd2de}
  body.interior #main :is(.ro,.rating-detail) .percentage-chart:not(.percentage-chart-compact) {
    background:#d4e4eb;
  }

  /* Shorter reading-section spacing keeps the page moving without crowding
     forms or changing the cinematic height of the video openings. */
  body.interior #main :is(.section,.ro-section,.rg-section,.coat-section,.yp-section):not(.media-hero) {
    padding-block:clamp(46px,5.5vw,84px);
  }
  :is(body.home,body.interior) #main :is(
    .inspection-package,.field-details,.commercial-options,.coat-paths,
    .social-follow,.recognition,.owner-connections,.gaf-training
  ) {
    padding-block:clamp(46px,5.5vw,84px);
  }
  body.interior #main .company-directory {padding-bottom:clamp(48px,6vw,84px)}

  /* No new autonomous animation: media and word art retain the shared pause
     control. Decorative finishing adds only a short, optional hover response. */
  @media (hover:hover) and (prefers-reduced-motion:no-preference) {
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero .btn.pale {
      transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
    }
    html:not([data-diamond-motion="paused"]) body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero .btn.pale:hover {
      transform:translateY(-2px);
      background:#f7ddb7;
      box-shadow:0 13px 30px #020f2047,inset 0 1px 0 #fff8;
    }
  }
  html[data-diamond-motion="paused"] .media-hero .btn.pale {
    transition:none;
  }

  @media (max-width:900px) {
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero::before {
      width:34%;
      right:4%;
      opacity:.6;
    }
    body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .install-steps li {
      padding:22px 20px 22px 66px;
    }
    body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .install-steps li::before {
      top:22px;
      left:18px;
    }
  }
  @media (max-width:620px) {
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero-body {
      min-height:0;
      padding-top:64px;
      padding-bottom:22px;
      gap:32px;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero::after {
      background:
        linear-gradient(0deg,#061d2ff7,transparent 65%),
        linear-gradient(90deg,#071e31eb,#0b2638c4 65%,#102b3ba8);
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero::before {
      top:24px;
      right:22px;
      width:110px;
      height:84px;
      opacity:.45;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero-copy {
      padding-left:15px;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero h1 {
      font-size:clamp(2.5rem,10vw,3.65rem);
      line-height:1.05;
      letter-spacing:-.045em;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero .kicker {
      font-size:.76rem;
      letter-spacing:.11em;
      margin-bottom:19px;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero-summary {
      font-size:1rem;
      line-height:1.7;
      margin-top:22px;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero .actions {
      align-items:flex-start;
      gap:18px;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero .btn.pale {
      padding:15px 20px;
      white-space:normal;
      line-height:1.4;
      text-align:center;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero-caption {
      font-size:.81rem;
      gap:14px;
      margin-top:0;
    }
    body[data-page="/commercial/roof-coatings/"] .coat-guide-nav {
      gap:8px;
      padding-block:20px;
    }
    body[data-page="/commercial/roof-coatings/"] .coat-guide-nav a {
      padding:8px 12px;
      font-size:.84rem;
    }
    body:is([data-page="/metal-roofing/"],[data-page="/shingle-roofing/"]) .coverage-grid>article,
    body[data-page="/commercial/roof-coatings/"] .coat-material-grid>article {
      padding:22px;
    }
    body[data-page="/shingle-roofing/"] .shingle-project-photos figure {
      padding:10px;
      border-radius:14px;
    }
  }

  @media (prefers-reduced-motion:reduce) {
    .media-hero .btn.pale {transition:none;transform:none}
  }
  @media (forced-colors:active) {
    .media-hero::before {display:none}
    body.interior #main:has(.media-hero,.rg,.ro,.inspection-package,.roof-color-gallery,.coat-section) {
      background:Canvas;
      color:CanvasText;
    }
    body:is(
      [data-page="/metal-roofing/"],
      [data-page="/shingle-roofing/"],
      [data-page="/commercial/roof-coatings/"]
    ) .media-hero h1 {
      text-shadow:none;
    }
  }
}

/* gold-flag-header.css */
/* Match the full Golden Break composition on both the first frame and the film. */
.home .header-mast {
  --gold-width: min(100vw, 600px);
  --gold-height: min(52.5vw, 315px);
  --gold-center: calc(var(--gold-height) / 2);
  background: #0a1825;
}
.home .nav-head .brand-stage,
.home .nav-head .nav-row > .brand-home-link {
  inset: var(--gold-center) auto auto 50%;
  width: var(--gold-width);
  height: var(--gold-height);
  transform: translate(-50%, -50%);
}
.home .nav-head .brand-stage,
html[data-diamond-motion=paused] .home .nav-head .brand-stage {
  background: #0a1825 url("/assets/diamond-brand/diamond-golden-break-masthead-v1.webp") center / contain no-repeat;
}
.home .nav-head .brand-stage::after {content: none}
.home .nav-head .brand-stage-film,
html[data-diamond-motion=paused] .home .nav-head .brand-stage-film {
  display: block;
  object-fit: contain;
  visibility: visible;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .home .nav-head .brand-stage-film.is-playing:not([data-motion-paused="true"]) {opacity: 1}
}
.home .nav-head .nav-actions {position: relative; z-index: 1}
@media (min-width: 1101px) {
  .home .nav-head .nav-row {
    grid-template-rows: var(--gold-height) auto;
  }
  .home .nav-head .nav-row > .navlinks {grid-column: 1 / 3; justify-self: start}
  .home .nav-head .nav-row > .nav-actions {grid-row: 2; justify-self: end}
}
@media (max-width: 1100px) {
  .home .nav-head .nav-row {
    min-height: var(--gold-height);
    padding-block: 0;
  }
  .js .home .nav-head .nav-row {grid-template-rows: var(--gold-height) auto}
  .js .home .nav-head .nav-row > .nav-actions {grid-row: 2}
  .home .nav-head .nav-row > .navlinks.open {z-index: 2}
  html:not(.js) .home .nav-head .nav-row {grid-template-rows: var(--gold-height) auto auto}
  html:not(.js) .home .nav-head .nav-row > .nav-actions {grid-row: 3}
}

/* The side footage spans from the edges of the page to the original wordmark.
   Posters are CSS backgrounds inside the desktop breakpoint, so mobile visitors
   neither fetch the side posters nor open the two video streams. */
.header-work {display: none}
@media (min-width: 1101px) {
  .home .header-mast {
    --gold-width: clamp(400px, 33.333333vw, 600px);
    --gold-height: clamp(210px, 17.5vw, 315px);
  }
  .home .header-work {
    position: absolute;
    z-index: -2;
    display: block;
    top: 0;
    width: calc((100% - var(--gold-width)) / 2);
    height: var(--gold-height);
    overflow: hidden;
    pointer-events: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--work-focus);
  }
  .header-work-left {
    --work-focus: 50% 50%;
    left: 0;
    background-image: url('/assets/header-work/drone-v1.jpg');
  }
  .header-work-right {
    --work-focus: 50% 58%;
    right: 0;
    background-image: url('/assets/header-work/fiberseal-v1.jpg');
  }
  .header-work video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: var(--work-focus);
    opacity: 0;
  }
  .header-work video.has-frame {opacity: 1}
  .header-work::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(var(--work-edge), #0a182500 85%, #0a1825 100%);
  }
  .header-work-left {--work-edge: to right}
  .header-work-right {--work-edge: to left}
}
@media (prefers-reduced-motion: reduce) {
  .header-work video.has-frame {opacity: 0}
}

/* The mobile review bar already carries Assessment. Keep the hamburger on
   the art so the two touch targets do not need an extra row between them. */
@media (max-width: 760px) {
  .js .home .nav-head .nav-row {
    grid-template-rows: var(--gold-height);
  }
  .js .home .nav-head .nav-row > .nav-actions {
    grid-row: 1;
    align-self: end;
    margin-bottom: 6px;
  }
  .js .home .nav-head .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d4c3a4;
    border-radius: 50%;
    color: #fff5e5;
    background: #071521ec;
  }
  html:not(.js) .home .nav-head .nav-row {
    grid-template-rows: var(--gold-height) auto;
  }
  html:not(.js) .home .nav-head .nav-actions {
    display: none;
  }
}

/* Use the outside edge of the awards bar and the existing space below the footer. */
body.home {position:relative}
.home-jump {
  position:absolute; right:max(2px, env(safe-area-inset-right)); z-index:3;
  width:34px; height:36px; display:grid; place-items:center; text-decoration:none;
  color:#fff; font:600 18px/1 system-ui; border-radius:50%;
}
.home-jump span {
  display:grid; place-items:center; width:23px; height:23px; border-radius:50%;
  background:rgb(17 32 38 / .66); border:1px solid rgb(255 255 255 / .5);
}
.home-jump:hover span,.home-jump:focus-visible span {background:#183441}
.home-jump:focus-visible {outline:2px solid #eba84c;outline-offset:-2px}
.home .jump-down {top:0}
.home .jump-up {bottom:max(2px,env(safe-area-inset-bottom))}
@media (prefers-reduced-motion:no-preference) {
  .home-jump span {animation:jump-appear .45s ease-out both}
  @keyframes jump-appear {from {opacity:0;transform:translateY(3px)} to {opacity:1;transform:translateY(0)}}
}

@media (max-width: 760px) {
  .home .nav-head {display:grid;grid-template-columns:minmax(0,1fr)}
  .home .nav-head .header-mast {grid-area:1 / 1}
  .home .nav-head .mobile-header-actions {grid-area:2 / 1}
  .home .nav-head .jump-down {grid-area:2 / 1;top:7px}
}
@media (min-width: 521px) and (max-width: 760px) {
  .home .nav-head .mobile-header-actions {padding-inline-end:max(38px,env(safe-area-inset-right))}
}
@media (max-width: 520px) {
  .home .nav-head .mobile-header-actions .header-google {margin-inline-end:25px}
}

/* assessment-actions.css */
/* Use the form destination so new service pages inherit the same treatment.
   Tour and review links are previews of the form. */
header a:where(.btn)[href^="/estimate/"],
main a[href^="/estimate/"]:not(.tour-page-link):not(.review-section-link),
footer a.btn[href^="/estimate/"],
.rx-inspection-action,
.price-form .price-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Individual page themes set their own hover and text colors. */
  color: #102b39 !important;
  border-color: #a3c5c8;
  background-color: #a4d7e9;
}

/* A separate layer lets the homepage reveal sequence keep its own animation. */
header a:where(.btn)[href^="/estimate/"]::before,
main a[href^="/estimate/"]:not(.tour-page-link):not(.review-section-link)::before,
footer a.btn[href^="/estimate/"]::before,
.rx-inspection-action::before,
.price-form .price-submit::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; bottom: 0; left: 0; right: var(--assessment-sweep-edge, -70%);
  pointer-events: none;
  background: linear-gradient(100deg, #69c6ea 6%, #9ed5e5 28%, #e2d2ae 52%, #f2ce99 72%, #e9b870 96%);
  animation: var(--assessment-sweep, assessment-color-sweep 5.5s ease-in-out infinite alternate);
  animation-play-state: var(--assessment-play-state, running);
}

/* Each faceted star in the decorative image has its own twist and pulse. */
:is(header a:where(.btn)[href^="/estimate/"],
    main a[href^="/estimate/"]:not(.tour-page-link, .review-section-link),
    footer a.btn[href^="/estimate/"],
    .rx-inspection-action, .price-form .price-submit)::after {
  content: "";
  display: var(--assessment-sparkle-display, block);
  position: absolute;
  inset: 0 var(--assessment-stars-inset, clamp(3px, 1.4%, 10px)) auto auto;
  width: var(--assessment-stars-width, 54px);
  height: auto;
  aspect-ratio: 2;
  z-index: 1;
  pointer-events: none;
  transform: none;
  animation: none; /* The three stars animate inside this fixed corner. */
  background: var(--assessment-stars, url("/assets/assessment-star-trio.svg")) center / contain no-repeat;
}

header a:where(.btn)[href^="/estimate/"] { --assessment-stars-width: 38px; }
header a:where(.btn)[href^="/estimate/"] > :is(.full-label, .small-label) { padding-inline-end: .9em; }
@media (max-width: 760px) {
  header a:where(.btn)[href^="/estimate/"] {
    --assessment-stars-width: 32px;
    --assessment-stars-inset: 1px;
  }
}
@media (max-width: 360px) {
  header a:where(.btn)[href^="/estimate/"] { --assessment-stars-width: 29px; }
  header a:where(.btn)[href^="/estimate/"] > :is(.full-label, .small-label) { padding-inline-end: .15em; }
}

html[data-diamond-motion="paused"], [data-motion-visible="false"], .price-submit:disabled {
  --assessment-play-state: paused;
  --assessment-stars: url("/assets/assessment-star-trio.svg#still");
}

@keyframes assessment-color-sweep {
  from { transform: translateX(0); }
  to { transform: translateX(-41%); }
}

@media (prefers-reduced-motion: reduce) {
  :root { --assessment-sweep: none; --assessment-sweep-edge: 0; --assessment-stars: url("/assets/assessment-star-trio.svg#still"); }
}

.textlink[href^="/estimate/"], .ro-light-link[href^="/estimate/"],
.coat-film-player figcaption a[href^="/estimate/"] {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  padding: .55em 1em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}
.textlink[href^="/estimate/"] { padding-inline-end: 1.6em; }

/* Reserve room for the entire cluster at the widest point of each pulse. */
:is(main a[href^="/estimate/"]:not(.tour-page-link, .review-section-link),
    footer a.btn[href^="/estimate/"], .rx-inspection-action, .price-form .price-submit) {
  padding-inline-end: 3.6rem;
}

.showcase-destinations a[href^="/estimate/"] strong,
.showcase-destinations a[href^="/estimate/"] span { color: inherit; }

header a:where(.btn)[href^="/estimate/"]:focus-visible,
main a[href^="/estimate/"]:not(.tour-page-link):not(.review-section-link):focus-visible,
footer a.btn[href^="/estimate/"]:focus-visible,
.rx-inspection-action:focus-visible,
.price-form .price-submit:focus-visible {
  outline: 3px solid #145a78;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}

@media (forced-colors: active) {
  :root { --assessment-sparkle-display: none; }

  header a:where(.btn)[href^="/estimate/"],
  main a[href^="/estimate/"]:not(.tour-page-link):not(.review-section-link),
  footer a.btn[href^="/estimate/"],
  .rx-inspection-action,
  .price-form .price-submit {
    color: ButtonText !important;
    border: 1px solid ButtonText;
    background: ButtonFace;
  }
  header a:where(.btn)[href^="/estimate/"]::before,
  main a[href^="/estimate/"]:not(.tour-page-link):not(.review-section-link)::before,
  footer a.btn[href^="/estimate/"]::before,
  .rx-inspection-action::before,
  .price-form .price-submit::before {
    display: none;
  }
}

/* mobile-header-actions.css */
.nav-head > .mobile-header-actions {
  display: none;
}

.nav-head .emergency-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid #dc9388;
  border-radius: 999px;
  background: #642837;
  color: #fff7f3;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.nav-head .emergency-header-link:hover { background: #7c3341; }
.nav-head .emergency-header-link:focus-visible {
  outline: 3px solid #fff2c9;
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .nav-head > .header-recognition:not(.mobile-header-actions),
  .nav-head .nav-actions > .btn,
  .nav-head .nav-actions > .emergency-header-link {
    display: none;
  }

  /* Keep the open menu in front of the action row below the mast. */
  .nav-head .header-mast {
    z-index: 1;
  }

  .nav-head > .mobile-header-actions {
    display: grid;
    grid-template-columns: auto minmax(0, max-content) auto minmax(min-content, max-content);
    justify-content: start;
    align-items: center;
    column-gap: clamp(3px, 1.2vw, 10px);
    padding: 5px max(6px, env(safe-area-inset-right)) 5px max(6px, env(safe-area-inset-left));
    border-block: 1px solid #476273;
  }

  .mobile-header-actions > a {
    min-height: 44px;
  }

  .mobile-header-actions > .header-award {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .mobile-header-actions > .header-award strong {
    margin: 0;
    font-size: clamp(.75rem, 2.85vw, 1rem);
  }

  .mobile-header-actions > .header-google {
    gap: 3px;
    padding-left: clamp(3px, 1.2vw, 10px);
    font-size: clamp(.7rem, 2.8vw, .8rem);
  }

  .mobile-header-actions .header-google img {
    width: clamp(15px, 4.5vw, 24px);
    height: auto;
    padding: 2px;
  }

  .mobile-header-actions .header-google strong {
    white-space: nowrap;
  }

  .mobile-header-actions .header-google strong span {
    font-size: .64rem;
    letter-spacing: 0;
  }

  .mobile-header-actions > .mobile-assessment {
    padding: .45rem clamp(.3rem, 1.6vw, .8rem);
    border-radius: 999px;
    font-size: clamp(.75rem, 2.95vw, .9rem);
    font-weight: 750;
    white-space: nowrap;
    text-align: center;
  }

  .mobile-header-actions > .emergency-header-link {
    padding-inline: clamp(.3rem, 1.6vw, .8rem);
    font-size: clamp(.75rem, 2.95vw, .9rem);
    white-space: normal;
  }
}

@media (max-width: 374px) {
  .mobile-header-actions > .emergency-header-link { max-width: 6.2em; }
}

/* Each rating has a centered label and score. Keep the pair balanced around the divider. */
.nav-head .header-recognition .header-award {text-align:center;justify-content:center;align-items:center}
.nav-head .header-recognition .header-google {text-align:center;justify-content:center}
.nav-head .header-recognition .header-google > span {white-space:nowrap}
@media (min-width:761px) {
  .nav-head > .header-recognition:not(.mobile-header-actions) {display:grid;grid-template-columns:1fr 1fr;gap:0}
  .nav-head .header-recognition > .header-award {justify-self:end;display:flex;align-items:center;flex-direction:column;gap:0;padding-inline:20px}
  .nav-head .header-recognition > .header-google {justify-self:start;padding:4px 20px}
}
@media (min-width:521px) and (max-width:760px) {
  .nav-head > .mobile-header-actions {justify-content:center}
}
@media (max-width:520px) {
  .nav-head > .mobile-header-actions {
    grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center;column-gap:8px;row-gap:4px;
    padding:5px max(12px,env(safe-area-inset-right)) 7px max(12px,env(safe-area-inset-left));
  }
  .mobile-header-actions > .header-award,.mobile-header-actions > .header-google {justify-self:stretch;margin:0}
  .mobile-header-actions > .header-google {padding:0;font-size:.78rem}
  .mobile-header-actions > .mobile-assessment,.mobile-header-actions > .emergency-header-link {max-width:none;min-height:44px;font-size:.84rem;white-space:nowrap}
}
.foot .footer-social {width:100%;align-self:stretch;align-items:center}
.foot .footer-social nav.social-links {width:100%;justify-content:center;gap:clamp(6px,3vw,16px)}

.nav-service-top .share-site-link {color:#e0eaf0;text-decoration:underline;text-underline-offset:4px}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html:not([data-diamond-motion=paused]) .nav-head .emergency-header-link:hover {animation:leak-beacon 1.6s ease-in-out infinite alternate}
}
@keyframes leak-beacon {
  0%,25% {color:#fff;background:#921b30;border-color:#ffacb5;box-shadow:0 0 12px #f1254566}
  75%,100% {color:#811128;background:#fff7f3;border-color:#fff;box-shadow:0 0 15px #fff4eb70}
}
@media (prefers-reduced-motion:reduce) {
  .nav-head .emergency-header-link:hover {color:#85162a;background:#fff5f0}
}

/* Link groups make the same destinations easy to scan at phone and desktop widths. */
.foot > .shell > .footer-navigation[aria-label="Footer"] {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1.25rem 1.5rem;flex:1 1 100%;min-width:0;max-width:none;width:100%;
  padding:clamp(1rem,3vw,2rem);
}
.footer-navigation .footer-link-group {min-width:0}
.footer-navigation h2 {margin:0 0 .5rem;color:#ecd5aa;font-weight:700;font-family:inherit;font-size:.83rem;line-height:1.4;letter-spacing:.06em}
.footer-navigation ul {display:grid;gap:.125rem;margin:0;padding:0;list-style:none}
.footer-navigation li a {display:inline-flex;align-items:center;min-height:2rem;line-height:1.35;overflow-wrap:anywhere}
.footer-navigation .footer-partners {grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.5rem;border-top:1px solid #416174;padding-top:.75rem}
.foot .footer-social .social-links a,
.foot .footer-social .social-links .social-brand-mark {background:#f5fafc;border-radius:11px}
.foot .footer-social .social-brand-mark:is([data-social-brand="x"],[data-social-brand="tiktok"]) img {filter:brightness(0)!important}
.foot .footer-logo-stage {width:100%;overflow:hidden;background:#0a1e2d;margin:0}
.foot .footer-logo-art {
  width:100%;max-width:1280px;aspect-ratio:16 / 9;
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
@media(max-width:850px){
  .foot > .shell > .footer-navigation[aria-label="Footer"] {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem .85rem}
  .footer-navigation li a {min-height:2.5rem}
  .foot .footer-logo-stage {border-radius:12px}
}
