/* caramellweb.com · Thermal: travertine paper, terracotta lines and dots */
:root {
  --paper: #FBF8F1;
  --card: #FFFDF8;
  --ink: #33281F;
  --grey: #776E62;
  --clay: #B05A38;
  --clay-deep: #96482B;
  --line: #E6DCCB;
  --line-soft: #EFE7D8;
  --shell: 1120px;
  --display: 'Eczar', Georgia, 'Times New Roman', serif;
  --body: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--grey);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
  -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; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 .7rem; }
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 .6rem;
}
.eyebrow::after { content: ""; height: 1px; width: 46px; background: var(--line); flex: none; }
.eyebrow .num { font-family: var(--display); font-size: .95rem; letter-spacing: .08em; color: var(--clay); }
.section-sub { color: var(--grey); max-width: 64ch; margin: 0 0 1.6rem; }
.note { color: var(--grey); font-size: .88rem; margin: 1rem 0 0; }
.steam { color: var(--clay); display: block; }
.steam-wrap { margin: 0 0 1.1rem; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 241, .93);
  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: .85rem 26px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
            font-family: var(--display); font-weight: 600; font-size: 1.16rem; color: var(--ink); }
.wordmark i { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); display: inline-block; }
.main-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.main-nav a { position: relative; color: var(--ink); font-size: .9rem; text-decoration: none; padding: .15rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
                     background: var(--clay); transition: right .22s ease; }
.main-nav a:hover { color: var(--clay-deep); }
.main-nav a:hover::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--clay-deep); }
.main-nav a[aria-current="page"]::after { right: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 500; font-size: .92rem; letter-spacing: .02em;
  color: var(--ink); background: transparent;
  border: 1px solid var(--clay); border-radius: 999px;
  padding: .66rem 1.5rem; text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #FFFDF8; }
.btn-sm { padding: .44rem 1.05rem; font-size: .84rem; }
.btn-lg { padding: .82rem 1.9rem; font-size: .98rem; }
.main-nav a.btn { color: var(--ink); }
.main-nav a.btn::after { display: none; }
.main-nav a.btn:hover { color: #FFFDF8; background: var(--clay-deep); border-color: var(--clay-deep); }

/* hero */
.hero { padding: 2.3rem 0 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 3.2rem; align-items: center; }
.hero-kicker { font-size: .76rem; letter-spacing: .19em; text-transform: uppercase;
               color: var(--grey); margin: 0 0 .8rem; }
.hero-title { font-size: clamp(2.9rem, 6.2vw, 4.4rem); line-height: 1.02; margin: 0 0 1rem; }
.hero-tagline { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.45;
                color: var(--ink); margin: 0 0 .85rem; max-width: 34ch; }
.hero-intro { color: var(--grey); max-width: 50ch; margin: 0 0 1.6rem; }
.hero-photo { margin: 0; padding: 9px; border: 1px solid var(--line); border-radius: 28px;
              background: var(--card); box-shadow: 0 34px 70px -44px rgba(51, 40, 31, .55); }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: 19px;
                  border: 1px solid rgba(176, 90, 56, .42);
                  aspect-ratio: 4 / 5; object-fit: cover; object-position: center 16%; }

/* sections */
.section { padding: 2.9rem 0; }
.section-partners { padding-top: 1.3rem; padding-bottom: 2.4rem; }
.section-last { padding-bottom: 4rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, 250px); gap: 18px; justify-content: center; }
.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(--clay); box-shadow: 0 18px 34px -24px rgba(51, 40, 31, .55);
                      transform: translateY(-2px); }
.partner-card img { max-width: 186px; max-height: 64px; width: auto; height: auto; object-fit: contain; }

/* quick profile: two columns of hairlines */
.profile { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.2rem; margin: 0; }
.profile-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
               padding: .6rem 0; border-bottom: 1px solid var(--line-soft); }
.profile dt { font-size: .72rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
              color: var(--ink); }
.profile dd { margin: 0; color: var(--grey); font-size: .95rem; text-align: right; }

