/* Pó de Arroz — hair and beauty salon.
   A beauty magazine and a powder compact: blush fields, aubergine ink, didone display type,
   lipstick red only for prices and the booking action. Square corners throughout. */
:root {
  --blush: #F3DDD8;
  --ink: #3B1E33;
  --white: #FFFFFF;
  --red: #C8102E;
  --red-deep: #A30D25;
  --mauve: #8E7F8A;
  --mauve-ink: #6E5F6A;            /* the mauve, darkened for small text */
  --rule: rgba(59, 30, 51, .24);
  --on-ink: rgba(243, 221, 216, .78);
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --text: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --hdr-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table, fieldset, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1; letter-spacing: -.015em; font-optical-sizing: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* studio demo bar (not part of the salon's design) */
.demobar { background: #000; color: #fff; font: 500 .86rem/1.3 system-ui, sans-serif; }
.demobar__in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-block: 7px; }
.demobar a { color: #fff; }
.demobar__back:hover { text-decoration: underline; }
.demobar__txt { flex: 1 1 14em; opacity: .75; }
.demobar__cta { padding: 6px 14px; border-radius: 999px; background: #17D878; color: #000 !important; font-weight: 700; white-space: nowrap; }
html.embedded .demobar { display: none; }

/* type helpers */
.h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); text-wrap: balance; }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.lead { font-size: 1.14rem; line-height: 1.5; max-width: 34em; }
.fine { font-size: .9rem; color: var(--mauve-ink); }
.tlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; font-weight: 500; }
.tlink:hover { text-decoration-thickness: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 26px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font: 600 1rem/1.2 var(--text); text-align: center; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { background: var(--white); color: var(--ink); }
.btn--book { background: var(--red); border-color: var(--red); }
.btn--book:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--wide { width: 100%; }

/* header: sits on top of the blush cover of every page */
.hdr { position: relative; z-index: 30; }
.hdr__in { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); height: var(--hdr-h); }
.brand { font: 600 1.8rem/1 var(--display); letter-spacing: -.025em; white-space: nowrap; }
.nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .98rem; font-weight: 500; border-bottom: 1.5px solid transparent; border-top: 1.5px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current] { border-bottom-color: var(--ink); }
.hdr__side { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; background: var(--white); }
.lang a { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: .84rem; font-weight: 600; color: var(--mauve-ink); }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.hdr__book { min-height: 44px; padding: 10px 20px; white-space: nowrap; }
.burger { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--ink); border-radius: 0; background: var(--white); cursor: pointer; }
.burger span { display: grid; }
.burger .burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: grid; }

/* home: the cover */
.cover { position: relative; margin-top: calc(-1 * var(--hdr-h)); padding-top: var(--hdr-h); background: var(--blush); overflow: hidden; }
.cover__ph { position: absolute; top: 0; right: 0; bottom: 0; left: calc(50% + min(12vw, 163px)); }
.cover__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 28%; }
.cover__in { position: relative; z-index: 1; padding-block: clamp(26px, 3.6vw, 52px) clamp(40px, 5vw, 68px); }
.cover__h { font-size: clamp(3.3rem, 8.6vw, 7.3rem); line-height: .94; letter-spacing: -.028em; }
.cover__h span { display: block; width: fit-content; white-space: nowrap; }
.cover__h span:nth-child(2) { margin-left: var(--in2, 2.4em); }
.cover__h span:nth-child(3) { margin-left: var(--in3, .9em); }
.cover__below { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 52px); align-items: end; width: 60%; margin-top: clamp(28px, 3.6vw, 48px); }
.cover__lede p { font-size: 1.14rem; line-height: 1.5; }
.cover__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.cover__info { display: grid; gap: 16px; padding-left: clamp(18px, 2vw, 28px); border-left: 1px solid var(--rule); font-size: .95rem; line-height: 1.45; }
.cover__info dt { color: var(--mauve-ink); font-size: .86rem; }

