@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap");

:root {
  --purple: #30205f;
  --purple-deep: #180f3b;
  --sage: #629074;
  --sage-light: #89b992;
  --gold: #efbd5b;
  --paper: #fbfaf6;
  --ink: #211549;
  --shadow: 0 24px 54px rgba(20, 12, 47, 0.26);
  --heading-font: "Oswald", Impact, "Arial Black", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.portfolio-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
}

.showcase-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(25, 12, 66, 0.95) 0%, rgba(35, 22, 80, 0.82) 48%, rgba(30, 20, 72, 0.72) 100%),
    url("brand-assets/sample-beach.webp") center / cover;
}

.showcase-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -92px;
  height: 164px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--paper);
  transform: rotate(-0.8deg);
}

.showcase-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px clamp(26px, 5vw, 82px) 10px;
}

.showcase-brand,
.planning-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.showcase-brand {
  min-width: clamp(196px, 17vw, 270px);
}

.showcase-brand strong,
.planning-logo strong,
.footer-logo strong {
  color: white;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.logo-circle {
  display: grid;
  place-items: center;
  width: clamp(54px, 4.7vw, 76px);
  height: clamp(54px, 4.7vw, 76px);
  flex: 0 0 auto;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.logo-circle img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.showcase-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 54px);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 620;
}

.showcase-links a {
  text-decoration: none;
}

.showcase-links .active {
  padding-bottom: 8px;
  border-bottom: 3px solid var(--sage-light);
}

.showcase-links a + a {
  position: relative;
}

.showcase-links a + a::before {
  content: "";
  position: absolute;
  left: calc(clamp(22px, 3vw, 54px) / -2);
  top: 4px;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.32);
}

.showcase-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 74px) clamp(26px, 5vw, 82px) 124px;
}

.showcase-copy h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(4rem, 6vw, 6.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.showcase-copy p {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--gold);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 780;
  line-height: 1.25;
}

.planning-card {
  padding: clamp(30px, 4vw, 46px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--purple);
  box-shadow: var(--shadow);
}

.planning-logo {
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.planning-logo .logo-circle {
  width: 72px;
  height: 72px;
  box-shadow: none;
}

.planning-logo strong {
  color: var(--purple);
  font-size: clamp(2.2rem, 3.1vw, 3.5rem);
}

.planning-card h2 {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: clamp(1.75rem, 2.2vw, 2.35rem);
  font-weight: 900;
}

.planning-card p {
  margin: 0 0 24px;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.45;
}

.planning-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, #709d7e, #548568);
  color: white;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 820;
  text-decoration: none;
}

.sample-section {
  position: relative;
  z-index: 3;
  padding: 12px clamp(20px, 4vw, 64px) 42px;
  background: var(--paper);
}

.sample-heading {
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}

.sample-heading h2 {
  margin: 0;
  color: var(--purple);
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.05;
}

.sample-heading p {
  margin: 10px 0 0;
  color: rgba(33, 21, 73, 0.7);
  font-size: clamp(0.98rem, 1.25vw, 1.16rem);
  line-height: 1.4;
}

.carousel-shell {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 78px 28px;
  outline: none;
  touch-action: pan-y;
}

.carousel-shell:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 10px;
}

.trip-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 330px;
}

.trip-card {
  --offset: 0;
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: min(500px, 34vw);
  min-width: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: #182347;
  color: white;
  box-shadow: 0 10px 24px rgba(20, 12, 47, 0.28);
  transform: translateX(calc(var(--offset) * 540px)) scale(0.94);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
  opacity: 0.78;
  filter: saturate(0.88);
}

.trip-card.is-active {
  z-index: 2;
  width: min(560px, 38vw);
  border-color: rgba(239, 189, 91, 0.72);
  opacity: 1;
  filter: saturate(1.05);
  transform: translateX(calc(var(--offset) * 540px)) scale(1);
}

.trip-card-hero {
  position: relative;
  min-height: 208px;
  display: grid;
  align-content: space-between;
  padding: 16px 18px 22px;
  background-size: cover;
  background-position: center;
}

.trip-card-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 9, 38, 0.38), rgba(14, 9, 38, 0.58));
}

.mini-nav,
.trip-title {
  position: relative;
  z-index: 1;
}

.mini-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.72rem;
}

.mini-brand,
.sample-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: white;
}

.mini-logo img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.mini-brand strong {
  display: block;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.mini-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
}

.mini-nav nav {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.62rem;
}

.trip-title {
  text-align: center;
}

