/* Frame Flow – brand tokens taken from the brand guidelines (navy, red, orange) */
:root {
  --navy: #27256a;
  --navy-deep: #1a1850;
  --red: #e8203a;
  --orange: #fbae40;
  --paper: #ffffff;
  --mist: #f3f3f9;
  --ink: #1b1a3a;
  --muted: #5d5c80;
  --line: #e1e1ee;
  --radius: 14px;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.tint { background: var(--mist); }
.section.dark { background: var(--navy); color: #fff; }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.9rem;
}
.dark .eyebrow { color: var(--orange); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 18ch; }
.section-head p { max-width: 46ch; color: var(--muted); }
.dark .section-head p { color: #c9c8ea; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy); }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo .brand-mark { width: 176px; height: 48px; object-fit: contain; flex: none; }
.logo .word { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 0.95; }
.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.55rem 0.9rem; border-radius: 999px; color: var(--navy); }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav a.cta { background: var(--red); color: #fff; }
.nav a.cta:hover { background: #c9162f; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font: 700 0.98rem var(--body); text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: #c9162f; }
.btn.orange { background: var(--orange); color: var(--navy-deep); }
.btn.ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.12); }
.btn.outline { border-color: var(--navy); color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -90px; top: -90px; width: 380px; height: 380px; border-radius: 50%; border: 46px solid var(--red); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(18deg); opacity: .95; }
.hero::after { content: ""; position: absolute; left: -60px; bottom: -80px; width: 280px; height: 220px; background: var(--red); transform: skewX(-32deg); opacity: .9; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { margin-top: 1.3rem; font-size: 1.12rem; color: #d3d2f0; max-width: 46ch; }
.hero .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-art { position: relative; aspect-ratio: 4 / 5; max-height: 520px; justify-self: center; width: 100%; max-width: 420px; }
.hero-art .frame { position: absolute; inset: 0; border: 10px solid var(--red); border-radius: 36px; background: linear-gradient(160deg, #3a37899e, #1a1850); display: grid; place-items: center; }
.hero-art .ring { width: 52%; aspect-ratio: 1; border-radius: 50%; border: 22px solid var(--orange); border-left-color: transparent; transform: rotate(-30deg); }
.hero-art .tag { position: absolute; left: -14px; bottom: 36px; background: var(--orange); color: var(--navy-deep); font-weight: 800; font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; padding: 0.55rem 1rem; border-radius: 8px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.services.three-col { grid-template-columns: repeat(3, 1fr); }
.service { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.service .dot { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 1.1rem; }
.service:nth-child(1) .dot { background: var(--red); }
.service:nth-child(2) .dot { background: var(--orange); }
.service:nth-child(3) .dot { background: var(--navy); }
.service:nth-child(4) .dot { background: var(--red); }
.service h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.service p { color: var(--muted); font-size: 0.96rem; }

/* Gallery */
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.chip { font: 600 0.92rem var(--body); padding: 0.55rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; cursor: zoom-in; background: var(--mist); display: block; width: 100%; text-align: left; }
.tile:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.05); }
.tile .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.tile .ph.a { background: linear-gradient(150deg, var(--navy), #4a47a8); }
.tile .ph.b { background: linear-gradient(150deg, var(--red), #ff6a7d); }
.tile .ph.c { background: linear-gradient(150deg, var(--orange), #ffd08a); }
.tile .ph i { width: 34%; aspect-ratio: 1; border-radius: 50%; border: 12px solid rgba(255,255,255,.85); border-left-color: transparent; transform: rotate(-30deg); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem 0.9rem; background: linear-gradient(transparent, rgba(20,18,60,.82)); color: #fff; font-weight: 600; font-size: 0.95rem; display: flex; justify-content: space-between; gap: .6rem; }
.tile .cap span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; align-self: center; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--navy-deep); color: #fff; text-align: left; display: block; width: 100%; }
.vid .thumb { position: absolute; inset: 0; background-size: cover; background-position: center; background-image: linear-gradient(140deg, var(--navy), var(--navy-deep)); }
.vid .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .2s ease; }
.vid:hover .play { transform: scale(1.1); }
.vid .play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.vid .meta { position: absolute; inset: auto 0 0 0; padding: 2rem 1.1rem 0.9rem; background: linear-gradient(transparent, rgba(20,18,60,.88)); display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.vid .meta b { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.vid .meta span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.note { margin-top: 1rem; font-size: 0.88rem; color: var(--muted); }
.dark .note { color: #c9c8ea; }

/* Lightbox + video modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(14,12,48,.92); display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.modal.open { display: flex; }
.modal .box { width: min(1000px, 100%); position: relative; max-height: calc(100vh - 2.4rem); max-height: calc(100dvh - 2.4rem); overflow-y: auto; padding-top: 3rem; }
.modal .video-frame { aspect-ratio: 16 / 9; width: 100%; max-height: 68vh; max-height: 68dvh; border: 0; border-radius: 12px; background: #000; }
.modal img.big { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 12px; }
.modal .big-ph { aspect-ratio: 4/5; max-height: 78vh; margin-inline: auto; border-radius: 12px; }
.modal .title { color: #fff; margin-top: .8rem; font-weight: 600; text-align: center; }
.modal .close { position: absolute; right: .5rem; top: .5rem; z-index: 2; background: var(--red); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.modal .drive-fallback { color: #fff; text-align: center; margin: .6rem 0; font-size: .9rem; }
.modal .drive-fallback a { color: var(--orange); }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -70px; top: -70px; width: 250px; height: 250px; border-radius: 50%; border: 34px solid var(--red); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(18deg); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; }
.page-hero p { margin-top: 1rem; color: #d3d2f0; max-width: 52ch; font-size: 1.08rem; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.split p + p { margin-top: 1rem; }
.split p { color: var(--muted); }
.about-art { aspect-ratio: 1; border-radius: 28px; background: var(--navy); position: relative; overflow: hidden; display: grid; place-items: center; }
.about-art::before { content: ""; position: absolute; inset: 22px; border: 8px solid var(--red); border-radius: 20px; }
.about-art .ring { width: 38%; aspect-ratio: 1; border-radius: 50%; border: 20px solid var(--orange); border-left-color: transparent; transform: rotate(-30deg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { counter-increment: s; padding: 1.5rem; border-radius: var(--radius); background: #ffffff14; border: 1px solid #ffffff26; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--orange); display: block; margin-bottom: .6rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { color: #c9c8ea; font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
form.card, .info.card { border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--paper); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field input, .field select, .field textarea { font: 1rem var(--body); padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px #27256a26; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; }
.info .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.info .ic svg { width: 19px; height: 19px; fill: #fff; }
.info small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.info a { text-decoration: none; font-weight: 600; word-break: break-word; }
.info a:hover { color: var(--red); }
.form-msg { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

/* CTA band + footer */
.cta-band { background: var(--red); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 2.6rem; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 20ch; }
.site-footer { background: var(--navy-deep); color: #c9c8ea; padding-block: 3rem 2rem; font-size: .93rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .logo { color: #fff; margin-bottom: .9rem; }
.site-footer h4 { color: #fff; margin: 0 0 .8rem; font-family: var(--display); font-size: 1.05rem; }
.site-footer a { text-decoration: none; display: block; padding: .15rem 0; }
.site-footer a:hover { color: var(--orange); }
.site-footer .copy { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid #ffffff22; font-size: .82rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; aspect-ratio: 1; }
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .services.three-col { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(3n+2) { aspect-ratio: 4 / 5; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: .8rem 1rem 1.2rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 1rem; }
}
@media (max-width: 600px) {
  .videos, .services, .steps, .row2, .site-footer .cols { grid-template-columns: 1fr; }
  .services.three-col { grid-template-columns: 1fr; }
  .grid { gap: .6rem; }
  .logo .word { font-size: 1.2rem; }
  .modal { align-items: center; padding: .5rem; }
  .modal .box { width: 100%; max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); padding-top: 3rem; }
  .modal .video-frame { width: 100%; height: auto; max-height: 50vh; max-height: 50dvh; }
  .modal .close { position: fixed; top: max(.5rem, env(safe-area-inset-top)); right: max(.5rem, env(safe-area-inset-right)); }
  .modal .drive-fallback { font-size: .82rem; line-height: 1.45; overflow-wrap: anywhere; }
  .hero .wrap { gap: 2.5rem; padding-block: 3rem; }
  .hero-art { width: min(100%, 260px); }
  .hero-art .tag { left: 0; bottom: 1.2rem; font-size: .68rem; }
  .tile .cap { padding: 1.8rem .7rem .7rem; font-size: .82rem; flex-wrap: wrap; }
  .tile .cap span { font-size: .62rem; }
  .vid .meta { padding: 1.6rem .8rem .7rem; flex-wrap: wrap; gap: .25rem .6rem; }
  .vid .meta b { font-size: 1rem; }
  .section-head { gap: 1rem; margin-bottom: 1.6rem; }
  .filters { gap: .45rem; }
  .chip { padding: .5rem .85rem; font-size: .84rem; }
  .cta-band .wrap { padding-block: 2rem; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 1.25rem); }
  .site-header .wrap { gap: .5rem; }
  .logo .brand-mark { width: 154px; height: 44px; }
  .menu-btn { width: 40px; height: 40px; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 2.6rem); }
  .hero .actions { gap: .6rem; }
  .btn { padding: .75rem 1rem; font-size: .9rem; }
  .contact-grid form.card,
  .contact-grid .info.card { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* 3D motion system */
:root {
  --mx: 50%;
  --my: 20%;
  --scroll-x: 0px;
  --scroll-y: 0px;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(248, 174, 64, 0.075), transparent 20rem),
    var(--paper);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: var(--header-progress, 0%);
  background: linear-gradient(90deg, var(--red), var(--orange));
  transition: width .08s linear;
}

.hero, .page-hero, .section, .cta-band {
  position: relative;
  isolation: isolate;
}

.hero .wrap {
  perspective: 1100px;
  transform-style: preserve-3d;
}

.hero h1 {
  text-shadow: 0 12px 38px rgba(10, 8, 48, .28);
  transform: translateZ(35px);
}

.hero p.lead,
.hero .actions {
  transform: translateZ(18px);
}

.hero-art {
  transform-style: preserve-3d;
  transform:
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(var(--float-x, 0), var(--float-y, 0), 0);
  transition: transform .15s linear;
  filter: drop-shadow(0 32px 34px rgba(8, 7, 42, .38));
  will-change: transform;
}

.hero-art .frame {
  overflow: hidden;
  border-color: rgba(232, 32, 58, .9);
  background:
    radial-gradient(circle at 68% 26%, rgba(251, 174, 64, .24), transparent 22%),
    linear-gradient(145deg, rgba(92, 88, 185, .78), #1a1850 68%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset -18px -24px 55px rgba(12,10,55,.42),
    0 28px 55px rgba(10,8,42,.32);
  transform: translateZ(25px) rotateY(-5deg);
  animation: frameFloat 5.4s ease-in-out infinite;
}

.hero-art .frame::before,
.hero-art .frame::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28);
  pointer-events: none;
}

.hero-art .frame::before {
  width: 82%;
  aspect-ratio: 1;
  transform: rotateX(68deg) rotateZ(12deg) translateZ(30px);
  animation: orbitSpin 9s linear infinite;
}

.hero-art .frame::after {
  width: 58%;
  aspect-ratio: 1;
  border-style: dashed;
  transform: rotateY(68deg) rotateZ(-18deg) translateZ(48px);
  animation: orbitSpin 12s linear infinite reverse;
}

.hero-art .ring {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 18px rgba(18,14,66,.38));
  box-shadow: 22px 10px 30px rgba(251,174,64,.12);
  transform: translateZ(65px) rotate(-30deg);
  animation: ringPulse 4s ease-in-out infinite;
}

.hero-art .tag {
  z-index: 5;
  transform: translateZ(95px) translateX(-8px) rotate(-4deg);
  box-shadow: 0 12px 24px rgba(12,10,55,.28);
  animation: tagFloat 3.6s ease-in-out infinite;
}

.hero::before {
  animation: decoDrift 12s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}

.hero::after {
  transform: skewX(-32deg) translate3d(var(--scroll-x), var(--scroll-y), 0);
  transition: transform .2s linear;
}

@keyframes frameFloat {
  0%, 100% { transform: translateZ(25px) rotateY(-5deg) rotateX(0deg) translateY(0); }
  50% { transform: translateZ(25px) rotateY(2deg) rotateX(-2deg) translateY(-12px); }
}

@keyframes ringPulse {
  0%, 100% { transform: translateZ(65px) rotate(-30deg) scale(.96); }
  50% { transform: translateZ(65px) rotate(-18deg) scale(1.04); }
}

@keyframes tagFloat {
  0%, 100% { transform: translateZ(95px) translateX(-8px) rotate(-4deg) translateY(0); }
  50% { transform: translateZ(95px) translateX(-8px) rotate(-2deg) translateY(-8px); }
}

@keyframes orbitSpin {
  to { transform: rotateX(68deg) rotateZ(372deg) translateZ(30px); }
}

@keyframes decoDrift {
  to { transform: rotate(34deg) translate(-18px, 12px) scale(1.06); }
}

.tilt-card,
.tile,
.vid,
.service,
.info.card,
form.card,
.about-art,
.steps li {
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform .18s cubic-bezier(.2,.75,.25,1),
    box-shadow .18s ease,
    border-color .18s ease;
}

.service:hover,
.steps li:hover,
.info.card:hover,
form.card:hover {
  box-shadow: 0 22px 45px rgba(39,37,106,.12);
  transform: perspective(900px) translateY(-5px) rotateX(1deg);
}

.tile {
  box-shadow: 0 12px 28px rgba(39,37,106,.06);
}

.tile:hover,
.vid:hover {
  box-shadow: 0 24px 45px rgba(39,37,106,.22);
}

.tile .cap,
.vid .meta,
.vid .play {
  transform: translateZ(28px);
}

.about-art {
  box-shadow: 0 28px 55px rgba(39,37,106,.22);
  overflow: hidden;
}

.about-art .ring {
  filter: drop-shadow(0 18px 20px rgba(12,10,55,.35));
  transform: rotate(-30deg) translateZ(55px);
  animation: ringPulse 5s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) perspective(900px) rotateX(5deg);
  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.18,.75,.25,1);
}

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

.modal.open .box {
  animation: modalEnter .38s cubic-bezier(.18,.75,.25,1);
}

@keyframes modalEnter {
  from { opacity: 0; transform: perspective(900px) rotateX(8deg) translateY(18px) scale(.94); }
  to { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .hero-art { transform: none !important; }
  .hero-art .frame { transform: none; animation: frameFloatMobile 5.4s ease-in-out infinite; }
  .hero-art .frame::before,
  .hero-art .frame::after { display: none; }
  .hero h1,
  .hero p.lead,
  .hero .actions { transform: none; }
  .reveal { transform: translateY(18px); }
}

@keyframes frameFloatMobile {
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .hero-art .frame,
  .hero-art .ring,
  .hero-art .tag,
  .hero::before,
  .about-art .ring,
  .modal.open .box {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 80;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #00d719;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(22, 135, 72, .38);
  border: 0;
  animation: whatsappFloat 3.2s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float svg {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 3px 5px rgba(10, 90, 45, .18));
}

.whatsapp-float:hover {
  transform: translateY(-7px) scale(1.06) rotate(-3deg);
  box-shadow: 0 18px 38px rgba(22, 135, 72, .48);
  animation-play-state: paused;
}

.whatsapp-float-label {
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: var(--navy-deep);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(26, 24, 80, .22);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label {
  opacity: 1;
  transform: translateX(0);
}

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

@media (max-width: 600px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
  }
  .whatsapp-float svg { width: 46px; height: 46px; }
  .whatsapp-float-label {
    display: none;
  }
}

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