/* Superior Reprographics. Plain CSS, no build step.
   Navy #042b40, red #c02025, text #272a2f, light grey #f6f7f8. Roboto for everything; Open Sans Bold for the
   red lines on the home page's welcome. */

@font-face { font-family: Roboto; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/roboto-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Roboto; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/roboto-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: Roboto; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/roboto-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Roboto; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/roboto-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/open-sans-latin-700-normal.woff2) format('woff2'); }

:root {
  --navy: #042b40;
  --navy-deep: #021e2c;
  --red: #c02025;
  --red-dark: #a01a1e;
  --text: #272a2f;
  --muted: #4a4f57;
  --tint: #f6f7f8;
  --line: #e3e6e9;
  --star: #d98a45;
  --wrap: 1140px;
  --gap: clamp(20px, 4vw, 32px);
  --section: clamp(48px, 7vw, 80px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Roboto, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid #f2a33a; outline-offset: 2px; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 860px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--navy); font-weight: 700; border-radius: 6px; }
.skip:focus { top: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 32px; border: 2px solid transparent; border-radius: 8px; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #0a4363; color: #fff; }
.btn--white { background: #fff; color: var(--red-dark); border-color: var(--red); }
.btn--white:hover { background: #fbeaea; color: var(--red-dark); }
.btn--sm { min-height: 38px; padding: 6px 26px; font-size: 16px; font-weight: 500; }
.btn--lg { min-height: 52px; padding: 12px 40px; font-size: 18px; }
.btn--wide { min-width: min(100%, 272px); }

/* A heading with the short red line under it */
.rule-title { font-size: clamp(26px, 3.4vw, 34px); padding-bottom: 18px; margin-bottom: 28px; position: relative; color: var(--navy); }
.rule-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 68px; height: 2px; background: var(--red); }
.rule-title--center { text-align: center; }
.rule-title--center::after { left: 50%; margin-left: -34px; }

/* Top bar */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 34px; min-height: 34px; padding-block: 5px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Header */
.header { position: relative; z-index: 20; background: #fff; box-shadow: 0 2px 8px rgba(4, 43, 64, .14); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: 104px; }
.brand { flex: none; margin-right: auto; }
.brand img { width: 190px; }
.nav > ul { display: flex; align-items: center; gap: 6px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; color: #111; font-size: 16px; letter-spacing: .03em; text-decoration: none; border-radius: 6px; }
.nav > ul > li > a:hover, .nav > ul > li > a.is-active, .nav > ul > li > a[aria-current] { color: var(--red-dark); }
.nav .icon { width: 16px; height: 16px; }
.nav__panel { position: absolute; right: -140px; top: 100%; width: min(760px, 92vw); padding: 26px 30px; background: #fff; border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 16px 34px rgba(4, 43, 64, .2); columns: 3; column-gap: 30px; visibility: hidden; opacity: 0; transition: opacity .12s, visibility .12s; }
.nav__has:hover > .nav__panel, .nav__has:focus-within > .nav__panel { visibility: visible; opacity: 1; }
.nav__group { break-inside: avoid; margin-bottom: 18px; }
.nav__group:last-child { margin-bottom: 0; }
.nav__group-title { display: block; padding: 4px 0; color: var(--navy); font-weight: 700; font-size: 16px; text-decoration: none; }
.nav__group li a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); color: var(--text); font-size: 15px; text-decoration: none; }
.nav__panel a:hover, .nav__panel a[aria-current] { color: var(--red-dark); text-decoration: underline; }
.header__btn { min-width: 185px; min-height: 50px; font-size: 18px; }

/* Phone menu */
.menu { display: none; }
.menu summary { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu__icon { position: relative; width: 26px; height: 18px; border-block: 2px solid var(--navy); }
.menu__icon i { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--navy); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 110px); overflow: auto; padding: 14px var(--gap) 26px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(4, 43, 64, .2); }
.menu__nav > li { border-bottom: 1px solid var(--line); }
.menu__nav a { display: block; padding: 12px 0; color: var(--navy); font-weight: 700; text-decoration: none; }
.menu__nav ul { padding: 0 0 8px 14px; }
.menu__nav ul a { padding: 8px 0; font-weight: 500; }
.menu__nav ul ul a { font-weight: 400; color: var(--text); }
.menu__nav a[aria-current] { color: var(--red-dark); }
.menu__panel .btn { width: 100%; margin-top: 20px; }

/* Home: the welcome */
.hero { position: relative; display: grid; align-items: start; min-height: clamp(460px, 46vw, 640px); background: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, #fff 0, rgba(255, 255, 255, .93) 22%, rgba(255, 255, 255, .82) 52%, rgba(255, 255, 255, .25) 78%, rgba(255, 255, 255, 0) 100%); }
.hero__in { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 72px) clamp(120px, 16vw, 220px); text-align: center; }
.hero__kicker, .hero__tagline { margin: 0; font-family: 'Open Sans', Roboto, sans-serif; font-weight: 700; color: var(--red-dark); }
.hero__kicker { font-size: clamp(22px, 3vw, 32px); }
.hero h1 { margin: 14px auto 18px; max-width: 21em; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.18; color: var(--navy); }
.hero__tagline { font-size: clamp(18px, 2.2vw, 24px); margin-bottom: 22px; }

/* Sections */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.s-tint { background: var(--tint); }
.section.s-tint, .section.s-tint + .section, .page-head + .section, .trail + .page-head + .section { padding-top: var(--section); }
.section:has(+ .s-tint) { padding-bottom: var(--section); }

/* Cards */
.cards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; background: var(--tint); border-radius: 24px; }
.card__img { display: block; width: 100%; margin-bottom: 18px; }
.card__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.card h3 { font-size: 18px; line-height: 1.45; margin-bottom: 8px; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--red-dark); }
.card p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 18px; }
.card__btn { margin-top: auto; }

/* Text from the editor */
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin: 1.5em 0 .6em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 22px; }
.prose h4 { font-size: 18px; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .2em; }
.prose li::marker { color: var(--red); }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.prose--lg { font-size: 18px; }

