
:root {
  --color-deep: #432323;
  --color-forest: #2F5755;
  --color-sage: #5A9690;
  --color-mist: #E0D9D9;
  --color-white: #faf9f8;
  --color-text: #2a2a2a;
  --color-text-light: #5a5a5a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-soft: 0 4px 24px rgba(67, 35, 35, 0.08);
  --shadow-hover: 0 8px 32px rgba(47, 87, 85, 0.14);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --pattern-size: 48px;
  --header-height: 75px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.pattern-bg {
  background-color: var(--color-white);
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%235A9690' stroke-width='0.4' opacity='0.12'/%3E%3Cpath d='M30 10 L50 30 L30 50 L10 30 Z' fill='none' stroke='%23432323' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(135deg, transparent 25%, rgba(90, 150, 144, 0.02) 25%, rgba(90, 150, 144, 0.02) 50%, transparent 50%, transparent 75%, rgba(90, 150, 144, 0.02) 75%);
  background-size: 60px 60px, var(--pattern-size) var(--pattern-size);
}

@keyframes patternDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 48px 48px; }
}

body.pattern-bg-animated {
  animation: patternDrift 90s linear infinite;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lineGrow {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

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

a {
  color: var(--color-forest);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-sage);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-deep);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { margin-bottom: var(--space-sm); }

.container {
  width: min(92%, 1180px);
  margin-inline: auto;
}

.container-narrow {
  width: min(92%, 760px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-forest);
  width: 100%;
  box-shadow: var(--shadow-soft);
  border-bottom: 2px solid rgba(90, 150, 144, 0.35);
}

.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--color-sage) 0, var(--color-sage) 8px, transparent 8px, transparent 16px);
  opacity: 0.5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 var(--space-md);
  max-width: 1400px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-mist);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.brand i {
  font-size: 1.5rem;
  color: var(--color-sage);
}

.nav-full {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-drawer-header {
  display: none;
}

.nav-full a {
  color: var(--color-mist);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-full a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sage);
  transition: width var(--transition);
}

.nav-full a:hover,
.nav-full a.active {
  color: var(--color-white);
}

.nav-full a:hover::after,
.nav-full a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-mist);
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  z-index: 1004;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 22px;
}

.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:hover {
  color: var(--color-white);
  background: rgba(224, 217, 217, 0.12);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 2px;
}

.hero-interactive {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-2xl) var(--space-md);
  background: linear-gradient(165deg, var(--color-mist) 0%, var(--color-white) 45%, rgba(90, 150, 144, 0.08) 100%);
  overflow: hidden;
}

.hero-interactive::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(47, 87, 85, 0.04) 20px,
    rgba(47, 87, 85, 0.04) 22px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: clamp(1rem, 5vw, 4rem);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-sage);
  padding-bottom: var(--space-xs);
}

.hero-content h1 {
  margin-bottom: var(--space-md);
  max-width: 14ch;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--color-forest);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-deep);
  border: 1.5px solid var(--color-deep);
}

.btn-outline:hover {
  background: var(--color-deep);
  color: var(--color-white);
}

.hero-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  position: relative;
  z-index: 2;
  padding-right: clamp(1rem, 4vw, 3rem);
}

.hero-tile {
  background: var(--color-white);
  border: 1px solid rgba(90, 150, 144, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(90, 150, 144, 0.08));
  opacity: 0;
  transition: opacity var(--transition);
}

.hero-tile:hover,
.hero-tile.is-active {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-sage);
}

.hero-tile:hover::before,
.hero-tile.is-active::before {
  opacity: 1;
}

.hero-tile:nth-child(2) { margin-top: var(--space-lg); }
.hero-tile:nth-child(3) { margin-top: calc(var(--space-lg) * -0.5); }

.hero-tile i {
  font-size: 1.8rem;
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
  display: block;
}

.hero-tile h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.hero-tile p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin: 0;
  opacity: 0;
  max-height: 0;
  transition: opacity var(--transition), max-height var(--transition);
}

.hero-tile:hover p,
.hero-tile.is-active p {
  opacity: 1;
  max-height: 80px;
  margin-top: var(--space-xs);
}

