/* =========================================================
   Miracle Events — one-page site
   Gold #F2BF6C is taken from the client's logo; the deep
   aubergine and blush echo the pastel + gold decor in their
   own event photos.
   ========================================================= */

/* Self-hosted fonts (Google Fonts, SIL Open Font License), latin subset */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}

:root {
  --brand-900: #1A0E1F;
  --brand-800: #2B1733;
  --brand-700: #8A3D5C;
  --brand-600: #B0577A;
  --brand-100: #F7E8EE;
  --brand-50: #FFFAF7;
  --accent: #F2BF6C;
  --accent-deep: #D29A45;
  --sand: #E0BCCB;
  --cream: #FFF6EE;
  --white: #FFFFFF;
  --ink: #1E1222;
  --body: #5C4A5F;
  --line: #F0DEE6;
  --wa: #0E7A40;

  --on-dark: #F7EDF0;
  --on-dark-soft: rgba(247, 237, 240, .78);
  --glass: rgba(255, 255, 255, .12);
  --glass-line: rgba(255, 255, 255, .28);
  --shade: rgba(22, 10, 26, .88);
  --shade-mid: rgba(22, 10, 26, .45);
  --shade-soft: rgba(22, 10, 26, .15);

  /* 3D lettering layers */
  --x3d-1: #EADBBD;
  --x3d-2: #D8BE8C;
  --x3d-3: #C3A266;
  --x3d-4: #A8864B;
  --x3d-5: #8A6B38;
  --x3d-6: #7A4A2A;

  --gold-foil: linear-gradient(100deg, #C8903C 0%, #F7D98F 28%, #D6A452 48%, #FCE7B0 66%, #B98135 100%);

  --serif: "Cormorant Garamond", "Didot", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  /* 1.25 type scale */
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.06rem, 1rem + .3vw, 1.25rem);
  --fs-lg: clamp(1.3rem, 1.15rem + .6vw, 1.56rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.2vw, 1.95rem);
  --fs-2xl: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(30, 18, 34, .06);
  --shadow-md: 0 12px 30px -10px rgba(30, 18, 34, .18);
  --shadow-lg: 0 30px 60px -20px rgba(30, 18, 34, .35);
  --wrap: 1200px;
  --sec: 66px;
  --head-h: 68px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

@media (min-width: 1000px) {
  :root {
    --sec: 88px;
    --head-h: 80px;
  }
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--head-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--body);
  background: var(--brand-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
}

h2 {
  font-family: var(--serif);
  font-size: var(--fs-2xl);
  letter-spacing: -.01em;
}

h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--brand-600);
}

h3 {
  font-family: var(--serif);
  font-size: var(--fs-xl);
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 32px;
  }
}

.center {
  text-align: center;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

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

.btn-gold {
  color: var(--ink);
  background: var(--gold-foil);
  background-size: 200% 100%;
  box-shadow: 0 10px 24px -8px rgba(210, 154, 69, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.btn-gold:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 30px -8px rgba(210, 154, 69, .85), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.btn-glass {
  color: var(--white);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, .2);
}

.btn-dark {
  color: var(--cream);
  background: var(--brand-900);
}

.btn-dark:hover {
  box-shadow: var(--shadow-md);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: .85rem;
}

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--head-h);
  transition: background-color .4s, box-shadow .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s;
}

.site-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--shade-mid), transparent);
  pointer-events: none;
  transition: opacity .4s;
}

.site-head.scrolled {
  background: rgba(26, 14, 31, .9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(242, 191, 108, .18), 0 10px 30px -12px rgba(0, 0, 0, .5);
}

.site-head.scrolled::before {
  opacity: 0;
}

.bar {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-end: auto;
  text-decoration: none;
  color: var(--cream);
}

.brand img {
  width: 40px;
  height: auto;
}

.brand-txt {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.05;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.nav {
  display: none;
}

.head-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.head-cta .btn {
  display: none;
}

.burger {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass);
}

.burger span {
  display: block;
  width: 20px;
  height: 1.6px;
  background: var(--cream);
  border-radius: 2px;
}

.burger span:nth-child(2) {
  width: 14px;
  margin-inline-start: auto;
}

@media (min-width: 640px) {
  .head-cta .btn {
    display: inline-flex;
  }
}

@media (min-width: 1000px) {
  .brand {
    margin-inline-end: 0;
  }

  .brand img {
    width: 46px;
  }

  .brand-txt {
    font-size: .9rem;
  }

  .nav {
    display: flex;
    gap: 30px;
  }

  .nav a {
    position: relative;
    color: var(--on-dark);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding-block: 6px;
  }

  .nav a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .35s var(--ease);
  }

  .nav a:hover::after,
  .nav a.active::after {
    transform: scaleX(1);
  }

  .nav a.active {
    color: var(--accent);
  }

  .burger {
    display: none;
  }
}

