/* candycharmsweb.com · Charm Bracelet */
:root {
  --ivory: #FBF7F0;
  --card: #FFFCF7;
  --ink: #2F2A26;
  --muted: #6E6357;
  --gold: #A8794A;
  --garnet: #9E3B33;
  --line: #E6DCCA;
  --line-strong: #D8C7AC;
  --shell: 1140px;
  --display: 'Amiri', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body: 'Almarai', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 760px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.05rem); }
h3 { font-size: 1.1rem; letter-spacing: .01em; }
p { margin: 0 0 1rem; }

.eyebrow {
  display: flex; align-items: center; gap: .55rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .75rem;
}
.eyebrow::before {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px;
  border: 1px solid var(--garnet); border-radius: 50%;
}
.section { padding: 3.2rem 0; }
.section-tight { padding-top: 2.4rem; }
.section-last { padding-bottom: 3.6rem; }
.section-sub { color: var(--muted); max-width: 62ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1.1rem 0 0; max-width: 62ch; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .95);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(9px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .74rem 26px; flex-wrap: wrap;
}
.wordmark {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 700; font-size: 1.24rem;
  letter-spacing: .015em; text-decoration: none; white-space: nowrap;
}
.wordmark::before {
  content: ""; width: 10px; height: 10px; flex: 0 0 auto;
  border: 1px solid var(--garnet); border-radius: 50%;
}
.main-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.main-nav a { text-decoration: none; font-size: .89rem; color: var(--muted); }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--gold); border-radius: 999px;
  padding: .5rem 1.1rem; font-size: .89rem; text-decoration: none;
  color: var(--ink); background: transparent;
  transition: background .18s ease, border-color .18s ease;
}
.btn::before {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto;
  border: 1px solid var(--garnet); border-radius: 50%;
}
.btn:hover { background: #F4EADA; border-color: var(--ink); }
.btn-lg { padding: .68rem 1.35rem; font-size: .95rem; }

/* hero */
.hero { padding: 2.7rem 0 3.1rem; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 3.4rem; align-items: center; }
.hero-kicker {
  font-size: .73rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem;
}
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.2rem); margin: 0 0 .8rem; }
.hero-tagline {
  font-family: var(--display); font-size: clamp(1.06rem, 1.9vw, 1.34rem);
  color: var(--muted); margin: 0 0 1.05rem;
}
.hero-intro { max-width: 47ch; margin: 0 0 1.5rem; }
.hero-photo { position: relative; margin: 0; }
.chain { position: absolute; left: -55px; top: -16px; width: 68px; height: 286px; overflow: visible; }

/* pendant frames */
.charm-frame {
  position: relative; padding: 10px; background: var(--card);
  border: 1px solid var(--line-strong);
}
.charm-frame::after {
  content: ""; position: absolute; inset: 4px; border: 1px solid var(--line);
  pointer-events: none;
}
.charm-frame img { position: relative; z-index: 1; width: 100%; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, 250px); gap: 1.15rem; }
.partner-card {
  position: relative; width: 250px; height: 150px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); background: var(--card); padding: 15px;
}
.partner-card::after {
  content: ""; position: absolute; inset: 4px; border: 1px solid var(--line);
  pointer-events: none;
}
.partner-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.partner-card:hover { border-color: var(--gold); }

/* quick profile ledger */
.ledger {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem;
}
.ledger li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.1rem;
  padding: .62rem 0; border-bottom: 1px solid var(--line);
}
.ledger .k {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.ledger .v { text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 2.7rem; align-items: start; }
.about-text p:last-child { margin-bottom: 0; }
.about-side .quote-card { margin-top: 1.2rem; }
.quote-card {
  position: relative; padding: 1.15rem 1.25rem;
  border: 1px solid var(--line-strong); background: var(--card);
}
.quote-card::before {
  content: ""; position: absolute; left: 50%; top: -7px; transform: translateX(-50%);
  width: 11px; height: 11px; background: var(--ivory);
  border: 1px solid var(--garnet); border-radius: 50%;
}
.quote-card blockquote {
  font-family: var(--display); font-size: 1.14rem; line-height: 1.5; margin: 0 0 .55rem;
}
.quote-src { margin: 0; font-size: .78rem; letter-spacing: .04em; color: var(--muted); }

/* timeline with charm drops */
.charmline { list-style: none; margin: .4rem 0 0; padding: 0; position: relative; max-width: 860px; }
.charmline::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 14px;
  width: 1px; background: var(--line-strong);
}
.charmline li {
  position: relative; display: grid; grid-template-columns: 160px 1fr;
  gap: .1rem 1.2rem; padding: 0 0 1.3rem 2rem;
}
.charmline .node {
  position: absolute; left: 0; top: .42rem; width: 11px; height: 11px;
  background: var(--ivory); border: 1px solid var(--garnet); border-radius: 50%;
}
.charmline .when {
  font-size: .8rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--gold); padding-top: .18rem;
}
.charmline .what { min-width: 0; }

