/* Services page only. Shared navigation and footer styles stay in rasberi-styles.css. */
.site-nav-links a[aria-current="page"] {
  position: relative;
  width: fit-content;
  padding: 0.75rem 0;
  color: var(--cloud);
}

.site-nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--raz);
}

.services-page {
  overflow: clip;
}

main.services-page > section {
  width: 100%;
  min-height: 0;
  margin: 0;
  border-top: 0;
}

.services-shell {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

main.services-page > section.services-hero {
  display: flex;
  min-height: 0;
  align-items: center;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  background: var(--smoke);
}

.services-hero .section-eyebrow::before {
  width: 3.25rem;
}

.services-hero .section-eyebrow::after {
  width: 8rem;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(18rem, 0.72fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: end;
}

.services-hero h1 {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: var(--cloud);
  font-family: var(--font-display);
  font-size: clamp(4.75rem, 8.6vw, 7.65rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.065em;
}

.services-hero-heading-copy {
  display: block;
  min-width: 0;
}

.services-hero h1 .services-hero-question {
  display: inline-block;
  margin-left: 0.04em;
  transform: translateX(0.01em);
  color: var(--raz);
  font-size: 1em;
  line-height: inherit;
  letter-spacing: inherit;
}

.services-hero-grid > p {
  max-width: 34rem;
  margin: 0 0 0.55rem;
  color: var(--mist);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 400;
  line-height: 1.75;
}

main.services-page > section.service-editorial {
  padding: 0;
  border-top: 0;
  background: var(--smoke);
}

.service-editorial--pavement {
  background: var(--smoke);
}

.service-editorial-grid {
  position: relative;
  display: grid;
  width: min(1440px, 100%);
  min-height: clamp(16.5rem, 22vw, 20.5rem);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.service-editorial-grid--visual-wide {
  grid-template-columns: minmax(0, 1.27fr) minmax(22rem, 1fr);
}

.service-editorial-grid--copy-left {
  grid-template-columns: minmax(22rem, 0.9fr) minmax(0, 1fr);
}

.service-editorial-grid--branding {
  grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 1fr);
}

.service-editorial-grid--web {
  grid-template-columns: minmax(22rem, 0.88fr) minmax(0, 1fr);
}

.service-editorial-grid--creative {
  grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 1fr);
}

.service-editorial-grid--visual-wide .service-editorial-copy,
.service-editorial-grid--branding .service-editorial-copy,
.service-editorial-grid--creative .service-editorial-copy {
  grid-column: 2;
}

.service-editorial-grid--copy-left .service-editorial-copy,
.service-editorial-grid--web .service-editorial-copy {
  grid-column: 1;
}

.service-editorial-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0.625rem clamp(2.5rem, 5vw, 6rem);
}

.service-editorial-copy--compact {
  max-width: none;
  justify-self: stretch;
}

.service-editorial h2,
.services-contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.service-editorial h2 {
  color: var(--raz);
  font-size: clamp(2.65rem, 4.1vw, 4.15rem);
  line-height: 0.98;
}

#promotional-items-title { line-height: 1.12; }

.service-supporting {
  margin: clamp(0.5rem, 0.75vw, 0.75rem) 0 0;
  color: var(--raz);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.65vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.service-body {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  color: var(--cloud);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
}

.service-category-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--raz);
  background: transparent;
  color: var(--cloud);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a.service-category-cta:hover,
a.service-category-cta:focus-visible {
  background: var(--raz);
  color: var(--cloud);
}

a.service-category-cta:focus-visible {
  outline: 2px solid var(--cloud);
  outline-offset: 3px;
}

.service-editorial-visual {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  width: 65%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.service-editorial-visual--left {
  left: 0;
}

.service-editorial-visual--right {
  right: 0;
}

.service-editorial-grid--visual-wide .service-editorial-visual {
  width: 66%;
}

.service-editorial-grid--copy-left .service-editorial-visual {
  width: 65%;
}

.service-editorial-grid--branding .service-editorial-visual {
  width: 62%;
}

.service-editorial-grid--web .service-editorial-visual {
  width: 66%;
}

.service-editorial-grid--creative .service-editorial-visual {
  width: 66%;
}

.service-editorial-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-editorial-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.service-editorial-visual--left::after {
  background: linear-gradient(90deg, rgba(51, 51, 51, 0) 32%, rgba(51, 51, 51, 0.22) 50%, rgba(51, 51, 51, 0.78) 72%, var(--smoke) 96%);
}

.service-editorial-visual--right::after {
  background: linear-gradient(90deg, var(--smoke) 4%, rgba(51, 51, 51, 0.78) 28%, rgba(51, 51, 51, 0.22) 50%, rgba(51, 51, 51, 0) 68%);
}

#print-signage .service-editorial-visual img {
  object-position: 44% 52%;
}

#promotional-items .service-editorial-visual img {
  object-position: 54% 50%;
}

#branding .service-editorial-visual img {
  object-position: 47% 52%;
}

#web-digital .service-editorial-visual img {
  object-position: 52% 50%;
}

.service-editorial-visual--narrow {
  width: 65%;
  justify-self: stretch;
}

