:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #5b6965;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #dfe7e2;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --saffron: #d89c1b;
  --rosewood: #8d3040;
  --clay: #c7653a;
  --mist: #e8f3f0;
  --shadow: 0 18px 50px rgba(22, 33, 31, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

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

a:hover,
a:focus-visible {
  color: var(--teal-dark);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, 0.95);
  border-bottom: 1px solid rgba(223, 231, 226, 0.92);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding: 0 24px;
  color: #eef8f6;
  background: var(--teal-dark);
  font-size: 0.85rem;
}

.topbar p,
.footer-bottom p {
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-links a {
  color: #eef8f6;
  opacity: 0.88;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--saffron);
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  width: min(1168px, calc(100% - 32px));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--rosewood));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, calc(100vh - 160px), 640px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 31, 28, 0.78), rgba(12, 31, 28, 0.34)),
    url("assets/image1.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(251, 250, 246, 0), var(--paper));
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, rgba(216, 156, 27, 0.1), rgba(15, 118, 110, 0.08));
}

.hero-content {
  padding: 58px 0 78px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 5.7vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.15rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--saffron);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.button.tertiary {
  color: var(--teal-dark);
  border-color: rgba(15, 118, 110, 0.22);
  background: var(--white);
}

.button:hover,
.button:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.metric-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-grid div {
  min-height: 126px;
  padding: 1.45rem 1.2rem;
  border-left: 1px solid var(--line);
}

.metric-grid div:last-child {
  border-right: 1px solid var(--line);
}

.metric-grid strong {
  display: block;
  color: var(--teal);
  font-size: 2rem;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: clamp(72px, 10vw, 116px) 0;
}

.split-layout,
.director-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
}

.align-center {
  align-items: center;
}

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

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 1rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--muted);
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.founder-section {
  background: #f6f8f7;
  border-bottom: 1px solid var(--line);
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.founder-card {
  display: grid;
  grid-template-rows: 260px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(22, 33, 31, 0.08);
}

.founder-photo {
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: linear-gradient(135deg, #f1eadf, #e6f2ef);
}

.founder-photo img {
  width: min(100%, 210px);
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 16px 30px rgba(22, 33, 31, 0.16);
}

.founder-copy {
  padding: 1.25rem;
}

.founder-label {
  min-height: 42px;
  margin: 0 0 0.8rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-copy p:last-child {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.craft-section,
.leadership-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.craft-tabs {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.tab-list {
  display: grid;
  align-content: stretch;
  background: #f4f0e7;
  border-right: 1px solid var(--line);
}

.tab-button {
  min-height: 92px;
  padding: 1rem 1.1rem;
  color: var(--muted);
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.tab-button:last-child {
  border-bottom: 0;
}

.tab-button.active,
.tab-button:hover,
.tab-button:focus-visible {
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 4px 0 0 var(--teal);
}

.craft-panel {
  display: grid;
  grid-template-rows: minmax(240px, 1fr) auto;
  min-width: 0;
}

.craft-panel img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.craft-panel div {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
}

.craft-panel p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.service-section {
  background: linear-gradient(180deg, var(--paper), #eef7f4);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card,
.leader-card,
.update-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 245px;
  padding: 1.35rem;
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1.1rem;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.service-card p,
.leader-role {
  color: var(--muted);
}

.service-card p {
  margin: 0.7rem 0 0;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 420px);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  margin-top: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 79, 74, 0.96), rgba(22, 33, 31, 0.94)),
    url("assets/image3.jpg") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-cta h3 {
  max-width: 650px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.service-cta p:last-child {
  max-width: 620px;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.service-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: 1.3rem;
  max-width: 460px;
}

.service-cta .button.primary {
  color: var(--ink);
}

.service-cta .button.tertiary:hover,
.service-cta .button.tertiary:focus-visible {
  color: var(--ink);
  background: var(--saffron);
}

.service-square-photo {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  justify-self: end;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.service-square-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-square-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.8rem;
  color: var(--white);
  background: linear-gradient(180deg, rgba(16, 24, 22, 0), rgba(16, 24, 22, 0.82));
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.authenticity-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 79, 74, 0.96), rgba(141, 48, 64, 0.9)),
    url("assets/image4.jpg") center / cover no-repeat;
}

.authenticity-section .prose {
  color: rgba(255, 255, 255, 0.88);
}

.text-link {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--saffron);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--white);
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.leader-card {
  min-height: 168px;
  padding: 1.2rem;
}

.leader-role {
  min-height: 68px;
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.featured-leader {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.featured-leader .leader-role {
  color: rgba(255, 255, 255, 0.78);
}

.director-section {
  background: var(--paper);
}

.updates-section {
  background: #f6f8f7;
  border-top: 1px solid var(--line);
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.update-card {
  display: grid;
  gap: 0.75rem;
  min-height: 150px;
  padding: 1.2rem;
}

.update-card span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.update-card strong {
  font-size: 1.08rem;
  line-height: 1.3;
}

.update-card:hover,
.update-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: var(--shadow);
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #101816;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 1fr;
  gap: 2rem;
  padding: 56px 0;
}

.footer-brand {
  color: var(--white);
}

.footer-brand small,
.site-footer p {
  color: rgba(255, 255, 255, 0.66);
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--saffron);
}

.footer-bottom {
  padding: 1rem 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.84rem;
}

:focus-visible {
  outline: 3px solid rgba(216, 156, 27, 0.78);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    inset: 114px 16px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: grid;
  }

  .nav-menu a {
    width: 100%;
    padding: 0.75rem;
  }

  .metric-grid,
  .founder-grid,
  .service-grid,
  .leader-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .craft-tabs,
  .service-cta,
  .split-layout,
  .director-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tab-list {
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tab-button {
    min-height: 74px;
    border-right: 1px solid var(--line);
  }

  .service-cta-actions {
    justify-content: flex-start;
  }

  .service-square-photo {
    justify-self: start;
    width: min(100%, 520px);
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.7rem 16px;
  }

  .nav {
    min-height: 72px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .hero {
    min-height: clamp(500px, calc(100vh - 178px), 620px);
    background-position: 45% center;
  }

  .hero-content {
    padding: 56px 0 84px;
  }

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

  .service-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-cta-actions .button {
    width: 100%;
  }

  .service-square-photo {
    width: 100%;
  }

  .metric-grid,
  .founder-grid,
  .service-grid,
  .leader-grid,
  .updates-grid,
  .tab-list {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    min-height: 106px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .craft-panel img {
    min-height: 220px;
  }

  .section {
    padding: 64px 0;
  }

  .leader-role {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
