/* Layout: porcelain pages with airy spacing; blush panels group content, rose marks prices, sage marks labels and the booking action. Photos sit in soft rounded cards. */
/* Fonts are self-hosted (Latin subsets): no third-party requests, faster first paint on phones */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("fonts/jost-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Italiana"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/italiana-latin.woff2") format("woff2"); }

:root {
  --porcelain: #fbf7f4;   /* page background */
  --blush-50: #f6ece8;    /* soft panels */
  --blush: #ecd5cf;       /* promo strip, photo backdrops */
  --rose: #b06f77;        /* prices, small accents */
  --rose-deep: #94555e;
  --sage: #646b4d;        /* eyebrows, details (AA contrast on light backgrounds) */
  --sage-deep: #5c6246;   /* primary button */
  --ink: #2e2622;         /* headings and text */
  --taupe: #7a6c65;       /* secondary text */
  --line: #eaded8;
  --white: #ffffff;

  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --radius: 22px;
  --shadow: 0 24px 48px -28px rgba(120, 72, 66, .35);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sage); font-weight: 500;
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--porcelain) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.logo {
  font-family: var(--display); font-size: 22px; text-decoration: none;
  text-transform: uppercase; letter-spacing: .22em; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav a:not(.btn) {
  text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--taupe); padding-block: 4px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--rose); }
.lang-switch { display: flex; align-items: center; gap: 2px; color: var(--taupe); font-size: 12px; }
.nav .lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 0; font-size: 12px; }
.nav .lang-switch a[aria-current] { color: var(--ink); font-weight: 500; }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; padding: 8px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--ink);
  font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: transparent; color: var(--ink);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--ink); color: var(--porcelain); }
