/*
Theme Name: Quill & Lotus Atelier
Theme URI: https://quillandlotus.com
Author: Quill & Lotus Massage & Skincare Studio
Description: A quiet, editorial WordPress theme for Quill & Lotus Massage & Skincare Studio.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: quill-lotus-atelier
*/

:root {
  --ink: #272a26;
  --charcoal: #171a17;
  --parchment: #f2ede4;
  --paper: #fbf8f2;
  --oxblood: #622d32;
  --sage: #9ca596;
  --bronze: #9b7258;
  --gold: #c09a4a;
  --rule: rgba(39, 42, 38, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { height: 82px; padding: 0 clamp(24px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; background: rgba(248,244,237,.94); position: relative; z-index: 10; border-bottom: 1px solid rgba(39,42,38,.15); }
.wordmark { display: block; }
.brand-lockup { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { width: 46px; height: 42px; flex: none; stroke-width: 1.55; }
.brand-spark { fill: var(--gold); stroke: none; }
.brand-maker-rule { opacity: .38; }
.brand-type { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: Georgia, serif; font-size: 19px; letter-spacing: .15em; white-space: nowrap; }
.brand-name i { color: var(--gold); font-weight: 400; }
.brand-type small { font: 8px/1.1 "Courier New", monospace; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 13px; }
.nav-cta { border-left: 1px solid var(--rule); padding-left: clamp(18px, 3vw, 38px); text-transform: uppercase; letter-spacing: .12em; }

.hero { min-height: 560px; height: min(660px, calc(100svh - 82px)); position: relative; display: flex; align-items: center; overflow: hidden; background: #30291f; color: white; }
.hero-image { position: absolute; inset: 0; background: url('assets/images/ql-hero-editorial.png') center/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,19,16,.83) 0%, rgba(17,19,16,.7) 37%, rgba(17,19,16,.08) 68%, rgba(17,19,16,.12) 100%); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { font: 11px/1.3 "Courier New", monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.eyebrow.light { color: #dbc6aa; }
.gold-spark { color: var(--gold); margin-left: 8px; font-size: 10px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; margin: 0; }
h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: 1; letter-spacing: -.04em; max-width: 940px; }
.hero-lede { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.65; max-width: 690px; margin: 28px 0 0; color: rgba(255,255,255,.82); }
.button-row { display: flex; align-items: center; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; transition: .25s ease; }
.button.primary { background: var(--oxblood); color: white; }
.button.primary:hover { background: #7a3b40; transform: translateY(-2px); }
.text-button { padding: 0; min-height: auto; text-transform: none; font-size: 14px; letter-spacing: 0; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 5px; }
.text-button span { color: var(--gold); margin-left: 10px; }
.hero-index { position: absolute; z-index: 3; bottom: 28px; right: 40px; font: 10px "Courier New", monospace; letter-spacing: .14em; color: rgba(255,255,255,.62); }

h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
.quiet-note { font: 13px/1.7 "Courier New", monospace; margin-top: 34px !important; color: #706d65; max-width: 580px; }

.collection-section { background: var(--charcoal); color: white; padding: 120px 0 110px; }
.section-heading-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: end; margin-bottom: 70px; }
.section-heading-row > p { margin: 0 0 8px; line-height: 1.7; color: rgba(255,255,255,.61); max-width: 450px; }
.collection-list { border-top: 1px solid rgba(255,255,255,.35); }
.collection-row { min-height: 105px; display: grid; grid-template-columns: 120px 1fr 1.3fr 40px; gap: 24px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.22); transition: background .2s ease, padding .2s ease; }
.collection-row:hover { background: rgba(255,255,255,.045); padding: 0 15px; }
.catalog-code { font: 11px/1.4 "Courier New", monospace; letter-spacing: .12em; color: var(--bronze); text-transform: uppercase; }
.collection-name { font: 33px Georgia, serif; }
.collection-note { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.58); }
.row-arrow { color: var(--gold); font-size: 20px; text-align: right; }
.catalogue-actions { margin-top: 54px; display: flex; align-items: center; gap: 30px; }
.light-button { color: var(--charcoal); background: var(--parchment); }
.catalogue-footnote { font: 9px "Courier New", monospace; letter-spacing: .16em; color: rgba(255,255,255,.47); }

.first-visit-section { background: var(--parchment); padding: 125px 0; }
.first-visit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: center; }
.first-visit-number { border: 1px solid rgba(39,42,38,.24); min-height: 420px; padding: 35px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.28); }
.pair-mark { display: flex; align-items: center; justify-content: center; gap: 18px; }
.pair-mark span { width: 104px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 35px Georgia, serif; position: relative; }
.pair-mark span::before { content: ''; width: 22px; height: 8px; border: 1px solid var(--ink); border-bottom: 0; position: absolute; top: -9px; }
.pair-mark i { color: var(--gold); font-style: normal; font-size: 30px; }
.first-visit-number small { font: 9px "Courier New", monospace; letter-spacing: .14em; text-align: center; }
.large-copy { font-size: clamp(19px, 2.1vw, 28px); line-height: 1.55; max-width: 680px; }
.price-line { margin: 34px 0; display: flex; align-items: baseline; gap: 20px; }
.price-line strong { font: 52px Georgia, serif; }
.price-line span { font: 11px "Courier New", monospace; letter-spacing: .08em; text-transform: uppercase; color: #6f6a61; }
.dark-button { background: var(--charcoal); color: white; }

.concepts-section { padding: 120px 0; }
.section-heading-row.dark-text > p { color: #6c6b66; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.concept-grid article { padding: 42px 34px 44px 0; }
.concept-grid article + article { border-left: 1px solid var(--rule); padding-left: 34px; }
.concept-grid h3 { font-size: 31px; margin: 22px 0 18px; line-height: 1.1; }
.concept-grid p { color: #5f605a; line-height: 1.7; margin: 0; }

.about-section { background: var(--oxblood); color: white; padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11vw; }
.about-grid h2 { max-width: 600px; }
.about-grid > div:last-child { font-size: 20px; line-height: 1.65; color: rgba(255,255,255,.8); }
.light-text { color: white; margin-top: 24px; }

.visit-section { padding: 130px 0; text-align: center; }
.visit-section h2 { max-width: 950px; margin: 0 auto; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; margin: 72px 0 50px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.visit-grid > div { padding: 30px; }
.visit-grid > div + div { border-left: 1px solid var(--rule); }
.visit-grid span { font: 10px "Courier New", monospace; letter-spacing: .13em; color: var(--bronze); }
.visit-grid p { line-height: 1.7; margin-bottom: 0; }
.prototype-note { font-size: 11px; color: #77736d; margin-top: 18px; }

footer { background: var(--charcoal); color: white; padding: 55px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 40px; }
.footer-mark .brand-lockup { color: white; }
.footer-mark .brand-type small { color: rgba(255,255,255,.55); }
.footer-links { display: flex; gap: 24px; font-size: 12px; }
.footer-inner > .catalog-code { text-align: right; }

/* Service catalogue */
.catalogue-header { background: var(--paper); }
.catalogue-cover { background: var(--oxblood); color: white; padding: 105px 0 115px; }
.catalogue-cover-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: end; }
.catalogue-cover h1 { font-size: clamp(64px, 8vw, 118px); }
.catalogue-intro { padding-bottom: 8px; }
.catalogue-intro > p:first-child { font: 25px/1.5 Georgia, serif; margin-top: 0; }
.light-note { color: rgba(255,255,255,.63); }
.catalogue-intro .button { margin-top: 26px; }
.catalogue-button-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.outline-light-button { color: white; background: transparent; border: 1px solid rgba(255,255,255,.5); cursor: pointer; }
.outline-light-button:hover { border-color: white; }
.menu-jump { background: var(--parchment); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 8; }
.menu-jump .page-shell { min-height: 60px; display: flex; align-items: center; gap: 38px; overflow-x: auto; }
.menu-jump a { flex: none; font: 10px "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; }
.menu-section { padding: 110px 0 125px; background: var(--paper); scroll-margin-top: 60px; }
.menu-dark { background: var(--charcoal); color: white; }
.menu-section-head { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10vw; align-items: end; margin-bottom: 55px; }
.menu-section-head .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
.menu-section-head > p:last-child { line-height: 1.7; color: #6b6d67; max-width: 540px; }
.menu-dark .menu-section-head > p:last-child { color: rgba(255,255,255,.62); }
.menu-image { min-height: 420px; background-position: center; background-size: cover; margin: 0 0 60px; }
.service-list { border-top: 1px solid var(--rule); }
.menu-dark .service-list { border-color: rgba(255,255,255,.26); }
.service-entry { display: grid; grid-template-columns: .72fr 1.2fr .72fr; column-gap: 6vw; padding: 54px 0 58px; border-bottom: 1px solid var(--rule); }
.menu-dark .service-entry { border-color: rgba(255,255,255,.22); }
.service-entry > .catalog-code { grid-column: 1 / -1; margin: 0 0 22px; }
.service-entry h3 { font-size: clamp(35px, 4vw, 56px); line-height: 1; }
.service-description { font-size: 17px; line-height: 1.72; margin: 0; }
.menu-dark .service-description { color: rgba(255,255,255,.72); }
.best-for { grid-column: 2; font: 10px/1.6 "Courier New", monospace; letter-spacing: .11em; text-transform: uppercase; color: var(--bronze); margin: 18px 0 0; }
.time-row { grid-column: 3; grid-row: 2 / span 3; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.duration-price { min-width: 80px; padding-left: 14px; border-left: 1px solid currentColor; }
.duration-price span { display: block; font: 9px/1.4 "Courier New", monospace; letter-spacing: .11em; color: var(--bronze); }
.duration-price strong { display: block; margin-top: 7px; font: 16px/1.25 Georgia, serif; }
.service-book { grid-column: 2; font-size: 13px; border-bottom: 1px solid currentColor; width: max-content; padding-bottom: 4px; margin-top: 25px; }
.service-book span { color: var(--gold); margin-left: 8px; }
.review-note { background: var(--oxblood); color: white; padding: 100px 0; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.review-grid p:not(.eyebrow) { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.76); margin-top: 0; }

/* First visit */
.first-visit-hero { min-height: 690px; position: relative; display: flex; align-items: center; color: white; overflow: hidden; }
.first-visit-hero-image { position: absolute; inset: 0; background: url('assets/images/ql-hero-editorial.png') center/cover no-repeat; }
.first-visit-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,15,.86), rgba(16,18,15,.42) 58%, rgba(16,18,15,.12)); }
.first-visit-hero-copy { position: relative; z-index: 2; }
.first-visit-hero-copy > p:last-child { font-size: 20px; line-height: 1.65; max-width: 590px; color: rgba(255,255,255,.78); }
.restorative-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 10vw; align-items: center; padding: 125px 0; }
.restorative-card { border: 1px solid var(--rule); background: var(--parchment); min-height: 435px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; }
.restorative-card small { font: 9px "Courier New", monospace; letter-spacing: .13em; text-align: center; }
.restorative-copy .large-copy { color: #575952; }
.what-to-expect { background: var(--charcoal); color: white; padding: 115px 0 120px; }
.what-to-expect .menu-section-head > h2 { max-width: 850px; }
.expect-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.26); border-bottom: 1px solid rgba(255,255,255,.26); }
.expect-grid article { padding: 40px 34px 42px 0; }
.expect-grid article + article { border-left: 1px solid rgba(255,255,255,.22); padding-left: 34px; }
.expect-grid h3 { font-size: 30px; line-height: 1.08; margin: 22px 0 18px; }
.expect-grid p { color: rgba(255,255,255,.64); line-height: 1.7; }
.arrival-section { padding: 120px 0 130px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; }
.arrival-list { border-top: 1px solid var(--rule); }
.arrival-list article { display: grid; grid-template-columns: 135px 1fr; gap: 25px; padding: 27px 0; border-bottom: 1px solid var(--rule); }
.arrival-list span { font: 10px "Courier New", monospace; letter-spacing: .12em; color: var(--bronze); }
.arrival-list p { margin: 0; line-height: 1.65; }
.first-visit-close { background: var(--oxblood); color: white; padding: 110px 0 120px; }
.first-visit-close h2 { max-width: 920px; }

@media (max-width: 800px) {
  .page-shell { width: min(100% - 32px, 1180px); }
  .site-header { height: 72px; padding: 0 18px; }
  .brand-mark { width: 41px; height: 38px; }
  .brand-name { font-size: 16px; }
  .brand-type small { display: none; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { border: 0; padding: 10px 0 10px 18px; }
  .hero { height: min(620px, calc(100svh - 72px)); min-height: 540px; align-items: flex-end; padding-bottom: 72px; }
  .hero-image { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(15,17,14,.88), rgba(15,17,14,.52)); }
  h1 { font-size: clamp(41px, 11.5vw, 56px); }
  .hero-lede { font-size: 16px; line-height: 1.55; max-width: 92%; }
  .hero-index { left: 16px; right: auto; font-size: 8px; }
  .section-heading-row, .first-visit-grid, .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .concepts-section, .visit-section { padding: 82px 0; }
  .collection-section, .first-visit-section, .about-section { padding: 82px 0; }
  .collection-row { grid-template-columns: 72px 1fr 24px; gap: 12px; padding: 22px 0; }
  .collection-name { font-size: 27px; }
  .collection-note { display: none; }
  .catalogue-actions { align-items: flex-start; flex-direction: column; }
  .first-visit-number { min-height: 320px; }
  .concept-grid { grid-template-columns: 1fr; }
  .concept-grid article { padding: 36px 0; }
  .concept-grid article + article { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .visit-grid { grid-template-columns: 1fr; margin: 48px 0; }
  .visit-grid > div { padding: 23px 0; }
  .visit-grid > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-inner > .catalog-code { text-align: left; }
  .catalogue-cover { padding: 75px 0 85px; }
  .catalogue-cover-grid, .menu-section-head, .review-grid, .restorative-intro, .arrival-section { grid-template-columns: 1fr; gap: 42px; }
  .catalogue-cover h1 { font-size: clamp(59px, 18vw, 86px); }
  .menu-jump .page-shell { gap: 27px; }
  .menu-section { padding: 78px 0 90px; }
  .menu-section-head .eyebrow { margin-bottom: 0; }
  .menu-image { min-height: 270px; margin-bottom: 30px; }
  .service-entry { grid-template-columns: 1fr; padding: 44px 0 48px; }
  .service-entry h3, .service-description, .best-for, .time-row, .service-book { grid-column: 1; grid-row: auto; }
  .service-entry h3 { margin-bottom: 24px; }
  .best-for { margin-top: 18px; }
  .time-row { margin-top: 30px; }
  .service-book { margin-top: 28px; }
  .review-note { padding: 78px 0; }
  .first-visit-hero { min-height: 650px; align-items: flex-end; padding-bottom: 88px; }
  .first-visit-hero-image { background-position: 61% center; }
  .first-visit-hero-copy > p:last-child { font-size: 17px; }
  .restorative-intro, .arrival-section { padding: 82px 0; }
  .restorative-card { min-height: 330px; }
  .what-to-expect, .first-visit-close { padding: 82px 0; }
  .expect-grid { grid-template-columns: 1fr; }
  .expect-grid article { padding: 35px 0; }
  .expect-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding-left: 0; }
  .arrival-list article { grid-template-columns: 1fr; gap: 12px; }
}

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

@media print {
  .site-header, .catalogue-cover, .menu-jump, .menu-image, .service-book, .review-note, footer { display: none !important; }
  body, .menu-section, .menu-dark { background: white !important; color: #171a17 !important; }
  .menu-section { padding: 24px 0 !important; break-inside: avoid; }
  .menu-section-head { margin-bottom: 20px; }
  .service-entry { padding: 18px 0; break-inside: avoid; }
  .service-description { color: #40423d !important; }
  .page-shell { width: calc(100% - 48px); }
}
