.content-page {
  background: #f4f1e9;
  color: #17191d;
}

.content-site-header {
  position: absolute;
}

.content-hero {
  padding: 180px 0 clamp(6rem, 12vw, 11rem);
  background: #0c0e12;
  color: #fff;
}

.content-hero--services {
  background:
    linear-gradient(105deg, rgba(12, 14, 18, 0.98), rgba(12, 14, 18, 0.74)),
    url("/assets/img/case-studies/zyel-office-three-monitors.webp") center / cover;
}

.content-hero--about {
  background:
    radial-gradient(circle at 82% 22%, rgba(142, 214, 255, 0.28), transparent 28%),
    radial-gradient(circle at 15% 82%, rgba(185, 244, 74, 0.16), transparent 25%),
    #0c0e12;
}

.content-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 9vw, 9rem);
}

.content-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(4rem, 8.5vw, 8.2rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.content-hero-copy p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.service-detail-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #fffdf7;
}

.service-detail {
  display: grid;
  grid-template-columns: 70px minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid rgba(23, 25, 29, 0.17);
}

.service-detail:last-child {
  border-bottom: 1px solid rgba(23, 25, 29, 0.17);
}

.service-detail-number {
  color: #739d20;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-detail-heading h2 {
  margin: 1.3rem 0 0;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.service-detail-heading > p:not(.section-label) {
  margin: 1.5rem 0;
  color: #555a62;
  font-size: 1.05rem;
}

.service-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-detail-columns h3 {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-detail-columns ul {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 25, 29, 0.16);
}

.service-detail-columns li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(23, 25, 29, 0.16);
}

.content-split {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.content-split h2 {
  margin: 1.3rem 0 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.engagement-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #8ed6ff;
}

.engagement-list {
  border-top: 1px solid rgba(12, 14, 18, 0.2);
}

.engagement-list article {
  padding: 1.8rem 0;
  display: grid;
  grid-template-columns: 90px 0.8fr 1.2fr;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(12, 14, 18, 0.2);
}

.engagement-list article > span {
  color: #315e75;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.engagement-list h3,
.engagement-list p {
  margin: 0;
}

.engagement-list p {
  color: #24485a;
}

.faq-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #f4f1e9;
}

.faq-list {
  border-top: 1px solid rgba(23, 25, 29, 0.18);
}

.faq-list details {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(23, 25, 29, 0.18);
}

.faq-list summary {
  cursor: pointer;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 850;
}

.faq-list p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: #555a62;
}

.about-statement,
.proof-standard {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #fffdf7;
}

.about-statement .content-split > div > p,
.proof-standard .content-split > div > p {
  color: #555a62;
  font-size: 1.08rem;
}

.principles-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #b9f44a;
}

.principles-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(12, 14, 18, 0.22);
  border-left: 1px solid rgba(12, 14, 18, 0.22);
}

.principles-grid article {
  min-height: 360px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid rgba(12, 14, 18, 0.22);
  border-bottom: 1px solid rgba(12, 14, 18, 0.22);
}

.principles-grid article > span {
  color: #4f6d13;
  font-size: 0.72rem;
  font-weight: 900;
}

.principles-grid h2 {
  margin: 4rem 0 0;
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  line-height: 0.95;
}

.principles-grid p {
  max-width: 520px;
  margin: 1.3rem 0 0;
  color: #35490c;
}

.office-proof {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #0c0e12;
  color: #fff;
}

.office-proof-heading {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.office-proof-heading h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.content-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: #b9f44a;
}

