/* ===========================================================================
   Home page
   =========================================================================== */

/* --- Hero ------------------------------------------------------------------
   The profile's cover: type over a drill rig, the ground fading to black on
   the left so the words stay readable whatever the photograph is doing. */

.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-7));
  padding-bottom: var(--space-9);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scrim-left);
}

/* A second wash along the bottom so the section meets the record band
   without a hard seam. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(31, 32, 33, 0) 0%, var(--color-ink) 100%);
}

.hero__inner {
  max-width: 900px;
}

.hero__eyebrow {
  margin-bottom: var(--space-5);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  line-height: 0.95;
}

.hero__title span {
  display: block;
  color: var(--color-purple);
  /* The cover sets "Limited" in the logo's purple. On a near-black ground
     that is a low-contrast pair, so it carries a soft halo to lift it. */
  text-shadow: 0 2px 24px rgba(69, 37, 102, 0.9), 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hero__tagline {
  margin-top: var(--space-5);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  font-style: italic;
  color: var(--color-amber);
}

.hero__lead {
  margin-top: var(--space-5);
  max-width: 58ch;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

/* .hero__actions lives in main.css — the page heroes and the closing call
   use it too. */

/* --- Record band ------------------------------------------------------------ */

.record {
  border-block: 1px solid var(--color-hairline);
  background: var(--color-ink-deep);
  padding-block: var(--space-7);
}

.record__grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .record__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .record__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.record__item {
  display: grid;
  gap: var(--space-2);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-amber);
}

.record__figure {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.2vw + 1.4rem, 3.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-amber);
}

.record__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 24ch;
}

/* --- Executive summary ------------------------------------------------------ */

.summary__inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 900px) {
  .summary__inner {
    grid-template-columns: 1fr 0.85fr;
    gap: var(--space-8);
  }
}

.summary__body {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: var(--max-prose);
}

.summary__media {
  position: relative;
}

.summary__media img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.6));
}

/* The dot field the profile places behind its cut-out machinery. */
.summary__media::before {
  content: "";
  position: absolute;
  right: -2%;
  bottom: 4%;
  width: 46%;
  height: 46%;
  z-index: -1;
  background-image: radial-gradient(var(--color-amber) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: 0.45;
}

/* --- Services --------------------------------------------------------------- */

.services-home {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.services-home__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.services-home__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--color-ink-deep) 0%, rgba(23, 24, 26, 0.92) 55%, rgba(23, 24, 26, 0.86) 100%);
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-amber);
}

.service-card:hover .service-card__more i {
  transform: translateX(4px);
}

.service-card__more i {
  transition: transform var(--duration-base) var(--ease-out);
}

.services-home__secondary {
  margin-top: var(--space-5);
}

.service-wide {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  text-decoration: none;
  color: inherit;
}

.service-wide__arrow {
  flex-shrink: 0;
  font-size: 28px;
  transition: transform var(--duration-base) var(--ease-out);
}

.service-wide:hover .service-wide__arrow {
  transform: translate(4px, -4px);
}

/* .achievements* moved to main.css — the about page and every service
   page use the same block. */

/* --- Clientele ---------------------------------------------------------------- */

.clientele__inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 900px) {
  .clientele__inner {
    grid-template-columns: 0.9fr 1fr;
    gap: var(--space-8);
  }
}

.clientele__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.clientele__media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.clientele__list {
  display: grid;
  gap: var(--space-4);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--color-amber);
}

.clientele__list li {
  padding-left: var(--space-5);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
}

/* .cta* moved to main.css — every page ends with it. */
