
/* ==========================================================
   AETHEL REALTY — ABOUT US
   Complete CSS

   Global font/header/footer: css/style.css
   Page-specific styles: css/why-aethel.css
========================================================== */

.why-page-body {
  --why-teal: #0f6868;
  --why-black: #090909;
  --why-muted: #55534c;
  --why-line: rgba(0, 0, 0, 0.14);
  --why-max: 1450px;
  --why-pad: 40px;

  margin: 0;
  background: #fff;
  color: var(--why-black);
  overflow-x: clip;
}

.why-main {
  width: 100%;
  font-family: inherit;
}

.why-main *,
.why-main *::before,
.why-main *::after {
  box-sizing: border-box;
}

.why-main h1,
.why-main h2,
.why-main h3,
.why-main p,
.why-main button {
  font-family: inherit;
}

.why-main h1,
.why-main h2,
.why-main h3 {
  font-weight: 500;
}

/* ==========================================================
   HEADER — MATCH EXISTING GLOBAL NAVIGATION
========================================================== */

.why-page-body .why-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10001;
}

.why-page-body .why-logo {
  position: relative;
  display: block;
}

.why-page-body .why-logo .logo__mark {
  display: block;
  filter: none !important;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.why-page-body .why-logo__black {
  position: relative;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.why-page-body .why-logo__brand {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  filter: none !important;
}

.why-page-body.nav-open .why-logo__black,
.why-page-body.menu-open .why-logo__black {
  opacity: 0 !important;
  visibility: hidden !important;
}

.why-page-body.nav-open .why-logo__brand,
.why-page-body.menu-open .why-logo__brand {
  opacity: 1 !important;
  visibility: visible !important;
}

.why-page-body .why-nav .nav-toggle {
  position: relative;
  z-index: 10002;
  color: #090909 !important;
  border-color: #090909 !important;
}

.why-page-body .why-nav .nav-toggle span {
  background-color: #090909 !important;
}

.why-page-body.nav-open .why-nav .nav-toggle,
.why-page-body.menu-open .why-nav .nav-toggle {
  color: #fff !important;
  border-color: #fff !important;
}

.why-page-body.nav-open .why-nav .nav-toggle span,
.why-page-body.menu-open .why-nav .nav-toggle span {
  background-color: #fff !important;
}

.why-page-body .menu-overlay {
  z-index: 10000;
}

/* ==========================================================
   HERO
========================================================== */

.why-hero {
  width: 100%;
  padding: 165px var(--why-pad) 115px;
  background: #fff;
}

.why-hero__inner {
  max-width: var(--why-max);
  margin: 0 auto;
}

.why-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: start;
  gap: 60px;
  margin-bottom: 90px;
}

.why-hero__label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.why-hero__intro {
  max-width: 370px;
  margin: 0;
  color: var(--why-muted);
  font-size: 17px;
  line-height: 1.65;
}

.why-hero__title {
  margin: 0 0 90px;
  font-size: clamp(64px, 6.5vw, 100px);
  line-height: 0.89;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.why-hero__title span {
  display: block;
}

.why-hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #eeece7;
}

.why-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================
   HOW WE WORK — FIXED BACKGROUND + SCROLL FADE

   The section stays sticky.
   Teal appears smoothly from 0% to 100%.
   The background never slides upward.
========================================================== */

.how {
  --how-bg-opacity: 0;
  --how-text-color: #090909;
  --how-copy-color: #55534c;
  --how-progress-track: rgba(0, 0, 0, 0.18);
  --how-progress-fill: #0f6868;

  position: relative;
  height: 420vh;
  background: #fff;
}

.how__sticky {
  position: sticky;
  top: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 500px;

  padding: 80px var(--why-pad);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: #fff;
}

.how__background {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: var(--why-teal);
  opacity: var(--how-bg-opacity);

  transform: none !important;
  pointer-events: none;
  will-change: opacity;
}

.how__heading,
.how__steps,
.how__progress {
  position: relative;
  z-index: 1;
}

.how__heading {
  margin: 0 0 45px;
  color: var(--how-text-color);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.how__steps {
  position: relative;
  width: min(100%, 950px);
  height: clamp(250px, 38vh, 370px);
}

.how__step {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.how__step:first-child {
  opacity: 1;
}

.how__step.is-active {
  pointer-events: auto;
}

.how__step h3 {
  margin: 0;
  color: var(--how-text-color);
  font-size: clamp(52px, 6.6vw, 105px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.how__step p {
  max-width: 450px;
  margin: 23px auto 0;
  color: var(--how-copy-color);
  font-size: 17px;
  line-height: 1.65;
  transition: color 0.35s ease;
}

.how__progress {
  position: absolute;
  right: var(--why-pad);
  bottom: 35px;
  left: var(--why-pad);

  max-width: var(--why-max);
  height: 1px;
  margin: 0 auto;

  background: var(--how-progress-track);
}

.how__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--how-progress-fill);
  transform: scaleX(0);
  transform-origin: left;
}

.how.is-teal {
  --how-text-color: #fff;
  --how-copy-color: rgba(255, 255, 255, 0.92);
  --how-progress-track: rgba(255, 255, 255, 0.3);
  --how-progress-fill: #fff;
}

/* ==========================================================
   OUR STORY
========================================================== */

.why-block {
  width: 100%;
  padding: 140px var(--why-pad) 120px;
  background: #fff;
}

.why-block__inner {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  align-items: start;
  gap: 55px;

  max-width: var(--why-max);
  margin: 0 auto;
}

.why-block__title {
  margin: 0;
  font-size: clamp(60px, 6.2vw, 98px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.why-block__title span {
  display: block;
}

.why-block__content {
  min-width: 0;
}

.why-block__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  margin: 0 0 48px;
  overflow: hidden;
  background: #eeece7;
}

.why-block__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.why-block__text {
  max-width: 610px;
}

.why-block__text p {
  margin: 0 0 24px;
  color: var(--why-muted);
  font-size: 17px;
  line-height: 1.75;
}

.why-block__text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   MEET OUR FOUNDERS — PREMIUM EDITORIAL SLIDER

   One founder at a time.
   No blurred background cards.
   No overlapping content.
   Auto-switches every 5 seconds via JS.
========================================================== */

.founders-editorial {
  padding: 120px var(--why-pad) 110px;
  background: #f9f9f7;
  color: #090909;
  overflow: hidden;
}

.founders-editorial *,
.founders-editorial *::before,
.founders-editorial *::after {
  box-sizing: border-box;
}

.founders-editorial__container {
  max-width: 1400px;
  margin: 0 auto;
}

.founders-editorial__heading {
  margin-bottom: 65px;
}

.founders-editorial__heading > span {
  display: block;
  margin-bottom: 20px;
  color: #0f6868;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.founders-editorial__heading h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(42px, 5vw, 75px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.founders-editorial__slider {
  position: relative;
  min-height: 490px;
}

.founders-editorial__slide {
  position: absolute;
  inset: 0;

  display: grid;
  grid-template-columns: 46% minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 115px);

  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);

  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.9s ease;

  pointer-events: none;
}

.founders-editorial__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.founders-editorial__photo {
  width: 100%;
  height: 490px;
  overflow: hidden;
  background: #e9e9e6;
}

.founders-editorial__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;

  filter: none !important;
  opacity: 1 !important;

  transform: scale(1.035);
  transition: transform 1.2s ease;
}

.founders-editorial__slide.is-active
.founders-editorial__photo img {
  transform: scale(1);
}

.founders-editorial__details {
  max-width: 560px;
}


.founders-editorial__details h3 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(38px, 4vw, 65px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.founders-editorial__role {
  display: block;
  margin-top: 14px;
  color: #0f6868;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founders-editorial__line {
  width: 100%;
  height: 1px;
  margin: 38px 0 30px;
  background: #d7d7d4;
}

.founders-editorial__details p {
  margin: 0;
  max-width: 520px;
  color: #55534c;
  font-size: 17px;
  line-height: 1.8;
}

.founders-editorial__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 38px;
}

.founders-editorial__counter {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  color: #999;
}

.founders-editorial__counter > span:first-child {
  color: #0f6868;
  font-size: 24px;
}

.founders-editorial__counter-line {
  width: 65px;
  height: 1px;
  background: #bbb;
}

.founders-editorial__nav {
  display: flex;
  gap: 12px;
}

.founders-editorial__nav button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;
  padding: 0;

  border: 1px solid #999;
  border-radius: 50%;
  background: transparent;
  color: #090909;

  font-family: inherit;
  font-size: 24px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.founders-editorial__nav button:hover {
  background: #0f6868;
  border-color: #0f6868;
  color: #fff;
}

.founders-editorial__nav button:focus-visible {
  outline: 2px solid #0f6868;
  outline-offset: 4px;
}

.founders-editorial__progress {
  width: 100%;
  height: 2px;
  margin-top: 25px;
  background: #e2e2df;
  overflow: hidden;
}

.founders-editorial__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #0f6868;
  transform: scaleX(0);
  transform-origin: left;
}

