/* Mint Pack Studio official site.
   Brand tokens kept from Luis's approved reference design.
   Direction: Taste "The page is the object" (seed 1344682356). */

:root {
  --paper: #F8F6F0;
  --cream: #FFFDF5;
  --ink: #173D36;
  --ink-deep: #10291F;
  --sage: #67736A;
  --sage-tint: #DFE7DB;
  --line: #DCDED3;
  --gold: #BC985E;
  --gold-tint: #EFE3CB;
  --field: #F1EDE2;
  --muted: #4E5B52;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --page-pad: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-tint); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

img { display: block; max-width: 100%; }

a { color: inherit; }

.pressable { transition: transform 160ms var(--ease-out); }
.pressable:active { transform: scale(0.97); }

h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--sage); }

.section-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.section-kicker-light { color: var(--gold-tint); }

.price { font-family: var(--serif); font-size: 28px; }
.price s { color: var(--muted); font-size: 20px; margin-left: 6px; }
.price-note { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 8px; }
.price-light s { color: #B9C8BE; }
.price-light .price-note { color: #B9C8BE; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
}
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-deep); }
.btn-paper { background: var(--ink); color: var(--cream); padding: 11px 22px; font-size: 15px; }

.text-link { color: var(--gold); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Announcement */
.announce { background: var(--ink); color: var(--cream); height: 40px; position: relative; overflow: hidden; }
.announce-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0; transition: opacity 300ms var(--ease-out); padding: 0 16px; text-align: center;
}
.announce-msg.is-on { opacity: 1; }

/* Header */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--page-pad); background: var(--paper);
}
.wordmark { display: flex; align-items: center; gap: 12px; white-space: nowrap; text-decoration: none; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.wordmark img { width: 44px; height: 44px; }
.site-nav { display: flex; gap: 30px; }
.site-nav a { text-decoration: none; font-size: 15.5px; font-weight: 500; }
.site-nav a:hover { color: var(--sage); }
.head-action {
  text-decoration: none; font-weight: 700; font-size: 15.5px; color: var(--cream);
  background: var(--ink); padding: 11px 24px; border-radius: 999px;
}
.head-action:hover { background: var(--ink-deep); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(36px, 5vw, 72px) var(--page-pad) clamp(56px, 6vw, 88px);
  max-width: 1560px; margin: 0 auto;
}
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage); margin-bottom: 22px; } /* taste-skill-ignore: pinned by the approved reference design */
.hero h1 { font-size: clamp(46px, 5.6vw, 86px); margin-bottom: 24px; }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.hero-notes { margin-bottom: 36px; }
.hero-notes p { font-size: 15.5px; font-weight: 500; padding: 7px 0; }
.hero-notes span { color: var(--gold); font-weight: 700; margin-right: 12px; }
.hero-stage img { width: 100%; height: auto; border-radius: 14px; }

