
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ========================================
   1. Global settings
   ======================================== */

:root {
  --navy: #10294a;
  --navy2: #173c64;
  --blue: #1769c2;
  --sky: #eaf3fb;
  --ink: #1a2a3d;
  --muted: #657386;
  --line: #e3eaf1;
  --white: #ffffff;
  --soft: #f5f8fb;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

img {
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
  text-align: left;
}

p {
  overflow-wrap: anywhere;
}

main p {
  text-align: left;
  text-justify: auto;
}

.eyebrow,
.news-date,
.team-role,
.small-note,
.nav a,
.button,
.text-link,
.footer-links,
.site-footer small {
  text-align: left;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin: 0 0 13px;
}

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

.muted {
  color: var(--muted) !important;
}

.small-note {
  font-size: 12px;
  color: #8793a2;
  margin-top: 20px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px;
}

.section h2,
.section-heading h2,
.cta-band h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 16px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  color: var(--muted);
  max-width: 700px;
}

.text-link {
  display: inline-block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
}

.text-link:hover {
  text-decoration: underline;
}


/* ========================================
   2. Header and branding
   ======================================== */

.site-header {
  min-height: 92px;
  padding: 12px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: relative;
  z-index: 5;
}

.site-header .brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: 470px;
  min-width: 0;
  flex-shrink: 0;
  line-height: 1.2;
}

.brand-name,
.footer-brand {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1.2px;
  color: var(--navy);
}

.site-header .brand-logo {
  display: block;
  width: 190px;
  height: 82px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-header .brand-tagline {
  display: block;
  width: 230px;
  max-width: 230px;
  margin: 0;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: #173b60;
  flex-shrink: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 600;
  font-size: 14px;
  color: #263950;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
}


/* ========================================
   3. Homepage hero
   ======================================== */

.hero {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(7, 24, 44, 0.94) 0%,
      rgba(12, 37, 63, 0.76) 45%,
      rgba(12, 37, 63, 0.12) 100%
    ),
    url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=2000&q=85')
    center 52% / cover no-repeat;
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 76px 24px;
}

.hero h1,
.page-hero h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -2.6px;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero h1 {
  color: var(--white);
  text-wrap: balance;
}

.hero h1 span {
  color: #b9dcff;
}

.hero-copy {
  max-width: 600px;
  font-size: 18px;
  color: #e5edf6;
  margin: 0 0 27px;
  line-height: 1.75;
}

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

.hero-note {
  position: absolute;
  right: max(24px, calc((100% - var(--max)) / 2));
  bottom: 32px;
  border-left: 3px solid #8dc5ff;
  padding: 9px 15px;
  background: rgba(10, 30, 53, 0.56);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}


/* ========================================
   4. Buttons
   ======================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  line-height: 1.5;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

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

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

.button-primary:hover {
  background: #0e55a1;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-light:hover {
  background: #eaf3fb;
}


/* ========================================
   5. Section headings
   ======================================== */

.focus-section > .section-heading,
.collaboration-section > .section-heading,
.process-section > .section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.focus-section > .section-heading .eyebrow,
.collaboration-section > .section-heading .eyebrow,
.process-section > .section-heading .eyebrow {
  text-align: center;
}

.focus-section > .section-heading h2,
.collaboration-section > .section-heading h2,
.process-section > .section-heading h2 {
  text-align: center;
  text-wrap: balance;
}

.focus-section > .section-heading > p:last-child,
.collaboration-section > .section-heading > p:last-child,
.process-section > .section-heading > p:last-child {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
}


/* ========================================
   6. Service, collaboration and process cards
   ======================================== */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.focus-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 24px;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 4px 16px rgba(16, 41, 74, 0.035);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.focus-card:hover {
  transform: translateY(-4px);
  border-color: #c7dcf2;
  box-shadow: 0 14px 32px rgba(16, 41, 74, 0.09);
}

.focus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue);
  font-size: 26px;
  margin: 0 auto 20px;
}

.focus-card h3 {
  width: 100%;
  font-family: Manrope, sans-serif;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 12px;
  text-align: center;
  text-wrap: balance;
}

.focus-card p {
  width: 100%;
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 auto;
  text-align: center;
  text-justify: auto;
  overflow-wrap: anywhere;
}

.section-action {
  margin-top: 32px;
  text-align: center;
}

.section-action .text-link {
  margin-top: 0;
}


/* ========================================
   7. Collaboration section
   ======================================== */

.collaboration-section {
  padding-top: 58px;
  border-top: 1px solid #edf1f6;
}

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


/* ========================================
   8. Project process section
   ======================================== */

.process-section {
  max-width: none;
  padding: 70px max(24px, calc((100% - var(--max)) / 2));
  background: #f8fafc;
}

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

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

.process-section .focus-card {
  padding: 28px 20px;
  background: var(--white);
}

.process-section .focus-icon {
  font-family: Manrope, sans-serif;
  font-size: 21px;
  font-weight: 800;
}


/* ========================================
   9. News sections and cards
   ======================================== */

