:root {
  --ink: #172033;
  --muted: #5d6576;
  --paper: #fffaf2;
  --white: #ffffff;
  --pink: #ff5a8f;
  --orange: #ffb23f;
  --cyan: #17c5d1;
  --green: #62c370;
  --purple: #7a5cff;
  --shadow: 0 18px 46px rgba(23, 32, 51, .12);
  --radius: 8px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7e8 0%, #fffdf8 48%, #f4fbff 100%);
  line-height: 1.6;
  overflow-x: hidden;
  text-align: right;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem max(1rem, calc((100vw - var(--wrap)) / 2));
  background: rgba(255, 250, 242, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 32, 51, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(23, 32, 51, .16);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text small,
.eyebrow {
  color: var(--muted);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.main-nav a {
  padding: .6rem .85rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
}

.main-nav a:hover {
  background: rgba(255, 90, 143, .12);
}

.hero {
  direction: rtl;
  width: min(var(--wrap), calc(100% - 2rem));
  min-height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  grid-template-areas: "copy media";
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 1.4rem;
  overflow: visible;
  position: relative;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  opacity: .45;
  filter: blur(.2px);
  animation: drift 9s ease-in-out infinite;
}

.hero::before {
  width: 140px;
  height: 140px;
  right: 42%;
  top: 14%;
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, #fff7e8 39% 51%, transparent 52%),
    conic-gradient(from 20deg, var(--pink), var(--orange), var(--cyan), var(--pink));
}

.hero::after {
  width: 86px;
  height: 86px;
  left: 4%;
  bottom: 9%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 250, 242, .88) 0 42%, transparent 43%),
    conic-gradient(from 120deg, var(--cyan), var(--green), var(--orange), var(--pink), var(--cyan));
  animation-duration: 7s;
}

.hero-media {
  grid-area: media;
  height: clamp(360px, 38vw, 500px);
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .22)),
    radial-gradient(circle at 18% 20%, rgba(23, 197, 209, .18), transparent 14rem),
    radial-gradient(circle at 85% 78%, rgba(255, 90, 143, .15), transparent 12rem);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(23, 32, 51, .08);
  position: relative;
  cursor: zoom-in;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero.jpg") center / cover no-repeat;
  filter: blur(18px);
  opacity: .24;
  transform: scale(1.08);
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.magnifier {
  --x: 50%;
  --y: 50%;
  position: absolute;
  z-index: 3;
  right: 0;
  top: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .96);
  box-shadow: 0 16px 38px rgba(23, 32, 51, .24), inset 0 0 0 1px rgba(23, 32, 51, .16);
  background-image: url("assets/hero.jpg");
  background-repeat: no-repeat;
  background-size: var(--zoom-width, 100%) var(--zoom-height, 100%);
  background-position: var(--bg-x, 50%) var(--bg-y, 50%);
  opacity: 0;
  transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%)) scale(.92);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.hero-media.is-magnifying .magnifier {
  opacity: 1;
  transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%)) scale(1);
}

.hero-copy {
  grid-area: copy;
  position: relative;
  direction: rtl;
  max-width: 720px;
  justify-self: start;
}

.hero-copy::before,
.hero-copy::after {
  content: none;
}

.hero-copy::before {
  top: -1.6rem;
  right: auto;
  left: 2rem;
}

.hero-copy::after {
  bottom: -2rem;
  left: auto;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-width: 6px;
  animation-duration: 8s;
}

.eyebrow {
  margin: 0 0 .8rem;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: .7rem;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: .92;
  color: var(--pink);
  text-shadow: .07em .07em 0 rgba(255, 178, 63, .55);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: .65rem;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: #2b3245;
  max-width: 36rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  box-shadow: 0 12px 26px rgba(23, 32, 51, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(23, 32, 51, .18);
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #ff7a45);
}

.light {
  background: var(--white);
  border-color: rgba(23, 32, 51, .1);
}

.dark {
  color: #fff;
  background: var(--ink);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-start;
}

.notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(var(--wrap), calc(100% - 2rem));
  margin: .5rem auto 1.8rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.notice span {
  color: rgba(255, 255, 255, .82);
}

.notice a {
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--orange);
  text-decoration: none;
  font-weight: 800;
  padding: .65rem .9rem;
  border-radius: 999px;
}

