/* ==========================================================================
   Convosco — Editorial Light Cream
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: light;

  --bg:        #f6f1e7;
  --bg-2:      #ece2cf;
  --paper:     #ffffff;
  --ink:       #211d17;
  --ink-soft:  #362f26;
  --ink-mute:  #756b5c;
  --accent:    #c17a4f;
  --accent-2:  #5f7350;
  --gold:      #b08d57;
  --line:      rgba(33,29,23,0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --nav-h: 76px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --container: 1180px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; color: var(--ink); }
p { margin: 0; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
em { font-style: italic; color: var(--accent); }

/* ---------- reveal system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* defensive: split-text children handle their own animation, parent must stay visible (gotcha A.4.5) */
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; opacity: 0;
  transition: opacity .25s var(--ease-out);
  will-change: transform;
}
.cursor-dot.is-ready, .cursor-ring.is-ready { opacity: 1; }
.cursor-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  transform: translate3d(-50%,-50%,0);
}
.cursor-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  mix-blend-mode: difference;
  transform: translate3d(-50%,-50%,0);
  transition: opacity .25s var(--ease-out), width .25s var(--ease-out), height .25s var(--ease-out);
}
.cursor-ring.is-active { width: 54px; height: 54px; border-color: #fff; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(246,241,231,0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.4);
  transition: color .4s var(--ease-out), text-shadow .4s var(--ease-out);
}
.nav-brand-mark {
  width: 28px; height: 28px; flex: none;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.35));
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .9rem; color: rgba(255,255,255,.92); position: relative; padding-block: 4px;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
  transition: color .4s var(--ease-out), text-shadow .4s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent); transition: right .3s var(--ease-out);
}
.nav-links a:hover::after { right: 0; }
.nav.is-solid .nav-brand { color: var(--ink); text-shadow: none; }
.nav.is-solid .nav-links a { color: var(--ink-soft); text-shadow: none; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  padding: 10px 20px; border-radius: 999px; font-size: .86rem; font-weight: 500;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out);
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(33,29,23,.15) 0%, rgba(33,29,23,.1) 40%, rgba(246,241,231,.94) 92%),
    linear-gradient(90deg, rgba(33,29,23,.32) 0%, rgba(33,29,23,0) 55%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; letter-spacing: .04em; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  margin-bottom: 22px;
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: .98;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
  max-width: 16ch;
  text-wrap: balance;
  margin-bottom: 24px;
}
.hero-title em { color: #f0d9b8; }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
  max-width: 46ch; margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-size: .95rem; font-weight: 500;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px rgba(193,122,79,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -6px rgba(193,122,79,.7); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: .82rem; color: rgba(255,255,255,.85);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 15px; height: 15px; flex: none; }

/* ---------- marquee ---------- */
.marquee-wrap {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 16px;
}
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  color: var(--ink-mute); display: inline-flex; align-items: center; gap: 48px;
}
.marquee-track span::after { content: "·"; color: var(--accent); font-style: normal; }

/* ---------- section shell ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 128px); }
.eyebrow {
  display: inline-block; font-size: .82rem; letter-spacing: .03em;
  color: var(--accent); margin-bottom: 16px; font-weight: 500;
}
.section-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  max-width: 18ch;
}

/* ---------- manifesto ---------- */
.manifesto { background: var(--paper); }
.manifesto-grid {
  display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.manifesto-num { font-family: var(--font-display); font-size: 5rem; color: var(--bg-2); line-height: 1; }
.manifesto-copy p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 56ch; }
.manifesto-copy p + p { margin-top: 20px; }
.limit-box {
  margin-top: 32px; padding: 20px 24px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-soft);
  display: flex; gap: 14px; align-items: flex-start;
}
.limit-box svg { flex: none; width: 20px; height: 20px; color: var(--accent-2); margin-top: 2px; }
@media (max-width: 760px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-num { font-size: 3rem; }
}

