body {
  margin: 0;
  overflow-x: hidden;
}

.hero-media {
  position: relative;
  min-height: clamp(24rem, 62vw, 38rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 2rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  background: rgba(15, 23, 42, 0.72);
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-media--trigger {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-media--trigger:hover,
.hero-media--trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 30px 80px rgba(2, 6, 23, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-media__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.hero-media__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.12) 0%, rgba(2, 6, 23, 0.3) 42%, rgba(2, 6, 23, 0.82) 100%),
    linear-gradient(135deg, rgba(14, 165, 233, 0.08), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.hero-title-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.hero-title-row h1 {
  margin: 0;
  min-width: 0;
}

.hero-title-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(5rem, 12vw, 7rem);
  height: clamp(5rem, 12vw, 7rem);
  border: 1px solid rgba(248, 250, 252, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  color: #f8fafc;
  backdrop-filter: blur(14px);
  box-shadow:
    0 12px 30px rgba(2, 6, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  justify-self: end;
}

.hero-title-action svg {
  width: 90%;
  height: 90%;
}

.video-lightbox-open {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.video-lightbox.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px);
}

.video-lightbox__dialog {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(92vw, 68rem);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.5rem;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 24px 90px rgba(2, 6, 23, 0.45);
  opacity: 0;
  transition:
    opacity 0.24s ease,
    transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  transform: translate(-50%, calc(-50% + 14px));
}

.video-lightbox.is-open .video-lightbox__dialog {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.video-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.9);
}

.video-lightbox__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

.video-lightbox__close {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #f8fafc;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.video-lightbox__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-lightbox__video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1rem;
}

.site-header__inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.95rem 1rem;
  min-height: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.76)),
    rgba(15, 23, 42, 0.82);
  box-shadow:
    0 14px 40px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  transition: min-height 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}

.site-header__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding-top: 0.1rem;
  padding-bottom: 0;
  transition: padding-bottom 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  color: #f8fafc;
  text-decoration: none;
}

.site-header__brand-wordmark {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: lowercase;
}

.site-header__brand-base {
  font-weight: 600;
}

.site-header__brand-accent {
  font-weight: 800;
}

.site-header__nav {
  position: relative;
  width: 100%;
  min-height: 0;
  margin-top: 0;
  height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0);
  transition:
    height 0.32s cubic-bezier(0.33, 1, 0.68, 1),
    margin-top 0.32s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}

.site-header__content-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 30px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0) 100%);
  pointer-events: none;
}

.site-header__content-fade--bottom {
  top: auto;
  bottom: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0) 100%);
}

.site-header__menu-scroll {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.5rem;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: 0.2rem;
  touch-action: pan-y;
  scrollbar-width: none;
}

.site-header__menu-scroll::-webkit-scrollbar {
  display: none;
}

.site-header__menu-section {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.site-header__menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.site-header__menu-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-header__menu-title {
  margin: 0;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header__menu-caption {
  margin: 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

.site-header__menu-rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.1rem 0 0.35rem;
  scroll-snap-type: x proximity;
  scroll-padding-left: 0;
  scrollbar-width: none;
}

.site-header__menu-rail::-webkit-scrollbar {
  display: none;
}

.site-header__menu-card {
  flex: 0 0 min(18rem, 78vw);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 12rem;
  padding: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.92));
  color: #f8fafc;
  text-decoration: none;
  scroll-snap-align: start;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.site-header__menu-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background-color: rgba(30, 41, 59, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-header__menu-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header__menu-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 0 0.2rem 0.15rem;
}

.site-header__menu-card:hover,
.site-header__menu-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.32);
}

.site-header__menu-card-tag {
  color: #7dd3fc;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header__menu-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.site-header__menu-card-copy {
  color: #94a3b8;
  line-height: 1.5;
}

.site-header__menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.site-header__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.05), rgba(15, 23, 42, 0.26)),
    rgba(15, 23, 42, 0.3);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  width: 100%;
  text-align: left;
}

