:root {
  --header-height: 86px;
  --ink: #15232c;
  --muted: #526674;
  --paper: #fff7e8;
  --cream: #fffdf5;
  --panel: #ffffff;
  --line: #243848;
  --navy: #0f2f43;
  --teal: #139a9a;
  --mint: #91e3cf;
  --coral: #f06d5e;
  --sun: #f7c84b;
  --leaf: #6bbf59;
  --shadow: 8px 8px 0 rgba(21, 35, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 35, 44, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 35, 44, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: #fff;
  background: rgba(15, 47, 67, 0.92);
  border-bottom: 3px solid rgba(247, 200, 75, 0.72);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.header-cta,
.header-actions,
.language-toggle,
.hero-actions,
.quick-stats,
.card-topline,
.tag-list,
.contact-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: "Baloo 2", "Nunito Sans", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.24);
  font-size: 0.82rem;
}

.nav {
  gap: 20px;
  font-size: 0.92rem;
  font-weight: 900;
}

.nav a:hover,
.contact-links a:hover {
  color: var(--sun);
}

.header-actions {
  justify-self: end;
  gap: 10px;
}

.header-cta,
.language-toggle {
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.header-cta {
  min-height: 40px;
  padding: 0 16px;
  font-weight: 900;
}

.language-toggle {
  min-height: 40px;
  padding: 3px;
}

.language-button {
  min-width: 44px;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--ink);
  background: var(--sun);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #05395d;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.03) contrast(1.02) brightness(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 47, 67, 0.78), rgba(15, 47, 67, 0.46) 38%, rgba(15, 47, 67, 0.04) 78%),
    linear-gradient(0deg, rgba(15, 47, 67, 0.2), transparent 44%);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: calc(var(--header-height) + 24px) clamp(18px, 4vw, 56px) 24px;
  content: "";
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  padding: calc(var(--header-height) + 58px) 0 42px clamp(20px, 6vw, 86px);
}

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

.hero h1,
.intro h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: "Baloo 2", "Nunito Sans", sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 690px;
  color: #fffdf5;
  font-size: clamp(3rem, 6.2vw, 5.55rem);
  text-shadow: 5px 5px 0 rgba(15, 47, 67, 0.9);
}

.hero-copy {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(21, 35, 44, 0.25);
  font-weight: 900;
}

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

.button.secondary {
  color: var(--ink);
  background: var(--sun);
}

.quick-stats {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.quick-stats div {
  min-width: 144px;
  padding: 12px 16px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.13);
  backdrop-filter: blur(10px);
}

.quick-stats dt {
  font-family: "Baloo 2", "Nunito Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.quick-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 700;
}

.band,
.section,
.contact {
  padding: 84px clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  background: var(--cream);
  border-bottom: 3px solid rgba(36, 56, 72, 0.16);
}

.intro-text {
  max-width: 580px;
}

.intro h2 {
  max-width: 580px;
  color: var(--navy);
  font-size: clamp(2.55rem, 3.7vw, 3.8rem);
}

.intro > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 700;
}

.section-heading {
  display: flex;
  max-width: 1220px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto 30px;
}

.section-heading h2,
.contact h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.45rem);
}

.section-note {
  max-width: 1220px;
  margin: -10px auto 34px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
}

.past-projects-strip {
  max-width: 1220px;
  margin: 0 auto 34px;
}

.past-projects-strip > p {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-marquee {
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}

.logo-set {
  display: flex;
  gap: 14px;
  padding: 14px 7px;
}

.logo-item {
  display: grid;
  width: 204px;
  height: 82px;
  place-items: center;
  border: 2px solid rgba(36, 56, 72, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(226, 241, 248, 0.9)),
    #fffdf5;
}

.logo-item img {
  display: block;
  max-width: 86%;
  max-height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.58));
}

.logo-item img.logo-eternal-city {
  max-width: 104%;
  max-height: 82px;
  transform: translateY(-6px);
}

.logo-item img.logo-kofi-quest {
  max-width: 96%;
  max-height: 76px;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    width: auto;
    flex-wrap: wrap;
    animation: none;
  }
}

.work-grid {
  display: grid;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  gap: 16px;
}

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