/* ---------- bento services ---------- */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  grid-auto-flow: dense;
  gap: 16px;
}
.bento-card {
  position: relative;
  grid-column: span 2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out);
}
.bento-card:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.bento-card:nth-child(7) { grid-column: span 4; }
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -20px rgba(193,122,79,.35);
  border-color: rgba(193,122,79,.4);
}
.bento-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-2); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.bento-teaser { color: var(--ink-mute); font-size: .92rem; }
.bento-more {
  margin-top: 16px; font-size: .8rem; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.bento-more svg { width: 13px; height: 13px; transition: transform .3s var(--ease-out); }
.bento-card.is-open .bento-more svg { transform: rotate(45deg); }
.bento-list {
  list-style: none; margin: 14px 0 0; padding: 0;
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out);
}
.bento-card.is-open .bento-list { max-height: 220px; }
.bento-list li {
  font-size: .88rem; color: var(--ink-soft); padding-block: 6px;
  border-top: 1px solid var(--line);
  display: flex; gap: 8px;
}
.bento-list li::before { content: "—"; color: var(--accent); flex: none; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-flow: row; }
  .bento-card, .bento-card:nth-child(3), .bento-card:nth-child(7) {
    grid-column: span 2; grid-row: auto;
  }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-card:nth-child(3), .bento-card:nth-child(7) {
    grid-column: span 1;
  }
}

/* ---------- steps ---------- */
.steps { background: var(--bg-2); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.step-num { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; color: var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .96rem; }
.step:not(:last-child) { position: relative; }
@media (min-width: 761px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 22px; left: calc(100% + 20px); width: calc(40px - 20px);
    border-top: 1px dashed var(--ink-mute);
  }
}
@media (max-width: 760px) { .steps-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; margin-top: 48px; align-items: stretch; }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 36px 30px; display: flex; flex-direction: column;
}
.price-card.is-highlight { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.price-card.is-highlight .price-note, .price-card.is-highlight .price-label { color: rgba(246,241,231,.7); }
.price-label { font-size: .85rem; color: var(--ink-mute); margin-bottom: 10px; }
.price-value { font-family: var(--font-display); font-size: 3rem; line-height: 1; margin-bottom: 6px; }
.price-value sup { font-size: 1.1rem; font-weight: 400; margin-left: 4px; }
.price-note { font-size: .85rem; color: var(--ink-mute); margin-bottom: 22px; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price-list li { padding-block: 9px; border-top: 1px solid var(--line); font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; }
.price-card.is-highlight .price-list li { border-color: rgba(246,241,231,.16); }
.price-tag { font-size: .72rem; padding: 3px 10px; border-radius: 999px; background: var(--accent-2); color: #fff; display: inline-block; margin-bottom: 12px; width: fit-content; }
.price-foot { font-size: .82rem; color: var(--ink-mute); margin-top: 28px; max-width: 62ch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- trust ---------- */
.trust { background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 48px; }
.trust-item { display: flex; gap: 18px; }
.trust-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-2); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.trust-item p { color: var(--ink-mute); font-size: .92rem; }
@media (max-width: 700px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- zone ---------- */
.zone { background: var(--bg-2); }
.zone-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.zone-copy p { color: var(--ink-soft); font-size: 1.05rem; max-width: 48ch; }
.zone-copy p + p { margin-top: 16px; }
.zone-badge {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--ink-soft); background: var(--paper);
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
}
.zone-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.zone-visual {
  aspect-ratio: 4/3; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(120% 100% at 20% 20%, rgba(193,122,79,.28), transparent 60%),
    radial-gradient(120% 100% at 80% 80%, rgba(95,115,80,.3), transparent 60%),
    var(--paper);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.zone-visual svg { width: 55%; height: 55%; color: var(--ink); opacity: .85; }
@media (max-width: 760px) { .zone-inner { grid-template-columns: 1fr; } .zone-visual { order: -1; } }

/* ---------- faq ---------- */
.faq { background: var(--paper); }
.faq-list { max-width: 760px; margin-top: 40px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--ink);
}
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-q .plus::before { width: 16px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 16px; transition: transform .3s var(--ease-out); }
.faq-item.is-open .plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.faq-a p { padding-bottom: 22px; color: var(--ink-soft); font-size: .96rem; max-width: 62ch; }
.faq-item.is-open .faq-a { max-height: 260px; }

/* ---------- cta final ---------- */
.cta-final {
  background: var(--ink); color: var(--bg);
  text-align: center;
  padding-block: clamp(72px, 12vw, 130px);
}
.cta-final .section-title { color: var(--bg); margin-inline: auto; }
.cta-final .hero-sub { color: rgba(246,241,231,.8); margin-inline: auto; text-shadow: none; }
.cta-final .hero-actions { justify-content: center; margin-top: 32px; }

/* ---------- footer ---------- */
footer {
  background: var(--bg); border-top: 1px solid var(--line);
  padding-block: 40px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-mute); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-inner a { color: var(--ink-soft); }
.footer-inner a:hover { color: var(--accent); }

/* ---------- reveal safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 60s; }
}
