:root {
  --navy: #101936;
  --teal: #057a8d;
  --coral: #f36f62;
  --purple: #7b3fa1;
  --orange: #f2912d;
  --cream: #fff8ed;
  --paper: #fffdf8;
  --ink: #16203d;
  --muted: #667085;
  --line: rgba(16, 25, 54, 0.12);
  --shadow: 0 22px 55px rgba(16, 25, 54, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(5, 122, 141, 0.12), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(243, 111, 98, 0.12), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, #fffdf8 45%, #fff6ee 100%);
  line-height: 1.6;
}

body::before {
  content: "♪";
  position: fixed;
  inset: auto 5vw 10vh auto;
  z-index: -1;
  color: rgba(123, 63, 161, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(9rem, 20vw, 20rem);
  transform: rotate(-14deg);
}

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

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

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-video,
.hero-overlay,
.floating-words {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 25, 54, 0.9), rgba(16, 25, 54, 0.58) 48%, rgba(5, 122, 141, 0.22)),
    linear-gradient(180deg, rgba(255, 248, 237, 0.2), rgba(16, 25, 54, 0.24));
}

.floating-words {
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.floating-words span {
  position: absolute;
  left: var(--x);
  bottom: -12%;
  color: rgba(255, 253, 248, 0.7);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.05rem, 2.3vw, 2.1rem);
  text-shadow: 0 10px 28px rgba(16, 25, 54, 0.36);
  animation: float-word 14s linear infinite;
  animation-delay: var(--d);
}

.site-header::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 74vw;
  height: 30vw;
  left: 38%;
  top: 25%;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
  border-bottom: 1px solid rgba(243, 111, 98, 0.28);
  border-radius: 50%;
  transform: rotate(8deg);
  pointer-events: none;
}

@keyframes float-word {
  0% {
    transform: translateY(0) rotate(-6deg);
    opacity: 0;
  }

  16% {
    opacity: 0.72;
  }

  76% {
    opacity: 0.52;
  }

  100% {
    transform: translateY(-118vh) rotate(8deg);
    opacity: 0;
  }
}

.nav {
  width: min(1220px, calc(100% - 32px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
  padding: 10px 0;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: clamp(190px, 24vw, 330px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 25, 54, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.1vw, 30px);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  cursor: pointer;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 28px 0 54px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 1.06rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.65rem, 6.1vw, 5.9rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.55rem);
}

h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  width: 100%;
  min-height: calc(100svh - 190px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(18px, 3vw, 34px) 0 0;
  overflow: hidden;
}

.hero-copy .eyebrow {
  color: #ffd4bd;
  text-align: center;
}

.hero-lines {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: 2vh 0;
  text-align: center;
  animation: hero-lines-rise 18s ease-in-out infinite;
}

.hero-lines > * {
  margin: 0;
  max-width: min(1120px, 100%);
  color: #fffdf8;
  text-shadow: 0 16px 44px rgba(16, 25, 54, 0.46);
  animation: hero-line-float 7s ease-in-out infinite;
}

.hero-lines > *:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-lines > *:nth-child(3) {
  animation-delay: 0.8s;
}

.hero-lines > *:nth-child(4) {
  animation-delay: 1.2s;
}

.hero-lines > *:nth-child(5) {
  animation-delay: 1.6s;
}

.hero-lines > *:nth-child(6) {
  animation-delay: 2s;
}

.hero-lines h1 {
  max-width: min(1120px, 100%);
  line-height: 1;
}

.hero-lines h1 span {
  display: block;
}

.hero-description {
  width: min(920px, 100%);
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 25, 54, 0.28), rgba(5, 122, 141, 0.13));
  backdrop-filter: blur(5px);
}

.hero-description p {
  margin: 0;
  color: rgba(255, 253, 248, 0.94);
  font-family: "Avenir Next", Avenir, "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.96rem, 1.45vw, 1.28rem);
  font-weight: 600;
  line-height: 1.42;
  text-shadow: 0 8px 24px rgba(16, 25, 54, 0.38);
}

.hero-description strong {
  color: #ffd4bd;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.18em;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 0;
  padding-bottom: clamp(18px, 3.5vh, 42px);
}