/* Home: Ready to Print */
.ready { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.ready__in { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 92px); }
.ready__text { max-width: 560px; }
.ready h2 { color: #fff; }
.ready__lines { font-style: italic; font-size: 18px; line-height: 1.5; margin-bottom: 24px; }
.ready__lines a { color: #fff; }
.ready__skyline { position: absolute; right: 0; bottom: 0; width: min(52%, 746px); }

/* Home: reviews */
.reviews { position: relative; padding-block: clamp(56px, 8vw, 96px); background: var(--navy-deep); color: #fff; overflow: hidden; }
.reviews__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reviews::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(2, 30, 44, .5); }
.reviews .wrap { position: relative; z-index: 2; }
.reviews h2 { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { display: flex; flex-direction: column; padding: 22px 22px 26px; background: var(--tint); color: var(--text); border-radius: 20px; }
.review__stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 14px; }
.review__stars .icon { width: 22px; height: 22px; }
.review blockquote { margin: 0 0 24px; font-size: 18px; line-height: 1.5; }
.review blockquote p { margin: 0; }
.review__who { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.review__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review__who p { margin: 0; line-height: 1.3; }
.review__who strong { display: block; font-size: 22px; }
.review__who span { font-size: 15px; color: var(--muted); }

/* The map above the footer */
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Footer */
.footer { background: var(--navy); color: #fff; padding-block: 64px 44px; font-size: 15px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px 48px; }
.footer__brand img { width: 275px; }
.footer__contact li + li { margin-top: 18px; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__nav a { font-size: 14px; letter-spacing: .03em; }
.footer__legal { margin: 44px 0 0; text-align: center; font-size: 14px; }
.footer__legal a { text-decoration: underline; }

/* Inner pages: the trail and the heading over a photo */
.trail { background: var(--navy-deep); color: #fff; font-style: italic; font-size: 17px; }
.trail ol { display: flex; flex-wrap: wrap; gap: 0 8px; padding-block: 12px; }
.trail li + li::before { content: '/'; margin-right: 8px; }
.trail a { color: #fff; }
.page-head { position: relative; display: grid; align-items: center; min-height: clamp(200px, 24vw, 330px); padding-block: 40px; background: var(--navy); color: #fff; overflow: hidden; }
.page-head--plain { min-height: 0; padding-block: clamp(44px, 6vw, 72px); }
.page-head__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head:not(.page-head--plain)::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(2, 30, 44, .56); }
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { max-width: 20em; margin: 0 auto; font-size: clamp(30px, 5vw, 54px); line-height: 1.15; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); text-wrap: balance; }
.page-head h1::after { width: 68px; }

/* Introduction */
.intro__in { display: grid; gap: 32px 64px; align-items: start; }
.intro--pic .intro__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.intro:not(.intro--pic) .intro__text { max-width: 940px; }
.intro .prose { margin-bottom: 28px; }
.intro .prose h3 { font-size: 24px; }
.intro__img img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }
.intro__img--whole img { max-height: 340px; object-fit: contain; border-radius: 0; }

/* Picture links */
.tiles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tiles__grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--tint); color: var(--text); text-decoration: none; }
.tiles__grid[data-count="3"] .tile { aspect-ratio: 4 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 8%; right: 8%; bottom: 8%; display: grid; place-items: center; min-height: 58px; padding: 8px 12px; background: rgba(255, 255, 255, .92); border-radius: 8px; font-size: 19px; line-height: 1.25; text-align: center; color: #111; }
.tile:hover span { color: var(--red-dark); }

/* Photo gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; padding-block: 44px; border-block: 1px solid var(--line); }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.zoom { max-width: min(94vw, 1200px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: #000; overflow: visible; }
.zoom::backdrop { background: rgba(2, 30, 44, .86); }
.zoom img { max-width: min(94vw, 1200px); max-height: 94vh; border-radius: var(--radius); }
.zoom button { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }

/* Text blocks */
.columns__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; }
.columns__grid[data-count="1"] { grid-template-columns: minmax(0, 940px); }
.columns__item h2 { font-size: clamp(22px, 2.6vw, 26px); margin-bottom: 16px; }

/* Call to action */
.band { background: var(--navy); color: #fff; padding-block: clamp(56px, 8vw, 92px); text-align: center; }
.band h2 { color: #fff; }
.band p { max-width: 62em; margin-inline: auto; margin-bottom: 6px; font-style: italic; font-size: 18px; }
.band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; margin-top: 26px; }

/* Text and picture */
.split__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: center; }
.split--flip .split__img { order: -1; }
.split h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 22px; }
.split p { font-size: 18px; line-height: 1.7; margin-bottom: 26px; }
.split__img img { width: 100%; border-radius: var(--radius); box-shadow: 0 4px 22px rgba(4, 43, 64, .12); }

/* Features */
.features__grid { columns: 2; column-gap: 64px; }
.features__grid li { display: flex; gap: 14px; break-inside: avoid; padding-bottom: 28px; }
.features__grid .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--navy); }
.features__grid h3 { font-size: 18px; margin-bottom: 6px; }
.features__grid p { margin: 0; color: var(--muted); max-width: 26em; }