.site-header__link:hover,
.site-header__link:focus-visible {
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.08), rgba(15, 23, 42, 0.36)),
    rgba(15, 23, 42, 0.34);
  border-color: rgba(125, 211, 252, 0.32);
  color: #f8fafc;
  transform: translateY(-1px);
}

.site-header__link-label {
  display: inline-flex;
  align-items: center;
}

.site-header__link svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  opacity: 0.84;
}

@media (min-width: 900px) {
  .site-header__menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

.site-header__brand:focus-visible,
.site-header__link:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.85);
  outline-offset: 3px;
}

.site-header__menu-toggle {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
}

.site-header__icon-button {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
}

.site-header__icon-button svg {
  width: 1.7rem;
  height: 1.7rem;
}

.site-header__menu-line {
  width: 1.4rem;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.is-menu-open .site-header__nav {
  margin-top: 0;
  border-top-color: rgba(148, 163, 184, 0.16);
}

.site-header.is-menu-open .site-header__inner {
  min-height: calc(100dvh - 2rem);
}

.site-header.is-menu-open .site-header__top {
  padding-bottom: 0.85rem;
}

.site-header.is-menu-open .site-header__menu-scroll {
  padding-top: calc(30px + 0.85rem);
  padding-bottom: calc(30px + 0.85rem);
}

.site-menu-open {
  overflow: hidden;
  touch-action: none;
}

.site-header.is-menu-open .site-header__menu-line:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-menu-open .site-header__menu-line:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.contact-sheet-open {
  overflow: hidden;
  touch-action: none;
}

.contact-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.contact-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, 0);
  transition: background-color 0.3s ease;
}

.contact-sheet__panel {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  height: min(84vh, 44rem);
  padding: 1.25rem 1.25rem 1.5rem;
  overflow: hidden;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9)),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 -18px 50px rgba(2, 6, 23, 0.42);
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: auto;
}

.contact-sheet.is-open {
  pointer-events: auto;
}

.contact-sheet.is-open .contact-sheet__backdrop {
  background: rgba(2, 6, 23, 0.58);
}

.contact-sheet.is-open .contact-sheet__panel {
  transform: translateY(0);
}

.contact-sheet__header {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
}

.contact-sheet__header-title {
  margin: 0;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-sheet__close {
  justify-self: start;
}

.contact-sheet__header-submit {
  justify-self: end;
}

.contact-sheet__close {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #f8fafc;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.contact-sheet__header-submit {
  height: 2.5rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #86efac 0%, #22c55e 100%);
  color: #052e16;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.contact-sheet__content {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

.contact-sheet__content-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0.2rem;
  z-index: 3;
  height: 30px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0) 100%);
  pointer-events: none;
}

.contact-sheet__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-top: 30px;
  padding-right: 0.2rem;
  touch-action: pan-y;
  scrollbar-width: none;
}

.contact-sheet__body::-webkit-scrollbar {
  display: none;
}

.contact-sheet__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}

.contact-sheet__caption {
  margin: 0.65rem 0 1.5rem;
  max-width: 32rem;
  color: #94a3b8;
  line-height: 1.6;
}

.contact-sheet__faq {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.38);
}

