.about-page {
  overflow-x: hidden;
}

.section-pad {
  padding: clamp(76px, 9vw, 126px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head--wide {
  max-width: 1180px;
}

.section-head h2,
.guide-card h2 {
  margin-top: 14px;
  font-size: clamp(2.7rem, 4.25vw, 4.25rem);
}

.section-head > p:last-child {
  max-width: 720px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.16rem;
}

#team,
#reviews,
#contacts {
  scroll-margin-top: 96px;
}

.global-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.about-founders {
  border-bottom: 1px solid rgba(216, 194, 165, 0.55);
  background: rgba(255, 250, 241, 0.55);
}

.about-founders__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.about-founders__copy {
  display: grid;
  gap: 20px;
}

.about-founders__copy .eyebrow {
  margin-bottom: -6px;
}

.about-founders__copy h1 {
  font-size: clamp(3.25rem, 5vw, 5.1rem);
  text-wrap: balance;
}

.about-founders__copy > p:not(.eyebrow) {
  color: var(--muted);
}

.about-founders__copy .about-founders__lead {
  color: var(--ink);
  font-size: 1.22rem;
}

.founder-video {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.founder-video__launch {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  color: #fff9ef;
  background: var(--dark);
  text-decoration: none;
}

.founder-video__launch img,
.founder-video__launch iframe,
.founder-video__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.founder-video__launch img {
  object-fit: cover;
  object-position: center;
  transition: transform 360ms ease;
}

.founder-video__launch iframe {
  border: 0;
}

.founder-video__shade {
  background: linear-gradient(180deg, rgba(36, 25, 20, 0.05) 38%, rgba(36, 25, 20, 0.72) 100%);
}

.founder-video__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding-left: 5px;
  border: 1px solid rgba(255, 249, 239, 0.8);
  border-radius: 50%;
  background: rgba(45, 33, 24, 0.58);
  box-shadow: 0 14px 34px rgba(20, 12, 8, 0.3);
  backdrop-filter: blur(5px);
  font: 700 22px/1 var(--sans);
  transform: translate(-50%, -50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.founder-video__label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  left: 22px;
  font: 700 13px/1.4 var(--sans);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.founder-video__launch:hover .founder-video__play,
.founder-video__launch:focus-visible .founder-video__play {
  background: rgba(103, 58, 36, 0.88);
  transform: translate(-50%, -50%) scale(1.05);
}

.founder-video__launch:hover img {
  transform: scale(1.02);
}

.home-team {
  border-bottom: 1px solid rgba(216, 194, 165, 0.55);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.team-carousel {
  position: relative;
}

.team-carousel__arrow,
.review-carousel__arrow {
  position: absolute;
  z-index: 4;
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(103, 58, 36, 0.34);
  border-radius: 50%;
  color: var(--accent-dark);
  background: rgba(255, 250, 241, 0.86);
  box-shadow: 0 8px 22px rgba(45, 33, 24, 0.18);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.team-carousel__arrow {
  top: 42%;
}

.team-carousel.has-overflow .team-carousel__arrow,
.review-carousel.has-overflow .review-carousel__arrow {
  display: grid;
}

.team-carousel__arrow--prev,
.review-carousel__arrow--prev {
  left: 10px;
}

.team-carousel__arrow--next,
.review-carousel__arrow--next {
  right: 10px;
}

.team-carousel__arrow span,
.review-carousel__arrow span {
  margin-top: -4px;
  font: 400 42px/1 var(--serif);
}

.team-carousel__arrow:hover:not(:disabled),
.review-carousel__arrow:hover:not(:disabled) {
  background: rgba(255, 250, 241, 0.98);
  transform: translateY(-50%) scale(1.04);
}

.team-carousel__arrow:focus-visible,
.review-carousel__arrow:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.team-carousel__arrow:disabled,
.review-carousel__arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.team-video-hint {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  width: min(680px, 100%);
  align-items: center;
  overflow: hidden;
  margin: -8px auto 42px;
  padding: 16px 22px;
  border: 1px solid rgba(140, 79, 46, 0.34);
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(120deg, rgba(255, 250, 241, 0.98), rgba(247, 234, 214, 0.94) 58%, rgba(255, 248, 236, 0.96));
  box-shadow: 0 18px 38px rgba(73, 48, 31, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.team-video-hint::after {
  position: absolute;
  z-index: 0;
  top: -35%;
  bottom: -35%;
  left: 0;
  width: 42%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.12) 24%, rgba(255, 255, 255, 0.62) 48%, rgba(232, 178, 116, 0.22) 62%, transparent 100%);
  transform: translateX(-180%) skewX(-16deg);
  animation: team-hint-shimmer 6.2s ease-in-out infinite;
  content: "";
}

.team-video-hint__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1.5px solid rgba(103, 58, 36, 0.78);
  border-radius: 50%;
  color: var(--accent-dark);
  font: 700 17px/1 var(--sans);
  background: rgba(255, 250, 241, 0.62);
  box-shadow: 0 6px 16px rgba(73, 48, 31, 0.1);
  animation: team-hint-pulse 2.6s ease-in-out infinite;
}

.team-video-hint__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.team-video-hint__copy strong {
  font-size: 1.25rem;
  line-height: 1.15;
}

.team-video-hint__copy > span {
  color: var(--muted);
  font: 400 14px/1.45 var(--sans);
}

.team-video-hint__touch {
  display: none;
}

@keyframes team-hint-pulse {
  0%,
  70%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(73, 48, 31, 0.1), 0 0 0 0 rgba(140, 79, 46, 0);
  }

  82% {
    transform: scale(1.1);
    box-shadow: 0 9px 22px rgba(73, 48, 31, 0.16), 0 0 0 7px rgba(140, 79, 46, 0.11);
  }

  91% {
    transform: scale(1.03);
    box-shadow: 0 7px 18px rgba(73, 48, 31, 0.12), 0 0 0 3px rgba(140, 79, 46, 0.05);
  }
}

@keyframes team-hint-shimmer {
  0%,
  60% {
    transform: translateX(-180%) skewX(-16deg);
    opacity: 0;
  }

  64% {
    opacity: 1;
  }

  82% {
    transform: translateX(420%) skewX(-16deg);
    opacity: 0.9;
  }

  86%,
  100% {
    transform: translateX(420%) skewX(-16deg);
    opacity: 0;
  }
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 14px 30px rgba(73, 48, 31, 0.08);
}

.team-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 5;
  color: inherit;
  background: var(--paper-deep);
  appearance: none;
  cursor: pointer;
}

.team-media:focus-visible {
  z-index: 2;
  outline: 3px solid var(--accent);
  outline-offset: -5px;
}

.team-media video,
.team-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-media video {
  z-index: 0;
}

.team-media img {
  z-index: 1;
  transition: opacity 320ms ease;
}

.team-card.is-playing .team-media img {
  opacity: 0;
}

.team-card h3,
.team-card p {
  padding-inline: 18px;
}

.team-card h3 {
  padding-top: 18px;
  font-size: 1.55rem;
}

.team-card p {
  padding-bottom: 22px;
  color: var(--muted);
  font: 400 15px/1.45 var(--sans);
}

.team-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}

.team-scroll-hint {
  display: none;
  color: var(--muted);
  font: 600 12px/1.4 var(--sans);
}

.about-reviews {
  border-bottom: 1px solid rgba(216, 194, 165, 0.55);
  background: rgba(255, 250, 241, 0.55);
}

.review-carousel {
  position: relative;
}

.review-carousel__arrow {
  top: 50%;
}

.review-track {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  overflow-x: auto;
  padding: 6px 2px 28px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.review-card__header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 14px 12px;
}

.review-card__avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(140, 79, 46, 0.32);
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--paper-deep);
  font: 700 14px/1 var(--sans);
}

