/*
Theme Name: Novaréne
Theme URI: https://novarene.com/
Update URI: https://novarene.com/
Author: Novaréne Aesthetics
Author URI: https://novarene.com/
Description: A calm, editorial block theme created for Novaréne Aesthetics. Built entirely with WordPress core blocks for a fast, accessible, quietly luxurious experience.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Version: 1.2.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novarene
Tags: block-patterns, full-site-editing, accessibility-ready, custom-colors, custom-logo, editor-style, one-column, wide-blocks
*/

/*
 * Novaréne design system
 * ----------------------
 * WordPress exposes the palette and type tokens in theme.json. This sheet
 * adds the fine-grained interaction, responsive and editorial treatments
 * that are not yet practical to express in theme.json alone.
 */

@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2-variations");
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  src: url("./assets/fonts/cormorant-garamond-latin.woff2") format("woff2-variations");
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  src: url("./assets/fonts/cormorant-garamond-latin-italic.woff2") format("woff2-variations");
}

html {
  scroll-behavior: smooth;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/*
 * Preserve whole words in editorial typography. WordPress core supplies an
 * emergency `overflow-wrap: break-word` rule for headings; in narrow cards it
 * can split words such as "consultation" and "conversations". Let headings
 * wrap only at natural opportunities and use the browser's improved line
 * balancing where available.
 */
body :is(h1, h2, h3, h4, h5, h6, .wp-block-heading, .wp-block-post-title) {
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

body :is(p, li, blockquote, figcaption, summary) {
  text-wrap: pretty;
}

body :is(button, .wp-element-button, .wp-block-navigation-item__content) {
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

/* Email addresses are the intentional exception: they may wrap safely on the
 * smallest screens rather than forcing their container beyond the viewport. */
body a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

body.admin-bar .site-header-shell {
  top: 32px;
}

::selection {
  background: var(--wp--preset--color--soft-sage);
  color: var(--wp--preset--color--deep-olive);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--wp--preset--color--terracotta);
  outline-offset: 4px;
}

:where(.has-deep-olive-background-color, .has-olive-background-color)
  :where(a, button, input, textarea, select, summary):focus-visible {
  outline-color: var(--wp--preset--color--ivory);
}

a,
.wp-element-button {
  transition: color 180ms ease, background-color 180ms ease,
    border-color 180ms ease, opacity 180ms ease, transform 180ms ease,
    box-shadow 180ms ease;
}

.wp-site-blocks {
  overflow: clip;
}

.site-main {
  min-height: 55vh;
}

/* WordPress flow layout adds its global block gap between every full-width
 * section. Individual Novaréne sections already own their vertical rhythm,
 * so that extra margin reads as an unintended blank strip. */
.site-main > * + * {
  margin-block-start: 0 !important;
}

.skip-link {
  background: var(--wp--preset--color--deep-olive);
  border-radius: var(--wp--custom--radius--control);
  color: var(--wp--preset--color--ivory);
  font-size: 0.85rem;
  font-weight: 700;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
  z-index: 10000;
}

.skip-link:focus {
  color: var(--wp--preset--color--ivory);
  transform: translateY(0);
}

.section-shell {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.section-shell--compact {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.content-narrow {
  max-width: 690px !important;
}

.is-style-eyebrow,
.eyebrow {
  color: var(--wp--preset--color--olive);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.is-style-eyebrow.has-ivory-color,
.eyebrow.has-ivory-color {
  color: var(--wp--preset--color--ivory);
}

.is-style-framed {
  border: 1px solid var(--wp--preset--color--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Header */
.site-header-shell {
  background: color-mix(in srgb, var(--wp--preset--color--ivory) 92%, transparent);
  border-bottom: 1px solid var(--wp--preset--color--line);
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header-bar {
  min-height: 84px;
}

.site-brand-lockup {
  flex-shrink: 0;
  line-height: 0;
}

.site-brand-lockup .wp-block-shortcode {
  margin: 0;
}

.novarene-brand-logo {
  display: block;
  width: clamp(280px, 18vw, 340px);
}

.novarene-brand-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.novarene-brand-logo:hover {
  opacity: 0.84;
}

.primary-navigation {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-navigation .wp-block-navigation-item__content {
  padding-block: 0.8rem;
}

.primary-navigation .wp-block-navigation-item__content:hover,
.primary-navigation .current-menu-item > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--olive);
}

.header-booking-button .wp-element-button {
  padding: 0.78rem 1.25rem;
  white-space: nowrap;
}

/* Buttons */
.wp-block-button .wp-element-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
}

.wp-block-button:not(.is-style-outline) .wp-element-button:hover {
  background: var(--wp--preset--color--deep-olive);
  box-shadow: var(--wp--preset--shadow--soft);
  color: var(--wp--preset--color--white);
  transform: translateY(-2px);
}

.wp-block-button.is-style-outline .wp-element-button:hover {
  background: var(--wp--preset--color--deep-olive);
  border-color: var(--wp--preset--color--deep-olive);
  color: var(--wp--preset--color--ivory);
}

/* Hero */
.novarene-hero {
  background-image: radial-gradient(
    circle at 84% 36%,
    color-mix(in srgb, var(--wp--preset--color--blush) 44%, transparent) 0%,
    transparent 36%
  );
  isolation: isolate;
  min-height: min(720px, calc(92svh - 84px));
  overflow: hidden;
  position: relative;
}

.novarene-hero::before,
.novarene-hero::after {
  border: 1px solid transparent;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.novarene-hero::before {
  border-color: color-mix(in srgb, var(--wp--preset--color--blush) 72%, transparent);
  height: min(58vw, 740px);
  right: -18vw;
  top: -22vw;
  width: min(58vw, 740px);
}

.novarene-hero::after {
  border-color: color-mix(in srgb, var(--wp--preset--color--soft-sage) 72%, transparent);
  bottom: -28vw;
  height: min(48vw, 620px);
  left: -16vw;
  width: min(48vw, 620px);
}

.novarene-hero-inner {
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
  position: relative;
}

.novarene-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  max-width: 900px;
}

.novarene-hero-layout {
  align-items: center;
}

.novarene-hero-content {
  position: relative;
  z-index: 2;
}

.novarene-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.novarene-hero-image {
  margin: 0;
  position: relative;
  width: min(100%, 430px);
}

.novarene-hero-image img {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 220px 220px var(--wp--custom--radius--image) var(--wp--custom--radius--image);
  box-shadow: var(--wp--preset--shadow--soft);
  display: block;
  height: auto;
  object-fit: cover;
  object-position: 67% center;
  width: 100%;
}

.novarene-hero-image figcaption {
  color: var(--wp--preset--color--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  margin-top: 0.65rem;
  text-align: center;
  text-transform: uppercase;
}

.novarene-hero-copy {
  color: var(--wp--preset--color--charcoal);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.75;
  max-width: 650px;
}

.hero-proof-row {
  border-top: 1px solid var(--wp--preset--color--line);
  margin-top: clamp(2.25rem, 5vw, 4rem);
  padding-top: 1.5rem;
}

.hero-proof-item {
  color: var(--wp--preset--color--olive);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Treatment grid */
.treatment-grid {
  align-items: stretch;
  display: grid !important;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.treatment-grid > .wp-block-column {
  display: flex;
  min-width: 0;
}

.treatment-card {
  background: color-mix(in srgb, var(--wp--preset--color--white) 84%, var(--wp--preset--color--blush));
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 485px;
  overflow: hidden;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
}

.treatment-card::after {
  background: var(--wp--preset--color--terracotta);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
  width: 100%;
}

.treatment-card:hover,
.treatment-card:focus-within {
  border-color: color-mix(in srgb, var(--wp--preset--color--terracotta) 45%, transparent);
  box-shadow: var(--wp--preset--shadow--soft);
  transform: translateY(-4px);
}

.treatment-card:hover::after,
.treatment-card:focus-within::after {
  transform: scaleX(1);
}

.treatment-card > :where(.treatment-card__media, .treatment-card__body, .treatment-feature-layout) {
  margin-block: 0;
}

.treatment-card__media {
  aspect-ratio: 3 / 2;
  background: color-mix(in srgb, var(--wp--preset--color--blush) 72%, var(--wp--preset--color--soft-sage));
  line-height: 0;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.treatment-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.treatment-card__body {
  align-content: space-between;
  display: grid;
  flex: 1;
  min-height: 250px;
  width: 100%;
}

.treatment-card__body > .wp-block-group {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.treatment-index {
  color: var(--wp--preset--color--terracotta);
  font-family: var(--wp--preset--font-family--display);
  font-size: 1rem;
  font-style: italic;
}

.treatment-card h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  margin-top: auto;
}

.treatment-card a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.treatment-card--featured {
  background: linear-gradient(
    110deg,
    color-mix(in srgb, var(--wp--preset--color--white) 72%, var(--wp--preset--color--blush)),
    color-mix(in srgb, var(--wp--preset--color--white) 78%, var(--wp--preset--color--soft-sage))
  );
  margin-top: 1rem;
  min-height: 300px;
}

.treatment-card--featured > .wp-block-columns {
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  width: 100%;
}

.treatment-feature-media {
  align-self: stretch;
}

.treatment-card--featured .treatment-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 300px;
}

.treatment-feature-copy {
  display: flex;
}

.treatment-card__body--featured {
  align-content: center;
  min-height: 100%;
}

.treatment-card--featured h3,
.treatment-card--featured p {
  margin-bottom: 0;
}

.treatment-feature-action {
  text-align: right;
}

/* Cherry financing */
.financing-section {
  padding-block-start: 0;
}

.financing-callout {
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--wp--preset--color--white) 76%, var(--wp--preset--color--blush)),
    color-mix(in srgb, var(--wp--preset--color--white) 86%, var(--wp--preset--color--soft-sage))
  );
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
  box-shadow: var(--wp--preset--shadow--soft);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}

.financing-callout::after {
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--terracotta) 24%, transparent);
  border-radius: 50%;
  content: "";
  height: 19rem;
  pointer-events: none;
  position: absolute;
  right: -9rem;
  top: -13rem;
  width: 19rem;
}

.financing-callout > * {
  position: relative;
  z-index: 1;
}

.financing-callout h2,
.financing-microcallout h3 {
  margin-bottom: 0;
}

.financing-callout__action > p:first-child {
  max-width: 540px;
}

.financing-disclosure {
  color: var(--wp--preset--color--muted);
  font-size: 0.72rem;
  line-height: 1.55;
  margin-top: 1.25rem;
}

.financing-microcallout {
  background: color-mix(in srgb, var(--wp--preset--color--white) 84%, var(--wp--preset--color--blush));
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.financing-microcallout .is-style-eyebrow {
  margin-bottom: 0.6rem;
}

.financing-microcallout .wp-block-buttons {
  justify-content: flex-end;
}

/* Founder */
.founder-section {
  overflow: hidden;
}

.novarene-founder-portrait {
  aspect-ratio: 4 / 5;
  background: var(--wp--preset--color--blush);
  border-radius: var(--wp--custom--radius--image);
  margin: 0;
  overflow: hidden;
}

.novarene-founder-portrait img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.08);
  width: 100%;
}

.founder-copy {
  max-width: 570px;
}

.credential-list {
  border-left: 1px solid var(--wp--preset--color--terracotta);
  padding-left: 1.5rem;
}

/* Process */
.process-grid {
  counter-reset: process-step;
}

.process-step {
  border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--ivory) 32%, transparent);
  counter-increment: process-step;
  padding-top: 1.75rem;
}

.process-step::before {
  color: var(--wp--preset--color--blush);
  content: "0" counter(process-step);
  display: block;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.process-step h3 {
  color: var(--wp--preset--color--ivory);
}

.process-step p {
  color: color-mix(in srgb, var(--wp--preset--color--ivory) 76%, transparent);
}

/* Editorial statement */
.brand-statement {
  background-image: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--wp--preset--color--blush) 32%, transparent),
    transparent
  );
  border-block: 1px solid var(--wp--preset--color--line);
}

