/* idz-base: only what theme.json cannot express. */

:focus-visible {
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 2px;
}

.has-brand-background-color :focus-visible,
.has-brand-background-color .wp-element-button:focus-visible {
  outline-color: var(--wp--preset--color--on-brand);
}

.wp-element-button,
.wp-block-button__link {
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

/* Text on brand or accent fills always uses the computed on-color (ADR-0019). */
.has-brand-background-color,
.has-brand-background-color :is(h1, h2, h3, h4, h5, h6, p, li, cite, summary) {
  color: var(--wp--preset--color--on-brand);
}

.has-brand-background-color a:not(.wp-element-button) {
  color: var(--wp--preset--color--on-brand);
}

.has-accent-background-color,
.has-accent-background-color :is(h1, h2, h3, h4, h5, h6, p, li, cite, summary),
.has-accent-background-color a:not(.wp-element-button) {
  color: var(--wp--custom--idz--on-accent);
}

/* Secondary button: ink label (4.5:1 text), brand border (3:1 UI), brand fill on hover. */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--wp--preset--color--brand);
  color: var(--wp--preset--color--ink);
  padding-top: calc(0.875rem - 2px);
  padding-bottom: calc(0.875rem - 2px);
}

.has-brand-background-color .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--wp--preset--color--on-brand);
  border-color: var(--wp--preset--color--on-brand);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--brand);
  color: var(--wp--preset--color--on-brand);
}

/* Eyebrow label used above headings. */
.idz-eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Details (FAQ) without JS. */
.wp-block-details {
  border-bottom: 1px solid var(--wp--preset--color--surface-alt);
  padding: var(--wp--preset--spacing--30) 0;
}

.wp-block-details > summary {
  cursor: pointer;
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--surface);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* Pattern helpers (presentation only). */
.idz-logo-wall img {
  filter: grayscale(1);
  opacity: 0.7;
  max-height: 40px;
  width: auto;
}

.idz-step-number {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 700;
  color: var(--wp--preset--color--brand);
  letter-spacing: 0.04em;
}

.idz-stat {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 700;
  line-height: 1;
  color: var(--wp--preset--color--brand);
}

.idz-card {
  border-radius: var(--wp--custom--idz--radius-default);
}

.wp-block-table.idz-fees table {
  border-collapse: collapse;
}

.wp-block-table.idz-fees td,
.wp-block-table.idz-fees th {
  border: 0;
  border-bottom: 1px solid var(--wp--preset--color--surface-alt);
  padding: var(--wp--preset--spacing--20) 0;
}

.wp-block-table.idz-fees td:last-child,
.wp-block-table.idz-fees th:last-child {
  text-align: right;
  font-weight: 600;
}

.idz-announcement a {
  color: inherit;
  text-decoration: underline;
}

/* Adjacent full-width sections touch; only padding separates them. */
.wp-block-post-content > .alignfull + .alignfull {
  margin-block-start: 0;
}

/* Portrait slot: 4:5, card radius, no wider than 70% on phones. */
.idz-portrait img {
  width: 100%;
  height: auto;
}

@media (max-width: 781px) {
  .idz-portrait {
    max-width: 70%;
  }
}

/* Quotes: text in the heading font, attribution in the body font. */
.wp-block-quote cite {
  display: block;
  margin-top: var(--wp--preset--spacing--20);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--sm);
  font-style: normal;
  color: var(--wp--preset--color--muted);
}

.wp-block-table.idz-fees td:last-child {
  white-space: nowrap;
}

/* Contact Form 7 inside the cta-contact-form pattern: inputs and the submit button follow the tokens. */
.wpcf7 form {
  display: grid;
  gap: var(--wp--preset--spacing--30);
}

.wpcf7 form > p,
.wpcf7 form label {
  display: block;
  margin: 0;
  font-weight: 600;
  font-size: var(--wp--preset--font-size--sm);
}

.wpcf7 input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.wpcf7 textarea,
.wpcf7 select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.875rem;
  font: inherit;
  font-weight: 400;
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--muted);
  border-radius: var(--wp--custom--idz--radius--sm);
}

