/* Laser & Skin Clinic — first-draft site */
:root {
  --cream: #fcfcfc;
  --cream-deep: #f5f5f6;
  --beige: #e2dbd3;
  --beige-hover: #d7cec4;
  --grey: #e9eaeb;
  --grey-hover: #dedfe1;
  --ink: #1d1d1f;
  --ink-soft: #333336;
  --muted: #616166;
  --line: rgba(43, 27, 19, 0.14);
  --gold: #c78b30;
  --gold-pale: #ffe39d;
  --bronze: #b08c60;
  --header-h: 4.15rem;
  --max: 72rem;
  --serif: "Instrument Serif", "Times New Roman", Times, serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(43, 27, 19, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  z-index: 1000;
  border-radius: 0.3rem;
}
.skip:focus { top: 0.6rem; }

/* Language visibility */
html[lang="es"] .lang-en,
html[lang="en"] .lang-es { display: none !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(252, 252, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
}
.icon-btn:hover { background: rgba(43, 27, 19, 0.06); }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.logo {
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  justify-self: center;
  padding: 0.1rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
}
.logo-name {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(0.92rem, 3.6vw, 1.22rem);
  letter-spacing: 0.08em;
  line-height: 1.1;
  white-space: nowrap;
}
.logo-place {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 0.4rem;
  width: 100%;
  margin-top: 0.28rem;
  color: var(--bronze);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1;
}
.logo-place::before,
.logo-place::after {
  content: "";
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.logo-place span {
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  padding-left: 0.28em; /* optical center for letter-spacing */
  text-transform: uppercase;
  white-space: nowrap;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 0.2rem 0.15rem;
  font: inherit;
  letter-spacing: inherit;
}
.lang-toggle button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 600;
}
.lang-toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lang-toggle .sep { opacity: 0.45; }

/* Promo */
.promo {
  background: var(--ink);
  color: var(--gold-pale);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
}
.promo a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.promo a:hover { text-decoration: underline; }

/* Hero */
.hero {
  width: 100%;
  background: #d9d3cc;
}
.hero picture,
.hero img {
  width: 100%;
  height: min(72vw, 38rem);
  min-height: 16.5rem;
  object-fit: cover;
  object-position: center 18%;
}

/* Bands */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.band {
  padding: 2rem 0 0.5rem;
}

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

.pills {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1.15rem 0.95rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pill.beige { background: var(--beige); }
.pill.grey { background: var(--grey); }
.pill:hover { transform: translateX(3px); }
.pill.beige:hover { background: var(--beige-hover); }
.pill.grey:hover { background: var(--grey-hover); }
.pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pill svg { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; }

.divider {
  display: none;
  width: 1px;
  align-self: stretch;
  background: var(--line);
  justify-self: center;
}

.headline-block { text-align: left; }
.headline {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.subhead {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  max-width: 26rem;
}

.photo-frame {
  border-radius: 0;
  overflow: hidden;
  background: #d9d3cc;
}
.photo-frame img {
  width: 100%;
  height: min(58vw, 28rem);
  object-fit: cover;
  object-position: center 30%;
}

/* Footer CTA strip */
.cta-strip {
  margin-top: 2.25rem;
  padding: 1.35rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-deep);
}
.cta-place {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-style: italic;
  margin: 0;
}
.cta-rule {
  display: none;
  width: 1px;
  height: 1.6rem;
  background: var(--line);
}

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-pale);
  background:
    linear-gradient(160deg, #604020 0%, #3e2618 54%, #2b1b13 100%) padding-box,
    linear-gradient(155deg, #ffe8a3 0%, #c78b30 23%, #f7d77d 47%, #9e621b 73%, #f5cf69 100%) border-box;
  border: 2px solid transparent;
  box-shadow: 0 6px 16px rgba(43, 27, 19, 0.18);
  white-space: nowrap;
}
.btn-book:hover { filter: brightness(1.08); }
.btn-book:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-book.solid-wide { min-width: 10.5rem; }

/* Sections */
.section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}
.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 5vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.lede, .prose p, .faq-a {
  color: var(--ink-soft);
}
.lede { margin: 0 0 1rem; max-width: 42rem; }
.prose { max-width: 42rem; }
.prose p { margin: 0 0 0.9rem; }
.note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.placeholder {
  font-style: italic;
  color: #7a5a2b;
  background: rgba(199, 139, 48, 0.1);
  padding: 0.05em 0.3em;
  border-radius: 0.2em;
}

.section-split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.portrait {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #e2dbd3;
}
.portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
}


.portrait.landscape img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.service-photos {
  display: grid;
  gap: 0.7rem;
  margin: 1.35rem 0 1.1rem;
}
.service-photos.pair {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.service-photos figure {
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--grey);
}
.service-photos img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
}

