/* ─────────────────────────────────────────────────────────────
   Triatma — styles
   Palette: warm ivory, sage green, deep green text, a touch of the logo's gold.
   ───────────────────────────────────────────────────────────── */

:root {
  --ivory: #faf6ee;
  --ivory-deep: #f3ecdf;
  --paper: #fffdf8;
  --sage-50: #eef2ea;
  --sage-100: #dde6d7;
  --sage-300: #a9bba2;
  --sage-500: #7a9372;
  --sage-700: #4d6a4a;
  --green-800: #2d4a38;
  --green-900: #1c3226;
  --gold: #a88443;
  --text: #1c3226;
  --text-muted: #45594b;
  --line: rgba(45, 74, 56, 0.14);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-soft: 0 1px 2px rgba(28, 50, 38, 0.04), 0 12px 32px -12px rgba(28, 50, 38, 0.14);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Subtle paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .26 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--ivory);
  background-image: var(--grain);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--green-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
}

h3 {
  font-size: 1.6rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--sage-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-900);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

[tabindex="-1"]:focus {
  outline: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--green-900);
  color: var(--ivory);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: var(--ivory);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.placeholder-text {
  text-decoration: underline dashed rgba(168, 132, 67, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-lg {
  min-height: 54px;
  padding: 0.9rem 1.8rem;
  font-size: 1.025rem;
}

.btn-primary {
  background: var(--green-800);
  color: var(--ivory);
  box-shadow: 0 8px 20px -10px rgba(28, 50, 38, 0.55);
}

.btn-primary:hover {
  background: var(--green-900);
  color: var(--ivory);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--green-900);
  border-color: var(--sage-500);
}

.btn-secondary:hover {
  background: var(--sage-50);
  color: var(--green-900);
  border-color: var(--sage-700);
}

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

.text-link {
  font-weight: 700;
  color: var(--sage-700);
  text-decoration: none;
  border-bottom: 1.5px solid var(--sage-300);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--green-900);
  border-color: var(--green-900);
}

/* ───────── Header ───────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(28, 50, 38, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--green-900);
  margin-right: auto;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px rgba(168, 132, 67, 0.45);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--green-900);
}

.nav-list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--green-900);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}

.nav-list a:hover {
  background: var(--sage-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.lang-switch button {
  min-width: 40px;
  min-height: 34px;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 700 0.8125rem/1 var(--font-body);
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--sage-100);
  color: var(--green-900);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  height: 1.5px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-cta {
  display: none;
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 959px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.75rem 1.25rem 1.5rem;
    background: var(--ivory);
    background-image: var(--grain);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(28, 50, 38, 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  .menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    padding: 0.85rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    display: flex;
    width: 100%;
    margin-top: 1.25rem;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1.35rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }
}

/* ───────── Hero ───────── */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero::before {
  /* soft botanical glow */
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(169, 187, 162, 0.35), rgba(169, 187, 162, 0) 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-intro {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::after {
  /* offset frame */
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1.5px solid var(--sage-300);
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}

.hero-media > .photo,
.hero-media > .photo-placeholder {
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (max-width: 959px) {
  .hero-media {
    max-width: 440px;
    width: calc(100% - 1.25rem);
  }
}

/* ───────── Photos & placeholders ───────── */

.photo {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sage-100);
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  border-radius: var(--radius);
  color: var(--sage-700);
  background-color: var(--sage-100);
  background-image: var(--grain),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #e3eadd, #cfdcc8);
  border: 1px dashed rgba(77, 106, 74, 0.35);
}

.photo-placeholder-icon {
  width: 44px;
  height: 44px;
  opacity: 0.8;
}

.photo-placeholder-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ───────── Sections ───────── */

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-tinted {
  background-color: var(--sage-50);
  background-image: var(--grain);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.section-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin: 0;
}

.card-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Services */

.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(28, 50, 38, 0.04), 0 22px 40px -18px rgba(28, 50, 38, 0.22);
}

.service-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.service-desc {
  color: var(--text-muted);
  flex-grow: 1;
}

.service-meta {
  display: flex;
  gap: 2rem;
  margin: 0.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.service-meta dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.service-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin: 0 0 1.25rem;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1.5px solid var(--sage-300);
  background: none;
  color: var(--sage-700);
  font: 700 0.975rem/1.4 var(--font-body);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.service-more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.service-more:hover {
  color: var(--green-900);
  border-color: var(--green-900);
}

.service-more:hover svg {
  transform: translateX(3px);
}

/* Services carousel — scroll-snap track with arrow and dot controls */

.carousel {
  --carousel-gap: clamp(1.25rem, 2.5vw, 2rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "track track track"
    "prev dots next";
  align-items: center;
  column-gap: 1rem;
}

.carousel-track {
  grid-area: track;
  min-width: 0;
}

.carousel-prev {
  grid-area: prev;
}

.carousel-next {
  grid-area: next;
}

/* From tablet up, the arrows sit beside the cards: prev left of the first, next right of the last */
@media (min-width: 640px) {
  .carousel {
    grid-template-areas:
      "prev track next"
      ". dots .";
  }
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: var(--carousel-gap);
  list-style: none;
  /* Room for the card shadow and hover lift, which the scroll container would clip */
  margin: -0.75rem -0.5rem 0;
  padding: 0.75rem 0.5rem 1.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.5rem;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > .service-card {
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .carousel-track {
    grid-auto-columns: calc((100% - var(--carousel-gap)) / 2);
  }
}

@media (min-width: 960px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 2 * var(--carousel-gap)) / 3);
  }
}

.carousel.is-static .carousel-btn,
.carousel.is-static .carousel-dots {
  display: none;
}

.carousel-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--sage-300);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-900);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--ivory);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-dots {
  grid-area: dots;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.carousel-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.carousel-dot::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  border-radius: 50%;
  background: var(--sage-300);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.carousel-dot.is-active::before {
  background: var(--gold);
  transform: scale(1.2);
}

/* Details pop-up (services and About) */

.details-dialog {
  width: min(100% - 2rem, 46rem);
  max-height: min(100% - 2rem, 52rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 30px 80px -30px rgba(28, 50, 38, 0.55);
  overflow: hidden;
}

.details-dialog[open] {
  display: flex;
  animation: dialog-in 0.35s var(--ease);
}

.details-dialog::backdrop {
  background: rgba(28, 50, 38, 0.45);
  backdrop-filter: blur(3px);
}

body:has(.details-dialog[open]) {
  overflow: hidden;
}

.details-dialog-inner {
  position: relative;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(2rem, 5vw, 3.25rem);
}

.details-dialog h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  padding-right: 2.5rem;
}

.details-dialog-body {
  color: var(--text-muted);
}

.details-dialog-body h3 {
  font-size: 1.45rem;
  margin: 1.75rem 0 0.6rem;
}

.details-dialog-body ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.details-dialog-body li + li {
  margin-top: 0.35rem;
}

.details-dialog-body li::marker {
  color: var(--gold);
}

.dialog-close {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -0.75rem -0.75rem 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-900);
  cursor: pointer;
  z-index: 1;
}