/* gallery lockets */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1.4rem; }
.locket {
  position: relative; margin: 0; padding: 9px; background: var(--card);
  border: 1px solid var(--line-strong);
}
.locket::before {
  content: ""; position: absolute; left: 50%; top: -9px; transform: translateX(-50%);
  width: 13px; height: 13px; background: var(--ivory);
  border: 1px solid var(--gold); border-radius: 50%;
}
.locket::after {
  content: ""; position: absolute; inset: 4px; border: 1px solid var(--line);
  pointer-events: none;
}
.locket img { width: 100%; }
.g2 { margin-top: 40px; }
.g3 { margin-top: 14px; }

/* social */
.social-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.6rem; }
.social-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .82rem .1rem; border-bottom: 1px solid var(--line); text-decoration: none;
}
.social-row:first-child, .social-row:nth-child(2) { border-top: 1px solid var(--line-strong); }
.social-row .platform { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.social-row .platform::before {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto;
  border: 1px solid var(--garnet); border-radius: 50%;
}
.social-row .handle { color: var(--muted); font-size: .85rem; text-align: right; }
.social-row:hover .handle { color: var(--gold); }

/* footer */
.site-footer { margin-top: 2.4rem; }
.footer-chain { width: 100%; padding: 0 26px; }
.footer-chain svg { display: block; width: 100%; height: 46px; overflow: visible; }
.footer-grid {
  display: grid; grid-template-columns: 1.1fr auto 1fr; gap: 1rem 2rem;
  align-items: center; padding: 1.5rem 26px 2.1rem;
  border-top: 1px solid var(--line-strong);
}
.footer-brand .brand-name { font-family: var(--display); font-size: 1.06rem; display: block; }
.footer-brand .brand-line { display: block; font-size: .83rem; color: var(--muted); }
.language-nav { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.language-nav a { font-size: .84rem; color: var(--muted); text-decoration: none; }
.language-nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--gold); }
.footer-legal { margin: 0; text-align: right; font-size: .84rem; color: var(--muted); }

/* sub pages */
.page-top { padding: 2.8rem 0 1.4rem; }
.page-top .lead { color: var(--muted); max-width: 66ch; font-size: 1.03rem; margin: 0; }
.formula-note { color: var(--muted); font-size: .9rem; margin: 1.2rem 0 1.4rem; }
.reading { max-width: 780px; margin: 0 auto 0 0; padding-bottom: 2.4rem; }
.story { margin: 0 0 2.3rem; }
.story h2 { padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.dot-list { list-style: none; margin: .2rem 0 0; padding: 0; }
.dot-list li {
  position: relative; padding: .34rem 0 .34rem 1.5rem;
}
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: .92rem; width: 7px; height: 7px;
  border: 1px solid var(--garnet); border-radius: 50%;
}
.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2.6rem; margin-top: .6rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { padding: .42rem 0; border-bottom: 1px solid var(--line); }
.credit-col h3 { color: var(--gold); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--body); font-weight: 700; }
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: .8rem;
}
.stat {
  border: 1px solid var(--line-strong); background: var(--card);
  padding: .95rem 1rem; position: relative;
}
.stat::before {
  content: ""; position: absolute; left: 50%; top: -7px; transform: translateX(-50%);
  width: 11px; height: 11px; background: var(--ivory);
  border: 1px solid var(--garnet); border-radius: 50%;
}
.stat b { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--muted); }

/* faq */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; gap: .9rem; align-items: baseline;
  padding: 1.05rem .2rem; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-top: .34rem;
  border: 1px solid var(--gold); border-radius: 50%;
}
.faq-list details[open] summary::before { border-color: var(--garnet); }
.faq-list .answer { padding: 0 0 1.15rem 1.7rem; color: var(--ink); }
.faq-list .answer p { margin: 0; max-width: 74ch; }

/* responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero-photo { max-width: 560px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-side { max-width: 560px; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 250px)); }
  .credit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ledger { grid-template-columns: 1fr; column-gap: 0; }
  .social-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 2.4rem; }
  .g2, .g3 { margin-top: 0; }
  .hero-photo { margin-left: 34px; }
  .chain { left: -40px; top: -12px; width: 52px; height: 214px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .charmline li { grid-template-columns: 1fr; gap: 0; padding-bottom: 1.2rem; }
  .charmline .when { padding-top: 0; }
}
@media (max-width: 560px) {
  .shell { padding: 0 18px; }
  .header-inner { padding: .68rem 18px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 172px)); }
  .partner-card { width: 172px; height: 118px; padding: 11px; }
  .footer-chain { padding: 0 18px; }
  .footer-grid { padding: 1.4rem 18px 1.9rem; }
  .stat-strip { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* contrast fix: WCAG AA text color for nav CTA button */
.main-nav a.btn { color: var(--ink); }
.main-nav a.btn:hover { color: var(--ink); }