.section-title-sm {
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  margin-bottom: 0.75rem;
}
.tattoo-split {
  margin: 2rem 0 2.4rem;
}


.service-cta { margin: 1.15rem 0 0; }
.service-cta-alt { margin: 0.7rem 0 0; }
.service-cta-alt a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.service-cta-alt a:hover { color: var(--ink); }
/* FAQ */
.faq { margin-top: 1.75rem; max-width: 42rem; }
.faq h3 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--muted);
}
.faq details[open] summary::after { content: "–"; }
.faq-a { margin: 0.65rem 0 0.2rem; }

/* Technology grid — horizontal machine cards (image + text side by side, including mobile) */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.6rem;
}
.tech-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 9.25rem;
}
.tech-card .shot {
  flex: 0 0 40%;
  width: 40%;
  max-width: 40%;
  background: #d8d4cf;
  position: relative;
  overflow: hidden;
  min-height: 9.25rem;
  padding: 0;
}
.tech-card .shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  padding: 0;
}
.tech-card.wide .shot img { max-height: none; height: 100%; }
.tech-card .body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0.85rem 0.75rem 0.8rem;
  min-width: 0;
}
.tech-card h3 {
  margin: 0 0 0.28rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 4.2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.2;
}
.tech-card p {
  margin: 0;
  font-size: clamp(0.78rem, 2.9vw, 0.95rem);
  line-height: 1.4;
  color: var(--ink-soft);
}

/* Visit */
.visit-grid {
  display: grid;
  gap: 1.5rem;
}
.visit-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.25rem 1.3rem 1.4rem;
}
.visit-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.28rem 0;
  font-weight: 400;
}
.hours th { font-weight: 500; width: 42%; }
.hours td { color: var(--ink-soft); }
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li { margin: 0 0 0.45rem; }
.contact-list a { text-decoration: underline; text-underline-offset: 0.18em; }
.contact-list a:hover { color: var(--ink-soft); }

.site-footer {
  padding: 1.5rem 1.2rem 2.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.site-footer p { margin: 0.25rem 0; }
.site-footer a { color: inherit; }

/* Nav drawer */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 27, 19, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}
.backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(20rem, 86vw);
  background: var(--cream);
  z-index: 100;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  padding: 1.1rem 1.25rem 2rem;
  overflow: auto;
  box-shadow: var(--shadow);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}
.drawer-title {
  font-family: var(--serif);
  font-size: 1.15rem;
}
.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.drawer a {
  text-decoration: none;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.drawer a:hover { color: var(--ink-soft); }
.drawer .btn-book { margin-top: 1.4rem; width: 100%; }

body.nav-open { overflow: hidden; }


.desk-nav { display: none; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}
.header-book { display: none; }

@media (min-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 1.75rem;
  }
  .icon-btn#menu-btn { display: none; }
  .desk-nav {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
  }
  .desk-nav a {
    text-decoration: none;
    color: var(--ink-soft);
  }
  .desk-nav a:hover { color: var(--ink); }
  .header-book {
    display: inline-flex;
    min-height: 2.15rem;
    padding: 0.3rem 0.9rem;
    font-size: 0.78rem;
  }
}

