/* v12 — real projects and a photographic catalogue.
   Load after atelier.css. The body[v12] marker keeps older templates untouched.
   Motion remains owned by motion.js; this layer never transforms project cards. */

body[v12] {
  --portfolio-gap: clamp(24px, 3.5vw, 54px);
  --portfolio-ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 700px) {
  body[v12] .hero-film img,
  body[v12] .hero-film video { object-position: 65% center; }
}

/* New project names retain the proven single-image navigation treatment.
   These pseudo-elements belong to the document root, not to body. */
:root:has(body[v12])::view-transition-old(interior-wood-and-graphite),
:root:has(body[v12])::view-transition-old(interior-colour-and-light),
:root:has(body[v12])::view-transition-old(interior-soft-lines),
:root:has(body[v12])::view-transition-old(interior-stone-and-water),
:root:has(body[v12])::view-transition-old(interior-surface-and-relief),
:root:has(body[v12])::view-transition-old(interior-loft-and-volume) {
  opacity: 0;
  animation: none;
  mix-blend-mode: normal;
}

:root:has(body[v12])::view-transition-new(interior-wood-and-graphite),
:root:has(body[v12])::view-transition-new(interior-colour-and-light),
:root:has(body[v12])::view-transition-new(interior-soft-lines),
:root:has(body[v12])::view-transition-new(interior-stone-and-water),
:root:has(body[v12])::view-transition-new(interior-surface-and-relief),
:root:has(body[v12])::view-transition-new(interior-loft-and-volume) {
  opacity: 1;
  animation: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}

:root:has(body[v12])::view-transition-old(interior-wood-and-graphite):only-child,
:root:has(body[v12])::view-transition-old(interior-colour-and-light):only-child,
:root:has(body[v12])::view-transition-old(interior-soft-lines):only-child,
:root:has(body[v12])::view-transition-old(interior-stone-and-water):only-child,
:root:has(body[v12])::view-transition-old(interior-surface-and-relief):only-child,
:root:has(body[v12])::view-transition-old(interior-loft-and-volume):only-child {
  opacity: 1;
  animation: unmatched-out .16s ease both;
}

:root:has(body[v12])::view-transition-new(interior-wood-and-graphite):only-child,
:root:has(body[v12])::view-transition-new(interior-colour-and-light):only-child,
:root:has(body[v12])::view-transition-new(interior-soft-lines):only-child,
:root:has(body[v12])::view-transition-new(interior-stone-and-water):only-child,
:root:has(body[v12])::view-transition-new(interior-surface-and-relief):only-child,
:root:has(body[v12])::view-transition-new(interior-loft-and-volume):only-child {
  opacity: 1;
  animation: unmatched-in .3s ease both;
}

/* Project photographs stay whole; every caption has its own readable space. */
body[v12] .projects-heading {
  align-items: end;
  gap: 28px 60px;
  margin-bottom: clamp(30px, 4vw, 56px);
}

body[v12] .projects-heading h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.2vw, 61px);
  line-height: 1.08;
}

body[v12] .projects-heading > p {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.65;
}

body[v12] .project-grid:is(.project-index, .home-projects) {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(38px, 5vw, 74px) var(--portfolio-gap);
  align-items: start;
}

body[v12] .project-grid:is(.project-index, .home-projects) > .project {
  display: block;
  grid-column: span 7;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  text-decoration: none;
}

body[v12] .project-grid:is(.project-index, .home-projects) > .project:nth-child(4n + 2),
body[v12] .project-grid:is(.project-index, .home-projects) > .project:nth-child(4n + 3) {
  grid-column: span 5;
}

body[v12] .project-grid:is(.project-index, .home-projects) .project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.48;
  overflow: hidden;
  background: var(--wash);
}

body[v12] .project-grid:is(.project-index, .home-projects) > .project:nth-child(4n + 2) .project-image,
body[v12] .project-grid:is(.project-index, .home-projects) > .project:nth-child(4n + 3) .project-image {
  aspect-ratio: 1.07;
}

