/* Fuentes autoalojadas (Fraunces y Nunito Sans, licencia SIL OFL 1.1) */
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 460;
  font-display: swap;
  src: url(../fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 460;
  font-display: swap;
  src: url(../fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 460;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 460;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 560;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 560;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 650;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 650;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 750;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 750;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/nunito-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #f7f2ea;
  --cream-deep: #efe6d8;
  --paper: #fffaf4;
  --ink: #2f4a45;
  --ink-soft: #3d5c54;
  --line: #5d726b;
  --sage: #8fa89b;
  --terracotta: #d9a07a;
  --terracotta-deep: #7a4a38;
  --lavender: #c4b4d4;
  --shadow: 0 18px 40px rgb(47 74 69 / 0.12);
  --wrap: 68.75rem;
  --measure: 68ch;
  --header: 4.5rem;
  color-scheme: light;
  scrollbar-color: var(--sage) var(--cream);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.5rem);
  scroll-padding-bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px));
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 0.98rem + 0.28vw, 1.2rem);
  line-height: 1.65;
  font-optical-sizing: auto;
  caret-color: var(--ink);
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--terracotta);
  color: var(--ink);
}

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

a {
  color: var(--terracotta-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

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

@media (forced-colors: active) {
  :focus-visible {
    outline: 2px solid CanvasText;
  }
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 80;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.65rem 1rem;
  overflow: visible;
  clip-path: none;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid rgb(93 114 107 / 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding-block: 0.7rem;
}

.header-inner > * {
  flex-shrink: 0;
}

.site-header:not(.is-wide) .brand {
  flex-shrink: 1;
  min-width: 0;
  white-space: normal;
}

.site-header.is-wide .brand,
.site-header.is-measuring .brand {
  white-space: nowrap;
}

.site-header.is-measuring,
.site-header.is-measuring * {
  transition: none !important;
}

.brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(1.05rem, 0.92rem + 0.7vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  text-wrap: balance;
}

.brand:hover {
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-button svg {
  display: block;
}

.site-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

@media (hover: hover) {
  .site-menu a:hover {
    background: rgb(143 168 155 / 0.28);
    color: var(--ink);
  }
}

.site-menu a[aria-current="page"],
.site-menu a[aria-current="true"] {
  background: var(--ink);
  color: var(--cream);
}

.stack-top {
  margin-top: 2.5rem;
}

.bleed-gap {
  margin-block: 1.5rem;
}

@supports selector(:popover-open) {
  .menu-button {
    display: inline-flex;
  }

  .site-menu[popover] {
    position: fixed;
    inset: auto 1rem auto auto;
    top: calc(var(--header) + 0.35rem);
    flex-direction: column;
    flex-wrap: nowrap;
    width: min(18rem, calc(100dvw - 2rem));
    max-height: calc(100dvh - 6rem);
    overflow: auto;
    padding: 0.45rem;
    border: 0;
    border-radius: 1.1rem;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-menu[popover]:not(:popover-open) {
    display: none;
  }

  .site-menu[popover]:popover-open {
    display: flex;
  }

  .menu-button {
    anchor-name: --menu-button;
  }

  @supports (top: anchor(--menu-button bottom)) {
    .site-menu[popover] {
      top: anchor(--menu-button bottom);
      margin-top: 0.45rem;
      right: auto;
      inset-inline-end: 1rem;
    }
  }

  .site-header.is-wide .menu-button {
    display: none;
  }

  .site-header.is-wide .site-menu,
  .site-header.is-wide .site-menu[popover]:not(:popover-open) {
    position: static;
    display: flex;
    flex-direction: row;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(78dvh, 46rem);
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(90% 70% at 85% 12%, rgb(196 180 212 / 0.72), transparent 58%),
    radial-gradient(70% 60% at 8% 88%, rgb(143 168 155 / 0.45), transparent 55%),
    linear-gradient(180deg, #f4ece4 0%, var(--cream) 52%, #f3e7da 100%);
  background-size: 140% 140%, 130% 130%, 100% 100%;
  background-repeat: no-repeat;
}

.hero-lite {
  min-height: min(46dvh, 22rem);
  align-items: end;
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: breath-ground 6s ease-in-out infinite;
  }
}

@keyframes breath-ground {
  0%,
  100% {
    background-position: 48% 42%, 12% 82%, 0 0;
  }
  50% {
    background-position: 56% 50%, 6% 74%, 0 0;
  }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 5.5rem 3.2rem;
}

.hero-lite .hero-copy {
  padding-block: 4.2rem 2.4rem;
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 1.5rem + 3.1vw, 5.2rem);
  max-width: 14ch;
}

.hero-lite h1 {
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.7rem);
  max-width: 18ch;
}

.quote-title {
  font-weight: 460;
  font-style: italic;
  max-width: 22ch;
  font-size: clamp(1.85rem, 1.25rem + 2vw, 3.15rem);
}

h2 {
  font-size: clamp(1.85rem, 1.35rem + 1.6vw, 2.8rem);
  margin-top: 0.2rem;
}

h3 {
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
}

.hero h2 {
  max-width: 22ch;
  margin-top: 1.2rem;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
}

.lede {
  max-width: 36ch;
  margin: 1.1rem 0 0;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  color: var(--ink-soft);
}

main {
  container-type: inline-size;
  container-name: page;
}

.band {
  padding-block: clamp(3.2rem, 2rem + 4vw, 6rem);
}

.band-sand {
  background: var(--cream-deep);
}

.band h2,
.band h3 {
  margin-bottom: 0.85rem;
}

.band h2 + h3,
.band h3 + h3 {
  margin-top: 1.6rem;
}

.prose {
  max-width: var(--measure);
}

.prose p,
.reading p {
  margin: 0 0 1rem;
}

p,
li {
  text-wrap: pretty;
}

.reading {
  max-width: var(--measure);
  padding-block: clamp(2.5rem, 2rem + 2vw, 4.5rem) clamp(3rem, 2rem + 3vw, 5rem);
}

.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@container page (min-width: 46rem) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .split.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .split.reverse .split-copy {
    order: 2;
  }
}

.frame {
  margin: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.frame img {
  width: 100%;
  object-fit: cover;
}

.bleed {
  width: 100%;
  margin: 0;
}

.bleed img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}

.rule {
  width: 4.5rem;
  height: 2px;
  margin: 1.15rem 0 1.35rem;
  border: 0;
  background: var(--terracotta);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgb(47 74 69 / 0.12);
}

.button svg {
  flex: none;
}

.button-accent {
  background: var(--terracotta-deep);
  color: var(--cream);
}

.button-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button:hover {
  color: var(--cream);
}

.button-ghost:hover {
  color: var(--ink);
  background: rgb(143 168 155 / 0.22);
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: transform 160ms ease-out, background-color 160ms ease-out;
  }

  .button:active {
    transform: translateY(1px);
  }
}

.studies,
.intro-list {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.studies li,
.intro-list li {
  margin: 0 0 0.85rem;
  padding-left: 0.2rem;
}

.studies li::marker {
  color: var(--terracotta-deep);
}

.hours {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.35rem 1rem;
  max-width: 18rem;
  margin: 0.4rem 0 0;
  font-variant-numeric: tabular-nums;
}

.hours dt {
  font-weight: 750;
}

.hours dd {
  margin: 0;
}

.contact-panel {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(80% 90% at 100% 0%, rgb(217 160 122 / 0.55), transparent 60%),
    var(--paper);
  box-shadow: var(--shadow);
}

.entry {
  max-width: 46rem;
  margin-top: 0.5rem;
}

.entry h3 {
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem);
}

.entry h3 a {
  color: var(--ink);
  text-decoration-thickness: 1px;
}

.entry h3 a:hover {
  color: var(--terracotta-deep);
}

.back {
  margin-top: 2rem;
  font-weight: 700;
}

.portrait {
  width: min(100%, 26rem);
  margin-inline: auto;
  border-radius: 1.6rem 1.6rem 2.4rem 1.2rem;
}

@container page (min-width: 46rem) {
  .portrait {
    margin-inline: 0 0;
  }
}

.site-footer {
  padding-block: 2.5rem 3rem;
  background: var(--ink);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-name {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--cream);
}

.site-footer a:hover {
  color: var(--terracotta);
}

.legal {
  margin: 0.4rem 0 0;
  color: rgb(247 242 234 / 0.86);
  font-size: 0.95rem;
}

.wa-float {
  position: fixed;
  z-index: 30;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  background: var(--terracotta-deep);
  color: var(--cream);
  box-shadow: 0 0 0 3px var(--cream), 0 12px 26px rgb(47 74 69 / 0.28);
  text-decoration: none;
}

.wa-float:hover {
  color: var(--cream);
  background: var(--ink);
}

@media (max-width: 44rem) {
  main .wrap:not(.hero-copy) {
    padding-inline-end: 0;
  }

  .site-footer {
    padding-bottom: 4.8rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(1rem);
  }

  .js .reveal.is-in {
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .js .reveal-fade.is-in {
    animation-name: fade;
  }

  .js .reveal-photo.is-in {
    animation-name: photo-in;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(0.985);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media print {
  .hero-canvas,
  .wa-float,
  .menu-button,
  .skip-link {
    display: none !important;
  }

  .site-menu {
    display: flex !important;
    position: static !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .site-header,
  .site-footer {
    position: static;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* Contact panel spacing */
.contact-panel > h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.contact-panel > h3:first-child {
  margin-top: 0;
}
.contact-panel .actions {
  margin: 1rem 0 0.5rem;
}
.contact-panel > h3 + h3 {
  margin-top: 1.5rem;
}

/* ---- QA 2026-11-22 ---- */
/* Consistent left edge: reading columns align with headings instead of centring */
.wrap.reading {
  max-width: none;
}
.wrap.reading > * {
  max-width: var(--measure);
}

/* Tap targets >= 44px */
.site-menu a,
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-menu a {
  display: flex;
}
.footer-nav a,
.site-footer a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-nav ul {
  gap: 0 1.25rem;
}

/* Wide photo bands: keep a sensible crop on every width */
.bleed img {
  height: auto;
  aspect-ratio: 21 / 8;
  object-position: center 55%;
}
@media (max-width: 46rem) {
  .bleed img {
    aspect-ratio: 3 / 2;
  }
}
.bleed-gap {
  margin-block: 1.5rem clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

/* Breathing room between a paragraph and the next heading */
.reading p + h3,
.prose p + h3,
.reading h3 + .prose {
  margin-top: 1.75rem;
}
.reading > p:first-child + h3 {
  margin-top: 1.25rem;
}

/* Long quote in the Mindfulness hero: calmer size */
.quote-title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
  max-width: 26ch;
  line-height: 1.2;
}

/* Sobre mí intro: read as a lead paragraph, not a lone bullet */
.intro-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.intro-list li {
  padding: 0;
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  line-height: 1.55;
  border-left: 3px solid var(--terracotta);
  padding-left: 1.1rem;
}
.intro-list li::marker {
  content: none;
}

/* Long words never overflow */
h1, h2, h3, p, li, dd, a {
  overflow-wrap: break-word;
}

/* Floating WhatsApp: keep page end clear of it */
.site-footer {
  padding-bottom: calc(3rem + 3.5rem);
}

picture {
  display: block;
}
.footer-nav a {
  min-width: 44px;
}
.wrap.prose {
  max-width: none;
}
.wrap.prose > * {
  max-width: var(--measure);
}
.hero-lite .quote-title {
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.5rem);
  max-width: 28ch;
  line-height: 1.22;
}
@media (max-width: 30rem) {
  .contact-panel .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-panel .actions .button {
    width: 100%;
    justify-content: center;
  }
}

.wa-float {
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
}