/* ---------- drawer ---------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(16, 8, 20, .6);
  opacity: 0;
  transition: opacity .4s;
}

.scrim.show {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  z-index: 150;
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  padding: 20px 28px 32px;
  background: var(--brand-900);
  color: var(--on-dark);
  transform: translateX(-100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
}

.drawer.open {
  transform: none;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dclose {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(242, 191, 108, .35);
}

.dclose svg {
  width: 22px;
  height: 22px;
}

.drawer nav {
  display: flex;
  flex-direction: column;
}

.drawer nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(242, 191, 108, .14);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
}

.drawer nav a:hover {
  color: var(--accent);
}

.drawer-foot {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .04em;
}

.drawer-foot a {
  text-decoration: none;
}

/* ---------- hero slider ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  max-height: 980px;
  overflow: hidden;
  background: var(--brand-900);
  color: var(--white);
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 170px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s ease, visibility 0s;
}

.slide picture,
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide img {
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 7.5s linear;
}

.slide.is-active img {
  transform: scale(1);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--shade) 0%, rgba(22, 10, 26, .72) 45%, rgba(22, 10, 26, .5) 70%, var(--shade-mid) 100%);
}

.slide-copy {
  position: relative;
  z-index: 2;
}

.hero.anim .slide-copy>* {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.hero.anim .slide.is-active .slide-copy>* {
  opacity: 1;
  transform: none;
}

.slide.is-active .slide-copy>*:nth-child(2) {
  transition-delay: .15s;
}

.slide.is-active .slide-copy>*:nth-child(3) {
  transition-delay: .3s;
}

.slide-title {
  display: flex;
  flex-direction: column;
  margin: 0 0 18px;
  font-weight: 400;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 1.6rem + 4.2vw, 5rem);
  line-height: 1.2;
  padding-bottom: .06em;
  margin-block: -.1em -.08em;
}

.gold {
  background: var(--gold-foil);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .45));
  animation: shine 6s ease-in-out infinite alternate;
  padding-inline-end: .08em;
}

@keyframes shine {
  to {
    background-position: 100% 0;
  }
}

.x3d {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.2rem + 5.4vw, 5.6rem);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow:
    0 1px 0 var(--x3d-1),
    0 2px 0 var(--x3d-2),
    0 3px 0 var(--x3d-3),
    0 4px 0 var(--x3d-4),
    0 5px 0 var(--x3d-5),
    0 6px 0 var(--x3d-6),
    0 8px 4px rgba(0, 0, 0, .3),
    0 16px 30px rgba(0, 0, 0, .45);
}

.x3d.huge {
  font-size: clamp(3.3rem, 1.4rem + 10vw, 9rem);
  line-height: .92;
}

.slide-sub {
  max-width: 34em;
  margin-bottom: 26px;
  font-size: var(--fs-md);
  color: var(--on-dark);
}

.slide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-ctrl {
  position: absolute;
  inset-inline: 0;
  bottom: 84px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dots button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.dots i {
  display: block;
  position: relative;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .35);
  overflow: hidden;
  transition: width .4s var(--ease);
}

.dots [aria-current="true"] i {
  width: 44px;
}

.dots i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}

.dots [aria-current="true"] i::after {
  animation: fill var(--dur, 6.5s) linear forwards;
}

.hero.paused .dots [aria-current="true"] i::after {
  animation-play-state: paused;
}

@keyframes fill {
  to {
    transform: scaleX(1);
  }
}

.arrows {
  display: none;
  gap: 10px;
}

.arr {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .3s, border-color .3s;
}

.arr:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.arr svg {
  width: 22px;
  height: 22px;
}

.arr.prev svg {
  transform: scaleX(-1);
}

@media (min-width: 768px) {
  .slide {
    align-items: center;
    padding-bottom: 40px;
  }

  .slide::after {
    background:
      linear-gradient(90deg, var(--shade) 0%, var(--shade-mid) 45%, transparent 75%),
      linear-gradient(to top, var(--shade-mid), transparent 40%);
  }

  .arrows {
    display: flex;
  }

  .hero-ctrl {
    bottom: 40px;
  }
}

/* ---------- ribbon ---------- */
.ribbon {
  overflow: hidden;
  background: var(--brand-900);
  border-block: 1px solid rgba(242, 191, 108, .25);
  padding-block: 16px;
}

