/* Newark NJ Roofing: "tar paper & signal". Graphite, concrete, signal-yellow calls, brick accents.
   Mobile first. Pages work with JavaScript off; the script only adds menu states. */
:root {
  --graphite: #26282C;
  --graphite-2: #3A3D43;
  --signal: #F2C230;
  --signal-dark: #D9A916;
  --brick: #9E4630;
  --concrete: #F1F0EC;
  --concrete-2: #E3E1DA;
  --ink: #1C1D20;
  --ink-soft: #5B5E64;
  --line: #D3D0C8;
  --hd: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --tx: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.03rem/1.62 var(--tx); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brick); text-underline-offset: .18em; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 3px solid var(--signal-dark); outline-offset: 3px; }

h1, h2, h3 { margin: 0 0 .55em; font-family: var(--hd); color: var(--graphite); line-height: 1.14; letter-spacing: -.012em; }
h1 { font-weight: 700; font-size: clamp(2.05rem, 1.45rem + 2.7vw, 3.3rem); }
h2 { font-weight: 700; font-size: clamp(1.38rem, 1.1rem + 1.2vw, 1.95rem); }
h3 { font-weight: 700; font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .32em; }
li::marker { color: var(--brick); }
strong { font-weight: 600; }

.nr-wrap { max-width: var(--width); margin: 0 auto; padding: 0 16px; }
.nr-prose { max-width: 740px; }
.nr-small { font-size: .88rem; color: var(--ink-soft); }
.nr-skip-link { position: absolute; left: -9999px; top: 6px; z-index: 300; padding: 10px 16px; background: var(--signal); color: var(--ink); }
.nr-skip-link:focus { left: 6px; }

/* ---------- buttons: signal yellow with black text */
.nr-btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.3em; border: 0; border-radius: 3px; font: 700 1rem/1 var(--hd); text-decoration: none; cursor: pointer; }
.nr-btn svg { flex: none; width: 1.1em; height: 1.1em; }
.nr-btn--amber { background: var(--signal); color: var(--ink); }
.nr-btn--amber:hover { background: var(--signal-dark); color: var(--ink); }
.nr-btn--lg { padding: 1em 1.5em; font-size: 1.1rem; }

