/* Nail Oasis — shared sub-page components (links, policies, cancellation, terms, privacy, 404). Loaded after site.css. */

/* mini landscape header — the homepage scene, compressed */
.page-hero { position: relative; overflow: clip; isolation: isolate; text-align: center; --water-h: 64px; --range-h: clamp(120px, 15vw, 190px); padding: clamp(128px, 17vh, 168px) var(--gutter) calc(var(--water-h) + var(--range-h) - 24px); }
.page-hero .hero__sky { background: radial-gradient(40% 60% at 50% 70%, rgb(255 244 226 / 1) 0%, rgb(255 236 214 / 0) 75%), linear-gradient(180deg, #fbefe5 0%, #fbe6d6 40%, #f6dcc8 62%, #e2e2d8 84%, #d3e1dc 100%); }
.page-hero .water { background: linear-gradient(180deg, #bcd3d2 0%, #cfdfdb 45%, var(--cream) 100%); }
.page-hero .inner { position: relative; max-width: 760px; margin: 0 auto; }
.page-logo { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; box-shadow: 0 0 0 6px rgb(255 255 255 / .7), 0 0 0 7px rgb(156 135 122 / .35), 0 20px 50px -18px rgb(120 60 30 / .45); }
.page-kicker { display: block; font: italic 400 clamp(20px, 1.7vw, 24px)/1.2 var(--display); color: var(--terra-text); margin-bottom: 10px; }
.page-title { font: 300 clamp(2.9rem, 7vw, 5.6rem)/.95 var(--display); letter-spacing: -.025em; color: var(--ink); }
.page-title em { font-style: italic; font-weight: 400; color: var(--terra); }
.page-sub { margin: 18px auto 0; max-width: 46ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--ink-light); }

/* content lifted over the water line */
.page-body { position: relative; z-index: 2; max-width: 900px; margin: -54px auto 0; padding: 0 var(--gutter) clamp(80px, 10vw, 130px); }
.page-body--wide { max-width: 1040px; }
.paper { background: rgb(255 252 248 / .86); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgb(255 255 255 / .9); border-radius: 32px; box-shadow: 0 50px 100px -60px rgb(90 40 20 / .5); padding: clamp(26px, 5vw, 64px); }

/* legal / long-form prose */
.prose { font-size: 16.5px; line-height: 1.8; color: var(--ink-light); overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--display); letter-spacing: -.01em; color: var(--ink); margin: 2.1em 0 .55em; }
.prose h3 { font: 500 clamp(20px, 1.9vw, 24px)/1.2 var(--display); color: var(--ink); margin: 1.6em 0 .4em; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: .45em; }
.prose li::marker { color: var(--terra); }
.prose a { color: var(--terra-dark); text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose .meta { font-size: 14px; color: var(--ink-light); letter-spacing: .2px; }
.prose hr { border: 0; height: 1px; background: rgb(176 96 64 / .18); margin: 2.2em 0; }
.toc { margin: 0 0 2em; padding: 18px 22px; border-radius: 20px; background: rgb(176 96 64 / .05); border: 1px solid rgb(176 96 64 / .12); }

/* policy list (cancellation) */
.lede-card { font: italic 400 clamp(20px, 2vw, 25px)/1.5 var(--display); color: var(--ink); }
.section-label { margin: 34px 0 14px; font: 500 clamp(22px, 2.2vw, 28px)/1.2 var(--display); color: var(--ink); }
.policy-list { display: grid; gap: 14px; list-style: none; padding: 0; }
.policy-list li { position: relative; padding: 18px 20px 18px 52px; border-radius: 20px; background: rgb(255 255 255 / .55); border: 1px solid rgb(176 96 64 / .12); font-size: 16px; line-height: 1.7; color: var(--ink-light); }
.policy-list li::before { content: '✦'; position: absolute; left: 20px; top: 18px; color: var(--terra); font-size: 14px; }
.policy-list strong { color: var(--ink); font-weight: 600; }
.ack { margin-top: 26px; padding: 16px 20px; border-left: 3px solid var(--terra); background: rgb(176 96 64 / .06); border-radius: 0 16px 16px 0; font-size: 15px; color: var(--ink); }

/* link cards (links, policies, 404) */
.link-group + .link-group { margin-top: clamp(30px, 4vw, 44px); }
.link-group__label { display: flex; align-items: center; gap: 14px; font: italic 400 clamp(21px, 1.9vw, 24px)/1 var(--display); color: var(--terra); margin-bottom: 14px; }
.link-group__label::after { content: ''; flex: 1; height: 1px; background: rgb(176 96 64 / .18); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cards--one { grid-template-columns: 1fr; }
.card { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 22px; background: rgb(255 252 248 / .74); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgb(255 255 255 / .85); text-decoration: none; color: var(--ink); box-shadow: 0 22px 44px -32px rgb(90 40 20 / .5); transition: transform .45s var(--ease), background .3s, box-shadow .45s var(--ease); min-width: 0; }
.card:hover { transform: translateY(-3px); background: rgb(255 252 248 / .96); box-shadow: 0 30px 60px -34px rgb(90 40 20 / .55); }
.card .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 23px; background: rgb(176 96 64 / .08); flex: none; }
.card .txt { min-width: 0; }
.card .t { display: block; font: 500 clamp(19px, 1.7vw, 22px)/1.15 var(--display); color: var(--ink); }
.card .d { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ink-light); margin-top: 3px; overflow-wrap: anywhere; }
.card .arr { margin-left: auto; padding-left: 8px; color: var(--terra); font-size: 18px; transition: transform .45s var(--ease); flex: none; }
.card:hover .arr { transform: translateX(4px); }
.card--sage .ic { background: rgb(106 143 114 / .12); }
.card--sage .arr { color: var(--sage-deep); }

/* hero booking card (links page) */
.book-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: clamp(20px, 3vw, 30px); border-radius: 30px; text-decoration: none; color: var(--white); background: linear-gradient(160deg, #c06848 0%, #a5523a 100%); box-shadow: 0 40px 80px -40px rgb(120 45 25 / .7); isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.book-card::before { content: ''; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18); right: -40%; top: -60%; z-index: -1; }
.book-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .22) 50%, transparent 65%); transform: translateX(-110%); transition: transform 1s var(--ease); z-index: -1; }
.book-card:hover { transform: translateY(-3px); box-shadow: 0 50px 90px -40px rgb(120 45 25 / .8); }
.book-card:hover::after { transform: translateX(110%); }
.book-card .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: rgb(255 255 255 / .16); }
.book-card .t { display: block; font: 400 clamp(26px, 2.6vw, 34px)/1.05 var(--display); }
.book-card .d { display: block; font-size: 14px; line-height: 1.5; color: rgb(255 255 255 / .86); margin-top: 6px; }
.book-card .d small { display: block; font-size: 12px; color: rgb(255 255 255 / .72); margin-top: 6px; letter-spacing: .3px; }
.book-card .go { display: inline-flex; align-items: center; gap: 6px; padding: 13px 20px; border-radius: 999px; background: var(--white); color: var(--terra-dark); font: 600 14.5px/1 var(--body); white-space: nowrap; }

