/* 펭찍 site — Mailchimp's web system (SUITE in place of Means/Graphik, peppercorn ink, pill CTAs with a
   lifting depth edge, 4-64 spacing scale) carried over with 펭찍's own yellow. */

:root {
  --ink: #231e15;
  --ink-65: rgba(35, 30, 21, .65);
  --ink-30: rgba(35, 30, 21, .3);
  --yellow: #ffd23f;
  --yellow-65: rgba(255, 210, 63, .65);
  --yellow-15: rgba(255, 210, 63, .15);
  --paper: #fff;
  --jasmine: #f5f5f5;
  --coconut: #f6f6f4;
  --dijon: #e7b75f;

  --display: "SUITE Variable", SUITE, "Apple SD Gothic Neo", sans-serif;
  --base: "SUITE Variable", SUITE, -apple-system, "Apple SD Gothic Neo", sans-serif;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  --module: var(--s7);

  --copy-info: .8125rem;
  --copy-legal: .6875rem;
  --wrap: 72rem;
  --read: 45.2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--base);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow-65); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }

a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { background: var(--yellow-65); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: var(--s4); top: -4rem; background: var(--yellow); padding: var(--s2) var(--s4); z-index: 10; }
.skip:focus { top: var(--s4); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }

/* CTA — Mailchimp ctaPrimary / ctaSecondary */
.cta {
  --depth: .375em;
  display: inline-block;
  font: 500 var(--copy-info)/1.5 var(--base);
  color: var(--ink);
  background: var(--yellow);
  padding: var(--s3) var(--s5);
  border-radius: 2em;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--ink);
  transition: transform .15s cubic-bezier(.2, .7, .3, 1), box-shadow .15s cubic-bezier(.2, .7, .3, 1);
}
.cta:hover { background: var(--yellow); box-shadow: 0 0 0 1px var(--ink), 0 var(--depth) 0 0 var(--ink); transform: translateY(calc(-1 * var(--depth))); }
.cta:active { box-shadow: 0 0 0 1px var(--ink), 0 .2em 0 0 var(--ink); transform: translateY(-.1em); }
.cta--ghost { background: transparent; }
.cta--ghost:hover { background: var(--paper); }
.cta--ink { background: var(--ink); color: var(--yellow); }
.cta--ink:hover { background: var(--ink); --depth: .375em; box-shadow: 0 0 0 1px var(--ink), 0 var(--depth) 0 0 rgba(35, 30, 21, .35); }
@media (prefers-reduced-motion: reduce) { .cta { transition: none; } }

/* Header */
.top { background: var(--paper); position: sticky; top: 0; z-index: 5; box-shadow: 0 1px 0 var(--ink-30); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 4.5rem; }
.mark { display: inline-flex; align-items: center; gap: var(--s2); font: 900 1.5rem/1 var(--base); letter-spacing: -.03em; text-decoration: none; }
.mark:hover { background: none; }
.mark img { width: 2.25rem; height: 2.25rem; }
.top nav { display: flex; align-items: center; gap: var(--s5); }
.top nav a:not(.cta) { font-size: var(--copy-info); text-decoration: none; }
.top nav a:not(.cta):hover { text-decoration: underline; }
@media (max-width: 40rem) {
  .top nav .hide-sm { display: none; }
  .top nav { gap: var(--s4); }
}

/* Home hero — drenched yellow */
.hero { background: var(--yellow); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: var(--s6); padding-top: var(--s8); padding-bottom: var(--s8); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.12; letter-spacing: -.025em; }
.hero p { font-size: 1.25rem; line-height: 1.6; margin-top: var(--s5); max-width: 30rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s6); }
.hero figure { margin: 0; justify-self: center; position: relative; }
.hero figure img { width: min(26rem, 100%); filter: drop-shadow(0 1.5rem 1.25rem rgba(35, 30, 21, .18)); }
.hero figcaption { font: 500 var(--copy-info)/1.25 var(--base); text-align: center; margin-top: var(--s3); color: var(--ink-65); }
@media (max-width: 48rem) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: var(--s7); padding-bottom: var(--s7); }
  .hero figure { order: -1; }
  .hero figure img { width: 11rem; }
}

/* Modules */
.module { padding: 6rem 0; }
.module--coconut { background: var(--coconut); }
.module h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.17; letter-spacing: -.02em; max-width: 40rem; }
.module .lede { font-size: 1.125rem; line-height: 1.6; margin-top: var(--s5); max-width: 38rem; }


