/* ==================================================
   ASAS — SERVICES
   ================================================== */

   .as-services-page {
    --as-services-header-height: 96px;
    --as-services-ink: #182531;
    --as-services-muted: #69727b;
    --as-services-bronze: #9c7848;
    --as-services-line: rgba(156, 120, 72, 0.18);
  
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 64px;
    background: #f6f3ed;
    color: var(--as-services-ink);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.75;
  }
  
  /* Soft colour throughout the page */
  .as-services-page::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  
    background:
      radial-gradient(
        ellipse 65% 22% at 100% 26%,
        rgba(211, 190, 155, 0.23),
        transparent 75%
      ),
      radial-gradient(
        ellipse 65% 22% at 0% 58%,
        rgba(211, 190, 155, 0.20),
        transparent 75%
      ),
      radial-gradient(
        ellipse 70% 18% at 100% 86%,
        rgba(211, 190, 155, 0.18),
        transparent 75%
      );
  }
  
  .as-services-page *,
  .as-services-page *::before,
  .as-services-page *::after {
    box-sizing: border-box;
  }
  
  .as-services-page [hidden] {
    display: none !important;
  }
  
  .as-services-page h1,
  .as-services-page h2,
  .as-services-page h3,
  .as-services-page p,
  .as-services-page figure {
    margin: 0;
  }
  
  .as-services-page h1,
  .as-services-page h2,
  .as-services-page h3 {
    font-family: 'Space Grotesk', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 500;
    text-transform: none;
    color: var(--as-services-ink);
    letter-spacing: -0.035em;
  }
  
  .as-services-page a {
    text-decoration: none;
  }
  
  .as-services-page a:focus-visible {
    outline: 3px solid #ad8651;
    outline-offset: 6px;
  }
  
  .as-services-container {
    width: min(calc(100% - 96px), 1240px);
    margin: 0 auto;
  }
  
  .as-services-page .as-services-eyebrow {
    margin: 0 0 18px;
    color: var(--as-services-bronze);
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 2.1px;
    text-transform: uppercase;
  }
  
  /* ==================================================
     HERO
     ================================================== */
  
  .as-services-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding:
      calc(var(--as-services-header-height) + 55px)
      max(32px, calc((100vw - 1240px) / 2))
      65px;
    overflow: hidden;
    background: #f4f0e9;
    text-align: left;
  }
  
  .as-services-hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    width: 100%;
    max-width: 510px;
  }
  
  .as-services-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.14;
    text-wrap: balance;
  }
  
  .as-services-page .as-services-hero-description {
    max-width: 470px;
    color: var(--as-services-muted);
    font-size: 15px;
    line-height: 1.85;
    text-wrap: balance;
  }
  
  /* Natural image ratio: no fixed height or cropping */
  .as-services-hero-art {
    position: relative;
    z-index: 1;
    min-width: 0;
    width: 100%;
    pointer-events: none;
  }
  
  .as-services-hero-art img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 1;
    filter: none;
    mix-blend-mode: multiply;
  }
  
  .as-services-explore {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    min-height: 44px;
    margin-top: 22px;
    padding: 8px 0 7px;
    color: var(--as-services-ink);
    font-size: 12px;
    font-weight: 500;
  }
  
  .as-services-explore::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(172, 137, 90, 0.4);
  }
  
  .as-services-explore span {
    color: var(--as-services-bronze);
    font-size: 19px;
    transition: transform 0.4s ease;
  }
  
  .as-services-explore:hover span {
    transform: translateY(3px);
  }
  
  /* ==================================================
     SERVICES
     ================================================== */
  
  .as-services-work {
    position: relative;
    padding: 56px 0 60px;
    overflow: hidden;
    background: transparent;
    scroll-margin-top: calc(var(--as-services-header-height) + 24px);
  }
  
  .as-services-section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 60px;
    padding-bottom: 38px;
  }
  
  .as-services-section-heading h2 {
    font-size: clamp(27px, 2.6vw, 38px);
    line-height: 1.18;
  }
  
  .as-services-section-heading .as-services-eyebrow {
    margin-bottom: 12px;
  }
  
  .as-services-page .as-services-section-description {
    justify-self: end;
    max-width: 440px;
    color: var(--as-services-muted);
    font-size: 14px;
    line-height: 1.85;
  }
  
  .as-services-list {
    border-top: 1px solid var(--as-services-line);
  }
  
  .as-service-row {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 60px;
    padding: 36px 0;
    border-bottom: 1px solid var(--as-services-line);
  }
  
  /* Gentle moving colour behind each service */
  .as-service-row::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 12%;
    right: -120px;
    width: 390px;
    height: 76%;
    border-radius: 55% 45% 65% 35%;
    pointer-events: none;
  
    background: radial-gradient(
      ellipse,
      rgba(217, 200, 173, 0.18),
      rgba(217, 200, 173, 0) 72%
    );
  
    animation: asServicesSoftFlow 14s ease-in-out infinite alternate;
  }
  
  .as-service-row-reverse::before {
    right: auto;
    left: -120px;
    animation-delay: -7s;
  }
  
  @keyframes asServicesSoftFlow {
    from {
      transform: translate(0, -10px) scale(0.96);
    }
  
    to {
      transform: translate(18px, 15px) scale(1.08);
    }
  }
  
  .as-service-figure {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 8 / 5;
    border-radius: 8px;
    background: #eae6df;
    box-shadow: 0 8px 28px rgba(49, 39, 25, 0.055);
  }
  
  .as-service-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.85s cubic-bezier(.2, .7, .3, 1);
  }
  
  .as-service-row:hover .as-service-figure img {
    transform: scale(1.025);
  }
  
  .as-service-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: var(--as-services-muted);
    font-size: 13px;
    text-align: center;
  }
  
  .as-service-content {
    min-width: 0;
    max-width: 460px;
    padding: 8px 0;
  }
  
  .as-service-number {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--as-services-bronze);
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
  }
  
  .as-service-number::after {
    content: '';
    width: 32px;
    height: 1px;
    background: rgba(173, 137, 92, 0.45);
  }
  
  .as-service-content h3 {
    margin-bottom: 18px;
    font-size: clamp(25px, 2.5vw, 35px);
    line-height: 1.2;
    text-wrap: balance;
  }
  
  .as-services-page .as-service-content p {
    color: var(--as-services-muted);
    font-size: 14px;
    line-height: 1.85;
    white-space: pre-line;
  }
  
  .as-services-text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 30px;
    min-height: 44px;
    margin-top: 22px;
    padding: 8px 0;
    color: var(--as-services-ink);
    font-size: 12px;
    font-weight: 500;
  }
  
  .as-services-text-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--as-services-line);
    transition: background 0.3s ease;
  }
  
  .as-services-text-link span {
    color: var(--as-services-bronze);
    font-size: 19px;
    line-height: 1;
    transition: transform 0.4s ease;
  }
  
  .as-services-text-link:hover::after {
    background: var(--as-services-bronze);
  }
  
  .as-services-text-link:hover span {
    transform: translate(3px, -3px);
  }
  
  .as-service-row-reverse .as-service-figure {
    grid-column: 2;
    grid-row: 1;
  }
  
  .as-service-row-reverse .as-service-content {
    grid-column: 1;
    grid-row: 1;
  }
  
  .as-services-empty {
    padding: 60px 0;
    border-top: 1px solid var(--as-services-line);
    border-bottom: 1px solid var(--as-services-line);
    text-align: center;
  }
  
  /* ==================================================
     CTA
     ================================================== */
  
  .as-services-cta {
    width: min(calc(100% - 80px), 1360px);
    margin: 0 auto;
    padding: 54px 56px;
    border-radius: 4px;
    background: rgba(235, 227, 213, 0.6);
  }
  
  .as-services-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
  }
  
  .as-services-cta h2 {
    margin-bottom: 15px;
    font-size: clamp(27px, 2.7vw, 38px);
    line-height: 1.2;
  }
  
  .as-services-page .as-services-cta-description {
    max-width: 580px;
    color: var(--as-services-muted);
    font-size: 14px;
    line-height: 1.8;
  }
  
  .as-services-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    flex-shrink: 0;
    min-height: 50px;
    padding: 15px 24px;
    border: 1px solid #182531;
    background: #182531;
    color: #fff;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.35s ease, border-color 0.35s ease;
  }
  
  .as-services-button span {
    color: #d7bf98;
    font-size: 19px;
    line-height: 1;
    transition: transform 0.35s ease;
  }
  
  .as-services-button:hover {
    background: #314352;
    border-color: #314352;
  }
  
  .as-services-button:hover span {
    transform: translate(3px, -3px);
  }
  
  /* ==================================================
     RESPONSIVE
     ================================================== */
  
  @media (max-width: 1100px) {
    .as-services-container {
      width: calc(100% - 64px);
    }
  
    .as-services-hero {
      gap: 12px;
      padding-inline: 32px;
    }
  
    .as-services-hero h1 {
      font-size: 42px;
    }
  
    .as-service-row {
      gap: 42px;
    }
  
    .as-services-section-heading {
      gap: 42px;
    }
  
    .as-services-cta {
      width: calc(100% - 48px);
      padding: 44px 38px;
    }
  }
  
  @media (max-width: 760px) {
    .as-services-page {
      padding-bottom: 50px;
    }
  
    .as-services-hero {
      grid-template-columns: 1fr;
      gap: 30px;
      padding:
        calc(var(--as-services-header-height) + 44px)
        24px
        35px;
    }
  
    .as-services-hero-copy {
      max-width: 560px;
    }
  
    .as-services-hero h1 {
      font-size: clamp(35px, 7vw, 46px);
    }
  
    .as-services-hero-art {
      width: 100%;
    }
  
    .as-services-work {
      padding: 48px 0 50px;
    }
  
    .as-services-section-heading {
      grid-template-columns: 1fr;
      align-items: start;
      gap: 18px;
      padding-bottom: 28px;
    }
  
    .as-services-section-heading .as-services-section-description {
      justify-self: start;
      max-width: 540px;
    }
  
    .as-service-row {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 30px 0;
    }
  
    .as-service-row-reverse .as-service-figure,
    .as-service-row-reverse .as-service-content {
      grid-column: auto;
      grid-row: auto;
    }
  
    .as-service-row::before {
      width: 280px;
      right: -70px;
    }
  
    .as-service-row-reverse::before {
      right: auto;
      left: -70px;
    }
  
    .as-service-content {
      max-width: none;
      padding: 0;
    }
  
    .as-service-number {
      margin-bottom: 12px;
    }
  
    .as-service-content h3 {
      margin-bottom: 12px;
      font-size: 30px;
    }
  
    .as-services-text-link {
      margin-top: 16px;
    }
  
    .as-services-cta-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }
  
    .as-services-cta h2 {
      font-size: 30px;
    }
  }
  
  @media (max-width: 480px) {
    .as-services-container {
      width: calc(100% - 40px);
    }
  
    .as-services-page .as-services-hero-description {
      font-size: 14px;
    }
  
    .as-services-section-heading h2 {
      font-size: 29px;
    }
  
    .as-service-content h3 {
      font-size: 28px;
    }
  
    .as-services-cta {
      width: calc(100% - 32px);
      padding: 36px 24px;
    }
  
    .as-services-cta h2 {
      font-size: 28px;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .as-services-page *,
    .as-services-page *::before,
    .as-services-page *::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }