:root {
  --bg: #fcfafa;
  --surface: rgba(255, 255, 255, 0.78);
  --ink: #2f2b36;
  --muted: #6b6573;
  --line: #ece5e8;
  --sage: #5f7d66;
  --sage-soft: #eef3ee;
  --petal: #e8b9c3;
  --error: #b3413f;
  --flowers-opacity: 0.25;

  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1d1b21;
    --surface: rgba(38, 35, 43, 0.82);
    --ink: #eeeaf0;
    --muted: #aaa3b2;
    --line: #36323c;
    --sage: #9dbba4;
    --sage-soft: #2a3129;
    --petal: #c793a0;
    --error: #e58a86;
    --flowers-opacity: 0.15;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1d1b21;
  --surface: rgba(38, 35, 43, 0.82);
  --ink: #eeeaf0;
  --muted: #aaa3b2;
  --line: #36323c;
  --sage: #9dbba4;
  --sage-soft: #2a3129;
  --petal: #c793a0;
  --error: #e58a86;
  --flowers-opacity: 0.15;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  position: relative;
}

/* Very faint lotus photo background: the whole photo fitted to the screen,
   with a blurred copy filling the space on either side */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: var(--flowers-opacity);
  filter: saturate(0.75);
  pointer-events: none;
}

.bg-fill,
.bg-photo {
  position: absolute;
  inset: 0;
  background-image: url("assets/lotus.png");
  background-repeat: no-repeat;
  background-position: center;
}

.bg-fill {
  background-size: cover;
  filter: blur(28px);
  transform: scale(1.15);
}

.bg-photo {
  background-size: contain;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-inline: 20px;
}

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

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0;
}

/* Header & logo */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 56px;
  height: 56px;
  flex: none;
}

.logo-ring { fill: var(--sage-soft); }
.logo-petals { fill: var(--petal); }
.logo-center { fill: var(--sage); }

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage);
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

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

/* Hero */
.hero {
  padding-block: 72px 56px;
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.lead {
  margin: 20px 0 0;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

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

.btn-primary:hover {
  background: var(--ink);
}

.btn-quiet {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
}

.btn-quiet:hover {
  border-color: var(--sage);
}

/* Sections */
.section {
  padding-block: 48px;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.section > p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.service h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.price {
  color: var(--ink);
  font-weight: 600;
}

.pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 28px;
}

.pricing p {
  margin: 0;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.pricing-amount strong {
  font-weight: 400;
  color: var(--sage);
}

.pricing-note {
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px 48px;
  align-items: start;
  margin-top: 28px;
}

.form {
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

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

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage);
}

.form .is-invalid {
  border-color: var(--error);
}

.form .btn {
  justify-self: start;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.form .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.95rem;
  color: var(--sage);
}

.form-status.is-error {
  color: var(--error);
}

/* Honeypot field for bots; hidden from people */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 0;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.contact-list dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px 40px;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 560px) {
  .hero {
    padding-block: 40px 40px;
  }
  .logo-tag {
    font-size: 0.64rem;
  }
}

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