.section,
.featured,
.contact {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(2.2rem, 5vw, 4rem) 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.4rem;
}

.section-text {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.video-card,
.contact-details,
.contact-panel {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(23, 32, 51, .08);
  box-shadow: 0 18px 50px rgba(23, 32, 51, .1);
}

.service-card {
  min-height: 190px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto auto -28px -24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--card-color, var(--cyan));
  opacity: .18;
}

.service-card:nth-child(1) { --card-color: var(--pink); }
.service-card:nth-child(2) { --card-color: var(--orange); }
.service-card:nth-child(3) { --card-color: var(--cyan); }
.service-card:nth-child(4) { --card-color: var(--green); }
.service-card:nth-child(5) { --card-color: var(--purple); }
.service-card:nth-child(6) { --card-color: #ff694f; }

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--card-color, var(--cyan));
  color: #fff;
  font-weight: 900;
}

.service-card p,
.featured p,
.video-card p,
.contact-details dd {
  color: var(--muted);
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 197, 209, .16), rgba(255, 178, 63, .2));
}

.photo-stack {
  position: relative;
  min-height: 380px;
}

.photo-stack img {
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 10px solid rgba(255, 255, 255, .72);
}

.stack-main {
  width: min(78%, 430px);
  height: 380px;
  border-radius: 24px 8px 24px 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .18)),
    radial-gradient(circle at 22% 24%, rgba(255, 178, 63, .16), transparent 12rem),
    radial-gradient(circle at 82% 76%, rgba(122, 92, 255, .12), transparent 11rem);
  object-fit: cover;
  object-position: center;
}

.stack-float {
  position: absolute;
  left: 0;
  bottom: 10%;
  width: 45%;
  min-width: 210px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  animation: float 5s ease-in-out infinite;
  background: rgba(255, 255, 255, .45);
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .2)),
    radial-gradient(circle at 20% 20%, rgba(255, 178, 63, .14), transparent 10rem),
    radial-gradient(circle at 80% 80%, rgba(23, 197, 209, .14), transparent 10rem);
  box-shadow: 0 18px 44px rgba(23, 32, 51, .12);
  border: 1px solid rgba(23, 32, 51, .07);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  transition: transform .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .45rem .65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font-weight: 800;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: auto;
}

.videos {
  background: transparent;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  padding: 1rem;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  background: #111;
}

.video-card h3 {
  margin: 1rem 0 .3rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 1rem;
  align-items: stretch;
  padding-bottom: 3rem;
}

.contact-panel,
.contact-details {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.contact-panel {
  background:
    linear-gradient(135deg, rgba(255, 90, 143, .14), rgba(255, 178, 63, .2)),
    #fff;
}

dl {
  margin: 0;
}

.contact-details div + div {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 32, 51, .1);
}

dt {
  font-weight: 900;
}

dd {
  margin: .25rem 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 2rem 1rem;
  color: var(--muted);
}

.site-footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-16px) rotate(-2deg); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(18px, -18px, 0) rotate(18deg); }
}

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

  .hero {
    min-height: auto;
    grid-template-areas:
      "copy"
      "media";
  }

  .hero-copy {
    max-width: none;
    justify-self: stretch;
  }

  .hero-media {
    height: 380px;
    min-height: 0;
    order: 2;
    border-radius: 18px;
  }

  .hero-media img {
    min-height: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: .2rem;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.5rem);
  }

  .notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-stack {
    min-height: 360px;
  }

  .stack-main {
    width: 88%;
    height: 340px;
  }

  .stack-float {
    min-width: 170px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