main.services-page > section.services-contact {
  display: flex;
  min-height: clamp(16rem, 20vw, 20rem);
  align-items: center;
  padding: clamp(3.5rem, 5vw, 5rem) 0;
  background: var(--smoke);
  color: var(--cloud);
}

.services-contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.services-contact-copy {
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-contact h2 {
  color: var(--raz);
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  line-height: 1;
}

.services-contact-copy p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--mist);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
}

.services-contact-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.85rem 1.05rem;
  background: var(--raz);
  color: var(--cloud);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  justify-self: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.services-contact-cta:hover {
  background: var(--cloud);
  color: var(--smoke);
}

.services-contact-cta:focus-visible {
  outline: 2px solid var(--cloud);
  outline-offset: 4px;
}

.footer-photo-credits {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--mist);
}

.footer-photo-credits summary {
  width: fit-content;
  list-style: none;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.footer-photo-credits summary::-webkit-details-marker {
  display: none;
}

.footer-photo-credits summary::after {
  content: " +";
  color: var(--raz);
}

.footer-photo-credits[open] summary::after {
  content: " –";
}

.footer-photo-credits summary:hover,
.footer-photo-credits summary:focus-visible,
.footer-photo-credits a:hover,
.footer-photo-credits a:focus-visible {
  color: var(--cloud);
}

.footer-photo-credits summary:focus-visible,
.footer-photo-credits a:focus-visible {
  outline: 2px solid var(--raz);
  outline-offset: 3px;
}

.footer-photo-credits-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.footer-photo-credits-list p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
}

.footer-photo-credits-list strong {
  color: var(--cloud);
  font-weight: 600;
}

.footer-photo-credits-list a {
  color: var(--mist);
  text-underline-offset: 0.18em;
}

@media (max-width: 1000px) {
  .services-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
    gap: 3rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .service-editorial-copy {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (max-width: 900px) {
  .services-hero {
    min-height: 0;
  }

  .services-hero-grid,
  .service-editorial-grid,
  .services-contact-inner {
    grid-template-columns: 1fr;
  }

  .services-hero-grid {
    gap: 2.25rem;
  }

  .services-hero-grid > p {
    max-width: 38rem;
  }

  .service-editorial-grid .service-editorial-copy,
  .service-editorial-grid .service-editorial-copy--compact {
    max-width: 42rem;
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .service-editorial-grid .service-supporting {
    margin-top: clamp(0.75rem, 1.2vw, 1.1rem);
  }

  .service-editorial-grid .service-body {
    margin-top: 0.65rem;
  }

  .service-editorial-grid .service-category-cta {
    margin-top: 1rem;
  }

  .service-editorial-grid .service-editorial-visual {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 2;
    z-index: 0;
    width: 100%;
  }

  .service-editorial-grid {
    width: min(100% - 3rem, 1200px);
    min-height: 0;
    gap: 2.5rem;
    align-items: start;
    padding: 3.5rem 0;
  }

  .service-editorial-visual--narrow {
    width: 100%;
    justify-self: stretch;
  }

  .service-editorial-visual img {
    width: 100%;
    height: auto;
    margin-left: 0;
    object-fit: contain;
  }

  .service-editorial-visual::after {
    display: none;
  }

  .services-contact-inner {
    gap: 1.75rem;
    align-items: start;
  }

  .services-contact-copy p {
    max-width: 38rem;
  }

  .services-contact-cta {
    grid-column: 1;
  }
}

@media (max-width: 700px) {
  .services-shell {
    width: min(100% - 2rem, 1200px);
  }

  main.services-page > section.services-hero {
    padding: 4.5rem 0;
  }

  main.services-page > section.services-contact {
    min-height: 0;
    padding: 4rem 0;
  }

  .services-hero h1 {
    font-size: clamp(3.6rem, 14vw, 5.5rem);
  }

  .service-editorial h2 {
    font-size: clamp(2.6rem, 9vw, 3.75rem);
  }

  .service-editorial-grid {
    gap: 2.25rem;
    padding: 2.75rem 0;
  }
}

@media (max-width: 575px) {
  .services-hero .section-eyebrow::before {
    width: 2rem;
  }

  .services-hero .section-eyebrow::after {
    width: 4rem;
  }

  .services-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .service-editorial-visual--narrow {
    width: 100%;
  }

  .service-editorial-grid {
    padding: 2.5rem 0;
  }

  .services-contact h2 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }
}

@media (max-width: 390px) {
  main.services-page > section.services-hero {
    padding: 3.75rem 0;
  }

  main.services-page > section.services-contact {
    padding: 3.25rem 0;
  }

  .service-editorial-grid {
    padding: 2.25rem 0;
  }

  .services-hero h1 {
    font-size: clamp(2.9rem, 14.8vw, 3.6rem);
  }

  .service-editorial h2 {
    font-size: clamp(2.55rem, 12vw, 3.25rem);
  }

  .services-contact h2 {
    font-size: clamp(2.35rem, 11vw, 2.9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-contact-cta,
  .service-category-cta {
    transition-duration: 0.01ms;
  }
}
