/*
  Additive styles for the public service pages and homepage service links.
  The numbered filename allows immutable caching without changing styles-6.css.
*/

.primary-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-hero {
  padding: 88px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 80px 100%,
    var(--petrol);
  border-bottom: 8px solid var(--signal);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 72px;
  align-items: center;
}

.service-hero h1 {
  max-width: 850px;
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(3rem, 6.4vw, 6rem);
  text-transform: uppercase;
}

.service-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #d7e2e1;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.service-hero-note,
.status-panel {
  padding: 36px;
  color: var(--ink);
  background: var(--bone);
  border-top: 7px solid var(--signal);
  box-shadow: 13px 13px 0 rgba(3, 31, 36, .72);
}

.service-hero-note p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.68;
}

.service-kicker,
.status-title,
.care-label,
.focused-label,
.pilot-note > span {
  display: block;
  margin-bottom: 16px;
  color: var(--oxide);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.plain-checks {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.plain-checks li {
  position: relative;
  padding: 11px 0 11px 27px;
  border-top: 1px solid var(--line);
}

.plain-checks li::before {
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--oxide);
  content: "↘";
  font-weight: 900;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  position: relative;
  min-height: 310px;
  padding: 40px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 10px 26px rgba(3, 31, 36, .06);
}

.offer-card:nth-child(4n + 2),
.offer-card:nth-child(4n + 3) {
  background: #fff;
}

.offer-number {
  display: block;
  margin-bottom: 62px;
  color: var(--oxide);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 900;
}

.offer-card h3 {
  margin-bottom: 12px;
}

.offer-card p {
  max-width: 530px;
  color: var(--muted);
  line-height: 1.65;
}

.focused-help {
  color: #fff;
  background: var(--petrol-deep);
}

.focused-layout {
  display: grid;
  grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr);
  gap: 76px;
  align-items: start;
}

.focused-intro {
  position: sticky;
  top: 28px;
}

.focused-intro h2 {
  color: #fff;
}

.focused-intro > p:last-child {
  color: #b9c9c9;
  line-height: 1.68;
}

.focused-list {
  border-top: 1px solid var(--line-dark);
}

.focused-list article {
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
}

.focused-label {
  color: var(--signal);
}

.focused-list h3 {
  max-width: 680px;
  color: #fff;
}

.focused-list article > p:last-child {
  margin-bottom: 0;
  color: #b9c9c9;
  line-height: 1.7;
}

.service-principles {
  background: var(--paper);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle-grid div {
  min-height: 180px;
  padding: 30px;
  background: var(--bone);
}

.principle-grid strong,
.principle-grid span {
  display: block;
}

.principle-grid strong {
  margin-bottom: 30px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.24rem;
  letter-spacing: -.035em;
}

.principle-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.service-cta {
  padding: 0 0 110px;
  color: #fff;
  background: var(--paper);
}

.service-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 70px;
  align-items: center;
  padding: 54px;
  background: var(--petrol-deep);
  border-top: 7px solid var(--signal);
}

.service-cta-card h2 {
  margin-bottom: 0;
  color: #fff;
}

.service-cta-card > div:last-child > p:first-child {
  color: #cad8d7;
  font-size: 1.04rem;
  line-height: 1.65;
}

.service-cta-card .button {
  margin-left: 0;
}

.cta-small {
  margin: 10px 0 0;
  color: #9fb4b4;
  font-size: .82rem;
}

/* Website care */

.care-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 80px 100%,
    var(--petrol-deep);
}

.status-panel {
  box-shadow: 13px 13px 0 var(--oxide);
}