body[v12] .project-grid:is(.project-index, .home-projects) .project-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
  filter: none;
}

body[v12] .project-grid:is(.project-index, .home-projects) .project-caption {
  position: static;
  display: block;
  width: auto;
  padding: 22px 0 0;
  background: none;
}

body[v12] .project-grid:is(.project-index, .home-projects) .project-caption > span:not(.project-link) {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .025em;
  color: var(--muted);
}

body[v12] .project-grid:is(.project-index, .home-projects) .project-caption h3 {
  max-width: 700px;
  margin: 10px 0 0;
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 450;
  line-height: 1.16;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}

body[v12] .project-grid:is(.project-index, .home-projects) .project-caption p {
  max-width: 520px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

body[v12] .project-grid:is(.project-index, .home-projects) .project-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 13px 0 0;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s, color .3s;
}

/* The archive grows through visible cards, not a concealed horizontal rail. */
body[v12] .project-grid:is(.project-index, .home-projects) > .project:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 7px;
}

body[v12] .project-grid:is(.project-index, .home-projects) > .project:focus-visible .project-link {
  color: #e5d5b2;
  border-color: #e5d5b2;
}

/* Portrait and landscape photographs use their own height without empty rows. */
body[v12] .case-gallery {
  display: block;
  columns: 2;
  column-gap: clamp(22px, 3vw, 40px);
}

body[v12] .case-gallery .gallery-open {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(22px, 3vw, 40px);
  break-inside: avoid;
}

/* The concrete service is the card. Old category columns must not squeeze it. */
body[v12] .catalog-group {
  margin-top: clamp(42px, 5vw, 74px);
  padding-bottom: 0;
  scroll-margin-top: 120px;
}

body[v12] .catalog-group-head {
  gap: 18px 28px;
  margin-bottom: 26px;
}

body[v12] .catalog-group-head h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

body[v12] .catalog-group-body {
  display: block;
}

body[v12] .catalog-group .catalog-photo {
  max-width: 850px;
  aspect-ratio: 2;
  margin-bottom: 28px;
}

body[v12] .catalog-description {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.7;
}

body[v12] .catalog-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 26px;
  border-top: 0;
  align-items: stretch;
}

body[v12] .catalog-items > .catalog-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .35s;
}

body[v12] .catalog-item-image {
  display: block;
  flex: none;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--wash);
}

body[v12] .catalog-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
  transition: transform .8s var(--portfolio-ease);
}

body[v12] .catalog-item-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 2px 21px;
  min-width: 0;
}

body[v12] .catalog-item-copy h3 {
  max-width: none;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 450;
  line-height: 1.22;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
  transition: color .3s;
}

body[v12] .catalog-item-copy p {
  margin: 12px 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

body[v12] .catalog-item-copy > span {
  display: block;
  margin-top: auto;
  padding-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: #d7c8aa;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #6f776d;
  text-decoration-thickness: 1px;
}

body[v12] .catalog-items > .catalog-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

/* Keep hidden search results hidden even though cards have explicit display. */
body[v12] .catalog-items > .catalog-item[hidden],
body[v12] .catalog-group[hidden] {
  display: none;
}

/* A service detail pairs a useful image with its actual scope and next step. */
body[v12] .service-detail-list .service-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 66px);
  padding: clamp(30px, 4vw, 54px) 0;
  scroll-margin-top: 118px;
  border-top: 1px solid var(--line);
}

body[v12] .service-detail-card > figure {
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: var(--wash);
}

body[v12] .service-detail-card > figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
}

body[v12] .service-detail-copy {
  min-width: 0;
  padding: 6px 0;
}

body[v12] .service-detail-copy .detail-number {
  display: block;
  margin: 0 0 19px;
  padding: 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: #c7b99c;
}

body[v12] .service-detail-list .service-detail-copy h3 {
  max-width: 550px;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 450;
  line-height: 1.14;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}

body[v12] .service-detail-list .service-detail-copy p {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.75;
}