.ribbon-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ribbon span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--cream);
  white-space: nowrap;
}

.ribbon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sections ---------- */
.sec {
  padding-block: var(--sec);
}

.sec-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.sec-head.center {
  margin-inline: auto;
}

.sec-head h2 {
  margin-bottom: 14px;
}

.sec-head p:last-child {
  margin: 0;
  font-size: var(--fs-md);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px !important;
  font-size: .78rem !important;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.kicker::before,
.center .kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

@media (min-width: 1000px) {
  .sec-head {
    margin-bottom: 56px;
  }
}

/* ---------- about ---------- */
.about {
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-mark {
  position: relative;
  width: min(68%, 340px);
  margin: 34px auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--white) 0%, var(--brand-100) 72%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  container-type: inline-size;
}

/* orbit track */
.about-mark::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1px dashed var(--sand);
}

/* celebration icons circling the logo */
.orbit {
  position: absolute;
  inset: 0;
  animation: spin 48s linear infinite;
}

.orbit span {
  --r: 62cqi;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px;
  transform: rotate(calc(var(--i) * 45deg)) translateY(calc(var(--r) * -1)) rotate(calc(var(--i) * -45deg));
}

.orbit svg {
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 50%;
  color: var(--brand-700);
  background: var(--white);
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line);
  animation: spin 48s linear infinite reverse;
}

.orbit span:nth-child(odd) svg {
  color: var(--ink);
  background: var(--gold-foil);
}

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

.about-mark img {
  width: 58%;
}

.about-copy h2 {
  margin-bottom: 20px;
}

.about-copy p {
  font-size: var(--fs-md);
}

.about-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.about-list b {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 5.2em;
}

@media (min-width: 640px) {
  .about-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-list li {
    flex-direction: column;
    gap: 2px;
  }
}

@media (min-width: 1000px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
  }

  .about-mark {
    width: 78%;
    max-width: 400px;
  }

  .orbit span {
    width: 54px;
    height: 54px;
    margin: -27px;
  }
}

/* ---------- occasions ---------- */
.occ {
  position: relative;
  background:
    radial-gradient(900px 480px at 15% -5%, rgba(242, 191, 108, .16), transparent 60%),
    radial-gradient(900px 520px at 95% 105%, rgba(176, 87, 122, .22), transparent 60%),
    var(--brand-900);
  color: var(--on-dark-soft);
}

.occ h2,
.occ h3 {
  color: var(--cream);
}

.occ h2 em {
  color: var(--accent);
}

.occ .kicker {
  color: var(--accent);
}

.occ-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.occ-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid rgba(242, 191, 108, .16);
  transition: transform .45s var(--ease), border-color .45s, background-color .45s;
  overflow: hidden;
}

.occ-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: var(--gold-foil);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.occ-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 191, 108, .45);
}

.occ-card:hover::before {
  transform: scaleX(1);
}

/* mobile: cards stick and stack on top of each other while scrolling */
@media (max-width: 639px) {
  .occ-grid {
    gap: 22px;
    padding-bottom: 8px;
  }

  .occ-card {
    position: sticky;
    top: calc(var(--head-h) + 18px + var(--n, 0) * 10px);
    min-height: 210px;
    background:
      linear-gradient(160deg, rgba(242, 191, 108, .1), rgba(176, 87, 122, .08)),
      var(--brand-800);
    box-shadow: 0 -12px 30px -12px rgba(0, 0, 0, .55);
    transform-origin: center top;
    will-change: transform;
  }

  .occ-card:hover {
    transform: none;
  }
}

