/* Header, hero, mega-menu and their motion are intentionally scoped here. */

.alt-front-page-main,
.alt-front-page-main.wp-block-group,
.alt-front-page .wp-site-blocks {
  margin: 0;
  padding: 0;
}

header.wp-block-template-part:has(.alt-site-header) {
  position: relative;
  z-index: 100;
  margin: 0;
}

.alt-site-header {
  --alt-header-foreground: var(--alt-color-text);
  position: relative;
  z-index: 100;
  color: var(--alt-header-foreground);
  font-family: "Onest", Arial, sans-serif;
}

.alt-front-page .alt-site-header {
  --alt-header-foreground: var(--alt-color-text);
}

.alt-site-header__bar {
  position: relative;
  z-index: 102;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--alt-header-height);
  padding: 0 var(--alt-page-gutter);
  color: var(--alt-header-foreground);
  background: var(--alt-color-background);
  transition: color 420ms var(--alt-ease-premium), background-color 420ms var(--alt-ease-premium);
}

.alt-site-header.is-menu-open,
.alt-front-page .alt-site-header.is-menu-open {
  --alt-header-foreground: var(--alt-color-text);
}

.alt-site-header.is-menu-open .alt-site-header__bar,
.alt-front-page .alt-site-header.is-menu-open .alt-site-header__bar {
  background: var(--alt-color-background);
}

.alt-site-header__identity {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1vw, 1.25rem);
  min-width: 0;
}

.alt-site-header__actions {
  display: contents;
}

.alt-site-header__logo-link,
.alt-site-header .custom-logo-link {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: clamp(8.7rem, 10.8vw, 12.5rem);
  height: 2.75rem;
  overflow: hidden;
}

.alt-site-header__logo,
.alt-site-header .custom-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  filter: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: filter 420ms var(--alt-ease-premium);
}

.alt-menu-toggle {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.48rem;
  padding: 0.56rem 0.76rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: inherit;
  background: transparent;
  font: 500 clamp(0.69rem, 0.72vw, 0.79rem)/1 "Onest", Arial, sans-serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  transition: color 240ms ease 80ms, border-color 240ms ease;
}

.alt-menu-toggle__wipe {
  position: absolute;
  z-index: -1;
  inset: -1px;
  background: var(--alt-color-accent);
  transform: translateX(-102%);
  transition: transform 420ms var(--alt-ease-out);
}

.alt-front-page .alt-site-header:not(.is-menu-open) .alt-menu-toggle {
  color: var(--alt-color-menu-text);
  border-color: var(--alt-color-accent);
  background: var(--alt-color-accent);
  transition: background-color 200ms ease, border-color 200ms ease;
}

.alt-front-page .alt-site-header:not(.is-menu-open) .alt-menu-toggle__wipe {
  background: var(--alt-color-accent-hover);
  transition: transform 200ms var(--alt-ease-out);
}

.alt-front-page .alt-site-header:not(.is-menu-open) :where(a, button):focus-visible {
  outline-color: var(--alt-color-accent);
}

.alt-mega-menu :where(a, button):focus-visible {
  outline-color: var(--alt-color-menu-text);
}

.alt-site-header.is-menu-open .alt-menu-toggle {
  color: var(--alt-color-menu-text);
  border-color: var(--alt-color-menu-background);
}

.alt-site-header.is-menu-open .alt-menu-toggle__wipe { transform: translateX(0); }

.alt-menu-toggle__icon {
  position: relative;
  z-index: 1;
  width: 1.05rem;
  height: 0.6rem;
  margin-right: 0.54rem;
}

.alt-menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 500ms var(--alt-ease-premium), top 500ms var(--alt-ease-premium);
}

.alt-menu-toggle__icon span:first-child { top: 0.16rem; }
.alt-menu-toggle__icon span:last-child { top: 0.43rem; }
.alt-site-header.is-menu-open .alt-menu-toggle__icon span:first-child { top: 0.3rem; transform: rotate(45deg); }
.alt-site-header.is-menu-open .alt-menu-toggle__icon span:last-child { top: 0.3rem; transform: rotate(-45deg); }