@keyframes rise { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.cover__ph img { animation: settle 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.cover__h span { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.cover__h span:nth-child(1) { animation-delay: .15s; }
.cover__h span:nth-child(2) { animation-delay: .27s; }
.cover__h span:nth-child(3) { animation-delay: .39s; }
.cover__below { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .55s both; }
html.embedded .cover__ph img, html.embedded .cover__h span, html.embedded .cover__below { animation: none; }

/* inner pages: blush head, optionally with a tall photo running off the top */
.phead { position: relative; margin-top: calc(-1 * var(--hdr-h)); padding-top: var(--hdr-h); background: var(--blush); }
.phead__in { position: relative; padding-block: clamp(34px, 6vw, 84px) clamp(40px, 6vw, 76px); }
.phead__txt { position: relative; z-index: 1; }
.phead h1 { font-size: clamp(3rem, 8.4vw, 6.8rem); line-height: .95; letter-spacing: -.028em; }
.phead p { max-width: 33em; margin-top: clamp(18px, 2.4vw, 28px); font-size: 1.14rem; line-height: 1.5; }
.phead--ph .phead__txt { max-width: 68%; }
.phead__ph { position: absolute; top: calc(-1 * var(--hdr-h)); right: var(--pad); bottom: -56px; width: min(25%, 300px); }
.phead__ph img { width: 100%; height: 100%; object-fit: cover; }

/* sections */
.sec { padding-block: clamp(64px, 9vw, 124px); }
.sec--blush { background: var(--blush); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink :focus-visible { outline-color: #fff; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head .tlink { display: inline-block; margin-top: 16px; }

/* the service menu (carta) */
.carta { columns: 2; column-gap: clamp(36px, 5vw, 76px); }
.carta--one { columns: 1; }
.svc { break-inside: avoid; padding-bottom: 10px; }
.svc__row { display: flex; align-items: flex-end; gap: 8px; line-height: 1.4rem; }
.svc__name { font-weight: 500; }
.svc__dots { flex: 1 1 20px; min-width: 20px; height: 1.4rem; background: radial-gradient(circle, rgba(59, 30, 51, .55) 1px, transparent 1.3px) left bottom .42rem / 7px 3px repeat-x; }
.svc__dots--s { flex: 0 0 22px; min-width: 22px; }
.svc__time { font-size: .92rem; color: var(--mauve-ink); white-space: nowrap; }
.svc__price { font: 600 1.22rem/1.4rem var(--display); color: var(--red); white-space: nowrap; }
.svc__price small { font: 400 .86rem/1 var(--text); color: var(--mauve-ink); }
.svc__price--word { font-style: italic; font-weight: 500; }
.svc__sub { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-size: .9rem; color: var(--mauve-ink); }
.svc__meta { padding-top: 3px; }
.svc__time2 { display: none; }
.svc__book { flex: none; display: inline-flex; align-items: flex-start; justify-content: flex-end; min-width: 64px; min-height: 44px; margin-bottom: -8px; padding-top: 3px; color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.svc__book:hover { text-decoration-thickness: 2px; }

/* home: extract of the menu, with the round "compact" photo */
.extract { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 8vw, 128px); align-items: start; }
.extract__side .lead { margin-top: 22px; }
.extract__side .tlink { display: inline-block; margin-top: 18px; }
.compact { width: clamp(150px, 19vw, 250px); aspect-ratio: 1; margin-top: clamp(36px, 5vw, 64px); border-radius: 50%; overflow: hidden; }
.compact img { width: 100%; height: 100%; object-fit: cover; }

/* home: the team in tall portraits */
.bw img { filter: grayscale(1) contrast(1.05); }
.cast { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.cast li { margin-top: var(--drop, 0px); }
.cast__a { display: block; }
.cast__ph { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--white); }
.cast__ph img { width: 100%; height: 100%; object-fit: cover; }
.cast__n { display: block; margin-top: 14px; font: 500 1.6rem/1 var(--display); letter-spacing: -.015em; }
.cast__r { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.3; color: var(--mauve-ink); }
.cast__a:hover .cast__n { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (min-width: 901px) { .cast li:nth-child(even) { --drop: clamp(28px, 4vw, 60px); } }

/* home: the space, on the dark band */
.space { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(32px, 7vw, 112px); align-items: end; }
.space figure { overflow: hidden; }
.space figure img { width: 100%; height: 100%; object-fit: cover; }
.space__a { aspect-ratio: 1 / 2; }
.space__a img { object-position: 0 50%; }
.space__t .lead { margin-top: 24px; color: var(--on-ink); }
.space__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 28px 0 30px; max-width: 34em; }
.space__facts li { padding: 11px 0; border-top: 1px solid rgba(243, 221, 216, .3); font-size: .98rem; }
.space__pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); gap: clamp(10px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 68px); }
.space__pair figure { height: clamp(180px, 22vw, 300px); }

/* home: gift voucher */
.gift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 8vw, 128px); align-items: center; }
.gift__t .lead { margin-top: 22px; }
.gift__form { display: grid; gap: 18px; justify-items: start; margin-top: 30px; }
.vch { padding: 12px; background: var(--blush); }
.vch__in { display: grid; align-content: start; min-height: clamp(280px, 30vw, 380px); padding: clamp(22px, 3vw, 40px); border: 1px solid var(--ink); }
.vch__brand { font: 600 1.15rem/1 var(--display); letter-spacing: -.02em; }
.vch__t { margin-top: clamp(18px, 3vw, 40px); font: italic 400 clamp(1.5rem, 2.6vw, 2.2rem)/1 var(--display); }
.vch__v { margin: 6px 0 clamp(18px, 3vw, 36px); font: 500 clamp(3.6rem, 8vw, 6.4rem)/1 var(--display); letter-spacing: -.03em; color: var(--red); }
.vch__line { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; font-size: .92rem; color: var(--mauve-ink); }
.vch__line i { flex: 1; height: 1.2em; background: radial-gradient(circle, rgba(59, 30, 51, .55) 1px, transparent 1.3px) left bottom .3em / 7px 3px repeat-x; }
.vch__valid { margin-top: 22px; font-size: .86rem; color: var(--mauve-ink); }

/* segmented choices (voucher amount, time of day) */
.seg legend { padding: 0; margin-bottom: 8px; font-size: .95rem; font-weight: 600; }
.seg__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg__o { position: relative; display: block; margin: 0 -1.5px -1.5px 0; cursor: pointer; }
.seg__o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__o span { display: grid; place-content: center; justify-items: center; min-width: 72px; min-height: 52px; height: 100%; padding: 6px 10px; border: 1.5px solid var(--ink); background: var(--white); font-weight: 500; line-height: 1.2; text-align: center; }
.seg__o small { font-size: .8rem; font-weight: 400; color: var(--mauve-ink); }
.seg__o input:checked + span { background: var(--ink); color: #fff; }
.seg__o input:checked + span small { color: var(--on-ink); }
.seg__o input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; position: relative; z-index: 1; }

/* hours and location */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 8vw, 128px); align-items: start; }
.open { margin-top: 18px; font-weight: 600; }
.hours { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 1.02rem; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; white-space: nowrap; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--rule); }
.hours .is-off { color: var(--mauve-ink); }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--ink); }
.today { margin-left: 10px; padding: 2px 8px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; }
.loc__addr { font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--display); letter-spacing: -.015em; }
.ways { display: grid; gap: 0; margin-top: 26px; }
.ways div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.ways dt { color: var(--mauve-ink); }
.ways--c { margin-top: 0; }
.ways--c div:last-child { border-bottom: 1px solid var(--rule); }
.ways a { overflow-wrap: anywhere; }
.loc__where .btn { margin-top: 30px; }