.occ-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--accent);
}

.occ-card h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.occ-card p {
  margin: 0;
  font-size: .96rem;
}

@media (min-width: 640px) {
  .occ-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1000px) {
  .occ-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- services (arch cards) ---------- */
.svc-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 300px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: -20px;
  padding: 8px 20px 20px;
  scrollbar-width: none;
}

.svc-grid::-webkit-scrollbar {
  display: none;
}

.svc-grid .svc-card {
  scroll-snap-align: center;
}

.svc-card {
  position: relative;
  text-align: center;
}

.arch {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  margin: 0 auto 24px;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.arch::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 999px 999px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  pointer-events: none;
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.svc-card:hover .arch img {
  transform: scale(1.07);
}

.svc-no {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brand-600);
  margin-bottom: 4px;
}

.svc-card h3 {
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.svc-card p {
  max-width: 30em;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .svc-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 32px;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }

  .svc-card:nth-child(3n+2) {
    margin-top: 48px;
  }
}

.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 0;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-700);
}

@media (min-width: 768px) {
  .swipe-hint {
    display: none;
  }
}

/* ---------- clients ---------- */
.clients {
  background: var(--brand-100);
  overflow: hidden;
}

.marquee {
  display: grid;
  gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee-row.rev .marquee-track {
  animation-direction: reverse;
  animation-duration: 52s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee ul {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--brand-50);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.marquee.logos li {
  height: 96px;
  min-width: 150px;
  padding: 14px 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  justify-content: center;
}

.marquee.logos li::before {
  display: none;
}

.marquee.logos img {
  width: auto;
  height: auto;
  max-height: 64px;
  max-width: 170px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .marquee.logos li {
    height: 112px;
    min-width: 180px;
  }

  .marquee.logos img {
    max-height: 76px;
    max-width: 200px;
  }
}

.marquee li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-foil);
  box-shadow: 0 0 0 4px rgba(242, 191, 108, .2);
}

/* ---------- seasonal ---------- */
.seasonal {
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(242, 191, 108, .14), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(176, 87, 122, .2), transparent 60%),
    var(--brand-900);
  color: var(--on-dark-soft);
}

.seasonal .sec-head h2 {
  color: var(--cream);
}

.seasonal .sec-head h2 em,
.seasonal .kicker {
  color: var(--accent);
}

.sea-grid {
  list-style: none;
  margin: 0 -20px;
  padding: 8px 20px 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 280px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.sea-grid::-webkit-scrollbar {
  display: none;
}

.sea-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(242, 191, 108, .2);
  isolation: isolate;
}

.sea-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.sea-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--shade) 8%, var(--shade-mid) 45%, transparent 75%);
}

.sea-card:hover img {
  transform: scale(1.07);
}

.sea-copy {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
}

.sea-copy h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.sea-copy p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.5;
  color: var(--on-dark);
}

.seasonal .more {
  margin-top: 28px;
}

@media (min-width: 768px) {
  .sea-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

/* ---------- team ---------- */
.team-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 12px;
}

.member {
  text-align: center;
}

.member-photo {
  position: relative;
  width: min(100%, 120px);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gold-foil);
  box-shadow: var(--shadow-md);
}

.member-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--brand-50);
  object-fit: cover;
  object-position: center 18%;
  transition: transform .8s var(--ease);
}

.member:hover .member-photo img {
  transform: scale(1.04);
}

.member h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.member p {
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--brand-700);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 32px 20px;
  }

  .member-photo {
    width: min(100%, 140px);
  }

  .member h3 {
    font-size: 1.3rem;
  }

  .member p {
    font-size: .72rem;
  }
}

/* ---------- banner ---------- */
.banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding-block: 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-900);
}

.banner picture,
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.banner img {
  object-fit: cover;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--shade) 5%, var(--shade-mid) 55%, var(--shade-soft));
}

.banner-copy {
  position: relative;
  z-index: 2;
}

.banner h2 {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  color: var(--white);
}