.contact-sheet__faq-title {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.contact-sheet__faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-sheet__faq-item {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.contact-sheet__faq-item:first-child {
  border-top: 0;
}

.contact-sheet__faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.contact-sheet__faq-question {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #f8fafc;
}

.contact-sheet__faq-icon {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-sheet__faq-item.is-open .contact-sheet__faq-icon {
  transform: rotate(45deg);
  color: #f8fafc;
}

.contact-sheet__faq-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}

.contact-sheet__faq-answer {
  margin: 0;
  padding: 0 0 0.8rem;
  color: #94a3b8;
  line-height: 1.55;
}

.contact-sheet__form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.contact-sheet__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.contact-sheet__field input,
.contact-sheet__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font: inherit;
  resize: vertical;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact-sheet__field input::placeholder,
.contact-sheet__field textarea::placeholder {
  color: #64748b;
}

.contact-sheet__field input:focus,
.contact-sheet__field textarea:focus {
  outline: none;
  border-color: rgba(125, 211, 252, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(125, 211, 252, 0.45),
    0 0 0 3px rgba(125, 211, 252, 0.16);
  background: rgba(15, 23, 42, 0.88);
}

.contact-sheet__header-submit:focus-visible,
.contact-sheet__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.22);
}

@media (min-width: 768px) {
  .contact-sheet {
    display: flex;
    justify-content: flex-end;
  }

  .contact-sheet__panel {
    inset: 0 0 0 auto;
    width: min(100%, 34rem);
    height: 100%;
    padding: 1.6rem 1.6rem 1.8rem;
    border-top-left-radius: 1.75rem;
    border-top-right-radius: 0;
    border-bottom-left-radius: 1.75rem;
    box-shadow: -18px 0 50px rgba(2, 6, 23, 0.4);
    transform: translateX(100%);
  }

  .contact-sheet.is-open .contact-sheet__panel {
    transform: translateX(0);
  }
}

@media (max-width: 720px) {
  .hero-media {
    min-height: 28rem;
    align-items: flex-end;
    border-radius: 1.5rem;
  }

  .hero-title-action {
    width: 4.25rem;
    height: 4.25rem;
  }

  .site-header {
    padding: 0.8rem;
  }

  .site-header__inner {
    border-radius: 1.25rem;
  }
}

/*
 * SplitText uses y-from-below; overflow on the h1 itself clips glyphs (descenders, tight line boxes).
 * Padding = space for translateY(100px) + type; negative margin keeps the subtitle from jumping down.
 */
.hero-title-mask {
  overflow: hidden;
  width: 100%;
  padding-top: 0.2em;
  padding-bottom: calc(6.75rem + 0.35em);
  margin-top: 0;
  margin-bottom: calc(-5.75rem + 0.15em);
}

@media (min-width: 640px) {
  .hero-title-mask {
    padding-bottom: calc(7.25rem + 0.4em);
    margin-bottom: calc(-6.25rem + 0.15em);
  }
}

h1 {
  font-weight: 700;
}

h2 {
  font-weight: 600;
}

h3 {
  font-weight: 600;
}

h4,
h5,
h6 {
  font-weight: 500;
}

/* Horizontal gallery */
#portfolio {
  position: relative;
  overflow: hidden;
  text-align: center;
}

#portfolio .container-fluid {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}

#portfolio .horiz-gallery-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  /* Stable mobile height (URL bar) so pin + layout don’t jump */
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
}

#portfolio .horiz-gallery-heading {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(1rem, 4vw, 1.75rem) clamp(1rem, 4vw, 1.5rem) 0.75rem;
  text-align: left;
}

#portfolio .horiz-gallery-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  will-change: transform;
  position: relative;
}

#portfolio .horiz-gallery-footer {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  padding: 0.25rem clamp(1rem, 4vw, 1.5rem) clamp(1rem, 4vw, 1.75rem);
}

#portfolio .horiz-gallery-cta {
  border: 0;
  background: transparent;
  padding: 0;
  color: #f8fafc;
  font: inherit;
  font-size: clamp(1.7rem, 4.8vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  cursor: pointer;
  text-align: right;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

#portfolio .horiz-gallery-cta:hover,
#portfolio .horiz-gallery-cta:focus-visible {
  opacity: 0.8;
  transform: translateY(-1px);
}

/* Card: large on phone, scale up to desktop */
#portfolio .project-wrap {
  flex: 0 0 auto;
  box-sizing: border-box;
  display: block;
  /* ~one main card + sliver of next = clear horizontal story */
  width: min(86vw, 22rem);
  padding: clamp(0.75rem, 3vw, 1.25rem);
  color: inherit;
  text-decoration: none;
}

@media (min-width: 480px) {
  #portfolio .project-wrap {
    width: min(72vw, 24rem);
    padding: clamp(1rem, 2.5vw, 1.5rem);
  }
}

@media (min-width: 768px) {
  #portfolio .project-wrap {
    width: min(48vw, 20rem);
    padding: 1.5rem;
  }
}

/* Large: ~3.5 items visible (mobile / tablet rules above stay as-is) */
@media (min-width: 1024px) {
  #portfolio .project-wrap {
    width: calc(100vw / 3.5);
    padding: clamp(1rem, 1.25vw, 1.75rem);
  }
}

