:root {
  --navy: #08285b;
  --teal: #008c9a;
  --plum: #702184;
  --green: #6fb300;
  --gold: #eba600;
  --orange: #e85d22;
  --paper: #fffdf9;
  --soft: #f2fbfa;
  --ink-soft: rgba(8, 40, 91, 0.72);
  --line: rgba(8, 40, 91, 0.14);
  --shadow: 0 22px 70px rgba(8, 40, 91, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 55%, #f5fbfb 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: static;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
  padding: 0.65rem clamp(1rem, 5vw, 5rem);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: block;
  width: clamp(10.5rem, 16vw, 15rem);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.8vw, 1.35rem);
  color: rgba(8, 40, 91, 0.72);
  font-size: 0.92rem;
  font-weight: 750;
  white-space: nowrap;
}

nav a {
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

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

main {
  overflow: hidden;
}

.hero,
.page-hero,
.split-section,
.content-section,
.statement,
.image-feature,
.preview-grid,
.values-grid,
.service-grid,
.contact-panel,
.gallery-grid {
  padding-inline: clamp(1rem, 6vw, 6rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 0.95fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-top: clamp(3rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.home-hero {
  position: relative;
  grid-template-columns: minmax(18rem, 48rem);
  align-items: center;
  min-height: calc(100vh - 84px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.58) 65%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.76) 0%, rgba(255, 253, 249, 0.24) 54%, rgba(255, 246, 232, 0.58) 100%),
    url("assets/diverse-community-hero-v3.png");
  background-position: center top;
  background-size: cover;
  box-shadow: inset 0 -90px 120px rgba(255, 253, 249, 0.78);
}

.hero-copy {
  max-width: 48rem;
}

.home-hero h1 {
  max-width: 42rem;
  color: var(--navy);
  font-size: clamp(3rem, 5.8vw, 6rem);
  letter-spacing: 0.035em;
  text-shadow: 0 8px 34px rgba(255, 255, 255, 0.78);
}

.home-hero .tagline {
  color: rgba(8, 40, 91, 0.86);
  font-weight: 850;
}

.home-hero .hero-copy p:not(.location-pill):not(.tagline) {
  max-width: 45rem;
  color: rgba(8, 40, 91, 0.72);
}

.location-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.35rem;
  padding: 0.4rem 1rem;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(232, 93, 34, 0.24);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.06;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.22;
}

.tagline {
  margin-bottom: 1.25rem;
  color: var(--plum);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 850;
}

.hero-copy p,
.text-stack p,
.content-section p,
.card p,
.service-card p,
.contact-panel p,
.gallery-card p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 16px 34px rgba(8, 40, 91, 0.18);
}

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