body[v12] .service-detail-list .service-detail-copy .button {
  max-width: 100%;
  margin-top: 27px;
  font-size: 14px;
  white-space: normal;
  text-align: left;
}

/* Material samples form a small exhibition, with labels below the work. */
body[v12] .decorative-feature {
  padding-top: clamp(52px, 6vw, 88px);
  padding-bottom: clamp(52px, 6vw, 88px);
  background: #202723;
}

body[v12] .decorative-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  gap: 24px 70px;
  margin-bottom: clamp(30px, 4vw, 55px);
}

body[v12] .decorative-intro > .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

body[v12] .decorative-intro h2 {
  max-width: 800px;
  font-size: clamp(33px, 4vw, 58px);
  line-height: 1.1;
}

body[v12] .decorative-intro p:not(.eyebrow) {
  max-width: 470px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #bdc6be;
}

body[v12] .decorative-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

body[v12] .decorative-strip figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

body[v12] .decorative-strip figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
  background: var(--wash);
}

body[v12] .decorative-strip figure:nth-child(2) img {
  aspect-ratio: 1;
}

body[v12] .decorative-strip figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 15px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: #202723;
}

body[v12] .decorative-feature > :is(.button, .text-link),
body[v12] .decorative-feature > div > :is(.button, .text-link) {
  margin-top: 34px;
}

/* Nine directions remain browsable in short windows and at large text sizes. */
body[v12] .mega-panel {
  max-height: calc(100vh - 94px);
  max-height: calc(100dvh - 94px);
  padding-top: 26px;
  padding-bottom: 32px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #758174 #1e2521;
}

body[v12] .mega-heading {
  margin-bottom: 24px;
  padding-bottom: 18px;
}

body[v12] .mega-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px clamp(24px, 4vw, 60px);
}

body[v12] .mega-grid section {
  min-width: 0;
  gap: 1px;
}

body[v12] .mega-grid a {
  min-height: 32px;
  max-width: 100%;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

body[v12] .mega-grid .mega-title {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}

body[v12] .mega-grid a:focus-visible,
body[v12] .catalog-filters button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (hover: hover) {
  body[v12] .project-grid:is(.project-index, .home-projects) > .project:hover .project-link {
    color: #e5d5b2;
    border-color: #e5d5b2;
  }

  body[v12] .catalog-items > .catalog-item:hover {
    background: transparent;
    border-color: #b6a783;
  }

  body[v12] .catalog-item:hover .catalog-item-image img {
    transform: scale(1.035);
  }

  body[v12] .catalog-item:hover .catalog-item-copy h3 {
    color: #e5d5b2;
  }
}

@media (max-width: 1000px) {
  body[v12] .project-grid:is(.project-index, .home-projects) {
    gap: 40px 28px;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) .project-caption h3 {
    font-size: 27px;
  }

  body[v12] .catalog-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  body[v12] .catalog-group-head {
    align-items: start;
    flex-wrap: wrap;
  }

  body[v12] .catalog-group-head > .text-link {
    margin-left: 0;
  }

  body[v12] .service-detail-list .service-detail-card {
    gap: 30px;
  }

  body[v12] .service-detail-copy h3 {
    font-size: 30px;
  }

  body[v12] .decorative-intro {
    gap: 24px 35px;
  }

  body[v12] .mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 35px;
  }
}

