/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #111111;
  --white: #ffffff;
  --beige: #AC9C8D;
  --beige-dark: #610C27;
  --sand: #E3C1B4;
  --text: #1b1b1b;
  --muted: #5b5b5b;
  --line: #DDD9CE;
  --accent: #c08e5a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

#story,
#products,
#contact,
#customization,
#people {
  scroll-margin-top: 5.5rem;
}

section#customization {
  padding-bottom: 2rem;
}

section#people {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

section#people .people-video-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

section#people .people-video-hero .signature-video {
  margin-top: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

section#people .people-animated-title {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 2;
  font-weight: normal;
  line-height: 1;
  pointer-events: none;
}

section#people .people-title-moving-bg {
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  overflow: visible;
  background-color: transparent;
  background-image: none;
  animation: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.2) 42%,
    transparent 70%
  );
}

section#people .people-flyin-txt-cont {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 100%;
  height: 100%;
  padding: 0.75rem 1.25rem 7.5%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  section#people .people-flyin-txt-cont {
    padding: 1rem 1.75rem 7%;
  }
}

section#people .people-flyIn {
  color: #fff;
  font-family: "Raleway", system-ui, sans-serif;
  text-transform: uppercase;
  line-height: 1.18;
  position: relative;
  display: block;
  text-shadow: 2px 2px 40px rgba(0, 0, 0, 0.7);
}

section#people .people-line-one,
section#people .people-line-two,
section#people .people-line-three {
  font-size: clamp(1.85rem, 6.25vw, 4.35rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0;
  animation-fill-mode: forwards;
}

section#people .people-line-one {
  animation: peopleTxtFlyIn 1.15s ease-out 0s forwards;
}

section#people .people-line-two {
  animation: peopleTxtFlyIn 1.3s ease-out 0.35s forwards;
}

section#people .people-line-three {
  animation: peopleTxtFlyIn 1.6s ease-out 0.65s forwards;
}

@keyframes peopleTxtFlyIn {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

section#people .people-line-four {
  text-transform: none;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
  margin-top: 0.85rem;
  opacity: 0;
  width: auto;
  max-width: min(28em, calc(100% - 1.5rem));
  background-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--black);
  box-sizing: border-box;
  font-size: clamp(0.8rem, 1.65vw, 1.35rem);
  padding: 0.4em 0.65em;
  letter-spacing: 0.02em;
  line-height: 1.35;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: peopleLineFourFly 2.25s ease-out 0.85s forwards;
}

@keyframes peopleLineFourFly {
  0% {
    opacity: 0;
    transform: translateX(calc(-100vw + 2rem));
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  section#people .people-line-one,
  section#people .people-line-two,
  section#people .people-line-three {
    animation: none;
    opacity: 1;
    transform: none;
  }

  section#people .people-line-four {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

section#contact {
  padding-top: 1rem;
}

section#contact .container {
  width: min(1400px, calc(100% - 2rem));
  border: 1px solid var(--black);
  border-radius: 14px;
  padding: 1.5rem 2rem 2.25rem;
  box-sizing: border-box;
}

section#contact .section-title {
  margin-left: 0.85rem;
}

section#products {
  padding-top: 1.5rem;
}

section#products .container {
  /* Fits 4×300px cards + gaps + padding inside the border (≈1320px+ content) */
  width: min(1400px, calc(100% - 2rem));
  border: 1px solid var(--black);
  border-radius: 14px;
  padding: 1.5rem 2rem 2.25rem;
  box-sizing: border-box;
}

section#products .section-title {
  margin-left: 0.85rem;
}

@media (max-width: 1340px) and (min-width: 901px) {
  section#products .class-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #efece9;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-btn {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.lang-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.lang-btn.is-active {
  background: var(--beige-dark);
  color: var(--white);
  border-color: var(--beige-dark);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-weight: 500;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}