.founders-editorial__progress span.is-playing {
  animation: founderProgress 5s linear forwards;
}

@keyframes founderProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ==========================================================
   SCROLL REVEAL
========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {
  .why-page-body {
    --why-pad: 28px;
  }

  .why-hero {
    padding-top: 145px;
  }

  .why-hero__top {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 35px;
  }

  .why-hero__title {
    font-size: clamp(52px, 7vw, 82px);
  }

  .why-block__inner {
    grid-template-columns: 36% minmax(0, 1fr);
    gap: 35px;
  }

  .founders-editorial {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .founders-editorial__slider {
    min-height: 430px;
  }

  .founders-editorial__slide {
    gap: 35px;
  }

  .founders-editorial__photo {
    height: 430px;
  }

  .founders-editorial__details p {
    font-size: 15px;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 760px) {
  .why-page-body {
    --why-pad: 20px;
  }

  .why-hero {
    padding: 120px var(--why-pad) 75px;
  }

  .why-hero__top {
    display: block;
    margin-bottom: 55px;
  }

  .why-hero__intro {
    max-width: 340px;
    margin-top: 32px;
    font-size: 15px;
  }

  .why-hero__title {
    margin-bottom: 50px;
    font-size: clamp(34px, 8.2vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .why-hero__image {
    aspect-ratio: 4 / 5;
  }

  .how {
    height: 380svh;
  }

  .how__sticky {
    height: 100svh;
    min-height: 440px;
    padding: 65px 20px;
  }

  .how__heading {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .how__steps {
    height: 250px;
  }

  .how__step h3 {
    font-size: clamp(39px, 11vw, 64px);
  }

  .how__step p {
    max-width: 320px;
    font-size: 15px;
  }

  .how__progress {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .why-block {
    padding: 85px var(--why-pad);
  }

  .why-block__inner {
    display: block;
  }

  .why-block__title {
    margin-bottom: 40px;
    font-size: 52px;
  }

  .why-block__image {
    aspect-ratio: 4 / 5;
    margin-bottom: 30px;
  }

  .why-block__text p {
    font-size: 16px;
  }

  /* Founders */

  .founders-editorial {
    padding: 75px var(--why-pad);
  }

  .founders-editorial__heading {
    margin-bottom: 40px;
  }

  .founders-editorial__heading h2 {
    font-size: clamp(38px, 9vw, 55px);
  }

  .founders-editorial__slider {
    min-height: 0;
    transition: height 0.3s ease;
  }

  .founders-editorial__slide {
    display: block;
    transform: translateY(15px);
  }

  .founders-editorial__slide.is-active {
    transform: translateY(0);
  }

  .founders-editorial__photo {
    height: 350px;
    margin-bottom: 28px;
  }

  .founders-editorial__index {
    margin-bottom: 16px;
  }

  .founders-editorial__details h3 {
    font-size: 38px;
  }

  .founders-editorial__line {
    margin: 25px 0;
  }

  .founders-editorial__details p {
    font-size: 15px;
    line-height: 1.7;
  }

  .founders-editorial__bottom {
    margin-top: 30px;
  }
}

@media (max-width: 430px) {
  .why-hero__title {
    font-size: 32px;
  }

  .why-block__title {
    font-size: 43px;
  }

  .founders-editorial__photo {
    height: 300px;
  }

  .founders-editorial__details h3 {
    font-size: 33px;
  }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .how {
    height: auto;
  }

  .how__sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 90px 20px;
    background: var(--why-teal);
  }

  .how__background {
    opacity: 1 !important;
  }

  .how__heading,
  .how__step h3,
  .how__step p {
    color: #fff !important;
  }

  .how__steps {
    height: auto;
  }

  .how__step {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    margin-bottom: 50px;
  }

  .how__progress {
    display: none;
  }

  .founders-editorial__slide,
  .founders-editorial__photo img {
    transition: none !important;
  }

  .founders-editorial__progress span.is-playing {
    animation: none !important;
  }
}
