/* ===== Clarice Cassou v2 — Design upgrade layer ===== */
/* Loaded after style.css — overrides and extensions only */

/* Body font upgrade */
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

/* Fix nav — show on desktop */
.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 1; }

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

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section eyebrow */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-eyebrow.light { color: rgba(255,255,255,0.5); }

/* ===== HERO ===== */
.hero { padding: 80px 0 64px; }

.hero-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--ink);
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: #3f3f46;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.hero-roots {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* ===== GAP SECTION ===== */
.gap-section {
  padding: 72px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.5);
}

.gap-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}

.gap-statement {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  max-width: 820px;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.gap-result {
  font-size: clamp(16px, 2vw, 19px);
  color: #3f3f46;
  max-width: 720px;
  margin: 0 0 16px;
}

.gap-close {
  font-size: clamp(16px, 2vw, 19px);
  color: #3f3f46;
  max-width: 720px;
  margin: 0 0 28px;
}

.gap-coda {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  align-items: start;
}

.about-label {
  padding-top: 6px;
}

.about-body p {
  color: #3f3f46;
  margin: 0 0 20px;
  max-width: 680px;
}

.about-body p.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
}

@media (max-width: 680px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(180deg, var(--blue), var(--pink));
}

.service-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 15px;
  color: #505050;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== COMING SOON ===== */
