:root {
  --ocean: #0b3d5c;
  --ocean-deep: #06273c;
  --ocean-mid: #1a6aa0;
  --white: #ffffff;
  --sand: #f6f0e8;
  --sand-dark: #e7dccb;
  --coral: #e36a5d;
  --coral-hover: #cc574b;
  --coral-soft: #fde8e4;
  --text: #1c2e3a;
  --muted: #4a6270;
  --line: rgba(11, 61, 92, 0.12);
  --radius: 18px;
  --shadow: 0 12px 32px rgba(11, 61, 92, 0.1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(126, 200, 227, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(227, 106, 93, 0.12), transparent 50%),
    linear-gradient(180deg, #f8fbfd 0%, var(--white) 40%, #f7f3ec 100%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 1.125rem;
  position: relative;
}

.page-ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(26, 106, 160, 0.08), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(227, 106, 93, 0.07), transparent 40%);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

@keyframes ambient-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, 1.5%, 0) scale(1.05);
  }
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--coral);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(11, 61, 92, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--ocean);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--sand);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ocean);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  text-decoration: none;
  font-weight: 600;
  color: var(--ocean);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  min-height: 48px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--sand);
}

.site-nav.open {
  display: flex;
}

.hero {
  position: relative;
  background: linear-gradient(125deg, #06273c 0%, #0b3d5c 38%, #1a6aa0 72%, #3d8fb5 100%);
  background-size: 180% 180%;
  animation: hero-gradient 14s ease-in-out infinite alternate;
  color: var(--white);
  overflow: hidden;
  padding: 4.5rem 0 6.5rem;
}

@keyframes hero-gradient {
  from {
    background-position: 0% 40%;
  }
  to {
    background-position: 100% 60%;
  }
}

.hero-motion {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.45;
  animation: orb-float 12s ease-in-out infinite alternate;
}

.hero-orb-a {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 10%;
  background: radial-gradient(circle, rgba(126, 200, 227, 0.55), transparent 70%);
}

.hero-orb-b {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 20%;
  background: radial-gradient(circle, rgba(227, 106, 93, 0.4), transparent 70%);
  animation-duration: 16s;
  animation-delay: -3s;
}

.hero-orb-c {
  width: 180px;
  height: 180px;
  left: 40%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(244, 211, 176, 0.35), transparent 70%);
  animation-duration: 10s;
  animation-delay: -6s;
}

@keyframes orb-float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(24px, -28px, 0);
  }
}

.hero-glow {
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 70%;
  background: radial-gradient(circle, rgba(227, 106, 93, 0.28), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 2rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  color: var(--white);
  height: 72px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(227, 106, 93, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--coral-hover);
}

.btn-full {
  width: 100%;
}

.section {
  padding: 4.5rem 0;
}

.section-sand {
  background: var(--sand);
}

.section-kicker {
  margin: 0 0 0.5rem;
  color: var(--ocean-mid);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section h2,
.hero h1,
.contact-aside h3,
.card h3,
.trust-item h3,
.work-body h3 {
  letter-spacing: -0.03em;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--ocean);
  line-height: 1.2;
}

.section-intro,
.reassure {
  margin: 0 0 2.25rem;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.15rem;
}

.card-grid,
.trust-grid {
  display: grid;
  gap: 1.25rem;
}

.card,
.trust-item,
.work-card,
.contact-form,
.contact-aside {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.trust-item {
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 61, 92, 0.12);
}

.card h3,
.trust-item h3,
.work-body h3 {
  margin: 0 0 0.5rem;
  color: var(--ocean);
  font-size: 1.25rem;
}

.card p,
.trust-item p,
.work-body p {
  margin: 0;
  color: var(--muted);
}

.icon-wrap {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e8f3f9;
  color: var(--ocean);
  margin-bottom: 1rem;
}

.icon-wrap svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-coral {
  background: var(--coral-soft);
  color: var(--coral);
}

.section-work {
  overflow: hidden;
  padding-bottom: 3rem;
}

.section-work .section-intro {
  margin-bottom: 1.5rem;
}

.work-marquee {
  position: relative;
  margin-top: 0.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.work-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.75rem 1rem 1.5rem;
  animation: work-slide 40s linear infinite;
  will-change: transform;
}

.work-marquee:hover .work-track,
.work-marquee:focus-within .work-track {
  animation-play-state: paused;
}

@keyframes work-slide {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

a.work-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.work-card {
  flex: 0 0 min(320px, 78vw);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.work-card:hover,
a.work-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 61, 92, 0.14);
}

.work-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  background: var(--sand);
}

.work-body {
  padding: 1.2rem 1.3rem 1.4rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ocean);
  font-size: 0.8rem;
  font-weight: 700;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  background: var(--white);
  color: var(--ocean);
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  color: var(--ocean);
  font-size: 1.2rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.faq-more a {
  color: var(--ocean);
  font-weight: 700;
}

.article-page {
  padding: 3rem 0 4.5rem;
}

.article-page h1 {
  margin: 0 0 1rem;
  color: var(--ocean);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.article-page h2 {
  margin: 2rem 0 0.6rem;
  color: var(--ocean);
  font-size: 1.45rem;
}

.article-page p,
.article-page li {
  color: var(--muted);
  max-width: 42rem;
}

.article-page ul {
  padding-left: 1.2rem;
}

.article-nav {
  display: flex;
  gap: 0.25rem;
}

.article-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ocean);
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.article-nav a:hover,
.article-nav a:focus-visible {
  background: var(--sand);
}

.article-kicker {
  margin: 0 0 0.6rem;
  color: var(--ocean-mid);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-contact {
  background: linear-gradient(180deg, var(--white), var(--sand));
}

.reassure {
  font-weight: 500;
  color: var(--text);
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.contact-aside,
.contact-form {
  padding: 1.6rem;
}

.contact-aside h3 {
  margin: 0 0 0.4rem;
  color: var(--ocean);
}

.contact-aside > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.contact-link {
  display: block;
  text-decoration: none;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--sand);
  margin-bottom: 0.75rem;
  min-height: 64px;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ocean-mid);
}

.contact-link span:last-child {
  font-weight: 700;
  color: var(--ocean);
  font-size: 1.15rem;
}

.service-area {
  margin-top: 1.25rem !important;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ocean);
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid var(--sand-dark);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(227, 106, 93, 0.35);
  border-color: var(--coral);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  min-height: 1.4em;
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.form-status.success {
  color: #1d6a45;
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  background: var(--ocean-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-name {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.footer-tagline,
.footer-heading {
  font-weight: 700;
  color: var(--white);
}

.footer-heading {
  margin: 0 0 0.6rem;
}

.site-footer a {
  color: #f4d3b0;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 0.7rem;
}

.socials a {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: grid;
  place-items: center;
}

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

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.float-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(227, 106, 93, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.15s ease, visibility 0.2s ease;
}

.float-contact:hover,
.float-contact:focus-visible {
  background: var(--coral-hover);
  transform: translateY(-2px);
}

.float-contact.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.float-contact-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-dot 2s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    border: 0;
    padding: 0;
    gap: 0.15rem;
    background: transparent;
  }

  .site-nav a {
    padding: 0.55rem 0.85rem;
  }

  .card-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout,
  .footer-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.8fr;
  }

  .float-contact {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .work-card {
    flex-basis: 340px;
  }
}

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

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

  .hero {
    padding: 6.5rem 0 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-ambient,
  .hero,
  .hero-orb,
  .work-track,
  .float-contact-dot {
    animation: none !important;
  }

  .work-track {
    flex-wrap: wrap;
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
    justify-content: center;
    transform: none;
  }

  .work-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}