/* Desktop */
@media (min-width: 800px) {
  :root { --header-h: 4.6rem; }
  .header-inner { padding: 0 1.75rem; }
  .wrap { padding: 0 1.75rem; }
  .hero img, .hero picture { height: min(46vw, 28.5rem); min-height: 20rem; object-position: center 16%; }
  .band { padding: 2.6rem 0 0.75rem; }
  .band-split {
    grid-template-columns: minmax(16rem, 0.95fr) 1px minmax(20rem, 1.2fr);
    gap: 2.4rem 2.6rem;
    align-items: center;
  }
  .band-split.reverse {
    grid-template-columns: minmax(20rem, 1.2fr) 1px minmax(16rem, 0.95fr);
  }
  .divider { display: block; }
  .photo-frame { border-radius: 0.85rem; }
  .photo-frame img { height: min(32vw, 28rem); }
  .cta-strip {
    margin-top: 2.6rem;
    padding: 1.45rem 1.75rem;
    justify-content: flex-start;
    gap: 1.75rem;
  }
  .cta-rule { display: block; }
  .section { padding: 4.2rem 0; }
  .section-split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
  }
  .section-split.flip { grid-template-columns: 1.15fr 0.85fr; }
  .portrait img { max-height: 38rem; }
  .service-photos { gap: 1rem; margin: 1.7rem 0 1.2rem; }
  .tattoo-split { margin: 2.4rem 0 2.8rem; }
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1.05rem;
    max-width: none;
  }
  .tech-card { min-height: 11.5rem; }
  .tech-card .shot {
    flex: 0 0 15rem;
    flex-basis: 15rem;
    width: 15rem;
    max-width: 15rem;
    min-height: 11.5rem;
    padding: 0;
  }
  .tech-card .shot img,
  .tech-card.wide .shot img { max-height: none; }
  .tech-card .body { padding: 1rem 1.4rem; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}

@media (min-width: 900px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem 1.25rem;
    max-width: none;
  }
  .tech-card { min-height: 12.25rem; }
  .tech-card .shot {
    flex: 0 0 40%;
    flex-basis: 40%;
    width: 40%;
    max-width: 40%;
    min-height: 12.25rem;
    padding: 0;
  }
  .tech-card .shot img,
  .tech-card.wide .shot img { max-height: none; }
  .tech-card .body { padding: 0.95rem 1.2rem; }
  .tech-card.wide { grid-column: span 1; }
  .tech-card:nth-child(even) { flex-direction: row; }
}

@media (min-width: 1100px) {
  .headline { font-size: 3.7rem; }
}

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


/* —— Informative pages (hubs, machines, blog) —— */
.page-hero {
  padding: 2.4rem 0 0.4rem;
}
.page-hero .kicker,
.section-kicker {
  margin: 0 0 0.45rem;
}
.play-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.85rem, 6.4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1rem;
  max-width: 18ch;
}
.page-hero .lede { max-width: 38rem; }
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb .sep { opacity: 0.5; }

.hub-block { padding: 2.4rem 0 0; }
.hub-block h2,
.machine-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  margin: 0 0 0.9rem;
}
.overview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.overview-list li {
  background: var(--cream-deep);
  border-radius: 0.85rem;
  padding: 0.95rem 1.05rem;
}
.overview-list h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}
.overview-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.note-live {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.machine-link-grid,
.blog-card-grid,
.hub-card-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
}
.machine-link-grid {
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .blog-card-grid,
  .hub-card-grid { grid-template-columns: repeat(2, 1fr); }
  .machine-link-grid {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 1.05rem;
  }
}
@media (min-width: 900px) {
  .machine-link-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem 1.25rem;
    max-width: none;
  }
}