/* ---------- utility bar + header */
.nr-header-top { background: var(--graphite); color: #D6D7DA; font: 500 .84rem/1.2 var(--hd); }
.nr-header-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 7px; padding-bottom: 7px; }
.nr-header-top a { display: inline-flex; align-items: center; gap: 6px; color: var(--signal); text-decoration: none; }
.nr-header-top svg { width: 14px; height: 14px; }
.nr-header-top__area { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.nr-site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 16px rgba(38, 40, 44, .06); }
.nr-site-nav__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 66px; }
.nr-nav__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--graphite); text-decoration: none; }
.nr-nav__logo svg { flex: none; width: 42px; height: 42px; }
.nr-nav__logo-text { display: flex; flex-direction: column; font-family: var(--hd); line-height: 1.12; }
.nr-nav__logo-text b { font-weight: 700; font-size: 1.08rem; }
.nr-nav__logo-text span { color: var(--ink-soft); font-size: .76rem; font-weight: 500; }
.nr-nav__call-mobile { padding: .65em .9em; font-size: .95rem; }
.nr-nav__toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; background: var(--graphite); border: 0; border-radius: 3px; cursor: pointer; }
.nr-nav__toggle span { width: 20px; height: 2px; background: #fff; }

.nr-nav__links { display: none; width: 100%; margin: 0; padding: 4px 0 14px; list-style: none; }
.nr-site-nav.is-open .nr-nav__links { display: block; }
/* No-JS fallback, phones only: focusing the menu button opens the list. */
@media (max-width: 979px) { html:not(.menu-ready) .nr-site-nav:focus-within .nr-nav__links { display: block; } }
.nr-nav__links > li { position: relative; margin: 0; border-top: 1px solid var(--concrete-2); }
.nr-nav__links a { display: block; padding: 12px 2px; color: var(--graphite); font: 700 1rem/1.3 var(--hd); text-decoration: none; }
.nr-has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
.nr-has-dropdown > a { flex: 1; }
.nr-dropdown__toggle { width: 44px; height: 44px; background: none; border: 0; color: var(--brick); font-size: 1rem; cursor: pointer; }
.nr-dropdown { display: none; width: 100%; margin: 0; padding: 0 0 8px 14px; list-style: none; }
.nr-has-dropdown.is-open .nr-dropdown, html:not(.menu-ready) .nr-has-dropdown:focus-within .nr-dropdown { display: block; }
.nr-dropdown a { padding: 8px 2px; font: 400 .98rem/1.3 var(--tx); }

/* Two-line header call ("Call now" / number). The menu's link colour must not override the button text. */
.nr-nav__call-item { padding-top: 10px; }
.nr-nav__links .nr-nav__call--two { display: inline-flex; width: 100%; justify-content: center; padding: .6em 1em; color: var(--ink); }
.nr-nav__links .nr-nav__call--two:hover { color: var(--ink); background: var(--signal-dark); }
.nr-nav__call-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.nr-nav__call-label { font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.nr-nav__call-num { font-size: 1.02rem; font-weight: 700; }

@media (min-width: 980px) {
  .nr-site-nav__inner { flex-wrap: nowrap; min-height: 80px; }
  .nr-nav__call-mobile, .nr-nav__toggle { display: none; }
  .nr-nav__links { display: flex; align-items: center; gap: 0; width: auto; padding: 0; }
  .nr-nav__links > li { border: 0; }
  .nr-nav__links a { padding: 10px 12px; font-size: .96rem; }
  .nr-nav__links > li > a:hover { color: var(--brick); }
  .nr-has-dropdown { flex-wrap: nowrap; }
  .nr-dropdown__toggle { width: 22px; margin-left: -10px; }
  .nr-dropdown { position: absolute; top: 100%; left: 0; min-width: 270px; padding: 8px 0; background: #fff; border-top: 3px solid var(--signal); box-shadow: 0 16px 32px rgba(38, 40, 44, .16); }
  .nr-has-dropdown:hover .nr-dropdown { display: block; }
  .nr-dropdown a { padding: 8px 16px; }
  .nr-dropdown a:hover { background: var(--concrete); }
  .nr-nav__call-item { padding: 0 0 0 14px; }
  .nr-nav__links .nr-nav__call--two { width: auto; }
}

/* ---------- heroes: inner pages sit in a graphite band */
.nr-hero { padding: 34px 0 30px; background: var(--graphite); color: #E6E6E8; }
.nr-hero h1 { color: #fff; margin-bottom: .35em; }
.nr-hero__eyebrow { margin-bottom: 12px; color: var(--signal); font: 700 .78rem/1.3 var(--hd); letter-spacing: .14em; text-transform: uppercase; }
.nr-hero__lead { max-width: 44em; font-size: 1.1rem; color: #E6E6E8; }
.nr-hero__lead a { color: var(--signal); }
.nr-hero__cta { margin: 20px 0 6px; }
.nr-hero__cta p { margin: 0; }
.nr-trust-strip { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; color: #fff; font: 500 .88rem/1.3 var(--hd); }
.nr-trust-strip li { position: relative; margin: 0; padding-left: 18px; }
.nr-trust-strip li::before { content: ""; position: absolute; left: 0; top: .32em; width: 10px; height: 10px; background: var(--signal); transform: rotate(45deg) scale(.75); }
.nr-hero--compact { padding-bottom: 26px; }

/* Breadcrumb follows the hero in the same graphite, so it reads as the band's last line. */
.nr-breadcrumb { padding: 0 0 14px; background: var(--graphite); font: 500 .84rem/1.4 var(--hd); }
.nr-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; max-width: calc(var(--width) - 32px); margin: 0 auto; padding: 0; list-style: none; }
.nr-breadcrumb li { margin: 0; color: #B9BBC0; }
.nr-breadcrumb li + li::before { content: "/"; margin: 0 9px; color: var(--signal); }
.nr-breadcrumb a { color: #fff; text-decoration: none; }
.nr-breadcrumb a:hover { text-decoration: underline; }

/* Home: picker hero on concrete. */
.nr-hero--picker { padding: 40px 0 40px; background: var(--concrete); color: var(--ink); }
.nr-hero--picker h1 { color: var(--graphite); }
.nr-hero--picker .nr-hero__eyebrow { color: var(--brick); }
.nr-hero--picker .nr-hero__lead { color: var(--ink); }
.nr-hero--picker .nr-trust-strip { color: var(--graphite); }
.nr-hero--picker .nr-trust-strip li::before { background: var(--brick); }
.nr-hero__pick { display: grid; gap: 28px; }
.nr-hero__picker { align-self: start; padding: 22px 22px 18px; background: #fff; border-top: 4px solid var(--graphite); box-shadow: 0 10px 26px rgba(38, 40, 44, .1); }
.nr-hero__picker h2 { margin-bottom: .6em; font-size: 1.2rem; }
.nr-hero__picker ul { margin: 0 0 12px; padding: 0; list-style: none; }
.nr-hero__picker li { margin: 0; border-bottom: 1px solid var(--concrete-2); }
.nr-hero__picker li:last-child { border-bottom: 0; }
.nr-hero__picker a { position: relative; display: block; padding: 12px 28px 12px 0; color: var(--ink); text-decoration: none; }
.nr-hero__picker a::after { content: "\2192"; position: absolute; right: 4px; top: 50%; margin-top: -.6em; color: var(--brick); font-weight: 700; }
.nr-hero__picker a:hover b { color: var(--brick); }
.nr-hero__picker b { display: block; color: var(--graphite); font: 700 1.02rem/1.3 var(--hd); }
.nr-hero__picker span { display: block; color: var(--ink-soft); font-size: .92rem; line-height: 1.4; }
.nr-hero__picker-foot { margin: 0; padding-top: 10px; border-top: 2px solid var(--signal); font: 700 .98rem/1.4 var(--hd); color: var(--graphite); }
.nr-hero-strip--picker { background: var(--concrete); }
.nr-hero-strip--picker img { width: 100%; max-height: 420px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .nr-hero--picker { padding: 66px 0 68px; }
  .nr-hero__pick { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 54px; align-items: center; }
}

/* ---------- sections */
.nr-section { padding: 50px 0; }
.nr-section--alt { background: var(--concrete); }
.nr-section h2 { max-width: 28em; }
.nr-section > .nr-wrap > p, .nr-feature__text > p { max-width: 46em; }
@media (min-width: 900px) { .nr-section { padding: 72px 0; } }

.nr-feature { display: grid; gap: 26px; align-items: center; }
.nr-feature__media { margin: 0; }
.nr-feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
@media (min-width: 900px) {
  .nr-feature { grid-template-columns: 1.2fr 1fr; gap: 52px; }
  .feature--reverse .nr-feature__media { order: -1; }
}
.image-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- cards: white on concrete, graphite top border */
.nr-grid { display: grid; gap: 16px; margin: 22px 0 6px; }
@media (min-width: 700px) { .nr-grid--2, .nr-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .nr-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.nr-card, .nr-post-card { display: flex; flex-direction: column; padding: 22px; background: #fff; border-top: 2px solid var(--graphite); box-shadow: 0 1px 0 var(--line); }
.nr-section:not(.nr-section--alt) .nr-card { background: var(--concrete); }
.nr-card h3, .nr-post-card h3 { margin-bottom: .45em; }
.nr-card p:last-child, .nr-post-card p:last-child { margin-bottom: 0; }
.nr-card .nr-more, .nr-post-card .nr-more { margin-top: auto; padding-top: 8px; }
.nr-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border: 2px solid var(--brick); color: var(--brick); }
.nr-card__icon svg { width: 24px; height: 24px; }
.nr-post-card { padding: 0; overflow: hidden; }
.nr-post-card > *:not(.nr-post-card__thumb) { padding-left: 20px; padding-right: 20px; }
.nr-post-card h3 { padding-top: 18px; font-size: 1.06rem; }
.nr-post-card h3 a { color: var(--graphite); text-decoration: none; }
.nr-post-card h3 a:hover { color: var(--brick); }
.nr-post-card .nr-more { padding-bottom: 18px; }
.nr-post-card__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nr-more a { color: var(--brick); font: 700 .94rem/1.3 var(--hd); text-decoration: none; }
.nr-more a:hover { text-decoration: underline; }

/* ---------- checks, numbered blocks, tables */
.nr-checks { padding: 0; list-style: none; }
.nr-checks li { position: relative; padding-left: 24px; }
.nr-checks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2.5px solid var(--brick); border-bottom: 2.5px solid var(--brick); transform: rotate(-45deg); }
/* Gutter layout, never grid or flex on li: an item's bold label and its text are separate children. */
.nr-steps { margin: 22px 0 26px; padding: 0; list-style: none; counter-reset: blk; }
.nr-steps li { counter-increment: blk; position: relative; min-height: 36px; margin: 0 0 14px; padding: 6px 0 0 52px; }
.nr-steps li::before { content: counter(blk); position: absolute; left: 0; top: 0; width: 36px; height: 36px; background: var(--brick); color: #fff; font: 700 1rem/36px var(--hd); text-align: center; }
.nr-table-wrap { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--graphite); color: #fff; font: 700 .86rem/1.3 var(--hd); }
tbody tr:nth-child(even) td { background: var(--concrete); }
tr:last-child td { border-bottom: 0; }

/* ---------- questions */
.nr-qa-list { display: grid; gap: 2px; margin-top: 14px; }
.nr-qa { padding-top: 16px; border-top: 1px solid var(--line); }
.nr-qa h3 { margin-bottom: .35em; }
.nr-faq { margin-top: 14px; }
.nr-faq details { margin-bottom: 8px; background: var(--concrete); }
.nr-faq summary { position: relative; padding: 16px 46px 16px 16px; list-style: none; cursor: pointer; color: var(--graphite); font: 700 1.04rem/1.35 var(--hd); }
.nr-faq summary::-webkit-details-marker { display: none; }
.nr-faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; color: var(--brick); font-size: 1.5rem; }
.nr-faq details[open] summary::after { content: "\2212"; }
.nr-faq details > div { padding: 0 16px 12px; }

/* ---------- area tiles */
.nr-area-group__label { margin: 20px 0 8px; color: var(--brick); font: 700 .8rem/1.3 var(--hd); letter-spacing: .12em; text-transform: uppercase; }
.nr-area-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 8px 0 18px; padding: 0; list-style: none; }
.nr-area-links li { margin: 0; }
.nr-area-link { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-bottom: 3px solid var(--graphite); text-decoration: none; }
.nr-area-link:hover { border-bottom-color: var(--signal-dark); }
.nr-area-link__name { color: var(--graphite); font: 700 .98rem/1.25 var(--hd); }
.nr-area-link__city { color: var(--ink-soft); font-size: .8rem; }
.nr-area-link--more { justify-content: center; color: var(--brick); font: 700 .94rem/1.25 var(--hd); border-style: dashed; }

/* ---------- call bands: graphite with a yellow button; the last carries the rooftop photo */
.nr-phone-strip { padding: 42px 0; background: var(--graphite); color: #E6E6E8; }
.nr-phone-strip h2 { color: #fff; margin-bottom: .3em; }
.nr-phone-strip .nr-sub { max-width: 44em; color: #D6D7DA; }
.nr-phone-strip .nr-sub a { color: var(--signal); font-weight: 600; }
.nr-phone-strip--photo { background-size: cover; background-position: center; }
.nr-phone-strip .nr-wrap { display: grid; gap: 4px 32px; align-items: center; }
@media (min-width: 900px) { .nr-phone-strip .nr-wrap { grid-template-columns: 1fr auto; } .nr-phone-strip .nr-btn { grid-column: 2; grid-row: 1 / span 2; } }
.nr-cta-inline { margin: 30px 0; padding: 20px 22px; background: var(--concrete); border-left: 5px solid var(--signal); }
.nr-cta-inline h2 { margin-bottom: .3em; font-size: 1.18rem; }
.nr-cta-inline .nr-sub { margin-bottom: .8em; }
.nr-cta-row { margin: 18px 0; }

/* ---------- article layout (services, Resources) */
.nr-split { display: grid; gap: 34px; }
@media (min-width: 1000px) {
  .nr-split { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
  .nr-split--even { grid-template-columns: 1fr 1fr; }
}
.nr-article { min-width: 0; }
.nr-article h2 { margin-top: 1.6em; }
.nr-article > h2:first-child, .nr-article__media + h2 { margin-top: 0; }
.nr-article__media { margin: 0 0 26px; }
.nr-article__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.nr-call-box { padding: 22px; background: var(--graphite); color: #E6E6E8; }
.nr-call-box h3 { color: #fff; font-size: 1.1rem; }
.nr-call-box .nr-checks li::before { border-color: var(--signal); }
.nr-call-box .nr-btn { width: 100%; justify-content: center; }
@media (min-width: 1000px) { .nr-call-box { position: sticky; top: 108px; } }
.nr-nap-card { padding: 22px; background: var(--concrete); border-top: 4px solid var(--signal); }
.nr-nap-card h2 { font-size: 1.2rem; }

/* ---------- footer */
.nr-site-footer { padding: 54px 0 96px; background: var(--graphite); color: #C9CACE; font-size: .95rem; }
.nr-site-footer a { color: #fff; text-decoration: none; }
.nr-site-footer a:hover { color: var(--signal); }
.nr-footer-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .nr-footer-grid { grid-template-columns: 1fr 1fr 1fr 1.4fr; } }
.nr-site-footer h3 { margin-bottom: 12px; color: var(--signal); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.nr-site-footer ul { margin: 0; padding: 0; list-style: none; }
.nr-site-footer li { margin-bottom: 6px; }
.nr-footer-brand .nr-nav__logo { margin-bottom: 12px; color: #fff; }
.nr-footer-brand .nr-nav__logo-text span { color: #A9ABB0; }
.nr-footer-brand address { margin: 12px 0 16px; font-style: normal; line-height: 1.6; }
.nr-footer-brand .nr-btn--amber { color: var(--ink); }
.nr-footer-disclaimer { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: #A9ABB0; font-size: .85rem; }
.nr-footer-bottom { color: #A9ABB0; font: 500 .82rem/1.5 var(--hd); }
@media (min-width: 980px) { .nr-site-footer { padding-bottom: 40px; } }

/* ---------- bottom call bar: phones only, never iOS (Safari's toolbar covers fixed bottom bars) */
.nr-mobile-call-bar { display: none; }
@supports not (-webkit-touch-callout: none) {
  @media (max-width: 979px) {
    .nr-mobile-call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; padding: 9px 16px 10px; background: var(--signal); color: var(--ink); text-decoration: none; box-shadow: 0 -4px 14px rgba(38, 40, 44, .25); }
    .nr-mobile-call-bar__main { display: inline-flex; align-items: center; gap: 8px; font: 700 1.05rem/1.2 var(--hd); }
    .nr-mobile-call-bar__main svg { width: 18px; height: 18px; }
    .nr-mobile-call-bar__sub { font-size: .78rem; }
  }
}

@media (max-width: 520px) {
  /* Logo, Call and menu stay on one row: the name wraps and the subline drops. */
  .nr-site-nav__inner { gap: 8px; }
  .nr-nav__logo { gap: 8px; }
  .nr-nav__logo svg { width: 34px; height: 34px; }
  .nr-nav__logo-text b { max-width: 7.2em; font-size: .96rem; line-height: 1.1; }
  .nr-site-header .nr-nav__logo-text span { display: none; }
  .nr-nav__call-mobile { padding: .6em .8em; }
}
@media (max-width: 420px) {
  .nr-header-top__area { display: none; }
  .nr-header-top__inner { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .nr-site-header, .nr-header-top, .nr-mobile-call-bar, .nr-call-box { display: none; } }