.trip-title h3 {
  margin: 18px 0 4px;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.trip-title p {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.trip-title small {
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.trip-card-tools {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(13, 20, 48, 0.94);
}

.beach .trip-card-tools {
  background: rgba(53, 107, 115, 0.96);
}

.mountain .trip-card-tools {
  background: rgba(65, 76, 51, 0.96);
}

.trip-card-tools div {
  min-height: 70px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 10px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.trip-card-tools div:last-child {
  border-right: 0;
}

.trip-card-tools strong {
  font-size: 0.78rem;
}

.trip-card-tools span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.6rem;
}

.view-sample {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  min-height: 36px;
  margin: 8px auto;
  border: 0;
  border-radius: 8px;
  background: var(--sage-light);
  color: white;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 40%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--purple);
  cursor: pointer;
  font-size: 3rem;
  line-height: 0;
  box-shadow: 0 8px 20px rgba(20, 12, 47, 0.18);
}

.carousel-arrow.previous {
  left: 0;
}

.carousel-arrow.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.carousel-dots button {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: rgba(48, 32, 95, 0.28);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--purple);
}

.showcase-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 76px;
  padding: 18px clamp(26px, 7vw, 124px);
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: white;
}

.footer-logo .logo-circle {
  width: 42px;
  height: 42px;
  box-shadow: none;
}

.footer-logo strong {
  font-size: 2rem;
}

.footer-divider {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.55);
}

.showcase-footer p {
  margin: 0;
  font-size: 1.12rem;
}

.sample-overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(17, 10, 41, 0.72);
  backdrop-filter: blur(8px);
}

.sample-overlay[hidden] {
  display: none;
}

.sample-browser {
  position: relative;
  width: min(1160px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.close-sample {
  position: sticky;
  top: 14px;
  left: calc(100% - 58px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 14px 14px -56px auto;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--purple);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.sample-site-hero {
  min-height: 420px;
  display: grid;
  align-content: space-between;
  padding: 24px clamp(24px, 5vw, 58px) 54px;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.sample-site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 11, 45, 0.62), rgba(18, 11, 45, 0.5));
}

.sample-site-hero nav,
.sample-site-hero div {
  position: relative;
  z-index: 1;
}

.sample-site-hero nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 760;
}

.sample-nav-brand {
  margin-right: auto;
}

.sample-nav-brand .mini-logo {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.sample-site-hero nav strong {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 2.1rem;
}

.sample-site-hero div {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.sample-site-hero p {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sample-site-hero h2 {
  margin: 0 0 16px;
  font-family: var(--heading-font);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 1;
}

.sample-site-hero span {
  font-weight: 800;
}

.sample-site-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: clamp(22px, 4vw, 42px);
}

.sample-block {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(48, 32, 95, 0.12);
  border-radius: 12px;
  background: white;
}

.sample-block h3 {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 1.18rem;
  font-weight: 900;
}

.sample-block ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(33, 21, 73, 0.76);
  line-height: 1.38;
}

.sample-block li {
  padding-left: 18px;
  position: relative;
}

.sample-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

@media (max-width: 1100px) {
  .showcase-hero-grid {
    grid-template-columns: 1fr;
  }

  .planning-card {
    max-width: 560px;
    justify-self: end;
  }

  .trip-card {
    width: min(500px, 48vw);
    transform: translateX(calc(var(--offset) * 390px)) scale(0.94);
  }

  .trip-card.is-active {
    width: min(560px, 54vw);
    transform: translateX(calc(var(--offset) * 390px)) scale(1);
  }

  .sample-site-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .showcase-nav {
    align-items: flex-start;
  }

  .showcase-links {
    display: none;
  }

  .showcase-brand {
    min-width: 190px;
  }

  .showcase-hero-grid {
    padding-bottom: 100px;
  }

  .showcase-copy h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .showcase-copy p {
    font-size: 1.22rem;
  }

  .planning-card {
    justify-self: stretch;
  }

  .carousel-shell {
    padding: 0 0 30px;
  }

  .trip-track {
    min-height: 390px;
  }

  .trip-card,
  .trip-card.is-active {
    width: min(92vw, 500px);
    min-width: 0;
    transform: translateX(calc(var(--offset) * 106vw));
    opacity: 1;
  }

  .trip-card-hero {
    min-height: 230px;
  }

  .mini-nav nav {
    display: none;
  }

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

  .trip-card-tools div {
    min-height: auto;
    grid-template-columns: 110px 1fr;
    justify-items: start;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .carousel-arrow {
    top: calc(100% - 66px);
    width: 48px;
    height: 48px;
    font-size: 2.4rem;
  }

  .carousel-arrow.previous {
    left: 18px;
  }

  .carousel-arrow.next {
    right: 18px;
  }

  .showcase-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-divider {
    width: 100%;
    height: 1px;
  }

  .sample-site-hero nav span {
    display: none;
  }

  .sample-site-content {
    grid-template-columns: 1fr;
  }
}
