.ml-page {
  --ml-paper: #fbf5ef;
  --ml-ink: #36201e;
  --ml-muted: #6e4f49;
  --ml-line: #dec8bd;
  --ml-accent: #783f37;
  overflow: clip;
  background: var(--ml-paper);
  color: var(--ml-ink);
  font-family: Arial, Helvetica, sans-serif;
}

:root[data-theme="dark"] .ml-page {
  --ml-paper: #2c1d1b;
  --ml-ink: #fff1e8;
  --ml-muted: #e2c2b9;
  --ml-line: #664642;
  --ml-accent: #9a544a;
}

.visual-mirada {
  background: linear-gradient(90deg, #35221cbb, #35221c00 78%), url("/assets/images/mirada-lash-af3b8e915c.webp") center 40% / cover;
  color: #fff5ed;
}

.ml-wrap {
  width: min(100% - clamp(2rem, 9vw, 9rem), 76rem);
  margin-inline: auto;
}

.ml-header, .ml-footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.5rem;
  padding-block: 1.25rem;
}

.ml-header { border-bottom: 1px solid var(--ml-line); }
.ml-brand {
  display: inline-flex;
  flex-direction: column;
  gap: .35rem;
  color: inherit;
  font: 400 2rem/.85 Georgia, serif;
  letter-spacing: -.06em;
  text-decoration: none;
}

.ml-brand span, .ml-kicker {
  font: 700 .65rem/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.ml-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.5rem;
  font-size: .875rem;
}

.ml-header nav > a:not(.ml-book), .ml-footer a { color: inherit; text-underline-offset: .25em; }
.ml-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 2.85rem;
  padding: .6rem 1.2rem;
  border-radius: 2rem;
  background: var(--ml-accent);
  color: #fffaf6;
  font-size: .875rem;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.ml-book:hover { background: #643229; }
.ml-page :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.ml-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.25rem, 6vw, 5.5rem);
}

.ml-hero h1, .ml-gallery h2, .ml-services h2 {
  margin: .6rem 0 1.35rem;
  color: var(--ml-ink);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .94;
}

.ml-hero h1 { font-size: clamp(3.55rem, 7.7vw, 8rem); }
.ml-hero h1 em { color: var(--ml-muted); }
.ml-hero-copy > p:not(.ml-kicker) { max-width: 31ch; margin: 0 0 1.65rem; color: var(--ml-muted); font-size: clamp(1rem, 1.65vw, 1.2rem); line-height: 1.6; }
.ml-portrait { margin: 0; }
.ml-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 36rem;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  object-position: center 46%;
  border-radius: .4rem 7rem .4rem .4rem;
  background: #a77f69;
}

.ml-gallery, .ml-services {
  padding-block: clamp(2.25rem, 5.5vw, 5rem);
  border-top: 1px solid var(--ml-line);
}

.ml-gallery h2, .ml-services h2 { font-size: clamp(2.75rem, 4.5vw, 5rem); }
.ml-gallery-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  margin-bottom: clamp(1.15rem, 3vw, 2.25rem);
}

.ml-gallery-heading h2, .ml-gallery-heading p { margin: 0; }
.ml-gallery-heading p { color: var(--ml-muted); font-size: .8rem; }
.ml-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.ml-gallery-grid figure, .ml-studio { min-width: 0; margin: 0; }
.ml-gallery-grid img, .ml-studio img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .35rem;
  background: #bf9985;
}

.ml-gallery-grid figcaption {
  display: grid;
  gap: .35rem;
  padding: .95rem 0 1rem;
  border-bottom: 1px solid var(--ml-line);
}

.ml-gallery-grid strong { font: 400 clamp(1.4rem, 2.35vw, 2.15rem)/1.15 Georgia, serif; }
.ml-gallery-grid figcaption span { color: var(--ml-muted); font-size: .9rem; line-height: 1.5; }

.ml-services {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.65rem, 5.5vw, 5.5rem);
}

.ml-studio img { max-height: 28rem; border-top-left-radius: clamp(2rem, 5vw, 5rem); }
.ml-menu { margin: 0; }
.ml-menu > div { padding-block: 1rem; border-bottom: 1px solid var(--ml-line); }
.ml-menu > div:first-child { padding-block-start: 0; }
.ml-menu dt { font: 400 clamp(1.35rem, 2vw, 2rem)/1.2 Georgia, serif; }
.ml-menu dd { margin: .45rem 0 0; color: var(--ml-muted); line-height: 1.55; }
.ml-footer { padding-block: 1rem 4.5rem; }
.ml-footer a { font-size: .85rem; }

@media (max-width: 46rem) {
  .ml-hero, .ml-services { grid-template-columns: minmax(0, 1fr); }
  .ml-portrait img { max-height: 28rem; border-top-right-radius: 4rem; }
}

@media (max-width: 36rem) {
  .ml-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .ml-gallery-grid img { aspect-ratio: 5 / 3; }
}

@media (max-width: 23rem) {
  .ml-header nav { gap: .6rem; }
  .ml-header .ml-book { padding-inline: .65rem; }
}