.brand-statement blockquote {
  margin: 0;
}

.brand-statement p {
  text-wrap: balance;
}

.philosophy-section {
  padding-block: clamp(3rem, 4.5vw, 4.5rem);
}

/* CTA */
.consultation-cta {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.consultation-cta::after {
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--blush) 68%, transparent);
  border-radius: 50%;
  content: "";
  height: 430px;
  pointer-events: none;
  position: absolute;
  right: -150px;
  top: -230px;
  width: 430px;
  z-index: -1;
}

.consultation-cta h2 {
  text-wrap: balance;
}

/* Default content templates */
.page-hero {
  border-bottom: 1px solid var(--wp--preset--color--line);
  padding-block: clamp(3rem, 5vw, 5rem) clamp(2.5rem, 4vw, 3.75rem);
}

.page-hero h1,
.page-hero .wp-block-post-title {
  font-size: clamp(3rem, 6.4vw, 6rem) !important;
  text-wrap: balance;
}

.page-content {
  padding-block: clamp(2.75rem, 5vw, 5rem);
}

.page-content > * + * {
  margin-block-start: 1.15em;
}

.page-content :where(h2, h3, h4) {
  margin-block-start: 1.35em;
}

.page-content img {
  border-radius: var(--wp--custom--radius--image);
}

