* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #252a2b;
  background: #fff;
  font-family: var(--font-body);
}

h1,
h2,
h3,
strong {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

img {
  max-width: 100%;
}

#skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: .8rem 1rem;
  background: #fff;
  border: 1px solid #ddd;
}

#skip-link:focus {
  left: 1rem;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #eceeed;
}

#header-inner,
.section-inner,
#hero-inner,
#footer-inner,
#copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

#header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

#brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: .04em;
}

#brand small {
  display: block;
  margin-top: 4px;
  color: #687273;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

#main-nav a:not(#nav-cta):hover,
.text-link:hover {
  color: #9f3439;
}

#nav-cta {
  padding: 13px 20px;
  border-radius: 999px;
  background: #9f3439;
  color: #fff;
}

#nav-cta:hover {
  background: #79292e;
}

#menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #e3e6e4;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

#menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #193b3b;
}

#hero {
  background: #fff;
  border-bottom: 1px solid #f0f1ef;
}

#hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  padding-top: 80px;
  padding-bottom: 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #9f3439;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#hero .eyebrow {
  color: #9f3439;
}

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

#hero h1 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.07;
  letter-spacing: -.055em;
}

#hero h1 span {
  color: #9f3439;
}

.lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: #687273;
  font-size: 18px;
  line-height: 1.8;
}

#hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

#hero-actions a {
  padding: 14px 20px;
  border: 1px solid #193b3b;
  border-radius: 999px;
  color: #193b3b;
  font-size: 14px;
  font-weight: 700;
}

#hero-actions a:first-child {
  border-color: #9f3439;
  background: #9f3439;
  color: #fff;
}

#hero-actions a:hover {
  transform: translateY(-2px);
}

#hero-note {
  margin: 30px 0 0;
  color: #687273;
  font-size: 13px;
}

#hero-note span {
  margin: 0 5px;
  color: #9f3439;
}

#hero-visual {
  position: relative;
  padding: 0 0 18px 18px;
}

#hero-visual>img {
  display: block;
  width: 100%;
  height: 430px;
  border-radius: 22px;
  object-fit: cover;
}

#mission-card {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: min(270px, 78%);
  padding: 20px 22px;
  border: 1px solid #eceeed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(25, 59, 59, .1);
}

#mission-card p {
  margin: 0 0 8px;
  color: #687273;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#mission-card strong {
  font-size: 17px;
  line-height: 1.45;
}

.content-section {
  padding: 74px 0;
}

.two-column {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

#intro h2,
#partnership h2 {
  max-width: 550px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 43px);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.section-copy {
  color: #687273;
  font-size: 16px;
  line-height: 1.85;
}

.text-link {
  display: inline-block;
  margin-top: 15px;
  color: #193b3b;
  font-weight: 700;
}

#services {
  padding-top: 8px;
  padding-bottom: 84px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -.045em;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

#service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

#service-cards a {
  min-height: 260px;
  padding: 25px;
  border: 1px solid #e9ece9;
  border-radius: 16px;
  background: #fff;
}

#service-cards a:hover {
  border-color: #c9d5cf;
  box-shadow: 0 14px 35px rgba(25, 59, 59, .08);
  transform: translateY(-3px);
}

#service-cards .number {
  color: #9f3439;
  font-size: 26px;
  font-weight: 600;
}

#service-cards h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}

#service-cards p {
  min-height: 72px;
  margin-bottom: 18px;
  color: #687273;
  font-size: 14px;
  line-height: 1.65;
}

#service-cards strong {
  font-size: 13px;
}

#partnership {
  padding: 72px 0;
  background: #fafaf9;
}

#partnership img {
  width: 100%;
  height: 340px;
  border-radius: 20px;
  object-fit: cover;
}

#partnership .section-copy {
  margin: 20px 0 0;
}

#closing {
  padding-top: 70px;
  padding-bottom: 70px;
}

#closing-inner {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 36px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #e9ece9;
  border-radius: 20px;
  background: #fff;
}

#closing-inner .eyebrow {
  margin-bottom: 8px;
}

#closing h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.2;
}

#closing-inner>a {
  flex-shrink: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: #9f3439;
  color: #fff;
  font-weight: 700;
}

#site-footer {
  background: #fff;
  border-top: 1px solid #eceeed;
}

#news {
  background: #fbfbfa;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid #e9ece9;
  border-radius: 16px;
  background: #fff;
}

.news-date {
  margin-bottom: 12px;
  color: #9f3439;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.4;
}

.news-card p:not(.news-date) {
  margin-bottom: 8px;
  color: #687273;
  font-size: 14px;
  line-height: 1.7;
}

.news-card .text-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
}

#footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-top: 45px;
  padding-bottom: 42px;
}

#footer-inner>div:not(#footer-about) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#footer-inner h2 {
  margin: 0 0 6px;
  font-size: 15px;
}

#footer-inner a:not(#footer-brand) {
  color: #687273;
  font-size: 14px;
}

#footer-inner a:hover {
  color: #9f3439;
}

#footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

#footer-brand img {
  width: 36px;
  height: 36px;
}

#footer-about p {
  max-width: 420px;
  margin: 14px 0 0;
  color: #687273;
  line-height: 1.7;
}

#copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  padding-bottom: 17px;
  border-top: 1px solid #eceeed;
  color: #778080;
  font-size: 12px;
}

/* Keep legacy pages on the same clean, white visual foundation. */
body {
  background: #fff !important;
}

header.bg-white,
header.bg-white\/95 {
  background: rgba(255, 255, 255, .97) !important;
}

main>section.bg-\[var\(--color-dark\)\],
footer.bg-\[\#173536\] {
  background: #fff !important;
  color: #252a2b !important;
}

main>section.bg-\[var\(--color-dark\)\] p:not(.eyebrow),
main>section.bg-\[var\(--color-dark\)\] h1 {
  color: #252a2b !important;
}

footer.bg-\[\#173536\] * {
  color: #252a2b !important;
}

footer.bg-\[\#173536\] {
  border-top: 1px solid #eceeed;
}

@media (max-width: 900px) {
  #hero-inner {
    gap: 34px;
  }

  #service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .two-column {
    gap: 38px;
  }
}

@media (max-width: 700px) {

  #header-inner,
  .section-inner,
  #hero-inner,
  #footer-inner,
  #copyright,
  #closing-inner {
    width: min(100% - 32px, 560px);
  }

  #header-inner {
    min-height: 72px;
  }

  #menu-toggle {
    display: block;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 16px;
    right: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid #eceeed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .1);
  }

  #main-nav.open {
    display: flex;
  }

  #main-nav a {
    padding: 12px;
  }

  #nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  #hero-inner {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 62px;
  }

  #hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  #hero-visual>img {
    height: 330px;
  }

  .content-section {
    padding: 55px 0;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  #service-cards {
    grid-template-columns: 1fr;
  }

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

  #service-cards a {
    min-height: auto;
  }

  #service-cards p {
    min-height: 0;
  }

  #partnership {
    padding: 54px 0;
  }

  #partnership img {
    height: 280px;
  }

  #closing-inner {
    padding: 28px 24px;
    align-items: start;
    flex-direction: column;
  }

  #footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  #footer-about {
    grid-column: 1 / -1;
  }

  #copyright {
    flex-direction: column;
  }
}
