:root {
  --ink: #121417;
  --muted: #626b76;
  --soft: #eef1f4;
  --line: #dfe4ea;
  --paper: #f8f9fb;
  --white: #ffffff;
  --charcoal: #0b2f3a;
  --cyan: #1bb7c9;
  --coral: #ff7f6e;
  --green: #79b35a;
  --gold: #c99b3f;
  --shadow: 0 24px 70px rgba(18, 20, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

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

input,
textarea,
button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(248, 249, 251, 0.92);
  border-bottom: 1px solid rgba(223, 228, 234, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(11, 47, 58, 0.12);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.7vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a,
.header-cta,
.button {
  transition: color 160ms ease, background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

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

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.header-cta {
  padding: 10px 18px;
  color: var(--white);
  background: var(--ink);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 64px) 104px;
  color: var(--charcoal);
  background: linear-gradient(135deg, #eefcff 0%, #d8f5f8 44%, #bdebf3 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.86) 0 9%, transparent 27%),
    radial-gradient(circle at 16% 22%, rgba(27, 183, 201, 0.22) 0 10%, transparent 32%),
    linear-gradient(135deg, #f6feff 0%, #d9f6fb 50%, #aee6f0 100%);
}

.hero-visual img {
  display: none;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  right: -50%;
  bottom: -10%;
  left: -50%;
  height: 46%;
  background-repeat: repeat-x;
  background-size: 900px 100%;
  opacity: 0.82;
  transform: translate3d(0, 0, 0);
}

.hero-visual::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 220' preserveAspectRatio='none'%3E%3Cpath d='M0 94 C120 14 210 174 330 94 S570 14 690 94 S820 150 900 94 V220 H0 Z' fill='%231bb7c9' fill-opacity='0.38'/%3E%3C/svg%3E");
  animation: waveDrift 18s linear infinite;
}

.hero-visual::after {
  bottom: -16%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 220' preserveAspectRatio='none'%3E%3Cpath d='M0 118 C150 42 245 192 390 118 S650 42 810 118 S880 150 900 118 V220 H0 Z' fill='%230b5f86' fill-opacity='0.22'/%3E%3C/svg%3E");
  animation: waveDriftReverse 26s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.18), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  animation: revealHero 900ms ease both;
}

.hero-logo-card {
  display: inline-grid;
  place-items: center;
  width: clamp(260px, 30vw, 420px);
  min-height: clamp(160px, 18vw, 250px);
  margin-bottom: 28px;
  border-radius: 8px;
  padding: clamp(10px, 1.2vw, 16px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(11, 47, 58, 0.16);
}

.hero-logo-card img {
  width: 100%;
  height: auto;
}

.hero-logo-fallback {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  text-align: center;
}

.hero-logo-fallback strong {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 0.95;
}

.hero-logo-fallback span {
  color: var(--cyan);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(2.45rem, 6.4vw, 6.1rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.slogan {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--charcoal);
  font-size: clamp(1.35rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: #315765;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 13px 20px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--coral);
}

.button.secondary {
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(11, 47, 58, 0.14);
}

.proof-strip {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 24px;
  left: clamp(18px, 5vw, 64px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
}

.proof-strip span {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: #264f5f;
  font-size: 0.94rem;
  font-weight: 900;
  text-align: center;
}

section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 64px);
}

.section-band {
  background: var(--white);
}

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

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 86px);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.services {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: 18px;
  margin-top: 32px;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(18, 20, 23, 0.07);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8edf1;
}

.service-card div {
  padding: 24px;
}

.service-card p:last-child,
.process p,
.contact p,
.values-note li {
  color: var(--muted);
}

.featured img {
  aspect-ratio: 4 / 3.25;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-grid article {
  min-height: 260px;
  padding: 26px;
  background: var(--paper);
}

.process-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 54px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.process-grid article:nth-child(2) span {
  background: var(--cyan);
}

.process-grid article:nth-child(3) span {
  background: var(--green);
}

.process-grid article:nth-child(4) span {
  background: var(--gold);
}

.portfolio {
  background: #f1f4f6;
}

.gallery-placeholder {
  max-width: 860px;
  margin-top: 32px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 20, 23, 0.08);
}

.gallery-placeholder p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.gallery-placeholder .button {
  width: fit-content;
}

.values-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  background: var(--white);
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, var(--white) 0 24%, var(--green) 27% 100%);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 460px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  color: var(--white);
  background: var(--charcoal);
}

.contact .eyebrow,
.contact p {
  color: #d7dde3;
}

.phone-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #eef2f5;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.22);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: #d9dee4;
  background: #111418;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
  color: var(--white);
  background: var(--charcoal);
}

.not-found img {
  width: min(240px, 62vw);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.not-found h1 {
  margin: 0;
}

.not-found p {
  max-width: 520px;
  color: #d7dde3;
}

@keyframes revealHero {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes waveDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-450px, 0, 0);
  }
}

@keyframes waveDriftReverse {
  from {
    transform: translate3d(-450px, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .intro,
  .service-grid,
  .process-grid,
  .values-note,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: auto;
  }

  .process-grid span {
    margin-bottom: 28px;
  }

  .proof-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 46px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .hero-logo-card {
    width: min(300px, 86vw);
  }

  .brand span {
    max-width: 110px;
    line-height: 1.05;
  }

  .header-cta {
    padding-inline: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76));
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .service-card div,
  .contact-form {
    padding: 22px;
  }
}