/* Value strip */
.value-strip { background: var(--field); overflow: hidden; padding: 15px 0; }
.strip-track { display: flex; gap: 34px; width: max-content; animation: stripmove 30s linear infinite; }
.strip-track span { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.strip-track i { color: var(--gold); font-style: normal; }
@keyframes stripmove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Collection folders */
.folders { padding: clamp(64px, 7vw, 110px) var(--page-pad) clamp(30px, 4vw, 50px); max-width: 1240px; margin: 0 auto; }
.folder { display: block; text-decoration: none; position: relative; margin-top: 34px; transition: transform 200ms var(--ease-out); }
.folder:first-child { margin-top: 0; }
.folder:hover { transform: translateY(-3px); }
.folder-tab {
  display: inline-block; font-size: 14.5px; font-weight: 700; padding: 10px 26px 12px;
  clip-path: polygon(0 100%, 0 22%, 6% 0, 88% 0, 100% 100%);
  position: relative; z-index: 1; margin-bottom: -6px;
}
.folder-body {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 28px; align-items: center;
  padding: 26px 30px 28px; border-radius: 0 12px 12px 12px;
}
.folder-body strong { font-family: var(--serif); font-size: 27px; font-weight: 600; grid-column: 1; }
.folder-note { grid-column: 1; font-size: 16px; max-width: 52ch; }
.folder-status {
  grid-column: 2; grid-row: 1 / span 2; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.folder-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.f-books .folder-tab { background: #B9C8B2; margin-left: 4%; }
.f-books .folder-body { background: var(--sage-tint); }
.f-hosting .folder-tab { background: var(--ink-deep); color: var(--cream); margin-left: 22%; }
.f-hosting .folder-body { background: var(--ink); color: var(--cream); }
.f-hosting .folder-note { color: #C9D4CB; }
.f-planners .folder-tab { background: #DCC491; margin-left: 40%; }
.f-planners .folder-body { background: var(--gold-tint); }
.f-home .folder-tab { background: #CFC3A5; margin-left: 56%; }
.f-home .folder-body { background: #EAE4D3; }
.f-gifts .folder-tab { background: #C9C6B4; margin-left: 70%; }
.f-gifts .folder-body { background: #E4E2D8; }

/* Showcase, the Mint Pack Edit */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 70px); align-items: center;
  background: var(--field); padding: clamp(64px, 7vw, 110px) var(--page-pad); margin-top: clamp(56px, 6vw, 90px);
}
.plate { padding: clamp(0px, 2vw, 40px); }
.plate img { width: 100%; height: auto; max-height: 660px; object-fit: contain; margin: 0 auto; border-radius: 6px; }
.plate-swap { animation: plateswap 240ms var(--ease-out); }
@keyframes plateswap { from { opacity: 0.25; transform: scale(0.985); } to { opacity: 1; transform: scale(1); } }
.showcase-copy { display: flex; flex-direction: column; align-items: flex-start; }
.plate-tabs { display: flex; gap: 28px; margin-bottom: 38px; flex-wrap: wrap; }
.plate-tabs button {
  background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 17.5px; font-weight: 500; color: var(--muted); padding: 6px 2px;
}
.plate-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--gold); }
.showcase h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 20px; }
.showcase-text { font-size: 17.5px; color: var(--muted); max-width: 44ch; margin-bottom: 26px; }
.showcase .price { margin-bottom: 34px; }
.plate-actions { display: flex; width: 100%; gap: 0; }
.cell {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 72px;
  text-decoration: none; font-weight: 700; font-size: 16.5px; text-align: center; padding: 12px 16px;
}
.cell-ink { background: var(--ink); color: var(--cream); }
.cell-ink:hover { background: var(--ink-deep); }
.cell-soft { background: #E3DCC8; color: var(--ink); }
.cell-soft:hover { background: #DAD2B8; }

/* Hosting spines */
.spines { background: var(--ink); color: var(--cream); padding: clamp(64px, 7vw, 110px) var(--page-pad); }
.spines-head { max-width: 1240px; margin: 0 auto 44px; }
.spines h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 16px; }
.spines h2 em { color: var(--gold-tint); }
.spines-sub { color: #C9D4CB; font-size: 17.5px; max-width: 56ch; }
.deck { display: flex; gap: 10px; max-width: 1240px; margin: 0 auto; min-height: 400px; }
.spine-card {
  display: flex; flex: 0 0 74px; border-radius: 10px; overflow: hidden; cursor: pointer;
  transition: flex 480ms var(--ease-in-out); background: #245046;
}
.spine-card:nth-child(2) { background: #2E5A4C; }
.spine-card:nth-child(3) { background: #7A8B6F; }
.spine-card:nth-child(4) { background: #8A744C; }
.spine-card:nth-child(5) { background: #3E6B5A; }
.spine-card.is-open { flex: 1 1 auto; cursor: default; }
.spine-tab {
  flex: 0 0 74px; background: none; border: 0; cursor: pointer; color: var(--cream);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 22px;
}
.spine-tab span {
  writing-mode: vertical-rl; font-size: 15.5px; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap;
}
.spine-body { padding: 30px 30px 30px 6px; min-width: 250px; opacity: 0; transition: opacity 200ms var(--ease-out); }
.spine-card.is-open .spine-body { opacity: 1; transition-delay: 160ms; }
.spine-body h3 { font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.15; margin-bottom: 12px; }
.spine-body p { color: #DCE5DC; font-size: 16px; max-width: 40ch; margin-bottom: 16px; }
.spine-body .price { margin-bottom: 18px; }
.spines-foot { max-width: 1240px; margin: 26px auto 0; font-size: 15px; color: #B9C8BE; }
.spines-foot a { color: var(--gold-tint); text-underline-offset: 4px; }

/* Formats row */
.formats { padding: clamp(64px, 7vw, 110px) 0; }
.formats-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--page-pad); max-width: 1560px; margin: 0 auto 18px;
}
.formats h2 { font-size: clamp(30px, 3.2vw, 42px); }
.row-nav { display: flex; gap: 10px; }
.row-btn {
  width: 48px; height: 48px; border: 0; background: var(--ink); color: var(--cream);
  font-size: 19px; cursor: pointer; border-radius: 6px;
}
.row-btn:hover { background: var(--ink-deep); }
.progress { height: 6px; background: #E7E2D2; margin: 0 var(--page-pad) 40px; max-width: calc(1560px - 2 * var(--page-pad)); }
@media (min-width: 1560px) { .progress { margin-left: auto; margin-right: auto; } }
.progress span { display: block; height: 100%; background: var(--ink); width: 12%; transition: width 120ms linear; }
.moment-row {
  display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--page-pad) 18px; scrollbar-width: none;
}
.moment-row::-webkit-scrollbar { display: none; }
.moment { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; }
.moment h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.moment p { font-size: 15.5px; color: var(--muted); }
.moment .price { margin-top: 14px; font-size: 24px; }
.moment .text-link { margin-top: 8px; display: inline-block; }
.moment img { width: 100%; height: 340px; object-fit: cover; border-radius: 6px; margin-top: auto; }
.moment-gap { display: block; }
.g1 { height: 84px; } .g2 { height: 44px; } .g3 { height: 116px; } .g4 { height: 26px; }

/* Studio letter */
.letter-ground { background: var(--ink-deep); padding: clamp(80px, 9vw, 150px) var(--page-pad); }
.letter {
  background: var(--cream); max-width: 680px; margin: 0 auto; padding: 58px 60px 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 97.5% 100%, 95% calc(100% - 14px), 92.5% 100%, 90% calc(100% - 14px), 87.5% 100%, 85% calc(100% - 14px), 82.5% 100%, 80% calc(100% - 14px), 77.5% 100%, 75% calc(100% - 14px), 72.5% 100%, 70% calc(100% - 14px), 67.5% 100%, 65% calc(100% - 14px), 62.5% 100%, 60% calc(100% - 14px), 57.5% 100%, 55% calc(100% - 14px), 52.5% 100%, 50% calc(100% - 14px), 47.5% 100%, 45% calc(100% - 14px), 42.5% 100%, 40% calc(100% - 14px), 37.5% 100%, 35% calc(100% - 14px), 32.5% 100%, 30% calc(100% - 14px), 27.5% 100%, 25% calc(100% - 14px), 22.5% 100%, 20% calc(100% - 14px), 17.5% 100%, 15% calc(100% - 14px), 12.5% 100%, 10% calc(100% - 14px), 7.5% 100%, 5% calc(100% - 14px), 2.5% 100%, 0 calc(100% - 14px));
}
.letter-mark { width: 44px; height: 44px; border-radius: 50%; margin-bottom: 26px; }
.letter p { font-size: 16.5px; line-height: 1.6; margin-bottom: 18px; }
.sign-off { font-family: var(--serif); font-style: italic; font-size: 23px; margin-top: 30px; margin-bottom: 2px !important; }
.sign-role { font-size: 14px; color: var(--sage); margin-bottom: 34px !important; }
.tearoff {
  border-top: 3px dotted var(--sage); padding: 20px 0 30px; display: flex;
  align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.tearoff span { font-weight: 700; font-size: 16px; }

/* FAQ */
.faq { padding: clamp(64px, 7vw, 110px) var(--page-pad); max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.faq h2 { font-size: clamp(28px, 3vw, 38px); }
.faq-cols { columns: 2; column-gap: 56px; }
.faq-cols p { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin-bottom: 22px; break-inside: avoid; }
.faq-cols strong { color: var(--ink); font-weight: 700; }

/* CTA */
.cta-photos { display: flex; height: 40svh; min-height: 260px; }
.cta-photos img { width: 33.333%; height: 100%; object-fit: cover; }
.cta-photos img:nth-child(2), .cta-photos img:nth-child(3) { object-position: top; }
.cta-field { background: var(--ink); color: var(--cream); padding: clamp(56px, 6vw, 90px) var(--page-pad); position: relative; }
.cta-statement { font-family: var(--serif); font-size: clamp(25px, 2.6vw, 32px); line-height: 1.35; max-width: 24em; }
.cta-statement a { color: var(--cream); text-decoration-thickness: 4px; text-decoration-color: var(--gold); text-underline-offset: 7px; }
.cta-lines { margin-top: 30px; font-size: 16px; color: #C9D4CB; line-height: 1.6; }
.cta-mark { position: absolute; right: 44px; bottom: 40px; width: 138px; height: 138px; }

/* Footer */
.site-foot { padding: 64px var(--page-pad) 44px; text-align: center; }
.foot-statement { font-family: var(--serif); font-size: 25px; margin-bottom: 26px; }
.foot-nav, .foot-social { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 18px; }
.foot-nav a, .foot-social a { text-decoration: none; font-size: 15.5px; font-weight: 500; }
.foot-nav a:hover, .foot-social a:hover { color: var(--sage); }
.foot-legal { font-size: 14px; color: var(--sage); }

/* Entrances (Emil: visible by default in markup order, gentle ease-out rise) */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: translateY(0); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.hero-stage.reveal { transition-delay: 90ms; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .plate { padding: 0; max-width: 520px; }
  .faq { grid-template-columns: 1fr; }
  .faq-cols { columns: 1; }
  .deck { flex-direction: column; min-height: 0; }
  .spine-card { flex: 0 0 auto; flex-direction: column; }
  .spine-tab { flex: 0 0 56px; width: 100%; align-items: center; justify-content: flex-start; padding: 0 22px; }
  .spine-tab span { writing-mode: horizontal-tb; }
  .spine-body { display: none; min-width: 0; padding: 4px 24px 26px; opacity: 1; }
  .spine-card.is-open .spine-body { display: block; }
  .cta-mark { width: 96px; height: 96px; right: 22px; bottom: 22px; }
}
@media (max-width: 980px) {
  .site-nav { gap: 18px; }
  .announce { height: auto; min-height: 40px; }
  .announce-msg { position: absolute; padding: 8px 16px; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .wordmark span { font-size: 20px; }
  .hero h1 { font-size: 44px; }
  .folder-body { grid-template-columns: 1fr; padding: 22px; }
  .folder-status { grid-column: 1; grid-row: auto; }
  .folder-tab { margin-left: 0 !important; }
  .plate-actions { flex-direction: column; }
  .cell { min-height: 60px; }
  .moment { flex-basis: 72vw; }
  .moment img { height: 300px; }
  .g1, .g2, .g3, .g4 { height: 34px; }
  .letter { padding: 34px 24px 0; }
  .cta-photos { flex-wrap: wrap; height: auto; }
  .cta-photos img:first-child { width: 100%; height: 300px; }
  .cta-photos img { width: 50%; height: 200px; }
  .cta-statement { padding-right: 0; }
  .cta-mark { position: static; margin-top: 30px; }
  .announce-msg { font-size: 11px; letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .plate-swap { animation: none; }
  .spine-card, .folder, .pressable { transition: none; }
}