.wpcf7 textarea {
  min-height: 9rem;
}

.wpcf7 input:focus-visible,
.wpcf7 textarea:focus-visible {
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 2px;
  border-color: var(--wp--preset--color--brand);
}

.wpcf7 input[type='submit'] {
  display: inline-block;
  width: auto;
  padding: 0.875rem 1.5rem;
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 600;
  color: var(--wp--custom--idz--on-accent);
  background: var(--wp--preset--color--accent);
  border: 0;
  border-radius: var(--wp--custom--idz--radius-default);
  cursor: pointer;
}

.wpcf7 input[type='submit']:hover {
  color: var(--wp--custom--idz--on-accent-hover);
  background: var(--wp--custom--idz--accent-hover);
}

.wpcf7 .wpcf7-spinner {
  margin-left: 0.5rem;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: var(--wp--preset--color--ink);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 400;
}

.wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--wp--preset--color--brand);
  border-radius: var(--wp--custom--idz--radius--sm);
  font-size: var(--wp--preset--font-size--sm);
}

/* ------------------------------------------------------------------------
   Client one-page layout (ADR-0055): the demo designs' structure. Values that
   differ per look come from theme.json custom tokens idz.look.* (set by the
   generator from the design's LOOKS table); the body carries idz-look-<slug>.
   ------------------------------------------------------------------------ */

/* Header: monogram, name and descriptor, nav, pill call to action. */
.idz-header-row {
  gap: var(--wp--preset--spacing--40);
}

.idz-brand {
  flex: 1;
  min-width: 0;
}

.idz-monogram img {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: var(--wp--custom--idz--look--mono, 50%);
  object-fit: cover;
}

.idz-brand-text > * {
  margin: 0;
  line-height: 1.1;
}

.idz-site-title {
  font-size: var(--wp--preset--font-size--lg);
}

.idz-descriptor {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  margin-top: 0.15rem;
}

.idz-nav {
  gap: var(--wp--preset--spacing--40);
  align-items: center;
}

.idz-nav .wp-block-navigation-item__content {
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}

.idz-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
  background: var(--wp--preset--color--brand);
  color: var(--wp--preset--color--on-brand);
  font-weight: 600;
  font-size: var(--wp--preset--font-size--xs);
  padding: 0.6875rem 1.125rem;
  border-radius: var(--wp--custom--idz--look--radius, var(--wp--custom--idz--radius-default));
  white-space: nowrap;
}

.idz-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content:hover {
  background: var(--wp--preset--color--ink);
}

@media (max-width: 781px) {
  .idz-nav .wp-block-navigation-item:not(:last-child) {
    display: none;
  }
}

/*
 * Phone header, every look (ADR-0068): the monogram keeps its size and is never
 * clipped, the descriptor is hidden, and the name stays on one or two lines
 * beside a compact booking button.
 */
@media (max-width: 781px) {
  .idz-header-row {
    gap: var(--wp--preset--spacing--30);
    align-items: center;
  }

  .idz-brand {
    align-items: center;
  }

  .idz-monogram {
    flex: 0 0 auto;
  }

  .idz-monogram img {
    width: 2.25rem;
    height: 2.25rem;
    max-width: none;
  }

  .idz-descriptor {
    display: none;
  }

  .idz-site-title {
    font-size: var(--wp--preset--font-size--sm);
    line-height: 1.15;
    text-wrap: balance;
    overflow-wrap: normal;
  }

  /* A long label ("Book a free consultation") wraps to two short lines instead of taking the name's room. */
  .idz-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
    display: block;
    max-width: 8.5rem;
    padding: 0.5rem 0.875rem;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}

/* Hero: copy left, framed portrait right, aligned to the bottom. */
.idz-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: var(--wp--preset--spacing--50) clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.idz-hero-copy > *,
.idz-hero-portrait > * {
  margin-block: 0;
}

.idz-hero-copy > * + * {
  margin-block-start: 1.875rem;
}

.idz-eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  font-size: 0.8125rem;
}

.idz-eyebrow-rule::before {
  content: '';
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: var(--wp--preset--color--accent);
}