@media (max-width: 700px) {
  body[v12] .case-gallery {
    columns: 1;
  }

  body[v12] .projects-heading {
    display: block;
    margin-bottom: 30px;
  }

  body[v12] .projects-heading h2 {
    font-size: clamp(32px, 8.5vw, 44px);
  }

  body[v12] .projects-heading > :is(p, .text-link) {
    margin-top: 22px;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) > .project:nth-child(n) {
    grid-column: auto;
    margin: 0;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) > .project:nth-child(n) .project-image {
    aspect-ratio: 1.23;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) .project-caption {
    padding-top: 19px;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) .project-caption h3 {
    font-size: 27px;
    line-height: 1.15;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) .project-caption p {
    font-size: 15px;
    line-height: 1.6;
  }

  body[v12] .catalog-group {
    margin-top: 42px;
    scroll-margin-top: 100px;
  }

  body[v12] .catalog-group-head {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px 12px;
  }

  body[v12] .catalog-group-head h2 {
    font-size: 28px;
  }

  body[v12] .catalog-group-head > .text-link {
    grid-column: 2;
    justify-self: start;
    margin: 4px 0 0;
  }

  body[v12] .catalog-description {
    margin-bottom: 24px;
    font-size: 15px;
  }

  body[v12] .catalog-items {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  body[v12] .catalog-item-image {
    aspect-ratio: 1.5;
  }

  body[v12] .catalog-item-copy {
    padding: 19px 0 23px;
  }

  body[v12] .catalog-item-copy h3 {
    font-size: 24px;
  }

  body[v12] .catalog-item-copy p {
    font-size: 15px;
    margin: 12px 0 20px;
  }

  body[v12] .catalog-item-copy > span {
    font-size: 13px;
  }

  body[v12] .service-detail-list .service-detail-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 30px 0;
    scroll-margin-top: 100px;
  }

  body[v12] .service-detail-card > figure {
    aspect-ratio: 1.4;
  }

  body[v12] .service-detail-copy {
    padding: 0;
  }

  body[v12] .service-detail-copy .detail-number {
    margin-bottom: 12px;
  }

  body[v12] .service-detail-list .service-detail-copy h3 {
    font-size: 30px;
  }

  body[v12] .service-detail-list .service-detail-copy p {
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.7;
  }

  body[v12] .service-detail-list .service-detail-copy .button {
    margin-top: 24px;
  }

  body[v12] .decorative-intro {
    display: block;
    margin-bottom: 30px;
  }

  body[v12] .decorative-intro > .eyebrow {
    margin-bottom: 20px;
  }

  body[v12] .decorative-intro h2 {
    font-size: 34px;
  }

  body[v12] .decorative-intro p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 15px;
  }

  body[v12] .decorative-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 26px 17px;
  }

  body[v12] .decorative-strip figure:first-child {
    grid-column: 1 / -1;
  }

  body[v12] .decorative-strip figure:first-child img {
    aspect-ratio: 1.4;
  }

  body[v12] .decorative-strip figure:not(:first-child) img {
    aspect-ratio: 4 / 5;
  }

  body[v12] .decorative-strip figcaption {
    margin-top: 0;
    padding-top: 12px;
    font-size: 13px;
  }

  body[v12] .mega-panel {
    max-height: calc(100vh - 78px);
    max-height: calc(100dvh - 78px);
    padding: 23px 22px 30px;
  }

  body[v12] .mega-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body[v12] .mega-grid section {
    padding: 18px 0;
    gap: 0;
  }

  body[v12] .mega-grid .mega-title {
    font-size: 21px;
    margin-bottom: 5px;
  }

  body[v12] .mega-grid a {
    min-height: 40px;
    padding: 9px 0;
    font-size: 14px;
  }
}