/* Hero */
.hero {
  padding: 6rem 0 5.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  position: relative;
  z-index: 0;
  background: url("Images/Hero/Airbrush-image-extender.jpeg")
      40% 72%/115%
    no-repeat;
  background-color: var(--beige);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
  line-height: 1.15;
  margin: 0;
}

.hero-copy {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 16px;
  backdrop-filter: blur(2px);
  margin-left: -1rem;
  max-width: 460px;
  margin-top: -1rem;
}

.hero p {
  margin: 1rem 0 2rem;
  color: var(--muted);
  max-width: 420px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--black);
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: var(--beige-dark);
  color: var(--white);
  border-color: var(--beige-dark);
}

.btn-outline {
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-placeholder {
  background: var(--beige-dark);
  border-radius: 14px;
  height: 320px;
  position: relative;
  overflow: hidden;
}

.image-placeholder::after {
  content: "Image";
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.45);
}

/* Section */
section {
  padding: 4.5rem 0;
}

section:has(.video-play-in-view) {
  padding-bottom: 1.25rem;
}

.story-section {
  background:
    url("Images/90ac03d1-c7a3-4eec-b5c3-b5406667f128.avif") center / cover no-repeat;
  background-color: #efece9;
}

section.environment-section {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.environment-inner {
  position: relative;
  min-height: min(600px, 72vh);
}

.environment-parallax {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(200, 40%, 30%, 0.4);
  background-image: url("https://78.media.tumblr.com/cae86e76225a25b17332dfc9cf8b1121/tumblr_p7n8kqHMuD1uy4lhuo1_540.png"),
    url("https://78.media.tumblr.com/66445d34fe560351d474af69ef3f2fb0/tumblr_p7n908E1Jb1uy4lhuo1_1280.png"),
    url("https://78.media.tumblr.com/8cd0a12b7d9d5ba2c7d26f42c25de99f/tumblr_p7n8kqHMuD1uy4lhuo2_1280.png"),
    url("https://78.media.tumblr.com/5ecb41b654f4e8878f59445b948ede50/tumblr_p7n8on19cV1uy4lhuo1_1280.png"),
    url("https://78.media.tumblr.com/28bd9a2522fbf8981d680317ccbf4282/tumblr_p7n8kqHMuD1uy4lhuo3_1280.png");
  background-repeat: repeat-x;
  background-position: 0 20%, 0 100%, 0 50%, 0 100%, 0 0;
  background-size: 2500px, 800px, 500px 200px, 1000px, 400px 260px;
  animation: environment-para 50s linear infinite;
}

.environment-section-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4rem;
}

.environment-text-frame {
  display: block;
  width: fit-content;
  max-width: min(34rem, 100%);
  padding: 1.35rem 1.6rem;
  border-radius: 14px;
  background: rgba(22, 38, 52, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.environment-section .environment-text-frame .section-title {
  color: #fff;
  margin-bottom: 0.65rem;
  text-shadow: none;
}

.environment-section .environment-text-frame .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  max-width: none;
  text-shadow: none;
  line-height: 1.55;
}

@keyframes environment-para {
  100% {
    background-position: -5000px 20%, -800px 95%, 500px 50%, 1000px 100%, 400px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .environment-parallax {
    animation: none;
  }
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.story-section .story-highlight {
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      155deg,
      rgba(17, 17, 17, 0.78) 0%,
      rgba(17, 17, 17, 0.42) 45%,
      rgba(17, 17, 17, 0.62) 100%
    ),
    url("Images/ad0a5db3-6dd8-4b4e-8197-308ab63ddf6c.avif") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.95);
}

.story-section .story-highlight .section-title {
  color: #fff;
}

.story-section .story-highlight .section-subtitle {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.5rem;
}

.story-section .story-highlight > p:not(.section-subtitle) {
  color: rgba(255, 255, 255, 0.92);
}

.story-section .story-highlight .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  align-self: start;
  width: fit-content;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

.story-section .story-highlight .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.story-section .tag {
  align-self: start;
  width: fit-content;
}

.story-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.story-section .story-highlight .story-point {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.35);
}

