/* Local typography */
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* Palette and base */
:root {
  --paper: #fcfaf6;
  --lilac: #e6d9f0;
  --light: #f1edf4;
  --sky: #e8eff3;
  --pistachio: #e8eccd;
  --purple: #735188;
  --ink: #363a35;
  --muted: #5f6259;
  --accent: #9270ad;
  --line: #d7d9ce;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --photo-radius: 48% 48% 0 0 / 28% 28% 0 0;
  --photo-fade: linear-gradient(180deg, #000 82%, transparent 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 14px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
::selection { background: var(--purple); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 5px;
}
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
em { font-weight: 400; }
img { display: block; max-width: 100%; object-fit: cover; }
svg { display: block; width: 100%; height: 100%; }
small { font-size: inherit; }
section[id] { scroll-margin-top: 24px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.section-wrap { width: min(1180px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .025em;
  line-height: 1.65;
}
.muted { color: var(--muted); }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 16px;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--purple);
  color: var(--paper);
}
.skip-link:focus { transform: none; }

/* Shared actions */
.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  transition: background .25s, color .25s, transform .4s var(--ease);
}
.button svg { width: 22px; height: 22px; flex: 0 0 auto; transition: transform .4s var(--ease); }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:hover:not(:disabled) svg { transform: translateX(4px); }
.button-plum { background: var(--purple); color: var(--paper); }
.button-plum:hover:not(:disabled) { background: #6f478d; }
.button-butter { background: var(--paper); color: var(--ink); }
.button-butter:hover:not(:disabled) { background: var(--light); }
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.text-link svg { width: 21px; height: 21px; flex: 0 0 auto; transition: transform .4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* Private status, in normal document flow */
.preview-tools {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding: 0 20px;
  background: #f2f2e9;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}
.preview-tools > span { display: flex; align-items: center; gap: 7px; }
.preview-tools i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
.preview-tools form { display: flex; margin: 0; }
.preview-tools button { min-height: 31px; padding: 0 4px; font-size: 10px; }

/* Header and navigation */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: max(56px, calc((100% - 1180px) / 2));
  background: var(--paper);
}
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  font: 400 49px/.95 var(--serif);
  letter-spacing: -.07em;
  white-space: nowrap;
}
.brand-name { display: inline-block; white-space: nowrap; }
.brand-brush { display: inline-block; width: .2em; height: .7em; max-width: none; margin-inline: .01em .015em; object-fit: contain; vertical-align: -.01em; }
.brand small {
  max-width: 52px;
  margin-left: 15px;
  font: 500 10px/1.35 var(--sans);
  letter-spacing: .01em;
  white-space: normal;
}
.desktop-nav { display: flex; align-items: center; gap: 31px; }
.desktop-nav a { position: relative; padding: 15px 0; font-size: 12px; }
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-book { display: flex; min-height: 51px; align-items: center; gap: 14px; padding: 0; font-size: 12px; white-space: nowrap; }
.header-book > span { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.header-book svg { width: 19px; height: 19px; }
.header-book:hover > span { background: var(--lilac); }
.menu-toggle, .mobile-menu { display: none; }

/* Hero: restrained text and a framed photograph */
.hero {
  display: grid;
  width: min(1180px, calc(100% - 112px));
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 66px;
  margin-inline: auto;
  padding-block: 42px 40px;
}
.hero-copy { min-width: 0; max-width: 650px; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 11px; }
.little-line { display: inline-block; width: 23px; height: 1px; flex: 0 0 auto; background: var(--accent); }
.hero h1 {
  margin-top: 26px;
  font-size: clamp(64px, 6.5vw, 94px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero-line, .hero-line > span { display: block; }
.hero-line { white-space: nowrap; }
.hero h1 em { color: var(--purple); }
.hero-bottom { margin-top: 28px; }
.hero-bottom > p { max-width: 435px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 25px; }
.hero-color-note { display: flex; align-items: center; gap: 12px; margin-top: 27px; color: var(--muted); font-size: 11px; }
.color-dots { display: inline-flex; align-items: center; gap: 5px; }
.color-dots i { display: block; width: 11px; height: 11px; border: 1px solid #89937f; border-radius: 50%; background: #cdd9ad; }
.color-dots i:nth-child(2) { background: #c1d7df; border-color: #8ba5ae; }
.color-dots i:nth-child(3) { background: #c9aedb; border-color: #a587b7; }
.hero-visual { width: 100%; max-width: 425px; justify-self: end; }
/* El arco y el fundido inferior conectan las fotos con el fondo sin suavizar las uñas. */
.hero-image { aspect-ratio: .98; overflow: hidden; border-radius: var(--photo-radius); mask-image: var(--photo-fade); }
.hero-image img { width: 100%; height: 100%; object-position: 50% 48%; }
.hero-image-label { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; padding-inline: 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* Introduction and shared section headings */
.intro { padding-block: 55px 60px; background: linear-gradient(180deg, var(--paper), var(--sky) 28%, var(--sky) 63%, var(--paper)); }
.intro-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.intro h2 { max-width: 650px; font-size: clamp(45px, 4.7vw, 62px); letter-spacing: -.025em; line-height: 1.08; }
.intro h2 em { color: var(--purple); }
.intro-note { align-self: center; }
.intro-note > p { max-width: 440px; margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.signature { display: inline-block; margin-top: 1px; color: #516873; font: italic 26px/1.3 var(--serif); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 39px; }
.section-heading h2 { margin-top: 18px; font-size: clamp(43px, 4.8vw, 62px); letter-spacing: -.03em; }
.section-heading h2 em { color: var(--purple); }
.section-heading > p { max-width: 320px; padding-bottom: 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Services: quiet palette and functional accordions */
.services { padding-block: 48px 50px; }
.services-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 100px; }
.services-note { padding-top: 18px; }
.services-note > p { max-width: 280px; margin-bottom: 16px; color: var(--muted); line-height: 1.85; }
.nail-palette { display: flex; align-items: center; gap: 15px; margin-block: 29px 25px; padding-left: 10px; }
.nail-palette > span { width: 39px; height: 69px; border: 1px solid #c3b0d0; border-radius: 22px 22px 12px 12px; background: #c6acd9; box-shadow: inset 5px 1px 10px #ffffff60; transform: rotate(-13deg); }
.nail-palette > span:nth-child(2) { height: 75px; background: #c1d7df; border-color: #a0bbc5; transform: translateY(-7px); }
.nail-palette > span:nth-child(3) { background: #d4dcb0; border-color: #b7c28d; transform: rotate(13deg); }
.service-list { min-width: 0; }
.service { margin-bottom: 4px; padding-inline: 22px; border-radius: 12px; transition: background .25s; }
.service[open] { background: #e8eff38c; }
.service:not([open]):hover { background: #e8eff350; }
.service summary { display: flex; min-height: 81px; align-items: center; gap: 20px; padding: 21px 0; }
.service summary > span:first-child { font: 400 clamp(28px, 2.6vw, 36px)/1.15 var(--serif); letter-spacing: -.02em; }
.service-plus { position: relative; display: block; width: 20px; height: 20px; flex: 0 0 auto; margin-left: auto; }
.service-plus::before, .service-plus::after { position: absolute; top: 9px; right: 3px; left: 3px; height: 1px; background: currentColor; content: ""; transition: transform .3s var(--ease); }
.service-plus::after { transform: rotate(90deg); }
details[open] .service-plus::after { transform: rotate(0); }
.service-body { padding: 0 34px 25px 0; animation: detail-in .35s var(--ease); }
.service-body > p { max-width: 465px; margin-bottom: 12px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.services-help { margin-top: 22px; color: var(--muted); font-size: 13px; }
.services-help button { padding: 3px 0; color: var(--ink); font-size: inherit; text-decoration: underline; text-underline-offset: 4px; }

/* Fotografías integradas: un estudio principal y dos detalles con el mismo arco y fundido. */
.mood-section {
  padding-block: 48px 44px;
  background: linear-gradient(180deg, var(--paper), transparent 16%, transparent 80%, var(--paper)),
    radial-gradient(ellipse at 78% 35%, #e6d9f0b3, transparent 62%),
    radial-gradient(ellipse at 18% 68%, #e8eff3d9, transparent 65%);
}
.mood-workbench { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 90px; row-gap: 46px; align-items: start; }
.mood-intro { grid-column: 1; grid-row: 1; padding-top: 12px; }
.mood-intro h2 { margin-block: 18px 23px; font: 400 clamp(42px, 4.5vw, 61px)/1.08 var(--serif); letter-spacing: -.028em; }
.mood-intro > p:not(.eyebrow) { max-width: 435px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.mood-card { display: block; width: 100%; padding: 0; text-align: left; }
.mood-photo { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--photo-radius); mask-image: var(--photo-fade); transition: transform .65s var(--ease); }
.mood-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mood-card:hover .mood-photo > img { transform: scale(1.02); }
.mood-card:focus-visible .mood-photo, .mood-card:hover .mood-photo { transform: translateY(-3px); }
.mood-botanical { grid-column: 2; grid-row: 1 / span 2; max-width: 455px; justify-self: end; margin-top: 60px; }
.mood-botanical .mood-caption { padding: 0 24px; margin-top: -10px; }
.mood-pair { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 26px; padding-top: 5px; }
.mood-cherry { margin-top: 65px; }
.mood-cherry .mood-photo { aspect-ratio: 1; }
.mood-caption { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: -6px; padding: 0 14px; }
.mood-caption strong { font: 400 clamp(26px, 2.4vw, 33px)/1.15 var(--serif); letter-spacing: -.02em; }
.mood-botanical .mood-caption strong { font-size: 42px; }
.mood-caption > span:not(.mood-view) { color: var(--muted); font-size: 12px; line-height: 1.7; }
.mood-view { display: inline-flex; min-height: 37px; align-items: center; gap: 8px; font-size: 11px; color: var(--ink); }
.mood-view svg { width: 17px; height: 17px; }
.mood-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 39px; padding-top: 12px; }
.mood-bottom > p { max-width: 345px; color: var(--muted); font-size: 12px; }

/* Amani and the mascot, with a caption below the illustration */
.mascot-story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); align-items: center; gap: 95px; padding-block: 52px; }
/* Mezclar también el grupo que cambia de opacidad evita la lámina blanca durante la entrada. */
.mascot-art { display: flex; flex-direction: column; align-items: center; justify-self: center; padding: 0; mix-blend-mode: multiply; }
.mascot-animation { width: 300px; aspect-ratio: 2 / 3; mix-blend-mode: multiply; }
.mascot-animation > svg { display: block; width: 100%; height: 100%; }
.mascot-art figcaption { margin-top: 13px; color: var(--muted); font: italic 21px/1.45 var(--serif); text-align: center; }
.mascot-art.is-offscreen :is(.amani-brush-hand, .amani-wink, .amani-wink *) { animation-play-state: paused; }
.mascot-copy h2 { margin-block: 20px 26px; font-size: clamp(45px, 4.7vw, 62px); letter-spacing: -.025em; line-height: 1.07; }
.mascot-copy h2 em { color: var(--purple); }
.mascot-copy > p:not(.eyebrow) { max-width: 530px; margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.mascot-copy > p.mascot-note { margin-top: 24px; color: var(--purple); font: italic 25px/1.4 var(--serif); }

/* A pistachio invitation, paired with the lilac nail polish */
.appointment { padding: 52px max(56px, calc((100% - 1180px) / 2)) 48px; background: linear-gradient(180deg, var(--paper), var(--pistachio) 26%, var(--pistachio) 70%, var(--paper)); color: var(--ink); }
.appointment-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.appointment-flower { width: 44px; height: 44px; flex: 0 0 auto; color: #6c784e; }
.appointment-motion { display: flex; align-items: center; gap: 14px; }
.js .appointment-flower svg { animation: flower-turn 55s linear infinite; }
.appointment.is-offscreen .appointment-flower svg { animation-play-state: paused; }
.appointment-content { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .75fr); align-items: end; gap: 55px; margin-block: 16px 43px; }
.appointment h2 { max-width: 770px; font-size: clamp(50px, 5.6vw, 76px); letter-spacing: -.035em; line-height: 1.05; }
.appointment h2 em { color: #77528f; }
.appointment-action { padding-bottom: 5px; }
.appointment-action > p { max-width: 310px; margin-top: 18px; font-size: 13px; line-height: 1.8; }
.appointment-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 19px; font-size: 11px; letter-spacing: .015em; }
.appointment-bottom address { max-width: 520px; font-style: normal; }
.appointment-bottom a { font-size: 13px; letter-spacing: 0; }

/* Questions and a smaller wordmark */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 90px; padding-block: 46px; }
.faq h2 { margin-top: 22px; font-size: clamp(44px, 4.4vw, 60px); letter-spacing: -.025em; }
.faq h2 em { color: var(--purple); }
.faq-list { min-width: 0; }
.faq-list details { padding-inline: 18px; margin-bottom: 5px; border-radius: 12px; }
.faq-list details[open] { background: #e8eff380; }
.faq-list summary { display: flex; min-height: 72px; align-items: center; gap: 24px; padding-block: 20px; font-size: 14px; }
.faq-list details > p { padding: 0 30px 23px 0; color: var(--muted); font-size: 14px; line-height: 1.85; animation: detail-in .35s var(--ease); }
.site-footer { padding: 42px max(56px, calc((100% - 1180px) / 2)) 25px; background: linear-gradient(180deg, var(--paper), var(--sky) 64%); }
.footer-wordmark { display: inline-block; padding-bottom: 26px; font: 400 clamp(85px, 10vw, 145px)/1 var(--serif); letter-spacing: -.075em; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 23px; padding-top: 21px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.footer-bottom > span:first-child { font-size: 10px; letter-spacing: .1em; }
.footer-bottom button, .back-top { padding: 4px 0; color: var(--ink); font-size: 11px; }

/* Dialogs and form controls */
dialog { padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: 0 20px 85px #50376026; overscroll-behavior: contain; }
dialog::backdrop { background: #50376066; animation: backdrop-in .25s ease; }
dialog[open] { animation: dialog-in .4s var(--ease); }
.dialog-close { position: absolute; z-index: 2; top: 17px; right: 17px; display: grid; width: 48px; height: 48px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font: 300 30px/1 var(--sans); }
.dialog-close:hover { background: var(--lilac); }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 500; }
input:not([type="hidden"]), select, textarea { display: block; width: 100%; min-height: 51px; padding: 13px 12px; border: 1px solid #c7b1d8; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
select { padding-right: 31px; }
select option { background: var(--paper); color: var(--ink); }
input:disabled { background: var(--light); }
.booking-dialog { width: min(540px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 76px 44px 32px; overflow-y: auto; }
.booking-heading h2 { margin-top: 22px; font-size: 65px; letter-spacing: -.025em; }
.booking-heading h2 em { color: var(--purple); }
.booking-heading > p { max-width: 390px; margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.85; }
#booking-form { margin-top: 27px; }
.contact-notice { margin: 22px 0 0; padding: 14px 15px; border: 1px solid #b9c8a2; border-radius: 5px; background: #eef2df; color: #465337; font-size: 13px; line-height: 1.65; }
.contact-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 26px; }
.contact-shortcut { min-height: 76px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 5px; transition: background .25s, transform .25s var(--ease); }
.contact-shortcut:hover { background: var(--light); transform: translateY(-2px); }
.contact-shortcut span, .contact-shortcut strong { display: block; }
.contact-shortcut span { color: var(--muted); font-size: 10px; }
.contact-shortcut strong { margin-top: 5px; font-size: 13px; font-weight: 500; line-height: 1.4; }
#booking-form > label:not(.consent) { margin-top: 16px; }
#booking-form textarea { min-height: 112px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.consent input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--purple); }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.booking-submit { width: 100%; }
.form-privacy { max-width: 340px; margin: 15px auto 0; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.form-privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mood-dialog { width: 960px; max-width: calc(100vw - 40px); max-height: calc(100dvh - 40px); border-radius: 10px; overflow: auto; }
.mood-dialog[open] { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.mood-dialog > img { width: 100%; height: 100%; max-height: 700px; object-fit: contain; align-self: center; }
.mood-dialog > div { align-self: center; padding: 75px 30px 40px; }
.mood-dialog h2 { margin-block: 20px 22px; font-size: 54px; letter-spacing: -.025em; }
#mood-description { margin-bottom: 19px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.privacy-dialog { width: 550px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 76px 39px 30px; border-radius: 6px; overflow-y: auto; }
.privacy-dialog h2 { margin-block: 19px 25px; font-size: 58px; letter-spacing: -.025em; }
.privacy-dialog p { margin-bottom: 17px; font-size: 14px; line-height: 1.85; }
.privacy-dialog p a { text-decoration: underline; text-underline-offset: 3px; }
.no-script { padding: 20px; background: var(--light); font-size: 13px; text-align: center; }
.no-script a { text-decoration: underline; }

/* Public maintenance and private login */
.maintenance-page { display: grid; width: min(1180px, calc(100% - 112px)); min-height: 100dvh; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 80px; margin-inline: auto; padding-block: 43px 29px; }
.maintenance-copy { display: flex; min-width: 0; align-self: stretch; flex-direction: column; }
.maintenance-copy .brand { align-self: flex-start; }
.maintenance-main { margin-block: auto; padding-block: 58px; }
.maintenance-main h1 { margin-block: 27px 25px; font-size: clamp(57px, 6vw, 84px); letter-spacing: -.035em; line-height: 1.04; }
.maintenance-main h1 em { color: var(--purple); }
.maintenance-main > p:not(.eyebrow) { max-width: 405px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.maintenance-main .text-link { margin-top: 17px; }
.maintenance-image { width: 100%; max-width: 365px; justify-self: center; }
.maintenance-image > img { width: 100%; height: auto; aspect-ratio: .98; border-radius: var(--photo-radius); mask-image: var(--photo-fade); object-fit: cover; object-position: 50% 48%; }
.maintenance-image figcaption { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }
.maintenance-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.maintenance-footer > span { font-size: 10px; letter-spacing: .08em; }
.maintenance-footer a { padding-block: 7px; text-decoration: underline; text-underline-offset: 4px; }
.preview-form { max-width: 365px; margin-top: 29px; }
.preview-form input { margin-bottom: 12px; }
.preview-form .button { width: 100%; }
.preview-error { margin-top: 13px; color: #94345e; font-size: 13px; line-height: 1.7; }
.preview-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* Gentle motion */
.js .reveal { opacity: 0; transform: translateY(17px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero-line { animation: detail-in .85s var(--ease) both; }
.js .hero-line:nth-child(2) { animation-delay: .12s; }
.js .hero-enter { animation: detail-in .85s var(--ease) .2s both; }
@keyframes flower-turn { to { transform: rotate(360deg); } }
@keyframes detail-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: .3; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

/* Compact desktop and tablet */
@media (max-width: 1050px) {
  .section-wrap, .hero { width: calc(100% - 80px); }
  .site-header { padding-inline: 40px; gap: 22px; }
  .desktop-nav { gap: 22px; }
  .brand small { margin-left: 10px; }
  .header-book { gap: 10px; }
  .hero { gap: 40px; }
  .hero h1 { font-size: clamp(58px, 6.6vw, 72px); }
  .intro-main { gap: 50px; }
  .services-layout { gap: 60px; }
  .mascot-story { gap: 50px; }
  .mood-workbench { column-gap: 55px; row-gap: 32px; }
  .mood-pair { gap: 20px; }
  .mood-caption strong { font-size: 28px; }
  .mood-botanical .mood-caption strong { font-size: 36px; }
  .appointment, .site-footer { padding-inline: 40px; }
  .appointment-content { gap: 35px; }
  .faq { gap: 55px; }
  .maintenance-page { width: calc(100% - 80px); gap: 50px; }
}
@media (min-width: 761px) and (max-width: 930px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 11px; }
  .site-header { min-height: 91px; gap: 18px; }
  .brand { font-size: 43px; }
  .brand small { max-width: 38px; font-size: 8px; }
  .header-book { gap: 9px; font-size: 11px; }
  .header-book > span { width: 30px; height: 30px; }
  .hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 30px; }
  .hero-links { gap: 9px 18px; }
  .hero .button { padding-inline: 15px; gap: 13px; }
  .hero-color-note { font-size: 10px; }
  .services-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.4fr); gap: 42px; }
  .service summary { gap: 13px; }
  .service summary > span:first-child { font-size: 28px; }
}

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 13px; }
  .section-wrap { width: calc(100% - 40px); }
  .eyebrow { font-size: 11px; letter-spacing: .025em; }
  .button { min-height: 48px; padding: 12px 18px; font-size: 13px; gap: 20px; }
  .text-link { min-height: 44px; font-size: 13px; }
  .preview-tools { min-height: 31px; gap: 16px; padding-inline: 12px; font-size: 10px; }
  .preview-tools button { min-height: 30px; }
  .site-header { min-height: 85px; gap: 15px; padding-inline: 20px; }
  .brand { font-size: 43px; }
  .brand small { max-width: 50px; margin-left: 12px; font-size: 9px; }
  .desktop-nav, .header-book { display: none; }
  .header-actions { gap: 0; }
  .menu-toggle { display: flex; width: 48px; height: 48px; flex: 0 0 auto; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; }
  .menu-toggle span { width: 19px; height: 1px; background: var(--ink); transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; padding: 16px 20px 20px; background: var(--paper); box-shadow: 0 14px 25px #5037600a; }
  .mobile-menu a { display: block; padding: 13px 0; font-size: 14px; }
  .hero { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 28px; }
  .hero-copy { max-width: 560px; }
  .hero h1 { margin-top: 24px; font-size: clamp(44px, 12.8vw, 66px); line-height: 1.04; letter-spacing: -.04em; }
  .hero-bottom { margin-top: 22px; }
  .hero-bottom > p { max-width: 400px; font-size: 13px; line-height: 1.85; }
  .hero-links { gap: 10px 16px; margin-top: 23px; }
  .hero-links .button { gap: 14px; padding-inline: 16px; font-size: 12px; }
  .hero-links .text-link { gap: 8px; font-size: 12px; }
  .hero-color-note { gap: 10px; margin-top: 22px; font-size: 11px; }
  .hero-visual { width: 88%; max-width: 320px; justify-self: center; }
  .hero-image { aspect-ratio: 1.05; }
  .hero-image-label { gap: 10px; margin-top: 10px; padding-inline: 12px; font-size: 10px; letter-spacing: 0; }
  .intro { padding-block: 35px 40px; }
  .intro-main { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .intro h2 { max-width: 520px; font-size: clamp(38px, 10.1vw, 55px); line-height: 1.12; }
  .intro-note > p { max-width: 470px; margin-bottom: 15px; font-size: 13px; line-height: 1.85; }
  .signature { font-size: 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 30px; }
  .section-heading h2 { margin-top: 17px; font-size: clamp(40px, 10.9vw, 56px); }
  .section-heading > p { max-width: 480px; padding: 0; font-size: 13px; line-height: 1.85; }
  .services { padding-block: 36px 40px; }
  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .services-note { padding-top: 0; }
  .services-note > p { max-width: 390px; margin-bottom: 11px; font-size: 13px; }
  .nail-palette { gap: 12px; margin-block: 25px 16px; }
  .nail-palette > span { width: 31px; height: 51px; }
  .nail-palette > span:nth-child(2) { height: 57px; }
  .service summary { min-height: 74px; gap: 13px; padding-block: 19px; }
  .service { padding-inline: 15px; }
  .service summary > span:first-child { font-size: clamp(27px, 7.5vw, 34px); }
  .service-body { padding: 0 10px 22px 0; }
  .service-body > p { max-width: 470px; font-size: 13px; }
  .services-help { font-size: 13px; }
  .mood-section { padding-block: 32px 30px; }
  .mood-workbench { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mood-intro { grid-column: 1; grid-row: 1; padding-top: 0; }
  .mood-intro h2 { font-size: clamp(38px, 10.5vw, 54px); margin-block: 18px 23px; }
  .mood-intro > p:not(.eyebrow) { font-size: 13px; max-width: 470px; }
  .mood-botanical { grid-column: 1; grid-row: 2; justify-self: center; width: 100%; max-width: 390px; margin-top: 4px; }
  .mood-botanical .mood-caption { padding: 6px 18px 0; margin-top: 0; }
  .mood-botanical .mood-caption strong { font-size: 35px; }
  .mood-pair { grid-column: 1; grid-row: 3; gap: 14px; padding-inline: 0; }
  .mood-cherry { margin-top: 35px; }
  .mood-caption { gap: 7px; margin-top: 0; padding: 7px 6px 0; }
  .mood-caption strong { font-size: clamp(24px, 6.5vw, 32px); }
  .mood-caption > span:not(.mood-view) { font-size: 12px; line-height: 1.65; }
  .mood-view { min-height: 40px; font-size: 10px; gap: 5px; }
  .mood-view svg { width: 16px; height: 16px; }
  .mood-bottom { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 27px; padding-top: 15px; }
  .mood-bottom > p { max-width: none; font-size: 12px; }
  .mascot-story { display: flex; flex-direction: column; gap: 28px; padding-block: 34px 32px; }
  .mascot-copy { order: 1; align-self: stretch; }
  .mascot-copy h2 { margin-block: 18px 24px; font-size: clamp(40px, 10.6vw, 56px); line-height: 1.1; }
  .mascot-copy > p:not(.eyebrow) { max-width: 510px; margin-bottom: 17px; font-size: 13px; line-height: 1.9; }
  .mascot-copy > p.mascot-note { font-size: 23px; line-height: 1.4; }
  .mascot-art { order: 2; width: auto; align-self: center; padding: 0; }
  .mascot-animation { width: 250px; }
  .mascot-art figcaption { margin-top: 11px; font-size: 20px; }
  .appointment { padding: 38px 20px 36px; }
  .appointment-flower { width: 33px; height: 33px; }
  .appointment-content { grid-template-columns: minmax(0, 1fr); gap: 27px; margin-block: 24px 33px; }
  .appointment h2 { font-size: clamp(43px, 11.4vw, 61px); line-height: 1.08; }
  .appointment-action { padding: 0; }
  .appointment-action > p { max-width: 390px; margin-top: 15px; font-size: 13px; }
  .appointment-bottom { align-items: flex-start; flex-direction: column; gap: 11px; padding-top: 19px; font-size: 10px; }
  .appointment-bottom a { font-size: 13px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 32px; }
  .faq h2 { margin-top: 18px; font-size: clamp(40px, 10.6vw, 56px); }
  .faq-list summary { min-height: 72px; gap: 20px; font-size: 13px; }
  .faq-list details > p { padding-right: 10px; font-size: 13px; }
  .site-footer { padding: 30px 20px 22px; }
  .footer-wordmark { padding-bottom: 21px; font-size: 22vw; }
  .footer-bottom { flex-wrap: wrap; justify-content: flex-start; gap: 13px 23px; padding-top: 19px; font-size: 11px; }
  .footer-bottom > span:first-child { flex-basis: 100%; font-size: 10px; }
  .footer-bottom button, .back-top { font-size: 11px; }
  input:not([type="hidden"]), select, textarea { min-height: 48px; font-size: 16px; }
  label { font-size: 13px; }
  .dialog-close { top: 14px; right: 14px; }
  .booking-dialog { padding: 77px 24px 27px; }
  .booking-heading h2 { margin-top: 20px; font-size: clamp(49px, 13vw, 65px); }
  .booking-heading > p { margin-top: 20px; font-size: 13px; }
  #booking-form { margin-top: 26px; }
  .contact-shortcuts { gap: 8px; margin-top: 23px; }
  .contact-shortcut { min-height: 72px; padding: 12px; }
  .form-privacy { font-size: 12px; }
  .mood-dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .mood-dialog[open] { grid-template-columns: minmax(0, 1fr); }
  .mood-dialog > img { height: min(42dvh, 370px); max-height: none; }
  .mood-dialog > div { padding: 27px 25px; }
  .mood-dialog h2 { margin-block: 14px 16px; font-size: 45px; }
  .privacy-dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 76px 25px 25px; }
  .privacy-dialog h2 { font-size: 50px; }
  .privacy-dialog p { font-size: 13px; }
  .maintenance-page { width: calc(100% - 40px); min-height: 100dvh; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 27px 25px; }
  .maintenance-copy { display: contents; }
  .maintenance-copy > .brand { grid-row: 1; justify-self: start; }
  .maintenance-main { grid-row: 2; margin: 0; padding-block: 25px 8px; }
  .maintenance-main h1 { margin-block: 24px 21px; font-size: clamp(46px, 12.5vw, 68px); line-height: 1.06; }
  .maintenance-main > p:not(.eyebrow) { max-width: 410px; font-size: 13px; }
  .maintenance-image { grid-row: 3; width: 76%; max-width: 290px; margin-top: 3px; }
  .maintenance-image > img { aspect-ratio: 1.05; }
  .maintenance-image figcaption { margin-top: 12px; font-size: 11px; }
  .maintenance-footer { grid-row: 4; width: 100%; margin-top: 7px; font-size: 11px; }
  .maintenance-footer > span { font-size: 9px; }
  .preview-form { max-width: 400px; margin-top: 25px; }
  .preview-error { font-size: 13px; }
  .preview-note { font-size: 12px; }
}
@media (max-width: 370px) {
  .brand { font-size: 38px; }
  .brand small { max-width: 43px; margin-left: 10px; font-size: 8px; }
  .hero h1 { font-size: 44px; letter-spacing: -.045em; }
  .hero-links { gap: 8px 19px; }
  .hero-links .button { padding-inline: 15px; gap: 16px; }
  .hero-color-note { gap: 8px; font-size: 10px; }
  .hero-image-label { font-size: 9px; letter-spacing: 0; }
  .booking-dialog { padding-inline: 20px; }
  .service summary > span:first-child { font-size: 27px; }
}

/* Motion is optional and never required to read the page. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-line, .js .hero-enter { opacity: 1; transform: none; }
}