.review-card__header h3 {
  font-size: 1.28rem;
  line-height: 1.12;
}

.review-card__header p {
  margin-top: 3px;
  color: var(--muted);
  font: 500 12px/1.3 var(--sans);
}

.review-card__message {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(234, 220, 198, 0.72));
  box-shadow: 0 18px 38px rgba(73, 48, 31, 0.1);
}

.review-card__message::before {
  position: absolute;
  top: -28px;
  left: 12px;
  color: rgba(140, 79, 46, 0.13);
  font: 600 118px/1 var(--serif);
  content: "“";
}

.review-card__copy {
  position: relative;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.48;
}

.review-card.is-expanded .review-card__copy {
  display: block;
  overflow: visible;
}

.review-card__toggle {
  position: relative;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(103, 58, 36, 0.4);
  color: var(--accent-dark);
  background: transparent;
  cursor: pointer;
  font: 700 12px/1.5 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-card__toggle:hover {
  border-color: var(--accent-dark);
}

.review-carousel__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 2px;
  color: var(--muted);
  font: 600 12px/1.4 var(--sans);
}

.review-carousel__status {
  margin-left: auto;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff9ef;
  background:
    linear-gradient(110deg, rgba(75, 42, 30, 0.91), rgba(103, 58, 36, 0.88) 58%, rgba(55, 34, 27, 0.92)),
    url("../img/home/media/workshop-hero-poster.webp") center 48% / cover no-repeat;
  box-shadow: 0 24px 54px rgba(73, 48, 31, 0.18);
}