.post-card {
  border-bottom: 1px solid var(--wp--preset--color--line);
  padding-block: 2rem;
}

.post-card:first-child {
  border-top: 1px solid var(--wp--preset--color--line);
}

.archive-grid {
  gap: clamp(1rem, 2.5vw, 2rem);
}

.archive-card {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
  height: 100%;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.archive-card:hover,
.archive-card:focus-within {
  border-color: color-mix(in srgb, var(--wp--preset--color--terracotta) 45%, transparent);
  box-shadow: var(--wp--preset--shadow--soft);
  transform: translateY(-2px);
}

.archive-card .wp-block-post-featured-image {
  margin: calc(clamp(1.25rem, 2.5vw, 2rem) * -1);
  margin-bottom: 1.5rem;
}

.archive-card .wp-block-post-featured-image img {
  object-fit: cover;
}

.novarene-fallback-featured-image {
  overflow: hidden;
}

.novarene-fallback-featured-image > a {
  display: block;
  height: 100%;
  width: 100%;
}

.novarene-fallback-featured-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.archive-card .wp-block-post-title a {
  text-decoration: none;
}

.archive-card--text {
  min-height: 260px;
}

.clinical-note {
  background: var(--wp--preset--color--blush);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
}

/* Interior page system */
.page-content--editorial,
.treatment-page-content {
  padding-block-start: clamp(3rem, 5vw, 5rem);
}

.about-intro-copy {
  max-width: 600px;
}

.editorial-section {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.editorial-section + .editorial-section {
  border-top: 1px solid var(--wp--preset--color--line);
}

/* Structured pages previously stacked wrapper padding, section padding and
 * the global block gap at the same boundaries. Let their sections provide
 * the spacing while retaining .page-content padding for prose/legal pages. */
.page-content:has(> .editorial-section) {
  padding-block: 0;
}

.page-content > .editorial-section + .editorial-section {
  margin-block-start: 0;
}

.editorial-section--tint {
  background: color-mix(in srgb, var(--wp--preset--color--white) 78%, var(--wp--preset--color--blush));
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
  padding: clamp(1.75rem, 3.5vw, 3rem);
}

.editorial-section--compact {
  padding-block: clamp(2rem, 2.5vw, 2.5rem);
}

.editorial-lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.65;
  max-width: 760px;
}

.value-grid,
.fact-grid,
.pricing-grid,
.contact-grid {
  gap: clamp(1rem, 2.5vw, 2rem);
}

.value-grid > .wp-block-column,
.fact-grid > .wp-block-column,
.pricing-grid > .wp-block-column,
.contact-grid > .wp-block-column {
  min-width: 0;
}

.value-card,
.fact-card,
.pricing-card,
.contact-card {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
  height: 100%;
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.value-card h2,
.fact-card h2,
.pricing-card h2,
.contact-card h2 {
  font-size: clamp(2.05rem, 3vw, 3.15rem);
  line-height: 1.04;
  max-width: 100%;
  text-wrap: balance;
}

.value-card h3,
.fact-card h3,
.pricing-card h3,
.contact-card h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  text-wrap: balance;
}

.treatment-media {
  padding-block: clamp(2.25rem, 4vw, 3.75rem) 0;
}

.treatment-media--portrait {
  display: flex;
  justify-content: center;
}

.treatment-editorial-image {
  margin: 0 auto;
  max-width: 610px;
  width: min(100%, 610px);
}

.treatment-editorial-image img {
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 240px 240px var(--wp--custom--radius--image) var(--wp--custom--radius--image);
  box-shadow: var(--wp--preset--shadow--soft);
  display: block;
  height: auto;
  width: 100%;
}

.treatment-editorial-image figcaption {
  color: var(--wp--preset--color--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.location-media {
  padding-block: clamp(2.25rem, 4vw, 3.75rem) 0;
}

.location-editorial-image {
  margin: 0 auto;
  max-width: 720px;
  width: 100%;
}

.location-editorial-image img {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--wp--custom--radius--image);
  box-shadow: var(--wp--preset--shadow--soft);
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.location-editorial-image figcaption {
  color: var(--wp--preset--color--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.treatment-overview {
  margin-bottom: 0;
}

.treatment-overview .wp-block-column:first-child {
  max-width: 640px;
}

.treatment-quick-facts {
  background: color-mix(in srgb, var(--wp--preset--color--white) 74%, var(--wp--preset--color--soft-sage));
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.treatment-quick-facts p {
  border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 75%, transparent);
  margin: 0;
  padding-block: 0.85rem;
}

.treatment-quick-facts p:last-child {
  border-bottom: 0;
}

.benefit-list {
  columns: 2;
  column-gap: clamp(2rem, 6vw, 5rem);
}

.benefit-list li {
  break-inside: avoid;
  margin-bottom: 0.85rem;
}

.faq-list {
  border-top: 1px solid var(--wp--preset--color--line);
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.page-content .novarene-results-gallery {
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
}

.faq-list .wp-block-details {
  border-bottom: 1px solid var(--wp--preset--color--line);
  margin: 0;
  padding-block: 1.25rem;
}

.faq-list summary {
  color: var(--wp--preset--color--deep-olive);
  cursor: pointer;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.25;
}

.faq-list .wp-block-details > :not(summary) {
  max-width: 720px;
}

.pricing-card .price {
  color: var(--wp--preset--color--terracotta);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.policy-note {
  border-left: 2px solid var(--wp--preset--color--terracotta);
  color: var(--wp--preset--color--muted);
  padding-left: 1.25rem;
}

.treatment-footnote {
  border-top: 1px solid var(--wp--preset--color--line);
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--sm);
  line-height: 1.6;
  margin-top: 1.25rem;
  max-width: 760px;
  padding-top: 1rem;
}

.treatment-footnote sup,
.pricing-card h3 sup {
  color: var(--wp--preset--color--terracotta);
  font-size: 0.62em;
  line-height: 0;
  position: relative;
  top: -0.2em;
}

.wp-block-post-date,
.wp-block-post-terms {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--sm);
}

.wp-block-query-pagination {
  border-top: 1px solid var(--wp--preset--color--line);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.wp-block-search__input,
input:not([type="submit"]),
textarea,
select {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--control-line);
  border-radius: var(--wp--custom--radius--control);
  color: var(--wp--preset--color--deep-olive);
  font: inherit;
  min-height: 48px;
  padding: 0.75rem 1rem;
}

textarea {
  min-height: 150px;
}

/* Footer */
.site-footer {
  margin-block-start: 0;
}

.footer-brand .wp-block-site-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
}

.footer-heading {
  color: var(--wp--preset--color--blush);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--wp--preset--color--blush);
}

.site-footer .is-style-none {
  list-style: none;
  margin-left: 0;
}

.footer-legal {
  border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--ivory) 18%, transparent);
  font-size: 0.75rem;
}

/* Small-screen refinements */
@media (max-width: 1180px) {
  /*
   * A backdrop filter creates a containing block for fixed descendants in
   * WebKit. Because WordPress renders its mobile navigation dialog inside the
   * header, retaining the desktop blur here can confine the supposedly fixed
   * menu to the sticky header instead of the viewport on iOS Safari.
   */
  .site-header-shell {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--wp--preset--color--ivory);
  }

  .site-header-bar {
    min-height: 74px;
  }

  .header-booking-button {
    display: none;
  }

  .primary-navigation {
    margin-left: auto;
  }

  .primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .primary-navigation .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--wp--preset--color--ivory) !important;
    box-sizing: border-box;
    color: var(--wp--preset--color--deep-olive) !important;
    height: 100vh !important;
    height: 100dvh !important;
    inline-size: 100% !important;
    inset: 0 !important;
    margin: 0 !important;
    max-height: none !important;
    max-inline-size: none !important;
    max-width: none !important;
    min-height: 100svh !important;
    overflow: hidden !important;
    padding: 0 max(1.25rem, env(safe-area-inset-right)) 0
      max(1.25rem, env(safe-area-inset-left)) !important;
    position: fixed !important;
    z-index: 1000000 !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-close {
    height: 100%;
    min-height: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-dialog {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0 !important;
    min-height: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: stretch;
    box-sizing: border-box;
    flex: 1 1 auto;
    height: auto;
    margin-inline: auto;
    max-width: 36rem;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: calc(max(1rem, env(safe-area-inset-top)) + 4.25rem)
      calc(max(1.5rem, env(safe-area-inset-bottom)) + 1rem) !important;
    scrollbar-gutter: stable;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    align-items: stretch;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    align-items: stretch;
    display: block;
    width: 100%;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    box-sizing: border-box;
    display: block;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.65rem, 7vw, 2rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.08;
    padding: 0.45rem 0 !important;
    text-transform: none;
    width: 100%;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column;
    gap: 0.15rem;
    height: auto !important;
    left: auto !important;
    margin: 0;
    opacity: 1 !important;
    padding: 0.15rem 0 0.5rem 1rem !important;
    position: static !important;
    visibility: visible !important;
    width: 100% !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
    font-family: var(--wp--preset--font-family--body);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
    padding-block: 0.45rem !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-icon {
    display: none;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close {
    align-items: center;
    background: transparent;
    color: var(--wp--preset--color--deep-olive);
    display: flex;
    height: 48px;
    justify-content: center;
    margin: 0;
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    top: max(1rem, env(safe-area-inset-top));
    width: 48px;
    z-index: 1000001;
  }

  body.admin-bar
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    padding-top: calc(max(1rem, env(safe-area-inset-top)) + 6.25rem) !important;
  }

  body.admin-bar
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close {
    top: calc(32px + max(1rem, env(safe-area-inset-top)));
  }
}

/* Keep the document underneath an open navigation dialog completely still.
 * The stored negative top value is supplied by navigation.js so closing the
 * menu returns visitors to the exact reading position they left. */
html.novarene-menu-open,
body.novarene-menu-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.novarene-menu-open {
  inset-inline: 0;
  position: fixed;
  top: var(--novarene-scroll-lock-top, 0);
  width: 100%;
}

@media (max-width: 960px) {

  .novarene-hero-image {
    width: min(100%, 360px);
  }

  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 781px) {
  body.admin-bar .site-header-shell {
    top: 46px;
  }

  body.admin-bar
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    padding-top: calc(max(1rem, env(safe-area-inset-top)) + 7.125rem) !important;
  }

  body.admin-bar
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close {
    top: calc(46px + max(1rem, env(safe-area-inset-top)));
  }

  .site-header-bar {
    flex-wrap: nowrap !important;
  }

  .novarene-hero {
    min-height: auto;
  }

  .novarene-hero-inner {
    padding-block: 4rem 3rem;
  }

  .novarene-hero-layout {
    gap: 2rem;
  }

  .novarene-hero-visual {
    justify-content: flex-start;
  }

  .novarene-hero-image {
    width: min(86vw, 440px);
  }

  .hero-proof-row {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 0.75rem !important;
    margin-top: 2rem;
  }

  .section-shell {
    padding-block: 3rem;
  }

  .section-shell--compact {
    padding-block: 2.25rem;
  }

  .page-content :where(h2, h3, h4) {
    margin-block-start: 1.2em;
  }

  .treatment-card {
    min-height: 0;
  }

  .treatment-card__body {
    min-height: auto;
  }

  .treatment-card--featured {
    min-height: 0;
  }

  .treatment-card--featured > .wp-block-columns {
    gap: 0;
  }

  .treatment-card--featured .treatment-card__media {
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 0;
  }

  .treatment-card__body--featured {
    min-height: auto;
  }

  .treatment-feature-action {
    text-align: left;
  }

  .financing-callout .wp-block-columns,
  .financing-microcallout .wp-block-columns {
    gap: 2rem;
  }

  .financing-microcallout .wp-block-buttons {
    justify-content: flex-start;
  }

  .benefit-list {
    columns: 1;
  }

  .founder-section .wp-block-columns {
    gap: 2rem;
  }

  .archive-card--text {
    min-height: auto;
  }

  .consultation-cta .wp-block-group.is-layout-flex {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .treatment-grid,
  .archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .page-hero h1,
  .page-hero .wp-block-post-title {
    font-size: clamp(2.45rem, 12vw, 3rem) !important;
  }

  .novarene-brand-logo {
    aspect-ratio: 1;
    width: 48px;
  }

  .novarene-brand-logo img {
    height: 48px;
    object-fit: contain;
  }

  .wp-block-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .wp-block-button,
  .wp-block-button .wp-element-button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .treatment-card:hover,
  .treatment-card:focus-within,
  .archive-card:hover,
  .archive-card:focus-within,
  .wp-block-button.is-style-fill .wp-block-button__link:hover,
  .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    transform: none;
  }
}
