:root {
  --bg: #f6f2eb;
  --paper: #ffffff;
  --ink: #10203d;
  --muted: #697485;
  --line: #dfe3ea;
  --navy: #10203d;
  --blue: #203b61;
  --gold: #c3a46a;
  --gold-soft: #f1e4c7;
  --clay: #b98668;
  --mist: #e8eef5;
  --shadow: 0 24px 70px rgba(16, 32, 61, 0.12);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(195, 164, 106, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(32, 59, 97, 0.12), transparent 26rem),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 46%, #eef3f8 100%);
  color: var(--ink);
  font-family: var(--font-body);
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
strong,
label,
button,
a,
li,
dd,
dt {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(195, 164, 106, 0.38);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid rgba(223, 227, 234, 0.55);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(223, 227, 234, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(16, 32, 61, 0.08);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 168px;
  max-height: 58px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  position: relative;
  color: #5f6877;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(16, 32, 61, 0.18);
  color: #ffffff;
  padding: 12px 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nav .nav-cta::after {
  position: static;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  opacity: 1;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.nav .nav-cta:hover {
  background: #15294b;
  box-shadow: 0 18px 42px rgba(16, 32, 61, 0.24);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav .nav-cta:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 32, 61, 0.1);
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 150px 0 82px;
  border-bottom: 1px solid rgba(223, 227, 234, 0.9);
  background:
    linear-gradient(rgba(16, 32, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 61, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 24%, rgba(195, 164, 106, 0.22), transparent 23rem),
    radial-gradient(circle at 8% 78%, rgba(32, 59, 97, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 248, 242, 0.94) 52%, rgba(233, 239, 246, 0.94) 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

.hero::before {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 72px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(195, 164, 106, 0.34);
  border-radius: 50%;
  content: "";
  animation: float-soft 8s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 232px);
  align-items: center;
  gap: 76px;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.76fr);
}

.eyebrow,
.tag {
  color: #8b7045;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(195, 164, 106, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 9px 14px;
  animation: fade-up 0.65s ease both;
}

.hero h1,
.section h2,
.cta-band h2 {
  font-family: var(--font-display);
}

.hero h1 {
  margin: 20px 0 0;
  max-width: 760px;
  font-size: clamp(4.6rem, 9vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: 0;
  animation: fade-up 0.7s ease 0.08s both;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-lines {
  display: grid;
  gap: 4px;
  margin: 28px 0 0;
  color: var(--blue);
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  font-weight: 800;
  line-height: 1.18;
  animation: fade-up 0.7s ease 0.16s both;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.78;
  animation: fade-up 0.7s ease 0.24s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: fade-up 0.7s ease 0.32s both;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  animation: fade-up 0.7s ease 0.38s both;
}

.hero-proof span {
  border: 1px solid rgba(16, 32, 61, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue);
  padding: 9px 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  overflow: hidden;
  padding: 0 22px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.button::after,
.project-open::after,
.reel-expand::after,
.modal-link::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.button[href^="#"]::after {
  transform: rotate(135deg);
}

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

.button:hover::after,
.project-open:hover::after,
.reel-expand:hover::after,
.modal-link:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.button[href^="#"]:hover::after {
  transform: translateY(3px) rotate(135deg);
}

.button.primary {
  border: 1px solid rgba(16, 32, 61, 0.1);
  background: var(--navy);
  box-shadow: 0 16px 36px rgba(16, 32, 61, 0.22);
  color: #ffffff;
}

.button.primary:hover {
  background: #15294b;
  box-shadow: 0 22px 48px rgba(16, 32, 61, 0.28);
}

.button.secondary {
  border: 1px solid rgba(16, 32, 61, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(195, 164, 106, 0.42);
  background: #ffffff;
}

.button.light {
  background: #ffffff;
  color: var(--ink);
}

.button.ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.hero-visual {
  position: relative;
  min-height: 530px;
  animation: fade-scale 0.7s ease 0.18s both;
}

.logo-showcase {
  display: grid;
  min-height: 500px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(195, 164, 106, 0.72), rgba(32, 59, 97, 0.2)) border-box;
  box-shadow: var(--shadow);
  padding: 42px;
}

.logo-showcase img {
  width: min(390px, 100%);
}

.visual-note {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 168px;
  border: 1px solid rgba(223, 227, 234, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(16, 32, 61, 0.12);
  padding: 14px;
  backdrop-filter: blur(14px);
}

.visual-note span,
.service-card span,
.process-grid span {
  color: #9b7a42;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.visual-note strong {
  font-size: 0.95rem;
}

.note-one {
  top: 28px;
  left: -26px;
}

.note-two {
  right: -18px;
  bottom: 118px;
}

.note-three {
  bottom: 26px;
  left: 44px;
}

.specialties {
  overflow: hidden;
  border-block: 1px solid rgba(223, 227, 234, 0.9);
  background: #ffffff;
  padding: 17px 0;
}

.specialties-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding-right: 34px;
  will-change: transform;
  animation: marquee 28s linear infinite;
}

.specialties span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section {
  padding: 96px 0;
}

.two-column,
.contact-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.section h2 {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.rich-text p,
.section-head p,
.portfolio-head p,
.contact p,
.service-card p,
.project-body p,
.reel-card p,
.process-grid p,
.cta-band p,
.lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.rich-text p {
  margin-top: 4px;
}

.pill-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.pill-grid span {
  border: 1px solid rgba(223, 227, 234, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(16, 32, 61, 0.06);
  padding: 14px 16px;
  font-weight: 900;
}

.services,
.reels {
  background:
    radial-gradient(circle at 86% 12%, rgba(195, 164, 106, 0.17), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(239, 244, 249, 0.82));
  border-block: 1px solid rgba(223, 227, 234, 0.9);
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  max-width: 820px;
}

.section-head.centered {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

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

.service-card,
.project-card,
.reel-card,
.process-grid article,
.contact-form {
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(16, 32, 61, 0.08);
}

.service-card {
  position: relative;
  min-height: 322px;
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(195, 164, 106, 0.44);
  border-radius: 50%;
  content: "";
}

.service-preview {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.56), transparent 4rem),
    linear-gradient(145deg, #10203d, #c3a46a);
}

.service-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #07101d;
  margin-bottom: 20px;
  object-fit: cover;
}

.service-preview span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.service-preview span:first-child {
  inset: 20px auto auto 20px;
  width: 34px;
  height: 34px;
}

.service-preview span:last-child {
  right: 18px;
  bottom: 20px;
  width: 48%;
  height: 8px;
}

.video-preview {
  aspect-ratio: 16 / 8;
  background: linear-gradient(145deg, #07101d, #203b61 58%, #b4955d);
}

.content-preview {
  background: linear-gradient(145deg, #ffffff, #e8eef5 52%, #c3a46a);
}

.design-preview {
  background: linear-gradient(145deg, #b98668, #f4dfcf 58%, #10203d);
}

.identity-preview {
  background: linear-gradient(145deg, #10203d, #ffffff 50%, #c3a46a);
}

.event-preview {
  background: linear-gradient(145deg, #203b61, #d8e0ea 58%, #b98668);
}

.service-card:hover,
.project-card:hover,
.reel-card:hover {
  border-color: rgba(195, 164, 106, 0.46);
  box-shadow: 0 26px 70px rgba(16, 32, 61, 0.13);
  transform: translateY(-5px);
}

.service-card h3,
.project-body h3,
.reel-card h3,
.process-grid h3 {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.16;
}

.portfolio-head {
  display: grid;
  align-items: end;
  gap: 28px;
  grid-template-columns: 1fr 0.78fr;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 32px;
}

.filter-button {
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.filter-button.active {
  background: var(--navy);
  box-shadow: 0 14px 32px rgba(16, 32, 61, 0.18);
  color: #ffffff;
}

.filter-button:hover {
  border-color: rgba(195, 164, 106, 0.42);
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-1px);
}

.filter-button.active:hover {
  background: #15294b;
  color: #ffffff;
}

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

.project-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.project-media-button,
.reel-placeholder-button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.portfolio-media {
  position: relative;
  display: grid;
  min-height: 250px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.28), transparent 7rem),
    linear-gradient(145deg, #142849, #d8e0ea);
}

.portfolio-media span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.portfolio-media span:nth-child(1) {
  width: 58%;
  aspect-ratio: 1;
}

.portfolio-media span:nth-child(2) {
  width: 34%;
  aspect-ratio: 1;
  transform: translate(32%, -18%);
}

.portfolio-media span:nth-child(3) {
  width: 72%;
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
  transform: rotate(-12deg);
}

.portfolio-media.gold {
  background: linear-gradient(145deg, #c3a46a, #f1e4c7 56%, #203b61);
}

.portfolio-media.clay {
  background: linear-gradient(145deg, #b98668, #f4dfcf 58%, #10203d);
}

.portfolio-media.mist {
  background: linear-gradient(145deg, #ffffff, #e8eef5 58%, #91a2b8);
}

.portfolio-media.navy {
  background: linear-gradient(145deg, #07101d, #203b61 62%, #c3a46a);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.project-media-button:hover img,
.reel-placeholder-button:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.035);
}

.project-body {
  padding: 20px;
}

.project-body span {
  color: #8b7045;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-specs {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.project-specs span {
  border-left: 2px solid rgba(195, 164, 106, 0.72);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  padding-left: 10px;
  text-transform: none;
}

.project-open {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  margin-top: 18px;
  padding: 10px 13px;
  font-size: 0.84rem;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.project-open:hover {
  border-color: rgba(195, 164, 106, 0.48);
  background: #fffaf1;
  box-shadow: 0 12px 28px rgba(16, 32, 61, 0.1);
  transform: translateY(-1px);
}

.authority {
  background:
    radial-gradient(circle at 12% 16%, rgba(32, 59, 97, 0.1), transparent 18rem),
    #ffffff;
  border-block: 1px solid rgba(223, 227, 234, 0.9);
}

.logo-cloud {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-cloud span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px dashed rgba(16, 32, 61, 0.16);
  border-radius: 8px;
  background: rgba(246, 242, 235, 0.62);
  color: rgba(16, 32, 61, 0.42);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-cloud figure {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(16, 32, 61, 0.06);
  margin: 0;
  padding: 18px;
}

.logo-cloud img {
  max-width: 150px;
  max-height: 64px;
  object-fit: contain;
}

.testimonial-shell {
  margin-top: 18px;
}

.testimonial-empty {
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(195, 164, 106, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(16, 32, 61, 0.07);
  padding: 26px;
}

.testimonial-empty span {
  color: #8b7045;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.testimonial-empty h3 {
  margin: 10px 0 0;
  font-size: 1.38rem;
}

.testimonial-empty p,
.results-empty span {
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-shell {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(16, 32, 61, 0.07);
  padding: 22px;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(145deg, #10203d, #c3a46a);
  object-fit: cover;
}

.testimonial-card p {
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}

.testimonial-card strong {
  font-size: 1rem;
}

.testimonial-card span {
  color: #8b7045;
  font-size: 0.82rem;
  font-weight: 900;
}

.results {
  background:
    linear-gradient(rgba(16, 32, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 61, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf9, #f6f2eb);
  background-size: 44px 44px, 44px 44px, auto;
}

.results-grid {
  display: grid;
  align-items: center;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.results-empty {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(16, 32, 61, 0.07);
  margin-top: 22px;
  padding: 20px;
}

.metrics-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.metrics-grid.is-empty {
  display: block;
}

.metric-card {
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(16, 32, 61, 0.07);
  padding: 20px;
}

.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
}

.metric-card span {
  display: block;
  color: #8b7045;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-top: 8px;
  text-transform: uppercase;
}

.metric-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 0;
}

.results-empty strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}

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

.reel-card {
  padding: 12px 12px 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.reel-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #07101d;
}

.reel-frame .portfolio-media,
.reel-frame .reel-placeholder-button,
.reel-frame .reel-placeholder-button img,
.reel-frame iframe,
.reel-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  min-height: 0;
  border: 0;
  object-fit: cover;
}

.reel-frame iframe {
  background: #07101d;
}

.reel-frame video {
  background: #07101d;
}

.reel-expand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
  margin: 2px 4px 0;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.reel-expand:hover {
  border-color: rgba(195, 164, 106, 0.48);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 32, 61, 0.1);
  color: var(--ink);
  transform: translateY(-1px);
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(7, 16, 29, 0.24);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.play-badge::after {
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-left: 10px solid currentColor;
  content: "";
  margin-left: 2px;
}

.play-badge {
  font-size: 0;
}

.reel-placeholder-button:hover .play-badge {
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(7, 16, 29, 0.3);
  transform: translate(-50%, -50%) scale(1.05);
}

.reel-card h3,
.reel-card p {
  padding-inline: 4px;
}

.process-grid {
  position: relative;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-grid::before {
  position: absolute;
  top: 34px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(195, 164, 106, 0.72), transparent);
  content: "";
}

.process-grid article {
  position: relative;
  padding: 22px;
}

.cta-band {
  padding: 76px 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(195, 164, 106, 0.3), transparent 18rem),
    linear-gradient(135deg, #10203d, #203b61);
  color: #ffffff;
}

.cta-inner {
  display: grid;
  align-items: center;
  gap: 28px;
  grid-template-columns: 1fr auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cta-band h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.cta-band p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  align-items: start;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-links a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  padding: 11px 15px;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.contact-links a::after,
.footer-social a::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.contact-links a:hover,
.footer-social a:hover {
  border-color: rgba(195, 164, 106, 0.48);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 32, 61, 0.09);
  color: var(--ink);
  transform: translateY(-1px);
}

.contact-links a:hover::after,
.footer-social a:hover::after {
  transform: translateX(3px) rotate(45deg);
}

[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.46;
}

.contact-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
}

.contact-form label,
.field {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #2d3c53;
  font-size: 0.9rem;
  font-weight: 900;
}

.field small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(16, 32, 61, 0.13);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
}

.contact-form textarea,
.field textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(195, 164, 106, 0.85);
  box-shadow: 0 0 0 4px rgba(195, 164, 106, 0.16);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: #8b7045;
  font-weight: 800;
}

.form-note.is-error {
  color: #9d2f25;
}

.site-footer {
  border-top: 1px solid rgba(223, 227, 234, 0.9);
  background: #ffffff;
  padding: 40px 0 22px;
}

.footer-grid {
  display: grid;
  align-items: center;
  gap: 24px;
  grid-template-columns: 1fr auto auto;
}

.footer-grid img {
  width: 170px;
}

.footer-grid p,
.copyright {
  color: var(--muted);
}

.footer-grid nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-grid nav a {
  color: #5f6877;
  font-weight: 800;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto 0;
  border-top: 1px solid rgba(223, 227, 234, 0.9);
  padding-top: 18px;
  font-size: 0.9rem;
}

.admin-discreet-link {
  opacity: 0.18;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  grid-template-columns: 34px auto;
  align-items: center;
  column-gap: 10px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(16, 32, 61, 0.22);
  color: #ffffff;
  padding: 10px 16px 10px 11px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.whatsapp-float::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  content: "↗";
  font-size: 1rem;
  font-weight: 900;
}

.whatsapp-float:hover {
  background: #15294b;
  box-shadow: 0 22px 54px rgba(16, 32, 61, 0.28);
  transform: translateY(-2px);
}

.whatsapp-float span {
  grid-column: 2;
  font-size: 0.68rem;
  opacity: 0.82;
}

.whatsapp-float strong {
  grid-column: 2;
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 32, 61, 0.72);
}

.modal.open {
  display: flex;
  animation: fade-in 0.18s ease both;
}

.modal-content {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 22px;
  animation: fade-scale 0.2s ease both;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.3rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-close:hover {
  border-color: rgba(195, 164, 106, 0.48);
  box-shadow: 0 12px 28px rgba(16, 32, 61, 0.12);
  transform: rotate(8deg) scale(1.04);
}

.modal-media {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.modal-media iframe,
.modal-media img,
.modal-media video {
  display: block;
  width: 100%;
  min-height: 410px;
  border: 0;
  object-fit: cover;
}

.modal-media video {
  max-height: 76vh;
  background: #07101d;
}

.video-fallback {
  display: grid;
  align-content: center;
  min-height: 320px;
  place-items: center;
  gap: 12px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.15) 0 44px, transparent 45px),
    linear-gradient(145deg, #07101d 0%, #132f55 58%, #b4955d 100%);
  color: #ffffff;
  padding: 24px;
  text-align: center;
}

.reel-frame .video-fallback {
  aspect-ratio: 9 / 16;
  min-height: 0;
}

.video-fallback p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.video-fallback a {
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 15px;
  font-weight: 900;
  text-decoration: none;
}

.modal-media .portfolio-media {
  min-height: 380px;
}

.modal-content h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.modal-link {
  display: none;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(16, 32, 61, 0.18);
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.modal-link.visible {
  display: inline-flex;
}

.modal-link:hover {
  background: #15294b;
  box-shadow: 0 18px 42px rgba(16, 32, 61, 0.24);
  transform: translateY(-1px);
}

.case-details {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.case-details:empty {
  display: none;
}

.case-details dt {
  color: #8b7045;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-details dd {
  margin: -6px 0 8px;
  color: var(--muted);
  line-height: 1.65;
}

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

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

.admin-page {
  min-height: 100vh;
  padding-top: 78px;
  background:
    radial-gradient(circle at 16% 8%, rgba(195, 164, 106, 0.18), transparent 22rem),
    radial-gradient(circle at 88% 22%, rgba(32, 59, 97, 0.16), transparent 26rem),
    linear-gradient(180deg, #fbfaf8 0%, #f1ede5 46%, #eaf0f7 100%);
}

.admin-main {
  padding: 38px 0 76px;
}

.login-wrap {
  display: grid;
  min-height: calc(100vh - 154px);
  place-items: center;
  padding: 24px 20px;
}

.login-wrap[hidden],
.admin-area[hidden],
[hidden] {
  display: none !important;
}

.login-shell {
  display: grid;
  width: min(960px, 100%);
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.login-visual {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 520px;
  background:
    radial-gradient(circle at 20% 16%, rgba(241, 228, 199, 0.26), transparent 11rem),
    linear-gradient(145deg, #10203d, #203b61);
  color: #ffffff;
  padding: 42px;
}

.login-visual img {
  width: min(260px, 100%);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  padding: 18px;
}

.login-visual span {
  width: fit-content;
  border: 1px solid rgba(241, 228, 199, 0.44);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--gold-soft);
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-visual strong {
  max-width: 390px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.login-card,
.admin-card {
  background: rgba(255, 255, 255, 0.92);
}

.login-card {
  display: grid;
  align-content: center;
  padding: 44px;
}

.login-card h1,
.admin-top h1,
.admin-card h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.login-card p,
.admin-top p,
.admin-card p {
  color: var(--muted);
  line-height: 1.7;
}

.admin-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.upload-field {
  display: grid;
  gap: 10px;
  border: 1px dashed rgba(16, 32, 61, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 241, 232, 0.78)),
    radial-gradient(circle at 92% 12%, rgba(195, 164, 106, 0.18), transparent 9rem);
  color: var(--ink);
  cursor: pointer;
  padding: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.upload-field:hover {
  border-color: rgba(195, 164, 106, 0.85);
  box-shadow: 0 14px 34px rgba(16, 32, 61, 0.12);
  transform: translateY(-1px);
}

.upload-field span {
  color: #8b7045;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upload-field strong {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 900;
}

.upload-field input {
  width: 100%;
  color: var(--muted);
  font-weight: 800;
}

.upload-field input::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(16, 32, 61, 0.14);
  color: var(--ink);
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 900;
}

.upload-field small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
}

.admin-button {
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 16px 36px rgba(16, 32, 61, 0.2);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 900;
}

.login-error,
[data-content-message],
[data-links-message],
[data-project-message],
[data-admin-message] {
  min-height: 22px;
  margin: 0;
  color: #8b7045;
  font-size: 0.9rem;
  font-weight: 900;
}

.login-error.is-error,
[data-content-message].is-error,
[data-links-message].is-error,
[data-project-message].is-error,
[data-admin-message].is-error {
  color: #9d2f25;
}

.admin-hero,
.admin-card {
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(195, 164, 106, 0.2), transparent 14rem),
    rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
  padding: 28px;
}

.admin-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-top h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.admin-actions,
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-secondary-button,
.delete-button,
.admin-tab {
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 900;
}

.admin-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-stats article {
  border: 1px solid rgba(223, 227, 234, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.admin-stats span {
  color: #8b7045;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 2.1rem;
  line-height: 1;
}

.admin-stats p {
  margin: 5px 0 0;
  font-size: 0.88rem;
}

.admin-tabs {
  position: sticky;
  top: 88px;
  z-index: 10;
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(16, 32, 61, 0.08);
  margin-bottom: 22px;
  padding: 6px;
  backdrop-filter: blur(14px);
}

.admin-tab.active {
  background: var(--navy);
  color: #ffffff;
}

.admin-card {
  padding: 28px;
}

.admin-card-head {
  border-bottom: 1px solid rgba(223, 227, 234, 0.86);
  margin-bottom: 22px;
  padding-bottom: 18px;
}

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

.admin-form-wide .field:has(textarea),
.admin-form-wide .admin-button,
.admin-form-wide p {
  grid-column: 1 / -1;
}

.admin-panel {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.9fr 1.1fr;
}

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

.video-admin-list,
.project-admin-list,
.lead-admin-list,
.section-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.video-admin-list > p,
.project-admin-list > p,
.lead-admin-list > p,
.section-admin-list > p {
  border: 1px dashed rgba(16, 32, 61, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  margin: 0;
  padding: 18px;
  text-align: center;
}

.video-admin-item,
.project-admin-item,
.lead-admin-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.lead-admin-item {
  display: grid;
  gap: 12px;
}

.lead-admin-item strong,
.lead-admin-item span {
  display: block;
}

.lead-admin-item span {
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: break-word;
}

.lead-admin-item p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: break-word;
}

.lead-admin-item select {
  width: fit-content;
  border: 1px solid rgba(16, 32, 61, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 900;
}

.project-admin-item {
  align-items: center;
}

.project-admin-preview {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 255, 255, 0.3), transparent 3rem),
    linear-gradient(145deg, #10203d, #c3a46a);
}

.project-admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.video-admin-item strong,
.video-admin-item span,
.project-admin-item strong,
.project-admin-item span {
  display: block;
}

.video-admin-item span,
.project-admin-item span {
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: break-word;
}

.delete-button:disabled,
.admin-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-scale {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-25%, 0, 0);
  }
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 78px 14px auto;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(223, 227, 234, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.open,
  .nav.open-desktop {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 13px 12px;
  }

  .nav a::after {
    content: none;
  }

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

  .hero-grid,
  .two-column,
  .portfolio-head,
  .contact-grid,
  .cta-inner,
  .admin-panel,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .logo-showcase {
    min-height: 360px;
  }

  .visual-note {
    position: static;
    margin-top: 10px;
  }

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

  .process-grid,
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .logo-cloud,
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-top {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-logo {
    width: 132px;
  }

  .nav {
    inset: 70px 14px auto;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 56px;
    background:
      radial-gradient(circle at 86% 8%, rgba(195, 164, 106, 0.24), transparent 11rem),
      radial-gradient(circle at 8% 18%, rgba(32, 59, 97, 0.1), transparent 13rem),
      linear-gradient(160deg, #ffffff 0%, #fbf7ef 48%, #eaf1f8 100%);
  }

  .hero::before {
    right: -94px;
    bottom: 76px;
    width: 190px;
    height: 190px;
  }

  .hero-grid {
    gap: 32px;
    min-height: auto;
  }

  .eyebrow {
    max-width: 100%;
    padding: 8px 11px;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.55rem);
    line-height: 0.9;
  }

  .hero-lines {
    font-size: 1.08rem;
    line-height: 1.22;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .logo-showcase {
    min-height: 0;
    padding: 22px;
  }

  .logo-showcase img {
    width: min(260px, 100%);
  }

  .visual-note {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .specialties {
    padding: 13px 0;
  }

  .section {
    padding: 68px 0;
  }

  .section h2,
  .cta-band h2 {
    font-size: clamp(2rem, 10vw, 2.85rem);
    line-height: 1;
  }

  .rich-text p,
  .section-head p,
  .portfolio-head p,
  .contact p,
  .service-card p,
  .project-body p,
  .reel-card p,
  .process-grid p,
  .cta-band p,
  .lead {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .pill-grid,
  .service-grid,
  .portfolio-grid,
  .reels-grid,
  .process-grid,
  .contact-form,
  .footer-grid,
  .admin-stats,
  .admin-form-wide,
  .logo-cloud,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 20px;
  }

  .service-preview {
    min-height: 92px;
  }

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

  .filter-button {
    min-height: 42px;
  }

  .portfolio-media {
    min-height: 220px;
  }

  .reel-frame .portfolio-media,
  .reel-frame .reel-placeholder-button,
  .reel-frame .reel-placeholder-button img,
  .reel-frame iframe,
  .reel-frame video {
    aspect-ratio: 9 / 15;
  }

  .cta-band {
    padding: 62px 0;
  }

  .cta-actions {
    display: grid;
    justify-content: stretch;
  }

  .process-grid::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 21px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(195, 164, 106, 0.72), transparent);
  }

  .process-grid article {
    padding-left: 44px;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-links a,
  .footer-social a {
    flex: 1;
    text-align: center;
  }

  .project-body,
  .service-card,
  .testimonial-card,
  .metric-card,
  .results-empty {
    min-width: 0;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
  }

  .whatsapp-float span {
    display: none;
  }

  .modal {
    padding: 12px;
  }

  .modal-content {
    max-height: calc(100vh - 24px);
    padding: 14px;
  }

  .modal-media iframe,
  .modal-media img,
  .modal-media video,
  .modal-media .portfolio-media {
    min-height: 300px;
  }

  .admin-page {
    padding-top: 70px;
  }

  .admin-main {
    padding: 24px 0 54px;
  }

  .login-wrap {
    min-height: calc(100vh - 124px);
    padding: 18px 14px;
  }

  .login-visual {
    min-height: auto;
    padding: 22px;
  }

  .login-visual img {
    width: 150px;
    padding: 12px;
  }

  .login-card,
  .admin-card,
  .admin-hero {
    padding: 20px 18px;
  }

  .admin-tabs {
    top: 76px;
  }

  .admin-tab {
    flex: 1;
    padding: 11px 8px;
    font-size: 0.82rem;
  }

  .video-admin-item,
  .project-admin-item,
  .lead-admin-item {
    display: grid;
  }

  .video-admin-item .delete-button,
  .project-admin-item .delete-button {
    width: 100%;
  }

  .admin-item-actions {
    width: 100%;
  }
}

/* CMS admin */
body.cms-admin {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(195, 164, 106, 0.11), transparent 20rem),
    linear-gradient(180deg, #f7f8fa 0%, #eef2f6 100%);
  color: var(--ink);
}

body.drawer-open,
body.cms-menu-open {
  overflow: hidden;
}

.cms-shell {
  min-height: 100vh;
}

.cms-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  display: flex;
  width: 286px;
  flex-direction: column;
  border-right: 1px solid rgba(223, 227, 234, 0.96);
  background: #ffffff;
  box-shadow: 16px 0 44px rgba(16, 32, 61, 0.06);
  padding: 18px;
}

.cms-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(223, 227, 234, 0.9);
  padding-bottom: 18px;
}

.cms-brand img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  object-fit: contain;
  padding: 6px;
}

.cms-brand strong,
.cms-brand span {
  display: block;
}

.cms-brand strong {
  font-weight: 900;
}

.cms-brand span,
.cms-page-head span,
.cms-panel-label,
.cms-panel-head span,
.cms-content-card span,
.cms-item-meta span,
.cms-stat-card span,
.cms-field span,
.cms-search span,
.cms-compact-field span,
.cms-inline-select span,
.cms-drawer header span,
.cms-confirm span {
  color: #927644;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cms-nav {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.cms-nav button,
.cms-sidebar-footer a,
.cms-sidebar-footer button {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5f6878;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.94rem;
  font-weight: 850;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.cms-nav button:hover,
.cms-nav button.active,
.cms-sidebar-footer a:hover,
.cms-sidebar-footer button:hover {
  background: #f1f4f8;
  color: var(--navy);
}

.cms-nav button.active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.cms-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
  opacity: 0.72;
}

.cms-icon[data-icon="videos"],
.cms-icon[data-icon="media"] {
  border-radius: 50%;
}

.cms-icon[data-icon="contacts"],
.cms-icon[data-icon="settings"] {
  border-radius: 999px;
}

.cms-sidebar-footer {
  display: grid;
  gap: 6px;
  margin-top: auto;
  border-top: 1px solid rgba(223, 227, 234, 0.9);
  padding-top: 14px;
}

.cms-workspace {
  min-height: 100vh;
  margin-left: 286px;
}

.cms-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(223, 227, 234, 0.96);
  background: rgba(255, 255, 255, 0.86);
  padding: 14px clamp(18px, 3vw, 34px);
  backdrop-filter: blur(16px);
}

.cms-topbar h1 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: 0;
}

.cms-topbar span {
  color: #927644;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cms-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cms-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.cms-menu-button span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
}

.cms-menu-button span + span {
  margin-top: 6px;
}

.cms-avatar {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-weight: 900;
}

.cms-main {
  display: grid;
  gap: 22px;
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
}

.cms-page-head,
.cms-panel,
.cms-content-card,
.cms-item-card,
.cms-lead-row,
.cms-media-card,
.cms-stat-card {
  border: 1px solid rgba(223, 227, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(16, 32, 61, 0.07);
}

.cms-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.cms-page-head h2,
.cms-panel-head h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.cms-page-head p,
.cms-panel p,
.cms-content-card p,
.cms-item-body p,
.cms-empty p,
.cms-media-card p,
.cms-choice-note p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.cms-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(16, 32, 61, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cms-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(16, 32, 61, 0.12);
}

.cms-button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
}

.cms-button.secondary {
  background: #ffffff;
}

.cms-button.ghost {
  border-color: transparent;
  background: #f2f5f8;
}

.cms-button.danger,
.cms-button.ghost-danger {
  border-color: rgba(161, 49, 42, 0.18);
  color: #9d2f25;
}

.cms-button.danger {
  background: #9d2f25;
  color: #ffffff;
}

.cms-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.cms-icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(16, 32, 61, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.cms-dashboard-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cms-stat-card {
  padding: 18px;
}

.cms-stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.9;
}

.cms-stat-card p {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.cms-split {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cms-panel {
  padding: clamp(18px, 2.4vw, 26px);
}

.cms-panel-head {
  margin-bottom: 18px;
}

.cms-panel-head h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.cms-quick-actions,
.cms-card-actions,
.cms-upload-actions,
.cms-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cms-activity-list,
.cms-mini-list {
  display: grid;
  gap: 10px;
}

.cms-activity-list > div,
.cms-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(223, 227, 234, 0.88);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 12px;
}

.cms-activity-list strong,
.cms-activity-list span,
.cms-mini-row strong,
.cms-mini-row span {
  display: block;
}

.cms-activity-list span,
.cms-mini-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cms-content-grid,
.cms-card-grid,
.cms-media-grid {
  display: grid;
  gap: 18px;
}

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

.cms-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.cms-media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cms-content-card,
.cms-item-card,
.cms-lead-row {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.cms-content-card {
  min-height: 220px;
  align-content: space-between;
}

.cms-content-card h3,
.cms-item-body h3 {
  margin: 8px 0 0;
  font-size: 1.25rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.cms-content-card p,
.cms-item-body p {
  margin: 10px 0 0;
}

.cms-item-card {
  align-content: start;
}

.cms-item-card.is-dragging {
  opacity: 0.55;
}

.cms-item-media,
.cms-media-card-preview,
.cms-upload-preview,
.cms-logo-preview,
.cms-avatar-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 227, 234, 0.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.28), transparent 7rem),
    linear-gradient(145deg, #10203d 0%, #223f65 56%, #c3a46a 100%);
}

.cms-item-media,
.cms-upload-preview {
  aspect-ratio: 16 / 10;
}

.cms-video-media {
  aspect-ratio: 9 / 12;
}

.cms-logo-preview,
.cms-avatar-preview {
  aspect-ratio: 1;
}

.cms-item-media img,
.cms-item-media video,
.cms-upload-preview img,
.cms-upload-preview video,
.cms-logo-preview img,
.cms-avatar-preview img,
.cms-media-card-preview img,
.cms-media-card-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-logo-preview img {
  object-fit: contain;
  background: #ffffff;
  padding: 18px;
}

.cms-media-placeholder {
  display: grid;
  min-height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.cms-media-placeholder span {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.cms-play-chip {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cms-item-meta,
.cms-lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cms-item-body small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.cms-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  background: #edf7ef;
  color: #247044;
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 900;
}

.cms-status.rascunho {
  background: #f5f0e3;
  color: #927644;
}

.cms-status.oculto,
.cms-status.lead-perdido {
  background: #eef1f5;
  color: #657082;
}

.cms-status.lead-em-contato,
.cms-status.lead-proposta-enviada {
  background: #eef4ff;
  color: #254e84;
}

.cms-status.lead-fechado {
  background: #edf7ef;
  color: #247044;
}

.cms-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  border: 1px solid rgba(223, 227, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 14px;
}

.cms-search {
  display: grid;
  flex: 1 1 260px;
  gap: 7px;
}

.cms-compact-field {
  display: grid;
  min-width: 180px;
  gap: 7px;
}

.cms-search input,
.cms-compact-field select,
.cms-field input,
.cms-field textarea,
.cms-field select,
.cms-inline-select select {
  width: 100%;
  border: 1px solid rgba(16, 32, 61, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
  font-weight: 750;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cms-field textarea {
  min-height: 112px;
  resize: vertical;
}

.cms-search input:focus,
.cms-compact-field select:focus,
.cms-field input:focus,
.cms-field textarea:focus,
.cms-field select:focus,
.cms-inline-select select:focus {
  border-color: rgba(195, 164, 106, 0.9);
  box-shadow: 0 0 0 4px rgba(195, 164, 106, 0.14);
}

.cms-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  background: rgba(16, 32, 61, 0);
  transition: background 0.18s ease;
}

.cms-drawer.open {
  pointer-events: auto;
  background: rgba(16, 32, 61, 0.36);
}

.cms-drawer-panel {
  display: flex;
  width: min(720px, 100%);
  height: 100%;
  flex-direction: column;
  background: #ffffff;
  box-shadow: -24px 0 80px rgba(16, 32, 61, 0.18);
  transform: translateX(102%);
  transition: transform 0.24s ease;
}

.cms-drawer.open .cms-drawer-panel {
  transform: translateX(0);
}

.cms-drawer header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(223, 227, 234, 0.94);
  padding: 22px;
}

.cms-drawer h2 {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
}

.cms-drawer-body {
  overflow: auto;
  padding: 22px;
}

.cms-form,
.cms-form-section,
.cms-upload-controls,
.cms-lead-detail,
.cms-preview-only {
  display: grid;
  gap: 16px;
}

.cms-form-section {
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 16px;
}

.cms-form-section h3 {
  margin: 0;
  font-size: 1.02rem;
}

.cms-form-grid.two {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-field {
  display: grid;
  gap: 8px;
}

.cms-field small {
  color: var(--muted);
  line-height: 1.5;
}

.cms-upload {
  display: grid;
  gap: 14px;
  grid-template-columns: 190px minmax(0, 1fr);
  border: 1px dashed rgba(16, 32, 61, 0.2);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.cms-upload-controls strong {
  font-size: 1rem;
}

.cms-upload-controls p {
  margin: 0;
  color: var(--muted);
}

.cms-url-field {
  margin-top: 4px;
}

.cms-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.cms-file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cms-file-button .cms-hidden-file {
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
}

.cms-upload-status {
  min-height: 22px;
  color: #927644;
  font-size: 0.9rem;
  font-weight: 850;
}

.cms-upload-status.error {
  color: #9d2f25;
}

.cms-upload-status.success {
  color: #247044;
}

.cms-drawer-actions,
.cms-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid rgba(223, 227, 234, 0.92);
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 0 0;
}

.cms-drawer-actions.static {
  position: static;
  justify-content: flex-start;
  border-top: 0;
  padding-top: 0;
}

.cms-drawer-actions span {
  margin-right: auto;
  color: #927644;
  font-weight: 900;
}

.cms-editor-preview,
.cms-choice-note {
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 0%, rgba(195, 164, 106, 0.15), transparent 8rem),
    #fbfcfd;
  padding: 16px;
}

.cms-editor-preview strong,
.cms-editor-preview span {
  display: block;
}

.cms-editor-preview p,
.cms-choice-note p {
  margin: 8px 0 0;
}

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

.cms-lead-row {
  grid-template-columns: minmax(180px, 1.1fr) minmax(160px, 0.9fr) 180px minmax(220px, auto);
  align-items: center;
}

.cms-lead-row strong,
.cms-lead-row span,
.cms-lead-row small {
  display: block;
}

.cms-lead-row span,
.cms-lead-row p,
.cms-lead-row small {
  color: var(--muted);
}

.cms-lead-row p {
  margin: 2px 0 0;
}

.cms-inline-select {
  display: grid;
  gap: 6px;
}

.cms-lead-detail dl {
  display: grid;
  gap: 10px;
  grid-template-columns: 130px minmax(0, 1fr);
  margin: 0;
}

.cms-lead-detail dt {
  color: #927644;
  font-weight: 900;
}

.cms-lead-detail dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.cms-media-uploader-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cms-media-card {
  overflow: hidden;
}

.cms-media-card-preview {
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
}

.cms-media-card-body {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.cms-media-card-body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-media-card-body span,
.cms-media-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cms-media-card .cms-card-actions {
  padding: 0 14px 14px;
}

.cms-used {
  color: #927644 !important;
}

.cms-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 180px;
  border: 1px dashed rgba(16, 32, 61, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 28px;
  text-align: center;
}

.cms-empty strong {
  font-size: 1.15rem;
}

.cms-skeleton,
.cms-loading {
  min-height: 220px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eef2f6, #ffffff, #eef2f6);
  background-size: 220% 100%;
  animation: cmsShimmer 1.2s infinite linear;
}

.cms-loading {
  display: grid;
  place-items: center;
  min-height: 360px;
  color: var(--muted);
  font-weight: 900;
}

@keyframes cmsShimmer {
  to {
    background-position: -220% 0;
  }
}

.cms-confirm {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  background: rgba(16, 32, 61, 0.42);
  padding: 18px;
}

.cms-confirm[hidden] {
  display: none;
}

.cms-confirm > div {
  width: min(440px, 100%);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(16, 32, 61, 0.22);
  padding: 24px;
}

.cms-confirm h2 {
  margin: 8px 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.cms-confirm p {
  color: var(--muted);
  line-height: 1.6;
}

.cms-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.cms-toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}

.cms-toast {
  border: 1px solid rgba(36, 112, 68, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 32, 61, 0.16);
  color: var(--ink);
  padding: 14px 16px;
  font-weight: 850;
  animation: cmsToast 0.22s ease both;
}

.cms-toast.error {
  border-color: rgba(157, 47, 37, 0.24);
  color: #9d2f25;
}

.cms-toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

@keyframes cmsToast {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.cms-preview-player {
  overflow: hidden;
  border-radius: 8px;
  background: #0b1527;
}

.cms-preview-player video,
.cms-preview-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.cms-logo-setting {
  display: grid;
  gap: 14px;
}

.cms-logo-setting img {
  width: 180px;
  border: 1px solid rgba(223, 227, 234, 0.9);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.cms-sidebar-overlay {
  display: none;
}

@media (max-width: 1180px) {
  .cms-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .cms-lead-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .cms-sidebar {
    transform: translateX(-104%);
    transition: transform 0.24s ease;
  }

  .cms-sidebar.open {
    transform: translateX(0);
  }

  .cms-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 65;
    display: none;
    background: rgba(16, 32, 61, 0.32);
  }

  .cms-sidebar-overlay.open {
    display: block;
  }

  .cms-workspace {
    margin-left: 0;
  }

  .cms-menu-button {
    display: block;
  }

  .cms-content-grid,
  .cms-split {
    grid-template-columns: 1fr;
  }

  .cms-page-head,
  .cms-media-uploader-panel {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .cms-topbar {
    min-height: 68px;
    padding: 12px;
  }

  .cms-topbar-actions .cms-button {
    display: none;
  }

  .cms-main {
    padding: 14px;
  }

  .cms-dashboard-grid,
  .cms-card-grid,
  .cms-project-grid,
  .cms-video-grid,
  .cms-media-grid {
    grid-template-columns: 1fr;
  }

  .cms-page-head h2 {
    font-size: 2rem;
  }

  .cms-page-head,
  .cms-panel,
  .cms-content-card,
  .cms-item-card,
  .cms-lead-row {
    padding: 16px;
  }

  .cms-upload,
  .cms-form-grid.two {
    grid-template-columns: 1fr;
  }

  .cms-drawer-panel {
    width: 100%;
  }

  .cms-drawer header,
  .cms-drawer-body {
    padding: 16px;
  }

  .cms-drawer-actions,
  .cms-form-actions,
  .cms-card-actions,
  .cms-lead-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cms-drawer-actions span {
    margin-right: 0;
  }

  .cms-button,
  .cms-card-actions .cms-icon-button {
    width: 100%;
  }

  .cms-lead-detail dl {
    grid-template-columns: 1fr;
  }
}