.button.secondary {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.hero-logo-panel {
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background: #ffffff;
  border: 1px solid rgba(8, 40, 91, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo-panel img {
  width: 100%;
  height: auto;
}

.hero-photo-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 91, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.image-feature {
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(18rem, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 251, 250, 0.96)),
    var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.image-feature:nth-of-type(odd) {
  background:
    linear-gradient(135deg, rgba(255, 250, 238, 0.98), rgba(240, 251, 247, 0.96)),
    #fff7e7;
}

.image-feature:nth-of-type(even) {
  background:
    linear-gradient(135deg, rgba(246, 252, 255, 0.98), rgba(255, 246, 252, 0.92)),
    #f4fbff;
}

.image-feature img {
  width: 100%;
  max-width: 43rem;
  justify-self: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 91, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-feature h2 {
  max-width: 48rem;
}

.image-feature p:not(.kicker) {
  max-width: 44rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.statement {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #ffffff;
  background: linear-gradient(90deg, var(--navy), var(--teal));
}

.statement p {
  margin: 0 auto;
  max-width: 70rem;
  font-size: clamp(1.2rem, 2.5vw, 2.25rem);
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.text-stack > :last-child {
  margin-bottom: 0;
}

.preview-grid,
.values-grid,
.service-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.preview-grid a,
.card,
.service-card,
.gallery-card {
  min-height: 15rem;
  padding: 1.35rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(8, 40, 91, 0.06);
}

.preview-grid a {
  transition: transform 160ms ease, border-color 160ms ease;
}

.preview-grid a:hover {
  border-color: rgba(0, 140, 154, 0.45);
  transform: translateY(-3px);
}

.preview-grid span,
.card span,
.service-card span,
.gallery-card span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--teal);
  font-weight: 900;
}

.preview-grid strong,
.card strong,
.service-card strong,
.gallery-card strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(12rem, 18rem);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 6.3rem);
}

.page-hero img {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-section {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.content-section.narrow {
  max-width: 78rem;
  margin-inline: auto;
}

.content-section h2 {
  max-width: 58rem;
}

.story-flow {
  display: grid;
  gap: 1.25rem;
  max-width: 68rem;
}

.story-flow p {
  padding-left: 1.25rem;
  border-left: 4px solid rgba(0, 140, 154, 0.28);
}

.family-tree-section {
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 50% 100%, rgba(232, 93, 34, 0.11), transparent 34rem),
    linear-gradient(180deg, #fffaf4, #fff2eb);
}

.section-heading {
  max-width: 62rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0;
}

.family-tree {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3px minmax(0, 1fr);
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  row-gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.family-tree::before {
  content: "";
  grid-column: 2;
  grid-row: 1 / -1;
  width: 3px;
  min-height: 100%;
  background: linear-gradient(180deg, var(--orange), var(--gold), var(--teal));
  border-radius: 999px;
}

.tree-card {
  position: relative;
  align-self: start;
  padding: clamp(1.35rem, 2vw, 1.75rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 40, 91, 0.12);
  border-radius: 14px;
  box-shadow: 0 22px 55px rgba(8, 40, 91, 0.08);
}

.tree-card::before {
  content: "";
  position: absolute;
  top: 1.85rem;
  width: 1rem;
  height: 1rem;
  background: linear-gradient(135deg, var(--orange), var(--gold), var(--teal));
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(8, 40, 91, 0.12);
}

.tree-card:nth-child(odd) {
  grid-column: 1;
}

.tree-card:nth-child(even) {
  grid-column: 3;
}

.tree-card:nth-child(1) {
  grid-row: 1;
}

.tree-card:nth-child(2) {
  grid-row: 2;
}

.tree-card:nth-child(3) {
  grid-row: 3;
}

.tree-card:nth-child(4) {
  grid-row: 4;
}

.tree-card:nth-child(odd)::before {
  right: calc(clamp(1.25rem, 3vw, 2.5rem) * -1 - 0.6rem);
}

.tree-card:nth-child(even)::before {
  left: calc(clamp(1.25rem, 3vw, 2.5rem) * -1 - 0.6rem);
}

.tree-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.7rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), #f49a2a);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tree-card h3 {
  margin-bottom: 0.65rem;
  color: #112033;
  font-family: Georgia, "Times New Roman", serif;
}

.tree-card p {
  margin-bottom: 0;
  color: rgba(8, 40, 91, 0.68);
  font-size: 1rem;
}

.values-grid {
  padding-top: 0;
}

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

.value-card {
  min-height: 0;
  padding: 1rem;
}

.value-image {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.1rem;
  overflow: hidden;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 91, 0.08);
}

.value-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.value-card:nth-child(1) {
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 46%);
}

.value-card:nth-child(2) {
  background: linear-gradient(180deg, #f3fbff 0%, #ffffff 46%);
}

.value-card:nth-child(3) {
  background: linear-gradient(180deg, #f7fff1 0%, #ffffff 46%);
}

.value-card:nth-child(4) {
  background: linear-gradient(180deg, #fff5f0 0%, #ffffff 46%);
}

.value-card span {
  margin-bottom: 0.55rem;
}

.card:nth-child(2) span,
.service-card:nth-child(2) span,
.gallery-card:nth-child(2) span {
  color: var(--plum);
}

.card:nth-child(3) span,
.service-card:nth-child(3) span,
.gallery-card:nth-child(3) span {
  color: var(--green);
}

.card:nth-child(4) span,
.service-card:nth-child(4) span,
.gallery-card:nth-child(4) span {
  color: var(--orange);
}

.card:nth-child(5) span,
.service-card:nth-child(5) span,
.gallery-card:nth-child(5) span {
  color: var(--gold);
}

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

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

.service-card {
  grid-column: span 2;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(8, 40, 91, 0.08);
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(6),
.service-card:nth-child(7) {
  grid-column: span 3;
}

.list-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.list-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.9rem;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.contact-details {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-details a,
.contact-details span {
  display: block;
  overflow-wrap: anywhere;
}

.contact-details strong {
  color: var(--teal);
}

.gallery-card {
  position: relative;
  overflow: hidden;
}

.gallery-card::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.2rem;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(8, 40, 91, 0.88), rgba(0, 140, 154, 0.7)),
    radial-gradient(circle at 70% 30%, rgba(111, 179, 0, 0.8), transparent 18rem);
}

.gallery-card.image-card::before {
  display: none;
}

.gallery-card.image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  margin-bottom: 1.2rem;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.gallery-card.photo-card::before {
  display: none;
}

.gallery-card.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1.2rem;
  border-radius: 6px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem clamp(1rem, 6vw, 6rem);
  color: rgba(8, 40, 91, 0.65);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.ask-uma {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 50;
  font-family: inherit;
}

.ask-uma-toggle {
  min-height: 3.25rem;
  padding: 0 1.15rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--plum));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(8, 40, 91, 0.22);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 900;
}

.ask-uma-panel {
  position: absolute;
  right: 0;
  bottom: 4.25rem;
  width: min(24rem, calc(100vw - 2rem));
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(8, 40, 91, 0.14);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(8, 40, 91, 0.2);
}

.ask-uma-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.ask-uma-header strong,
.ask-uma-header span {
  display: block;
}

.ask-uma-header span {
  font-size: 0.82rem;
  opacity: 0.82;
}

.ask-uma-close {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.ask-uma-log {
  display: grid;
  gap: 0.75rem;
  max-height: 20rem;
  overflow-y: auto;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #f7fbfb);
}

.uma-message {
  max-width: 88%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: rgba(8, 40, 91, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}

.uma-message.bot {
  justify-self: start;
  background: #eef8f8;
  border-top-left-radius: 4px;
}

.uma-message.user {
  justify-self: end;
  color: #ffffff;
  background: var(--navy);
  border-top-right-radius: 4px;
}

.ask-uma-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  padding: 0.85rem;
  border-top: 1px solid var(--line);
}

.ask-uma-form input {
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.ask-uma-form button {
  padding: 0 0.95rem;
  color: #ffffff;
  background: var(--orange);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 1060px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

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

  .hero {
    min-height: auto;
  }

  .home-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.84) 56%, rgba(255, 253, 249, 0.9) 100%),
      url("assets/diverse-community-hero-v3.png");
    background-position: center top;
    background-size: cover;
  }

  .hero-logo-panel,
  .hero-photo-panel {
    order: -1;
    max-width: 38rem;
  }

  .page-hero img {
    max-width: 18rem;
  }

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

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

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(6),
  .service-card:nth-child(7) {
    grid-column: auto;
  }

  .family-tree {
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: 1.25rem;
  }

  .family-tree::before {
    grid-column: 1;
    grid-row: 1 / -1;
    justify-self: center;
  }

  .tree-card,
  .tree-card:nth-child(odd),
  .tree-card:nth-child(even) {
    grid-column: 2;
    margin-top: 0;
  }

  .tree-card::before,
  .tree-card:nth-child(odd)::before,
  .tree-card:nth-child(even)::before {
    left: -1.95rem;
    right: auto;
  }

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

@media (max-width: 680px) {
  .brand {
    width: 10rem;
  }

  nav {
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
    overflow-wrap: anywhere;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .preview-grid,
  .values-grid,
  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid a,
  .card,
  .service-card,
  .gallery-card {
    min-height: 0;
  }
}