/* about: text left, photo right */
.about-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 3rem; align-items: start; }
.about-text p { color: var(--grey); margin: 0 0 1rem; }
.about-photo { margin: 0; padding: 9px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.about-photo img { display: block; width: 100%; height: auto; border-radius: 16px;
                   border: 1px solid rgba(176, 90, 56, .3);
                   aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.quote { margin: 1.3rem 0 0; padding: .2rem 0 .2rem 1.1rem; border-left: 2px solid var(--clay); }
.quote p { font-family: var(--display); font-size: 1.08rem; line-height: 1.45; color: var(--ink); margin: 0 0 .35rem; }
.quote cite { font-style: normal; font-size: .82rem; color: var(--grey); }

/* career: ripple nodes */
.career-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: start; }
.career-text p { color: var(--grey); margin: 0 0 1rem; }
.ripple { list-style: none; margin: 0; padding: 0; }
.ripple li { position: relative; padding: 0 0 1.55rem 2.1rem; }
.ripple li:last-child { padding-bottom: 0; }
.ripple li::before { content: ""; position: absolute; left: 0; top: .46em; width: 11px; height: 11px;
                     border-radius: 50%; border: 1px solid var(--clay); background: var(--card);
                     box-shadow: 0 0 0 4px rgba(176, 90, 56, .14), 0 0 0 8px rgba(176, 90, 56, .06); }
.ripple li::after { content: ""; position: absolute; left: 5px; top: 1.6em; bottom: .1em; width: 1px;
                    background: var(--line); }
.ripple li:last-child::after { display: none; }
.ripple .when { display: block; font-family: var(--display); font-weight: 600; font-size: .93rem;
                color: var(--clay-deep); margin-bottom: .12rem; }
.ripple .what { display: block; font-size: .97rem; color: var(--grey); }

/* gallery: three staggered frames */
.gallery { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: start; }
.gallery figure { margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 20px;
                  background: var(--card); }
.gallery img { display: block; width: 100%; height: auto; border-radius: 13px; }
.gallery .g-1 { margin-top: 0; }
.gallery .g-2 { margin-top: 54px; }
.gallery .g-3 { margin-top: 24px; }
.g-1 img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.g-2 img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 34%; }
.g-3 img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }

/* social: thin-line capsules */
.capsules { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.capsule { display: inline-flex; align-items: baseline; gap: .7rem; padding: .7rem 1.35rem;
           border: 1px solid var(--line); border-radius: 999px; background: var(--card);
           text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.capsule .platform { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.capsule .handle { font-size: .9rem; color: var(--grey); }
.capsule:hover { border-color: var(--clay); box-shadow: 0 16px 30px -24px rgba(51, 40, 31, .6);
                 transform: translateY(-1px); }
.capsule:hover .platform { color: var(--clay-deep); }

/* subpages */
.page-top { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.4rem; }
.page-top h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); line-height: 1.06; margin: .2rem 0 .8rem; }
.page-top .lead { color: var(--grey); max-width: 64ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.3rem, 2.6vw, 1.62rem); margin: 0 0 .8rem; }
.story p { color: var(--grey); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { position: relative; padding: .55rem 0 .55rem 1.15rem; color: var(--grey);
               border-bottom: 1px dashed var(--line); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 6px; height: 6px;
                       border-radius: 50%; background: var(--clay); }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.6rem; margin-top: .5rem; }
.credit-col h3 { font-family: var(--body); font-weight: 500; font-size: .74rem; letter-spacing: .15em;
                 text-transform: uppercase; color: var(--clay-deep); margin: 0 0 .45rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { font-size: .93rem; color: var(--grey); padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.stat { border: 1px solid var(--line); border-radius: 16px; background: var(--card);
        padding: .85rem 1.2rem; min-width: 152px; }
.stat b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--clay-deep); }
.stat span { font-size: .84rem; color: var(--grey); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer;
                    list-style: none; font-family: var(--display); font-weight: 600; font-size: 1.07rem;
                    line-height: 1.4; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--clay); }
.faq-list details[open] summary::after { content: "·"; color: var(--clay-deep); }
.faq-list .answer p { color: var(--grey); margin: .7rem 0 0; max-width: 74ch; }

/* footer */
.site-footer { margin-top: 1.6rem; border-top: 1px solid var(--line); background: #F7F3EA;
               padding: 2rem 0 2.4rem; }
.footer-steam { display: flex; justify-content: center; margin: 0 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1.4rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: .1rem; }
.brand-name { font-family: var(--display); font-weight: 600; color: var(--ink); }
.brand-line { color: var(--grey); font-size: .85rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .35rem .95rem; justify-content: center; }
.language-nav a { color: var(--grey); font-size: .87rem; text-decoration: none; }
.language-nav a:hover { color: var(--clay-deep); }
.language-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline;
                                        text-underline-offset: 3px; text-decoration-color: var(--clay); }
.footer-legal { margin: 0; color: var(--grey); font-size: .84rem; text-align: right; }

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

@media (max-width: 1020px) {
  .hero-grid, .about-grid, .career-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { max-width: 520px; }
  .profile { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-2 { margin-top: 0; }
  .g-3 { margin-top: 0; }
  .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; }
  .main-nav { gap: .65rem .9rem; }
  .main-nav a { font-size: .85rem; padding: .3rem 0; }
  .section { padding: 2.2rem 0; }
  .section-partners { padding-top: 1rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { width: 100%; height: 122px; }
  .partner-card img { max-width: 140px; max-height: 54px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-1, .gallery .g-2, .gallery .g-3 { margin-top: 0; }
  .gallery img { aspect-ratio: auto; }
  .hero-photo img { aspect-ratio: 4 / 5; }
  .capsule { padding: .6rem 1.1rem; }
  .profile-row { flex-direction: column; gap: .1rem; }
  .profile dd { text-align: left; }
}
