/* Example website: Velvet Rose Makeup, a made up makeup artist. One page, in the style of a landing page. */
:root {
  --plum: #3b1f3a;
  --plum-2: #55294f;
  --rose: #c4687a;
  --rose-d: #a4506a;
  --blush: #f6e3e1;
  --cream: #fff8f5;
  --gold: #b98a4a;
  --ink: #2c1a2b;
  --soft: #6f5a6c;
  --line: #ecd5d3;
  --shadow: 0 14px 34px rgba(59, 31, 58, .16);
  --bar-h: 34px;
  --head-h: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--head-h) + 8px); }
body { margin: 0; font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; line-height: 1.12; margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--plum); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-d); margin-bottom: 12px; }

.example-bar { position: sticky; top: 0; z-index: 60; height: var(--bar-h); background: var(--plum); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 12px; }
.example-bar b { color: #e8c27a; font-weight: 600; margin-right: 6px; }

.site-head { position: sticky; top: var(--bar-h); z-index: 50; background: rgba(255, 248, 245, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.35rem; color: var(--plum); line-height: 1; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-size: .96rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--soft); transition: background .2s, color .2s; }
.nav a:hover { background: var(--blush); color: var(--plum); }
.nav a.cta { background: var(--rose); color: #fff; margin-left: 8px; padding: 9px 20px; }
.nav a.cta:hover { background: var(--rose-d); }
.menu-btn { display: none; align-items: center; gap: 9px; border: 0; cursor: pointer; font: inherit; font-weight: 500; font-size: .95rem; color: #fff; background: var(--rose); padding: 10px 16px 10px 14px; border-radius: 999px; }
.menu-btn .bars { width: 18px; height: 12px; position: relative; }
.menu-btn .bars i { position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.menu-btn .bars i:nth-child(1) { top: 0; }
.menu-btn .bars i:nth-child(2) { top: 5px; }
.menu-btn .bars i:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.menu-btn.hint { animation: pulse 1.8s ease-out 1.2s 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 104, 122, .6); } 70% { box-shadow: 0 0 0 14px rgba(196, 104, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 104, 122, 0); } }
.panel { display: none; }
@media (max-width: 860px) {
  :root { --head-h: 62px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .panel { display: block; position: fixed; left: 0; right: 0; top: calc(var(--bar-h) + var(--head-h)); bottom: 0; background: var(--cream); z-index: 45; padding: 18px 20px 28px; overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .panel.open { opacity: 1; transform: none; visibility: visible; }
  .panel p.lead { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin: 4px 0 10px; }
  .panel a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; font-family: 'Playfair Display', Georgia, serif; font-size: 1.7rem; padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .panel a::after { content: '\203A'; color: var(--rose); font-size: 1.7rem; }
  .panel a.cta { margin-top: 18px; justify-content: center; background: var(--rose); color: #fff; border-radius: 999px; font-family: 'Jost', system-ui, sans-serif; font-weight: 500; font-size: 1.1rem; border: 0; padding: 16px; }
  .panel a.cta::after { content: none; }
  body.menu-open { overflow: hidden; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: inherit; font-weight: 500; font-size: 1rem; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn.primary { background: var(--rose); color: #fff; box-shadow: 0 8px 22px rgba(196, 104, 122, .35); }
.btn.primary:hover { background: var(--rose-d); transform: translateY(-2px); }
.btn.ghost { border-color: var(--plum); color: var(--plum); }
.btn.ghost:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }
.btn.light { background: #fff; color: var(--plum); }
.btn.light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

section { padding: 82px 0; }
.sec-head { max-width: 38em; margin-bottom: 34px; }
.sec-head p { color: var(--soft); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Hero: words left, an arch shaped picture right */
.hero { padding: 54px 0 78px; background: radial-gradient(800px 420px at 90% 0%, var(--blush) 0%, rgba(246, 227, 225, 0) 70%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero p.big { font-size: 1.15rem; color: var(--soft); max-width: 31em; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 26px 26px; box-shadow: var(--shadow); }
/* On opening or refreshing, the top of the page floats down slowly like a balloon and settles */
.hero .eyebrow, .hero h1, .hero p.big, .hero .btns, .hero .note { animation: drift 1.7s cubic-bezier(.22, .9, .3, 1) both; }
.hero h1 { animation-delay: .12s; }
.hero p.big { animation-delay: .24s; }
.hero .btns { animation-delay: .36s; }
.hero .note { animation-delay: .48s; }
.hero .arch { animation: balloon 2.6s ease-out both; transform-origin: 50% 0; }
.hero .note { font-size: .88rem; color: var(--soft); margin-top: 16px; }
@keyframes drift { 0% { opacity: 0; transform: translateY(-70px) rotate(-1.2deg); } 55% { opacity: 1; transform: translateY(8px) rotate(.6deg); } 78% { transform: translateY(-3px) rotate(-.2deg); } 100% { opacity: 1; transform: none; } }
@keyframes balloon { 0% { opacity: 0; transform: translateY(-170px) rotate(-4deg); } 22% { opacity: 1; } 48% { transform: translateY(20px) rotate(2.6deg); } 66% { transform: translateY(-9px) rotate(-1.4deg); } 82% { transform: translateY(4px) rotate(.6deg); } 100% { opacity: 1; transform: none; } }

.strip { background: var(--plum); color: #fff; padding: 20px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 34px; justify-content: center; font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-style: italic; }
.strip span::before { content: '\2726'; color: #e8c27a; margin-right: 12px; font-style: normal; font-size: .8em; }

/* Services as a price list, no boxes */
.price-list { max-width: 820px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.row:last-child { border-bottom: 1px solid var(--line); }
.row h3 { margin: 0; }
.row p { grid-column: 1; margin: 4px 0 0; color: var(--soft); }
.row .from { grid-row: 1; grid-column: 2; font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; color: var(--rose-d); white-space: nowrap; }
.row .from small { font-family: 'Jost', sans-serif; font-size: .78rem; color: var(--soft); letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.price-note { color: var(--soft); font-size: .95rem; margin-top: 18px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery button { border: 0; padding: 0; cursor: zoom-in; border-radius: 16px; overflow: hidden; background: var(--blush); aspect-ratio: 1 / 1; position: relative; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery button:hover img { transform: scale(1.07); }
.gallery button::after { content: ''; position: absolute; inset: 0; background: rgba(59, 31, 58, 0); transition: background .3s; }
.gallery button:hover::after { background: rgba(59, 31, 58, .18); }
.tint { background: var(--blush); }
.dark { background: var(--plum); color: #fff; }
.dark .eyebrow { color: #e8c27a; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.split p { color: var(--soft); }
.sign { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 1.5rem; color: var(--rose-d); }

/* Booking steps as a timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; padding-top: 10px; }
.timeline::before { content: ''; position: absolute; left: 22px; right: 22px; top: 32px; height: 2px; background: rgba(255, 255, 255, .25); }
.tstep { position: relative; }
.tstep .dot { width: 46px; height: 46px; border-radius: 50%; background: #e8c27a; color: var(--plum); display: grid; place-items: center; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.2rem; position: relative; z-index: 1; margin-bottom: 18px; }
.tstep h3 { color: #fff; }
.tstep p { color: #e7d3df; margin: 0; }

/* Questions: open and close */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid #dcc2c0; padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid #dcc2c0; }
.faq summary { cursor: pointer; font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 36px; height: 36px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-family: 'Jost', sans-serif; font-size: 1.4rem; flex: none; transition: transform .25s; }
.faq details[open] summary::after { content: '\2212'; transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; color: var(--soft); max-width: 36em; }

.book { text-align: center; }
.book p { color: #e7d3df; max-width: 32em; margin: 0 auto 26px; }
.book .btns { justify-content: center; }

.lb { position: fixed; inset: 0; z-index: 90; background: rgba(20, 10, 20, .93); display: none; align-items: center; justify-content: center; padding: 20px; }
.lb.open { display: flex; }
.lb img { max-width: min(92vw, 860px); max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lb button { position: absolute; border: 0; cursor: pointer; background: rgba(255, 255, 255, .15); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .3); }
.lb .x { top: 16px; right: 16px; }
.lb .prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .9rem; }

.foot { background: var(--blush); padding: 46px 0 26px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); font-weight: 500; }
.foot a { display: block; text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--rose-d); }
.foot .brand { padding: 0; display: inline-flex; }
.foot .notice { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--soft); font-size: .86rem; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .hero *, .menu-btn.hint { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 30px 0 52px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero .arch { order: 2; max-width: 420px; margin: 0 auto; width: 100%; }
  .split .arch { max-width: 420px; margin: 0 auto; width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 22px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .tstep { padding-left: 66px; }
  .tstep .dot { position: absolute; left: 0; top: 0; margin: 0; }
  .btns .btn { flex: 1 1 100%; }
  .row { grid-template-columns: 1fr; }
  .row .from { grid-row: auto; grid-column: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  :root { --bar-h: 46px; }
  .example-bar { font-size: 12px; line-height: 1.3; }
  .brand { font-size: 1.15rem; }
}
