@import url("../shared/portfolio.css?v=mobile-20261006");

/* home page styles. Shared colors and type are in visual-system.css. */
/* Base layout */

@layer layout {
  .hero-shell {
    position: relative;
    min-height: min(840px, calc(100svh - 62px));
    padding: 6rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--panel);
    color: #fff;
  }
  .hero-orbit {
    position: absolute;
    width: min(72vw, 880px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    box-shadow:
      0 0 0 70px rgba(255, 255, 255, 0.018),
      0 0 0 140px rgba(255, 255, 255, 0.014);
    pointer-events: none;
  }
  .hero-shell::before,
  .hero-shell::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(242, 152, 72, 0.06);
    filter: blur(75px);
    pointer-events: none;
  }
  .hero-shell::before {
    width: 20rem;
    height: 20rem;
    top: 6%;
    left: 5%;
  }
  .hero-shell::after {
    width: 23rem;
    height: 23rem;
    right: -5%;
    bottom: 0;
    background: rgba(242, 152, 72, 0.07);
  }
  .hero-shell > *:not(.hero-orbit) {
    position: relative;
    z-index: 1;
  }
  .hero-title {
    font-size: clamp(3.5rem, 9.5vw, 8.5rem);
    line-height: 0.89;
    letter-spacing: 0;
    font-weight: 670;
    max-width: 1100px;
    text-wrap: balance;
  }
  .hero-title span {
    color: var(--lime);
  }
  .hero-copy {
    max-width: 570px;
    margin-top: 1.75rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.03rem, 1.5vw, 1.25rem);
  }
  .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 2rem;
  }
  .work-section {
    padding-bottom: 5.5rem;
  }
  .work-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
}
@layer components {
  .tile-index {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 650;
    text-transform: uppercase;
  }
  .hero-shell .eyebrow {
    color: var(--lime);
  }
  .hero-stamp {
    position: absolute !important;
    right: max(2.4rem, calc((100vw - var(--max)) / 2));
    bottom: 2.7rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.05rem;
    border-radius: 1rem;
    text-align: left;
    color: white;
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .hero-shell .text-link {
    color: white;
    border-color: rgba(255, 255, 255, 0.45);
  }
  .work-card {
    flex: 0 0 min(470px, 42vw);
    scroll-snap-align: start;
    position: relative;
    border-radius: 1.05rem;
    overflow: hidden;
    min-height: 440px;
    background: var(--panel);
    border: 1px solid var(--line);
    isolation: isolate;
    transition: transform 0.35s;
  }
  .work-card:nth-child(3n + 2) {
    background: var(--panel);
  }
  .work-card-content {
    position: absolute;
    inset: auto 1.5rem 1.45rem;
    color: white;
  }
  .work-card-content h3 {
    font-size: 1.65rem;
    letter-spacing: 0;
  }
  .work-card-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    margin-top: 0.2rem;
  }
  .work-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    color: var(--lime);
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  .work-placeholder {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border: 1px dashed var(--line);
    border-radius: 1rem;
    color: var(--muted);
  }
  .work-placeholder .placeholder-orbit {
    width: 86px;
    height: 86px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    color: var(--lime);
    font-size: 1.55rem;
  }
  .work-placeholder strong {
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 540;
  }
  .work-placeholder p {
    max-width: 340px;
    font-size: 0.91rem;
    margin-top: 0.4rem;
  }
  .center-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.2rem;
  }
  .learning-callout {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 0.85fr);
    align-items: center;
    gap: 4rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-block: 3rem;
    max-width: 100%;
    padding-inline: max(2rem, calc((100vw - var(--max)) / 2));
    background: var(--panel);
    letter-spacing: 0;
    line-height: 0.93;
    margin-top: 0.7rem;
  }
  .learning-copy > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 420px;
    margin-top: 1rem;
    font-size: 1.02rem;
  }
  .learning-copy .button {
    margin-top: 1.45rem;
  }
  .learning-tile {
    position: relative;
    min-height: 300px;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.35rem;
    overflow: hidden;
    background: var(--panel);
  }
  .tile-mark {
    font-size: 3.2rem;
    letter-spacing: 0;
    font-weight: 650;
  }
  .tile-line {
    height: 1px;
    width: 58%;
    background: var(--lime);
    transform: rotate(-14deg);
    transform-origin: left;
    position: absolute;
    top: 55%;
    left: 19%;
  }
  .tile-index {
    align-self: flex-end;
    font-size: 0.62rem;
    color: var(--muted);
  }
  .service-card {
    perspective: 1200px;
    min-height: 430px;
    position: relative;
  }
  .service-card-inner {
    height: 100%;
    min-height: 430px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.72s cubic-bezier(0.2, 0.75, 0.18, 1);
  }
  .service-card.is-open .service-card-inner {
    transform: rotateY(180deg);
  }
  .service-face {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1.45rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    box-shadow: var(--shadow);
  }
  .service-front {
    justify-content: space-between;
    overflow: hidden;
  }
  .service-front::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--panel);
    right: -80px;
    top: -78px;
    pointer-events: none;
  }
  .service-front > * {
    position: relative;
  }
  .service-front .service-index {
    color: var(--blue2);
    font-size: 0.73rem;
    letter-spacing: 0.15em;
  }
  .service-front h2 {
    font-size: 1.8rem;
    letter-spacing: 0;
    line-height: 1.05;
    margin-top: 2.5rem;
  }
  .service-front p {
    color: var(--muted);
    margin-top: 0.65rem;
    max-width: 310px;
  }
  .service-price {
    font-size: 0.83rem;
    color: var(--lime);
    margin-top: 1rem;
  }
  .service-flip-button {
    margin-top: 1.25rem;
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    font-size: 0.86rem;
  }
  .service-back {
    transform: rotateY(180deg);
    background: var(--panel);
    overflow: auto;
  }
  .service-back h2 {
    font-size: 1.45rem;
    letter-spacing: 0;
  }
  .service-back p {
    color: var(--muted);
    margin-top: 0.48rem;
    font-size: 0.9rem;
  }
  .service-back ul {
    padding-left: 1.12rem;
    color: var(--text);
    display: grid;
    gap: 0.43rem;
    margin: 1.15rem 0 auto;
  }
  .service-back li::marker {
    color: var(--lime);
  }
  .service-back .button {
    align-self: flex-start;
    margin-top: 1rem;
  }
  .service-back .close-flip {
    position: absolute;
    right: 1rem;
    top: 1rem;
    border: 1px solid var(--line);
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: var(--panel);
    cursor: pointer;
  }
  .reveal {
    opacity: 0;
    transform: translateY(15px);
    animation: rise 0.75s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
  }
  .hero-shell .reveal:nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-shell .reveal:nth-child(3) {
    animation-delay: 0.18s;
  }
  .hero-shell .reveal:nth-child(4) {
    animation-delay: 0.27s;
  }
  .hero-shell .reveal:nth-child(5) {
    animation-delay: 0.36s;
  }
  .hero-shell .reveal:nth-child(6) {
    animation-delay: 0.44s;
  }
}
@layer utilities {
  @media (max-width: 780px) {
    .hero-shell {
      min-height: min(770px, calc(100svh - 60px));
      padding: 5rem 1.2rem 7rem;
    }
    .hero-title {
      font-size: clamp(3.3rem, 12vw, 6.5rem);
    }
    .hero-copy {
      font-size: 1rem;
      max-width: 440px;
    }
    .hero-stamp {
      right: 1.2rem;
      bottom: 1.15rem;
    }
    .hero-orbit {
      width: 100vw;
    }
    .work-card {
      flex-basis: min(82vw, 400px);
      min-height: 390px;
    }
    .work-placeholder {
      min-height: 360px;
    }
    .service-card,
    .service-card-inner {
      min-height: 400px;
    }
    .service-front h2 {
      font-size: 1.55rem;
    }
    .learning-callout {
      width: 100%;
      grid-template-columns: 1fr 0.7fr;
      gap: 1.5rem;
      padding-inline: 1.5rem;
    }
    .learning-tile {
      min-height: 250px;
    }
  }
  @media (max-width: 560px) {
    .hero-shell {
      min-height: calc(100svh - 60px);
      padding-inline: 1rem;
    }
    .hero-title {
      font-size: clamp(3rem, 13vw, 4.5rem);
    }
    .hero-copy {
      max-width: 360px;
    }
    .hero-actions {
      flex-direction: column;
      gap: 1rem;
      margin-top: 1.55rem;
    }
    .hero-stamp {
      font-size: 0.64rem;
      padding: 0.7rem 0.75rem;
      right: 0.8rem;
      bottom: 0.85rem;
    }
    .work-controls .quiet-label {
      font-size: 0.6rem;
    }
    .work-card {
      flex-basis: 84vw;
      min-height: 360px;
    }
    .work-placeholder {
      min-height: 330px;
    }
    .learning-callout {
      grid-template-columns: 1fr;
      gap: 1.7rem;
      padding-inline: 1rem;
      margin-block: 1rem;
    }
    .learning-copy h2 {
      font-size: 3.5rem;
    }
    .learning-tile {
      min-height: 205px;
    }
    .service-card,
    .service-card-inner {
      min-height: 350px;
    }
    .service-card {
      max-width: 480px;
      width: 100%;
      margin-inline: auto;
    }
    .service-front h2 {
      font-size: 1.7rem;
      margin-top: 1.8rem;
    }
    .service-front {
      padding: 1.25rem;
    }
    .service-back {
      padding: 1.25rem;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
    }
  }
}