.hero-detail {
  grid-column: 1 / -1;
  background: var(--color-forest);
  color: var(--color-mist);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-sm);
  min-height: 60px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  transition: opacity var(--transition);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header.asymmetric {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: end;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-xs);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-xl);
  align-items: center;
}

.philosophy-grid.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.philosophy-visual {
  position: relative;
}

.philosophy-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.philosophy-visual::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-sage);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.philosophy-text blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-deep);
  border-left: 3px solid var(--color-sage);
  padding-left: var(--space-md);
  margin: var(--space-md) 0;
}

.cadence-strip {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cadence-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cadence-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 8%;
}

.cadence-item:nth-child(even) {
  margin-left: 8%;
  margin-right: 0;
}

.cadence-item:hover {
  border-left-color: var(--color-sage);
  box-shadow: var(--shadow-soft);
}

.cadence-time {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-forest);
  font-weight: 600;
}

.cadence-item h3 {
  margin-bottom: var(--space-xs);
}

.features-offset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature-card {
  background: var(--color-white);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.feature-card:nth-child(2) {
  transform: translateY(var(--space-lg);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card:nth-child(2):hover {
  transform: translateY(calc(var(--space-lg) - 4px));
}

.feature-card i {
  font-size: 2rem;
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
}

.feature-card h3 {
  margin-bottom: var(--space-xs);
}

.path-visual {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.voices-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.voice-card {
  padding: var(--space-lg);
  background: linear-gradient(160deg, var(--color-mist) 0%, var(--color-white) 100%);
  border-radius: var(--radius-md);
  position: relative;
}

.voice-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-sage);
  opacity: 0.4;
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}

.voice-card p {
  font-style: italic;
  padding-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.voice-card cite {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: normal;
}

.map-section {
  background: var(--color-mist);
  padding: var(--space-2xl) 0;
}

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.map-info h2 {
  margin-bottom: var(--space-md);
}

.map-info address {
  font-style: normal;
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.map-info a {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 360px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.cta-band {
  background: var(--color-deep);
  color: var(--color-mist);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--color-mist);
  margin-bottom: var(--space-sm);
}

.cta-band p {
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

.cta-band .btn-primary {
  background: var(--color-sage);
}

.cta-band .btn-primary:hover {
  background: var(--color-mist);
  color: var(--color-deep);
}

.site-footer {
  background: var(--color-forest);
  color: var(--color-mist);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.footer-grid h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: var(--space-xs);
}

.footer-grid a {
  color: var(--color-mist);
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(224, 217, 217, 0.2);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.85rem;
  opacity: 0.8;
}

.page-hero {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-deep) 100%);
  color: var(--color-mist);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%235A9690' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  max-width: 55ch;
  opacity: 0.9;
}

.page-content {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
}

.contact-details {
  padding: var(--space-lg);
  background: var(--color-mist);
  border-radius: var(--radius-lg);
  align-self: start;
}

.contact-details h2 {
  margin-bottom: var(--space-md);
}

.contact-details p {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-deep);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(47, 87, 85, 0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(90, 150, 144, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #c44;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.error-msg {
  color: #a33;
  font-size: 0.82rem;
  margin-top: var(--space-xs);
  display: none;
}

.error-msg.visible {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.checkbox-group input {
  margin-top: 4px;
  accent-color: var(--color-forest);
}

.checkbox-group label {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid rgba(90, 150, 144, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-deep);
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(224, 217, 217, 0.3);
}

.faq-question i {
  color: var(--color-sage);
  transition: transform var(--transition);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--color-text-light);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.client-story {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--color-sage);
}

.client-story:nth-child(even) {
  margin-top: var(--space-lg);
}

.client-story h3 {
  margin-bottom: var(--space-xs);
}

.client-meta {
  font-size: 0.85rem;
  color: var(--color-sage);
  margin-bottom: var(--space-md);
}

.legal-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.legal-content h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: 1.15rem;
}

.legal-content ul {
  margin: var(--space-sm) 0 var(--space-sm) var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.thank-you-box {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  max-width: 560px;
  margin-inline: auto;
}

.thank-you-box i {
  font-size: 4rem;
  color: var(--color-sage);
  margin-bottom: var(--space-md);
}

.thank-you-box h1 {
  margin-bottom: var(--space-md);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-deep);
  color: var(--color-mist);
  padding: var(--space-md);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--color-sage);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.cookie-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.btn-cookie-accept {
  background: var(--color-sage);
  color: var(--color-white);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--color-mist);
  border: 1px solid var(--color-mist);
}

.btn-cookie-settings {
  background: transparent;
  color: var(--color-sage);
  border: 1px solid var(--color-sage);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(67, 35, 35, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-content h3 {
  margin-bottom: var(--space-md);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-mist);
}

.cookie-option label {
  font-weight: 500;
}

.cookie-option p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-sage);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  justify-content: flex-end;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-block: 1px solid rgba(90, 150, 144, 0.2);
  background: linear-gradient(180deg, rgba(224, 217, 217, 0.35) 0%, transparent 100%);
}

.trust-item {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(90, 150, 144, 0.25);
}

.trust-item i {
  font-size: 1.6rem;
  color: var(--color-sage);
  margin-bottom: var(--space-xs);
  display: block;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-deep);
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.disclaimer-band {
  background: rgba(67, 35, 35, 0.06);
  border-left: 4px solid var(--color-sage);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.disclaimer-band strong {
  color: var(--color-deep);
}

.geometric-divider {
  height: 48px;
  margin: var(--space-xl) auto;
  max-width: 200px;
  background: url("data:image/svg+xml,%3Csvg width='200' height='48' viewBox='0 0 200 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 24 L50 0 L100 24 L150 0 L200 24' fill='none' stroke='%235A9690' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='24' r='4' fill='%23432323'/%3E%3C/svg%3E") center no-repeat;
  opacity: 0.6;
}

.routine-builder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
  background: var(--color-white);
  border: 1px solid rgba(90, 150, 144, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.routine-builder::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: repeating-conic-gradient(from 0deg, transparent 0deg 15deg, rgba(90, 150, 144, 0.06) 15deg 30deg);
  border-radius: 50%;
  pointer-events: none;
}

.routine-days {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.routine-day-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: left;
  transition: background var(--transition), border-color var(--transition), padding-left var(--transition);
}

.routine-day-btn:hover,
.routine-day-btn.is-active {
  background: rgba(224, 217, 217, 0.4);
  border-left-color: var(--color-sage);
  padding-left: 1.25rem;
}

.routine-day-btn i {
  color: var(--color-sage);
}

.routine-preview {
  min-height: 220px;
  padding: var(--space-md);
  background: linear-gradient(145deg, var(--color-mist) 0%, var(--color-white) 100%);
  border-radius: var(--radius-md);
  transition: opacity 0.4s ease;
}

.routine-preview.is-switching {
  opacity: 0.4;
}

.routine-preview h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
}

.routine-preview ul {
  list-style: none;
  margin-top: var(--space-md);
}

.routine-preview li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: 0.92rem;
  color: var(--color-text-light);
}