.idz-hero-headline {
  /* Each look's size is measured from its demo design (ADR-0055); the default is Calm's. */
  font-size: var(--wp--custom--idz--look--headline, clamp(3rem, 6.4vw, 6.25rem));
  line-height: 0.95;
  text-wrap: balance;
}

.idz-hero-headline em,
.idz-cta-card h2 em {
  color: var(--wp--preset--color--brand);
  font-style: italic;
}

.idz-look-editorial .idz-hero-headline em,
.idz-look-fresh .idz-hero-headline em {
  font-style: normal;
}

.idz-hero-lede {
  max-width: 30em;
  line-height: 1.6;
  text-wrap: pretty;
}

.idz-hero-actions {
  align-items: center;
}

.idz-link-down .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--ink);
  padding: 0.75rem 0.25rem;
  font-weight: 600;
  font-size: var(--wp--preset--font-size--sm);
  border-radius: 0;
}

.idz-link-down .wp-block-button__link::after {
  content: ' ↓';
}

.idz-link-down .wp-block-button__link:hover {
  background: transparent;
  color: var(--wp--preset--color--brand);
}

.idz-hero-portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 28.75rem);
}

.idz-hero-portrait::before {
  content: '';
  position: absolute;
  inset: var(--wp--custom--idz--look--deco-inset, 0);
  background: var(--wp--custom--idz--look--deco-bg, transparent);
  border: var(--wp--custom--idz--look--deco-border, 0);
  border-radius: var(--wp--custom--idz--look--deco-radius, 0);
  transform: var(--wp--custom--idz--look--deco-tf, none);
}

.idz-portrait-framed,
.idz-portrait-framed img {
  position: relative;
  width: 100%;
  max-width: none;
}

.idz-portrait-framed img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
  border-radius: var(--wp--custom--idz--look--img, var(--wp--custom--idz--radius-default));
  filter: var(--wp--custom--idz--look--filter, none);
  transform: var(--wp--custom--idz--look--img-tf, none);
  padding: var(--wp--custom--idz--look--pad, 0);
  background: var(--wp--custom--idz--look--pad-bg, transparent);
  border: var(--wp--custom--idz--look--img-border, 0);
}

.idz-hero-chip {
  position: absolute;
  left: var(--wp--custom--idz--look--chip-x, -0.875rem);
  bottom: 2.25rem;
  background: var(--wp--custom--idz--look--chip-bg, var(--wp--preset--color--surface));
  color: var(--wp--custom--idz--look--chip-ink, var(--wp--preset--color--brand));
  border-radius: 1rem;
  padding: 0.875rem 1.125rem;
  box-shadow: 0 1.25rem 2.5rem -1.25rem rgba(0, 0, 0, 0.35);
}

.idz-hero-chip-value {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.875rem;
  line-height: 1;
  color: inherit;
}

.idz-hero-chip-label {
  color: inherit;
  opacity: 0.8;
  margin-top: 0.125rem;
}

/* Credentials strip: one ruled band, items spaced across. */
.idz-strip {
  border-top: 1px solid var(--wp--custom--idz--look--line, var(--wp--preset--color--surface-alt));
  border-bottom: 1px solid var(--wp--custom--idz--look--line, var(--wp--preset--color--surface-alt));
}

.idz-strip-row {
  gap: 0.625rem 2.5rem;
}

.idz-strip-row > p {
  margin: 0;
}

/* Services: intro left, numbered list right (numerals follow the look). */
.idz-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wp--preset--spacing--50) clamp(2.5rem, 6vw, 6rem);
}

@media (min-width: 1000px) {
  .idz-split {
    grid-template-columns: 1fr 2fr;
  }
}

.idz-split-intro > *,
.idz-split-body > * {
  margin-block: 0;
}

.idz-split-intro > * + * {
  margin-block-start: 1.125rem;
}

.idz-split-intro h2 {
  line-height: 1;
}

.idz-split-intro p {
  max-width: 22em;
  line-height: 1.6;
}

.idz-services-list {
  counter-reset: idz-service;
}

.idz-service {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.5rem 1.25rem;
  padding: 1.875rem 0;
  border-top: 1px solid var(--wp--custom--idz--look--line, var(--wp--preset--color--surface-alt));
  counter-increment: idz-service;
}