/* Current appearance */

.hero-title {
  color: var(--cream);
  text-align: center;
  letter-spacing: 0;
  font-weight: 650;
  line-height: 1.03;
}
.hero-title span {
  color: var(--cream);
}
.hero-shell {
  min-height: min(790px, calc(94svh - 76px));
  padding: 6rem 1.5rem;
  background: var(--navy);
  color: var(--cream);
}
.hero-orbit,
.hero-shell::before,
.hero-shell::after,
.hero-stamp {
  display: none !important;
}
.hero-shell > *:not(.hero-orbit) {
  position: relative;
  z-index: 1;
}
.hero-title {
  max-width: 1050px;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.99;
}
.hero-copy {
  max-width: 680px;
  margin-top: 1.6rem;
  color: rgba(255, 244, 231, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}
.hero-actions {
  gap: 1.4rem;
  margin-top: 2rem;
}
.reveal {
  animation: none;
  opacity: 1;
  transform: none;
}
.work-section {
  padding-bottom: 5.3rem;
}
.work-controls,
.review-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.work-card {
  flex: 0 0 clamp(290px, 33vw, 420px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 19, 0.12);
  border-radius: 0.9rem;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.28s,
    box-shadow 0.28s;
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.25);
}
.work-card-visual {
  height: auto;
  aspect-ratio: 1.28;
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.work-card-visual img,
.work-card-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.work-card:hover .work-card-visual img,
.work-card:hover .work-card-visual video {
  transform: scale(1.035);
}
.work-card-content {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.3rem 1.15rem;
  color: var(--ink);
}
.work-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  color: #615e59;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.work-card-content h3 {
  color: var(--ink);
  font-size: 1.45rem;
  letter-spacing: 0;
  font-weight: 650;
}
.work-card-content p {
  margin-top: 0.35rem;
  color: #5d5a55;
  font-size: 0.84rem;
  line-height: 1.6;
}
.work-card-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(16, 16, 19, 0.15);
  margin-top: 1.1rem;
  padding-top: 0.7rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.work-card-open b {
  font-size: 1rem;
}
.work-placeholder {
  flex: 0 0 min(520px, 78vw);
  min-height: 345px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  color: var(--cream);
  background: var(--navy);
  text-align: center;
  padding: 2rem;
}
.work-placeholder .placeholder-orbit {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 244, 231, 0.36);
  color: var(--cream);
  margin-bottom: 1rem;
}
.work-placeholder strong {
  color: var(--cream);
  font-size: 1.1rem;
}
.work-placeholder p {
  color: var(--muted);
  max-width: 350px;
  margin-top: 0.5rem;
  font-size: 0.87rem;
}
.home-services-section {
  background: var(--cream);
  color: var(--ink);
  padding-block: 0.15rem;
}
.home-services-wrap {
  padding-block: 6rem;
}
.home-services-section .section-heading h2 {
  color: var(--ink);
}
.home-services-section .section-heading > p:not(.eyebrow) {
  color: #555a63;
}
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.service-card {
  min-height: 365px;
  perspective: 1300px;
}
.service-card-inner {
  min-height: 365px;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 0.68, 0.12, 1);
}
.service-card.is-open .service-card-inner {
  transform: rotateY(180deg);
}
.service-face {
  inset: 0;
  min-height: 365px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 244, 231, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 45px rgba(16, 16, 19, 0.17);
}
.service-front {
  justify-content: space-between;
  overflow: hidden;
  background: rgba(35, 35, 37, 0.92);
  color: var(--cream);
}
.service-front::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  right: 0;
  top: 0;
  background: rgba(255, 244, 231, 0.035);
  pointer-events: none;
}
.service-front > * {
  position: relative;
  z-index: 1;
}
.service-card-copy {
  max-width: 330px;
}
.service-card-copy h3 {
  color: var(--cream);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
}
.service-card-copy p {
  color: rgba(255, 244, 231, 0.72);
  margin-top: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.65;
}
.service-price {
  display: block;
  margin-top: 1rem;
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
}
.service-flip-button {
  align-self: flex-start;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 0.8rem 0 0.3rem;
  border: 0;
  border-top: 1px solid rgba(255, 244, 231, 0.22);
  background: transparent;
  color: var(--cream);
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
}
.service-flip-button span {
  font-size: 1.05rem;
}
.service-back {
  transform: rotateY(180deg);
  background: rgba(255, 244, 231, 0.96);
  color: var(--ink);
  border-color: rgba(16, 16, 19, 0.18);
}
.service-back .service-index {
  color: #5c5b60;
}
.service-back .service-card-copy {
  margin-top: 1.5rem;
}
.service-back .service-card-copy h3 {
  color: var(--ink);
}
.service-back .service-card-copy p {
  color: #56545a;
  font-size: 0.84rem;
}
.service-back ul {
  margin: 0.9rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}
