[data-theme="serene"] {
  --navy: #1a2a3c;
  --navy-light: #2a3f56;
  --navy-deep: #0f1c2a;
  --gold: #c4a882;
  --gold-light: #d9c9a8;
  --gold-dark: #a88d6a;
  --cream: #f7f5f2;
  --cream-dark: #ebe7e1;
  --white: #ffffff;
  --text: #3d4a57;
  --text-muted: #6b7785;
  --border: rgba(26, 42, 60, 0.08);
  --border-strong: rgba(26, 42, 60, 0.14);
  --shadow-sm: 0 2px 8px rgba(26, 42, 60, 0.04);
  --shadow: 0 12px 40px rgba(26, 42, 60, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 42, 60, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --header-height: 88px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(196, 168, 130, 0.35);
  color: var(--navy);
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

/* Skip link */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(247, 245, 242, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
  transition: min-height var(--duration) var(--ease-out);
}

.site-header.is-scrolled .header-inner {
  min-height: 72px;
}

.logo {
  width: clamp(140px, 18vw, 200px);
  transition: width var(--duration) var(--ease-out);
}

.site-header.is-scrolled .logo {
  width: clamp(120px, 16vw, 170px);
}

.logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wordmark {
  display: none;
}

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

/* Theme visibility */

.theme-only-garden {
  display: none !important;
}

.theme-only-serene {
  display: block;
}

.hero-highlight {
  font-style: italic;
}

[data-theme="serene"] .hero-highlight {
  color: var(--navy);
}

/* Theme switcher */

.theme-switcher {
  display: inline-flex;
  padding: 3px;
  background: rgba(26, 42, 60, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  gap: 2px;
}

.theme-switcher-btn {
  padding: 0.38rem 0.6rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.theme-switcher-btn:hover {
  color: var(--navy);
}

.theme-switcher-btn.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* Garden palette switcher */

.palette-switcher {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 3px;
  background: rgba(26, 42, 60, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
}

[data-theme="garden"] .palette-switcher {
  display: inline-flex;
}

.palette-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem 0.3rem 0.35rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.palette-btn:hover {
  color: var(--navy);
}

.palette-btn.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.palette-swatch {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--swatch-a) 50%, var(--swatch-b) 50%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.palette-name {
  display: none;
}

@media (min-width: 900px) {
  .palette-name {
    display: inline;
  }

  .palette-btn {
    padding: 0.35rem 0.65rem 0.35rem 0.4rem;
    font-size: 0.65rem;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-out);
}

.nav a:hover,
.nav a.is-active {
  color: var(--navy);
}

.nav a.is-active::after,
.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy) !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--cream) !important;
  border-color: var(--navy);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease;
}

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

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

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

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem 1.25rem;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.35s var(--ease-out),
    opacity 0.25s ease,
    padding 0.35s var(--ease-out);
}

.mobile-nav.is-open {
  max-height: 320px;
  opacity: 1;
  padding: 0.5rem 1.25rem 1.25rem;
}

.mobile-nav[hidden] {
  display: flex;
}

.mobile-nav a {
  padding: 0.85rem 0.5rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--gold-dark);
  padding-left: 0.75rem;
}

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

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4.5rem, 11vw, 8rem);
  background:
    radial-gradient(ellipse 80% 60% at 90% 40%, rgba(196, 168, 130, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26, 42, 60, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(26, 42, 60, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 0 0 1.35rem;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.hero-text {
  margin: 0 0 2.25rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 48ch;
}

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

.hero-accent {
  position: absolute;
  right: clamp(-1rem, 2vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 30vw, 360px);
  color: var(--gold);
  opacity: 0.4;
  pointer-events: none;
  animation: gentle-float 8s ease-in-out infinite;
}

.hero-accent svg {
  width: 100%;
  height: auto;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 12px)) rotate(2deg); }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s var(--ease-out),
    box-shadow 0.25s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(26, 42, 60, 0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(26, 42, 60, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy);
  border-color: var(--border-strong);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Scroll reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* Sections */

.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.section h2,
.contact-intro h2,
.split-content h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section-intro {
  margin: 0 auto;
  max-width: 54ch;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* About */

.about {
  background: var(--white);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 2.5rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.split-content p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.values-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.values-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(196, 168, 130, 0.3);
}

.value-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--white);
  border-radius: 10px;
  color: var(--gold-dark);
  border: 1px solid var(--border);
}

.value-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.value-body {
  flex: 1;
  min-width: 0;
}

.value-title {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
  color: var(--navy);
}

.value-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* About me */

.about-me {
  background: var(--cream);
  position: relative;
}

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

.about-me-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-me-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-me-photo.is-placeholder img {
  display: none;
}

.about-me-photo-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  height: 100%;
  min-height: 360px;
  color: var(--text-muted);
  background:
    radial-gradient(circle at 30% 25%, rgba(196, 168, 130, 0.15) 0%, transparent 50%),
    var(--cream-dark);
}

.about-me-photo.is-placeholder .about-me-photo-placeholder {
  display: flex;
}

.about-me-photo-placeholder svg {
  width: 3.5rem;
  height: 3.5rem;
  opacity: 0.35;
}

.about-me-photo-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-me-content h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
}

.about-me-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--navy);
  margin: 0 0 1.15rem;
}

.about-me-content p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-me-content p:last-child {
  margin-bottom: 0;
}

/* Approach */

.approach {
  background: var(--cream);
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 168, 130, 0.25);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  background: rgba(196, 168, 130, 0.12);
  border-radius: 8px;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Location */

.location {
  background: var(--cream);
}

.location-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.location-card,
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.location-card:hover,
.map-card:hover {
  box-shadow: var(--shadow-lg);
}

.location-card {
  background: var(--white);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.location-details h3 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--navy);
}

.location-details address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 1rem;
}

.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.location-tag svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--gold-dark);
}

.location-note {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.location-btn {
  width: 100%;
}

.map-card {
  min-height: 320px;
  background: var(--cream-dark);
  position: relative;
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(26, 42, 60, 0.06);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}

/* Contact */

.contact {
  background: var(--white);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 2.5rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.contact-intro p {
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-details {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-details p {
  margin: 0;
}

.contact-details strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.contact-details a {
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #9aa5b1;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.22);
}

.form-row textarea {
  resize: vertical;
  min-height: 130px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-note {
  margin: 1rem 0 0;
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.form-note.success {
  color: #2d6a4f;
  font-weight: 500;
}

.form-note.error {
  color: #9b2226;
}

/* Footer */

.site-footer {
  position: relative;
  padding: 3.5rem 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(247, 245, 242, 0.85);
  text-align: center;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 168, 130, 0.4), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(196, 168, 130, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-logo {
  width: 120px;
  margin: 0 auto 0.85rem;
  filter: brightness(1.1);
  opacity: 0.95;
}

.footer-tagline {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(247, 245, 242, 0.45);
}

/* Responsive */

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

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

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

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .about-me-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .about-me-photo {
    margin-inline: auto 0;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .location-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }

  .location-btn {
    width: auto;
  }

  .map-card {
    min-height: 420px;
  }

  .map-card iframe {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .hero-accent {
    right: -3rem;
    top: auto;
    bottom: 0;
    transform: none;
    opacity: 0.18;
    animation: none;
  }

  .theme-switcher-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.65rem;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 55%;
  }

  .palette-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
  }
}

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

  .btn:hover,
  .card:hover,
  .values-list li:hover {
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-accent {
    animation: none;
  }

  .mobile-nav {
    transition: none;
  }
}
