@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: #f1f5f9;
  background: #3d1c07;
  --navy: #7c3a10;
  --bg: #3d1c07;
  --panel: #4a2408;
  --line: rgba(255, 214, 178, 0.22);
  --indigo: #f36c21;
  --indigo-light: #ff9655;
  --lavender: #ffd0b3;
  --gradient: linear-gradient(100deg, var(--indigo), var(--indigo-light));
  --text: #f1f5f9;
  --muted: #94a3b8;
  --orange: var(--indigo);
  --ink: var(--navy);
  --mint: #e9edff;
  --cream: #f3f5f9;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
body.loading {
  overflow: hidden;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
}
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    #a7c2d4 0%,
    #cfdde2 42%,
    #e6e2d4 72%,
    #ecd9bd 100%
  );
}
#webgl {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.scene-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #3d1c07f2 0%,
    #3d1c07c4 25%,
    #3d1c0700 51%
  );
  backdrop-filter: blur(5px);
  mask-image: linear-gradient(90deg, #000 0%, #0006 30%, #0000 52%);
}
header {
  position: fixed;
  z-index: 4;
  top: 0;
  width: 100%;
  padding: 28px 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.5s,
    backdrop-filter 0.5s;
}
header.scrolled {
  background: #3d1c07c9;
  backdrop-filter: blur(20px);
}
.brand {
  display: block;
  color: #fff;
  line-height: 1;
}
.logo-mark {
  display: block;
  width: 146px;
  height: 38px;
  background: var(--orange);
  -webkit-mask: url("assets/fado-logo.png") center / 118% 460% no-repeat;
  mask: url("assets/fado-logo.png") center / 118% 460% no-repeat;
}
.loader-brand {
  width: min(66vw, 390px);
  height: min(17vw, 100px);
  transition: transform 1s;
}
.loader-brand .logo-mark {
  width: 100%;
  height: 100%;
  background: #fff;
}
header nav {
  display: flex;
  gap: 35px;
  font-size: 12px;
  font-weight: 600;
}
header nav a {
  position: relative;
  padding: 8px 0;
}
header nav a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
header nav a:hover:after {
  transform: scaleX(1);
}
.contact-link {
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 12px 18px;
  background: #4a2408b8;
  color: var(--text);
  font-size: 11px;
}
.contact-link span {
  margin-left: 22px;
  color: var(--orange);
}
#story {
  position: fixed;
  z-index: 2;
  top: 23%;
  left: 6vw;
  width: 43%;
  pointer-events: none;
  transition:
    opacity 0.55s,
    transform 0.8s,
    filter 0.6s;
}
#story.changing {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  filter: blur(10px);
  transition-timing-function: cubic-bezier(0.22, 0.8, 0.3, 1);
}
#destinations button.active i {
  animation: dot-pulse 2.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  50% {
    box-shadow: 0 0 0 8px #f36c2110;
  }
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow > span:first-child {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo);
}
h1 {
  font-weight: 600;
  font-size: clamp(54px, 6.2vw, 110px);
  letter-spacing: -0.065em;
  line-height: 0.98;
  margin: 24px 0;
}
h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#description {
  max-width: 280px;
  font-size: 12px;
  line-height: 1.9;
  color: #d5dded;
  margin: 22px 0 25px;
}
.explore {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: var(--indigo);
  color: #fff;
  border: 0;
  border-radius: 40px;
  padding: 16px 21px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  pointer-events: auto;
  transition:
    background 0.25s,
    transform 0.25s;
}
.explore span {
  font-size: 17px;
  color: var(--lavender);
  transition: transform 0.25s;
}
.explore:hover {
  background: var(--indigo-light);
  transform: scale(1.025);
}
.explore:hover span {
  color: white;
  transform: translate(3px, -3px);
}
.world-caption {
  position: fixed;
  right: 7%;
  top: 16%;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.live-dot {
  display: inline-block;
  background: var(--indigo);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f36c2110;
}
.caption-divider {
  opacity: 0.3;
  margin: 0 6px;
}
#destinations {
  position: fixed;
  right: 2.4vw;
  top: 39%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#destinations button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 3px;
  color: #777;
}
#destinations button span {
  opacity: 0;
  transform: translateX(5px);
  transition: 0.3s;
}
#destinations button:hover span,
#destinations button:focus-visible span {
  opacity: 1;
  transform: none;
}
#destinations button i {
  width: 5px;
  height: 5px;
  background: #7776;
  border-radius: 50%;
  transition: 0.3s;
}
#destinations button.active i {
  background: var(--indigo);
  box-shadow: 0 0 0 4px #f36c2120;
}
footer {
  position: fixed;
  z-index: 4;
  bottom: 0;
  width: 100%;
  padding: 25px 4.5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.6px;
}
.scroll-hint > span {
  margin-left: 22px;
  font-size: 18px;
  color: var(--orange);
}
.journey {
  display: flex;
  align-items: center;
  gap: 10px;
}
.journey b {
  font-weight: 600;
}
.journey > span {
  color: #777;
}
.journey i {
  width: 120px;
  height: 1px;
  background: #2222;
  margin-left: 12px;
}
.journey i span {
  display: block;
  background: var(--indigo);
  height: 100%;
  width: 0;
}
#motion-toggle {
  font-size: 9px;
  border: 0;
  background: transparent;
  color: #555;
}
#motion-toggle span {
  margin-left: 10px;
  color: var(--orange);
}
#scroll-space {
  height: 560vh;
  pointer-events: none;
}
.landing {
  position: relative;
  z-index: 6;
  padding: clamp(76px, 11vw, 160px) 7vw;
  background: var(--cream);
  color: var(--navy);
}
.section-kicker {
  color: var(--indigo);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.intro-grid,
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 8vw;
  align-items: end;
  margin-top: 34px;
}
.landing h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 700;
}
.landing h2 em {
  color: var(--orange);
  font-style: normal;
}
.landing p {
  color: #436361;
  font-size: 15px;
  line-height: 1.8;
}
.stats,
.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
}
.stats article {
  padding-top: 20px;
  border-top: 1px solid #123b3a33;
}
.stats strong {
  display: block;
  font-size: clamp(32px, 4.5vw, 66px);
  letter-spacing: -0.07em;
}
.stats span,
.service-grid article > span {
  color: var(--indigo);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.services {
  background: var(--bg);
  color: white;
}
.services .section-kicker {
  color: var(--lavender);
}
.service-grid article {
  min-height: 265px;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff10;
  border: 1px solid #ffffff22;
  transition: transform 0.3s, background 0.3s;
}
.service-grid article:nth-child(2) {
  background: var(--indigo);
}
.service-grid article:hover {
  transform: translateY(-8px);
  background: #ffffff1d;
}
.service-grid article:nth-child(2):hover {
  background: var(--indigo-light);
}
.service-grid h3,
.process h3 {
  font-size: 24px;
  letter-spacing: -0.05em;
  margin: 54px 0 8px;
}
.service-grid p {
  color: #ffffffa8;
  font-size: 13px;
}
.service-grid article:nth-child(2) p {
  color: #fff;
}
.process {
  background: #e9edff;
}
.process ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.process li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #123b3a33;
}
.process li b {
  color: var(--orange);
  font-size: 11px;
}
.process h3 {
  margin: 0;
  font-size: 21px;
}
.process li p {
  margin: 8px 0 0;
  font-size: 13px;
}
.final-cta {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(125deg, var(--navy) 0%, var(--indigo) 54%, #e9edff 54%);
}
.final-cta h2 {
  color: white;
  margin: 26px 0 36px;
}
.final-cta h2 em {
  color: var(--navy);
}
.final-cta .explore {
  background: var(--ink);
}
.final-cta .section-kicker {
  color: var(--navy);
}
#loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
  overflow: hidden;
}
#loader.done {
  transform: translateY(-102%);
}
.done .loader-brand {
  transform: scale(1.12);
}
.loader-bottom {
  position: absolute;
  bottom: 50px;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
}
.loader-track {
  position: absolute;
  bottom: 30px;
  width: 90%;
  height: 1px;
  background: #fff5;
}
.loader-track i {
  height: 100%;
  display: block;
  background: #fff;
  width: 0;
  transition: width 0.3s;
}
#load-error {
  position: absolute;
  bottom: 100px;
  max-width: 85%;
  font-size: 13px;
}
#load-error button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  color: white;
}
dialog {
  position: fixed;
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 42px;
  background: #f3f5f9f5;
  backdrop-filter: blur(24px);
  max-width: 430px;
  width: calc(100% - 32px);
  box-shadow: 0 30px 100px #1112;
}
dialog::backdrop {
  background: #161e2033;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -2px;
  line-height: 1.1;
}
dialog p {
  font-size: 13px;
  color: #68665f;
  line-height: 1.9;
  margin-bottom: 30px;
}
.close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 25px;
  border: 0;
  background: none;
}
#tooltip {
  position: fixed;
  z-index: 5;
  background: var(--indigo);
  color: #fff;
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 10px;
  pointer-events: none;
}
#debug {
  position: fixed;
  left: 12px;
  bottom: 70px;
  background: #111e;
  color: #aaf0b5;
  padding: 15px;
  z-index: 10;
  font-size: 11px;
}
.no-script {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #f7f4ef;
}
@media (max-width: 800px) {
  header {
    padding: 22px 6vw;
  }
  header nav {
    gap: 20px;
  }
  .contact-link {
    font-size: 10px;
    padding: 10px 13px;
  }
  .contact-link span {
    margin-left: 10px;
  }
  #story {
    left: 6vw;
    top: 20%;
    width: 48%;
  }
  h1 {
    font-size: clamp(48px, 7.7vw, 70px);
  }
  .world-caption {
    top: 15%;
    font-size: 7px;
    right: 6%;
  }
  #description {
    max-width: 220px;
    font-size: 11px;
  }
  footer {
    padding: 24px 6vw;
  }
}
@media (max-width: 560px) {
  header nav {
    display: none;
  }
  .brand {
    font-size: 30px;
  }
  .world-caption {
    top: 125px;
    left: 6vw;
    right: auto;
  }
  #story {
    top: auto;
    bottom: 105px;
    width: 90%;
  }
  h1 {
    font-size: 40px;
    margin: 14px 0;
    letter-spacing: -3px;
  }
  #description {
    font-size: 11px;
    max-width: 255px;
    line-height: 1.7;
    margin: 15px 0;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .scene-wash {
    background: linear-gradient(0deg, #3d1c07 4%, #3d1c07b8 37%, #3d1c0700 65%);
  }
  .explore {
    padding: 13px 17px;
    font-size: 8px;
  }
  #destinations {
    top: 29%;
    right: 5vw;
    gap: 13px;
  }
  .journey i {
    width: 45px;
  }
  .scroll-hint {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .scroll-hint > span {
    margin-left: 8px;
  }
  #motion-toggle {
    font-size: 8px;
  }
  footer {
    padding: 23px 5vw;
    gap: 12px;
  }
  .journey {
    gap: 5px;
  }
  #motion-toggle span {
    margin-left: 3px;
  }
  .landing {
    padding: 76px 6vw;
  }
  .intro-grid,
  .process-layout,
  .stats,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .intro-grid,
  .process-layout {
    gap: 24px;
  }
  .stats,
  .service-grid {
    margin-top: 42px;
  }
  .service-grid article {
    min-height: auto;
  }
  .service-grid h3 {
    margin-top: 32px;
  }
  .final-cta {
    min-height: 60vh;
    background: linear-gradient(155deg, var(--navy) 0%, var(--indigo) 68%, #e9edff 68%);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