/* booking CTA panel (cancellation etc.) */
.cta-panel { margin-top: 34px; border-radius: 26px; padding: clamp(22px, 3vw, 32px); background: linear-gradient(160deg, #bd6444, #a5523a); color: var(--white); display: grid; justify-items: center; gap: 12px; text-align: center; position: relative; overflow: hidden; }
.cta-panel::before { content: ''; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); top: 50%; left: 50%; translate: -50% -50%; }
.cta-panel .btn { position: relative; }
.cta-panel small, .cta-panel p { position: relative; font-size: 12.5px; letter-spacing: .3px; color: rgb(255 255 255 / .84); }

/* dusk ridge + footer on sub-pages sit on the cream body */
.page-foot { position: relative; background: linear-gradient(180deg, var(--cream) 0%, #efd2c4 40%, #b9a7ac 78%, #7e7a8a 100%); padding-top: clamp(60px, 8vw, 110px); overflow: clip; }
.page-foot .ridge { margin: 0; }

@media (max-width: 860px) {
  /* phones: each sub-page's own header "Book a Service" (already → Square) stays visible beside the menu button */
  .nav__ctas { display: flex; }
  .nav__ctas .btn--sage-ghost { display: none; }
  .nav__ctas .btn { min-height: 44px; padding-inline: 18px; font-size: 15px; }
  .brand span { white-space: nowrap; }
  .page-hero { --range-h: 130px; --water-h: 54px; padding-top: 112px; }
  .page-logo { width: 84px; height: 84px; }
  .cards { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: auto 1fr; }
  .book-card .go { grid-column: 1 / -1; justify-content: center; }
  .page-body { margin-top: -40px; }
  .footer { padding-bottom: 40px; }
}
/* narrow phones: logo pill + "Book a Service" + menu button on one line */
@media (max-width: 420px) {
  .brand { gap: 8px; padding: 4px 12px 4px 4px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 20px; }
  .nav__ctas .btn { padding-inline: 14px; font-size: 14px; }
}
@media (max-width: 380px) {
  .brand { padding-right: 4px; }
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* the round logo carries the name; the link keeps its accessible name */
}

/* P11 (approved 2026-09-29): line icons instead of emoji, coloured like the homepage (terracotta = salon/booking, sage = press-ons) */
.card .ic { color: var(--terra-dark); }
.card--sage .ic { color: var(--sage-deep); }
.book-card .ic, .next .card--book .ic { color: var(--white); }
.book-card .bk-media .ic { color: var(--terra-dark); }
.doc-list .ic { color: var(--ink); }