.alt-site-header__descriptor {
  margin: 0;
  font-size: clamp(0.65rem, 0.68vw, 0.76rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.alt-menu-toggle__label {
  position: relative;
  z-index: 1;
}

.alt-rolling {
  position: relative;
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: -0.06em;
}

.alt-rolling__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.alt-rolling__track {
  display: flex;
  flex-direction: column;
  height: 2em;
  transform: translateY(0);
  transition: transform 420ms var(--alt-ease-out);
  will-change: transform;
}

.alt-rolling__track > span {
  display: block;
  flex: 0 0 1em;
  height: 1em;
  line-height: 1;
}

.alt-site-header__compact-nav ul,
.alt-mega-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alt-header-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.65rem, 2.35vw, 3rem);
}

.alt-site-header__compact-nav {
  justify-self: center;
  transform: translateX(clamp(2rem, 6vw, 7rem));
}

.alt-header-nav li:first-child,
.alt-header-nav li:nth-child(n + 6) {
  display: none;
}

.alt-header-nav a {
  position: relative;
  color: inherit;
  font-size: clamp(0.68rem, 0.7vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
}

.alt-header-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms var(--alt-ease-premium);
}

.alt-header-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.alt-more {
  position: relative;
  justify-self: end;
}

.alt-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.5rem;
  padding: 0.55rem 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: 500 clamp(0.69rem, 0.72vw, 0.79rem)/1 "Onest", Arial, sans-serif;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  cursor: pointer;
}

.alt-more-toggle__chevron {
  width: 0.52rem;
  height: 0.52rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.14rem) rotate(45deg);
  transition: transform 420ms var(--alt-ease-out);
}

.alt-more.is-more-open .alt-more-toggle__chevron {
  transform: translateY(0.12rem) rotate(225deg);
}

.alt-more-panel {
  position: fixed;
  z-index: 101;
  top: var(--alt-header-height);
  right: var(--alt-page-gutter);
  width: clamp(19rem, 24vw, 26rem);
  min-height: clamp(25rem, 58svh, 39rem);
  padding: clamp(1.5rem, 2.5vw, 2.75rem);
  visibility: hidden;
  color: var(--alt-color-text);
  background: var(--alt-color-surface);
  box-shadow: 0 1px 0 var(--alt-color-border);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transition:
    clip-path 560ms var(--alt-ease-in-out),
    visibility 0s linear 560ms;
  will-change: clip-path;
}