.idz-service::before {
  content: counter(idz-service, decimal-leading-zero) '.';
  grid-row: 1 / span 2;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--wp--preset--color--brand);
}

.idz-look-calm .idz-service::before {
  content: counter(idz-service, lower-roman) '.';
  font-style: italic;
}

.idz-look-trust .idz-service::before,
.idz-look-classic .idz-service::before {
  content: counter(idz-service, upper-roman) '.';
  font-style: italic;
  font-size: 1.125rem;
}

.idz-look-editorial .idz-service::before {
  content: counter(idz-service, decimal-leading-zero) ' /';
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.8125rem;
}

.idz-service > h3,
.idz-service > p {
  grid-column: 2;
  margin: 0;
}

.idz-service > h3 {
  line-height: 1.1;
}

.idz-service > p {
  max-width: 36em;
  line-height: 1.6;
}

/* Steps: brand band, three ruled columns. */
.idz-steps-heading {
  max-width: 12em;
  line-height: 1;
  margin-bottom: var(--wp--preset--spacing--50);
}

.idz-steps-heading em {
  font-style: italic;
  color: inherit;
}

.idz-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr));
  gap: 2.25rem;
}

.idz-step {
  padding-top: 1.375rem;
  border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--on-brand) 30%, transparent);
}

.idz-step > * {
  margin-block: 0;
}

.idz-step > * + * {
  margin-block-start: 0.875rem;
}

.idz-steps .idz-step-number {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  color: var(--wp--preset--color--on-brand);
  opacity: 0.85;
}

.idz-steps .idz-step-number::before {
  content: 'Step ';
}

.idz-step h3 {
  font-size: 1.875rem;
  line-height: 1.1;
}

.idz-step p {
  line-height: 1.6;
  opacity: 0.9;
}

/* Paired bands: testimonial beside the About card, fees beside the questions. */
.idz-pair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
  gap: var(--wp--preset--spacing--50) clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.idz-pair-col > * {
  margin-block: 0;
}

.idz-pair-col > * + * {
  margin-block-start: 1.5rem;
}

.idz-testimonial .idz-quote-large,
.idz-pair-col .idz-quote-large {
  border: 0;
  padding: 0;
  margin: 0;
}

.idz-quote-large::before {
  content: '“';
  display: block;
  height: 3rem;
  font-size: 7.5rem;
  line-height: 0.6;
  color: var(--wp--preset--color--brand);
  margin-bottom: 1.75rem;
}

.idz-quote-large p {
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  margin: 0;
}

.idz-quote-large cite {
  margin-top: 1.75rem;
}

.idz-quote-large cite::before {
  content: '— ';
}

.idz-about-card {
  border-radius: 1.5rem;
}

.idz-about-card > * {
  margin-block: 0;
}

.idz-about-card > * + * {
  margin-block-start: 1.125rem;
}

.idz-about-card h2 {
  line-height: 1.05;
}

.idz-about-card p {
  line-height: 1.65;
  text-wrap: pretty;
}

.idz-about-link a {
  font-weight: 600;
  color: var(--wp--preset--color--brand);
}

/*
 * Practice Launch rhythm (ADR-0068): on desktop the large section padding is
 * tighter than the agency layout's, and the specialties heading runs the full
 * width above the chips instead of sharing a narrow column.
 */
@media (min-width: 782px) {
  .idz-offer-practice-launch {
    --wp--preset--spacing--70: clamp(3.5rem, 6vw, 5.5rem);
  }
}

@media (min-width: 1000px) {
  .idz-specialties .idz-split {
    grid-template-columns: 1fr;
  }
}

.idz-specialties .idz-split-intro p {
  max-width: 36em;
}

/* The therapist's portrait in the about card (ADR-0067): faces sit in the upper third. */
.idz-about-cols .wp-block-column > * {
  margin-block: 0;
}

.idz-about-cols .wp-block-column > * + * {
  margin-block-start: 1.125rem;
}

.idz-about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--wp--custom--idz--radius--md);
}

