/* ClosetPearl website: look D "pearl glow" (chosen 2026-11-29). Fonts are served from this site (Montserrat, OFL),
   so a visit sends nothing to Google. No inline styles anywhere (the security headers forbid them). */
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ivory: #FBF8F2; --sand: #F3EDE2; --ink: #22303A; --muted: #55606A; --teal: #1F4E5C; --teal-deep: #173B46;
  --gold: #C4A265; --gold-deep: #8F7035; --line: #E6DCC8; --card: #FFFFFF;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; }
a { color: var(--teal); }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* header + footer */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.brand img { width: 48px; height: 48px; }
.brand .pearl { color: var(--gold-deep); }
.nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--gold); }
@media (max-width: 520px) { .nav { gap: 14px; font-size: 13px; } .brand { font-size: 19px; } .brand img { width: 40px; height: 40px; } }
footer { border-top: 1px solid var(--line); padding-block: 34px 46px; font-size: 14px; color: var(--muted); margin-top: 40px; }
footer .wrap { display: grid; gap: 16px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 12px 26px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--teal); text-decoration: underline; }

/* to be replaced before publishing */
.ph { background: #FFF1C2; border-radius: 4px; padding: 0 4px; color: #6b5200; }

/* hero */
.hero { background: radial-gradient(55% 75% at 76% 42%, #F7EACB 0%, rgba(247,234,203,0) 70%), linear-gradient(180deg, var(--ivory), var(--sand)); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; padding-block: 22px 4px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; letter-spacing: -.02em; margin: 10px 0 12px; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.lead { font-size: 17px; color: var(--muted); max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn.gold { background: linear-gradient(180deg, #D8BC84, #B5924F); color: #2a2110; }
.btn.ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.6); }
.btn[aria-disabled="true"] { cursor: default; }
.note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.logoplate { display: grid; place-items: center; }
.hero-logo { width: min(250px, 52vw); height: auto; filter: drop-shadow(0 18px 24px rgba(154,123,63,.35)); }
@media (prefers-reduced-motion: no-preference) { .hero-logo { animation: floaty 6s ease-in-out infinite; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 14px 0; gap: 4px; }
  .logoplate { order: -1; }
  .hero-logo { width: 112px; }
  .hero h1 { font-size: 30px; margin: 6px 0 8px; }
  .lead { font-size: 14.5px; }
  .cta { margin-top: 12px; }
  .hero .note { display: none; }
}

/* touchable pearls */
.pearls { background: linear-gradient(180deg, var(--sand), var(--ivory)); padding-block: 0 72px; display: flow-root; }
.pearls .head { text-align: center; margin: 0 auto 6px; }
.pearls .head h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; }
.pstring { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; aspect-ratio: 1200 / 170; }
.pstring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pearlbtn { position: absolute; transform: translate(-50%, -50%); border: 0; padding: 0; cursor: pointer; border-radius: 50%; aspect-ratio: 1;
  background: radial-gradient(circle at 34% 28%, #fff 0%, #F4ECEE 38%, #D9D0DA 72%, #B4ABB8 100%);
  box-shadow: 0 10px 14px -8px rgba(80,60,40,.55), inset -3px -4px 8px rgba(120,100,140,.18);
  transition: transform .25s ease, box-shadow .25s ease; }
.pearlbtn:hover { transform: translate(-50%, -50%) scale(1.08); }
.pearlbtn[aria-pressed="true"] { transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 0 3px var(--gold), 0 0 30px rgba(226,201,142,.95), 0 10px 14px -8px rgba(80,60,40,.55); }
.pearlbtn .lbl { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; pointer-events: none; }
.pearlbtn[aria-pressed="true"] .lbl { color: var(--teal); }
@media (prefers-reduced-motion: no-preference) { .pearlbtn.invite { animation: invite 2.2s ease-in-out infinite; } }
@keyframes invite { 0%, 100% { box-shadow: 0 0 0 0 rgba(226,201,142,0), 0 10px 14px -8px rgba(80,60,40,.55); } 50% { box-shadow: 0 0 0 8px rgba(226,201,142,.45), 0 10px 14px -8px rgba(80,60,40,.55); } }
.pinfo { position: relative; max-width: 700px; margin: 46px auto 0; background: var(--card); border: 1.5px solid rgba(196,162,101,.8); border-radius: 18px; padding: 26px 28px; text-align: center; box-shadow: 0 16px 32px -20px rgba(154,123,63,.55); min-height: 150px; }
.pinfo::before { content: ""; position: absolute; top: -9px; left: var(--x, 50%); width: 16px; height: 16px; background: var(--card); border-left: 1.5px solid rgba(196,162,101,.8); border-top: 1.5px solid rgba(196,162,101,.8); transform: translateX(-50%) rotate(45deg); transition: left .3s ease; }
.pinfo .t { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.pinfo h3 { font-size: 22px; font-weight: 700; margin: 8px 0; }
.pinfo p { color: var(--muted); max-width: 54ch; margin-inline: auto; }
.pinfo .eg { display: inline-block; margin-top: 12px; font-size: 13.5px; background: var(--sand); border-radius: 999px; padding: 6px 14px; }
@media (prefers-reduced-motion: no-preference) { .pinfo .in { animation: fadeup .35s ease both; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 620px) { .pearlbtn .lbl { font-size: 9.5px; letter-spacing: .08em; } .pinfo { padding: 22px 18px; } }

/* sections and cards */
section { padding-block: 60px; }
section.alt { background: linear-gradient(180deg, var(--ivory), var(--sand)); }
.head { max-width: 640px; margin-bottom: 34px; }
.head.center { text-align: center; margin-inline: auto; }
.head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.015em; margin-top: 10px; }
.head p { color: var(--muted); margin-top: 12px; }
.head .eyebrow { display: inline-flex; gap: 14px; align-items: center; }
.head.center .eyebrow::before, .head.center .eyebrow::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.head.center .eyebrow::after { transform: scaleX(-1); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1.5px solid rgba(196,162,101,.75); border-radius: 18px; padding: 24px; box-shadow: 0 10px 26px -16px rgba(154,123,63,.45); }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card ul { margin: 10px 0 0; padding-left: 18px; }
.icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 28%, #fff, #EFE6E8 55%, #B9B2BD); box-shadow: 0 0 0 2px var(--gold), 0 8px 16px -8px rgba(154,123,63,.6); color: var(--teal); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stepno { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; background: linear-gradient(180deg, #D8BC84, #B5924F); color: #2a2110; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.facebox { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 820px) { .facebox { grid-template-columns: 1fr; } }
.facebox ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.facebox li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.facebox li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; margin-top: 9px; flex: none; background: radial-gradient(circle at 35% 30%, #fff, #E9DDE0 55%, #B9B2BD); box-shadow: 0 0 0 1.5px var(--gold); }
.more { display: inline-block; margin-top: 18px; font-weight: 600; }
.stringbar { width: 100%; height: auto; }

/* text pages (privacy, terms, legal notice, contact) */
.doc { max-width: 760px; padding-block: 48px 40px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; letter-spacing: -.02em; margin: 10px 0 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 12px; }
.doc ul { padding-left: 20px; margin: 0 0 12px; }
.sumcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
@media (max-width: 620px) { .sumcards { grid-template-columns: 1fr; } }
.sumcards div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 14.5px; color: var(--muted); }
.sumcards b { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.toc a { font-size: 13px; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.mailbtn { margin-top: 6px; }