.alt-more.is-more-open .alt-more-panel {
  visibility: visible;
  clip-path: inset(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.alt-more-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alt-more-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.15rem;
  border-bottom: 1px solid var(--alt-color-border);
  color: inherit;
  font-size: clamp(0.78rem, 0.85vw, 0.92rem);
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 240ms ease, border-color 240ms ease;
}

.alt-more-panel a > span:last-child {
  transition: transform 420ms var(--alt-ease-out);
}

.alt-more-panel a:focus-visible .alt-rolling__track,
.alt-more-toggle:focus-visible .alt-rolling__track,
.alt-menu-toggle:focus-visible .alt-rolling__track {
  transform: translateY(-50%);
}

.alt-more-panel a:focus-visible > span:last-child { transform: rotate(90deg); }
.alt-menu-toggle:focus-visible { color: var(--alt-color-menu-text); }
.alt-menu-toggle:focus-visible .alt-menu-toggle__wipe { transform: translateX(0); }

.alt-mega-menu {
  position: fixed;
  z-index: 101;
  top: var(--alt-header-height);
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.25rem var(--alt-page-gutter) var(--alt-page-gutter);
  background: var(--alt-color-background);
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 1050ms;
}

.alt-mega-menu:focus { outline: none; }

.alt-mega-menu__scroller {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(240, 236, 231, 0.45) transparent;
  scrollbar-width: thin;
}

.alt-mega-menu__upper {
  display: grid;
  grid-template-columns: minmax(0, 74fr) minmax(18rem, 26fr);
  gap: clamp(0.75rem, 1vw, 1.25rem);
  width: 100%;
  height: clamp(18rem, 31svh, 28rem);
  color: var(--alt-color-menu-text);
}

.alt-site-header.is-menu-open .alt-mega-menu {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.alt-mega-menu__navigation,
.alt-mega-menu__contact {
  height: 100%;
  min-height: 0;
  padding: clamp(1.5rem, 2.8vh, 2.25rem) clamp(1.5rem, 3vw, 3rem);
  overflow: hidden;
  border-radius: 2px;
  background: var(--alt-color-menu-background);
  transform: translateY(-1rem);
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 700ms var(--alt-ease-premium) 180ms,
    transform 700ms var(--alt-ease-premium) 180ms;
  will-change: clip-path, transform;
}

.alt-mega-menu__contact {
  transition-delay: 120ms;
}

.alt-site-header.is-menu-open .alt-mega-menu__navigation,
.alt-site-header.is-menu-open .alt-mega-menu__contact {
  transform: translateY(0);
  clip-path: inset(0);
  transition-delay: 0s;
}

.alt-site-header.is-menu-open .alt-mega-menu__contact {
  transition-delay: 70ms;
}

.alt-mega-menu__navigation {
  display: flex;
  flex-direction: column;
}

.alt-mega-menu__eyebrow {
  margin: 0 0 clamp(1.25rem, 2.6vh, 2rem);
  color: rgba(240, 236, 231, 0.62);
  font-size: clamp(0.64rem, 0.66vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.alt-mega-menu__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 5rem);
  row-gap: clamp(0.2rem, 0.7vh, 0.55rem);
}

.alt-mega-menu__links li,
.alt-mega-menu__contact > * {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 320ms ease, transform 520ms var(--alt-ease-premium);
}

.alt-mega-menu__links a {
  position: relative;
  display: inline-block;
  color: var(--alt-color-menu-text);
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(1.625rem, 2.1vw, 2.5rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-decoration: none;
  transition: color 280ms ease, transform 420ms var(--alt-ease-premium);
}

.alt-mega-menu__links a:hover {
  color: rgba(240, 236, 231, 0.58);
  transform: translateX(0.3rem);
}

.alt-mega-menu__links .current-menu-item > a,
.alt-mega-menu__links a[aria-current="page"] {
  color: rgba(240, 236, 231, 0.6);
}

.alt-mega-menu__links .current-menu-item > a::after,
.alt-mega-menu__links a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -0.18rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.alt-site-header.is-menu-open .alt-mega-menu__links li,
.alt-site-header.is-menu-open .alt-mega-menu__contact > * {
  opacity: 1;
  transform: translateY(0);
}

.alt-mega-menu__links li:nth-child(1) { transition-delay: 150ms; }
.alt-mega-menu__links li:nth-child(2) { transition-delay: 130ms; }
.alt-mega-menu__links li:nth-child(3) { transition-delay: 110ms; }
.alt-mega-menu__links li:nth-child(4) { transition-delay: 90ms; }
.alt-mega-menu__links li:nth-child(5) { transition-delay: 70ms; }
.alt-mega-menu__links li:nth-child(6) { transition-delay: 50ms; }
.alt-mega-menu__contact > * { transition-delay: 40ms; }

.alt-site-header.is-menu-open .alt-mega-menu__links li:nth-child(1) { transition-delay: 250ms; }
.alt-site-header.is-menu-open .alt-mega-menu__links li:nth-child(2) { transition-delay: 290ms; }
.alt-site-header.is-menu-open .alt-mega-menu__links li:nth-child(3) { transition-delay: 330ms; }
.alt-site-header.is-menu-open .alt-mega-menu__links li:nth-child(4) { transition-delay: 370ms; }
.alt-site-header.is-menu-open .alt-mega-menu__links li:nth-child(5) { transition-delay: 410ms; }
.alt-site-header.is-menu-open .alt-mega-menu__links li:nth-child(6) { transition-delay: 450ms; }
.alt-site-header.is-menu-open .alt-mega-menu__contact > * { transition-delay: 500ms; }

.alt-mega-menu__contact {
  display: flex;
  flex-direction: column;
}

.alt-mega-menu__contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: auto;
}

.alt-mega-menu__contact-link {
  color: var(--alt-color-menu-text);
  font-size: clamp(0.76rem, 0.82vw, 0.92rem);
  line-height: 1.45;
  text-decoration: none;
}

.alt-mega-menu__contact-link.is-placeholder {
  color: rgba(240, 236, 231, 0.55);
}

.alt-mega-menu__contact-link.is-consultation {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(240, 236, 231, 0.44);
  font-size: clamp(0.86rem, 0.95vw, 1.06rem);
  text-transform: uppercase;
}

.alt-mega-menu__contact-link.is-consultation::after {
  content: "+";
}

.alt-mega-menu__latest {
  display: grid;
  grid-template-columns: minmax(17rem, 38fr) minmax(0, 62fr);
  min-height: clamp(22rem, 50svh, 42rem);
  margin-top: clamp(0.75rem, 1vw, 1.25rem);
  overflow: hidden;
  color: var(--alt-color-text);
  background: var(--alt-color-surface);
  opacity: 0;
  transform: translateY(1.25rem);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 350ms ease 0ms,
    transform 680ms var(--alt-ease-premium) 0ms,
    clip-path 680ms var(--alt-ease-premium) 0ms;
}

.alt-site-header.is-menu-open .alt-mega-menu__latest {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0);
  transition-delay: 680ms;
}

.alt-mega-menu__latest-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 2.6vw, 2.75rem);
}