.service-back li {
  display: flex;
  gap: 0.55rem;
  color: #343436;
  font-size: 0.78rem;
  line-height: 1.45;
}
.service-back li::before {
  content: "—";
  color: var(--navy);
  font-weight: 700;
}
.close-flip {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(16, 16, 19, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.service-back .button-light {
  margin-top: auto;
  align-self: flex-start;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
}
.service-back .service-enquiry {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}
.service-back .service-enquiry:hover {
  background: var(--navy);
}
.center-cta {
  margin-top: 2rem;
}
.home-services-section .button-outline {
  color: var(--ink);
  border-color: rgba(16, 16, 19, 0.32);
}
.home-services-section .button-outline:hover {
  color: var(--ink);
  background: rgba(16, 16, 19, 0.06);
  border-color: var(--ink);
}
.review-section {
  padding-block: 6rem 7rem;
}
.review-controls {
  margin-bottom: 1rem;
}
.review-track {
  min-height: 260px;
  align-items: stretch;
}
.review-card {
  flex: 0 0 clamp(300px, 38vw, 480px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(255, 244, 231, 0.2);
  border-radius: 0.85rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  scroll-snap-align: start;
}
.review-number {
  color: #77716a;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}
.review-card blockquote {
  margin: 1rem 0 1.5rem;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 500;
}
.review-byline {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(16, 16, 19, 0.18);
}
.review-byline strong {
  font-size: 0.83rem;
  font-weight: 700;
}
.review-byline span,
.review-byline small {
  color: #5c5a55;
  font-size: 0.73rem;
}
.review-empty {
  flex: 0 0 min(680px, 85vw);
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 244, 231, 0.035);
}
.review-empty p {
  color: var(--cream-dim);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.review-empty h3 {
  color: var(--cream);
  font-size: 1.25rem;
  font-weight: 600;
}
.review-empty span {
  color: var(--muted);
  font-size: 0.84rem;
}
.learning-callout {
  width: 100%;
  max-width: none;
  margin-block: 0;
  padding-inline: max(2rem, calc((100vw - var(--max)) / 2));
  border: 0;
  background: var(--cream);
  color: var(--ink);
}
.learning-copy h2 {
  color: var(--ink);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  letter-spacing: 0;
  line-height: 1.04;
  text-align: center;
}
.learning-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.learning-copy > p:not(.eyebrow) {
  color: #5a5753;
  margin-top: 1rem;
  max-width: 490px;
  line-height: 1.7;
}
.learning-tile {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid rgba(16, 16, 19, 0.12);
  border-radius: 0.9rem;
}
.tile-mark {
  color: var(--cream);
  letter-spacing: 0;
}
.tile-line {
  background: var(--cream);
}
.tile-index {
  color: var(--cream-dim);
}
@media (max-width: 1050px) {
  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .work-section,
  .review-section {
    padding-block: 5rem;
  }
  .hero-shell {
    min-height: min(720px, calc(90svh - 64px));
    padding: 5rem 1.2rem;
  }
  .hero-title {
    font-size: clamp(3rem, 11vw, 6.1rem);
  }
  .hero-copy {
    max-width: 540px;
  }
  .home-services-wrap {
    padding-block: 4.8rem;
  }
  .learning-callout {
    grid-template-columns: 1fr 0.75fr;
    gap: 1.5rem;
    width: calc(100% - 2.5rem);
    padding-inline: 1.5rem;
  }
}
@media (max-width: 560px) {
  .work-section,
  .review-section {
    padding-block: 4.25rem;
  }
  .hero-shell {
    min-height: calc(82svh - 64px);
    padding: 4rem 1rem;
  }
  .hero-title {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
    line-height: 1.03;
  }
  .hero-copy {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 390px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .work-card {
    flex-basis: 84vw;
  }
  .work-card-content {
    padding: 1rem;
  }
  .home-services-wrap {
    padding-block: 4.25rem;
  }
  .home-service-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .service-card-inner,
  .service-face {
    min-height: 330px;
  }
  .service-card {
    width: 100%;
    max-width: 450px;
    margin-inline: auto;
  }
  .service-card-copy h3 {
    font-size: 1.45rem;
  }
  .review-card {
    flex-basis: 84vw;
    min-height: 250px;
  }
  .review-empty {
    flex-basis: 88vw;
    min-height: 230px;
    padding: 1.4rem;
  }
  .review-empty h3 {
    font-size: 1.08rem;
  }
  .learning-callout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    width: calc(100% - 2rem);
    padding-inline: 1rem;
  }
  .learning-copy h2 {
    font-size: 2.85rem;
  }
  .learning-tile {
    min-height: 185px;
  }
}
.hero-title {
  letter-spacing: 0;
  word-spacing: 0.02em;
}
.work-card-content h3,
.service-card-copy h3 {
  letter-spacing: 0;
  word-spacing: 0.025em;
}
.work-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.work-preview-grid.is-track-preview {
  flex: 0 0 min(1040px, 90vw);
  align-self: stretch;
}
@media (max-width: 780px) {
  .work-preview-grid.is-track-preview {
    flex-basis: 90vw;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.hero-shell {
  background: #1b1c1f;
}
.work-section,
.review-section,
.learning-callout {
  position: relative;
  isolation: isolate;
}
.work-section::before,
.review-section::before,
.learning-callout::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -100vw;
  pointer-events: none;
}
.work-section::before {
  background: #121315;
}
.home-services-section {
  background: #1a1b1e;
  color: var(--cream);
}
.home-services-section .section-heading h2,
.home-services-section .section-heading > p:not(.eyebrow) {
  color: var(--cream);
}
.home-services-section .section-heading > p:not(.eyebrow) {
  color: var(--muted);
}
.review-section::before {
  background: #202124;
}
.learning-callout::before {
  background: #151619;
}
.learning-callout {
  background: transparent;
  color: var(--cream);
}
.learning-copy h2,
.learning-copy > p:not(.eyebrow) {
  color: var(--cream);
}
.learning-tile,
.review-empty {
  background-color: rgba(255, 248, 239, 0.055);
  border-color: rgba(255, 248, 239, 0.14);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
.hero-title {
  width: 100%;
  max-width: 1000px;
  font-size: clamp(2.05rem, 6vw, 5.2rem);
  line-height: 1.04;
  text-wrap: nowrap;
}
.hero-title-line {
  display: block;
  white-space: nowrap;
}
.hero-title .hero-title-highlight {
  color: #f29848;
}
.hero-copy {
  max-width: 650px;
  margin-inline: auto;
  color: rgba(247, 235, 223, 0.76);
}
.hero-shell {
  padding: clamp(4rem, 9vh, 7rem) 1.25rem;
}
.service-card-inner {
  transition: transform 1.02s cubic-bezier(0.22, 0.68, 0.12, 1);
}
.service-face {
  border-color: rgba(255, 248, 239, 0.18);
  backdrop-filter: blur(23px) saturate(145%);
  -webkit-backdrop-filter: blur(23px) saturate(145%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.service-front {
  background: rgba(34, 35, 38, 0.78);
  color: var(--cream);
}
.service-back {
  background: #f29848;
  color: #171719;
  border-color: rgba(247, 235, 223, 0.2);
}
.service-back .service-index,
.service-back .service-card-copy h3,
.service-back .service-card-copy p,
.service-back li {
  color: #171719;
}
.service-back li::before {
  color: #171719;
}
.service-back .service-enquiry {
  background: #171719;
  border-color: #171719;
  color: var(--cream);
}
.service-back .service-enquiry:hover {
  background: #303033;
}
.close-flip {
  border-color: rgba(23, 23, 25, 0.35);
  color: #171719;
}
.home-services-section .button-outline {
  color: var(--cream);
  border-color: rgba(255, 248, 239, 0.35);
}
.home-services-section .button-outline:hover {
  color: var(--cream);
  background: rgba(255, 248, 239, 0.08);
  border-color: var(--cream);
}
.review-card {
  color: #171719;
  background: #fff9f2;
  border-color: rgba(255, 249, 242, 0.5);
}
.review-card blockquote {
  color: #252323;
}
.review-quote-mark {
  color: #f29848;
}
.review-byline {
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
}
.review-avatar,
.review-avatar-placeholder {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  object-fit: cover;
}
.review-avatar-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(23, 23, 25, 0.3);
  background: #e9e1d8;
  color: #6c6258;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.review-author {
  display: grid;
  gap: 0.16rem;
}
.work-track {
  gap: 1rem;
  padding: 0.4rem 0.2rem 1.35rem;
}
.work-card {
  flex: 0 0 clamp(320px, 54vw, 680px);
  min-width: 0;
  scroll-snap-align: start;
  position: relative;
  z-index: 0;
  inset: auto;
  width: auto;
  height: auto;
}
.work-card:nth-child(3n + 2) {
  inset: auto;
  width: auto;
  height: auto;
  z-index: 0;
}
.work-card-visual {
  flex: 0 0 auto;
}
.work-preview-grid.is-track-preview {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
  align-self: stretch;
  grid-template-columns: none;
  gap: 0.85rem;
}
.work-preview-grid.is-track-preview .preview-tile {
  flex: 0 0 clamp(250px, 29vw, 370px);
  width: auto;
}
.work-preview-grid.is-track-preview .preview-tile img {
  height: clamp(185px, 20vw, 270px);
}
.review-track {
  gap: 1rem;
}
.review-card {
  scroll-snap-align: start;
}
@media (max-width: 780px) {
  .hero-shell {
    min-height: min(670px, calc(92svh - var(--nav-h)));
    padding: 4.2rem 1rem;
  }
  .hero-title {
    font-size: clamp(1.8rem, 7.15vw, 3.55rem);
    line-height: 1.08;
  }
  .hero-copy {
    max-width: 520px;
    font-size: 0.94rem;
  }
  .home-services-section .section {
    padding-inline: 1.1rem;
  }
  .home-service-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .service-card,
  .service-card-inner,
  .service-face {
    min-height: 335px;
  }
  .service-card-inner {
    transition-duration: 0.9s;
  }
  .review-card {
    flex-basis: min(84vw, 430px);
  }
  .work-card {
    flex-basis: 84vw;
    min-height: 0;
  }
  .work-preview-grid.is-track-preview .preview-tile {
    flex-basis: 76vw;
  }
  .work-preview-grid.is-track-preview .preview-tile img {
    height: clamp(165px, 48vw, 240px);
  }
}
@media (max-width: 360px) {
  .hero-title {
    font-size: clamp(1.55rem, 7.1vw, 1.8rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card-inner,
  .work-card {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.client-logo-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4rem max(2rem, calc((100vw - var(--max)) / 2)) 4.6rem;
  border-block: 1px solid rgba(255, 248, 239, 0.08);
  background: #191a1d;
}
.client-logo-section[hidden] {
  display: none !important;
}
.client-logo-section .section-heading {
  margin-bottom: 1.35rem;
}
.client-logo-section .section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.client-logo-section .section-heading > p:not(.eyebrow) {
  margin-top: 0.7rem;
  font-size: 0.92rem;
}
.client-logo-marquee {
  width: 100%;
  overflow: hidden;
  padding: 0.9rem 0;
}
.client-logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: client-logo-marquee 34s linear infinite;
  will-change: transform;
}
.client-logo-group {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
  padding-right: clamp(3rem, 6vw, 6.5rem);
}
.client-logo-item {
  flex: 0 0 clamp(96px, 12vw, 164px);
  width: clamp(96px, 12vw, 164px);
  height: 68px;
  display: grid;
  place-items: center;
}
.client-logo-item img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(0.88);
  opacity: 0.76;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.client-logo-item img:hover {
  opacity: 1;
  transform: scale(1.04);
}
.client-logo-marquee:hover .client-logo-track,
.client-logo-marquee:focus-within .client-logo-track {
  animation-play-state: paused;
}
.service-card {
  min-height: 390px;
  perspective: 1500px;
}
.service-card-inner {
  min-height: 390px;
  transition: transform 0.94s cubic-bezier(0.18, 0.78, 0.2, 1);
  transform-style: preserve-3d;
}
.service-card.is-open .service-card-inner {
  transform: rotateY(180deg) rotateZ(0.18deg);
}
.service-face {
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}
.service-front {
  background: rgba(30, 31, 34, 0.84);
  border-color: rgba(255, 248, 239, 0.16);
}
.service-front::before {
  background: rgba(255, 248, 239, 0.035);
}
.service-price {
  margin: 0;
  color: var(--cream);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}
.service-flip-button {
  border-bottom-color: rgba(247, 235, 223, 0.3);
  transition:
    color 0.25s,
    border-color 0.25s,
    letter-spacing 0.25s;
}
.service-flip-button:hover {
  color: var(--accent);
  border-color: var(--accent);
  letter-spacing: 0.015em;
}
.service-back {
  background: #f2e8d9;
  color: #171719;
  border-color: rgba(255, 248, 239, 0.28);
}
.service-back .service-index {
  color: #8b5d35;
  font-weight: 700;
}
.service-back .service-card-copy {
  margin-top: 0.75rem;
}
.service-back .service-card-copy h3 {
  color: #171719;
}
.service-back .service-card-copy p {
  color: #55504a;
}
.service-back ul {
  margin: 0.7rem 0 1rem;
}
.service-back li {
  color: #302e2b;
}
.service-back li::before {
  color: var(--accent);
}
.service-back-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: auto;
}
.service-back .service-price {
  color: #8b4b1c;
  font-size: 1rem;
}
.service-back .service-enquiry {
  margin-top: 0;
  white-space: nowrap;
  background: #171719;
  border-color: #171719;
  color: var(--cream);
}
.service-back .service-enquiry:hover {
  background: #303033;
  border-color: #303033;
}
.service-back .close-flip {
  z-index: 2;
}

@media (max-width: 780px) {
  .client-logo-section {
    padding: 3.2rem 1rem 3.6rem;
  }
  .client-logo-section .section-heading {
    margin-bottom: 1rem;
  }
  .client-logo-item {
    flex-basis: 118px;
    width: 118px;
    height: 58px;
  }
  .client-logo-item img {
    max-height: 46px;
  }
  .service-card,
  .service-card-inner,
  .service-face {
    min-height: 365px;
  }
  .service-card-inner {
    transition-duration: 0.94s;
  }
  .service-back-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }
  .service-back .service-enquiry {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card-inner,
  .client-logo-track {
    transition-duration: 0.01ms !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .client-logo-marquee {
    overflow-x: auto;
  }
  .client-logo-group[aria-hidden="true"] {
    display: none;
  }
}
.review-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  min-height: 0;
  overflow: visible;
  align-items: stretch;
  padding: 0;
  touch-action: auto;
  cursor: auto;
  user-select: auto;
}
.review-track .review-card {
  width: auto;
  min-width: 0;
  flex: initial;
  min-height: 260px;
  scroll-snap-align: none;
}
.review-track .review-card[hidden] {
  display: none !important;
}
.review-expand-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.review-expand-button {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  min-width: 120px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 248, 239, 0.25);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.055);
  color: var(--cream);
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background 0.25s,
    border-color 0.25s;
}
.review-expand-button:hover {
  border-color: rgba(242, 152, 72, 0.7);
  background: rgba(255, 248, 239, 0.1);
}
.review-expand-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 36px;
  overflow: visible;
  line-height: 0.5;
  color: #f29848;
}
.review-expand-arrows span {
  display: block;
  opacity: 0.16;
  font-size: 0.9rem;
  animation: review-arrow-flow 1.5s ease-in-out infinite;
  animation-delay: calc(var(--arrow-index) * 0.13s);
}
.review-expand-button [data-review-label] {
  font-size: 0.72rem;
  font-weight: 650;
}
.review-expand-wrap[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .review-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .review-track {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .review-expand-arrows span {
    animation: none;
    opacity: 0.75;
  }
}
.service-card-inner {
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.review-track .review-card {
  min-height: 365px;
  padding: 1.5rem 1.55rem 1.35rem;
  border-radius: 1rem;
  background: #fff9f2;
  color: #252323;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.19);
}
.review-rating {
  display: flex;
  gap: 0.12rem;
  color: #d89b22;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.review-quote-mark {
  display: block;
  margin: 0.45rem 0 -0.1rem;
  color: #f29848;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 0.8;
}
.review-track .review-card blockquote {
  margin: 0.55rem 0 1.3rem;
  color: #45413d;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.72;
}
.review-track .review-byline {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 16, 19, 0.16);
}
.review-avatar,
.review-avatar-placeholder {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
  border-radius: 50%;
  object-fit: cover;
  background: #e7ded4;
}
.review-author strong {
  color: #292724;
  font-size: 0.9rem;
}
.review-author span {
  color: #71685f;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.015em;
}
.review-avatar-placeholder {
  display: grid;
  place-items: center;
  color: #71685f;
  font-size: 0.8rem;
  font-weight: 700;
}
.home-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  overflow: visible;
  padding: 0;
}
.home-work-grid .archive-card {
  min-width: 0;
}
.home-work-grid .archive-visual {
  aspect-ratio: 1.45;
}
.home-work-more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.home-work-more[hidden] {
  display: none !important;
}
.home-work-more .review-expand-button {
  text-decoration: none;
}
.review-expand-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.45rem 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: color 0.2s ease;
}
.review-expand-button:hover {
  border-color: transparent;
  background: transparent;
  color: var(--accent);
}
.review-expand-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  height: auto;
  overflow: visible;
  color: var(--accent);
}
.review-expand-arrows span {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 0.3rem;
  opacity: 0.18;
  animation: review-arrow-flow 1.5s ease-in-out infinite;
}
.review-expand-arrows svg {
  display: block;
  width: 0.72rem;
  height: 0.45rem;
  overflow: visible;
}
.review-expand-arrows path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.review-expand-arrows span:nth-child(2) {
  animation-delay: 0.15s;
}
.review-expand-arrows span:nth-child(3) {
  animation-delay: 0.3s;
}
.review-expand-arrows span:nth-child(4) {
  animation-delay: 0.45s;
}
.review-expand-arrows.review-arrows-up span {
  animation-name: review-arrow-flow-up;
}
.review-expand-button [data-review-label],
.review-expand-button > span:last-child {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}
.review-expand-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.hero-actions .button-light {
  border-radius: 999px;
}
.home-services-section .service-back {
  background: #9f4a17;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.home-services-section .service-back .service-index,
.home-services-section .service-back .service-card-copy h3,
.home-services-section .service-back .service-card-copy p,
.home-services-section .service-back li,
.home-services-section .service-back .service-price {
  color: #fff;
}
.home-services-section .service-back .service-enquiry {
  color: #171719;
  background: #fff9f2;
  border-color: #fff9f2;
}
.home-services-section .service-back .service-enquiry:hover {
  background: #fff;
  border-color: #fff;
}
.service-flip-button span,
.service-enquiry span,
.work-card-open b,
.center-cta .button span {
  display: none !important;
}
.review-photo-current {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.review-photo-current img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
}
.review-photo-note {
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .home-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .home-work-grid {
    grid-template-columns: 1fr;
  }
  .review-track .review-card {
    min-height: 340px;
    padding: 1.25rem;
  }
  .service-card,
  .service-card-inner,
  .service-face {
    min-height: 470px;
  }
  .service-back {
    overflow-y: auto;
  }
  .service-back-bottom {
    align-items: stretch;
  }
  .service-back .service-enquiry {
    min-height: 48px;
  }
}
@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(2.15rem, 10.6vw, 3.35rem);
    line-height: 1.03;
    text-wrap: initial;
  }
  .hero-title-line {
    white-space: normal;
  }
  .mobile-hero-break {
    display: block;
  }
  .hero-actions .button {
    min-width: min(100%, 250px);
  }
}
.mobile-hero-break {
  display: none;
}
.service-card-inner {
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.home-services-section .service-back .service-price-block > span {
  color: rgba(255, 255, 255, 0.78);
}
.home-services-section .service-back .service-enquiry {
  border-radius: 999px;
}
.home-work-grid .archive-card,
.review-track .review-card {
  scroll-snap-align: unset;
}
.service-back {
  overscroll-behavior: contain;
}
.client-logo-section {
  position: relative;
  z-index: 1;
}
@media (max-width: 700px) {
  .service-card,
  .service-card-inner,
  .service-face {
    min-height: 470px;
  }
  .service-card-inner {
    transition-duration: 1.2s;
  }
  .service-back {
    overflow-y: auto;
  }
  .service-back-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 0.6rem;
  }
  .service-back .service-enquiry {
    width: 100%;
    min-height: 48px;
  }
  .home-work-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .mobile-hero-break {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card-inner {
    transition-duration: 0.01ms !important;
  }
  .home-work-more .review-expand-arrows span,
  .review-expand-arrows span {
    animation: none !important;
    opacity: 0.75;
  }
}
@media (hover: hover) and (pointer: fine) {
  .review-track .review-card {
    transition:
      transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
      box-shadow 0.32s ease;
  }
  .review-track .review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.26);
  }
}
.client-logo-track {
  animation-duration: 20s;
}
.client-logo-marquee:hover .client-logo-track,
.client-logo-marquee:focus-within .client-logo-track {
  animation-play-state: running;
}
.client-logo-item img,
.client-logo-item img:hover {
  filter: none;
  opacity: 1;
  transform: none;
  transition: none;
}
.close-flip {
  background: #fff;
  color: #19191b;
  border: 1px solid rgba(25, 25, 27, 0.2);
}
.close-flip:hover {
  background: #fff;
  color: #19191b;
}
.service-back {
  overflow: visible !important;
  overscroll-behavior: auto;
  touch-action: pan-y;
}
@media (max-width: 700px) {
  .service-back {
    overflow: visible !important;
  }
}
.learning-tile-image[hidden] {
  display: none !important;
}
.learning-tile {
  position: relative;
  overflow: hidden;
}
.learning-tile-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.learning-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 15, 0.34);
  pointer-events: none;
}
.learning-tile .tile-mark,
.learning-tile .tile-line,
.learning-tile .tile-index {
  position: relative;
  z-index: 1;
}
.work-section .section-heading h2,
.work-section .section-heading h2 span,
.home-services-section .section-heading h2,
.home-services-section .section-heading h2 span,
.client-logo-section .section-heading h2,
.client-logo-section .section-heading h2 span {
  color: var(--cream) !important;
}
.service-card-copy h3,
.service-card-copy h3 .title-accent {
  color: var(--cream) !important;
}
.service-front .service-price {
  color: var(--cream) !important;
}
.service-back .service-price-block > span {
  color: rgba(255, 255, 255, 0.78) !important;
}

