/* Mor Zoaretz on the Altura base: the sections after the projects keep Altura's own
   dark panels (sections.css); this file only adds what Altura doesn't have:
   the project button, the review slider, the FAQ and the project page. */

:root {
  --page: #0d0f12;
  --panel: #14171b;
}

.tour__sticky { background: #1a1612; }

/* ---------- Project button on each stop ---------- */

button.beat__cta {
  border: 0;
  cursor: pointer;
  margin-top: 22px;
}

.beat--low-right,
.beat--low-left { bottom: 13%; }

/* ---------- About: her quote sits on the empty side of the photo ---------- */

.founder img { object-position: 70% 30%; }
/* Her quote sits in the curtain side of the photo, away from her. */
.founder figcaption {
  inset: 0 auto 0 0;
  width: min(44%, 560px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(90deg, rgba(10, 8, 6, 0.72), rgba(10, 8, 6, 0));
}
.founder blockquote { font-size: clamp(1.15rem, 0.8rem + 1.1vw, 1.9rem); }

@media (max-width: 960px) {
  .founder img { object-position: 60% 30%; }
  .founder figcaption { position: static; width: auto; background: none; padding: 22px 0 0; }
}

/* ---------- Reviews: Altura's quote panel, in the dark ---------- */

.panel.quote {
  --sand: #ffffff;
  --sand-dim: rgba(255, 255, 255, 0.72);
  background: var(--panel);
  color: #fff;
}

.quote__stage { margin: 0 auto; max-width: 1100px; text-align: center; }
.quote__stage .kicker { margin-bottom: clamp(24px, 3vw, 44px); }
.quote__slide[hidden] { display: none; }
.quote__slide.is-on { animation: quoteIn 0.6s var(--ease-out) both; }
@keyframes quoteIn { from { opacity: 0; transform: translateY(10px); } }
.quote figcaption { color: var(--sand-dim); }

.quote__nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(28px, 3vw, 44px);
  font-size: 14px;
  color: var(--sand-dim);
  font-variant-numeric: tabular-nums;
}
.quote__nav b { font-weight: 500; color: #fff; }

.quote__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--panel-line);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.quote__btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.quote__btn svg { width: 15px; height: 15px; }
.quote__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- FAQ: Altura's process rhythm, as open/close rows ---------- */

.faq .process__head { margin-bottom: clamp(32px, 4vw, 64px); }
.faq__list { border-top: 1px solid var(--panel-line); }
.faq__item { border-bottom: 1px solid var(--panel-line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 1.8vw, 26px) 0;
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.4rem);
  font-weight: 300;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__item summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.faq__item p {
  max-width: 46em;
  padding: 0 0 clamp(20px, 2vw, 28px);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--sand-dim);
}

/* ---------- Contact ---------- */

.person__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }

/* ---------- Project page ---------- */

html.is-proj-open { overflow: hidden; }

.proj {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: var(--inset);
  border: 0;
  background: transparent;
  color: #fff;
}
.proj::backdrop { background: rgba(6, 7, 9, 0.72); }
.proj[open] { animation: projIn 0.45s var(--ease-out) both; }
@keyframes projIn { from { opacity: 0; transform: translateY(18px); } }

.proj__inner {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius);
  background: var(--panel);
  font-family: var(--font-ui);
}

.proj__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 44px) var(--gutter) clamp(16px, 2vw, 28px);
  background: linear-gradient(180deg, var(--panel) 72%, rgba(20, 23, 27, 0));
}

.proj__title {
  margin: 6px 0 0;
  font-size: clamp(2.2rem, 1rem + 4vw, 5.4rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.01em;
}

.proj__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}
.proj__close:hover { background: rgba(255, 255, 255, 0.12); }
.proj__close svg { width: 16px; height: 16px; }

.proj__body {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 72px);
  padding: 0 var(--gutter) clamp(40px, 5vw, 80px);
}

.proj__text { position: sticky; top: clamp(130px, 12vw, 190px); align-self: start; }
.proj__lede { font-size: clamp(1.2rem, 0.95rem + 0.8vw, 1.7rem); font-weight: 300; line-height: 1.4; }
.proj__copy p { margin-top: 1em; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.72); }
.proj__facts { margin: 28px 0 0; border-top: 1px solid var(--panel-line); }
.proj__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--panel-line); }
.proj__facts dt { font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.proj__facts dd { margin: 0; font-size: 15px; }

.proj__cta {
  display: inline-flex;
  margin-top: 28px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #fff;
  color: #14110d;
  font-size: 15px;
  font-weight: 500;
}

.proj__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 0.8vw, 14px);
}
.proj__gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
  background: #1d2126;
}
/* Every third photo runs the full width, for rhythm. */
.proj__gallery img:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.proj a:focus-visible,
.proj button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 960px) {
  .proj__body { grid-template-columns: 1fr; }
  .proj__text { position: static; }
}

@media (max-width: 600px) {
  .proj__gallery { grid-template-columns: 1fr; }
  .proj__gallery img,
  .proj__gallery img:nth-child(3n + 1) { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .proj[open],
  .quote__slide.is-on { animation: none; }
}

/* The interiors are bright: a deeper shade under the project text keeps it readable. */
.tour__shade {
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.4) 0%, rgba(10, 8, 6, 0) 20%),
    linear-gradient(0deg, rgba(10, 8, 6, 0.72) 0%, rgba(10, 8, 6, 0.45) 30%, rgba(10, 8, 6, 0) 62%),
    radial-gradient(ellipse 60% 55% at var(--shade-x, 25%) var(--shade-y, 70%), rgba(10, 8, 6, 0.38), rgba(10, 8, 6, 0) 70%);
}