/* Fees and questions. */
.idz-fees-body > *,
.idz-faq-body > * {
  margin-block: 0;
}

.idz-fees-body > * + *,
.idz-faq-body > * + * {
  margin-block-start: 1.5rem;
}

.idz-fees-body h2,
.idz-faq-body h2 {
  line-height: 1;
}

.wp-block-table.idz-fees-table table {
  border-collapse: collapse;
  width: 100%;
}

.wp-block-table.idz-fees-table td {
  border: 0;
  border-bottom: 1px solid var(--wp--custom--idz--look--line, var(--wp--preset--color--surface-alt));
  padding: 1.125rem 0;
  font-size: 1.0625rem;
  vertical-align: baseline;
}

.wp-block-table.idz-fees-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 1.75rem;
  color: var(--wp--preset--color--brand);
}

.idz-faq-list .wp-block-details {
  border-bottom: 1px solid var(--wp--custom--idz--look--line, var(--wp--preset--color--surface-alt));
  padding: 1.125rem 0;
  margin: 0;
}

.idz-faq-list .wp-block-details > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--wp--preset--font-family--body);
  font-size: 1.0625rem;
  font-weight: 600;
}

.idz-faq-list .wp-block-details > summary::-webkit-details-marker {
  display: none;
}

.idz-faq-list .wp-block-details > summary::after {
  content: '+';
  color: var(--wp--preset--color--brand);
  flex: none;
}

.idz-faq-list .wp-block-details[open] > summary::after {
  content: '−';
}

.idz-faq-list .wp-block-details > p {
  line-height: 1.6;
  color: var(--wp--preset--color--muted);
  padding-top: 0.75rem;
  margin: 0;
}

/* Closing call to action: a rounded brand card inside a small inset. */
.idz-cta-card {
  border-radius: 2rem;
  max-width: 87.5rem;
  margin-inline: auto;
}

.idz-cta-card > * + * {
  margin-block-start: 1.5rem;
}

.idz-cta-card h2 {
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.idz-cta-card h2 em {
  color: inherit;
}

.idz-cta-card p {
  max-width: 28em;
  margin-inline: auto;
  line-height: 1.6;
  opacity: 0.9;
}

/* Footer. */
.idz-footer {
  border-top: 1px solid var(--wp--custom--idz--look--line, var(--wp--preset--color--surface-alt));
}

.idz-footer p {
  margin: 0;
}

/* ------------------------------------------------------------------------
   Practice Launch layout (ADR-0064): the therapist page. The body carries
   idz-offer-practice-launch (theme.json custom.idz.offer) and idz-look-<slug>;
   each look gets the first screen the client saw on /therapists/: Calm centred
   with an arch; Warm a brand screen with a tilted tile; Fresh a brand menu bar
   and a wide banner; Editorial a dark bar, a big uppercase heading and a photo
   band; Trust a brand screen with a framed photo; Classic a brand bar and an
   inset frame. Colours are the look's tokens, never raw values.
   ------------------------------------------------------------------------ */

/* Hero grid: centred by default (Calm, Classic). */
.idz-phero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wp--preset--spacing--50);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.idz-phero-copy > *,
.idz-phero-art > * {
  margin-block: 0;
}

.idz-phero-copy > * + * {
  margin-block-start: 1.5rem;
}

.idz-phero-copy {
  max-width: 44rem;
}

.idz-phero-tag {
  letter-spacing: 0.12em;
  font-weight: 500;
}

.idz-phero-headline {
  /* The therapist headline is a full sentence from the form, so it is sized below the demo display size. */
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}

.idz-phero-lede {
  max-width: 34em;
  margin-inline: auto;
  line-height: 1.6;
  text-wrap: pretty;
}

.idz-phero-actions {
  justify-content: center;
}

.idz-phero-art {
  position: relative;
  width: 100%;
}

.idz-phero-image {
  margin: 0;
}

.idz-phero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* The art comes first when the screen is centred. */
.idz-look-calm .idz-phero-art,
.idz-look-classic .idz-phero-art {
  order: -1;
}