.content-cta h2 {
  max-width: 1020px;
  margin: 0 0 2.5rem;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.legal-hero {
  padding: 180px 0 6rem;
  background: #0c0e12;
  color: #fff;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.legal-hero p:last-child {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.legal-content {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #fffdf7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 800px);
  justify-content: space-between;
  gap: 4rem;
}

.legal-layout > nav {
  position: sticky;
  top: 2rem;
  align-self: start;
  display: grid;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.legal-layout > nav a {
  text-decoration: none;
}

.legal-layout > nav a:hover,
.legal-layout > nav a:focus-visible {
  color: #739d20;
}

.legal-copy section + section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(23, 25, 29, 0.16);
}

.legal-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.legal-copy p {
  margin: 1.2rem 0 0;
  color: #555a62;
}

@media (max-width: 900px) {
  .content-hero-grid,
  .content-split,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 50px 1fr;
  }

  .service-detail-columns {
    grid-column: 2;
  }

  .legal-layout > nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 660px) {
  .content-hero,
  .legal-hero {
    padding-top: 130px;
  }

  .content-hero h1 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail-columns {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .engagement-list article {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid article {
    min-height: 300px;
  }

  .office-proof-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .monitor-brand {
    transition: none;
  }
}

/* Sleeker editorial treatments for services, about, and legal pages. */
.content-hero { padding: 150px 0 clamp(5rem, 9vw, 8rem); }
.content-hero--services {
  background:
    linear-gradient(90deg, #090a0d 0%, rgba(9, 10, 13, 0.94) 54%, rgba(9, 10, 13, 0.58) 100%),
    url("/assets/img/zyel-office-ai/zyel-team-hero.webp") 72% center / cover;
}
.content-hero--about {
  background:
    linear-gradient(90deg, #090a0d 0%, rgba(9, 10, 13, 0.95) 52%, rgba(9, 10, 13, 0.46) 100%),
    url("/assets/img/zyel-office-ai/about-studio-director.webp") 72% center / cover no-repeat;
}
.content-hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr); }
.content-hero h1 {
  max-width: 820px;
  font-size: clamp(3.8rem, 7.2vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}
.content-hero-copy { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.26); }
.content-hero-copy p { font-size: 1.05rem; }

.service-detail-section { background: var(--paper-bright); }
.service-detail { grid-template-columns: 48px minmax(0, 0.72fr) minmax(0, 1.28fr); }
.service-detail-heading h2 { letter-spacing: -0.05em; }
.engagement-section { background: #dcecf2; }
.principles-section { background: var(--paper); }
.principles-grid { border-left: 0; }
.principles-grid article {
  min-height: 300px;
  padding-left: 0;
  background: transparent;
}
.principles-grid article:nth-child(odd) { padding-right: clamp(2rem, 5vw, 5rem); }
.principles-grid h2 { margin-top: 2.5rem; }
.principles-grid p { color: #555a62; }
.office-proof { background: #090a0d; }
.content-cta { background: #090a0d; color: #fff; }
.content-cta h2 { max-width: 900px; font-size: clamp(3.8rem, 7.4vw, 7.4rem); }
.legal-hero { padding-top: 150px; background: #090a0d; }

@media (max-width: 900px) {
  .content-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .content-hero,
  .legal-hero { padding-top: 116px; }
  .content-hero h1 { font-size: clamp(3.3rem, 14vw, 5rem); }
  .content-hero--services,
  .content-hero--about {
    background-position: 68% top;
  }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail-columns { grid-column: auto; grid-template-columns: 1fr; }
  .principles-grid { border-top: 1px solid rgba(12, 14, 18, 0.2); }
  .principles-grid article,
  .principles-grid article:nth-child(odd) { min-height: 0; padding: 2rem 0; border-right: 0; }
}

/* Complete directory recovered from the original Zyel coming-soon offer. */
.capability-directory {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: #0c0e12;
  color: #fff;
}
.capability-directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.capability-directory-heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.056em;
}
.capability-directory-heading > p {
  align-self: end;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}
.capability-group { padding: 2.5rem 0 4rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.capability-group-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr) auto;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: 2rem;
}
.capability-group-heading h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -0.035em; }
.capability-group-heading p { max-width: 650px; margin: 0; color: rgba(255, 255, 255, 0.62); }
.capability-group-heading > span { color: var(--accent); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.capability-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.capability-link-grid a {
  display: flex;
  min-height: 250px;
  padding: 1.4rem 1.4rem 1.4rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  flex-direction: column;
  text-decoration: none;
}
.capability-link-grid a:nth-child(3n + 2),
.capability-link-grid a:nth-child(3n + 3) { padding-left: 1.4rem; }
.capability-link-grid a:nth-child(3n) { border-right: 0; }
.capability-link-grid a:hover { background: rgba(255, 255, 255, 0.035); }
.capability-link-grid span { color: #fff; font-size: 1.08rem; font-weight: 800; }
.capability-link-grid strong { margin: auto 0 1.5rem; color: rgba(255, 255, 255, 0.58); font-size: 0.84rem; font-weight: 520; line-height: 1.58; }
.capability-link-grid em { color: var(--accent); font-size: 0.72rem; font-style: normal; font-weight: 850; }

@media (max-width: 900px) {
  .capability-directory-heading { grid-template-columns: 1fr; }
  .capability-group-heading { grid-template-columns: 1fr; gap: 0.8rem; }
  .capability-link-grid { grid-template-columns: 1fr 1fr; }
  .capability-link-grid a,
  .capability-link-grid a:nth-child(3n + 2),
  .capability-link-grid a:nth-child(3n + 3) { padding: 1.4rem; }
  .capability-link-grid a:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, 0.14); }
  .capability-link-grid a:nth-child(2n) { border-right: 0; }
}

@media (max-width: 660px) {
  .capability-link-grid { grid-template-columns: 1fr; }
  .capability-link-grid a,
  .capability-link-grid a:nth-child(3n),
  .capability-link-grid a:nth-child(2n) { min-height: 190px; padding-inline: 0; border-right: 0; }
}