@media (max-width: 359px) {
  body[v12] .projects-heading h2,
  body[v12] .decorative-intro h2 {
    font-size: 30px;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) .project-caption h3,
  body[v12] .catalog-group-head h2 {
    font-size: 25px;
  }

  body[v12] .catalog-item-copy h3 {
    font-size: 23px;
  }

  body[v12] .service-detail-list .service-detail-copy h3 {
    font-size: 27px;
  }

  body[v12] .decorative-strip {
    gap: 24px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[v12] .catalog-item-image img,
  body[v12] .catalog-item-copy h3,
  body[v12] .catalog-items > .catalog-item,
  body[v12] .project-grid:is(.project-index, .home-projects) .project-link {
    transition: none;
  }

  body[v12] .catalog-item:hover .catalog-item-image img {
    transform: none;
  }
}

html.motion-off body[v12] .catalog-item-image img,
html.motion-off body[v12] .catalog-item-copy h3,
html.motion-off body[v12] .catalog-items > .catalog-item,
html.motion-off body[v12] .project-grid:is(.project-index, .home-projects) .project-link {
  transition: none;
}

html.motion-off body[v12] .catalog-item:hover .catalog-item-image img {
  transform: none;
}

@media print {
  body[v12] .project-grid:is(.project-index, .home-projects),
  body[v12] .catalog-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  body[v12] .project-grid:is(.project-index, .home-projects) > .project:nth-child(n) {
    grid-column: auto;
  }

  body[v12] .catalog-item,
  body[v12] .project,
  body[v12] .service-detail-card {
    break-inside: avoid;
  }

  body[v12] .decorative-feature {
    background: transparent;
  }
}
/* Shared CTA: a graphite surface and an opening portal, echoing the brand mark.
   Pseudo-elements survive pending/success text changes in the enquiry form. */
body[v12] :is(.button,.mobile-call){
  --cta-surface:#252c28;--cta-border:#7e8980;--cta-light:#edf1e9;
  isolation:isolate;overflow:hidden;clip-path:none;border-radius:2px;
  border:1px solid var(--cta-border);color:var(--cta-light);
  background-color:var(--cta-surface);
  background-image:linear-gradient(108deg,transparent 37%,#e8eee307 44%,#e8eee31c 50%,#e8eee307 56%,transparent 63%);
  background-size:250% 100%;background-position:145% 0;background-repeat:no-repeat;
  padding:18px 82px 18px 27px;min-height:60px;max-width:100%;
  font-weight:450;letter-spacing:0;line-height:1.35;text-align:left;
  box-shadow:inset 0 1px 0 #ffffff0b,0 8px 24px #00000012;
  transition:background-color .4s,border-color .4s,box-shadow .4s,transform .35s,opacity .2s;
}
body[v12] .button{position:relative;gap:0}
body[v12] :is(.button,.mobile-call)::before,
body[v12] :is(.button,.mobile-call)::after{
  content:'';position:absolute;pointer-events:none;z-index:0;inset:auto;
  right:25px;top:50%;width:15px;height:23px;opacity:1;
  border:1px solid #bdc8bc;clip-path:none;animation:none;
  transform:translateY(-50%);background:transparent;
}
body[v12] :is(.button,.mobile-call)::before{
  border-bottom-color:#8f9b8f;
}
body[v12] :is(.button,.mobile-call)::after{
  background:radial-gradient(circle at 78% 55%,#e1e9dc 0 1px,transparent 1.3px),linear-gradient(90deg,#303a32,#49564a);
  transform-origin:0 50%;transform:translateY(-50%) perspective(90px) rotateY(-42deg);
  transition:transform .65s cubic-bezier(.2,.7,.2,1),background-color .4s;
}
body[v12] :is(.button,.mobile-call).cta-glint{animation:portal-light 1.3s ease-out both}
body[v12] :is(.button,.mobile-call).cta-glint::after{animation:portal-welcome 1.3s cubic-bezier(.2,.7,.2,1) both}
@keyframes portal-light{from{background-position:145% 0}to{background-position:-45% 0}}
@keyframes portal-welcome{
  0%,100%{transform:translateY(-50%) perspective(90px) rotateY(-42deg)}
  30%,70%{transform:translateY(-50%) perspective(90px) rotateY(-80deg)}
}
body[v12] :is(.button,.mobile-call):focus-visible{
  outline:2px solid #edf1e9;outline-offset:4px;border-color:#d1dbcf;
}
body[v12] :is(.button,.mobile-call):focus-visible::after{
  transform:translateY(-50%) perspective(90px) rotateY(-68deg);
}
@media(hover:hover){
  body[v12] :is(.button,.mobile-call):not(:disabled):hover{
    background-color:#303a33;border-color:#c3cec0;color:#f3f5ef;
    box-shadow:inset 0 1px 0 #ffffff15,0 10px 30px #00000026;
    animation:portal-light .95s ease-out both;
  }
  body[v12] .button:not(:disabled):hover{transform:translateY(-2px)}
  body[v12] :is(.button,.mobile-call):not(:disabled):hover::after{
    animation:none;transform:translateY(-50%) perspective(90px) rotateY(-68deg);
  }
}
body[v12] .button:not(:disabled):active{transform:translateY(1px);background-color:#1d2520}
body[v12] :is(.button,.mobile-call):active::after{transform:translateY(-50%) perspective(90px) rotateY(-78deg)}
body[v12] .button:disabled{opacity:.55;cursor:wait;animation:none;transform:none;box-shadow:none}
body[v12] .button:disabled::after{animation:none;transform:translateY(-50%)}
body[v12] .mobile-call{background-color:#252c28f5;justify-content:flex-start}
@media(max-width:700px){
  body[v12] :is(.button,.mobile-call){padding:16px 64px 16px 20px;min-height:56px;font-size:14px}
  body[v12] :is(.button,.mobile-call)::before,body[v12] :is(.button,.mobile-call)::after{right:21px;width:13px;height:21px}
  body[v12] .form-actions .button{padding:14px 52px 14px 17px;min-height:50px;font-size:13px}
  body[v12] .form-actions .button::before,body[v12] .form-actions .button::after{right:17px;width:11px;height:19px}
  body[v12] .mobile-call{min-height:52px;padding:14px 60px 14px 20px;font-size:13px}
  body[v12] .contact-layout>div+div{margin-top:28px}
}
/* Explicit client request: the portal remains animated in embedded browsers
   that report reduced motion. The site's manual stop still overrides it. */
html:not(.motion-manual-off) body[v12] :is(.button,.mobile-call).cta-glint{animation:portal-light 2s ease-out both!important}
html:not(.motion-manual-off) body[v12] :is(.button,.mobile-call).cta-glint::after{animation:portal-welcome 2s cubic-bezier(.2,.7,.2,1) both!important}
html:not(.motion-manual-off) body[v12] :is(.button,.mobile-call)::after{transition:transform .65s cubic-bezier(.2,.7,.2,1)!important}
.motion-manual-off body[v12] :is(.button,.mobile-call),.motion-manual-off body[v12] :is(.button,.mobile-call)::before,.motion-manual-off body[v12] :is(.button,.mobile-call)::after{animation:none!important;transition:none!important}
.motion-manual-off body[v12] .button:not(:disabled):is(:hover,:active){transform:none}
.motion-manual-off body[v12] :is(.button,.mobile-call)::after{transform:translateY(-50%) perspective(90px) rotateY(-42deg)!important}
body[v12] picture.responsive-photo{display:contents}

/* Shared gentle light sweep: text links and solid CTAs use the same rhythm. */
body[v12] :is(.button,.mobile-call,.text-link){
  background-image:linear-gradient(108deg,transparent 37%,#e8eee305 44%,#e8eee318 50%,#e8eee305 56%,transparent 63%);
  background-size:250% 100%;background-position:145% 0;background-repeat:no-repeat;
}
html:not(.motion-manual-off) body[v12] :is(.button,.mobile-call,.text-link).cta-glint,
html:not(.motion-manual-off) body[v12] :is(.button,.mobile-call,.text-link):focus-visible{
  animation:portal-light 2.8s cubic-bezier(.2,.65,.3,1) both!important;
}
html:not(.motion-manual-off) body[v12] .text-link::after{
  transition:transform .8s cubic-bezier(.2,.65,.3,1)!important;
}
@media(hover:hover){
  html:not(.motion-manual-off) body[v12] :is(.button,.mobile-call,.text-link):not(:disabled):hover{
    animation:portal-light 2.8s cubic-bezier(.2,.65,.3,1) both!important;
  }
}
.motion-manual-off body[v12] .text-link{animation:none!important}
.motion-manual-off body[v12] .text-link::after{transition:none!important}
body[v12] .button:disabled{animation:none!important}
