/* The company story: process, studio, questions and the contact preview. */
.process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 64px 80px;
}
.flow-lines {
  position: absolute;
  inset: 0 -8% -18%;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/brand/flow-lines.svg") center/cover;
  opacity: 0.28;
  animation: process-current 6s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.process-intro {
  align-items: center;
  margin-bottom: 32px;
}
.process-intro h2 {
  margin: 0;
}
.process-intro > p {
  max-width: 440px;
}
.process-journey {
  position: relative;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.process-step {
  --step-accent: #aebaff;
  --step-tint: #25234c;
  --step-phase: -6s;
  --step-offset: 12px;
  --card-tilt: -1.2deg;
  position: relative;
  min-width: 0;
}
.process-step:nth-child(2) {
  --step-accent: #f5b4d3;
  --step-tint: #392139;
  --step-phase: -4s;
  --step-offset: 0px;
  --card-tilt: 1deg;
}
.process-step:nth-child(3) {
  --step-accent: #ffd1ae;
  --step-tint: #412b36;
  --step-phase: -2s;
  --step-offset: 22px;
  --card-tilt: -1.4deg;
}
.process-step:nth-child(4) {
  --step-accent: #b4d5ff;
  --step-tint: #21334c;
  --step-phase: 0s;
  --step-offset: 8px;
  --card-tilt: 1.3deg;
}
.process-track {
  position: absolute;
  top: 0;
  left: calc(12.5% - 6.75px);
  width: calc(75% + 13.5px);
  height: 64px;
  overflow: hidden;
  background: #77729a55;
  mask-image: url("/assets/brand/process-connector.svg");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
.process-track > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, transparent, #cec4ff, transparent);
  animation: process-signal 8s ease-in-out infinite;
  animation-play-state: paused;
}
.process-node {
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  margin-inline: auto;
  margin-bottom: 24px;
  border: 1px solid var(--step-accent);
  border-radius: 50%;
  background: #141329;
  color: var(--step-accent);
  font: 700 14px/1 var(--font-display);
  box-shadow: 0 0 0 7px #07071abb;
}
.process-node::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--step-accent);
  border-radius: 50%;
  opacity: 0;
  animation: process-beacon 8s ease-out infinite;
  animation-delay: var(--step-phase);
  animation-play-state: paused;
}
.process-card {
  position: relative;
  padding: 23px;
  border: 1px solid #6e628466;
  border-radius: 22px 40px 22px 40px;
  background: radial-gradient(ellipse at 100% 0%, var(--step-tint), #131229 85%);
  rotate: var(--card-tilt);
  transition:
    transform 180ms var(--ease),
    rotate 180ms var(--ease),
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.process-card:hover,
.process-card:focus-within {
  rotate: 0deg;
  transform: translateY(-5px);
  border-color: var(--step-accent);
  box-shadow: 0 12px 30px #0003;
}
.process-card > summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  list-style: none;
  cursor: pointer;
}
.process-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #b3a7d733;
  border-radius: 12px 22px 12px 22px;
  background: var(--step-tint);
  color: var(--step-accent);
}
.process-card-icon .icon {
  width: 22px;
  height: 22px;
  transition: transform 180ms var(--ease);
}
.process-card:hover .process-card-icon .icon {
  transform: translateY(-2px);
}
.process-card h3 {
  grid-column: 1/-1;
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
}
.process-card-chevron {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: var(--step-accent);
}
.process-card-chevron .icon {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}
.process-card[open] .process-card-chevron .icon {
  transform: rotate(180deg);
}
.process-content > p {
  margin-top: 15px;
  color: #d3cce1;
  font-size: 16px;
  line-height: 1.65;
}
.process-outcome {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid #d6c7e72b;
  color: var(--step-accent);
  font-size: 14px;
  line-height: 1.5;
}
.process-outcome .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.process-mobile-result {
  display: none;
}
.process-section[data-background-motion="running"] :is(.flow-lines, .process-track > span),
.process-section[data-background-motion="running"] .process-node::after {
  animation-play-state: running;
}
@keyframes process-current {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-1deg) scale(1.04);
  }
  to {
    transform: translate3d(3%, 2%, 0) rotate(1deg) scale(1.08);
  }
}
@keyframes process-signal {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(660%);
  }
}
@keyframes process-beacon {
  0%,
  18% {
    opacity: 0;
    transform: scale(0.92);
  }
  25% {
    opacity: 0.7;
  }
  45%,
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

.about-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 76px;
  background: var(--bg);
}
.about-wave {
  --warm-duration: 16s;
  --cool-duration: 20s;
  --warm-phase: -4s;
  --cool-phase: -11s;
  opacity: 0.6;
  inset: -20% -10%;
}
.story-wave {
  mask-image: linear-gradient(0deg, transparent, black 18%, black 86%, transparent);
}
/* Fade at the actual section edges, not just the oversized artwork's bounds. */
.about-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--bg),
    transparent 24%,
    transparent 74%,
    var(--bg)
  );
}
.story-wave img {
  position: absolute;
  inset: 0;
  object-fit: fill;
  transform-origin: 50% 55%;
  animation-play-state: paused;
}
.story-wave .story-wave-warm {
  opacity: 0.9;
  animation: story-wave-warm var(--warm-duration) linear infinite;
  animation-delay: var(--warm-phase);
  animation-play-state: paused;
}
.story-wave .story-wave-cool {
  opacity: 0.75;
  transform-origin: 65% 45%;
  animation: story-wave-cool var(--cool-duration) linear infinite;
  animation-delay: var(--cool-phase);
  animation-play-state: paused;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}