a.tech-card,
a.mini-card,
a.blog-card,
a.hub-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.tech-card,
a.mini-card.device {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
a.tech-card:hover .body h3,
a.mini-card:hover h3,
a.blog-card:hover h3,
a.hub-card:hover h3 { color: var(--ink); }

.mini-card,
.blog-card,
.hub-card {
  background: var(--cream-deep);
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .2s ease, transform .2s ease;
}
a.mini-card:hover,
a.blog-card:hover,
a.hub-card:hover { border-color: var(--line); }
.mini-card .shot,
.blog-card .shot,
.hub-card .shot { background: var(--grey); }
.mini-card img,
.blog-card img,
.hub-card img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
  display: block;
}
.mini-card.device {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--line);
  min-height: 9.25rem;
}
.mini-card.device .shot {
  flex: 0 0 40%;
  width: 40%;
  max-width: 40%;
  background: #d8d4cf;
  position: relative;
  overflow: hidden;
  min-height: 9.25rem;
  padding: 0;
}
.mini-card.device img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  padding: 0;
}
.mini-card.device .body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0.85rem 0.75rem 0.8rem;
  min-width: 0;
}
.mini-card.device h3 {
  font-size: clamp(1.05rem, 4.2vw, 1.4rem);
  line-height: 1.2;
  margin: 0 0 0.28rem;
}
.mini-card.device p {
  font-size: clamp(0.78rem, 2.9vw, 0.95rem);
  line-height: 1.4;
}
@media (min-width: 700px) {
  .mini-card.device { min-height: 11.5rem; }
  .mini-card.device .shot {
    flex: 0 0 15rem;
    flex-basis: 15rem;
    width: 15rem;
    max-width: 15rem;
    min-height: 11.5rem;
    padding: 0;
  }
  .mini-card.device img { max-height: none; }
  .mini-card.device .body { padding: 1rem 1.4rem; }
}
@media (min-width: 900px) {
  .mini-card.device { min-height: 12.25rem; }
  .mini-card.device .shot {
    flex: 0 0 40%;
    flex-basis: 40%;
    width: 40%;
    max-width: 40%;
    min-height: 12.25rem;
    padding: 0;
  }
  .mini-card.device img { max-height: none; }
  .mini-card.device .body { padding: 0.95rem 1.2rem; }
  .machine-link-grid .mini-card.device:nth-child(even) { flex-direction: row; }
}
.mini-card .body,
.blog-card .body,
.hub-card .body { padding: 0.95rem 1.05rem 1.15rem; }
.mini-card h3,
.blog-card h3,
.hub-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.3rem;
}
.mini-card p,
.blog-card p,
.hub-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.machine-hero-shot {
  background: transparent;
  overflow: visible;
  margin: 0 0 1.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  aspect-ratio: auto;
  max-height: none;
}
.machine-hero-shot > picture {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 26rem;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #d8d4cf;
}
.machine-hero-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  padding: 0;
}
.prose-blocks p { margin: 0 0 0.9rem; max-width: 42rem; }
.prose-blocks h2 { margin-top: 2rem; }
.source-box {
  margin-top: 2.2rem;
  padding: 1rem 1.1rem;
  background: var(--cream-deep);
  border-radius: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.source-box h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.45rem;
}
.source-box ul { margin: 0; padding-left: 1.1rem; }
.source-box li { margin: 0.25rem 0; }
.source-box a { color: var(--ink-soft); }

.draft-banner {
  background: #efe6d8;
  color: var(--ink);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
}
.draft-banner strong { font-weight: 600; }

.article-body { max-width: 40rem; }
.article-body p { margin: 0 0 1rem; }
.article-meta { color: var(--muted); font-size: 0.86rem; margin: 0 0 1.2rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.8rem;
  margin: 1.15rem 0 0;
}
.btn-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.btn-quiet:hover { background: var(--grey); }

.hub-bottom-cta {
  margin: 2.8rem 0 0;
  padding: 1.5rem 1.25rem;
  background: var(--beige);
  border-radius: 1rem;
  text-align: left;
}
.hub-bottom-cta h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}
.hub-bottom-cta p { margin: 0 0 1rem; color: var(--ink-soft); }

.sticky-book { display: none; }
@media (max-width: 799px) {
  body.has-sticky-cta { padding-bottom: 5.1rem; }
  .sticky-book {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(252, 252, 252, 0.94);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .sticky-book .btn-book {
    width: 100%;
    justify-content: center;
  }
}

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.section-title.is-play {
  font-style: italic;
  max-width: 16ch;
  line-height: 1.15;
}

@media (min-width: 800px) {
  .page-hero { padding-top: 3.2rem; }
  .machine-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(22rem, 1.2fr);
    gap: 2.4rem;
    align-items: start;
  }
  .machine-hero-shot { margin: 0; position: sticky; top: calc(var(--header-h) + 1rem); }
}