.news-section {
  padding-top: 64px;
  padding-bottom: 76px;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.section-title-row h2 {
  margin-bottom: 0;
}

.section-title-row .text-link {
  margin-top: 0;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: #d3e0ee;
  box-shadow: 0 12px 30px rgba(15, 47, 79, 0.08);
}

.news-image {
  height: 190px;
  background-size: cover;
  background-position: center;
  background-color: #edf3f8;
}

.image-energy {
  background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=900&q=80');
}

.image-water {
  background-image: url('https://images.unsplash.com/photo-1530053969600-caed2596d242?auto=format&fit=crop&w=900&q=80');
}

.image-flow {
  background-image: url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=900&q=80');
}

.news-body {
  padding: 22px;
  text-align: left;
}

.news-date {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8290a1 !important;
  margin: 0 0 9px !important;
  text-align: left;
}

.news-card h3 {
  font-family: Manrope, sans-serif;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 10px;
  text-align: left;
}

.news-card p:not(.news-date) {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
  text-align: left;
  text-justify: auto;
}

.news-card .text-link {
  margin-top: 15px;
}

.news-grid-wide {
  padding-top: 10px;
}


/* ========================================
   10. Call-to-action band
   ======================================== */

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 42px max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.cta-band > div {
  max-width: 760px;
}

.cta-band .eyebrow {
  color: #a6d1ff;
}

.cta-band h2 {
  color: var(--white);
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  text-wrap: balance;
}

.cta-band > div > p:last-child:not(.eyebrow) {
  margin: 12px 0 0;
  color: #d7e4f2;
  font-size: 14px;
  line-height: 1.75;
}

.cta-band .button {
  flex-shrink: 0;
}


/* ========================================
   11. Footer
   ======================================== */

.site-footer {
  max-width: var(--max);
  padding: 38px 24px 24px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  align-items: center;
}

.footer-brand {
  font-size: 23px;
}

.site-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--blue);
}

.site-footer small {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 18px;
  color: #8491a0;
  font-size: 11px;
}


/* ========================================
   12. Inner page hero
   ======================================== */

.page-hero {
  padding: 82px max(24px, calc((100% - var(--max)) / 2)) 60px;
  background: linear-gradient(135deg, #f4f8fc, #ffffff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  color: var(--navy);
  max-width: 900px;
  text-wrap: balance;
}

.page-hero h1 span {
  color: var(--blue);
}

.page-hero > p:last-child {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
  margin: 0;
  line-height: 1.8;
}


/* ========================================
   13. About page
   ======================================== */

.about-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 58px;
  align-items: center;
}

.about-layout p:not(.eyebrow) {
  color: #526174;
}

.quote-panel {
  background: var(--navy);
  border-radius: 12px;
  color: var(--white);
  padding: 35px;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 70px;
  color: #8dc5ff;
  line-height: 0.8;
}

.quote-panel p {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  line-height: 1.55;
  color: var(--white) !important;
}

.quote-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: #78baff;
  margin: 25px 0 16px;
}

.quote-panel strong {
  font-size: 11px;
  letter-spacing: 1px;
  color: #d0e6fb;
}

.interests-section {
  padding-top: 20px;
}

.interest-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.interest-list span {
  padding: 14px 17px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #29435f;
}

.team-section {
  padding-top: 20px;
}


/* ========================================
   14. Team members
   ======================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  background: var(--white);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 41, 74, 0.07);
}

.team-photo,
.team-avatar {
  display: flex;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-avatar {
  align-items: center;
  justify-content: center;
  background: #eaf2fb;
  color: #1769b0;
  font-size: 56px;
  font-weight: 700;
}

.team-card-body {
  padding: 20px;
}

.team-card h3 {
  margin: 0 0 8px;
  color: #123253;
  font-size: 18px;
  line-height: 1.4;
}

.team-role {
  margin: 0 0 12px;
  color: #1769b0;
  font-size: 14px;
  font-weight: 600;
}

.team-bio {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.team-email {
  display: inline-block;
  margin-top: 8px;
  color: #1769b0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.team-linkedin {
  display: inline-block;
  margin-top: 8px;
  margin-left: 12px;
  color: #0a66c2;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.team-linkedin:hover {
  text-decoration: underline;
}

.team-placeholder {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 25px;
  border: 1px dashed #c9d6e4;
  border-radius: 10px;
  max-width: 680px;
}

.avatar-placeholder {
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e4effa;
  color: var(--blue);
  font: 800 36px Manrope, sans-serif;
}

.team-placeholder h3 {
  margin: 0;
  color: var(--navy);
  font-family: Manrope, sans-serif;
}

.team-placeholder p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 14px;
}


/* ========================================
   15. Contact page
   ======================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.contact-intro h2 {
  font-size: 34px;
}

.contact-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  align-items: flex-start;
}

.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  font-size: 21px;
  flex-shrink: 0;
}

.contact-detail strong {
  color: var(--navy);
  font-size: 14px;
}

.contact-detail p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(14, 44, 75, 0.05);
}

.contact-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
  margin: 0 0 6px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 13px;
  margin-bottom: 18px;
  border: 1px solid #d8e1eb;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #b9d9fa;
  border-color: var(--blue);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

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

.form-note {
  font-size: 11px;
  color: #8995a3;
  margin: 13px 0 0;
  line-height: 1.6;
}


/* ========================================
   16. Responsive layout: tablets
   ======================================== */

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

  .site-header .brand {
    max-width: 400px;
  }

  .site-header .brand-logo {
    width: 155px;
    height: 70px;
  }

  .site-header .brand-tagline {
    width: 200px;
    max-width: 200px;
    font-size: 12px;
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 13px;
  }

  .process-section .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .contact-layout {
    gap: 36px;
  }
}