.story-section .story-highlight .story-point h4 {
  color: var(--text);
}

.story-section .story-highlight .story-point p {
  color: var(--muted);
}

.story-point {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.story-point h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.story-point p {
  margin: 0;
  color: var(--muted);
}

.story-proof {
  display: grid;
  gap: 1rem;
}

.proof-card {
  background: color-mix(in srgb, #efece9 28%, var(--white));
  border-color: var(--line);
}

.strip {
  background: var(--beige-dark);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.5rem 0;
}

.strip-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.signature-video {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.signature-video video {
  width: 100%;
  height: 100%;
  display: block;
  max-height: 360px;
  object-fit: cover;
}

.signature-video-large video {
  max-height: 520px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f4efea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: #3c2f2f;
}

/* Map card stretches to match contact card height; iframe fills the frame */
.contact-map {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.contact-map iframe {
  flex: 1 1 auto;
  min-height: 360px;
  width: 100%;
  border-radius: 14px;
  display: block;
  border: none;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(300px, 1fr));
  gap: 1.5rem;
}

.class-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: grid;
  grid-template-rows: 96px auto;
  gap: 1rem;
  align-content: start;
}

.class-head {
  border-radius: 14px;
  padding: 1rem 1.1rem;
  color: var(--white);
  display: grid;
  gap: 0.35rem;
  height: 100%;
  min-height: 0;
  align-content: center;
  align-self: start;
}

.class-head h3 {
  font-size: 1.35rem;
}

.class-head p {
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.95rem;
}

.class-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  align-self: start;
  min-height: 0;
}

.class-card li {
  padding-left: 1.1rem;
  position: relative;
}

.class-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.class-card.econom .class-head {
  background: #1d5b3c;
}

.class-card.standard .class-head {
  background: #4e915f;
}

.class-card.premium .class-head {
  background: #879588;
}

.class-card.custom .class-head {
  background: #4b8f5c;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.customise-showcase.two-col {
  align-items: start;
  grid-template-columns: auto auto;
  gap: 1.15rem;
  justify-content: center;
  width: 100%;
}

.customise-copy-frame {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: fit-content;
  max-width: 48rem;
  padding: 1.35rem 1.85rem 1.5rem;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--beige-dark);
  box-shadow: var(--shadow);
}

.customise-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige-dark);
}

.customise-copy-frame .section-title {
  margin-bottom: 0.8rem;
  line-height: 1.12;
}

.customise-copy-subtitle {
  margin-bottom: 0.85rem;
  max-width: none;
  line-height: 1.45;
}

.customise-copy-body {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  font-size: 1.02rem;
}

.customise-copy-frame .customise-copy-body + .customise-copy-body {
  margin-top: 1rem;
}

.customise-copy-list {
  margin: 1.2rem 0 0;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.45;
  font-size: 0.98rem;
}

.customise-copy-list li {
  margin-bottom: 0.25rem;
}

.customise-copy-list li:last-child {
  margin-bottom: 0;
}

.customise-showcase-video-wrap {
  width: 100%;
  max-width: 21rem;
  align-self: start;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #efece9;
}

.customise-showcase-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight {
  background: var(--beige);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--line);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.social-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  background: var(--white);
}

/* Footer */
.footer {
  background: var(--beige-dark);
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer h4 {
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-tagline {
  text-align: right;
}

@media (max-width: 520px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-tagline {
    justify-self: end;
  }
}

/* Utilities */
.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--beige-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    display: block;
    height: auto;
  }

  .contact-map iframe {
    flex: none;
    min-height: 260px;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .customise-showcase.two-col {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 1.5rem;
  }

  .customise-copy-frame {
    margin-left: 0;
    margin-inline: auto;
    max-width: min(48rem, 100%);
  }

  .customise-showcase-video-wrap {
    margin-inline: auto;
    max-width: min(21rem, 100%);
  }

  .class-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .nav-right {
    gap: 0.6rem;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 4%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}