.about-grid h2 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.2;
  max-width: 620px;
}
.about-section .section-kicker {
  color: #f3edf9;
}
.about-description,
.about-experience {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #f3edf9;
}
.about-experience {
  margin-top: 20px;
}
.about-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.about-principles li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid #87739966;
  border-radius: 10px 22px 10px 22px;
  background: #211a33;
  color: #e9dcef;
  font-size: 14px;
  line-height: 1.5;
  transition:
    transform 180ms var(--ease),
    border-color 180ms ease;
}
.about-principles li:hover {
  transform: translateY(-2px);
  border-color: #d5b8e1;
}
.about-principles .icon {
  width: 16px;
  height: 16px;
  color: #c2bdff;
}
.about-principles li:nth-child(2) .icon {
  color: #f6b3d3;
}
.about-principles li:nth-child(3) .icon {
  color: #ffd0ae;
}
.about-section[data-background-motion="running"] .about-wave img {
  animation-play-state: running;
}
/* Counter-rotation keeps the artwork upright on a constant-speed closed path. */
@keyframes story-wave-warm {
  from {
    transform: rotate(0deg) translate3d(clamp(18px, 3vw, 44px), 0, 0) rotate(0deg) scale(1.1);
  }
  to {
    transform: rotate(360deg) translate3d(clamp(18px, 3vw, 44px), 0, 0) rotate(-360deg) scale(1.1);
  }
}
@keyframes story-wave-cool {
  from {
    transform: rotate(0deg) translate3d(clamp(16px, 2.5vw, 36px), 0, 0) rotate(0deg) scale(1.1);
  }
  to {
    transform: rotate(-360deg) translate3d(clamp(16px, 2.5vw, 36px), 0, 0) rotate(360deg) scale(1.1);
  }
}

