/* Beauty & Rehab Studio. Colours and font names come from tokens.css,
   which is generated from marketing/brand.py, so the site and the Instagram
   posts can never drift apart. */

@font-face { font-family: 'Great Vibes'; src: url(../fonts/great-vibes.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; src: url(../fonts/cormorant-400.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; src: url(../fonts/cormorant-500.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; src: url(../fonts/cormorant-600.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; src: url(../fonts/cormorant-500-italic.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Montserrat'; font-weight: 500; src: url(../fonts/montserrat-500.woff) format('woff'); font-display: swap; }

:root {
  color-scheme: light;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(56px, 7.5vw, 100px);
  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(92, 62, 48, .35);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--br-cream) url(../img/paper.jpg);
  color: var(--br-cocoa);
  font: 500 clamp(18px, 1.2vw + 12px, 21px)/1.6 var(--br-font-serif);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--br-gold-deep); }
figure { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding-block: var(--section); position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--br-cocoa); color: var(--br-cream); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--br-gold); outline-offset: 3px; }

/* -- type ------------------------------------------------------------- */
.script {
  font-family: var(--br-font-script);
  font-weight: 400;
  color: var(--br-gold-deep);
  line-height: 1.05;
  font-size: clamp(46px, 5.4vw, 78px);
  letter-spacing: 0;
}
/* Section titles are serif; the script is kept for the few lines that carry
   the brand (hero, Tretmani, 6 + 1, Zakažite), so it stays special. */
.title {
  font-family: var(--br-font-serif);
  font-weight: 500;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.1;
  color: var(--br-cocoa);
  text-wrap: balance;
}
.title em { color: var(--br-gold-deep); }
.script, .label { text-wrap: balance; }
.eyebrow, .label {
  font: 500 13px/1.4 var(--br-font-label);
  letter-spacing: var(--br-label-tracking);
  text-transform: uppercase;
  color: var(--br-cocoa-soft);
  margin: 0 0 18px;
}
.body-lg { font-size: 1.18em; line-height: 1.55; }

/* The flyer's divider: a hairline with a small diamond in the middle. */
.rule {
  position: relative;
  width: min(300px, 70%);
  height: 14px;
  margin: 22px auto 30px;
  background:
    linear-gradient(var(--br-gold-light), var(--br-gold-light)) left center / calc(50% - 16px) 1.5px no-repeat,
    linear-gradient(var(--br-gold-light), var(--br-gold-light)) right center / calc(50% - 16px) 1.5px no-repeat;
}
.rule::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  background: var(--br-gold-light); transform: translate(-50%, -50%) rotate(45deg);
}
.rule-left { margin-left: 0; }

/* -- buttons ---------------------------------------------------------- */
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font: 500 13px/1 var(--br-font-label); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; transition: background-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn-gold { background: var(--br-gold-deep); color: #fff; box-shadow: 0 10px 26px -12px rgba(156, 108, 34, .8); }
.btn-gold:hover { background: #8A5E1C; transform: translateY(-1px); }
.btn-line { border: 1.5px solid var(--br-gold); color: #8A5E1C; }
.btn-line:hover { background: var(--br-gold-deep); border-color: var(--br-gold-deep); color: #fff; }

/* -- photo frames: the arch and the circle are the brand's two shapes -- */
.circle { border-radius: 50%; overflow: hidden; aspect-ratio: 1; position: relative; }
.circle img { width: 100%; height: 100%; object-fit: cover; }
.circle::after {           /* gold ring set off from the photo */
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .7);
}
.arch { position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }
.arch::before {
  content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--br-gold);
  border-radius: 999px 999px 0 0; pointer-events: none;
}

/* -- header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(247, 241, 235, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(218, 190, 130, .35);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font: 500 12px/1 var(--br-font-label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--br-cocoa); padding: 8px 0; position: relative; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--br-gold); transform: scaleX(0); transition: transform .3s; }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-ig { display: inline-flex; align-items: center; gap: 8px; }
.nav-ig svg { color: var(--br-gold-deep); }
.btn svg { flex: none; }
.nav-cta { border: 1.5px solid var(--br-gold); border-radius: 999px; padding: 12px 20px !important; color: #8A5E1C !important; }
.nav-cta:hover { background: var(--br-gold-deep); color: #fff !important; }
.menu-toggle, .header-book { display: none; }

@media (min-width: 861px) and (max-width: 1100px) { .nav-ig-text { display: none; } }
@media (max-width: 860px) {
  .brand img { height: 46px; }
  .header-book {
    display: inline-flex; align-items: center; margin-left: auto; margin-right: 6px;
    min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--br-gold-deep); color: #fff;
    font: 500 11px/1 var(--br-font-label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  }
  .menu-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: none; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 24px; height: 1.5px; background: var(--br-cocoa); position: relative; transition: transform .3s, background .3s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; } .bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--br-cream); border-bottom: 1px solid rgba(218, 190, 130, .5);
    padding: 8px var(--gutter) 24px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 18px 0; width: 100%; text-align: center; font-size: 13px; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .nav-ig { justify-content: center; }
}

/* -- shimmer ground (the price-list flyer) ---------------------------- */
.shimmer { background: url(../img/shimmer.jpg) center / cover; }

/* -- hero ------------------------------------------------------------- */
.hero { background: url(../img/shimmer.jpg) center / cover; padding-block: clamp(48px, 8vw, 110px) clamp(72px, 10vw, 130px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero-title { font-size: clamp(54px, 7.2vw, 104px); line-height: .98; }
.hero-title span { display: block; padding-left: .7em; }
.hero .rule { margin-left: 0; }
.eyebrow-hero span { white-space: nowrap; }
.lead { font-size: 1.3em; max-width: 30ch; line-height: 1.45; }
.hero-art { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.arch-hero { aspect-ratio: 3 / 4; margin: 14px; }
.circle-float { position: absolute; width: 38%; box-shadow: var(--shadow); border: 6px solid var(--br-cream); }
.circle-float::after { display: none; }
.circle-b { right: -16%; top: 4%; width: 40%; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-title span { padding-left: 0; }
  .hero .rule { margin-left: auto; }
  .eyebrow-hero .sep { display: none; }
  .eyebrow-hero span:last-child { display: block; }
  .lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-art { max-width: 260px; margin-top: 12px; }
  .circle-b { right: -8%; }
}

/* -- welcome ---------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 90px); text-align: center; }
.pillar .circle { width: min(220px, 70%); margin: 0 auto 26px; box-shadow: var(--shadow); }
.pillar h3 { font-family: var(--br-font-serif); font-weight: 600; font-size: 1.55em; margin-bottom: 8px; }
.pillar p { color: var(--br-cocoa-soft); max-width: 30ch; margin-inline: auto; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .pillar { display: grid; grid-template-columns: 110px 1fr; gap: 4px 20px; align-items: center; }
  .pillar .circle { width: 110px; margin: 0; grid-row: span 2; }
  .pillar h3 { font-size: 1.35em; margin: 0; align-self: end; }
  .pillar p { margin: 0; max-width: none; align-self: start; font-size: .95em; }
}

/* -- concept ---------------------------------------------------------- */
.concept { background: linear-gradient(180deg, transparent, rgba(234, 219, 204, .55)); }
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.arch-concept { aspect-ratio: 4 / 5; width: calc(100% - 28px); max-width: 380px; margin: 14px auto; }
.arch-concept img { object-position: 62% 50%; }
/* The props, in a plain row with names: what each one is, not a collage. */
.tools { list-style: none; padding: 0; margin-top: clamp(56px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); text-align: center; }
.tools .circle { width: min(190px, 80%); margin: 0 auto 18px; box-shadow: var(--shadow); }
.tools span { font: 500 12px/1.4 var(--br-font-label); letter-spacing: .22em; text-transform: uppercase; color: var(--br-cocoa); }
@media (max-width: 600px) { .tools { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .tools .circle { width: 70%; } .tools span { font-size: 11px; letter-spacing: .14em; } }
@media (max-width: 860px) {
  .concept-grid { grid-template-columns: 1fr; }
  .arch-concept { max-width: 300px; }
}

/* -- why -------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.paper-card {
  position: relative; padding: clamp(36px, 6vw, 72px) clamp(26px, 6vw, 72px);
  background: #fbf7f3 url(../img/paper.jpg); box-shadow: var(--shadow);
}
.paper-card::before, .paper-card::after { content: ""; position: absolute; pointer-events: none; border: 1.5px solid var(--br-gold-light); }
.paper-card::before { inset: 14px; }
.paper-card::after { inset: 22px; border-width: 1px; }
.paper-card .title { font-size: clamp(32px, 3.4vw, 46px); }
.paper-card p { text-align: center; max-width: 56ch; margin-inline: auto; }
.anatomy img { border-radius: var(--radius); box-shadow: var(--shadow); }
.anatomy figcaption { font-style: italic; color: var(--br-cocoa-soft); text-align: center; margin-top: 16px; font-size: .95em; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .anatomy { max-width: 460px; margin-inline: auto; }
}

/* -- treatments ------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); align-items: stretch; }
.card {
  background: rgba(251, 247, 243, .88); border: 1px solid rgba(218, 190, 130, .7);
  padding: 40px clamp(24px, 2.6vw, 36px) 34px; text-align: center; position: relative;
  box-shadow: var(--shadow); border-radius: 2px;
  display: flex; flex-direction: column;
}
.card-cta { margin-top: auto; align-self: center; position: relative; z-index: 1; min-height: 46px; padding: 0 22px; font-size: 11px; letter-spacing: .18em; }
.card > p:last-of-type { margin-bottom: 26px; }
.card::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(218, 190, 130, .45); pointer-events: none; }
.card-mark { width: 180px; height: auto; margin: 0 auto 22px; }
.card h3 { font-family: var(--br-font-serif); font-weight: 600; font-size: 1.8em; line-height: 1.15; }
.price { font-style: italic; color: var(--br-cocoa-soft); margin: 6px 0 14px; }
.price span { color: var(--br-gold-deep); font-size: 1.25em; }
.tagline { font-weight: 600; }
.card p { font-size: .95em; }
.card-featured { border-color: var(--br-gold); }
.diamonds { list-style: none; padding: 0; margin: 0 0 1em; display: inline-block; text-align: left; }
.diamonds li { position: relative; padding-left: 26px; margin: 6px 0; }
.diamonds li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px;
  background: var(--br-gold); transform: rotate(45deg);
}
.card .diamonds { font-size: .95em; }
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; }
}

/* -- gift voucher: the one dark band ----------------------------------- */
.program { background: var(--br-cocoa); color: var(--br-cream); overflow: hidden; }
.program .script { color: var(--br-gold-light); font-size: clamp(60px, 7vw, 104px); }
.program .eyebrow { color: var(--br-gold-light); }
.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.facts { margin: 30px 0 38px; display: grid; gap: 18px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(218, 190, 130, .25); }
.facts dt { font: 500 12px/1.9 var(--br-font-label); letter-spacing: .2em; text-transform: uppercase; color: var(--br-gold-light); }
.facts dd { margin: 0; }
.program-card { max-width: 440px; justify-self: center; }
.voucher-card { max-width: 560px; }
.program-card img { box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55); transform: rotate(-3deg); border-radius: 6px; }
@media (max-width: 860px) {
  .program-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .program-card { max-width: 420px; margin-inline: auto; }
}

/* -- who -------------------------------------------------------------- */
.who-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.diamonds.big { display: block; }
.diamonds.big li { padding: 14px 0 14px 34px; margin: 0; border-bottom: 1px solid rgba(218, 190, 130, .45); }
.diamonds.big li::before { top: 1.35em; left: 4px; }
.notice {
  border: 1px solid var(--br-gold-light); padding: 30px 32px 14px; text-align: center;
}
.notice .eyebrow { margin-bottom: 14px; }
.notice p { font-size: .95em; color: var(--br-cocoa-soft); }
@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; }
  .notice { width: 100%; max-width: 520px; margin-inline: auto; }
}

/* -- contact & footer ------------------------------------------------- */
.email { font-size: 1.2em; margin-top: -6px; }
.email a { color: var(--br-gold-deep); text-decoration: none; border-bottom: 1px solid var(--br-gold-light); }
.site-footer a { color: inherit; text-decoration: none; }
@media (max-width: 600px) {
  .contact .actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
}
.contact .body-lg { font-family: var(--br-font-label); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; }
.site-footer {
  background: var(--br-cocoa); color: var(--br-cream);
  padding-block: 64px calc(48px + env(safe-area-inset-bottom, 0px));
}
.footer-row { display: grid; justify-items: center; gap: 14px; text-align: center; }
.footer-row img { width: 160px; height: auto; }
.nw { white-space: nowrap; }
.site-footer .label a { border-bottom: 1px solid rgba(218, 190, 130, .5); padding-bottom: 2px; }
.site-footer .label { color: var(--br-cream); margin: 0; }
.fine { font-size: .85em; opacity: .7; margin: 0; }

/* -- reveal on scroll ------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