.alt-mega-menu__latest .alt-mega-menu__eyebrow {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: var(--alt-color-text-muted);
}

.alt-mega-menu__project-list {
  display: flex;
  flex-direction: column;
  width: min(100%, 34rem);
}

.alt-mega-menu__project-list a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  color: var(--alt-color-accent);
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: none;
}

.alt-mega-menu__project-icon {
  flex: 0 0 auto;
  font-size: 0.9em;
  line-height: 1.25;
}

.alt-mega-menu__latest-media {
  position: relative;
  display: block;
  margin: clamp(1.5rem, 2.6vw, 2.75rem);
  min-height: 0;
  overflow: hidden;
}

.alt-mega-menu__latest-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1100ms var(--alt-ease-premium) 0ms;
}

.alt-site-header.is-menu-open .alt-mega-menu__latest-media img {
  transform: scale(1);
  transition-delay: 760ms;
}

.alt-menu-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.alt-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--alt-color-text);
  background: var(--alt-color-background);
}

.alt-hero__media {
  position: relative;
  width: 100%;
  height: clamp(30rem, 68svh, 54rem);
  overflow: hidden;
  background: #786d62;
}

.alt-hero__video,
.alt-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.alt-hero__video {
  object-fit: cover;
  object-position: center center;
  transform: scale(1.035);
}

.alt-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.06) 30%, rgba(18, 16, 14, 0.44) 100%),
    linear-gradient(90deg, rgba(22, 18, 15, 0.12), transparent 58%);
}

.alt-hero__editorial {
  position: relative;
  min-height: clamp(12.5rem, 25svh, 15.5rem);
  background: var(--alt-color-background);
}

.alt-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: inherit;
  padding: clamp(1.4rem, 2.5vh, 1.8rem) var(--alt-page-gutter) clamp(1.5rem, 2.8vh, 2rem);
}