#portfolio .project-wrap-media {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

#portfolio .project-wrap:hover .project-wrap-media {
  transform: scale(1.04);
}

#portfolio .project-wrap-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

#portfolio .project-wrap-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(0.85rem, 3.2vw, 1.35rem) clamp(0.75rem, 2.5vw, 1.15rem);
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(15, 23, 42, 0.5) 38%,
    transparent 68%
  );
  pointer-events: none;
}

#portfolio .project-wrap-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 2.5vw, 0.85rem);
  width: 100%;
}

#portfolio .project-wrap-title {
  margin: 0;
  flex: 1;
  min-width: 0;
  /* Larger floor for phones; caps on big viewports */
  font-size: clamp(1.2rem, 3.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f8fafc;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

#portfolio .project-wrap-arrow {
  flex-shrink: 0;
  width: clamp(1.6rem, 6.5vw, 1.875rem);
  height: auto;
  color: #f8fafc;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (hover: hover) and (pointer: fine) {
  #portfolio .project-wrap-arrow {
    opacity: 0;
    transform: translateX(-8px);
  }

  #portfolio .project-wrap:hover .project-wrap-arrow {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    opacity: 1;
    transform: none;
  }

  .contact-sheet__backdrop,
  .contact-sheet__panel,
  #portfolio .project-wrap-media {
    transition: none;
  }

  #portfolio .project-wrap:hover .project-wrap-media {
    transform: none;
  }

  #portfolio .project-wrap-arrow {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.insight-section {
  padding: clamp(5rem, 10vw, 7.5rem) 1.5rem clamp(6rem, 10vw, 8rem);
}

.insight-section__inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.insight-section__intro {
  position: sticky;
  top: 5.5rem;
  z-index: 5;
  align-self: start;
  padding: 1.5rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.82) 72%, rgba(2, 6, 23, 0));
}

.insight-section__intro-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.insight-section__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #f8fafc;
  text-wrap: balance;
}

.insight-section__intro-icon {
  flex-shrink: 0;
}

.insight-section__intro-icon--mobile {
  width: 1.75rem;
  height: 1.75rem;
}

.insight-section__intro-icon--desktop {
  display: none;
}

.insight-section__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.insight-section__item {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem 0 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.insight-section__item:last-child {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.insight-section__item-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  object-fit: cover;
}

.insight-section__item-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #f8fafc;
  text-wrap: balance;
}

.insight-section__item-copy {
  margin: 0.9rem 0 0;
  max-width: 40rem;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.75;
}

@media (min-width: 900px) {
  .insight-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  .insight-section__intro {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    padding: 0;
    background: transparent;
  }

  .insight-section__intro-head {
    display: block;
  }

  .insight-section__intro-icon--mobile {
    display: none;
  }

  .insight-section__intro-icon--desktop {
    display: block;
    width: 2.2rem;
    height: 2.2rem;
    margin-top: 1.5rem;
  }

  .insight-section__item {
    min-height: 100svh;
    min-height: 100dvh;
  }
}

.question-section {
  padding: 0 1.5rem clamp(6rem, 10vw, 8rem);
}

.question-section__inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.question-section__eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.question-section__title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-wrap: balance;
}

.question-section__copy {
  margin: 1.15rem 0 0;
  max-width: 44rem;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.8;
}

.question-section__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.05), rgba(15, 23, 42, 0.28)),
    rgba(15, 23, 42, 0.3);
  text-align: center;
}

.question-section__profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  object-fit: cover;
}

.question-section__profile-name {
  margin: 1rem 0 0;
  color: #f8fafc;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.question-section__profile-role {
  margin: 0.35rem 0 0;
  color: #94a3b8;
  line-height: 1.6;
}