.btn:active { transform: translateY(1px); }
.btn-book { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--white); }
.btn-book:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--porcelain); }
.btn-dark:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--white); }
.nav .btn { min-height: 40px; padding: 0 20px; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 780px); display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.hero video, .hero .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero video { object-fit: cover; }
.hero .hero-shade { background: radial-gradient(ellipse at center, rgba(46,38,34,.42) 0%, rgba(46,38,34,.55) 70%), linear-gradient(180deg, rgba(46,38,34,.1), rgba(46,38,34,.35)); }
.hero .wrap { position: relative; padding-block: clamp(96px, 16vh, 160px); display: grid; gap: 26px; justify-items: center; text-align: center; }
.hero .slogan { display: grid; justify-items: center; color: var(--white); }
.hero .slogan .kicker { font-family: var(--body); font-weight: 300; font-size: clamp(18px, 2.8vw, 34px); letter-spacing: .5em; margin-right: -.5em; text-transform: uppercase; line-height: 1; text-shadow: 0 2px 18px rgba(46,38,34,.4); }
.hero .sub { font-size: clamp(11px, 1.3vw, 13px); letter-spacing: .28em; text-transform: uppercase; color: var(--blush); font-weight: 500; max-width: 64ch; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* "Beautiful" is drawn by hand: each letter's outline is traced in order, then filled in */
.hero .slogan .big { display: block; line-height: 0; margin-top: .25em; }
.handwrite { height: clamp(78px, 14vw, 196px); width: auto; max-width: 100%; overflow: visible; filter: drop-shadow(0 2px 14px rgba(46,38,34,.35)); }
.handwrite path {
  fill: var(--white); fill-opacity: 1; stroke: var(--white); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: hw-draw .55s ease-in-out calc(.5s + var(--i) * .24s) both, hw-fill .45s ease calc(.85s + var(--i) * .24s) both;
}
.handwrite .dot { fill: var(--blush); stroke: var(--blush); }
@keyframes hw-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hw-fill { from { fill-opacity: 0; } to { fill-opacity: 1; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Promo strip */
.promo { background: var(--blush); color: var(--ink); text-align: center; padding: 13px var(--gutter); font-size: 13px; letter-spacing: .08em; }
.promo strong { font-weight: 500; text-transform: uppercase; letter-spacing: .18em; margin-right: 6px; }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 620px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(36px, 5vw, 58px); }
.section-head p { color: var(--taupe); }
.page-head { padding-block: clamp(64px, 9vw, 112px) 0; text-align: center; }
.page-head .wrap { display: grid; justify-items: center; gap: 16px; }
.page-head h1 { font-size: clamp(46px, 7vw, 86px); }
.page-head p { color: var(--taupe); max-width: 54ch; }

/* Photo frame: a white card with soft rounded corners and a warm shadow */
.frame {
  margin: 0; padding: 10px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.frame img { width: 100%; height: auto; border-radius: calc(var(--radius) - 8px); object-fit: cover; }

/* Service cards on Home */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.highlight {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.highlight .frame { box-shadow: none; padding: 10px 10px 0; background: transparent; }
.highlight .frame img { aspect-ratio: 4 / 5; height: auto; transition: transform .6s ease; }
.highlight figure { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.highlight .card-body { display: grid; gap: 4px; padding: 20px 24px 24px; align-content: start; }
.highlight h3 { font-size: 30px; }
.highlight .from { color: var(--taupe); font-size: 15px; }
.highlight .from b { color: var(--rose-deep); font-weight: 500; }
.highlight .more { margin-top: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); font-weight: 500; }
.highlight:hover { transform: translateY(-6px); box-shadow: 0 32px 56px -30px rgba(120, 72, 66, .45); }
.highlight:hover .frame img { transform: scale(1.03); }

/* Split block: photo with a blush shape tucked behind it */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.split figure { position: relative; isolation: isolate; max-width: 100%; }
.split figure::before {
  content: ""; position: absolute; z-index: -1; inset: 10% -6% -6% 10%;
  background: var(--blush); border-radius: calc(var(--radius) + 10px);
}
.split .frame img { aspect-ratio: 4 / 5; }
.split .text { display: grid; gap: 20px; min-width: 0; justify-items: start; }
.split h2 { font-size: clamp(34px, 4.6vw, 54px); }
.split p { color: var(--taupe); max-width: 50ch; }

/* Price list */
.price-group { border-top: 1px solid var(--line); padding-block: 32px 12px; display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 16px 56px; }
.price-group:first-of-type { border-top-color: var(--ink); }
.price-group > h2 { font-size: 34px; }
.price-group > h2 small { display: block; font-family: var(--body); font-size: 14px; color: var(--taupe); margin-top: 10px; line-height: 1.55; letter-spacing: 0; }
.prices { list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; align-items: baseline; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.prices li:last-child { border-bottom: 0; }
.prices .name { flex: 1; min-width: 0; font-weight: 400; }
.prices .name small { display: block; color: var(--taupe); font-size: 14px; font-weight: 300; }
.prices .was { color: var(--taupe); text-decoration: line-through; text-decoration-color: var(--rose); font-size: 15px; font-variant-numeric: tabular-nums; }
.prices .now { color: var(--rose-deep); font-family: var(--body); font-weight: 400; font-size: 22px; font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right; }
.prices .tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); background: var(--blush-50); border-radius: 999px; padding: 5px 12px; }
.note { font-size: 14px; color: var(--taupe); margin-top: 32px; }

/* Referral band */
.band { background: var(--blush); color: var(--ink); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(44px, 6vw, 72px); }
.band h2 { font-size: clamp(30px, 4vw, 46px); max-width: 22ch; }
.band h2 em { font-style: normal; color: var(--rose-deep); }
.band p { color: var(--ink); margin-top: 10px; }

/* Booking call to action, on every page */
.cta { padding-block: clamp(72px, 10vw, 120px); text-align: center; }
.cta .wrap { display: grid; justify-items: center; gap: 16px; }
.cta h2 { font-size: clamp(38px, 5.4vw, 64px); }
.cta p { color: var(--taupe); max-width: 44ch; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.contact-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.contact-item h2 { font-size: 28px; }
.contact-item p { color: var(--taupe); overflow-wrap: anywhere; }
.contact-item a:not(.btn) { color: var(--ink); text-decoration-color: var(--rose); text-underline-offset: 5px; }

/* Footer */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--porcelain) 75%, transparent); padding-block: 56px 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer .logo { color: var(--porcelain); font-size: 20px; }
.footer-brand { display: grid; gap: 14px; max-width: 36ch; }
.footer-nav, .footer-contact { display: grid; gap: 10px; align-content: start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--porcelain); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; letter-spacing: .08em; padding-bottom: 72px; }

/* WhatsApp floating button */
.wa {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(46,38,34,.45); transition: transform .2s;
}
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* Booking notice (shown until the Setmore link is set) */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ink); color: var(--porcelain); padding: 14px 22px; border-radius: 14px; font-size: 14px; z-index: 40;
  max-width: calc(100% - 32px); text-align: center;
}