.banner .x3d {
  font-size: clamp(2rem, 1rem + 5vw, 5rem);
}

.banner p:not(.eyebrow) {
  max-width: 32em;
  margin-bottom: 26px;
  font-size: var(--fs-md);
  color: var(--on-dark);
}

@media (min-width: 768px) {
  .banner {
    min-height: 620px;
    align-items: center;
  }

  .banner::after {
    background: linear-gradient(90deg, var(--shade) 0%, var(--shade-mid) 50%, transparent 85%);
  }
}

/* ---------- our work ---------- */
.work {
  background: var(--brand-100);
}

.gal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gal figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--brand-800);
  aspect-ratio: 1;
}

.gal .g-tall {
  grid-column: span 2;
  aspect-ratio: 4 / 5;
}

.g-open {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1s var(--ease);
}

.gal .g-tall img {
  object-position: center;
}

.gal .g-tall:first-child img {
  object-position: center 72%;
}


.gal figure:hover img {
  transform: scale(1.06);
}

.gal figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 36px 14px 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--white);
  background: linear-gradient(to top, var(--shade), transparent);
  pointer-events: none;
}

.more {
  margin: 36px 0 0;
}

@media (min-width: 768px) {
  .gal {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    grid-auto-flow: dense;
    gap: 18px;
  }

  .gal figure {
    aspect-ratio: auto;
  }

  .gal .g-tall {
    grid-column: auto;
    grid-row: span 2;
    aspect-ratio: auto;
  }

  .gal figcaption {
    font-size: 1.3rem;
    padding: 50px 20px 16px;
  }
}

@media (min-width: 1000px) {
  .gal {
    grid-auto-rows: 300px;
  }
}

/* ---------- process ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: s;
}

.steps li {
  position: relative;
  padding: 32px 26px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step-no {
  display: block;
  font-family: var(--serif);
  font-size: 4.2rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1;
  padding-bottom: .08em;
  margin-bottom: 8px;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 64px;
    inset-inline-end: -24px;
    width: 24px;
    height: 1px;
    background: var(--sand);
  }
}

/* ---------- faq ---------- */
.faq {
  padding-top: 0;
}

.faq-wrap {
  display: grid;
  gap: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq summary {
  position: relative;
  list-style: none;
  padding: 20px 56px 20px 22px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 22px;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-600);
  transition: rotate .3s var(--ease);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  margin: 0;
  padding: 0 22px 22px;
}

.faq details a {
  color: var(--brand-700);
  font-weight: 600;
}

@media (min-width: 1000px) {
  .faq-wrap {
    grid-template-columns: 4fr 7fr;
    gap: 64px;
    align-items: start;
  }
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  padding-block: calc(var(--sec) + 16px);
  overflow: hidden;
  background: var(--brand-900);
  color: var(--on-dark-soft);
}

.contact-bg,
.contact-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-bg img {
  object-fit: cover;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(26, 14, 31, .82), rgba(26, 14, 31, .94));
}

.contact-in {
  position: relative;
  z-index: 2;
}

.sec-head.light h2 {
  color: var(--cream);
}

.sec-head.light h2 em,
.sec-head.light .kicker {
  color: var(--accent);
}

.sec-head.light p:last-child {
  color: var(--on-dark);
}

.cards {
  display: grid;
  gap: 14px;
  max-width: 1000px;
  margin-inline: auto;
}

.card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "ic t" "ic v" "ic go";
  column-gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--cream);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(242, 191, 108, .22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, .1);
}

.card-ic {
  grid-area: ic;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-foil);
  color: var(--ink);
}

.card-ic svg {
  width: 26px;
  height: 26px;
}