@media (min-width: 701px) {
  .service-back-bottom {
    align-items: center;
  }
  .service-back-bottom .service-price-block {
    margin-top: 0;
  }
  .service-back-bottom .service-enquiry {
    align-self: center;
  }
}
.hero-title .hero-title-highlight {
  color: var(--cream) !important;
}
.hero-title .hero-title-highlight {
  color: var(--accent) !important;
}
.home-services-section .service-card,
.home-services-section .service-card-inner,
.home-services-section .service-face {
  min-height: 440px;
}
.service-back {
  background: #b8510c !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}
.service-back {
  justify-content: flex-start;
  padding: 1.55rem;
}
.service-breakdown-list {
  display: grid;
  gap: 0.74rem;
  margin: 0.9rem 0 1rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.service-breakdown-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.78rem;
  color: #fff !important;
  font-size: 0.97rem;
  font-weight: 550;
  line-height: 1.45;
}
.service-breakdown-list li::before {
  content: "✓";
  display: grid;
  width: 1.42rem;
  height: 1.42rem;
  flex: 0 0 1.42rem;
  place-items: center;
  margin-top: 0.02rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}
.service-back-bottom {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end !important;
  gap: 0.8rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.75rem;
}
.service-back .service-price-block {
  display: grid;
  justify-items: start;
  gap: 0.38rem;
  min-width: 0;
  margin: 0;
}
.service-back .service-price-block > span {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.service-back .service-price {
  display: block;
  margin: 0;
  color: #fff !important;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.service-back .service-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.15rem;
  border: 1px solid #fff !important;
  border-radius: 999px;
  background: #fff !important;
  color: #98420b !important;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.service-back .service-enquiry:hover {
  background: #fff5ea !important;
  border-color: #fff5ea !important;
  color: #7d3508 !important;
}
@media (max-width: 700px) {
  .home-services-section .service-card,
  .home-services-section .service-card-inner,
  .home-services-section .service-face {
    min-height: 470px;
  }
  .service-back {
    padding: 1.25rem;
  }
  .service-back-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
  }
  .service-back .service-enquiry {
    min-height: 44px;
    padding: 0.62rem 0.9rem;
    font-size: 0.88rem;
  }
}
.service-front {
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.55rem;
  border-radius: 1.25rem;
  background: #151516 !important;
  color: var(--cream);
  text-align: left;
}
.service-front::before {
  background: rgba(255, 248, 239, 0.025);
}
.service-front-main {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1.35rem;
  width: 100%;
  flex: 1 1 auto;
  text-align: left;
}
.service-card-copy {
  max-width: 100%;
  margin: 0;
}
.service-card-copy h3 {
  display: block;
  margin: 0;
  color: var(--cream) !important;
  font-size: clamp(1.48rem, 2.2vw, 1.9rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.13;
  text-align: left;
  text-transform: none;
}
.service-card-copy p {
  display: block;
  margin: 0.75rem 0 0;
  color: rgba(255, 248, 239, 0.66);
  font-size: clamp(0.96rem, 1.15vw, 1.12rem);
  font-weight: 450;
  line-height: 1.65;
  text-align: left;
}
.service-front .service-price-block {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  min-width: 0;
  margin: 0;
}
.service-front .service-price-block > span {
  color: rgba(255, 248, 239, 0.46) !important;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}
.service-front .service-price {
  display: block;
  margin: 0;
  color: var(--cream) !important;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.service-flip-button {
  display: grid;
  width: 3.55rem;
  height: 3.55rem;
  flex: 0 0 3.55rem;
  place-items: center;
  align-self: center;
  padding: 0;
  border: 1px solid rgba(255, 248, 239, 0.14);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 248, 239, 0.72);
  cursor: pointer;
  transition:
    color 0.25s,
    border-color 0.25s,
    background-color 0.25s;
}
.service-flip-button {
  border-top: 1px solid rgba(255, 248, 239, 0.14);
}
.service-flip-button svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-flip-button:hover {
  border-color: var(--accent);
  background: rgba(255, 248, 239, 0.055);
  color: var(--accent);
}
.service-flip-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .service-front {
    padding: 1.3rem;
  }
  .service-front-main {
    gap: 1.2rem;
  }
  .service-flip-button {
    width: 3.2rem;
    height: 3.2rem;
    flex-basis: 3.2rem;
  }
  .service-card-copy p {
    font-size: 0.98rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card-inner,
  .service-flip-button {
    transition-duration: 0.01ms !important;
  }
}
.service-back-writeup {
  white-space: pre-line;
}
.home-services-section .service-back-writeup {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 0.96rem;
  font-weight: 520;
  line-height: 1.6;
}
.home-services-section .service-back .service-breakdown-list {
  display: grid;
  gap: 0.62rem;
  margin: 0.85rem 0 0.4rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.home-services-section .service-back .service-breakdown-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  color: #fff !important;
  font-size: 0.91rem;
  font-weight: 570;
  line-height: 1.45;
}
.home-services-section .service-back .service-breakdown-list li::before {
  content: "✓";
  display: grid;
  width: 1.32rem;
  height: 1.32rem;
  flex: 0 0 1.32rem;
  place-items: center;
  margin-top: 0.02rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}
.home-service-bullet-editor {
  display: grid;
  gap: 0.5rem;
}
.home-service-bullet-editor .breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}
.home-service-bullet-editor .breakdown-row .mini-button {
  min-width: 2.45rem;
  min-height: 2.45rem;
}
.home-service-bullet-editor + .button {
  justify-self: start;
  margin-top: 0.55rem;
}
@media (max-width: 700px) {
  .home-services-section .service-back-writeup {
    font-size: 0.93rem;
    line-height: 1.55;
  }
  .home-services-section .service-back .service-breakdown-list {
    gap: 0.55rem;
    margin-top: 0.72rem !important;
  }
  .home-services-section .service-back .service-breakdown-list li {
    font-size: 0.88rem;
    gap: 0.6rem;
  }
}
.home-services-section .service-flip-button {
  position: relative;
  display: grid;
  place-items: center;
}
.home-services-section .service-flip-button > svg {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  pointer-events: none;
}
.client-logo-section {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
}
.client-logo-marquee {
  width: 100%;
  overflow: hidden;
  padding: 1.2rem 0;
}
.client-logo-track {
  width: max-content;
  animation: client-logo-marquee var(--client-logo-duration, 20s) linear infinite;
}
.client-logo-group {
  flex: 0 0 auto;
}
.client-logo-marquee:hover .client-logo-track,
.client-logo-marquee:focus-within .client-logo-track {
  animation-play-state: running;
}
@media (prefers-reduced-motion: reduce) {
  .client-logo-track {
    animation: none !important;
  }
  .client-logo-marquee {
    overflow-x: auto;
  }
  .client-logo-group[aria-hidden="true"] {
    display: none;
  }
}
.home-flyer-section {
  position: relative;
  padding: 2.4rem 0;
  overflow: hidden;
  background: #101113;
  border-block: 1px solid rgba(255, 248, 239, 0.055);
}
.home-flyer-section[hidden] {
  display: none !important;
}
.flyer-carousel {
  position: relative;
}
.flyer-stage {
  position: relative;
  width: 100vw;
  height: clamp(390px, 40vw, 550px);
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  perspective: 950px;
  perspective-origin: 50% 48%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.flyer-stage.is-dragging {
  cursor: grabbing;
}
.flyer-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  /* The stage owns gestures, including touches on transformed artwork in Safari. */
  pointer-events: none;
}
.flyer-state {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 34rem);
  transform: translate(-50%, -50%);
  margin: 0;
  color: var(--cream-dim);
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.6;
}
.flyer-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(175px, 30vw, 460px);
  aspect-ratio: 7/9;
  margin: 0;
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(var(--flyer-x, 0px), 0, var(--flyer-depth, 0px))
    rotateY(var(--flyer-yaw, 0deg)) scale(var(--flyer-scale, 1));
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  /* JavaScript animates a single progress value, so dragging has no transition lag. */
  transition: none;
  will-change: transform, opacity;
}
.flyer-art {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 239, 0.16);
  border-radius: 2px;
  background: #090a0b;
  box-shadow: 0 23px 54px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.8s ease;
}
.flyer-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.flyer-card.is-focused .flyer-art {
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.56);
}
.flyer-stage.is-dragging .flyer-card {
  transition: none !important;
}
@media (max-width: 700px) {
  .home-flyer-section {
    padding: 1.6rem 0;
  }
  .flyer-stage {
    height: clamp(340px, 92vw, 460px);
    perspective: 850px;
  }
  .flyer-card {
    width: clamp(165px, 58vw, 245px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .flyer-card,
  .flyer-art {
    transition: none !important;
  }
}
.home-services-section .service-front {
  background: #242529;
  border-color: rgba(255, 248, 239, 0.19);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 248, 239, 0.05);
}
.home-services-section .service-front::before {
  background: #2d2e32;
}
.home-services-section .service-front:hover {
  border-color: rgba(242, 152, 72, 0.42);
}

/* Two intentional lines in the mobile learning callout. */
@media (max-width: 680px) {
  .learning-callout {
    grid-template-columns: 1fr;
  }
  .learning-copy h2 {
    font-size: clamp(1.7rem, 8.2vw, 2.85rem);
    line-height: 1.12;
  }
  .learning-title-line {
    display: block;
    white-space: nowrap;
  }
  .learning-title-break {
    display: none;
  }
}

/* Keep the requested service phrases together on phones. */
.home-services-title .heading-line { display: block; white-space: nowrap; }
@media (max-width: 700px) {
  .home-services-section .section-heading .home-services-title {
    font-size: clamp(1.65rem, 7.2vw, 3rem);
    line-height: 1.12;
  }
}
.flyer-stage { touch-action: pan-y pinch-zoom; }
