/* calisweetsweb.com · Confection */
:root {
  --cream: #FDFAF6;
  --card: #FFFFFF;
  --ink: #3A3335;
  --soft: #5D5254;
  --muted: #8E8183;
  --mint: #A8D8C8;
  --pink: #F2B8C6;
  --mint-ink: #43806E;
  --pink-ink: #C05F79;
  --line: rgba(58, 51, 53, .14);
  --line-soft: rgba(58, 51, 53, .08);
  --radius: 24px;
  --shell: 1140px;
  --display: 'Milonga', Georgia, serif;
  --body: 'Bai Jamjuree', 'Trebuchet MS', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--cream); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.55rem, 3.4vw, 2.15rem);
     line-height: 1.14; margin: 0 0 .7rem; }
.eyebrow { display: flex; align-items: center; gap: .5rem; font-size: .74rem; letter-spacing: .2em;
           text-transform: uppercase; color: var(--pink-ink); font-weight: 600; margin: 0 0 .7rem; }
.eyebrow .num { font-family: var(--display); font-size: .95rem; letter-spacing: .08em; color: var(--mint-ink); }
.eyebrow-plain { justify-content: center; }
.eyebrow-plain .dot, .capsule .dot { position: static; width: 8px; height: 8px; border-radius: 50%;
                                     background: var(--mint); flex: 0 0 auto; }
.section-sub { color: var(--muted); max-width: 62ch; margin: 0 0 1.7rem; }
.note { color: var(--muted); font-size: .88rem; margin: 1.1rem 0 0; }

/* candy band */
.candy-band { height: 14px; background-image: repeating-linear-gradient(45deg,
              #A8D8C8 0 6px, #F2B8C6 6px 12px); opacity: .9; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 250, 246, .93);
               border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.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.16rem; text-decoration: none;
            color: var(--ink); white-space: nowrap; }
.wordmark::first-letter { color: var(--pink-ink); }
.main-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.main-nav a:not(.btn) { color: var(--soft); text-decoration: none; font-size: .88rem; font-weight: 600;
              position: relative; padding: .1rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
                     border-radius: 2px; background: var(--pink); transition: width .2s ease; }
.main-nav a:not(.btn):hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.main-nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.main-nav a:not(.btn)[aria-current="page"]::after { width: 100%; background: var(--mint); }
.btn { display: inline-flex; align-items: center; background: var(--pink); color: #40272F;
       font-family: var(--body); font-weight: 600; font-size: .92rem;
       border-radius: 999px; padding: .68rem 1.3rem; text-decoration: none;
       border: 1px solid rgba(64, 39, 47, .08);
       transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn:hover { background: var(--mint); color: #24413A; transform: translateY(-1px);
             box-shadow: 0 10px 26px rgba(58, 51, 53, .14); }
.btn-sm { padding: .4rem .95rem; font-size: .82rem; }

/* hero */
.hero { padding: 0 0 2.2rem; }
.hero-inner { padding-top: 2.4rem; text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .74rem;
               letter-spacing: .22em; text-transform: uppercase; color: var(--mint-ink);
               font-weight: 600; margin: 0 0 .35rem; }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0 0 .75rem;
              font-size: clamp(2.6rem, 7vw, 4.3rem); line-height: 1.02; letter-spacing: .01em; }
.hero-tagline { font-weight: 600; font-size: clamp(1.02rem, 2vw, 1.26rem); line-height: 1.45;
                margin: 0 auto .55rem; max-width: 34ch; }
.hero-intro { color: var(--soft); max-width: 58ch; margin: 0 auto 1.35rem; font-size: .98rem; }
.hero-cta { margin: 0 0 2rem; }
.hero-card { position: relative; width: min(422px, 80vw); margin: 0 auto; }
.hero-card .frame { background: var(--card); border: 1px solid var(--line); border-radius: 30px;
                    padding: 12px; box-shadow: 0 22px 55px rgba(58, 51, 53, .13); }
.hero-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
                 object-position: center 16%; border-radius: 20px; }
.dot { position: absolute; border-radius: 50%; }
.dot-a { width: 20px; height: 20px; background: var(--mint); top: -9px; left: -12px; }
.dot-b { width: 12px; height: 12px; background: var(--pink); top: 26px; right: -17px; }
.dot-c { width: 16px; height: 16px; background: var(--pink); bottom: -7px; right: 34px; }

/* sections */
.section { padding: 2.9rem 0; }
.section-tight { padding-top: 1.1rem; }
.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: var(--card);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--pink); box-shadow: 0 14px 34px rgba(242, 184, 198, .38);
                      transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
             list-style: none; margin: 0; padding: 0; }
.fact-card { display: flex; flex-direction: column; gap: .3rem; border: 1px solid var(--line);
             border-radius: 20px; background: var(--card); padding: .95rem 1.15rem;
             transition: border-color .2s ease, transform .2s ease; }
.fact-card:hover { border-color: var(--mint); transform: translateY(-2px); }
.fact-card .k { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
                color: var(--mint-ink); font-weight: 600; }
.fact-card .v { font-size: .95rem; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.5fr .95fr; gap: 2.4rem; align-items: start; }
.about-cols p { margin: 0 0 1rem; color: var(--soft); }
.float-card { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 26px;
              background: var(--card); box-shadow: 0 20px 48px rgba(58, 51, 53, .1);
              transform: translateY(16px); }
