:root {
  --ink: #393f4a;
  --ink-2: #363d46;
  --blue: #7e93ab;
  --grey: #727880;
  --white: #ffffff;
  --soft: #f5f7f9;
  --line: rgba(57, 63, 74, 0.14);
  --shadow: 0 24px 64px rgba(57, 63, 74, 0.14);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
summary {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: var(--blue);
  transform-origin: left;
}

.cursor-wash {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: clamp(380px, 48vw, 720px);
  height: clamp(380px, 48vw, 720px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(126, 147, 171, 0.09) 0%,
    rgba(126, 147, 171, 0.038) 35%,
    rgba(126, 147, 171, 0.012) 62%,
    transparent 100%
  );
  transform: translate3d(var(--mouse-x, 50vw), var(--mouse-y, 40vh), 0)
    translate(-50%, -50%);
  transition: opacity 500ms ease;
  will-change: transform, opacity;
}

body.cursor-zone-active .cursor-wash {
  opacity: 1;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  min-height: 60px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(57, 63, 74, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--grey);
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

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

.nav-action,
.button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 260ms var(--ease-out),
    box-shadow 260ms ease,
    background-color 260ms ease;
}

.nav-action {
  min-height: 42px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: max(760px, 92svh);
  height: auto;
  max-height: 940px;
  place-items: center;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.91) 38%,
    rgba(255, 255, 255, 0.42) 64%,
    rgba(255, 255, 255, 0.06) 100%
  );
  content: "";
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  height: 100%;
  padding: 116px 0 50px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(610px, 58%);
}

.logo-reveal {
  width: min(174px, 44vw);
  margin-bottom: 24px;
  opacity: 0;
  filter: drop-shadow(0 16px 28px rgba(57, 63, 74, 0.12));
  clip-path: circle(0 at 50% 44%);
  transform: translateY(14px) scale(0.94);
}

body.is-ready .logo-reveal {
  animation: bloom-in 1200ms var(--ease-out) 80ms forwards;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 7.2vw, 6.7rem);
  font-weight: 700;
  line-height: 0.9;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.reveal-line {
  opacity: 0;
  transform: translateY(26px);
}

body.is-ready .reveal-line {
  animation: line-in 800ms var(--ease-out) forwards;
}

body.is-ready .hero-copy .reveal-line:nth-of-type(1) {
  animation-delay: 360ms;
}

body.is-ready .hero-copy h1 {
  animation-delay: 430ms;
}

body.is-ready .hero-subtitle {
  animation-delay: 520ms;
}

body.is-ready .quick-facts {
  animation-delay: 610ms;
}

body.is-ready .hero-actions {
  animation-delay: 690ms;
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--grey);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.45;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quick-facts span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(57, 63, 74, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.nav-action:hover,
.button:hover,
.contact-actions a:hover {
  box-shadow: 0 16px 34px rgba(57, 63, 74, 0.16);
  transform: translateY(-3px);
}

.magnetic {
  will-change: transform;
}

.hero-flower {
  position: absolute;
  right: -30px;
  bottom: 36px;
  width: 132px;
  opacity: 0.76;
  filter: drop-shadow(0 12px 26px rgba(57, 63, 74, 0.12));
}

.image-reveal {
  --image-reveal-delay: 0ms;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 900ms var(--ease-out) var(--image-reveal-delay),
    transform 900ms var(--ease-out) var(--image-reveal-delay);
}

.image-reveal::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--blue);
  content: "";
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1000ms var(--ease-out) calc(120ms + var(--image-reveal-delay));
}

.image-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.image-reveal.is-visible::after {
  transform: scaleX(0);
}

.editorial-gallery .image-reveal:nth-child(2) {
  --image-reveal-delay: 120ms;
}

.editorial-gallery .image-reveal:nth-child(3) {
  --image-reveal-delay: 220ms;
}

.statement-section {
  position: relative;
  z-index: 2;
  padding: clamp(88px, 12vw, 160px) 0;
  background: var(--ink);
  color: var(--white);
}

.statement-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.statement-line {
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(2.4rem, 7.6vw, 7.2rem);
  font-weight: 700;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(50px);
  transition:
    color 800ms ease,
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}

.statement-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.statement-line.accent,
.statement-line:hover {
  color: var(--white);
}