.status-panel > div {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 1px 11px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.status-panel strong,
.status-panel small {
  grid-column: 2;
}

.status-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.status-dot {
  grid-row: 1 / 3;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  background: var(--aqua);
  border: 3px solid var(--petrol-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(101, 216, 205, .28);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.care-card {
  min-height: 360px;
  padding: 38px;
  background: #fff;
}

.care-card:nth-child(2),
.care-card:nth-child(3) {
  background: var(--bone);
}

.care-card > p:not(.care-label) {
  color: var(--muted);
  line-height: 1.65;
}

.care-card ul {
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.care-card li {
  position: relative;
  padding: 10px 0 10px 25px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}

.care-card li::before {
  position: absolute;
  left: 0;
  color: var(--oxide);
  content: "—";
  font-weight: 900;
}

.dns-review {
  color: #fff;
  background: var(--oxide);
}

.dns-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  gap: 70px;
  align-items: center;
}

.dns-layout h2 {
  color: #fff;
}

.dns-layout > div:first-child > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.72;
}

.boundary-card {
  padding: 36px;
  color: var(--ink);
  background: var(--bone);
  border-top: 7px solid var(--petrol-deep);
}

.boundary-card h3 {
  margin-bottom: 24px;
}

.boundary-card .plain-checks {
  margin-top: 0;
}

.report-section {
  background: var(--paper);
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

.report-layout > div > p:last-child {
  color: var(--muted);
  line-height: 1.68;
}

.report-steps,
.shoot-steps {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.report-steps li,
.shoot-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.report-steps li > span,
.shoot-steps li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--oxide);
  font-family: var(--display);
  font-size: .7rem;
}

.report-steps strong,
.report-steps small,
.shoot-steps strong,
.shoot-steps small {
  display: block;
}

.report-steps small,
.shoot-steps small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.service-limits {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  margin-top: 52px;
  padding: 26px 30px;
  background: var(--bone);
  border-left: 6px solid var(--oxide);
}

.service-limits strong {
  color: var(--ink);
}

.service-limits p {
  margin: 0;
  color: var(--muted);
}

/* Photography */

.photography-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 80px 100%,
    var(--petrol);
}

.camera-study {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, .16) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(255, 255, 255, .16) 50%, transparent 50.2%),
    var(--petrol-deep);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 13px 13px 0 var(--oxide);
}

.camera-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  border: 18px solid var(--bone);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--signal), 0 0 0 26px rgba(255, 255, 255, .06);
  transform: translate(-50%, -50%);
}

.camera-ring::before,
.camera-ring::after,
.camera-ring i::before {
  position: absolute;
  inset: 25px;
  background: rgba(255, 90, 73, .82);
  content: "";
  clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
}

.camera-ring::after {
  background: var(--petrol);
  transform: rotate(60deg) scale(.78);
}

.camera-ring i::before {
  z-index: 2;
  background: var(--signal);
  transform: rotate(30deg) scale(.38);
}

.camera-corner {
  position: absolute;
  width: 52px;
  height: 52px;
}

.camera-corner-one {
  top: 24px;
  left: 24px;
  border-top: 2px solid var(--signal);
  border-left: 2px solid var(--signal);
}

.camera-corner-two {
  right: 24px;
  bottom: 24px;
  border-right: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
}

.camera-caption {
  position: absolute;
  right: 25px;
  bottom: 25px;
  color: #fff;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pilot-section {
  background: var(--paper);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  gap: 64px;
  align-items: center;
}

.pilot-statement > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.7;
}

.pilot-statement strong {
  color: var(--ink);
}

.pilot-note {
  padding: 36px;
  color: #fff;
  background: var(--oxide);
  border-top: 7px solid var(--petrol-deep);
}

.pilot-note > span {
  color: #fff;
}

.pilot-note h3 {
  color: #fff;
}

.pilot-note p {
  margin-bottom: 0;
  line-height: 1.68;
}