.alt-hero__editorial-headline {
  max-width: 30ch;
  margin: 0;
  color: var(--alt-color-text);
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.alt-hero__headline-mask {
  display: block;
  overflow: hidden;
  padding: 0.06em 0 0.08em;
  margin: -0.06em 0 -0.08em;
}

.alt-hero__headline-line {
  display: block;
  will-change: transform, opacity, clip-path;
}

.alt-hero__divider {
  width: 100%;
  margin: auto 0 clamp(1rem, 1.6vh, 1.35rem);
  border-top: 1px solid color-mix(in srgb, var(--alt-color-border) 50%, transparent);
}

.alt-hero__details {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

/* The heavier segment starts at the second half of the four-column hero grid. */
.alt-hero__details::before {
  position: absolute;
  grid-column: 3 / -1;
  top: calc(-1 * clamp(1rem, 1.6vh, 1.35rem) - 1px);
  right: 0;
  left: 0;
  height: 1.5px;
  background: var(--alt-color-border);
  content: "";
  pointer-events: none;
}

.alt-hero__subtitle {
  margin: 0 0 clamp(0.65rem, 1vw, 1rem);
  font-family: "Onest", Arial, sans-serif;
  max-width: 24rem;
  color: rgba(240, 236, 231, 0.84);
  font-size: clamp(0.68rem, 0.75vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.alt-hero__title {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  margin: 0;
  color: var(--alt-color-hero-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.25rem, 7.4vw, 9.5rem);
  font-variation-settings: "wght" 500;
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: 0.055em;
  text-align: left;
  white-space: nowrap;
  transform-origin: center bottom;
}

.alt-hero__video-content {
  position: absolute;
  z-index: 2;
  right: var(--alt-page-gutter);
  bottom: clamp(1.5rem, 3vw, 3.5rem);
  left: var(--alt-page-gutter);
  color: var(--alt-color-hero-text);
}

.alt-hero__services {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: clamp(0px, 1vw, 16px);
  max-width: 58rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--alt-color-text);
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(0.72rem, 0.78vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.55;
  list-style: none;
  text-transform: uppercase;
}

.alt-hero__services > li { flex: 1 1 0; min-width: 0; }

.alt-hero__service {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  min-height: 2.75rem;
  padding: .65rem clamp(.65rem, 1vw, 1rem);
  color: inherit;
  text-decoration: none;
}

.alt-hero__service::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--alt-color-surface-secondary);
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms var(--alt-ease-premium);
}

.alt-hero__service-plus {
  flex: 0 0 auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 240ms var(--alt-ease-out);
}

.alt-hero__service:focus-visible {
  outline: 2px solid var(--alt-color-accent);
  outline-offset: 3px;
}
.alt-hero__service:focus-visible::before { transform: scaleX(1); }
.alt-hero__service:focus-visible .alt-hero__service-plus { opacity: 1; transform: none; transition-delay: 120ms; }

@media (hover: hover) and (pointer: fine) {
  .alt-hero__service:hover::before { transform: scaleX(1); }
  .alt-hero__service:hover .alt-hero__service-plus { opacity: 1; transform: none; transition-delay: 120ms; }
}

@media (prefers-reduced-motion: reduce) {
  .alt-hero__service::before,
  .alt-hero__service-plus {
    transition: none;
  }
  .alt-hero__service-plus { transform: none; }
}

.alt-hero__letter-mask {
  display: inline-flex;
  overflow: hidden;
  padding: 0.09em 0 0.12em;
  margin: -0.09em 0 -0.12em;
}

.alt-hero__letter-mask.is-space {
  width: 0.3em;
}

.alt-hero__letter {
  display: block;
  will-change: transform, opacity;
}

.alt-hero__cta {
  justify-self: end;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  min-width: clamp(11.5rem, 14vw, 14.25rem);
  padding: 0.78rem 0.9rem;
  border: 1px solid currentColor;
  border-radius: 1px;
  color: inherit;
  background: transparent;
  font-size: clamp(0.68rem, 0.7vw, 0.77rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: color 260ms ease 160ms, border-color 260ms ease;
}

.alt-hero__cta-layer {
  position: absolute;
  z-index: -2;
  inset: -1px;
  transform: translateX(-102%);
  will-change: transform;
}

.alt-hero__cta::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--alt-color-text);
  content: "";
  pointer-events: none;
}

.alt-hero__cta-layer.is-warm {
  background: var(--alt-color-accent);
  transition: transform 520ms var(--alt-ease-in-out) 80ms;
}

.alt-hero__cta-layer.is-dark {
  z-index: -1;
  background: var(--alt-color-text);
  transition: transform 560ms var(--alt-ease-in-out) 0ms;
}

.alt-hero__cta:focus-visible {
  color: var(--alt-color-menu-text);
}

.alt-hero__cta:focus-visible .alt-hero__cta-layer.is-warm { transform: translateX(0); transition-delay: 0ms; }
.alt-hero__cta:focus-visible .alt-hero__cta-layer.is-dark { transform: translateX(0); transition-delay: 90ms; }
.alt-hero__cta:focus-visible .alt-rolling__track { transform: translateY(-50%); }

.alt-hero__cta-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 0.75rem;
  height: 1em;
  margin-left: 1.5rem;
  overflow: hidden;
  transition: transform 360ms var(--alt-ease-premium);
}

.alt-hero__cta-icon > span {
  display: block;
  flex: 0 0 1em;
  height: 1em;
  line-height: 1;
  transition: transform 480ms var(--alt-ease-out);
}