.gallery-section,
.services-section,
.faq-section {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(88px, 11vw, 150px) 0;
  scroll-margin-top: 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading > p,
.services-intro > p:last-child {
  margin-bottom: 0;
  color: var(--grey);
  font-size: 1.02rem;
  line-height: 1.7;
}

.editorial-gallery {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  grid-template-rows: 300px 340px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: 8px;
  background: var(--soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-tall {
  grid-row: 1 / 3;
}

.gallery-wide {
  grid-column: 2;
}

.gallery-small {
  grid-column: 2;
}

.gallery-item figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.services-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(54px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.services-intro {
  align-self: start;
  position: sticky;
  top: 128px;
}

.services-intro > p:last-child {
  max-width: 520px;
  margin-top: 24px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out),
    padding-left 300ms var(--ease-out);
}

.service-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-item:hover {
  padding-left: 12px;
}

.service-number {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-item p {
  margin-bottom: 0;
  color: var(--grey);
  line-height: 1.7;
}

.process-section {
  position: relative;
  z-index: 2;
  background: var(--soft);
  scroll-margin-top: 96px;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(56px, 9vw, 120px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 150px) 0;
}

.process-sticky {
  position: sticky;
  top: 118px;
  align-self: start;
  min-height: 610px;
}

.process-emblem {
  position: relative;
  display: grid;
  width: min(310px, 78%);
  margin-top: 44px;
  aspect-ratio: 1;
  place-items: center;
}

.process-emblem img {
  position: relative;
  z-index: 2;
  width: 76%;
  transition: transform 700ms var(--ease-out);
}

.process-ring {
  position: absolute;
  border: 1px solid rgba(126, 147, 171, 0.42);
  border-radius: 50%;
  transition:
    inset 700ms var(--ease-out),
    border-width 700ms var(--ease-out),
    opacity 700ms ease,
    transform 700ms var(--ease-out);
}

.ring-one {
  inset: 4%;
}

.ring-two {
  inset: 15%;
  opacity: 0.68;
}

.process-section[data-active-step="02"] .ring-one {
  inset: 0;
  transform: rotate(8deg);
}

.process-section[data-active-step="02"] .ring-two {
  inset: 20%;
  border-width: 10px;
  opacity: 0.22;
}

.process-section[data-active-step="02"] .process-emblem img {
  transform: scale(1.035) rotate(-2deg);
}

.process-section[data-active-step="03"] .ring-one {
  inset: -5%;
  border-width: 18px;
  opacity: 0.18;
}

.process-section[data-active-step="03"] .ring-two {
  inset: 10%;
  transform: rotate(-8deg);
}

.process-section[data-active-step="03"] .process-emblem img {
  transform: scale(1.08);
}

.process-counter {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--grey);
  font-size: 0.8rem;
  font-weight: 700;
}

#process-current {
  min-width: 24px;
  color: var(--ink);
  font-size: 1.4rem;
}

.process-step {
  min-height: 44vh;
  padding: 10vh 0 48px;
  border-bottom: 1px solid var(--line);
  opacity: 0.12;
  transform: translateX(28px);
  transition:
    opacity 520ms linear,
    transform 520ms var(--ease-out);
}

.process-step.is-active {
  opacity: 1;
  transform: translateX(0);
}

.process-step > span {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.process-step h3 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.process-step p {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--grey);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(52px, 8vw, 100px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms var(--ease-out),
    transform 650ms var(--ease-out);
}

.faq-list details.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-list summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--blue);
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  transition: transform 260ms var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 620px;
  padding: 0 0 28px;
  margin-bottom: 0;
  color: var(--grey);
  line-height: 1.7;
}

.contact-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 48px;
  padding: clamp(42px, 6vw, 76px);
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(rgba(54, 61, 70, 0.88), rgba(54, 61, 70, 0.88)),
    url("assets/site/contact-event.webp") center / cover;
  color: var(--white);
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}

.contact-logo {
  width: 118px;
  margin-bottom: 28px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.contact-copy .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:last-child {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 136px);
  justify-content: end;
  align-self: center;
  gap: 12px;
  transform: translateY(24px);
}

.contact-actions a {
  width: 136px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--grey);
  font-size: 0.95rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 750ms var(--ease-out),
    transform 750ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bloom-in {
  0% {
    opacity: 0;
    clip-path: circle(0 at 50% 44%);
    transform: translateY(14px) scale(0.94);
  }
  100% {
    opacity: 1;
    clip-path: circle(75% at 50% 50%);
    transform: translateY(0) scale(1);
  }
}

@keyframes line-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .gallery-item img {
    animation: gallery-settle linear both;
    animation-range: entry 10% cover 45%;
    animation-timeline: view();
  }

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero,
  .services-section,
  .process-layout,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: max(700px, 92svh);
    height: auto;
  }

  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.88) 58%,
      rgba(255, 255, 255, 0.28) 100%
    );
  }

  .hero-inner {
    padding-top: 110px;
  }

  .hero-copy {
    width: min(600px, 72%);
  }

  .hero-flower {
    right: -12px;
    bottom: 28px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-intro,
  .process-sticky {
    position: static;
    min-height: auto;
  }

  .process-emblem {
    width: min(300px, 78vw);
  }

  .process-step {
    min-height: auto;
    padding: 40px 0;
    opacity: 1;
    transform: none;
  }

  .contact-actions {
    justify-content: start;
    transform: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    max-width: 120px;
    line-height: 1.05;
  }

  .nav-action {
    padding: 0 14px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero {
    min-height: max(690px, 92svh);
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.86) 64%,
      rgba(255, 255, 255, 0.38) 100%
    );
  }

  .hero-background {
    object-position: 58% center;
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 92px;
    padding-bottom: 30px;
  }

  .hero-copy {
    width: 100%;
  }

  .logo-reveal {
    width: 142px;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    max-width: 350px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .quick-facts {
    margin-top: 18px;
  }

  .quick-facts span {
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.86rem;
  }

  .hero-flower {
    right: -32px;
    bottom: 12px;
    width: 112px;
    opacity: 0.62;
  }

  .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .contact-actions a {
    width: 100%;
    padding: 0 8px;
  }

  .editorial-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-tall,
  .gallery-wide,
  .gallery-small {
    grid-column: auto;
    grid-row: auto;
    height: 340px;
  }

  .service-item {
    grid-template-columns: 44px 1fr;
  }

  .contact-section {
    padding: 34px 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .hero {
    min-height: 760px;
    max-height: none;
  }

  .hero-inner {
    padding-top: 104px;
    padding-bottom: 42px;
  }

  .logo-reveal {
    width: 142px;
    margin-bottom: 16px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(3.5rem, 6.6vw, 5.6rem);
  }

  .hero-subtitle {
    max-width: 540px;
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .quick-facts {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 20px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-wash {
    display: none;
  }

  .magnetic {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .logo-reveal,
  .reveal-line,
  .image-reveal,
  [data-reveal],
  .service-item,
  .faq-list details,
  .statement-line {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .image-reveal::after,
  .cursor-wash,
  .scroll-progress {
    display: none !important;
  }
}
