/* ==============================
   BRAND SYSTEM
================================ */
:root {
  --baby-blue: #BFD7ED;
  --blue-grotto: #60A3D9;
  --royal-blue: #0074B7;
  --navy-blue: #003B73;
  --white: #FFFFFF;
  --text: #0B2F52;
  --muted: #5C7185;
  --line: rgba(0, 59, 115, 0.14);
  --soft-bg: #F7FBFF;
  --max-width: 1240px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 20px 55px rgba(0, 59, 115, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 840px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.98;
  color: var(--navy-blue);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 1.03;
  color: var(--navy-blue);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

p {
  margin-top: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--royal-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ==============================
   HEADER
================================ */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--navy-blue);
}

.nav-wrap {
  width: min(var(--max-width), calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

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

.brand-logo {
  width: 260px;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.9;
  transition: opacity .2s ease, color .2s ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--baby-blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--white);
}

/* ==============================
   HERO
================================ */
.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero-lead {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
}

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

.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--navy-blue);
  box-shadow: 0 12px 26px rgba(0, 59, 115, .18);
}

.button-secondary {
  color: var(--navy-blue);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.hero-points div {
  padding-top: 18px;
  border-top: 2px solid var(--baby-blue);
}

.hero-points strong {
  display: block;
  color: var(--navy-blue);
  font-family: "Manrope", sans-serif;
  font-size: .96rem;
}

.hero-points span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .82rem;
}

.hero-media {
  min-height: 620px;
}

.image-frame {
  height: 100%;
  min-height: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-frame {
  background:
    linear-gradient(145deg, rgba(191,215,237,.86), rgba(96,163,217,.86));
}

.image-placeholder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--baby-blue), rgba(96,163,217,.56));
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-copy {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--navy-blue);
  background:
    linear-gradient(145deg, rgba(191,215,237,.95), rgba(96,163,217,.76));
}

.show-placeholder .placeholder-copy {
  display: flex;
}

.placeholder-copy span {
  margin-bottom: 5px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.placeholder-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.3rem;
}

.placeholder-copy small {
  max-width: 360px;
  margin-top: 6px;
}

/* ==============================
   SECTION HEADINGS
================================ */
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ==============================
   WORK
================================ */
.work-section {
  background: var(--soft-bg);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0,59,115,.045);
}

.project-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
}

.project-image {
  min-height: 330px;
  display: block;
}

.project-card-featured .project-image {
  min-height: 520px;
}

.project-image .placeholder-copy {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.project-content {
  padding: 30px;
}

.project-card-featured .project-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-labels span {
  padding: 7px 10px;
  color: var(--navy-blue);
  background: rgba(191,215,237,.48);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}

.project-subtitle {
  margin-bottom: 16px;
  color: var(--royal-blue);
  font-weight: 800;
}

.project-content > p:not(.project-subtitle) {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 28px;
}

.tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy-blue);
  font-size: .72rem;
  font-weight: 700;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--royal-blue);
  font-weight: 800;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.muted-link {
  color: var(--navy-blue);
}

/* ==============================
   CAPABILITIES
================================ */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-card {
  min-height: 320px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  background: #FBFDFF;
  box-shadow: var(--shadow);
}

.capability-number {
  margin-bottom: auto;
  color: var(--royal-blue);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
}

/* ==============================
   TOOLS
================================ */
.tools-section {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max-width))/2));
  padding-right: max(24px, calc((100vw - var(--max-width))/2));
  background: var(--navy-blue);
}

.tools-heading {
  max-width: 820px;
}

.tools-heading .eyebrow,
.tools-heading h2 {
  color: var(--white);
}

.tool-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.tool-grid span {
  padding: 11px 15px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-weight: 700;
  font-size: .86rem;
}

/* ==============================
   ABOUT
================================ */
.about-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: stretch;
}

.about-media {
  min-height: 600px;
}

.about-frame {
  background:
    linear-gradient(145deg, rgba(96,163,217,.82), rgba(0,116,183,.92));
}

.about-copy {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy > p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-principles {
  display: grid;
  margin: 26px 0 30px;
}

.about-principles > div {
  min-height: 80px;
  padding: 15px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.about-principles > div:last-child {
  border-bottom: 1px solid var(--line);
}

.about-principles > div > span {
  color: var(--royal-blue);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.about-principles strong {
  color: var(--navy-blue);
}

.about-principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

/* ==============================
   TESTIMONIALS
================================ */
.testimonials-section {
  background: var(--soft-bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.testimonial-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.quote-mark {
  color: var(--blue-grotto);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.testimonial-card > p {
  color: var(--muted);
  font-size: .95rem;
}

.testimonial-person {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person strong {
  color: var(--navy-blue);
  font-family: "Manrope", sans-serif;
}

.testimonial-person span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .8rem;
}

/* ==============================
   CONTACT
================================ */
.contact-section {
  padding-bottom: 90px;
}

.contact-wrap {
  padding: clamp(34px, 6vw, 72px);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  color: var(--white);
  background: var(--navy-blue);
  border-radius: var(--radius-lg);
}

.light-eyebrow {
  color: var(--baby-blue);
}

.contact-intro h2 {
  color: var(--white);
}

.contact-intro > p {
  max-width: 520px;
  color: var(--baby-blue);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-details a {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.16);
}

.contact-details a:last-child {
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.contact-details span,
.contact-details strong {
  display: block;
}

.contact-details span {
  color: var(--baby-blue);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.contact-details strong {
  margin-top: 3px;
  color: var(--white);
  font-size: .94rem;
}

.contact-form {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-blue);
  font-size: .82rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--text);
  background: #F7FBFF;
  border: 1px solid rgba(0,59,115,.14);
  border-radius: 10px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(0,116,183,.08);
}

.button-light {
  width: 100%;
  margin-top: 4px;
  color: var(--white);
  background: var(--royal-blue);
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .75rem;
}

/* ==============================
   FOOTER
================================ */
.footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 220px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--navy-blue);
  font-size: .86rem;
  font-weight: 700;
}

.footer p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .78rem;
}

/* ==============================
   REVEAL
================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

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

/* ==============================
   RESPONSIVE
================================ */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 540px;
  }

  .project-card-featured {
    grid-template-columns: 1fr;
  }

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

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

  .about-section {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .section,
  .nav-wrap,
  .footer {
    width: min(var(--max-width), calc(100% - 30px));
  }

  .nav-wrap {
    min-height: 78px;
  }

  .brand-logo {
    width: 210px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 15px;
    right: 15px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--white);
    background: var(--navy-blue);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 0 0 14px 14px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 11px 8px;
  }

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

  .hero-points {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .project-card-featured {
    grid-column: auto;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 500px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 80px 0;
  }

  .brand-logo {
    width: 180px;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .hero-actions,
  .project-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-media,
  .about-media {
    min-height: 430px;
  }

  .project-card-featured .project-image,
  .project-image {
    min-height: 310px;
  }

  .project-card-featured .project-content,
  .project-content {
    padding: 24px;
  }

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

  .testimonial-card {
    min-height: 280px;
  }

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

  .contact-wrap {
    padding: 28px 20px;
  }

  .contact-form {
    padding: 20px;
  }

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

  .footer-links {
    gap: 14px;
  }
}

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

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



.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: #BFD7ED;
}

.contact-detail > div:last-child {
  min-width: 0;
}