.coming-soon {
  margin-top: 40px;
  background: rgba(255,255,255,0.6);
  border: 1px dashed rgba(0,0,0,0.15);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coming-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coming-soon h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.coming-soon p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

/* ===== HOW I WORK ===== */
.how-section {
  background: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.how-block p {
  color: #3f3f46;
  font-size: 16px;
  margin: 8px 0 0;
}

.how-step {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.how-footer {
  margin-top: 40px;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 680px) {
  .how-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== WHAT I BELIEVE — dark section ===== */
.believe-section {
  position: relative;
  background: #0D0D12;
  padding: 96px 0;
  overflow: hidden;
}

.believe-image-bg {
  position: absolute;
  inset: 0;
  background-image: url('div-wave.webp');
  background-size: cover;
  background-position: center right;
  opacity: 0.12;
  pointer-events: none;
}

.believe-inner {
  position: relative;
  z-index: 1;
}

.believe-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.believe-section h2.light,
.believe-section p.light {
  color: rgba(255,255,255,0.95);
}

.believe-lead {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 40px;
}

.believe-body {
  max-width: 680px;
  margin-bottom: 32px;
}

.believe-body p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.believe-quote {
  border: none;
  margin: 40px 0;
  padding: 0 0 0 24px;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, var(--blue), var(--pink)) 1;
  font-size: clamp(20px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  max-width: 640px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-left h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.contact-email {
  display: block;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.contact-linkedin {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.contact-linkedin:hover { color: var(--ink); }

@media (max-width: 680px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== FOOTER ===== */
.footer-markets {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.04em;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

/* ===== LANGUAGE SWITCH ===== */
.language-switch a.active {
  color: var(--ink);
  font-weight: 600;
}

/* ===== SECTION spacing consistency ===== */
.section h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ===== Mobile nav toggle ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  gap: 4px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-mobile.open { display: flex; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
}

/* ===== About aside (Italy line) ===== */
.about-aside {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
  color: var(--muted);
  max-width: 160px;
}
@media (max-width: 680px) {
  .about-aside { max-width: 100%; margin-top: 8px; }
}

/* ===== Desktop-only line break ===== */
@media (max-width: 600px) {
  .br-desktop { display: none; }
}

/* ============================================ */
/* ===== v3 — lilac accent + softer text ===== */
/* ============================================ */

:root {
  --lilac: #8B7FD4;
  --lilac-soft: #9C92DD;
  --ink-soft: #2b2b30;       /* ~85% grey instead of harsh black */
  --body-text: #44444c;      /* softened body */
}

/* Soften global text */
body { color: var(--ink-soft); }

.hero h1 { color: var(--ink-soft); }
.gap-statement { color: var(--ink-soft); }
.about-body p.lead { color: var(--ink-soft); }
.service-card h3 { color: var(--ink-soft); }
.coming-soon h3 { color: var(--ink-soft); }
.section h2 { color: var(--ink-soft); }
.contact-left h2 { color: var(--ink-soft); }

.hero-sub,
.gap-result,
.gap-close,
.about-body p,
.service-card p,
.how-block p { color: var(--body-text); }

/* Lilac highlight for emphasised words */
.hl {
  color: var(--lilac);
  font-weight: 600;
}

/* Gradient text — shift toward lilac end */
.gradient-text,
.hero-roots,
.believe-lead,
.contact-email {
  background: linear-gradient(90deg, var(--blue), var(--lilac), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service left accent → include lilac */
.service-card::before {
  background: linear-gradient(180deg, var(--blue), var(--lilac), var(--pink));
}

/* Believe quote border → lilac */
.believe-quote {
  border-image: linear-gradient(180deg, var(--blue), var(--lilac), var(--pink)) 1;
}

/* ============================================ */
/* ===== v3 — divider treatment fixes ===== */
/* ============================================ */

/* Full-bleed divider band with soft fade into the cream page */
.divider-band {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.divider-band img {
  display: block;
  width: 100%;
  height: clamp(200px, 28vw, 340px);
  object-fit: cover;
  object-position: center;
}

/* dark ribbon (divider-1) on black — fade edges into cream */
.divider-band.on-dark { background: #0D0D12; }
.divider-band.on-dark::before,
.divider-band.on-dark::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}
.divider-band.on-dark::before {
  top: 0;
  background: linear-gradient(to bottom, var(--cream), rgba(13,13,18,0));
}
.divider-band.on-dark::after {
  bottom: 0;
  background: linear-gradient(to top, var(--cream), rgba(13,13,18,0));
}

/* light glass (divider-3) — fade edges into cream */
.divider-band.on-light::before,
.divider-band.on-light::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 70px;
  z-index: 2;
  pointer-events: none;
}
.divider-band.on-light::before {
  top: 0;
  background: linear-gradient(to bottom, var(--cream), rgba(249,247,246,0));
}
.divider-band.on-light::after {
  bottom: 0;
  background: linear-gradient(to top, var(--cream), rgba(249,247,246,0));
}

/* ============================================ */
/* ===== v4 — transparent dividers on cream ===== */
/* (overrides v3 band treatment) */
/* ============================================ */

.divider-band {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 24px;
  overflow: visible;
  background: none !important;
  line-height: 0;
}

.divider-band img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 0;
}

/* kill the old fade pseudo-elements from v3 */
.divider-band.on-dark,
.divider-band.on-light { background: none !important; }
.divider-band.on-dark::before,
.divider-band.on-dark::after,
.divider-band.on-light::before,
.divider-band.on-light::after { content: none !important; display: none !important; }

@media (max-width: 680px) {
  .divider-band img { max-height: 200px; }
}

/* ============================================ */
/* ===== v5 — wave split + full-width lozenge ===== */
/* ============================================ */

/* Wave anchored right, text left */
.wave-split {
  padding: 40px 0;
}
.wave-split-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: center;
}
.wave-split-text p {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 360px;
  margin: 0;
}
.wave-split-img {
  line-height: 0;
}
.wave-split-img img {
  display: block;
  width: 100%;
  height: auto;
  /* anchor to the right edge so the ribbon reads as flowing off-page */
  object-fit: cover;
  object-position: left center;
}

@media (max-width: 780px) {
  .wave-split-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wave-split-text p { max-width: 100%; }
}

/* Full-width lozenge band — edge to edge, transparent on cream */
.divider-fullwidth {
  width: 100%;
  margin: 32px 0;
  line-height: 0;
  overflow: hidden;
}
.divider-fullwidth img {
  display: block;
  width: 100%;
  height: clamp(220px, 26vw, 360px);
  object-fit: cover;
  object-position: center;
}
@media (max-width: 680px) {
  .divider-fullwidth img { height: 180px; }
}