.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
@media (max-width: 48rem) { .split { grid-template-columns: 1fr; gap: var(--s6); } }

.module .actions { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s4); }

/* Legal — Mailchimp p23TextHero + jumpLinkNav */
.legal-hero { background: var(--jasmine); text-align: center; padding: var(--s8) 0; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -.025em; }
.legal-hero p { margin-top: var(--s4); color: var(--ink-65); font-size: var(--copy-info); font-weight: 500; }
.legal-hero .cta { margin-top: var(--s5); }

.doc { max-width: var(--read); margin: 0 auto; padding: var(--s7) var(--s5) var(--s8); }
.toc { margin-top: var(--s6); border-top: 1px solid var(--ink-30); border-bottom: 1px solid var(--ink-30); margin-bottom: var(--s7); }
.toc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: var(--s4) 0; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { transition: transform .2s cubic-bezier(.2, .7, .3, 1); }
.toc[open] summary svg { transform: rotate(180deg); }
.toc ol { margin: 0; padding: 0 0 var(--s5) 1.25rem; columns: 2; column-gap: var(--s6); }
.toc li { padding: var(--s1) 0; break-inside: avoid; font-size: .9375rem; }
@media (max-width: 40rem) { .toc ol { columns: 1; } }

.doc h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.3; letter-spacing: -.016em; margin: var(--s8) 0 0; }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 1.25rem; line-height: 1.3; margin-top: var(--s6); }
.doc p, .doc ul, .doc table { margin-top: 1.875rem; line-height: 1.5; }
.doc h2 + p, .doc h3 + p, .doc h3 + ul { margin-top: var(--s4); }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: var(--s2); }
.doc table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: var(--s3) var(--s3) var(--s3) 0; border-top: 1px solid var(--ink-30); }
.doc th { font-weight: 600; width: 34%; }
.doc tr:last-child th, .doc tr:last-child td { border-bottom: 1px solid var(--ink-30); }
.doc code { font: 500 .8125rem/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--yellow-15); padding: .1em .35em; border-radius: 3px; white-space: nowrap; }

/* Footer — Mailchimp storefront footer on dijon */
.foot { background: var(--dijon); padding: var(--s8) 0 var(--s6); }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: var(--s6) var(--s7); align-items: end; }
.foot .big { font: 900 clamp(4rem, 13vw, 9rem)/.85 var(--base); letter-spacing: -.05em; margin: 0; display: flex; align-items: flex-end; gap: var(--s3); }
.foot .big img { width: clamp(4rem, 11vw, 7.5rem); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: var(--copy-info); }
.foot ul a:hover { background: var(--paper); }
.foot small { grid-column: 1 / -1; font-size: var(--copy-legal); line-height: 1.45; border-top: 1px solid var(--ink-30); padding-top: var(--s4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); }
@media (max-width: 40rem) { .foot .wrap { grid-template-columns: 1fr; } }

.lede code { font: 500 .875rem/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--yellow-15); padding: .1em .35em; border-radius: 3px; }

/* Legal tables stack on phones */
@media (max-width: 40rem) {
  .doc thead { display: none; }
  .doc tr { display: block; padding: var(--s3) 0; border-top: 1px solid var(--ink-30); }
  .doc th, .doc td { display: block; width: auto; border: 0; padding: var(--s1) 0; }
  .doc tr:last-child { border-bottom: 1px solid var(--ink-30); }
  .doc tr:last-child th, .doc tr:last-child td { border-bottom: 0; }
}


/* Latest shorts — real covers, 9:16 */
.covers { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.covers a { display: block; text-decoration: none; font-weight: 500; }
.covers a:hover { background: none; }
.covers img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: .75rem; background: var(--jasmine); box-shadow: 0 0 0 1px var(--ink-30); transition: transform .2s cubic-bezier(.2, .7, .3, 1), box-shadow .2s cubic-bezier(.2, .7, .3, 1); }
.covers a:hover img { transform: translateY(-.375rem); box-shadow: 0 0 0 1px var(--ink), 0 .375rem 0 0 var(--ink); }
@media (max-width: 48rem) { .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); } }
@media (prefers-reduced-motion: reduce) { .covers img { transition: none; } }

.module h2.statement { max-width: 46rem; }
.module--slim { padding: var(--s8) 0; }
.module--slim h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lede.contact { font-size: var(--copy-info); font-weight: 500; margin-top: var(--s4); }