/* closing strip on inner pages */
.strip { background: var(--blush); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(44px, 6vw, 76px); }
.strip__h { font: 500 clamp(1.7rem, 3.2vw, 2.7rem)/1.05 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.strip__p { margin-top: 12px; color: var(--mauve-ink); }
.strip__p .tlink { color: var(--ink); white-space: nowrap; }

/* services page */
.menu { padding-block: clamp(72px, 8vw, 112px) clamp(64px, 9vw, 124px); }
.menu__in { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.idx { position: sticky; top: 28px; }
.idx a { display: flex; align-items: baseline; gap: 10px; min-height: 48px; padding: 9px 0 9px 20px; border-top: 1px solid var(--rule); position: relative; font: 500 1.5rem/1.2 var(--display); letter-spacing: -.015em; color: var(--mauve); transition: color .15s ease; }
.idx li:last-child a { border-bottom: 1px solid var(--rule); }
.idx a small { font: 400 .82rem/1 var(--text); letter-spacing: 0; color: var(--mauve-ink); }
.idx a::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--red); opacity: 0; transition: opacity .15s ease; }
.idx a:hover, .idx a[aria-current] { color: var(--ink); }
.idx a[aria-current]::before { opacity: 1; }
.cat { scroll-margin-top: 28px; }
.cat + .cat { margin-top: clamp(64px, 8vw, 108px); }
.cat__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.cat__h h2 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); letter-spacing: -.03em; }
.cat__h h2.cat__h2s { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.02em; }
.cat__by { font: italic 400 1.15rem/1.2 var(--display); }
.cat__intro { max-width: 40em; margin: 18px 0 30px; color: var(--mauve-ink); }
.notas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(28px, 4vw, 56px); margin-top: 26px; padding: clamp(22px, 3vw, 36px); background: var(--blush); }
.notas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; background: none; }
.notas--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; background: none; }
.nota h3 { font: italic 500 1.4rem/1.15 var(--display); letter-spacing: -.01em; }
.nota p { margin-top: 10px; font-size: .98rem; }
.notas--3 .nota, .notas--4 .nota { padding-top: 18px; border-top: 1px solid var(--ink); }