/* Wordmark: name on top, Miami as a ruled gold subline — emblem never sits in the header */
@media (min-width: 800px) {
  .logo-place span { font-size: 0.68rem; letter-spacing: 0.3em; padding-left: 0.3em; }
}

/* Emblem + phrase (before About) — winged mark left, copy right; not paired with the wordmark */
.emblem-phrase {
  display: flex;
  align-items: center;
  gap: 1rem 1.15rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.6rem 1.25rem 0.35rem;
}
.emblem-phrase img {
  flex: 0 0 auto;
  height: 4.25rem;
  width: auto;
  display: block;
}
.emblem-phrase-copy { min-width: 0; flex: 1; }
.emblem-phrase-line {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 4.4vw, 1.85rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.emblem-phrase-lede {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 34rem;
}
@media (max-width: 359px) {
  .emblem-phrase {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
}
@media (min-width: 800px) {
  .emblem-phrase {
    gap: 1.75rem;
    padding: 3.2rem 1.75rem 0.6rem;
  }
  .emblem-phrase img { height: 8rem; }
  .emblem-phrase-lede { font-size: 0.95rem; }
}


/* Welcome split sections — man from the hero, copy beside the photo */
.welcome {
  background: var(--cream);
}
.welcome-alt {
  margin-top: 1.15rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.welcome-split {
  display: grid;
  gap: 1.35rem 1.6rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 0 2.1rem;
}
.welcome-copy {
  padding: 0 1.2rem;
}
.welcome-title {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.85rem, 6.2vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 16ch;
}
.welcome-copy .lede {
  margin: 0;
  max-width: 28rem;
}
.welcome-shot {
  overflow: hidden;
  background: #e6e1da;
}
.welcome-shot picture,
.welcome-shot img {
  width: 100%;
  display: block;
}
.welcome-shot img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.welcome:not(.welcome-alt) .welcome-shot img {
  object-position: 86% 20%;
}
.welcome-alt .welcome-shot img {
  object-position: 12% 18%;
}

@media (max-width: 799px) {
  .welcome-split {
    grid-template-columns: 1fr;
  }
  .welcome:not(.welcome-alt) .welcome-shot {
    order: -1;
  }
}

@media (min-width: 800px) {
  .welcome-split {
    grid-template-columns: minmax(18rem, 1fr) minmax(22rem, 1.15fr);
    gap: 0 3rem;
    max-width: none;
    padding: 0;
    align-items: stretch;
    min-height: 26rem;
  }
  .welcome-split-flip {
    grid-template-columns: minmax(22rem, 1.15fr) minmax(18rem, 1fr);
  }
  .welcome-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 3.4rem;
    padding-bottom: 3.4rem;
    padding-left: max(1.75rem, calc((100vw - var(--max)) / 2 + 1.75rem));
    padding-right: 2.5rem;
  }
  .welcome-split-flip .welcome-copy {
    padding-left: 2.5rem;
    padding-right: max(1.75rem, calc((100vw - var(--max)) / 2 + 1.75rem));
  }
  .welcome-title {
    font-size: clamp(2.15rem, 3.2vw, 2.95rem);
    max-width: 26ch;
  }
  .welcome-shot img {
    height: 100%;
    min-height: 26rem;
    max-height: 34rem;
    aspect-ratio: auto;
  }
}

/* Typographic placeholder when a device photo is not yet available */
.device-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grey);
  height: 13.5rem;
  padding: 1rem 1.15rem;
  color: var(--ink);
  box-sizing: border-box;
}
.device-placeholder-brand {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze, #b08c60);
}
.device-placeholder-name {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.15;
}
.device-placeholder-meta {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  max-width: 16rem;
}
.device-placeholder-note {
  margin: 0.55rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
}
.machine-hero-shot .device-placeholder {
  height: min(26rem, 70vw);
  min-height: 16rem;
  background: var(--grey);
}
.machine-hero-shot.landscape > picture { max-height: 24rem; }
.machine-extra-shot {
  background: #d8d4cf;
  border-radius: 0.85rem;
  overflow: hidden;
  margin: 1rem 0 0;
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 18rem;
  width: 100%;
}
.machine-extra-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  padding: 0;
}