.work-card,
.service-list article,
.timeline li,
.contact-panel {
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.work-card {
  min-height: 370px;
  padding: 28px;
  background: var(--panel);
}

.work-card.featured {
  background: var(--navy);
  color: #fff;
}

.card-topline {
  justify-content: space-between;
  gap: 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured .card-topline {
  color: var(--mint);
}

.work-card h3,
.service-list h3,
.timeline h3 {
  margin: 18px 0 10px;
  font-family: "Baloo 2", "Nunito Sans", sans-serif;
  line-height: 1.04;
  font-size: 1.55rem;
}

.work-card p,
.service-list p,
.timeline p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.tag-list {
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--sun);
  font-size: 0.82rem;
  font-weight: 900;
}

.featured .tag-list li {
  color: var(--ink);
}

.services {
  background:
    linear-gradient(135deg, rgba(247, 200, 75, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(107, 191, 89, 0.12), transparent 42%),
    #fff1d9;
}

.service-list {
  display: grid;
  max-width: 1220px;
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-list article {
  min-height: 260px;
  padding: 26px;
  background: #fffdf5;
}

.service-number,
.timeline span {
  color: var(--coral);
  font-family: "Baloo 2", "Nunito Sans", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
}

.quote-section {
  background: var(--cream);
}

.process {
  background:
    linear-gradient(135deg, rgba(107, 191, 89, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(247, 200, 75, 0.18), transparent 44%),
    #eef6df;
}

.quote-section .section-heading,
.process .section-heading {
  display: block;
  max-width: 980px;
  margin-bottom: 26px;
}

.process .section-heading {
  max-width: 1080px;
}

.quote-section .section-heading h2,
.process .section-heading h2 {
  font-size: clamp(2.25rem, 3.8vw, 3.65rem);
}

.quote-form {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  gap: 18px;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 3px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select {
  height: 58px;
  padding: 0 16px;
  line-height: 1.2;
}

select {
  padding-right: 42px;
}

select option {
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.select-field {
  position: relative;
}

.select-field input[type="hidden"] {
  display: none;
}

.custom-select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 58px;
  border: 3px solid var(--line);
  border-radius: 8px;
  padding: 0 14px 0 16px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.custom-select-toggle span:last-child {
  font-size: 1.25rem;
  line-height: 1;
}

.custom-select-toggle:focus-visible {
  border-color: var(--coral);
  outline: 4px solid rgba(247, 200, 75, 0.45);
}

.custom-select-menu {
  position: absolute;
  z-index: 22;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: #fffdf5;
  box-shadow: 8px 8px 0 rgba(21, 35, 44, 0.16);
}

.custom-select-option {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-bottom: 2px solid rgba(36, 56, 72, 0.14);
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.custom-select-option:last-child {
  border-bottom: 0;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option[aria-selected="true"] {
  background: var(--sun);
  outline: none;
}

.date-field {
  position: relative;
}

.date-field input {
  cursor: pointer;
}

.date-picker {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  width: min(390px, calc(100vw - 36px));
  padding: 16px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: #fffdf5;
  box-shadow: 8px 8px 0 rgba(21, 35, 44, 0.16);
}

.date-picker-header,
.date-weekdays,
.date-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}

.date-picker-header {
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  margin-bottom: 12px;
}

.date-picker-header strong {
  color: var(--ink);
  text-align: center;
  font-size: 1.05rem;
}

.date-nav,
.date-day {
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.date-nav {
  width: 44px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1;
}

.date-weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
  text-transform: uppercase;
}

.date-day {
  min-height: 42px;
  padding: 0;
  font-size: 0.92rem;
}

.date-day:hover,
.date-day:focus-visible {
  background: var(--sun);
  outline: none;
}

.date-day.is-today {
  border-color: var(--teal);
}

.date-day.is-selected {
  color: #fff;
  background: var(--coral);
}

.date-day.is-outside {
  color: rgba(80, 104, 121, 0.45);
  background: #f6f0e5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--coral);
  outline: 4px solid rgba(247, 200, 75, 0.45);
}

.file-drop {
  min-height: 132px;
  place-items: center;
  border: 3px dashed var(--teal);
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
  background: rgba(145, 227, 207, 0.22);
  text-align: center;
  cursor: pointer;
}

.file-drop strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quote-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quote-result span {
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-result strong {
  text-align: right;
}

.quote-button {
  justify-self: end;
  min-width: 220px;
  font-size: 1rem;
  cursor: pointer;
}

.timeline {
  display: grid;
  max-width: 1080px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  gap: 16px;
}

.timeline li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 24px;
  background: #fff;
}

.timeline h3 {
  margin-top: 0;
}

.proof {
  background:
    linear-gradient(135deg, rgba(19, 154, 154, 0.22), transparent 36%),
    var(--navy);
  color: #fff;
  text-align: center;
}

.proof blockquote {
  max-width: 930px;
  margin: 0 auto;
  font-family: "Baloo 2", "Nunito Sans", sans-serif;
  font-size: clamp(1.85rem, 3.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
}

.proof p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 520px);
  gap: 42px;
  align-items: start;
  background: var(--paper);
}

.contact-panel {
  padding: 30px;
  background: #fff;
}

.contact-panel .button {
  width: 100%;
  margin: 22px 0;
}

.contact-links {
  flex-wrap: wrap;
  gap: 18px;
  color: var(--teal);
  font-weight: 900;
}

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

  .nav {
    display: none;
  }

  .intro,
  .work-grid,
  .service-list,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-left: 24px;
    padding-right: 20px;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .header-cta {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 47, 67, 0.9), rgba(15, 47, 67, 0.66)),
      linear-gradient(0deg, rgba(15, 47, 67, 0.46), transparent 42%);
  }

  .hero-image {
    object-position: top center;
  }

  .hero-content {
    width: 100%;
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .quick-stats div,
  .button {
    width: 100%;
  }

  .form-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .quote-result {
    display: block;
  }

  .quote-result strong {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .band,
  .section,
  .contact {
    padding: 62px 18px;
  }

  .work-card,
  .service-list article,
  .timeline li,
  .contact-panel {
    padding: 22px;
  }
}
