/* Dr Nadia Beauty Clinic.
   The three colours of the logo, each with one job:
   black carries the header, page titles, banner and footer;
   gold draws the rules and marks where you are on black;
   pink is for things you press.
   The reading areas stay white. No cards, badges or decoration. */

@font-face { font-family: "Rozha One"; src: url(../fonts/rozha-one-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(../fonts/schibsted-grotesk-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(../fonts/schibsted-grotesk-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
    color-scheme: light;
    --ink: #141414;
    --paper: #fff;
    --soft: #FBF2F6;
    --line: #EBDDE3;
    --muted: #5F565A;
    --pink: #D1006C;
    --pink-hot: #F80088;
    --pink-lt: #FF5CAE;
    --gold: #B89010;
    --gold-lt: #D4AC2B;
    --on-ink: #E6DFE2;
    --on-ink-muted: #BDB4B8;
    --ink-line: #2E2B2C;
    --gutter: clamp(20px, 5vw, 48px);
    --section: clamp(52px, 7vw, 92px);
    --display: "Rozha One", Georgia, serif;
    --body: "Schibsted Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
:is(.top, .head, .banner, .sec--ink, .foot, .dock) :focus-visible { outline-color: var(--gold-lt); }
::selection { background: var(--pink); color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 24px; border: 1.5px solid var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.btn--pink { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn--pink:hover { background: var(--ink); border-color: var(--ink); }
.btn--line { color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
:is(.top, .head, .banner, .sec--ink) .btn--pink:hover { background: #fff; border-color: #fff; color: var(--ink); }
:is(.top, .head, .banner, .sec--ink) .btn--line { border-color: #fff; color: #fff; }
:is(.top, .head, .banner, .sec--ink) .btn--line:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link { font-weight: 700; color: var(--pink); text-underline-offset: 4px; }
.lead { max-width: 52ch; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; }

/* Header */
.top { position: relative; z-index: 10; background: var(--ink); color: #fff; border-bottom: 1px solid var(--ink-line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.brand svg { flex: none; width: 42px; height: 42px; }
.brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; }
.brand small { display: block; margin-top: 4px; font-size: 13px; color: var(--gold-lt); }
.menu-button { min-height: 42px; padding: 6px 16px; border: 1.5px solid #fff; background: none; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.nav { display: none; }
.nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 4px var(--gutter) 16px; background: var(--ink); border-bottom: 3px solid var(--gold); }
.nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--ink-line); font-size: 19px; font-weight: 400; text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 700; color: var(--gold-lt); }
.nav a[aria-current="page"]::after { content: "You are here"; margin-left: 12px; font-size: 13px; font-weight: 400; color: var(--on-ink-muted); }
.top .btn { display: none; }

/* Where am I: the trail on every inner page */
.crumbs { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 15px; color: var(--on-ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6F676B; }
.crumbs a { text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { font-weight: 700; color: var(--gold-lt); }

.head { padding: 22px 0 clamp(34px, 5vw, 54px); background: var(--ink); color: #fff; border-bottom: 3px solid var(--gold); }
.head .lead { color: var(--on-ink); }
.head h1 { max-width: 20ch; margin-top: 26px; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.05; }
.head .lead { margin-top: 14px; }
.head .actions { margin-top: 26px; }

/* Home banner: photographs that move sideways, with the words on a black panel.
   It is a plain scrolling strip, so it swipes on a phone and still works with scripts off. */
.banner { background: var(--ink); color: #fff; }
.banner__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.banner__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; display: flex; flex-direction: column; scroll-snap-align: start; scroll-snap-stop: always; }
.slide__img { display: block; width: 100%; height: clamp(220px, 60vw, 420px); object-fit: cover; background: var(--ink-line); }
.slide__text { padding: 26px 0 10px; }
.slide__text :is(h1, h2) { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
.slide__text p { max-width: 40ch; margin-top: 12px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--on-ink); }
.slide__text .actions { margin-top: 22px; }
.banner__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 16px; }
.banner__count { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gold-lt); }
.banner__buttons { display: flex; gap: 8px; }
.banner__buttons button { min-height: 40px; padding: 6px 14px; border: 1px solid #575154; background: none; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.banner__buttons button:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

/* Photos: one frame, one shape, always captioned */
.shot { width: 100%; max-width: 440px; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); }
.shot figcaption { margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.shot--door img { object-position: 50% 3%; }
.shot--wide { max-width: none; }
.shot--wide img { aspect-ratio: 3 / 2; object-position: 50% 24%; }
.split { display: grid; gap: 32px 72px; align-items: center; }
.split h2 { font-size: clamp(30px, 3.8vw, 46px); }
.split p { max-width: 46ch; margin-top: 14px; }
.split .actions { margin-top: 26px; }

/* Sections */
.sec { padding: var(--section) 0; }
.sec--soft { background: var(--soft); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink .quote footer { color: var(--gold-lt); }
.sec--ink .link { color: var(--pink-lt); }
.sec--tight { padding-top: 0; }
.sec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 30px; }
.sec__title { font-size: clamp(30px, 3.8vw, 46px); }
.sec__head p { max-width: 40ch; color: var(--muted); }
.sec__more { margin-top: 28px; }

/* A closing line with one action, set between two rules */
.next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding: 26px 0; border-top: 2px solid var(--gold); border-bottom: 1px solid var(--line); }
.next p { max-width: 44ch; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.4; }

/* Treatment rows */
.rows { border-top: 2px solid var(--gold); }
.rows--two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: 56px; }
.row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.row__thumb { flex: none; width: 64px; height: 64px; object-fit: cover; background: var(--soft); }
.row__name { display: block; font-family: var(--display); font-size: 23px; line-height: 1.15; }
.row__line { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
.row:hover .row__name { color: var(--pink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.jump { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.jump span { color: var(--muted); }
.jump a { font-weight: 700; text-underline-offset: 4px; }
.jump a:hover { color: var(--pink); }
.group { display: grid; gap: 18px 64px; padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.group:last-child { border-bottom: 0; }
.group__name { font-size: clamp(28px, 3.4vw, 40px); }
.group__line { max-width: 30ch; margin-top: 8px; color: var(--muted); }

/* Visit steps: a plain numbered list */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps h3 { font-size: 19px; line-height: 1.25; }
.steps h3::before { content: counter(step) ". "; color: var(--pink); }
.steps p { margin-top: 6px; font-size: 16px; color: var(--muted); }

/* One treatment */
.t-body { display: grid; gap: 40px 72px; }
.t-intro { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; }
.t-side h2 { font-size: clamp(30px, 3.8vw, 46px); }
.t-side .actions { margin-top: 26px; }
.t-note { max-width: 46ch; margin-top: 16px; font-size: 15px; color: var(--muted); }
.facts { display: grid; gap: 36px; }
.fact h2 { padding-bottom: 10px; border-bottom: 2px solid var(--gold); font-family: var(--body); font-size: 18px; font-weight: 700; line-height: 1.3; }
.fact li, .fact p { padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.fact p a { font-weight: 700; white-space: nowrap; }

.pair { border-top: 1px solid var(--line); }
.pair__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair a { display: block; padding: 26px 0; text-decoration: none; }
.pair a + a { text-align: right; }
.pair small { display: block; font-size: 14px; color: var(--muted); }
.pair b { display: block; margin-top: 2px; font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.4vw, 28px); line-height: 1.15; }
.pair a:hover b { color: var(--pink); }

/* Title and explanation lists: promises, group businesses */
.ledger { border-top: 2px solid var(--gold); }
.ledger li { display: grid; gap: 4px 48px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ledger h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.ledger p { max-width: 56ch; }

/* Label and value lists: contact, company facts, values */
.ways { border-top: 2px solid var(--gold); }
.ways > div { display: grid; gap: 2px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ways dt { font-size: 15px; font-weight: 700; color: var(--muted); }
.ways dd { font-size: clamp(19px, 2vw, 24px); line-height: 1.3; overflow-wrap: anywhere; }
.ways dd small { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
.ways--plain > div { padding: 13px 0; }
.ways--plain dt { color: var(--ink); font-size: 17px; }
.ways--plain dd { font-size: 17px; line-height: 1.5; }

/* About */
.quote { max-width: 36ch; font-family: var(--display); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.22; }
.quote footer { margin-top: 16px; font-family: var(--body); font-size: 16px; font-weight: 700; color: var(--muted); }
.twin { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px 64px; }
.twin h2 { margin-bottom: 10px; font-size: clamp(24px, 2.8vw, 32px); }
.twin p + p { margin-top: 10px; }

/* Plain text */
.prose { max-width: 66ch; }
.prose h2 { margin: 36px 0 8px; font-size: 26px; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }

/* Footer */
.foot { padding: clamp(40px, 5vw, 64px) 0 28px; background: var(--ink); color: #fff; border-top: 3px solid var(--gold); }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px 48px; }
.foot__tag { margin-top: 14px; color: var(--on-ink); }
.foot h2 { margin-bottom: 10px; font-family: var(--body); font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--gold-lt); }
.foot li { padding: 3px 0; }
.foot a { text-underline-offset: 3px; }
.foot a:hover { color: var(--gold-lt); }
.foot__small { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink-line); font-size: 14px; color: var(--on-ink-muted); }

/* Booking bar on phones */
.dock { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--ink-line); }
.dock a { display: flex; align-items: center; justify-content: center; min-height: 46px; font-weight: 700; text-decoration: none; }
.dock a:first-child { background: var(--pink); color: #fff; }
.dock a:last-child { border: 1.5px solid #fff; color: #fff; }

@media (min-width: 900px) {
    body { padding-bottom: 0; }
    .dock, .menu-button { display: none; }
    .nav, .nav.is-open { position: static; display: flex; gap: 8px 30px; padding: 0; border: 0; background: none; }
    .nav a { padding: 6px 0; border-bottom: 2px solid transparent; font-size: 16px; }
    .nav a:hover { color: var(--gold-lt); }
    .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--pink-hot); }
    .nav a[aria-current="page"]::after { content: none; }
    .top .btn { display: inline-flex; min-height: 44px; padding: 8px 20px; }
    .slide { display: block; height: clamp(480px, 38vw, 720px); }
    .slide__img { position: absolute; inset: 0; height: 100%; }
    .slide__in { position: relative; display: flex; align-items: flex-end; height: 100%; }
    .slide__text { width: min(100%, 540px); margin-left: -38px; padding: 34px 38px 26px; background: var(--ink); }
    .split { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
    .group { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
    .t-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
    .t-side { position: sticky; top: 24px; align-self: start; }
    .ledger li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: baseline; }
    .ways > div { grid-template-columns: 180px minmax(0, 1fr); align-items: baseline; }
}

@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
}
