*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body,
.page-wrap {
  background: #0c0c0c;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Kanit", sans-serif;
  color: #d7e2ea;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.page-wrap {
  overflow-x: clip;
}

.hero-heading {
  background: linear-gradient(180deg, #646973 0%, #bbccd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d7e2ea;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  padding: 1.5rem 1.5rem 0;
  position: relative;
  z-index: 20;
}

.site-nav a {
  transition: opacity 200ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 0.7;
}

.site-nav:not(.site-nav--hero) {
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .site-nav {
    font-size: 1.125rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-nav {
    font-size: 1.4rem;
  }
}

/* ---------- Contact button ---------- */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  background: linear-gradient(123deg, #18011f 7%, #b600a8 37%, #7621b0 72%, #be4c00 100%);
  box-shadow: 0 4px 4px rgba(181, 1, 167, 0.25), inset 4px 4px 12px #7721b1;
  outline: 2px solid #fff;
  outline-offset: -3px;
  transition: transform 200ms ease, opacity 200ms ease;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
}

.contact-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

@media (min-width: 640px) {
  .contact-btn {
    padding: 0.875rem 2.5rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .contact-btn {
    padding: 1rem 3rem;
    font-size: 1rem;
  }
}

/* ---------- Fade in ---------- */
.fade-in {
  opacity: 0;
  transform: translate3d(var(--fx, 0px), var(--fy, 30px), 0);
  transition: opacity var(--fd, 0.7s) cubic-bezier(0.25, 0.1, 0.25, 1),
    transform var(--fd, 0.7s) cubic-bezier(0.25, 0.1, 0.25, 1);
  transition-delay: var(--fdelay, 0s);
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  position: relative;
}

.hero-heading-wrap {
  overflow: hidden;
  width: 100%;
}

.hero h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  width: 100%;
  font-size: 14vw;
  margin-top: 1.5rem;
  text-align: left;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 15vw;
    margin-top: 1rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 16vw;
    margin-top: -1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 17.5vw;
  }
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 1.5rem 1.75rem;
  margin-top: auto;
  position: relative;
  z-index: 20;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-bottom {
    padding-bottom: 2rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-bottom {
    padding-bottom: 2.5rem;
  }
}

.hero-lead {
  color: #d7e2ea;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.375;
  font-size: clamp(0.75rem, 1.4vw, 1.5rem);
  max-width: 160px;
}

@media (min-width: 640px) {
  .hero-lead {
    max-width: 220px;
  }
}

@media (min-width: 768px) {
  .hero-lead {
    max-width: 260px;
  }
}

.hero-portrait {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.hero-portrait-inner {
  width: 280px;
  pointer-events: auto;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 640px) {
  .hero-portrait {
    align-items: flex-end;
  }
  .hero-portrait-inner {
    width: 360px;
  }
}

@media (min-width: 768px) {
  .hero-portrait-inner {
    width: 440px;
  }
}

@media (min-width: 1024px) {
  .hero-portrait-inner {
    width: 520px;
  }
}

.magnet {
  will-change: transform;
}

/* ---------- Marquee ---------- */
.marquee {
  background: #0c0c0c;
  padding: 6rem 0 2.5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .marquee {
    padding-top: 8rem;
  }
}

@media (min-width: 768px) {
  .marquee {
    padding-top: 10rem;
  }
}

.marquee-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.marquee-row {
  display: flex;
  gap: 0.75rem;
  will-change: transform;
  width: max-content;
}

.marquee-tile {
  width: 420px;
  height: 270px;
  border-radius: 1rem;
  object-fit: cover;
  flex-shrink: 0;
  background: #161616;
}

/* ---------- About ---------- */
.about {
  min-height: 100vh;
  padding: 5rem 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 640px) {
  .about {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 768px) {
  .about {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.about-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.about-deco img {
  width: 100%;
  height: auto;
}

.about-deco--tl {
  width: 120px;
  top: 4%;
  left: 1%;
}

.about-deco--bl {
  width: 100px;
  bottom: 8%;
  left: 3%;
}

.about-deco--tr {
  width: 120px;
  top: 4%;
  right: 1%;
}

.about-deco--br {
  width: 130px;
  bottom: 8%;
  right: 3%;
}

@media (min-width: 640px) {
  .about-deco--tl,
  .about-deco--tr {
    width: 160px;
    left: auto;
  }
  .about-deco--tl {
    left: 2%;
  }
  .about-deco--tr {
    right: 2%;
  }
  .about-deco--bl {
    width: 140px;
    left: 6%;
  }
  .about-deco--br {
    width: 170px;
    right: 6%;
  }
}

@media (min-width: 768px) {
  .about-deco--tl,
  .about-deco--tr {
    width: 210px;
  }
  .about-deco--tl {
    left: 4%;
  }
  .about-deco--tr {
    right: 4%;
  }
  .about-deco--bl {
    width: 180px;
    left: 10%;
  }
  .about-deco--br {
    width: 220px;
    right: 10%;
  }
}

.about-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .about-inner {
    gap: 3.5rem;
  }
}

@media (min-width: 768px) {
  .about-inner {
    gap: 4rem;
  }
}

.about h2,
.services h2,
.pricing h2,
.page-hero h1 {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
  font-size: clamp(3rem, 12vw, 160px);
}

.about-copy {
  max-width: 560px;
}

.animated-text {
  color: #d7e2ea;
  font-weight: 500;
  text-align: center;
  line-height: 1.625;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.animated-text .char {
  display: inline-block;
  opacity: 0.2;
}

.about-cta {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .about-cta {
    margin-top: 1.5rem;
  }
}

@media (min-width: 768px) {
  .about-cta {
    margin-top: 2rem;
  }
}

.about-inner .about-cta {
  margin-top: 0;
}

.about-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 640px) {
  .about-stack {
    gap: 5rem;
  }
}

@media (min-width: 768px) {
  .about-stack {
    gap: 6rem;
  }
}

/* ---------- Services + Pricing (white) ---------- */
.light-panel a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

::selection {
  background: #b600a8;
  color: #fff;
}

.light-panel {
  background: #ffffff;
  color: #0c0c0c;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  padding: 5rem 1.25rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .light-panel {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    padding: 6rem 2rem;
  }
}

@media (min-width: 768px) {
  .light-panel {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    padding: 8rem 2.5rem;
  }
}

.services h2,
.pricing-block h2 {
  color: #0c0c0c;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .services h2,
  .pricing-block h2 {
    margin-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .services h2,
  .pricing-block h2 {
    margin-bottom: 7rem;
  }
}

.service-list,
.price-list {
  max-width: 64rem;
  margin: 0 auto;
}

.service-item,
.price-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(12, 12, 12, 0.15);
}

.service-item:first-child,
.price-item:first-child {
  border-top: 1px solid rgba(12, 12, 12, 0.15);
}

@media (min-width: 640px) {
  .service-item,
  .price-item {
    padding: 2.5rem 0;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .service-item,
  .price-item {
    padding: 3rem 0;
  }
}

.service-num,
.price-num {
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 140px);
  color: #0c0c0c;
  line-height: 0.85;
  flex-shrink: 0;
  min-width: 0.9em;
}

.service-body,
.price-body {
  padding-top: 0.35rem;
}

.service-name,
.price-name {
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.2vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.service-desc,
.price-desc {
  font-weight: 300;
  line-height: 1.625;
  max-width: 42rem;
  font-size: clamp(0.85rem, 1.6vw, 1.25rem);
  opacity: 0.6;
}

.price-amount {
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.6rem);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

.pricing-block {
  padding-top: 4rem;
}

.pricing-note {
  max-width: 64rem;
  margin: 2.5rem auto 0;
  font-weight: 300;
  opacity: 0.55;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  text-align: center;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ---------- Inner pages ---------- */
.page-hero {
  padding: 2rem 1.25rem 3rem;
}

.page-hero h1 {
  word-break: break-word;
}

.page-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
  font-weight: 300;
  line-height: 1.75;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #d7e2ea;
}

.page-content h2 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin: 2.5rem 0 1rem;
  background: linear-gradient(180deg, #646973 0%, #bbccd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-content p,
.page-content ul {
  margin-bottom: 1rem;
  opacity: 0.85;
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content strong {
  font-weight: 500;
}

/* ---------- Contact form ---------- */
.contact-layout {
  display: grid;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.contact-aside h2 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  margin-bottom: 1.25rem;
}

.contact-aside p {
  font-weight: 300;
  line-height: 1.6;
  max-width: 26rem;
  opacity: 0.8;
}

.contact-meta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.contact-meta a {
  text-decoration: none;
  transition: opacity 200ms ease;
}

.contact-meta a:hover {
  opacity: 0.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.75;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: 1px solid rgba(215, 226, 234, 0.28);
  border-radius: 18px;
  color: #d7e2ea;
  padding: 0.95rem 1.1rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 200ms ease;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #d7e2ea;
}

.form-field select option {
  color: #0c0c0c;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
}

.form-alert--ok {
  background: rgba(182, 0, 168, 0.18);
  border: 1px solid rgba(182, 0, 168, 0.45);
}

.form-alert--err {
  background: rgba(190, 76, 0, 0.18);
  border: 1px solid rgba(190, 76, 0, 0.45);
}

.contact-form .contact-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  cursor: pointer;
  border: 0;
}

/* ---------- Pricing page cards ---------- */
.price-packages {
  display: grid;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
}

@media (min-width: 800px) {
  .price-packages {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.package-card {
  border: 2px solid #d7e2ea;
  border-radius: 40px;
  padding: 1.75rem 1.5rem;
  background: #0c0c0c;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.package-card--featured {
  background: linear-gradient(180deg, rgba(182, 0, 168, 0.18), rgba(12, 12, 12, 1));
}

.package-card h3 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.package-price {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  background: linear-gradient(180deg, #646973 0%, #bbccd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.package-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 300;
  opacity: 0.8;
  flex: 1;
}

.package-card .contact-btn {
  margin-top: 0.5rem;
}

.light-panel .price-packages {
  padding-left: 0;
  padding-right: 0;
}

.light-panel .package-card {
  background: #fff;
  color: #0c0c0c;
}

.light-panel .package-card--featured {
  background: #0c0c0c;
  color: #d7e2ea;
}

.light-panel .package-card--featured .package-price {
  background: linear-gradient(180deg, #646973 0%, #bbccd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0c0c0c;
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.15rem, 4vw, 2.5rem) 2.25rem;
  border-top: 1px solid rgba(215, 226, 234, 0.08);
  overflow-x: hidden;
}

.home .site-footer {
  border-top: none;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .home .site-footer {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: -3rem;
  }
}

@media (min-width: 768px) {
  .home .site-footer {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -3.5rem;
  }
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    column-gap: 3rem;
    row-gap: 2rem;
    align-items: start;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
  }
}

.site-footer__brand,
.site-footer__links,
.site-footer__copy {
  min-width: 0;
}

.site-footer__name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  overflow-wrap: anywhere;
}

.site-footer__tag {
  font-weight: 300;
  opacity: 0.65;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

.site-footer__details {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 300;
  font-size: clamp(0.82rem, 2.1vw, 0.9rem);
  opacity: 0.75;
  max-width: 36rem;
  line-height: 1.55;
}

.site-footer__details p {
  overflow-wrap: anywhere;
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.site-footer__contact a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer__details a:hover {
  opacity: 0.7;
}

.site-footer__affiliation {
  margin-top: 0.35rem;
  font-weight: 400;
  opacity: 0.9;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.15rem;
  align-content: start;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 500;
}

.site-footer__links a {
  overflow-wrap: anywhere;
}

.site-footer__links a:hover {
  opacity: 0.7;
}

@media (min-width: 480px) {
  .site-footer__links {
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 0.75rem 1.4rem;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .site-footer__links {
    justify-content: end;
    text-align: right;
  }
}

.site-footer__copy {
  font-weight: 300;
  opacity: 0.45;
  font-size: clamp(0.72rem, 2vw, 0.8rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
  gap: 1.5rem;
}

.not-found h1 {
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
}

@media (max-width: 480px) {
  .hero-bottom .contact-btn {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    letter-spacing: 0.12em;
  }

  .marquee-tile {
    width: 280px;
    height: 180px;
  }
}