/* Contact */
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px 64px; align-items: center; }
.facts { margin-bottom: 30px; }
.facts li { display: flex; align-items: flex-start; gap: 16px; padding-block: 14px; font-size: 18px; }
.facts .icon { width: 24px; height: 24px; margin-top: 3px; color: var(--navy); }
.facts__map { font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact__map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

@media (max-width: 1040px) {
  .cards__grid { grid-template-columns: repeat(2, 1fr); }
  .card__img img { aspect-ratio: 3 / 2; }
  .tiles__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-column: 1 / -1; }
  .nav__panel { right: -200px; }
}

@media (max-width: 900px) {
  .nav, .header__btn, .topbar .topbar__address, .topbar .topbar__email { display: none; }
  .menu { display: block; }
  .header__in { min-height: 84px; }
  .brand img { width: 160px; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; }
  .intro--pic .intro__in, .split__in, .contact__in { grid-template-columns: 1fr; }
  .split--flip .split__img { order: 0; }
  .intro__img img { max-height: 360px; }
  .columns__grid { grid-template-columns: 1fr; gap: 36px; }
  .features__grid { columns: 1; }
  .ready__skyline { width: 70%; opacity: .16; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards__grid { grid-template-columns: 1fr; }
  .tiles__grid, .tiles__grid[data-count="3"] { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tiles__grid[data-count="3"] .tile { aspect-ratio: 1 / 1; }
  .tile span { left: 5%; right: 5%; bottom: 5%; min-height: 46px; font-size: 15px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-block: 28px; }
  .footer { padding-top: 48px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand img { width: 220px; }
  .btn--wide { width: 100%; }
  .band__btns .btn { width: 100%; }
  .map iframe { height: 260px; }
  .zoom button { top: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
