:root {
  --navy: #10243e;
  --navy-soft: #183555;
  --green: #315f4b;
  --granite: #63707b;
  --stone: #e6e0d4;
  --warm-white: #fbf8f1;
  --paper: #ffffff;
  --ink: #17212b;
  --muted: #5e6a72;
  --line: rgba(16, 36, 62, 0.14);
  --shadow: 0 24px 70px rgba(16, 36, 62, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(49, 95, 75, 0.16), transparent 32rem),
    linear-gradient(180deg, var(--warm-white) 0%, #f4efe6 100%);
}

a {
  color: inherit;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  padding-top: max(0.75rem, env(safe-area-inset-top));
  background: rgba(251, 248, 241, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16, 36, 62, 0.05);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.05;
  color: var(--navy);
}

.brand-line {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-toggle {
  position: relative;
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.5rem 0.75rem;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(16, 36, 62, 0.08);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 1.15rem;
  height: 1rem;
}

.nav-toggle-line {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-menu-open .nav-toggle-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

body.nav-menu-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

body.nav-menu-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-menu-eyebrow {
  display: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.nav-links a {
  padding: 0.35rem 0.1rem;
  text-decoration: none;
  border-radius: 0.25rem;
  -webkit-tap-highlight-color: transparent;
}

.nav-links a:hover {
  color: var(--green);
}

body.nav-menu-open {
  overflow: hidden;
}

body.nav-menu-open::before {
  position: fixed;
  inset: 0;
  z-index: 180;
  content: "";
  background: rgba(16, 36, 62, 0.45);
}

main {
  overflow-x: clip;
}

.hero,
.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero-copy h1 {
  max-width: 22ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: #35424c;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  color: var(--warm-white);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(16, 36, 62, 0.18);
}

.button.primary:hover {
  background: var(--navy-soft);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line);
}

.domain-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card,
.feature-card,
.contact-card,
.callout,
.team-card,
.portfolio-card,
.portfolio-highlights {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 1.6rem;
}

.hero-card h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.hero-card ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding-left: 1.25rem;
  position: relative;
}

.hero-card li::before {
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  background: var(--green);
  border-radius: 999px;
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.section-copy p,
.section-heading p,
.contact-section p,
.feature-card p,
.callout p {
  color: var(--muted);
}

.section-copy p:first-child {
  margin-top: 0;
}

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

.business-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 1.4rem;
  border-radius: 1.2rem;
}

.feature-card p {
  margin-bottom: 0;
}

.work-section {
  border-radius: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.team-grid--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 52rem;
}

.truths-section {
  padding-top: 0;
}

.truths-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.truths-list li {
  position: relative;
  padding-left: 1.35rem;
  color: #35424c;
  font-size: 1.05rem;
  line-height: 1.5;
}

.truths-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
  content: "✓";
}

.work-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.work-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.work-path-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.work-path-lead {
  margin: 0;
  color: #35424c;
  font-size: 1.05rem;
  line-height: 1.55;
}

.work-path-lead strong {
  color: var(--navy);
}

.work-path-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.work-path-list li {
  margin-bottom: 0.45rem;
}

.work-path-list li:last-child {
  margin-bottom: 0;
}

.work-path-tags-label {
  margin: 0.5rem 0 0;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-list--compact {
  margin-top: 0.35rem;
}

.contact-audiences {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.contact-audiences li {
  margin-bottom: 0.85rem;
}

.contact-audiences li:last-child {
  margin-bottom: 0;
}

.contact-audiences strong {
  color: var(--navy);
}

.contact-audiences a {
  color: var(--green);
  font-weight: 650;
}

.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.2rem;
}

.team-card--placeholder {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.55);
}

.team-photo {
  display: grid;
  place-items: center;
  min-height: 11rem;
  background: linear-gradient(145deg, rgba(16, 36, 62, 0.06), rgba(49, 95, 75, 0.12));
  border-bottom: 1px solid var(--line);
}

.team-card--placeholder .team-photo {
  background: repeating-linear-gradient(
    -45deg,
    rgba(16, 36, 62, 0.04),
    rgba(16, 36, 62, 0.04) 8px,
    rgba(49, 95, 75, 0.06) 8px,
    rgba(49, 95, 75, 0.06) 16px
  );
}

.placeholder-label {
  color: var(--granite);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.team-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
}

.team-role {
  margin: 0;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-bio {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.placeholder-copy {
  font-style: italic;
}

.portfolio-highlights {
  display: grid;
  place-items: center;
  min-height: 10rem;
  margin-top: 2rem;
  border-radius: 1.2rem;
  border-style: dashed;
  background: repeating-linear-gradient(
    -45deg,
    rgba(16, 36, 62, 0.03),
    rgba(16, 36, 62, 0.03) 10px,
    rgba(49, 95, 75, 0.05) 10px,
    rgba(49, 95, 75, 0.05) 20px
  );
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.2rem;
}

.portfolio-card--placeholder {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.55);
}

.portfolio-photo {
  display: grid;
  place-items: center;
  min-height: 10rem;
  background: linear-gradient(145deg, rgba(16, 36, 62, 0.06), rgba(49, 95, 75, 0.12));
  border-bottom: 1px solid var(--line);
}

.portfolio-card--placeholder .portfolio-photo {
  background: repeating-linear-gradient(
    -45deg,
    rgba(16, 36, 62, 0.04),
    rgba(16, 36, 62, 0.04) 8px,
    rgba(49, 95, 75, 0.06) 8px,
    rgba(49, 95, 75, 0.06) 16px
  );
}

.portfolio-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.portfolio-type {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
}

.portfolio-status {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.category-list span {
  padding: 0.55rem 0.8rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 1.4rem;
}

.callout p {
  max-width: 640px;
  margin: 0.25rem 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-card {
  padding: 1.35rem;
  border-radius: 1.2rem;
}

.contact-card p {
  margin: 0.8rem 0 0.15rem;
  color: var(--granite);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card p:first-child {
  margin-top: 0;
}

.contact-card a,
.contact-value {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-value {
  margin: 0;
  overflow-wrap: anywhere;
  user-select: all;
}

.site-footer {
  padding: 2rem clamp(1rem, 5vw, 4rem);
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  color: rgba(251, 248, 241, 0.82);
  text-align: center;
  background: var(--navy);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1024px) {
  .pillar-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-header {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: none !important;
  }

  .site-nav {
    position: static;
    display: flex !important;
    flex: 0 1 auto;
  }

  .site-nav[hidden] {
    display: flex !important;
  }
}

@media (max-width: 899px) {
  html {
    scroll-padding-top: 4.25rem;
  }

  .site-top {
    display: block;
    padding: 0.65rem 1rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
  }

  .site-header {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 190;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(17.5rem, 86vw);
    margin: 0;
    padding: max(1rem, env(safe-area-inset-top)) 0 max(1rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--warm-white);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(16, 36, 62, 0.18);
  }

  .site-nav[hidden] {
    display: none;
  }

  body.nav-menu-open .site-nav:not([hidden]) {
    display: flex;
  }

  body.nav-menu-open .site-top {
    z-index: 210;
  }

  .nav-menu-eyebrow {
    display: block;
    margin: 0;
    padding: 0.35rem 1.25rem 0.85rem;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    font-size: 1.0625rem;
    font-weight: 650;
    line-height: 1.35;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:active {
    background: rgba(49, 95, 75, 0.08);
    color: var(--green);
  }

  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .section h2 {
    font-size: clamp(1.65rem, 6vw, 2.5rem);
  }

  .business-lines,
  .work-paths,
  .pillar-grid,
  .portfolio-highlights,
  .portfolio-grid,
  .team-grid,
  .team-grid--duo,
  .truths-list {
    grid-template-columns: 1fr;
  }

  .truths-list li {
    font-size: 1rem;
  }

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

  .callout .button {
    width: 100%;
  }

  .contact-section ul {
    padding-left: 1.1rem;
  }
}

@media (max-width: 520px) {
  .site-top {
    padding-inline: 0.85rem;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .nav-toggle {
    width: 2.75rem;
    padding: 0.5rem;
  }

  .brand {
    gap: 0.55rem;
    min-width: 0;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand-line {
    font-size: 0.95rem;
  }

  .hero,
  .section {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    letter-spacing: -0.03em;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 1.5rem;
  }

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

  .section {
    padding: 2.5rem 0;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .category-list span {
    font-size: 0.88rem;
  }

  .contact-card a,
  .contact-value {
    font-size: 1rem;
    word-break: break-word;
  }
}