.float-card img { display: block; width: 100%; height: auto; border-radius: 17px; aspect-ratio: 4 / 5;
                  object-fit: cover; object-position: center 18%; }
.float-quote { font-family: var(--display); font-size: 1.06rem; line-height: 1.4; margin: .95rem .2rem 0; }
.float-src { color: var(--muted); font-size: .78rem; margin: .35rem .2rem 0; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 2px dotted var(--mint); }
.timeline li { position: relative; padding: 0 0 1.35rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.4rem; top: .5em; width: 11px; height: 11px;
                       margin-left: -6px; border-radius: 50%; background: var(--pink);
                       border: 2px solid var(--cream); box-shadow: 0 0 0 1px var(--line); }
.timeline li:nth-child(even)::before { background: var(--mint); }
.timeline .when { display: block; font-family: var(--display); font-size: .88rem;
                  color: var(--pink-ink); margin-bottom: .15rem; }
.timeline .what { display: block; color: var(--soft); font-size: .96rem; }
.career-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.4rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.04fr .96fr; gap: 20px; }
.gallery figure { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 26px;
                  background: var(--card); }
.gallery img { display: block; width: 100%; height: auto; border-radius: 17px; }
.g-a { grid-area: 1 / 1 / 2 / 2; margin-top: 46px; }
.g-a img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.g-b { grid-area: 1 / 2 / 3 / 3; display: grid; }
.g-b img { height: 100%; object-fit: cover; object-position: center 22%; }
.g-c { grid-area: 2 / 1 / 3 / 2; }
.g-c img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 14%; }

/* social */
.capsule-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.capsule { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid var(--line);
           border-radius: 999px; background: var(--card); padding: .58rem 1.15rem;
           text-decoration: none; transition: border-color .2s ease, transform .2s ease,
           box-shadow .2s ease; }
.capsule:nth-child(even) .dot { background: var(--pink); }
.capsule .platform { font-weight: 600; font-size: .92rem; }
.capsule .handle { color: var(--muted); font-size: .88rem; }
.capsule:hover { border-color: var(--mint); transform: translateY(-2px);
                 box-shadow: 0 12px 28px rgba(168, 216, 200, .42); }

/* subpages */
.page-top { padding: 2.4rem 0 1.5rem; text-align: center; }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem);
               line-height: 1.05; margin: .1rem 0 .8rem; }
.page-top .lead { color: var(--soft); max-width: 60ch; margin: 0 auto; }
.reading { max-width: 68ch; margin: 0 auto; }
.story { margin: 0 0 2.5rem; }
.story h2 { font-size: clamp(1.3rem, 2.7vw, 1.65rem); margin: 0 0 .8rem; }
.story h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .55rem;
                   border-radius: 3px; background: var(--mint); }
.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.35rem; position: relative;
               border-bottom: 1px dashed var(--line-soft); }
.dot-list li::before { content: ""; position: absolute; left: .1rem; top: 1.2em; width: 8px; height: 8px;
                       border-radius: 50%; background: var(--pink); }
.dot-list li:nth-child(even)::before { background: var(--mint); }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; margin-top: 1.2rem; }
.credit-col h3 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
                 color: var(--pink-ink); margin: 0 0 .5rem; font-weight: 600; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .92rem; padding: .3rem 0;
                 border-bottom: 1px dashed var(--line-soft); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px solid var(--line); border-radius: 20px; background: var(--card);
        padding: .85rem 1.2rem; min-width: 146px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem;
          color: var(--mint-ink); }
.stat span { color: var(--muted); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary { font-weight: 600; font-size: 1.02rem; 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(--pink-ink); font-family: var(--display);
                           transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--mint-ink); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 70ch; }

/* footer */
.site-footer { position: relative; margin-top: 3rem; background: #FBF5EE;
               border-top: 1px solid var(--line); }
.site-footer::before { content: ""; display: block; height: 12px; opacity: .9;
                       background-image: repeating-linear-gradient(45deg,
                       #A8D8C8 0 6px, #F2B8C6 6px 12px); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.2rem;
               align-items: center; padding-top: 1.9rem; padding-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.02rem; }
.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(--muted); text-decoration: none; font-size: .87rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--pink-ink); }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; text-align: center; }
.notfound h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.4rem);
               margin: .3rem 0 .9rem; }
.notfound .lead { color: var(--soft); max-width: 54ch; margin: 0 auto 1.6rem; }

@media (max-width: 1020px) {
  .hero-inner { padding-top: 2rem; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.7rem; }
  .float-card { transform: none; max-width: 430px; }
  .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: .5rem .9rem; }
  .main-nav { gap: .55rem .85rem; }
  .main-nav a:not(.btn) { font-size: .83rem; padding: .32rem 0; }
  .hero-inner { padding-top: 1.6rem; }
  .hero-kicker { letter-spacing: .14em; font-size: .68rem; }
  .hero-intro { font-size: .94rem; }
  .hero-card { width: min(360px, 82vw); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 118px; border-radius: 15px; }
  .partner-card img { max-width: 130px; max-height: 50px; }
  .fact-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .g-a, .g-b, .g-c { grid-area: auto; margin-top: 0; }
  .g-b { display: block; }
  .g-b img { height: auto; aspect-ratio: 4 / 5; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.2rem 0; }
  .capsule { padding: .5rem .95rem; }
}
