/* chastitylynnweb.com · Pearl */
:root {
  --bg: #faf8f6;
  --panel: #ffffff;
  --ink: #2b262a;
  --soft: #46404a;
  --muted: #6b6266;
  --gold: #c9a86a;
  --gold-ink: #7a5f2e;
  --nacre: #b8aeb8;
  --line: #e7e0da;
  --radius: 22px;
  --shell: 1160px;
  --display: 'Ovo', 'Simonetta', Georgia, serif;
  --body: 'Simonetta', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { background: #faf8f6; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 0%, rgba(184, 174, 184, .16), rgba(201, 168, 106, .07) 46%, rgba(250, 248, 246, 0) 72%);
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.55rem, 3.2vw, 2.25rem);
     line-height: 1.14; letter-spacing: .002em; margin: 0 0 .7rem; }
.eyebrow { font-family: var(--body); font-weight: 900; font-size: .78rem; letter-spacing: .22em;
           text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .7rem; }
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.7rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #faf8f6;
               border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .85rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.12rem; letter-spacing: .01em;
            text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.main-nav a { color: #4f4750; text-decoration: none; font-size: .95rem; position: relative;
              padding: .1rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
                     background: var(--gold); transition: width .22s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after { width: 100%; }
.btn { display: inline-flex; align-items: center; gap: .45rem; background: #2b262a; color: #faf8f6;
       font-family: var(--display); font-size: .98rem; letter-spacing: .015em;
       border-radius: 999px; padding: .74rem 1.45rem; text-decoration: none;
       border: 1px solid #2b262a;
       transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn:hover { background: #7c6231; color: #ffffff; border-color: #7c6231; transform: translateY(-1px); }
.btn-sm { padding: .42rem 1rem; font-size: .86rem; }
.main-nav a.btn { color: #faf8f6; background: #2b262a; border-color: #2b262a; }
.main-nav a.btn:hover { color: #ffffff; background: #7c6231; border-color: #7c6231; }

/* hero */
.hero { position: relative; padding: 3.2rem 0 2.3rem; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 2.5rem; align-items: center; }
.hero-kicker { font-family: var(--body); font-weight: 900; font-size: .76rem; letter-spacing: .22em;
               text-transform: uppercase; color: var(--gold-ink); margin: 0 0 1.1rem; }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0 0 1.1rem;
              font-size: clamp(2.7rem, 6.4vw, 4.6rem); line-height: .96; letter-spacing: .005em; }
.hero-title span { display: block; }
.hero-title .accent { color: #6f565f; }
.hero-tagline { font-family: var(--display); font-size: 1.2rem; line-height: 1.42;
                margin: 0 0 .95rem; max-width: 32ch; }
.hero-intro { color: var(--soft); max-width: 50ch; margin: 0 0 1.8rem; }
.hero-visual { position: relative; }
.pearl-halo { position: absolute; inset: -9% -7% 2% -7%; border-radius: 50%;
              background: radial-gradient(closest-side, rgba(201, 168, 106, .22), rgba(184, 174, 184, .16) 54%, rgba(250, 248, 246, 0) 79%); }
.hero-photo { position: relative; margin: 0; border-radius: 250px 250px 30px 30px; overflow: hidden;
              border: 1px solid #e0d4c4;
              box-shadow: 0 30px 60px rgba(43, 38, 42, .16), 0 0 0 10px rgba(255, 255, 255, .55); }
.hero-photo img { display: block; width: 100%; height: 560px; object-fit: cover; object-position: center 10%; }
.bead-chain { position: absolute; right: clamp(4px, calc((100vw - 1160px) / 2 - 46px), 200px); top: 8%; height: 82%; width: auto; opacity: .9; }

/* sections */
.section { padding: 3rem 0; }
.section-tight { padding-top: 1.3rem; }
.section-last { padding-bottom: 4.2rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); border-radius: 18px;
                background: linear-gradient(180deg, #ffffff, #f7f2ec);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: #d9c49a; box-shadow: 0 14px 32px rgba(122, 95, 46, .14); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* layer cards */
.layer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.layer-card { position: relative; background: var(--panel); border: 1px solid var(--line);
              border-radius: var(--radius); padding: 2rem 1.5rem 1.6rem;
              box-shadow: 0 16px 36px rgba(43, 38, 42, .06); }
.layer-card::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
                      width: 66px; height: 30px; border: 1px solid #dcc9a4; border-bottom: 0;
                      border-radius: 66px 66px 0 0; }
.layer-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.18rem; margin: 0 0 .55rem; }
.layer-card p { color: var(--soft); font-size: .96rem; margin: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 2.4rem; align-items: start; }
.about-cols { columns: 2; column-gap: 2.2rem; }
.about-cols p { margin: 0 0 1.05rem; color: var(--soft); break-inside: avoid; }
.about-card { background: var(--panel); border: 1px solid var(--line); border-radius: 26px;
              padding: 1rem 1rem 1.2rem; box-shadow: 0 24px 50px rgba(43, 38, 42, .10); }
.about-card img { display: block; width: 100%; height: auto; border-radius: 18px 18px 96px 18px; }
.about-facts { list-style: none; margin: .9rem 0 0; padding: 0; }
.about-facts li { position: relative; padding: .55rem 0 .55rem 1.1rem; color: var(--muted);
                  font-size: .93rem; border-top: 1px dashed #ece3d8; }
.about-facts li:first-child { border-top: 0; }
.about-facts li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px;
                          border-radius: 50%; background: var(--gold); }

/* bead timeline */
.career-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.5rem; align-items: start; }
.bead-line { list-style: none; margin: 0; padding: 0; position: relative; }
.bead-line::before { content: ""; position: absolute; left: 8px; top: .7em; bottom: .9em; width: 1px;
                     background: linear-gradient(180deg, #d9c49a, #e7e0da 55%, #d9c49a); }
.bead-line li { position: relative; padding: 0 0 1.35rem 2.2rem; }
.bead-line li:last-child { padding-bottom: 0; }
.bead-line li::before { content: ""; position: absolute; left: 1px; top: .34em; width: 15px; height: 15px;
                        border-radius: 50%;
                        background: radial-gradient(circle at 32% 28%, #ffffff, #f1e9e2 48%, #cfc4c2 100%);
                        border: 1px solid #d3bd92; box-shadow: 0 0 0 3px #faf8f6, 0 2px 5px rgba(43, 38, 42, .14); }
.bead-line .when { display: block; font-family: var(--body); font-weight: 900; font-size: .85rem;
                   letter-spacing: .06em; color: var(--gold-ink); margin-bottom: .12rem; }
.bead-line .what { display: block; color: var(--soft); font-size: .97rem; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line);
                  aspect-ratio: 4 / 5; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.g-1 { border-radius: 130px 26px 26px 26px; }
.g-2 { border-radius: 26px 130px 26px 26px; }
.g-3 { border-radius: 26px 26px 130px 26px; }
.g-4 { border-radius: 26px 26px 26px 130px; }

/* social */
.social-list { border-top: 1px solid var(--line); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: 1.05rem .6rem; border-bottom: 1px solid var(--line); text-decoration: none;
              transition: background .2s ease, box-shadow .2s ease, padding .2s ease; }
.social-row .platform { font-family: var(--display); font-size: clamp(1.1rem, 2.5vw, 1.45rem); }
.social-row .handle { color: var(--muted); font-size: .93rem; }
.social-row:hover { background: #ffffff; box-shadow: inset 3px 0 0 var(--gold); padding-left: 1rem; }
.social-row:hover .platform { color: var(--gold-ink); }

/* subpages */
.page-top { padding: 2.7rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.4rem; }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.6vw, 2.9rem);
               line-height: 1.06; margin: .15rem 0 .8rem; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.5rem; }
.story h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); margin: 0 0 .8rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { color: var(--soft); padding: .6rem 0 .6rem 1.15rem; position: relative;
               border-bottom: 1px dashed #ece3d8; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.2em; width: 6px; height: 6px;
                       border-radius: 50%; background: var(--gold); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 1.2rem; }
.credit-col h3 { font-family: var(--body); font-weight: 900; font-size: .76rem; letter-spacing: .18em;
                 text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .55rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .93rem; padding: .32rem 0; border-bottom: 1px dashed #ece3d8; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px solid var(--line); border-radius: 18px; background: var(--panel);
        padding: .9rem 1.3rem; min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--gold-ink); }
.stat span { color: var(--muted); font-size: .86rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary { font-family: var(--display); font-size: 1.08rem; line-height: 1.38; cursor: pointer;
                    list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold-ink); font-family: var(--display); }
.faq-list details[open] summary::after { content: "·"; color: var(--gold-ink); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 74ch; }

/* footer */
.site-footer { background: #2b262a; color: #e8e2de; padding: 2.2rem 0 2.5rem; margin-top: 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); color: #faf8f6; }
.brand-line { color: #c9c0ba; font-size: .85rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; }
.language-nav a { color: #cfc6c0; text-decoration: none; font-size: .88rem; }
.language-nav a:hover { color: #ffffff; }
.language-nav a[aria-current="page"] { color: #e0c68b; }
.footer-legal { color: #cfc6c0; font-size: .85rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.4rem 0 5.4rem; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pearl-halo { inset: -4% -2% 2% -2%; }
  .hero-photo { border-radius: 200px 200px 26px 26px; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 5; }
  .bead-chain { display: none; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-cols { columns: 1; }
  .about-card { max-width: 430px; }
  .layer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .5rem 1rem; }
  .main-nav { gap: .7rem .95rem; }
  .main-nav a { font-size: .88rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 122px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .gallery { grid-template-columns: 1fr; }
  .g-1 { border-radius: 110px 22px 22px 22px; }
  .g-2 { border-radius: 22px 110px 22px 22px; }
  .g-3 { border-radius: 22px 22px 110px 22px; }
  .g-4 { border-radius: 22px 22px 22px 110px; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .2rem; }
  .section { padding: 2.3rem 0; }
}