/* Calm: tinted screen, arch-shaped picture above the heading, pill buttons. */
.idz-look-calm .idz-phero {
  background: var(--wp--preset--color--brand-soft);
}

.idz-look-calm .idz-phero-art {
  width: min(100%, 22rem);
}

.idz-look-calm .idz-phero-image img {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 20px 20px;
}

/* Warm: brand screen, cream text, a tilted rounded picture on the left with an accent tile behind it. */
.idz-look-warm .idz-phero,
.idz-look-trust .idz-phero {
  background: var(--wp--preset--color--brand);
  color: var(--wp--preset--color--on-brand);
}

.idz-look-warm .idz-phero :is(h1, p),
.idz-look-trust .idz-phero :is(h1, p) {
  color: var(--wp--preset--color--on-brand) !important;
}

.idz-look-warm .idz-phero-grid,
.idz-look-trust .idz-phero-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  justify-items: stretch;
  text-align: left;
}

.idz-look-warm .idz-phero-lede,
.idz-look-trust .idz-phero-lede {
  margin-inline: 0;
}

.idz-look-warm .idz-phero-actions,
.idz-look-trust .idz-phero-actions {
  justify-content: flex-start;
}

.idz-look-warm .idz-phero-art {
  order: -1;
  width: min(100%, 26rem);
  justify-self: center;
  margin: 1.5rem;
}

.idz-look-warm .idz-phero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--wp--preset--color--accent);
  transform: rotate(6deg) translate(6px, 4px);
}

.idz-look-warm .idz-phero-image {
  position: relative;
  transform: rotate(-2deg);
}

.idz-look-warm .idz-phero-image img {
  aspect-ratio: 5 / 4;
  border-radius: 20px;
  box-shadow: 0 1.5rem 2.5rem -1.5rem rgba(0, 0, 0, 0.5);
}

.idz-look-warm .idz-phero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--brand);
}

.idz-look-warm .idz-phero .wp-block-button.is-style-outline .wp-block-button__link,
.idz-look-trust .idz-phero .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--wp--preset--color--on-brand);
  border-color: var(--wp--preset--color--on-brand);
}

/* Fresh: brand menu bar, white page, a wide rounded banner with an accent circle. */
.idz-offer-practice-launch.idz-look-fresh .idz-header,
.idz-offer-practice-launch.idz-look-editorial .idz-header,
.idz-offer-practice-launch.idz-look-classic .idz-header {
  background: var(--wp--preset--color--brand);
  color: var(--wp--preset--color--on-brand);
}

.idz-offer-practice-launch.idz-look-editorial .idz-header {
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--surface);
}

/* Preset colour classes are !important in core, so the bar colours must be too. */
.idz-offer-practice-launch.idz-look-fresh .idz-header :is(a, p, .idz-descriptor),
.idz-offer-practice-launch.idz-look-classic .idz-header :is(a, p, .idz-descriptor) {
  color: var(--wp--preset--color--on-brand) !important;
}

.idz-offer-practice-launch.idz-look-editorial .idz-header :is(a, p, .idz-descriptor) {
  color: var(--wp--preset--color--surface) !important;
}

.idz-offer-practice-launch.idz-look-fresh
  .idz-nav
  .wp-block-navigation-item:last-child
  .wp-block-navigation-item__content,
.idz-offer-practice-launch.idz-look-classic
  .idz-nav
  .wp-block-navigation-item:last-child
  .wp-block-navigation-item__content {
  background: var(--wp--preset--color--accent);
  color: var(--wp--custom--idz--on-accent);
}

.idz-offer-practice-launch.idz-look-editorial
  .idz-nav
  .wp-block-navigation-item:last-child
  .wp-block-navigation-item__content {
  background: var(--wp--preset--color--accent);
  color: var(--wp--custom--idz--on-accent);
}

.idz-look-fresh .idz-phero {
  background: var(--wp--preset--color--surface);
}

.idz-look-fresh .idz-phero-art {
  order: -1;
  max-width: 64rem;
}

.idz-look-fresh .idz-phero-image img {
  aspect-ratio: 16 / 7;
  border-radius: 18px;
}

