/* Organic — wellness, yoga, natural care. Earth tones and soft shapes.
   Personality: Fraunces type, terracotta and olive on warm sand, soft blobs
   behind the intro, a faint paper grain, pill buttons, arched portraits, a
   hand-drawn stroke under each title.
   :root is the full palette a tenant gets before choosing colors.
   Sections: centered titles, rounded cards on the warm page. */
:root {
  --primary: #b4532a;
  --primary-foreground: #fffaf3;
  --primary-text: #9a4421;
  --background: #f3ece1;
  --foreground: #2f2a24;
  --card: #faf6ef;
  --card-foreground: #2f2a24;
  --popover: #faf6ef;
  --popover-foreground: #2f2a24;
  --muted: #e9dfd0;
  --muted-foreground: #6b5f52;
  --secondary: #e9dfd0;
  --secondary-foreground: #2f2a24;
  --brand-accent: #5f6f3a;
  --brand-accent-foreground: #fffaf3;
  --brand-accent-text: #4f5d2f;
  --accent-surface: #eadfcc;
  --border: #dccfbc;
  --input: #b3a48f;
  --ring: #b4532a;
  --destructive: #a3301f;
  --font-family: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 1.25rem;
  color-scheme: light;
}

body.tpl-organic {
  --title-weight: 500;
  --title-tracking: -0.01em;
  --title-size: clamp(1.6rem, 3vw, 2.2rem);
  --display-size: clamp(2.1rem, 4.8vw, 3.2rem);
  --hero-size: clamp(2.6rem, 6.4vw, 4.6rem);
  --stage-size: clamp(2.9rem, 7.6vw, 5.2rem);
  --soft-surface: var(--muted);
  --card-pad: 1.5rem 1.6rem;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 0 0.14 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* A brush stroke, drawn in the accent through a mask. */
  --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8c18-5 38-6 58-4s40 3 58-2' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-image: var(--grain);
  font-optical-sizing: auto;
}

body.tpl-organic h1,
body.tpl-organic h2,
body.tpl-organic h3 {
  font-weight: 500;
  letter-spacing: -0.015em;
}

body.tpl-organic .site-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}

body.tpl-organic .brand {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

body.tpl-organic .nav-links a:not(.cta) {
  color: var(--muted-foreground);
  font-weight: 500;
}

body.tpl-organic .nav-links a:not(.cta):hover {
  color: var(--foreground);
}

/* Soft pill buttons. */
body.tpl-organic .cta,
body.tpl-organic [data-slot="button"]:is([data-variant="default"], [data-variant="outline"]),
body.tpl-organic [data-chip],
body.tpl-organic [data-chip-tail],
body.tpl-organic button[data-wizard="more"] {
  border-radius: 999px;
}

body.tpl-organic .cta {
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  transition: transform 160ms ease, filter 160ms ease;
}

body.tpl-organic .cta-lg {
  padding: 0.85rem 1.7rem;
}

body.tpl-organic .cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

body.tpl-organic .hero-link {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
}

body.tpl-organic .card,
body.tpl-organic [data-slot="card"] {
  border-color: var(--border);
  border-radius: var(--radius);
}

body.tpl-organic .team-card {
  border-color: var(--border);
  border-radius: var(--radius);
}

/* Two soft blobs of the brand colors drift behind the intro. */
body.tpl-organic .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.tpl-organic .hero:is(.hero-split, .hero-centered, .hero-image-side)::before,
body.tpl-organic .hero:is(.hero-split, .hero-centered, .hero-image-side)::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  filter: blur(36px);
  pointer-events: none;
}

body.tpl-organic .hero:is(.hero-split, .hero-centered, .hero-image-side)::before {
  height: 70%;
  max-width: 40vw;
  aspect-ratio: 1;
  top: 14%;
  right: 3%;
  background: color-mix(in srgb, var(--primary) 30%, transparent);
}

body.tpl-organic .hero:is(.hero-split, .hero-centered, .hero-image-side)::after {
  height: 56%;
  max-width: 34vw;
  aspect-ratio: 1.15;
  bottom: 14%;
  left: 2%;
  border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
  background: color-mix(in srgb, var(--brand-accent) 28%, transparent);
}

