/* cherrycandleweb.com · Coral */
:root {
  --bg: #fbf6f1;
  --panel: #f6ede5;
  --panel-2: #f1e4d9;
  --ink: #332c28;
  --soft: #574e47;
  --muted: #6b625a;
  --coral: #c25444;
  --coral-deep: #a8433a;
  --coral-dark: #8f372e;
  --teal: #5d8a8a;
  --teal-deep: #466c6c;
  --line: #e6d8cb;
  --radius: 6px;
  --shell: 1140px;
  --display: 'Niconne', 'Podkova', Georgia, serif;
  --body: 'Podkova', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--coral-deep); }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
h1, h2, h3 { color: var(--ink); }
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.05rem, 4.4vw, 2.9rem);
  line-height: 1.06;
  margin: 0 0 .6rem;
}
.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0 0 .55rem;
}
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 241, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; padding: .72rem 26px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.72rem; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a { color: var(--soft); text-decoration: none; font-size: .92rem; padding: .1rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--coral-deep); border-bottom-color: var(--coral); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--coral-deep);
  color: #fffdfa;
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  border: 0;
  border-radius: 999px;
  padding: .68rem 1.35rem;
  text-decoration: none;
  transition: background .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--coral-dark); box-shadow: 0 6px 20px rgba(143, 55, 46, .22); }
.btn-sm { padding: .4rem 1rem; font-size: .84rem; }
.main-nav a.btn { color: #fffdfa; border-bottom: 0; }
.main-nav a.btn:hover { color: #ffffff; background: var(--coral-dark); border-bottom: 0; }

/* hero */
.hero { padding: 1.9rem 0 1.5rem; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.4rem; align-items: center; }
.hero-figure {
  position: relative;
  margin: 0;
  padding: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 638px;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
}
.hero-figure .coral-chip {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--coral);
}
.hero-figure .coral-glyph { width: 22px; height: 24px; display: block; }
.hero-figure .coral-mark { position: absolute; top: auto; left: auto; bottom: -9px; right: -9px; width: 46px; height: 50px; color: var(--coral); transform: rotate(180deg); }
.hero-copy .hero-kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 .5rem; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 7.6vw, 5.4rem); line-height: 1; margin: 0 0 .5rem; }
.hero-tagline { font-size: 1.16rem; line-height: 1.45; color: var(--ink); margin: 0 0 .85rem; max-width: 34ch; }
.hero-intro { color: var(--muted); margin: 0 0 1.5rem; max-width: 56ch; }

/* sections */
.section { padding: 2.7rem 0; }
.section-tight { padding-top: 1.2rem; }
.section-last { padding-bottom: 3.8rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 15px; }
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-card:hover { border-color: var(--coral); box-shadow: 0 8px 22px rgba(168, 67, 58, .16); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.6rem; margin: 0; }
.spec-row { display: flex; align-items: baseline; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); white-space: nowrap; }
.spec dd { margin: 0 0 0 auto; color: var(--ink); text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.3rem; align-items: start; }
.about-text p { margin: 0 0 1rem; }
.press {
  display: grid;
  grid-template-columns: 229px 1fr;
  gap: 1.1rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
}
.press-plate { margin: 0; }
.press-plate img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 3px; background: #fffdfa; }
.press blockquote { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.quote-src { margin: .5rem 0 0; font-size: .8rem; color: var(--muted); }

/* reef cards */
.reef { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.reef li {
  position: relative;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.2rem 1.15rem;
}
.reef .twig-chip {
  position: absolute;
  top: -23px;
  left: 1.1rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--coral);
}
.reef .coral-twig { width: 24px; height: 26px; }
.reef h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: .2rem 0 .35rem; }
.reef p { margin: 0; font-size: .95rem; color: var(--muted); }

/* career + timeline bar */
.career-text { max-width: 82ch; }
.career-text p { margin: 0 0 1rem; }
.tl-bar { position: relative; list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.3rem; }
.tl-bar::before { content: ""; position: absolute; top: 5px; left: 4px; right: 4px; height: 2px; background: var(--line); }
.tl-bar li { position: relative; padding: 1.85rem 0 0; }
.tl-bar li::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--coral); }
.tl-bar .when { display: block; font-size: .86rem; font-weight: 600; color: var(--coral-deep); }
.tl-bar .what { display: block; margin-top: .28rem; font-size: .93rem; color: var(--soft); }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.gallery figure { margin: 0; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 3px; }

/* social */
.social-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.3rem; }
.social-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.05rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.social-row .platform { color: var(--ink); font-weight: 600; }
.social-row .handle { color: var(--muted); font-size: .88rem; text-align: right; }
.social-row:hover { border-color: var(--coral); background: var(--panel-2); }
.social-row:hover .platform { color: var(--coral-deep); }

/* subpages */
.page-top { padding: 2.4rem 0 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.7rem, 5.6vw, 3.8rem); line-height: 1.02; margin: .3rem 0 .6rem; }
.page-top .lead { color: var(--muted); max-width: 72ch; margin: 0; }
.reading { max-width: 72ch; }
.story { margin: 0 0 2.3rem; }
.story h2 { font-size: clamp(1.7rem, 3.4vw, 2.15rem); margin: 0 0 .7rem; }
.story p { margin: 0 0 1rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 178px 1fr; gap: 1.3rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.timeline .when { color: var(--coral-deep); font-size: .9rem; }
.timeline .what { color: var(--soft); }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { position: relative; padding: .6rem 0 .6rem 1.25rem; border-bottom: 1px dashed var(--line); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; margin-top: 1rem; }
.credit-col { min-width: 0; }
.credit-col h3 { font-family: var(--body); font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--coral-deep); margin: 0 0 .45rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { font-size: .93rem; padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.stat-strip { display: flex; flex-wrap: wrap; gap: .9rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1.15rem; min-width: 150px; }
.stat b { display: block; font-size: 1.25rem; color: var(--coral-deep); }
.stat span { font-size: .85rem; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.4; 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(--coral); }
.faq-list details[open] summary::after { content: "·"; color: var(--teal); }
.faq-list .answer p { margin: .7rem 0 0; color: var(--soft); max-width: 74ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); padding: 1.9rem 0 2.1rem; }
.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); font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; }
.language-nav a { color: var(--soft); text-decoration: none; font-size: .87rem; }
.language-nav a:hover { color: var(--coral-deep); }
.language-nav a[aria-current="page"] { color: var(--coral-deep); font-weight: 600; }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; }
.notfound h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4rem); margin: .1rem 0 .7rem; }
.notfound .lead { color: var(--muted); max-width: 56ch; margin: 0 0 1.6rem; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-figure img { max-height: none; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .tl-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-bar::before { display: none; }
  .tl-bar li { padding-top: 0; }
  .tl-bar li::before { position: static; display: inline-block; margin-right: .5rem; vertical-align: middle; }
  .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: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .45rem 1rem; }
  .wordmark { font-size: 1.45rem; }
  .main-nav { gap: .6rem .85rem; }
  .main-nav a { font-size: .86rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 118px; }
  .partner-card img { max-width: 132px; max-height: 50px; }
  .spec { grid-template-columns: 1fr; gap: 0; }
  .spec-row { flex-wrap: wrap; gap: .2rem .8rem; }
  .spec dd { margin-left: 0; text-align: left; }
  .press { grid-template-columns: 1fr; }
  .press-plate { max-width: 229px; }
  .reef { grid-template-columns: 1fr; gap: 1.9rem; }
  .gallery { grid-template-columns: 1fr; }
  .social-list { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: .15rem; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.2rem 0; }
}