@media (max-width: 800px) {
  .site-header {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .site-header .brand {
    max-width: calc(100% - 55px);
  }

  .site-header .brand-logo {
    width: 135px;
    height: 60px;
  }

  .site-header .brand-tagline {
    width: 185px;
    max-width: 185px;
    font-size: 11px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 11px 0;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 64px 24px;
  }

  .hero-note {
    display: none;
  }

  .focus-grid,
  .collaboration-section .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .interest-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-hero {
    padding-top: 60px;
    padding-bottom: 48px;
  }

  .cta-band {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}


/* ========================================
   17. Responsive layout: mobile
   ======================================== */

@media (max-width: 600px) {
  .site-header .brand {
    gap: 7px;
    max-width: calc(100% - 48px);
  }

  .site-header .brand-logo {
    width: 115px;
    height: 52px;
  }

  .site-header .brand-tagline {
    width: 145px;
    max-width: 145px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
  }

  .hero {
    min-height: 480px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.6px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .page-hero h1 {
    font-size: clamp(36px, 9vw, 48px);
    letter-spacing: -1.5px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .focus-section > .section-heading,
  .collaboration-section > .section-heading,
  .process-section > .section-heading {
    margin-bottom: 30px;
  }

  .focus-grid,
  .collaboration-section .focus-grid,
  .process-section .focus-grid,
  .news-grid,
  .interest-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    padding: 26px 22px;
  }

  .focus-card p {
    max-width: 380px;
  }

  .process-section {
    padding: 52px 20px;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title-row .text-link {
    margin-top: 0;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
  }

  .cta-band .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 32px 24px 22px;
  }

  .footer-links {
    gap: 12px 20px;
  }

  .site-footer small {
    grid-column: auto;
  }

  .contact-form {
    padding: 22px;
  }

  .contact-intro h2 {
    font-size: 29px;
  }

  .team-placeholder {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-image {
    height: 200px;
  }

  .quote-panel {
    padding: 28px;
  }

  .quote-panel p {
    font-size: 20px;
  }
}


/* ========================================
   18. Reduced motion accessibility
   ======================================== */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Justify team member biographies */
.team-card .team-bio {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
}

/* ========================================
   Project tracking page
   ======================================== */
.track-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 76px 24px 88px;
}
.track-intro {
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
}
.track-intro .eyebrow { text-align: center; }
.track-intro h1 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.6px;
  text-align: center;
}
.track-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}
.track-panel {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(16, 41, 74, 0.07);
}
.track-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.track-input-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.track-input-row input {
  min-width: 0;
  flex: 1;
  padding: 13px 15px;
  border: 1px solid #d8e1eb;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: .2px;
}
.track-input-row input:focus {
  outline: 2px solid #b9d9fa;
  border-color: var(--blue);
}
.track-input-row .button:disabled { opacity: .65; cursor: wait; }
.track-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.track-feedback {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.track-feedback[hidden], .track-result[hidden],
.public-note-section[hidden], .no-public-note[hidden] { display: none; }
.track-feedback.error {
  color: #842020;
  background: #fff4f4;
  border: 1px solid #e6b5b5;
}
.track-result {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.track-result-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}
.track-result-heading .eyebrow { margin-bottom: 5px; }
.track-result-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
}
.project-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 48%;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
  background: #edf2f7;
  color: #34465b;
}
.status-submitted { background: #eaf3fb; color: #175b9b; }
.status-review { background: #fff5df; color: #805600; }
.status-progress { background: #eaf4ff; color: #155b9b; }
.status-complete { background: #eaf6ed; color: #24613a; }
.status-closed { background: #fbeeee; color: #8a2929; }
.tracked-project-title {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.track-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.track-metadata > div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.track-metadata dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.track-metadata dd {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.public-note-section {
  margin-top: 22px;
  padding: 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: #f3f8fd;
}
.public-note-section .eyebrow { margin-bottom: 8px; }
.public-note {
  margin: 0;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.public-note-date {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.no-public-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.track-security-note {
  margin: 24px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.track-security-note strong { color: var(--navy); }
.track-security-note p { margin: 4px 0 0; text-align: center; }
.track-security-note a { color: var(--blue); font-weight: 700; text-decoration: underline; }
@media (max-width: 640px) {
  .track-section { padding: 48px 16px 60px; }
  .track-input-row { flex-direction: column; }
  .track-input-row .button { width: 100%; }
  .track-result-heading { flex-direction: column; }
  .project-status { max-width: 100%; }
  .track-metadata { grid-template-columns: minmax(0, 1fr); }
}