.idz-look-fresh .idz-phero-art::after {
  content: '';
  position: absolute;
  top: -1.5rem;
  right: -0.75rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--wp--preset--color--accent);
}

/* Editorial: a short accent bar, a huge uppercase heading, a thick rule, the picture as a band below. */
.idz-look-editorial .idz-phero-grid {
  justify-items: start;
  text-align: left;
}

.idz-look-editorial .idz-phero-copy {
  max-width: none;
}

.idz-look-editorial .idz-phero-copy::before {
  content: '';
  display: block;
  width: 3.5rem;
  height: 0.5rem;
  background: var(--wp--preset--color--accent);
  margin-bottom: 1.5rem;
}

.idz-look-editorial .idz-phero-headline {
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 0.96;
}

.idz-look-editorial .idz-phero-lede {
  margin-inline: 0;
}

.idz-look-editorial .idz-phero-actions {
  justify-content: flex-start;
}

.idz-look-editorial .idz-phero {
  border-bottom: 6px solid var(--wp--preset--color--ink);
}

.idz-look-editorial .idz-phero-image img {
  aspect-ratio: 16 / 6;
  filter: grayscale(1) contrast(1.05);
}

/* Trust: brand screen, picture on the right in a thin accent offset frame. */
.idz-offer-practice-launch.idz-look-trust .idz-header {
  border-bottom: 3px solid var(--wp--preset--color--accent);
}

.idz-look-trust .idz-phero-art {
  width: min(100%, 24rem);
  justify-self: center;
  margin: 1rem;
}

.idz-look-trust .idz-phero-art::before {
  content: '';
  position: absolute;
  inset: -0.75rem 0.75rem 0.75rem -0.75rem;
  border: 1px solid var(--wp--preset--color--accent);
}

.idz-look-trust .idz-phero-image {
  position: relative;
}

.idz-look-trust .idz-phero-image img {
  aspect-ratio: 4 / 5;
}

/* Classic: brand menu bar, centred text inside a thin accent inset frame, a matted picture, an ornament rule. */
.idz-look-classic .idz-phero-grid {
  box-shadow:
    inset 0 0 0 8px var(--wp--preset--color--surface),
    inset 0 0 0 9px var(--wp--preset--color--accent);
  padding: clamp(2rem, 5vw, 4rem);
}

.idz-look-classic .idz-phero-art {
  width: min(100%, 24rem);
}

.idz-look-classic .idz-phero-image img {
  aspect-ratio: 10 / 7;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--wp--preset--color--accent);
  box-sizing: border-box;
}

.idz-look-classic .idz-phero-tag::after {
  content: '';
  display: block;
  width: 5.25rem;
  height: 0.625rem;
  margin: 0.5rem auto 0;
  background: linear-gradient(var(--wp--preset--color--accent), var(--wp--preset--color--accent))
    center / 100% 1px no-repeat;
}

/* Specialties: chips. */
.idz-chips {
  gap: 0.625rem;
  align-content: flex-start;
}

.idz-chip {
  margin: 0;
  padding: 0.5rem 0.875rem;
  border-radius: var(--wp--custom--idz--look--radius, var(--wp--custom--idz--radius-default));
  background: var(--wp--preset--color--brand-soft);
  border: 1px solid var(--wp--custom--idz--look--line, var(--wp--preset--color--surface-alt));
  font-weight: 500;
}

/* Good Faith Estimate notice: narrow measure, quiet. */
.idz-gfe > * {
  max-width: 44rem;
}

.idz-gfe h2 {
  line-height: 1.2;
}

.idz-gfe ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.idz-gfe li {
  margin-bottom: 0.5rem;
}

/* 988 line in the therapist footer. */
/*
 * Therapist footer copyright (ADR-0069): one line of text, not three flex items,
 * so "· All rights reserved." wraps with the end of the name and never sits on
 * a line by itself.
 */
.idz-footer .idz-copyright-line {
  display: block;
  text-wrap: balance;
}

.idz-footer .idz-copyright-line > * {
  display: inline;
  margin: 0;
}

.idz-footer .idz-copyright-line > :last-child {
  white-space: nowrap;
}

.idz-crisis-line {
  font-weight: 500;
}