/* Splendor X uses the same edge-to-edge cover treatment as the other machines.
   The photo was padded (not upscaled) so cover will not crop the device. */
.machine-hero-shot.native-small > picture,
.machine-extra-shot.native-small {
  background: #e6e2dc;
}

/* Service name lists and membership families */
.service-group { margin: 1.2rem 0 0; }
.service-group + .service-group { margin-top: 1.55rem; }
.service-group-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.55rem;
}
.service-names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.service-names li {
  background: var(--cream-deep);
  border-radius: 0.7rem;
  padding: 0.68rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}
.service-names a {
  text-decoration: none;
  color: inherit;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.service-names a::after {
  content: " →";
  color: var(--bronze);
  font-weight: 400;
  font-size: 0.88em;
  letter-spacing: 0;
}
.service-names a:hover { text-decoration: underline; }
.service-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 42rem;
}
@media (min-width: 720px) {
  .service-names { grid-template-columns: 1fr 1fr; }
}

.memb-family {
  margin: 1.35rem 0 0;
  background: var(--cream-deep);
  border-radius: 1rem;
  overflow: hidden;
}
.memb-family-head {
  padding: 1.1rem 1.15rem 0.95rem;
  background: #ebe6df;
}
.memb-family-head h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}
.memb-tagline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.5;
  max-width: 40rem;
}
.memb-plans {
  display: grid;
  gap: 0;
  padding: 0.15rem 0.35rem 0.45rem;
}
.memb-plan {
  padding: 0.9rem 0.85rem 1rem;
  border-top: 1px solid var(--line);
}
.memb-plan h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.memb-plan ul,
.memb-custom ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.memb-plan li,
.memb-custom li {
  position: relative;
  padding: 0.16rem 0 0.16rem 0.9rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}
.memb-plan li::before,
.memb-custom li::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: 0.72em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--bronze);
  opacity: 0.75;
}

.memb-plans:not(:has(.memb-plan)) { display: none; padding: 0; }
.memb-custom { padding: 0.15rem 1.15rem 1.15rem; }
.memb-custom h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.35rem 0 0.4rem;
}
.memb-custom p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 40rem;
}
.memb-calm {
  margin: 1.7rem 0 0;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 1rem;
  background: #f3efe9;
}
.memb-calm h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}
.memb-calm p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 42rem;
}
@media (min-width: 800px) {
  .memb-plans { grid-template-columns: 1fr 1fr; padding: 0.35rem 0.4rem 0.55rem; }
  .memb-plan { border-top: 0; border-left: 1px solid var(--line); }
  .memb-plan:nth-child(odd) { border-left: 0; }
}

.memb-teaser {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.memb-teaser-card {
  background: var(--cream-deep);
  border-radius: 0.85rem;
  padding: 0.95rem 1.05rem;
}
.memb-teaser-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 0.3rem;
}
.memb-teaser-card p {
  margin: 0;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
}
.memb-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.05rem;
  align-items: center;
}


/* Nuestra historia — collages (title is inside the artwork) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.historia .wrap { display: grid; gap: 1.25rem; }
.historia-fig { margin: 0; border-radius: 1.1rem; overflow: hidden; box-shadow: var(--shadow); background: #f3ece1; }
.historia-fig picture, .historia-fig img { display: block; width: 100%; height: auto; }
.historia-note { margin: 0 auto; max-width: 34rem; text-align: center; color: var(--ink-soft); font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.35; padding: 0.4rem 0.5rem; }
@media (min-width: 800px) {
  .historia .wrap { gap: 1.75rem; }
  .historia-note { font-size: 1.35rem; }
}