.card-t {
  grid-area: t;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-v {
  font-variant-numeric: lining-nums;
  grid-area: v;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
}

.card-go {
  grid-area: go;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: var(--on-dark-soft);
}

.card-go svg {
  width: 16px;
  height: 16px;
  transition: transform .3s var(--ease);
}

.card:hover .card-go svg {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .card {
    grid-template-columns: 1fr;
    grid-template-areas: "ic" "t" "v" "go";
    row-gap: 6px;
    justify-items: center;
    text-align: center;
    padding: 34px 22px;
  }

  .card-ic {
    margin-bottom: 12px;
  }
}

/* ---------- find us + map ---------- */
.find {
  display: grid;
  gap: 18px;
  max-width: 1000px;
  margin: 18px auto 0;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(242, 191, 108, .22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.find-copy {
  padding: 8px 6px 4px;
}

.find-copy .card-t {
  display: block;
  margin-bottom: 6px;
}

.find h3 {
  color: var(--cream);
  font-size: 2rem;
  margin-bottom: 6px;
}

.find address {
  font-style: normal;
  color: var(--on-dark);
  margin-bottom: 14px;
}

.find-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  margin-bottom: 22px;
}

.find-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent);
}

.map {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-800);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .find {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 28px;
    padding: 22px;
  }

  .find-copy {
    padding: 12px 16px;
  }

  .map {
    min-height: 360px;
  }
}

/* ---------- footer ---------- */
.foot {
  background: var(--brand-900);
  color: var(--on-dark-soft);
  border-top: 1px solid rgba(242, 191, 108, .18);
  padding-block: 56px 110px;
  font-size: .95rem;
}

.foot-grid {
  display: grid;
  gap: 32px;
}

.foot-brand img {
  width: 52px;
  height: auto;
  margin-bottom: 12px;
}

.foot-name {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
}

.foot-tag {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
}

.foot-nav,
.foot-contact {
  display: grid;
  gap: 8px;
  align-content: start;
}

.foot a {
  text-decoration: none;
  transition: color .3s;
}

.foot a:hover {
  color: var(--accent);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 191, 108, .12);
  font-size: .85rem;
}

.foot-base p {
  margin: 0;
}

@media (min-width: 768px) {
  .foot {
    padding-bottom: 56px;
  }

  .foot-grid {
    grid-template-columns: 2fr 1fr 1.4fr;
  }
}

/* ---------- floating + sticky CTAs ---------- */
.fab {
  display: none;
}

@media (min-width: 768px) {
  .fab {
    position: fixed;
    inset-inline-end: 24px;
    bottom: 24px;
    z-index: 90;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--wa);
    color: var(--white);
    box-shadow: 0 14px 30px -8px rgba(18, 140, 74, .6);
    transition: transform .3s var(--ease);
  }

  .fab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--wa);
    animation: ping 2.4s ease-out infinite;
  }

  .fab:hover {
    transform: scale(1.08);
  }

  .fab svg {
    width: 32px;
    height: 32px;
  }
}

@keyframes ping {
  from {
    transform: scale(1);
    opacity: .7;
  }

  to {
    transform: scale(1.6);
    opacity: 0;
  }
}

.mbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(26, 14, 31, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(242, 191, 108, .25);
}

.mbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
}

.mbar svg {
  width: 20px;
  height: 20px;
}

.mbar-call {
  color: var(--ink);
  background: var(--gold-foil);
}

.mbar-wa {
  color: var(--white);
  background: var(--wa);
}

@media (min-width: 768px) {
  .mbar {
    display: none;
  }
}

/* ---------- lightbox ---------- */
.lb {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(18, 9, 22, .95);
  color: var(--cream);
}

.lb[open] {
  display: grid;
  place-items: center;
}

.lb::backdrop {
  background: rgba(18, 9, 22, .8);
}

.lb figure {
  margin: 0;
  padding: 70px 16px;
  text-align: center;
}

.lb img {
  max-width: min(92vw, 900px);
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lb figcaption {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
}

.lb-x,
.lb-nav {
  position: absolute;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-line);
}

.lb-x:hover,
.lb-nav:hover {
  background: var(--accent);
  color: var(--ink);
}

.lb-x svg,
.lb-nav svg {
  width: 22px;
  height: 22px;
}

.lb-x {
  top: 16px;
  inset-inline-end: 16px;
}

.lb-nav {
  top: 50%;
  translate: 0 -50%;
  inset-inline-end: 12px;
}

.lb-nav.prev {
  inset-inline: 12px auto;
}

.lb-nav.prev svg {
  transform: scaleX(-1);
}

/* ---------- reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .ribbon-track {
    animation: none;
  }
}
