/* Expressway Printing Inc. - 2001 site, lightly modernized.
   Colors from the original: navy #000066, yellow #ffff00, white. */
:root { --navy:#000066; --yellow:#ffff00; --orange:#ffcc33; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: #fff; color: var(--navy);
  font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.6;
}
a { color: var(--navy); }
a:hover { color: #3333cc; }
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--navy); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "very first website" banner */
.nostalgia-banner { background: #fff6b0; color: var(--navy); font-size: .85rem; line-height: 1.4; text-align: center; padding: .4rem .75rem; border-bottom: 1px solid #e3d46a; }
.nostalgia-banner p { margin: 0; }
.nostalgia-banner a { font-weight: bold; white-space: nowrap; }

/* header: navy band, original maintop.png at the left, nav slices overlaid */
.site-header { background: var(--navy); }
.masthead { position: relative; width: 100%; max-width: 750px; line-height: 0; }
.masthead-img { display: block; width: 100%; height: auto; }
.navhot { position: absolute; display: block; line-height: 0; }
.navhot img { display: block; width: 100%; height: auto; max-width: none; }
.navhot .on { position: absolute; left: 0; top: 0; opacity: 0; }
.navhot:hover .on, .navhot:focus-visible .on, .navhot[aria-current="page"] .on { opacity: 1; }
.navhot:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* tap-friendly nav for small screens (the picture's nav is too small there) */
.mobilenav { display: none; }
.mobilenav ul, .footnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem 1.25rem; }
.mobilenav a, .footnav a { color: #fff; text-decoration: none; display: inline-block; padding: .45rem .1rem; }
.mobilenav a::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .4em; border-radius: 50%; background: var(--yellow); }
.mobilenav a[aria-current="page"]::before { background: var(--orange); }
.mobilenav a:hover, .footnav a:hover { color: var(--yellow); text-decoration: underline; }
.footnav a[aria-current="page"] { color: var(--yellow); }

/* content */
.page { flex: 1 0 auto; width: 100%; max-width: 62rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.pagehead { margin: 0 0 1.25rem; font-size: 1rem; line-height: 0; }
.pagehead img { display: block; }
.pagehead.textual { font-size: 1.6rem; line-height: 1.2; font-weight: bold; margin-bottom: 1rem; }
.prose { max-width: 40rem; }
.prose p, .subcontent p { margin: 0 0 1em; }

/* services */
.services { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: start; }
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav a { display: block; padding: .35rem .6rem .35rem 1.3rem; text-decoration: none; font-size: 1.1rem; position: relative; border-radius: 3px; }
.subnav a:hover { background: #eeeef9; }
.subnav a[aria-current="page"] { font-weight: bold; }
.subnav a[aria-current="page"]::before { content: ""; position: absolute; left: .3rem; top: 50%; width: .65rem; height: .65rem; margin-top: -.33rem; border-radius: 50%; background: var(--yellow); border: 1px solid var(--navy); }
ul.plain { list-style: none; margin: 0 0 1em; padding: 0; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(9rem, 12rem)); gap: 0 2rem; }
.cols2 p { margin-top: 1em; }

/* location / contact */
.locgrid { display: grid; grid-template-columns: max-content minmax(0, 28rem); justify-content: start; gap: 1rem 3rem; align-items: start; margin-bottom: 1.25rem; }
address { font-style: normal; }
.map { display: block; border: 1px solid #c9c9e0; }
dl.contact { display: grid; grid-template-columns: 5rem 1fr; gap: .9rem 1rem; margin: 0; }
dl.contact dt { margin: 0; }
dl.contact dd { margin: 0; }

/* "feature retired" notes */
.retired { max-width: 34rem; margin: 1.25rem 0; padding: .75rem 1rem; background: #f0f0fa; border-left: 6px solid var(--navy); border-radius: 0 4px 4px 0; }
.retired p { margin: 0; }
.locgrid .retired { margin: 0; }

/* footer */
.site-footer { background: var(--navy); color: #fff; text-align: center; padding: .9rem 1rem 1rem; }
.site-footer .footnote { margin: .15rem 0 0; font-size: .8rem; }
.site-footer .footnote a { color: #cfcfff; }
.site-footer .footnote a:hover { color: var(--yellow); }

@media (max-width: 640px) {
  .mobilenav { display: block; padding: .15rem .75rem .45rem; border-top: 1px solid rgba(255,255,255,.25); }
  .mobilenav ul { justify-content: flex-start; gap: .1rem 1rem; }
  .masthead { max-width: none; }
  .page { padding: 1.1rem 1rem 2.25rem; }
  .services { grid-template-columns: 1fr; gap: 1rem; }
  .subnav ul { display: flex; flex-wrap: wrap; gap: .35rem; border-bottom: 2px solid var(--navy); padding-bottom: .5rem; }
  .subnav a { padding: .45rem .8rem; background: #eeeef9; font-size: 1rem; border-radius: 3px; }
  .subnav a[aria-current="page"] { background: var(--navy); color: #fff; }
  .subnav a[aria-current="page"]::before { display: none; }
  .locgrid { grid-template-columns: 1fr; }
  dl.contact { grid-template-columns: 4.2rem 1fr; }
  .footnav ul { gap: 0 .65rem; }
  .footnav a { font-size: .9rem; }
  .mobilenav a { padding: .35rem .1rem; }
}