@media (max-width: 900px) {
  .highlights { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .split, .price-group { grid-template-columns: minmax(0, 1fr); }
  .contact-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .split figure { margin-right: 6%; }
  .highlight .frame img { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px var(--gutter) 28px; background: var(--porcelain); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .lang-switch { margin-left: -8px; }
  .logo { font-size: 18px; letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .handwrite path { animation: none; }
}

/* Entrance: "Ruth Studio" appears on porcelain, then the page opens through a growing circle (Home, once per visit) */
@property --hole { syntax: "<length>"; inherits: false; initial-value: 0px; }
.intro-screen { display: none; }
html.intro:not(.intro-done) body { overflow: hidden; }
html.intro .intro-screen {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--porcelain); color: var(--ink);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
          mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
  animation: intro-open 1.4s cubic-bezier(.6, 0, .3, 1) 2.1s forwards;
}
html.intro-done .intro-screen { display: none; }
.intro-logo { display: grid; justify-items: center; gap: 18px; text-align: center; padding-inline: 16px; }
.intro-name {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 6.5vw, 72px);
  letter-spacing: .22em; margin-right: -.22em; line-height: 1;
  animation: intro-name 1.4s cubic-bezier(.2, .7, .2, 1) .2s both;
}
.intro-line { display: block; height: 1px; width: clamp(60px, 10vw, 120px); background: var(--rose); transform-origin: center; animation: intro-line .8s ease .9s both; }
.intro-tag { font-size: 12px; letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; color: var(--sage); font-weight: 500; animation: intro-fade .8s ease 1.2s both; }
@keyframes intro-name { from { opacity: 0; letter-spacing: .6em; margin-right: -.6em; filter: blur(6px); } to { opacity: 1; letter-spacing: .22em; margin-right: -.22em; filter: blur(0); } }
@keyframes intro-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes intro-open { to { --hole: 150vmax; } }
/* The hero waits for the circle to open before "Beautiful" is written */
html.intro .handwrite path { animation-delay: calc(3s + var(--i) * .24s), calc(3.35s + var(--i) * .24s); }

/* Opening promotion pop-up */
.promo-pop {
  width: min(600px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0;
  border-radius: calc(var(--radius) + 6px); background: var(--porcelain); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(46, 38, 34, .5); overflow: auto;
}
.promo-pop[open] { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); animation: pop-in .5s cubic-bezier(.2, .8, .2, 1); }
.promo-pop::backdrop { background: rgba(46, 38, 34, .45); backdrop-filter: blur(4px); }
.pop-media img { width: 100%; height: 100%; object-fit: cover; }
.pop-body { position: relative; display: grid; gap: 10px; align-content: center; padding: 28px 28px 26px; }
.pop-body h2 { font-size: clamp(28px, 3.4vw, 34px); padding-right: 36px; }
.pop-body p { color: var(--taupe); font-size: 15px; }
.pop-close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--blush-50); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
}
.pop-close:hover { background: var(--blush); }
.pop-prices { list-style: none; margin: 4px 0; padding: 0; display: grid; }
.pop-prices li { display: flex; align-items: baseline; gap: 10px; padding-block: 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pop-prices span { flex: 1; min-width: 0; font-weight: 400; }
.pop-prices s { color: var(--taupe); text-decoration-color: var(--rose); font-size: 14px; }
.pop-prices b { color: var(--rose-deep); font-weight: 500; font-size: 16px; min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.pop-body .pop-note { color: var(--ink); font-weight: 400; font-size: 14px; }
.pop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pop-actions .btn { min-height: 42px; padding: 0 20px; }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .promo-pop[open] { grid-template-columns: minmax(0, 1fr); }
  .pop-media { display: none; }
  .pop-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-pop[open] { animation: none; }
}

/* Booking by message: WhatsApp first, text message second */
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-item .big-num { color: var(--ink); font-family: var(--body); font-weight: 400; font-size: 20px; line-height: 1.4; }
.item-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.item-actions .btn { min-height: 42px; padding: 0 22px; }

/* Book buttons land here; keep the card clear of the sticky header */
#book { scroll-margin-top: 110px; }
#book:target { box-shadow: 0 0 0 2px var(--sage), var(--shadow); }

.legal-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Policy pages: comfortable reading column */
.policy-section { padding-top: clamp(40px, 6vw, 64px); }
.policy { max-width: 760px; display: grid; gap: 16px; }
.policy h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 24px; }
.policy p, .policy li { color: var(--ink); }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.policy a { text-decoration-color: var(--rose); text-underline-offset: 4px; }

/* Phones: skip the costly blur behind the sticky header */
@media (max-width: 720px) {
  .site-header { backdrop-filter: none; background: var(--porcelain); }
}