@keyframes hero-lines-rise {
  0%,
  100% {
    transform: translateY(18px);
  }

  50% {
    transform: translateY(-34px);
  }
}

@keyframes hero-line-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--purple) 52%, var(--coral));
}

.btn.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(16, 25, 54, 0.18);
}

section {
  position: relative;
}

.about,
.portfolio,
.process,
.testimonials {
  padding: clamp(72px, 10vw, 122px) 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  margin: 0 auto 44px;
  text-align: center;
}

.about-text {
  max-width: 930px;
  margin: 34px 0 0 auto;
  color: #39435f;
  font-size: clamp(1.12rem, 2vw, 1.46rem);
}

.services,
.blog,
.request {
  padding: clamp(76px, 10vw, 124px) 0;
  background:
    linear-gradient(135deg, rgba(5, 122, 141, 0.09), rgba(243, 111, 98, 0.09)),
    rgba(255, 253, 248, 0.72);
}

.service-grid,
.portfolio-grid,
.blog-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.portfolio-card,
.blog-card,
.testimonial-card,
.process-step,
.request-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 16px 35px rgba(16, 25, 54, 0.08);
}

.service-card {
  min-height: 230px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.portfolio-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 122, 141, 0.34);
}

.card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--purple), var(--coral));
  font-size: 1.22rem;
  font-weight: 800;
}

.service-card p,
.portfolio-card p,
.blog-card p,
.request-copy p,
.testimonial-card blockquote {
  color: var(--muted);
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.portfolio-card {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(255, 248, 237, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(242, 145, 45, 0.12), transparent 38%);
  transition: transform 180ms ease, border-color 180ms ease;
}

.portfolio-card a {
  color: var(--teal);
  font-weight: 800;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.request-copy {
  position: sticky;
  top: 26px;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 253, 248, 0.94);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(16, 25, 54, 0.16);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(5, 122, 141, 0.17);
  border-color: var(--teal);
}

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

.file-input input {
  padding: 10px;
}

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

.process-step {
  min-height: 180px;
  padding: 24px;
}

.process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

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

.blog-card {
  min-height: 210px;
  padding: 24px;
}

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

.testimonial-card {
  margin: 0;
  padding: 30px;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 1.12rem;
}

.testimonial-card figcaption {
  margin-top: 24px;
  color: var(--navy);
  font-weight: 800;
}

.cta {
  padding: 86px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 25, 54, 0.96), rgba(5, 122, 141, 0.9) 50%, rgba(123, 63, 161, 0.92)),
    radial-gradient(circle at 78% 12%, rgba(242, 145, 45, 0.32), transparent 34%);
  overflow: hidden;
}

.cta::before {
  content: "♬";
  position: absolute;
  right: 7vw;
  top: -34px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 14rem;
  transform: rotate(12deg);
}

.cta-inner {
  text-align: center;
  position: relative;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta p {
  margin: 18px auto 28px;
  max-width: 640px;
  font-size: 1.18rem;
}

.footer {
  padding: 48px 0 24px;
  background: #fffdf8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 34px;
  align-items: start;
}

.footer-logo {
  width: min(290px, 100%);
  margin-bottom: 18px;
}

.footer p {
  margin: 6px 0;
  color: var(--muted);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  font-weight: 900;
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  .nav {
    min-height: 84px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 4px);
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.97);
    box-shadow: var(--shadow);
    color: var(--navy);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a {
    padding: 14px;
  }

  .request-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 20px;
  }

  .request-copy {
    position: static;
  }

  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 190px;
  }

  .site-header {
    min-height: auto;
  }

  .site-header::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 32px;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .hero-copy {
    min-height: calc(100svh - 150px);
  }

  .hero-lines {
    gap: 14px;
    animation-duration: 16s;
  }

  .hero-lines h1 {
    font-size: clamp(2.35rem, 12vw, 4.1rem);
  }

  .hero-description {
    gap: 8px;
    padding: 14px;
  }

  .hero-description p {
    font-size: 0.94rem;
    line-height: 1.36;
  }

  .floating-words span {
    font-size: 1rem;
  }

  .service-grid,
  .portfolio-grid,
  .blog-grid,
  .process-line,
  .request-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .portfolio-card,
  .blog-card,
  .process-step {
    min-height: auto;
  }
}

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

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