body.tpl-organic .hero h1 {
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

body.tpl-organic .hero h1 em,
body.tpl-organic .display em {
  font-style: italic;
  color: var(--primary-text);
}

body.tpl-organic .hero-band {
  border-radius: 0 0 calc(var(--radius) * 2.5) calc(var(--radius) * 2.5);
}

body.tpl-organic .hero-figure img {
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
}

body.tpl-organic .hero-image-cover {
  border-radius: 0 0 calc(var(--radius) * 2.5) calc(var(--radius) * 2.5);
}

/* A brush stroke under each title. */
body.tpl-organic .section-head {
  position: relative;
  padding-bottom: 1.35rem;
}

body.tpl-organic .section-head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4.5rem;
  height: 0.6rem;
  background: var(--primary);
  -webkit-mask: var(--stroke) center / 100% 100% no-repeat;
  mask: var(--stroke) center / 100% 100% no-repeat;
}

body.tpl-organic .align-center .section-head::after {
  left: calc(50% - 2.25rem);
}

body.tpl-organic .bg-brand .section-head::after {
  background: currentColor;
}

body.tpl-organic .sec-heading.v-divider .display::after {
  width: 5rem;
  height: 0.65rem;
  border-radius: 0;
  background: var(--primary);
  -webkit-mask: var(--stroke) center / 100% 100% no-repeat;
  mask: var(--stroke) center / 100% 100% no-repeat;
}

body.tpl-organic .bg-brand .sec-heading.v-divider .display::after,
body.tpl-organic .sec-heading.bg-brand.v-divider .display::after {
  background: currentColor;
}

body.tpl-organic .eyebrow {
  color: var(--brand-accent-text);
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.tpl-organic .section-more {
  font-style: italic;
  font-weight: 500;
}

/* Soft bands curve at their ends, like a pebble. */
body.tpl-organic .landing > .sec.bg-soft,
body.tpl-organic .landing > .sec.bg-brand {
  border-radius: calc(var(--radius) * 2.5);
  width: min(calc(var(--page-width) + 6rem), calc(100% - 2 * var(--gutter) + 2rem));
  margin-inline: auto;
}

body.tpl-organic .landing > .sec:not(.bg-none) > .sec-inner {
  width: min(var(--page-width), calc(100% - 2rem));
}

body.tpl-organic .landing > .sec:not(.bg-none) + .sec:not(.bg-none) {
  margin-top: 1rem;
}

body.tpl-organic .landing > .bg-soft + .bg-soft,
body.tpl-organic .landing > .bg-brand + .bg-brand {
  padding-top: var(--section-gap);
}

body.tpl-organic main.main-flush:has(> .landing > .sec:last-child:not(.bg-none)) {
  padding-bottom: var(--section-gap);
}

body.tpl-organic .bg-brand {
  --band: var(--brand-accent);
  --band-ink: var(--brand-accent-foreground);
}

body.tpl-organic .bg-soft :is(.card, .sec-team:not(.v-portrait) .team-card) {
  background: var(--card);
}

/* Portraits are arched; small photos are soft pebbles. */
body.tpl-organic .sec-team.v-portrait .team-avatar {
  border-radius: 999px 999px var(--radius) var(--radius);
}

body.tpl-organic .sec-team:not(.v-portrait) .team-avatar {
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
}

body.tpl-organic .team-name,
body.tpl-organic .service-body h3,
body.tpl-organic .post-card h3,
body.tpl-organic .loc-card h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.tpl-organic .price {
  color: var(--brand-accent-text);
  font-weight: 600;
}

body.tpl-organic .prose {
  font-size: 1.1rem;
}

body.tpl-organic .site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted) 60%, transparent);
}

body.tpl-organic .footer-name {
  font-size: 1.35rem;
  font-weight: 600;
}

body.tpl-organic .social-link {
  border-color: var(--input);
  color: var(--foreground);
}

@media (max-width: 899px) {
  body.tpl-organic .nav-links {
    background: var(--background);
  }
}