.dialog-close:hover {
  background: var(--sage-50);
}

.dialog-close svg {
  width: 20px;
  height: 20px;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* Team — framed cards with an emblem badge, gold divider, services and phone */

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem) 0;
  text-align: center;
  border-color: rgba(168, 132, 67, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px rgba(168, 132, 67, 0.18), var(--shadow-soft);
}

.team-badge {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  color: #efe3c6;
  background: radial-gradient(circle at 35% 30%, var(--sage-700), var(--green-800) 70%);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px rgba(168, 132, 67, 0.75), 0 14px 28px -14px rgba(28, 50, 38, 0.6);
}

.team-badge .photo,
.team-badge .photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.team-icon {
  width: 60px;
  height: 60px;
}

.team-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}

.team-body h3 {
  font-size: clamp(1.9rem, 2.6vw, 2.25rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.team-divider {
  position: relative;
  display: block;
  width: min(100%, 190px);
  height: 1px;
  margin-bottom: 1.4rem;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
}

.team-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--paper);
  transform: translate(-50%, -50%);
}

.team-role {
  color: var(--sage-700);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.team-intro {
  color: var(--text-muted);
}

.team-services {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  text-align: left;
  font-size: 1.075rem;
  font-weight: 600;
}

.team-services li {
  position: relative;
  padding-left: 1.3rem;
}

.team-services li + li {
  margin-top: 0.45rem;
}

.team-services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.team-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid rgba(168, 132, 67, 0.35);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.team-phone-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(168, 132, 67, 0.6);
  border-radius: 50%;
  color: var(--sage-700);
}

.team-phone-icon svg {
  width: 17px;
  height: 17px;
}

/* About */

.about-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-body + .service-more {
  margin-top: 0.5rem;
}

.about-body p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.about-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: end;
}

.about-photo {
  margin: 0;
}

.about-photo-1 .photo,
.about-photo-1 .photo-placeholder {
  border-radius: 160px 160px var(--radius) var(--radius);
}

.about-photo-2 {
  margin-bottom: 2.5rem;
}

@media (min-width: 960px) {
  .about-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact */

.section-contact {
  background-color: var(--ivory-deep);
  background-image: var(--grain);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 760px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-bottom: 0.6rem;
}

.contact-card h3:not(:first-child) {
  margin-top: 1.5rem;
}

.contact-address {
  font-style: normal;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.contact-value {
  font-size: 1.1rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-value a {
  color: var(--green-900);
  font-weight: 600;
}

.contact-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.contact-cta:has(> [hidden]) {
  display: none;
}

/* ───────── Footer ───────── */

.site-footer {
  background: var(--green-900);
  color: #e4ebe0;
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
}

.site-footer a {
  color: #f3efe4;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer .placeholder-text {
  text-decoration-color: rgba(214, 190, 140, 0.7);
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo {
  width: 96px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(214, 190, 140, 0.4);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.footer-tagline {
  margin: 0;
  color: #c9d5c4;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9d5c4;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(228, 235, 224, 0.16);
  font-size: 0.925rem;
  color: #c9d5c4;
}

.footer-bottom p {
  margin: 0;
}

.site-footer .text-link {
  border-color: rgba(228, 235, 224, 0.35);
}

/* Floating back-to-top arrow, shown once the visitor has scrolled down */

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--ivory);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px rgba(168, 132, 67, 0.7), 0 12px 24px -10px rgba(28, 50, 38, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.2s var(--ease),
    visibility 0s linear 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.2s var(--ease);
}

.to-top:hover {
  background: var(--green-900);
  color: var(--ivory);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

.noscript {
  padding: 1rem;
  text-align: center;
  background: var(--sage-100);
}

/* ───────── Motion ───────── */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .service-card.reveal.is-visible:hover {
  transform: translateY(-3px);
  transition-delay: 0ms;
  transition-duration: 0.35s;
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