.faq-section {
  padding-block: 76px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.faq-layout > div:first-child {
  position: sticky;
  top: 115px;
}
.faq-layout h2 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
  max-width: 400px;
}
.faq-intro {
  margin: 18px 0 0;
  color: #c0b6d1;
  font-size: 16px;
  line-height: 1.65;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq {
  position: relative;
  border: 1px solid #5c527e77;
  border-radius: 19px;
  background: #121127;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}
.faq[open] {
  border-color: #b4a1d4;
  background: #1e1833;
}
.faq > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 19px 22px;
  list-style: none;
  cursor: pointer;
  color: #f0eaf8;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.faq-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #29223e;
  color: #cbc4ff;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.faq-toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}
.faq[open] .faq-toggle {
  background: #b4baff;
  color: #19152e;
}
.faq[open] .faq-toggle .icon {
  transform: rotate(45deg);
}
.faq > p {
  padding: 0 22px 22px;
  margin: 0;
  color: #d5cbe1;
  font-size: 16px;
  line-height: 1.7;
}
.faq[open] > p {
  animation: faq-answer 180ms ease-out;
}
@keyframes faq-answer {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 76px;
  background: var(--bg);
}
.contact-wave {
  --warm-duration: 14s;
  --cool-duration: 18s;
  --warm-phase: -6s;
  --cool-phase: -2s;
  opacity: 0.72;
  inset: -18% -12%;
}
.contact-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #07071a22, transparent 60%, #07071a88);
}
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}
.contact-copy h2 {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.2;
  margin: 0;
}
.contact-copy > p {
  margin: 24px 0 0;
  color: #f3edf9;
  font-size: 17px;
  line-height: 1.75;
  max-width: 500px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 16px;
  color: #e2c8ec;
}
.contact-email .icon {
  width: 18px;
  height: 18px;
}
.contact-form {
  padding: 28px;
  border: 1px solid #86709688;
  border-radius: 26px 46px 26px 46px;
  background: #17132d;
  box-shadow: 0 20px 48px #09061733;
  min-width: 0;
}
.contact-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #8d667e77;
  border-radius: 8px 18px 8px 18px;
  background: #2d1d36;
  color: #f4c1d4;
  font-size: 14px;
  line-height: 1.5;
}
.contact-preview .icon {
  width: 16px;
  height: 16px;
}
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 22px;
}
.contact-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #eee5f5;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.contact-field-wide {
  grid-column: 1/-1;
}
.contact-fields :is(input, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #615572;
  border-radius: 12px;
  color: #fff;
  background: #0e0c21;
  font: 400 16px/1.5 var(--font-body);
}
.contact-fields input {
  min-height: 48px;
}
.contact-fields textarea {
  min-height: 116px;
  max-height: 320px;
  resize: vertical;
}
.contact-fields :is(input, textarea)::placeholder {
  color: #aaa1bd;
  opacity: 1;
}
.contact-fields :is(input, textarea):focus {
  outline: 2px solid #b4baff;
  outline-offset: 2px;
  border-color: #b4baff;
}
.contact-form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}
.contact-form-footer > p {
  margin: 0;
  max-width: 240px;
  color: #c9bdd6;
  font-size: 14px;
  line-height: 1.5;
}
.contact-form .button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  border-radius: 13px 34px 13px 34px;
}
.contact-form .button:disabled .icon {
  transform: none;
}
.contact-section[data-background-motion="running"] .contact-wave img {
  animation-play-state: running;
}
@media (min-width: 1100px) and (max-height: 740px) {
  .contact-section {
    padding-block: 32px;
  }
  .contact-form {
    padding: 24px;
  }
  .contact-fields {
    margin-top: 18px;
    gap: 14px 16px;
  }
  .contact-fields :is(input, textarea) {
    padding: 10px 12px;
  }
  .contact-fields input {
    min-height: 44px;
  }
  .contact-fields textarea {
    height: 104px;
    min-height: 104px;
  }
  .contact-form-footer {
    margin-top: 18px;
  }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .process-track {
    display: none;
  }
  .about-grid,
  .faq-layout,
  .contact-inner {
    gap: 36px;
  }
  .contact-form {
    padding: 23px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1151px) {
  .process-step {
    padding-top: var(--step-offset);
  }
}
@media (max-width: 360px) {
  .about-principles .icon {
    display: none;
  }
  .process-card > summary {
    grid-template-columns: minmax(0, 1fr) 14px;
  }
  .process-card-icon {
    display: none;
  }
  .process-card h3,
  .process-mobile-result {
    grid-column: 1;
  }
  .process-card-chevron {
    grid-column: 2;
  }
}
@media (max-width: 900px) {
  .process-section,
  .about-section,
  .faq-section,
  .contact-section {
    padding-block: 36px;
  }
  .process-intro {
    margin-bottom: 24px;
  }
  .process-intro h2 {
    font-size: 30px;
  }
  .process-intro > p {
    display: none;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-track {
    top: 16px;
    bottom: 16px;
    left: 16px;
    right: auto;
    width: 1px;
    height: auto;
    mask-image: none;
  }
  .process-track > span {
    inset: 0 0 auto;
    width: 1px;
    height: 18%;
    animation-name: process-signal-vertical;
  }
  .process-step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  .process-node {
    width: 32px;
    height: 32px;
    margin: 14px 0 0;
    font-size: 12px;
    box-shadow: 0 0 0 5px #07071acc;
  }
  .process-card {
    padding: 14px;
    border-radius: 17px 30px 17px 30px;
    rotate: calc(var(--card-tilt) * 0.25);
  }
  .process-card:hover,
  .process-card:focus-within {
    transform: none;
  }
  .process-card > summary {
    grid-template-columns: 32px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 6px 10px;
  }
  .process-card-icon {
    grid-column: 1;
    grid-row: 1/3;
    width: 32px;
    height: 32px;
    border-radius: 9px 16px 9px 16px;
  }
  .process-card-icon .icon {
    width: 18px;
    height: 18px;
  }
  .process-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 18px;
    line-height: 1.3;
  }
  .process-card-chevron {
    grid-column: 3;
    grid-row: 1/3;
  }
  .process-card-chevron .icon {
    width: 14px;
    height: 14px;
  }
  .process-mobile-result {
    display: block;
    grid-column: 2;
    grid-row: 2;
    color: var(--step-accent);
    font-size: 14px;
    line-height: 1.45;
  }
  .process-content > p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.6;
  }
  .process-outcome {
    display: none;
  }
  .about-grid,
  .faq-layout,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-grid h2,
  .faq-layout h2,
  .contact-copy h2 {
    font-size: 32px;
    line-height: 1.25;
  }
  .about-principles {
    margin-top: 22px;
    gap: 8px;
  }
  .about-principles li {
    padding: 8px 11px;
  }
  .about-experience {
    margin-top: 16px;
  }
  .faq-layout > div:first-child {
    position: static;
  }
  .faq-intro {
    margin-top: 12px;
  }
  .faq > summary {
    gap: 12px;
    padding: 16px;
    font-size: 16px;
    min-height: 64px;
  }
  .faq > p {
    padding: 0 16px 18px;
  }
  .faq-toggle {
    width: 24px;
    height: 24px;
  }
  .contact-copy > p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
  }
  .contact-form {
    padding: 20px;
    border-radius: 22px 36px 22px 36px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 18px;
  }
  .contact-form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
  }
  .contact-form-footer > p {
    max-width: none;
  }
}
@keyframes process-signal-vertical {
  from {
    transform: translateY(-110%);
  }
  to {
    transform: translateY(660%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-lines,
  .process-track > span,
  .process-node::after,
  .story-wave .story-wave-warm,
  .story-wave .story-wave-cool,
  .about-wave img,
  .contact-wave img {
    animation: none;
  }
  .process-card,
  .process-card-icon .icon,
  .about-principles li {
    transition: none;
    transform: none;
  }
  .process-card {
    rotate: 0deg;
  }
}