.routine-preview li i {
  color: var(--color-sage);
  margin-top: 3px;
}

.interactive-tabs {
  margin-top: var(--space-lg);
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  border-bottom: 2px solid var(--color-mist);
  margin-bottom: var(--space-lg);
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sage);
  transition: width var(--transition);
}

.tab-btn:hover,
.tab-btn.is-active {
  color: var(--color-deep);
}

.tab-btn.is-active::after {
  width: 100%;
  animation: lineGrow 0.35s ease;
}

.tab-panel {
  display: none;
  animation: revealUp 0.5s ease;
  padding: var(--space-md);
  background: var(--color-white);
  border: 1px solid rgba(90, 150, 144, 0.15);
  border-radius: var(--radius-md);
}

.tab-panel.is-active {
  display: block;
}

.tab-panel > p:first-child {
  margin-top: 0;
}

.tab-panel h3 {
  margin-bottom: var(--space-sm);
}

.tab-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
  align-items: center;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}

.stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--color-sage);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--color-forest);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-card.is-counted .stat-number {
  animation: countPulse 0.6s ease;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.pricing-card {
  padding: var(--space-lg);
  background: var(--color-white);
  border: 1px solid rgba(90, 150, 144, 0.2);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-sage);
}

.pricing-card.featured {
  border-color: var(--color-sage);
  background: linear-gradient(180deg, rgba(90, 150, 144, 0.08) 0%, var(--color-white) 40%);
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  right: var(--space-md);
  background: var(--color-sage);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--color-deep);
  margin: var(--space-sm) 0;
}