.photo-needs {
  background: var(--bone);
  border-top: 1px solid var(--line);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.photo-grid article {
  min-height: 290px;
  padding: 30px;
  background: #fff;
}

.photo-grid article > span {
  display: block;
  margin-bottom: 70px;
  color: var(--oxide);
  font-family: var(--display);
  font-size: .73rem;
  font-weight: 900;
}

.photo-grid h3 {
  font-size: 1.3rem;
}

.photo-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.shoot-process {
  color: #fff;
  background: var(--petrol-deep);
}

.shoot-layout {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 74px;
  align-items: start;
}

.shoot-layout h2 {
  color: #fff;
}

.shoot-steps {
  border-color: var(--line-dark);
}

.shoot-steps li {
  border-color: var(--line-dark);
}

.shoot-steps li > span {
  color: var(--petrol-deep);
  background: var(--signal);
}

.shoot-steps strong {
  color: #fff;
}

.shoot-steps small {
  color: #b9c9c9;
}

.rights-section {
  background: var(--paper);
}

.rights-layout {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 70px;
  align-items: start;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.rights-grid article {
  min-height: 245px;
  padding: 28px;
  background: var(--bone);
}

.rights-grid h3 {
  font-size: 1.24rem;
}

.rights-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

/* Homepage additions */

.service-card .text-link {
  display: inline-block;
  margin-top: 22px;
}

.service-card-accent .text-link {
  color: #fff;
  text-decoration-color: #fff;
}

.service-links {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 38px;
  margin-top: 24px;
  padding: 30px 34px;
  color: #fff;
  background: var(--petrol-deep);
  border-left: 7px solid var(--signal);
}

.service-links h3 {
  margin: 0;
  color: #fff;
  font-size: 1.45rem;
}

.service-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.service-links a {
  padding: 8px 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.service-links a:hover {
  color: var(--petrol-deep);
  background: #fff;
}

.secondary-action {
  display: inline-block;
  margin-top: 16px;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.not-found-links a {
  color: var(--ink);
  font-size: .88rem;
  font-weight: 800;
  text-decoration-color: var(--signal);
}

/* Security reporting */

.security-article {
  max-width: 900px;
}

.security-intro {
  color: var(--ink) !important;
  font-size: 1.08rem;
}

.security-action {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 42px;
  padding: 24px 28px;
  color: #fff;
  background: var(--petrol-deep);
  border-left: 6px solid var(--signal);
}

.security-action strong,
.security-action span {
  display: block;
}

.security-action strong {
  margin-bottom: 3px;
  color: var(--signal);
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.security-action span {
  overflow-wrap: anywhere;
}

.security-action .button {
  flex: 0 0 auto;
}

.security-list {
  padding: 0;
  margin: 20px 0 26px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.security-list li {
  position: relative;
  padding: 11px 0 11px 27px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  line-height: 1.58;
}

.security-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--oxide);
  content: "↘";
  font-weight: 900;
}

.security-list code {
  color: var(--ink);
  font-size: .92em;
  font-weight: 700;
}

.security-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 44px 0 38px;
  padding: 28px;
  background: var(--bone);
  border-left: 6px solid var(--oxide);
}

.security-status h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.security-status p {
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .offer-card {
    transition: transform 220ms ease, box-shadow 220ms ease;
  }

  .offer-card:hover {
    box-shadow: 0 18px 40px rgba(3, 31, 36, .12);
    transform: translateY(-3px);
  }
}

@media (max-width: 1040px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .service-hero-grid,
  .focused-layout,
  .service-cta-card,
  .dns-layout,
  .report-layout,
  .pilot-layout,
  .shoot-layout,
  .rights-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-hero-grid,
  .service-cta-card,
  .dns-layout,
  .pilot-layout,
  .shoot-layout,
  .rights-layout {
    gap: 38px;
  }

  .focused-intro {
    position: static;
  }

  .service-hero-note,
  .status-panel,
  .camera-study,
  .pilot-note {
    width: min(100%, 620px);
  }

  .service-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .service-hero {
    padding: 64px 0;
  }

  .service-hero-grid {
    gap: 38px;
  }

  .service-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.6rem);
  }

  .offer-grid,
  .care-grid,
  .principle-grid,
  .rights-grid {
    grid-template-columns: 1fr;
  }

  .offer-card,
  .care-card {
    min-height: 0;
    padding: 31px 28px;
  }

  .offer-number {
    margin-bottom: 44px;
  }

  .service-cta {
    padding-bottom: 82px;
  }

  .service-cta-card {
    padding: 36px 28px;
  }

  .service-limits {
    grid-template-columns: 1fr;
  }

  .camera-study {
    min-height: 340px;
  }

  .camera-ring {
    width: 190px;
    height: 190px;
  }

  .service-links {
    padding: 28px;
  }

  .security-action {
    display: block;
  }

  .security-action .button {
    margin-top: 20px;
    margin-left: 0;
  }

  .security-status {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .service-hero h1 {
    font-size: clamp(2.3rem, 11.5vw, 3.5rem);
  }

  .service-hero-note,
  .status-panel,
  .pilot-note,
  .boundary-card {
    padding: 28px 24px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid article {
    min-height: 240px;
  }

  .photo-grid article > span {
    margin-bottom: 45px;
  }

  .camera-study {
    min-height: 275px;
  }

  .camera-ring {
    width: 145px;
    height: 145px;
    border-width: 12px;
  }

  .camera-caption {
    display: none;
  }

  .service-links nav {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card {
    transition: none;
  }
}