.guide-card > div {
  display: grid;
  gap: 16px;
}

.guide-card .eyebrow,
.guide-card p {
  color: #e7d5bd;
}

.guide-card h2 {
  max-width: 760px;
}

.guide-card .guide-card__subtitle {
  color: #f0c995;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.guide-card .site-button {
  color: var(--accent-dark);
  background: #fff9ef;
  box-shadow: none;
}

@media (hover: none), (pointer: coarse) {
  .team-video-hint__desktop {
    display: none;
  }

  .team-video-hint__touch {
    display: block;
  }
}

@media (max-width: 900px) {
  .about-founders__grid {
    grid-template-columns: 1fr;
  }

  .founder-video {
    max-width: 650px;
  }

  .team-grid {
    grid-auto-columns: calc((100% - 14px) / 2);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x pan-y;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  .team-card {
    scroll-snap-align: start;
  }

  .team-scroll-hint {
    display: block;
  }

  .review-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 680px) {
  .section-pad {
    padding: 68px 0;
  }

  .about-founders__copy h1 {
    font-size: clamp(2.85rem, 13vw, 4rem);
  }

  .founder-video {
    padding: 8px;
  }

  .founder-video__play {
    width: 62px;
    height: 62px;
    font-size: 18px;
  }

  .founder-video__label {
    right: 14px;
    bottom: 12px;
    left: 14px;
    font-size: 11px;
  }

  .team-grid {
    grid-auto-columns: 78vw;
  }

  .team-video-hint {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 14px 16px;
  }

  .team-video-hint__icon {
    width: 44px;
    height: 44px;
  }

  .team-video-hint__copy strong {
    font-size: 1.12rem;
  }

  .review-card {
    flex-basis: 86vw;
  }

  .review-card__message {
    padding: 28px 20px 20px;
  }

  .review-carousel__arrow {
    width: 44px;
    height: 44px;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-card .site-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .founder-video__launch img,
  .founder-video__play,
  .team-media img,
  .team-carousel__arrow,
  .review-carousel__arrow {
    transition: none;
  }

  .team-video-hint::after {
    display: none;
  }

  .team-video-hint__icon {
    animation: none;
  }

  .review-track {
    scroll-behavior: auto;
  }
}