.pricing-amount small {
  font-size: 1rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
}

.pricing-features {
  list-style: none;
  margin: var(--space-md) 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text-light);
}

.pricing-features i {
  color: var(--color-sage);
  margin-top: 3px;
}

.nz-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.nz-highlight-card {
  padding: var(--space-lg);
  background: var(--color-forest);
  color: var(--color-mist);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.nz-highlight-card:nth-child(2) {
  transform: translateY(var(--space-md);
  background: var(--color-deep);
}

.nz-highlight-card:hover {
  transform: translateY(-4px);
}

.nz-highlight-card:nth-child(2):hover {
  transform: translateY(calc(var(--space-md) - 4px));
}

.nz-highlight-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(224, 217, 217, 0.15);
  transform: rotate(45deg);
}

.nz-highlight-card h3 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
}

.nz-highlight-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.office-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.office-hours-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px dashed rgba(90, 150, 144, 0.3);
  font-size: 0.92rem;
}

.response-promise {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-deep) 100%);
  color: var(--color-mist);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.response-promise i {
  font-size: 2.5rem;
  color: var(--color-sage);
  flex-shrink: 0;
}

.response-promise h3 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.response-promise p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.9;
}

.testimonial-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: var(--space-md);
  font-style: italic;
}

.footer-disclaimer {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: var(--space-sm);
  line-height: 1.5;
  max-width: 36ch;
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-tile {
  animation: floatSoft 6s ease-in-out infinite;
}

.hero-tile:nth-child(2) { animation-delay: 1s; }
.hero-tile:nth-child(3) { animation-delay: 2s; }
.hero-tile:nth-child(4) { animation-delay: 3s; }

.section-pattern-edge {
  position: relative;
}

.section-pattern-edge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(180deg, var(--color-sage) 0 12px, transparent 12px 24px);
  opacity: 0.4;
}

.values-orbit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.value-orbit-item {
  padding: var(--space-md);
  border: 1px solid rgba(90, 150, 144, 0.2);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition);
}

.value-orbit-item:hover {
  border-color: var(--color-sage);
  background: rgba(224, 217, 217, 0.2);
}

.value-orbit-item i {
  font-size: 1.5rem;
  color: var(--color-sage);
  margin-bottom: var(--space-xs);
}

.accessibility-checklist {
  list-style: none;
}

.accessibility-checklist li {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-mist);
}

.accessibility-checklist i {
  color: var(--color-sage);
  margin-top: 3px;
}

.next-steps-list {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: var(--space-lg) auto;
}

.next-steps-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.next-steps-list i {
  color: var(--color-sage);
}