.alt-hero__cta-icon > span:last-child { transform: translateY(0); }
.alt-hero__cta:focus-visible .alt-hero__cta-icon { transform: rotate(90deg); }
.alt-hero__cta:focus-visible .alt-hero__cta-icon > span { transform: translateY(-100%); }

.alt-hero__preload {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--alt-color-text);
  background: var(--alt-color-background);
  transform-origin: top;
  pointer-events: none;
}

.alt-hero__preload p {
  margin: 0;
  font-size: clamp(0.72rem, 0.85vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__preload {
  animation: alt-preload-reveal 560ms var(--alt-ease-in-out) 0ms forwards;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__preload p {
  animation: alt-intro-label 460ms var(--alt-ease-out) 0ms both;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__media {
  animation: alt-media-reveal 1.04s var(--alt-ease-premium) 360ms both;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__video {
  animation: alt-video-settle 1.12s var(--alt-ease-out) 260ms forwards;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__headline-line {
  animation: alt-headline-line-reveal 820ms var(--alt-ease-out) 170ms both;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__headline-mask:nth-child(2) .alt-hero__headline-line {
  animation-delay: 240ms;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__divider,
.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__details::before {
  animation: alt-line-reveal 640ms var(--alt-ease-out) 420ms both;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__services > li {
  animation: alt-detail-reveal 600ms var(--alt-ease-out) 470ms both;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__services > li:nth-child(2) {
  animation-delay: 530ms;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__services > li:nth-child(3) {
  animation-delay: 590ms;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-hero__cta {
  animation: alt-detail-reveal 620ms var(--alt-ease-out) 610ms both;
}

.alt-front-page.alt-intro-pending:not(.alt-intro-complete) .alt-site-header__bar {
  animation: alt-detail-reveal 580ms var(--alt-ease-out) 80ms both;
}

.alt-intro-complete .alt-hero__preload {
  display: none;
}

.alt-intro-complete .alt-hero__video {
  transform: scale(1);
}

@keyframes alt-preload-reveal {
  0%, 18% { clip-path: inset(0); }
  100% { clip-path: inset(0 0 100% 0); }
}

@keyframes alt-intro-label {
  0% { opacity: 0; transform: translateY(0.7rem); }
  30%, 68% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-0.55rem); }
}

@keyframes alt-video-settle {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}

@keyframes alt-media-reveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}

@keyframes alt-headline-line-reveal {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(72%); }
  to { opacity: 1; clip-path: inset(0); transform: translateY(0); }
}

@keyframes alt-line-reveal {
  from { opacity: 0; transform: scaleX(0); transform-origin: left center; }
  to { opacity: 1; transform: scaleX(1); transform-origin: left center; }
}

@keyframes alt-detail-reveal {
  from { opacity: 0; transform: translateY(0.85rem); }
  to { opacity: 1; transform: translateY(0); }
}

.alt-hero-editor {
  position: relative;
  overflow: hidden;
  color: var(--alt-color-text);
  background: var(--alt-color-background);
}

.alt-hero-editor__editorial {
  min-height: 14rem;
  padding: 2rem;
}

.alt-hero-editor__media {
  position: relative;
  min-height: 24rem;
  background: #786d62;
}

.alt-hero-editor__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.alt-hero-editor__headline { display: block; max-width: 30ch; font: 450 clamp(1.9rem, 3vw, 2.4rem)/0.98 "Onest", Arial, sans-serif; letter-spacing: -0.045em; text-transform: uppercase; white-space: pre-line; }
.alt-hero-editor__label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.alt-hero-editor__rule { margin: 2rem 0 1.25rem; border-top: 1px solid var(--alt-color-border); }
.alt-hero-editor__details { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.alt-hero-editor__services { color: var(--alt-color-accent); font-size: 0.76rem; line-height: 1.5; text-transform: uppercase; }
.alt-hero-editor__cta { padding: 0.65rem 0.8rem; border: 1px solid currentColor; font-size: 0.72rem; text-transform: uppercase; }
.alt-hero-editor__video-copy { position: absolute; z-index: 1; right: 2rem; bottom: 2rem; left: 2rem; color: var(--alt-color-hero-text); }
.alt-hero-editor__brand { display: block; margin-top: 0.6rem; font: 500 clamp(3rem, 7.4vw, 8rem)/0.8 "Cormorant Garamond", Georgia, serif; letter-spacing: 0.055em; white-space: nowrap; }
.alt-hero-editor small { position: absolute; z-index: 1; top: 1rem; left: 1rem; color: var(--alt-color-hero-text); opacity: 0.7; overflow-wrap: anywhere; }
.alt-hero-editor__media-control { margin-bottom: 1.25rem; }
.alt-hero-editor__media-control .components-button + .components-button { margin-left: 0.75rem; }

@media (max-width: 1100px) {
  .alt-site-header__compact-nav { display: none; }
  .alt-more { display: none; }
  .alt-mega-menu__upper { grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr); }
  .alt-mega-menu__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alt-mega-menu__links a { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
  .alt-hero__details { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
  .alt-hero__services { grid-column: auto; }
  .alt-hero__details::before { grid-column: 1 / -1; left: 50%; }
}

@media (hover: hover) and (pointer: fine) {
  .alt-front-page .alt-site-header:not(.is-menu-open) .alt-menu-toggle:hover {
    border-color: var(--alt-color-accent-hover);
    background: var(--alt-color-accent-hover);
  }

  .alt-menu-toggle:hover {
    color: var(--alt-color-menu-text);
    border-color: var(--alt-color-accent);
  }

  .alt-menu-toggle:hover .alt-menu-toggle__wipe { transform: translateX(0); }
  .alt-menu-toggle:hover .alt-rolling__track,
  .alt-more-toggle:hover .alt-rolling__track,
  .alt-more-panel a:hover .alt-rolling__track,
  .alt-hero__cta:hover .alt-rolling__track { transform: translateY(-50%); }

  .alt-more-panel a:hover {
    color: var(--alt-color-accent);
    border-color: var(--alt-color-accent);
  }

  .alt-more-panel a:hover > span:last-child { transform: rotate(90deg); }

  .alt-hero__cta:hover { color: var(--alt-color-menu-text); }
  .alt-hero__cta:hover .alt-hero__cta-layer.is-warm { transform: translateX(0); transition-delay: 0ms; }
  .alt-hero__cta:hover .alt-hero__cta-layer.is-dark { transform: translateX(0); transition-delay: 90ms; }
  .alt-hero__cta:hover .alt-hero__cta-icon { transform: rotate(90deg); }
  .alt-hero__cta:hover .alt-hero__cta-icon > span { transform: translateY(-100%); }
}

@media (max-width: 767px) {
  :root { --alt-header-height: 4rem; }
  .alt-site-header__bar { padding-inline: 1rem; }
  .alt-site-header__logo-link,
  .alt-site-header .custom-logo-link { width: 8.5rem; height: 2.55rem; }
  .alt-site-header__descriptor { display: none; }
  .alt-menu-toggle { padding: 0.65rem 0.75rem; font-size: 0.66rem; }
  .alt-menu-toggle__icon { width: 1rem; margin-right: 0.48rem; }
  .alt-mega-menu { padding: 0 0.45rem 0.45rem; }
  .alt-mega-menu__scroller {
    border-radius: 2px;
    background: var(--alt-color-menu-background);
  }
  .alt-mega-menu__upper {
    display: block;
    height: auto;
    background: var(--alt-color-menu-background);
  }
  .alt-mega-menu__navigation,
  .alt-mega-menu__contact {
    height: auto;
    min-height: auto;
    padding: 2rem 1.25rem;
    overflow: visible;
    background: transparent;
  }
  .alt-mega-menu__navigation { min-height: min(64svh, 34rem); }
  .alt-mega-menu__eyebrow { margin-bottom: 1.75rem; }
  .alt-mega-menu__links { grid-template-columns: 1fr; gap: 0.2rem; }
  .alt-mega-menu__links a { font-size: clamp(1.85rem, 9.8vw, 2.65rem); line-height: 1.14; }
  .alt-mega-menu__contact { min-height: 19rem; border-top: 1px solid rgba(240, 236, 231, 0.2); }
  .alt-mega-menu__contact-list { margin-top: 0; }
  .alt-mega-menu__latest { grid-template-columns: 1fr; min-height: 0; margin: 0.45rem 0 0; }
  .alt-mega-menu__latest-copy { min-height: 10rem; padding: 2rem 1.25rem 1.5rem; }
  .alt-mega-menu__project-list a { font-size: 1rem; line-height: 1.3; }
  .alt-mega-menu__latest-media { min-height: 17rem; margin: 0 1.25rem 1.25rem; }
  .alt-hero__editorial { min-height: 0; }
  .alt-hero__content { min-height: 0; padding: 1.25rem 1rem 1.5rem; }
  .alt-hero__editorial-headline { font-size: clamp(1.85rem, 8vw, 2.5rem); line-height: 1.04; }
  .alt-hero__divider { margin: clamp(1.25rem, 5vw, 1.5rem) 0 0; }
  .alt-hero__details { grid-template-columns: 1fr; gap: 1.35rem; }
  .alt-hero__details::before { display: none; }
  .alt-hero__services { flex-direction: column; align-items: stretch; gap: 0; max-width: none; }
  .alt-hero__services > li { flex: auto; }
  .alt-hero__subtitle { font-size: 0.64rem; letter-spacing: 0.1em; }
  .alt-hero__cta { justify-self: stretch; width: 100%; min-width: 0; min-height: 2.75rem; }
  .alt-hero__title { gap: 0; font-size: 10.1vw; letter-spacing: 0.035em; }
  .alt-hero__video-content { right: 1rem; bottom: 1.75rem; left: 1rem; }
  .alt-hero__media { height: clamp(28rem, 66svh, 40rem); }
  .alt-hero__video { object-position: 52% center; }
}

@media (max-width: 374px) {
  .alt-site-header__logo-link,
  .alt-site-header .custom-logo-link { width: 8.1rem; }
  .alt-menu-toggle__label { max-width: 3.8rem; overflow: hidden; }
  .alt-hero__title { gap: 0; font-size: 10vw; letter-spacing: 0.025em; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .alt-hero__preload { display: none; }
  .alt-rolling__track { transform: none !important; }
  .alt-menu-toggle__wipe,
  .alt-hero__cta-layer { display: none; }
  .alt-menu-toggle:focus-visible,
  .alt-hero__cta:focus-visible { color: inherit; }
  .alt-hero__media,
  .alt-hero__video,
  .alt-hero__letter,
  .alt-mega-menu__navigation,
  .alt-mega-menu__contact,
  .alt-mega-menu__latest,
  .alt-mega-menu__latest-media img,
  .alt-mega-menu__links li,
  .alt-mega-menu__contact > * { transform: none; }

  .alt-hero__letter,
  .alt-mega-menu__links li,
  .alt-mega-menu__contact > *,
  .alt-mega-menu__latest {
    opacity: 1;
    filter: none;
  }
  .alt-mega-menu,
  .alt-mega-menu *,
  .alt-mega-menu *::before,
  .alt-mega-menu *::after { transition-delay: 0ms !important; }
}

/* Mobile service navigation follows one compact editorial line with controlled wrapping. */
@media (max-width: 1023px) {
  .alt-site-header__bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .alt-site-header__identity {
    grid-column: 1;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    width: 100%;
  }

  .alt-menu-toggle { min-height: 2.75rem; }

  .alt-hero__editorial-headline { line-height: 1.04; }
  .alt-hero__divider { margin-bottom: 0; }

  .alt-hero__details {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 1.75rem);
  }

  .alt-hero__services {
    grid-column: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(.9rem, 4vw, 1.5rem);
    row-gap: 0;
    width: 100%;
    max-width: none;
    padding-block: .75rem;
    border-bottom: 1px solid color-mix(in srgb, var(--alt-color-accent) 34%, transparent);
    color: var(--alt-color-accent);
    font-size: clamp(.72rem, 2vw, .82rem);
    font-weight: 500;
    letter-spacing: .025em;
    line-height: 1.25;
  }

  .alt-hero__services > li { flex: 0 0 auto; }

  .alt-hero__service {
    overflow: visible;
    display: inline-flex;
    justify-content: flex-start;
    gap: .45em;
    min-height: 44px;
    padding: .625rem 0;
    white-space: nowrap;
  }

  .alt-hero__service::before { display: none; }

  .alt-hero__service-plus {
    opacity: 1;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1;
    transform: none;
    transition: none;
  }

  .alt-hero__cta {
    justify-self: stretch;
    width: 100%;
    min-height: 2.75rem;
  }
}