.question-section__profile-cta {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.question-section__profile-cta:hover,
.question-section__profile-cta:focus-visible {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(125, 211, 252, 0.32);
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .question-section__inner {
    grid-template-columns: minmax(0, 3fr) minmax(15rem, 1fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.site-footer {
  padding: 0 1.5rem 2rem;
}

.site-footer__inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.site-footer__banner {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: clamp(18rem, 38vw, 24rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  text-decoration: none;
  background: #0f172a;
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.site-footer__banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer__banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.84)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.16), transparent 42%);
}

.site-footer__banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.site-footer__banner-eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__banner-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
}

.site-footer__banner-title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-wrap: balance;
}

.site-footer__banner-arrow {
  width: clamp(1.7rem, 5vw, 2.25rem);
  height: auto;
  color: #f8fafc;
  justify-self: end;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0.5rem 0 0;
}

.site-footer__section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  text-align: left;
}

.site-footer__title {
  margin: 0;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.site-footer__link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  text-decoration: none;
  font: inherit;
  line-height: 1.6;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #f8fafc;
  transform: translateX(2px);
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 0.5rem 0 0;
  }
}

.for-page {
  padding-top: 0;
}

.for-page__hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 8rem 1.5rem 2rem;
}

.for-page__eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.for-page__hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.for-page__hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.88)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.2), transparent 42%);
}

.for-page__hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  margin: 0 auto;
}

.for-page__title {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.92;
  color: #f8fafc;
}

.for-page__summary {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.8;
}

.for-page__hero-jump {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.2);
  background: rgba(15, 23, 42, 0.28);
  color: #f8fafc;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.for-page__hero-jump:hover,
.for-page__hero-jump:focus-visible {
  background: rgba(15, 23, 42, 0.42);
  border-color: rgba(125, 211, 252, 0.35);
  transform: translateY(-1px);
}

.for-page__roadmap {
  padding: clamp(6rem, 10vw, 8.5rem) 1.5rem clamp(7rem, 12vw, 10rem);
}

.for-page__roadmap-inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}

.for-page__roadmap-label {
  margin: 0 0 0.6rem;
  color: #7dd3fc;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.for-page__roadmap-title {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: #f8fafc;
  text-align: center;
}

.for-page__roadmap-copy {
  margin: 1.2rem 0 0;
  max-width: 28rem;
  color: #94a3b8;
  line-height: 1.8;
}

.for-page__steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.for-page__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.for-page__step::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 2.5rem;
  bottom: -1rem;
  width: 1px;
  background: rgba(148, 163, 184, 0.16);
}

.for-page__step:last-child::before {
  display: none;
}

.for-page__step-marker {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.for-page__step-index {
  margin: 0;
  color: #7dd3fc;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.for-page__step-kicker {
  margin: 0;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 500;
}

.for-page__step-card {
  margin-left: 1.85rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.04), rgba(15, 23, 42, 0.22)),
    rgba(15, 23, 42, 0.28);
}

.for-page__step-card--accent {
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.08), rgba(15, 23, 42, 0.28)),
    rgba(15, 23, 42, 0.32);
  border-color: rgba(125, 211, 252, 0.18);
}

.for-page__step-content {
  min-width: 0;
  order: 2;
}

.for-page__step-media {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  order: 1;
  align-self: center;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.48);
}

.for-page__step-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.for-page__step-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #f8fafc;
  text-wrap: balance;
}

.for-page__step-copy {
  margin: 0.9rem 0 0;
  color: #94a3b8;
  line-height: 1.8;
}

@media (min-width: 900px) {
  .for-page__hero {
    padding: 9rem 1.5rem 3rem;
  }

  .for-page__roadmap-inner {
    gap: 4rem;
  }

  .for-page__roadmap-intro {
    max-width: 44rem;
    margin: 0 auto;
  }

  .for-page__step {
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.75rem;
  }

  .for-page__step::before {
    left: 3.25rem;
    top: 2.8rem;
    bottom: -1rem;
  }

  .for-page__step-marker {
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    padding-top: 0.85rem;
  }

  .for-page__step-card {
    margin-left: 0;
    grid-template-columns: minmax(0, 3fr) minmax(12rem, 1fr);
    align-items: stretch;
    gap: 1.5rem;
    padding: 2.15rem;
    min-height: 22rem;
  }

  .for-page__step-content {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .for-page__step-media {
    order: 2;
  }
}