.pricing-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-top: var(--space-md);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.contact-form-wrap {
  padding: var(--space-lg);
  background: var(--color-white);
  border: 1px solid rgba(90, 150, 144, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-form-wrap h2 {
  margin-bottom: var(--space-sm);
}

.page-content .philosophy-grid,
.page-content .values-orbit,
.page-content .nz-highlight-grid,
.page-content .stats-row,
.page-content .clients-grid,
.page-content .interactive-tabs,
.page-content .faq-list {
  margin-top: var(--space-md);
}

.page-content .section-header {
  margin-top: var(--space-xl);
}

.page-content .section-header:first-child {
  margin-top: 0;
}

.legal-content address {
  font-style: normal;
  line-height: 1.8;
  margin: var(--space-sm) 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  font-size: 0.92rem;
}

.legal-content th,
.legal-content td {
  padding: var(--space-sm);
  border: 1px solid rgba(90, 150, 144, 0.25);
  text-align: left;
}

.legal-content th {
  background: rgba(224, 217, 217, 0.4);
  color: var(--color-deep);
  font-weight: 600;
}

/* Responsive — must stay after all base component styles */
@media (min-width: 1025px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding-right: var(--space-md);
  }

  .header-inner {
    flex: 0 1 auto;
    max-width: none;
    padding-right: 0;
  }

  .nav-full {
    flex: 0 0 auto;
    padding-right: var(--space-sm);
  }
}

@media (max-width: 1024px) {
  .hero-interactive {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--space-xl) var(--space-md);
  }

  .hero-content {
    padding-left: 0;
  }

  .hero-tiles {
    padding-right: 0;
  }

  .philosophy-grid,
  .philosophy-grid.reverse,
  .map-wrapper,
  .contact-layout,
  .section-header.asymmetric {
    grid-template-columns: 1fr;
  }

  .features-offset,
  .stats-row,
  .pricing-row,
  .nz-highlight-grid,
  .values-orbit,
  .routine-builder,
  .tab-panel-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(2),
  .feature-card:nth-child(2):hover {
    transform: none;
  }

  .nz-highlight-card,
  .nz-highlight-card:nth-child(2),
  .nz-highlight-card:nth-child(2):hover {
    transform: none;
  }

  .nz-highlight-card:hover {
    transform: translateY(-4px);
  }

  .voices-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cadence-item:nth-child(odd),
  .cadence-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2)::after {
    display: none;
  }

  .response-promise {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .section-pattern-edge .container {
    padding-left: var(--space-md);
  }

  .header-inner {
    position: relative;
    z-index: 2;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
    min-height: 60px;
  }

  .site-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-left: auto;
  }

  .brand {
    font-size: 1.1rem;
    min-width: 0;
    flex: 1;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100vw - 120px);
  }

  .nav-full {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.35s;
    background: #243f3e;
    border-top: 0 solid rgba(90, 150, 144, 0.3);
  }

  .nav-full.open {
    max-height: 360px;
    opacity: 1;
    visibility: visible;
    border-top-width: 1px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .nav-full a {
    display: block;
    padding: 0.9rem var(--space-md);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-mist);
    border-bottom: 1px solid rgba(224, 217, 217, 0.1);
    transition: background var(--transition), color var(--transition);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-full a::after {
    display: none;
  }

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

  .nav-full a:hover,
  .nav-full a:active {
    background: rgba(90, 150, 144, 0.2);
    color: var(--color-white);
  }

  .nav-full a.active {
    background: rgba(90, 150, 144, 0.35);
    color: var(--color-white);
    border-left: 3px solid var(--color-sage);
    padding-left: calc(var(--space-md) - 3px);
  }
}

@media (max-width: 768px) {
  .voices-row,
  .clients-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .client-story:nth-child(even) {
    margin-top: 0;
  }

  .hero-tile:nth-child(2),
  .hero-tile:nth-child(3) {
    margin-top: 0;
  }

  .hero-tiles {
    grid-template-columns: 1fr;
  }

  .cadence-item {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .cadence-time {
    font-size: 1.25rem;
  }

  .office-hours-grid {
    grid-template-columns: 1fr;
  }

  .tab-nav {
    flex-direction: column;
    border-bottom: none;
    gap: 0;
  }

  .tab-btn {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--color-mist);
  }

  .tab-btn::after {
    display: none;
  }

  .tab-btn.is-active {
    background: rgba(224, 217, 217, 0.35);
    color: var(--color-forest);
  }

  .disclaimer-band {
    padding: var(--space-md);
    margin: var(--space-md) 0;
  }

  .footer-disclaimer {
    max-width: none;
  }

  .contact-form-wrap {
    padding: var(--space-md);
  }

  .routine-builder {
    padding: var(--space-md);
  }
}

@media (max-width: 576px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 2.5rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-item::after {
    display: none;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .pricing-amount {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .routine-day-btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
  }

  .map-embed iframe {
    height: 280px;
  }

  .page-hero {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .contact-details {
    padding: var(--space-md);
  }

  .pricing-card.featured::before {
    right: var(--space-sm);
    font-size: 0.7rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    justify-content: center;
    margin-left: 0 !important;
  }
}

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

  body.pattern-bg-animated {
    animation: none;
  }

  .hero-tile {
    animation: none;
  }
}