/* team page */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 64px); align-items: start; }
.person { scroll-margin-top: 24px; }
@media (min-width: 981px) { .person:nth-child(3n + 2) { margin-top: clamp(40px, 6vw, 88px); } }
.person__ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush); }
.person__ph img { width: 100%; height: 100%; object-fit: cover; }
.person h2 { margin-top: 22px; font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.person__role { margin-top: 8px; font: italic 400 1.15rem/1.2 var(--display); }
.person__bio { margin-top: 16px; }
.person__dl { margin: 20px 0 18px; font-size: .96rem; }
.person__dl div { display: grid; grid-template-columns: 7.6em minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.person__dl div:last-child { border-bottom: 1px solid var(--rule); }
.person__dl dt { color: var(--mauve-ink); }
.person__dl .person__days { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.days { display: flex; flex-wrap: wrap; gap: 4px; }
.days li { display: grid; place-items: center; min-width: 38px; height: 28px; padding: 0 5px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; }
.days li.is-off { background: none; color: var(--mauve); box-shadow: inset 0 0 0 1px var(--rule); font-weight: 400; text-decoration: line-through; }

/* gallery */
.sec--gal { padding-top: clamp(48px, 6vw, 80px); }
.gal__h { margin-bottom: clamp(20px, 2.6vw, 32px); }
.g + .gal__h { margin-top: clamp(56px, 8vw, 104px); }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(48px, 6.6vw, 90px); grid-auto-flow: dense; gap: 8px; }
.g__i { grid-column: span var(--c, 4); grid-row: span var(--r, 4); position: relative; display: block; overflow: hidden; background: var(--blush); cursor: zoom-in; }
.g__i img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s ease; }
.g__i:hover img { opacity: .86; }
.g__i:focus-visible { outline-offset: -5px; outline-color: #fff; box-shadow: inset 0 0 0 3px var(--ink); z-index: 1; }

.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(31, 13, 26, .95); }
.lb[open] { display: grid; grid-template-columns: 76px minmax(0, 1fr) 76px; grid-template-rows: minmax(0, 1fr) auto; align-items: center; }
.lb__fig { grid-column: 2; grid-row: 1; display: grid; place-items: center; height: 100%; min-height: 0; padding-top: 64px; }
.lb__fig img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); object-fit: contain; }
.lb__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 0; background: transparent; color: #fff; cursor: pointer; }
.lb__btn:hover { background: #fff; color: var(--ink); }
.lb__btn:focus-visible, .lb:focus-visible { outline-color: #fff; }
.lb__close { position: absolute; top: 12px; right: 14px; z-index: 2; }
.lb__prev { grid-column: 1; grid-row: 1; justify-self: center; }
.lb__next { grid-column: 3; grid-row: 1; justify-self: center; }
.lb__cap { grid-column: 1 / -1; grid-row: 2; padding: 14px 20px 26px; text-align: center; font: italic 400 1.2rem/1.3 var(--display); }
.lb__n { margin-left: 10px; font: 400 .88rem/1 var(--text); color: var(--on-ink); white-space: nowrap; }
html.is-locked { overflow: hidden; }

/* booking page */
.booking { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px clamp(40px, 7vw, 112px); align-items: start; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; align-items: start; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: .95rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--mauve-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 0; background-color: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--text); }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%233B1E33' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field ::placeholder { color: var(--mauve); opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.field__sum { font: 600 1.15rem/1.3 var(--display); color: var(--red); }
.hint { font-size: .88rem; color: var(--mauve-ink); }
.err { font-size: .92rem; font-weight: 600; color: var(--red); }
.direct { padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid var(--rule); }
.direct .ways { margin-top: 18px; }
.direct .ways div { grid-template-columns: 6em minmax(0, 1fr); }
.direct__h2 { margin-top: 44px; }
.where { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.where .loc__addr { margin-top: 28px; }
.map { display: block; width: 100%; height: clamp(320px, 38vw, 480px); border: 1px solid var(--ink); background: var(--white); }
.pol__h { margin-bottom: clamp(28px, 4vw, 48px); }

/* footer */
.ftr { background: var(--ink); color: var(--on-ink); font-size: .96rem; }
.ftr :focus-visible { outline-color: #fff; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); border-bottom: 1px solid rgba(243, 221, 216, .28); }
.ftr__brand { font: 500 clamp(3rem, 9vw, 7rem)/.95 var(--display); letter-spacing: -.03em; color: #fff; }
.ftr__about { max-width: 22em; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(24px, 5vw, 80px); padding-block: clamp(32px, 4vw, 48px); }
.ftr__h { margin-bottom: 12px; font: italic 400 1.2rem/1.2 var(--display); letter-spacing: 0; color: #fff; }
.ftr__cols li { padding: 4px 0; }
.ftr__cols a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 22px; border-top: 1px solid rgba(243, 221, 216, .28); font-size: .9rem; }
.ftr__bot ul { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.ftr__bot a { display: inline-block; padding: 6px 0; }
.ftr__demo { padding-bottom: 32px; font-size: .84rem; color: rgba(243, 221, 216, .6); max-width: 60em; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1099px) {
  .burger { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px var(--pad) 22px; background: var(--white); border-bottom: 1.5px solid var(--ink); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 56px; border: 0; border-bottom: 1px solid var(--rule); font: 500 1.7rem/1 var(--display); letter-spacing: -.015em; }
  .nav a[aria-current] { font-style: italic; border-bottom-color: var(--rule); }
  .cover__below { grid-template-columns: minmax(0, 1fr); width: 56%; }
  .cover__info { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .notas--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking { grid-template-columns: minmax(0, 1fr); }
  .direct { padding: 40px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .where { grid-template-columns: minmax(0, 1fr); }
  .menu__in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menu { padding-top: 0; }
  .idx { top: 0; z-index: 20; margin-inline: calc(-1 * var(--pad)); background: var(--white); border-bottom: 1px solid var(--ink); }
  .idx ul { display: flex; gap: 4px; padding-inline: var(--pad); overflow-x: auto; scrollbar-width: none; }
  .idx ul::-webkit-scrollbar { display: none; }
  .idx a { min-height: 54px; align-items: center; padding: 6px 12px 6px 18px; border: 0; white-space: nowrap; font-size: 1.35rem; }
  .idx li:last-child a { border: 0; }
  .idx a small { display: none; }
  .menu__body { padding-top: clamp(48px, 8vw, 72px); }
  .cat { scroll-margin-top: 78px; }
  .notas--3 { grid-template-columns: minmax(0, 1fr); }
  .phead__ph { bottom: 0; }
}
@media (max-width: 900px) {
  .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .sec__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .extract, .gift, .loc { grid-template-columns: minmax(0, 1fr); }
  .extract__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 24px; align-items: end; }
  .extract__side > * { grid-column: 1; }
  .extract__side .tlink { justify-self: start; }
  .extract__side .compact { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .space { grid-template-columns: minmax(0, 1fr); }
  .space__a { order: 2; aspect-ratio: 4 / 3.3; }
  .space__a img { object-position: 0 100%; }
  .space__pair { margin-top: 36px; }
}
@media (min-width: 521px) and (max-width: 900px) { .cast li:nth-child(3n + 2) { --drop: clamp(24px, 5vw, 44px); } }
@media (max-width: 759px) {
  :root { --hdr-h: 72px; }
  .brand { font-size: 1.6rem; }
  .cover__ph { position: relative; left: auto; margin-left: 22%; height: min(100vw, 520px); }
  .cover__in { padding-top: 26px; }
  .cover__h { font-size: clamp(2.1rem, var(--hm, 12vw), 5rem); }
  .cover__h span:nth-child(2) { margin-left: var(--m2, 0em); }
  .cover__h span:nth-child(3) { margin-left: var(--m3, 0em); }
  .cover__below { width: 100%; }
  .phead--ph .phead__txt { max-width: none; }
  .phead__ph { display: none; }
  .carta { columns: 1; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .notas { grid-template-columns: minmax(0, 1fr); }
  .notas--4 { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 21vw; gap: 6px; }
  .g__i { grid-column: span 1; grid-row: span 3; }
  .g__i.is-wide { grid-column: span 2; }
  .lb[open] { grid-template-columns: 68px minmax(0, 1fr) 68px; }
  .lb__fig { grid-column: 1 / -1; padding-inline: 10px; }
  .lb__prev, .lb__next { grid-row: 2; }
  .lb__cap { grid-column: 2; padding: 12px 4px 22px; font-size: 1.05rem; }
  .lb__n { display: block; margin: 6px 0 0; }
}
@media (max-width: 559px) {
  .hdr__book { display: none; }
  .svc__dots--s, .svc__time { display: none; }
  .svc__time2 { display: inline; margin-right: 10px; }
  .svc__time2:only-child { margin-right: 0; }
  .seg__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space__facts { grid-template-columns: minmax(0, 1fr); }
  .ways div { grid-template-columns: 7.5em minmax(0, 1fr); }
  .strip__in .btn { width: 100%; }
}
@media (max-width: 520px) {
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast li:nth-child(even) { --drop: 32px; }
  .cover__info { grid-template-columns: minmax(0, 1fr); }
  .extract__side { grid-template-columns: minmax(0, 1fr); }
  .extract__side .compact { grid-column: 1; grid-row: auto; margin-top: 32px; }
  .ftr__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .demobar__txt { display: none; }
  .demobar__cta { margin-left: auto; }
}

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

/* ---- узкие телефоны: длинное слово переносится, а не вылезает из блока ---- */
h1, h2, h3, h4, p, li, dt, dd, td, th, label, b, strong, small, a { overflow-wrap: break-word; }

/* ---- телефоны: по ссылкам и кнопкам легче попасть пальцем ---- */
@media (max-width: 700px) {
  .demobar__back, .demobar__cta { display: inline-flex; align-items: center; min-height: 40px; }
  footer a:not([class*="btn"]):not([class*="logo"]):not([class*="brand"]):not([class*="marca"]) { display: inline-block; padding-block: 7px; }
  .link, .tl, .more, .tlink, .lnk, .band__link { display: inline-block; padding-block: 9px; }
}
