@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --kasav: #fbf5ee;
  --paper: #ffffff;
  --soft: #f6efe8;      /* card ground, one step under the page */
  --sab: #efd3c1;
  --choublak: #e98aa2;
  --seriz: #c8364f;
  --diven: #4a1428;
  --ink: #2a0714;
  --muted: rgba(42, 7, 20, 0.5);
  --body: rgba(42, 7, 20, 0.72);
  /* Kouche solèy, the EYATHI signature gradient (packages/brand, never recoloured) */
  --sunset:
    radial-gradient(45% 55% at 82% 15%, rgba(239, 211, 193, 0.95) 0%, rgba(239, 211, 193, 0) 100%),
    radial-gradient(60% 70% at 55% 38%, rgba(233, 138, 162, 0.92) 0%, rgba(233, 138, 162, 0) 100%),
    radial-gradient(75% 75% at 28% 88%, rgba(200, 54, 79, 0.9) 0%, rgba(200, 54, 79, 0) 100%),
    linear-gradient(#4a1428, #4a1428);
  --pad: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--kasav);
  color: var(--ink);
  font: 400 17px/1.55 "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--choublak); color: var(--ink); }
:focus-visible { outline: 2px solid var(--seriz); outline-offset: 3px; }

/* ---------- Navigation (Integrated Bio style) ---------- */
header.top {
  position: absolute;
  top: calc(var(--pad) + 14px);
  left: calc(var(--pad) + 14px);
  right: calc(var(--pad) + 14px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
header.top > * { pointer-events: auto; }
.logo {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--kasav);
  transition: color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.logo svg { height: 24px; width: auto; display: block; }
header.top.scrolled .logo { color: var(--ink); background: rgba(251, 245, 238, 0.82); box-shadow: 0 0 0 1px rgba(42, 7, 20, 0.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.navgroup {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(251, 245, 238, 0.86);
  box-shadow: 0 0 0 1px rgba(42, 7, 20, 0.06), 0 8px 24px rgba(42, 7, 20, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navgroup a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.2s;
}
.navgroup a:hover { background: rgba(42, 7, 20, 0.06); }
.navgroup a.cta { background: var(--diven); color: var(--kasav); }
.navgroup a.cta:hover { background: var(--ink); }

/* ---------- Buttons (AffectUI: lit top edge, press, light sweep) ---------- */
.button {
  --b-fill: var(--ink);
  --b-ink: var(--kasav);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  background: var(--b-fill);
  color: var(--b-ink);
  font: 500 15px/1 "Space Grotesk", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(42, 7, 20, 0.12);
  transition: transform 0.25s var(--ease), background-color 0.25s;
  cursor: pointer;
}
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.button:hover::after { transform: translateX(120%); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(0.97); transition-duration: 70ms; }
.button.light { --b-fill: var(--paper); --b-ink: var(--ink); }
.button.glass { --b-fill: rgba(251, 245, 238, 0.16); --b-ink: var(--kasav); box-shadow: inset 0 0 0 1px rgba(251, 245, 238, 0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.button.soft { --b-fill: var(--soft); --b-ink: var(--ink); box-shadow: inset 0 0 0 1px rgba(42, 7, 20, 0.06); }
.button.cherry { --b-fill: var(--seriz); --b-ink: #fff; }
.arrow-chip {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--choublak);
  color: var(--diven);
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.25s var(--ease);
}
.arrow-chip:hover { transform: translateX(3px); }

/* ---------- Hero: framed Kouche solèy with moving Mòn lines ---------- */
.hero { padding: var(--pad); height: 100svh; min-height: 640px; }
.hero .frame {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--sunset);
  color: var(--kasav);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9);
}
.hero .lines {
  position: absolute;
  inset: -10%;
  background: url("mon-lines.svg") center / cover no-repeat;
  opacity: 0.22;
  animation: swell 22s ease-in-out infinite alternate;
}
@keyframes swell { from { transform: translate3d(-2%, 2%, 0) scale(1); } to { transform: translate3d(2%, -3%, 0) scale(1.08); } }
.hero .shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 120%, rgba(42, 7, 20, 0.35), transparent 60%);
}
.hero .content {
  position: absolute;
  inset: 0;
  padding: clamp(110px, 18vh, 160px) clamp(24px, 4vw, 56px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 7.4vw, 116px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.hero h1 .dim { display: block; color: rgba(251, 245, 238, 0.62); }
.hero .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero .foot p { margin: 0; max-width: 34em; font-size: clamp(16px, 1.4vw, 19px); color: rgba(251, 245, 238, 0.92); }
.hero .actions { display: flex; gap: 8px; align-items: center; }

/* ---------- Light sections (exactly.ai rhythm) ---------- */
section.block { padding: clamp(96px, 12vw, 160px) var(--pad) 0; }
.lede { text-align: center; margin: 0 auto 56px; max-width: 900px; }
.lede h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.lede h2 .dim { display: block; color: var(--muted); }
.lede .actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pad);
  max-width: 1376px;
  margin: 0 auto var(--pad);
}
.feature .media {
  background: var(--soft);
  border-radius: 28px;
  display: grid;
  place-items: center;
  padding: clamp(32px, 5vw, 80px);
  min-height: 560px;
}
.feature .media figure {
  margin: 0;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(42, 7, 20, 0.35);
}
.feature .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .media img { transform: scale(1.04); }
.feature .text { padding: clamp(24px, 4vw, 64px) clamp(8px, 3vw, 48px); align-self: center; }
.feature .text h3 { margin: 0 0 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.feature .text p { margin: 0 0 28px; max-width: 34em; color: var(--body); }
.feature .text ul { list-style: none; margin: 32px 0 0; padding: 28px 0 0; border-top: 1px dashed rgba(42, 7, 20, 0.18); display: grid; gap: 10px; font-size: 15px; }
.feature .text li { display: flex; gap: 12px; align-items: center; }
.feature .text li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--seriz); flex: none; }
.feature.flip .media { order: 2; }

/* Method: a row of rounded cards */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1376px;
  margin: 0 auto;
}
.step-card {
  position: relative;
  border-radius: 24px;
  min-height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--soft);
  transition: transform 0.4s var(--ease);
}
.step-card:hover { transform: translateY(-4px); }
.step-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; }
.step-card p { margin: 0; color: var(--body); font-size: 16px; }
.step-card .dot { width: 44px; height: 44px; border-radius: 50%; }
.step-card:nth-child(1) .dot { background: var(--sab); }
.step-card:nth-child(2) .dot { background: var(--choublak); }
.step-card:nth-child(3) .dot { background: var(--seriz); }
.step-card.dark { background: var(--diven); color: var(--kasav); }
.step-card.dark p { color: rgba(251, 245, 238, 0.78); }
.step-card.dark .dot { background: var(--choublak); }

/* Company: one quiet card with the registration facts */
.company-card {
  max-width: 1376px;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(42, 7, 20, 0.06), 0 30px 60px -40px rgba(42, 7, 20, 0.25);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}
.company-card .mark {
  position: relative;
  background: var(--sunset);
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--kasav);
}
.company-card .mark svg { width: 120px; height: 120px; }
.company-card dl { margin: 0; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 0 32px; align-content: center; }
.company-card dt, .company-card dd { padding: 14px 0; border-bottom: 1px solid rgba(42, 7, 20, 0.07); margin: 0; }
.company-card dt { color: var(--muted); font-size: 15px; }
.company-card dd { font-size: 17px; }
.company-card dt:last-of-type, .company-card dd:last-of-type { border-bottom: 0; }

/* ---------- Footer (Lantern style, in Kouche solèy) ---------- */
footer.site { padding: clamp(96px, 12vw, 160px) var(--pad) var(--pad); }
.foot-card {
  border-radius: 28px;
  overflow: hidden;
  background: var(--sunset);
  color: var(--kasav);
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) 28px;
}
.foot-card .call { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(251, 245, 238, 0.25); }
.foot-card .call h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.08; max-width: 16ch; }
.foot-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: 40px 0 0; font-size: 15px; }
.foot-cols .col { display: grid; gap: 10px; align-content: start; }
.foot-cols .col:nth-child(1) { grid-column: 1 / 3; }
.foot-cols .col:nth-child(2) { grid-column: 3 / 5; }
.foot-cols .col:nth-child(3) { grid-column: 9 / 13; }
.foot-cols .head { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(251, 245, 238, 0.7); margin-bottom: 4px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-card .big { margin: clamp(56px, 8vw, 120px) 0 28px; color: var(--kasav); }
.foot-card .big svg { width: 100%; height: auto; display: block; }
.foot-card .fine { text-align: center; max-width: 82ch; margin: 0 auto; font-size: 13px; color: rgba(251, 245, 238, 0.82); display: grid; gap: 6px; }

/* ---------- Legal pages ---------- */
.doc-page header.top .logo { color: var(--ink); background: rgba(251, 245, 238, 0.82); }
.doc { padding: 160px 24px 80px; max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin: 0 0 16px; }
.doc h2 { font-size: 22px; font-weight: 500; margin: 40px 0 8px; }
.doc p, .doc li { color: var(--body); }
.doc .updated { color: var(--muted); margin: 0 0 40px; }

/* ---------- Entrances ---------- */
.rise { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .hero .lines { animation: none; }
  .button, .button::after, .step-card, .feature .media img { transition: none; }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .feature, .company-card { grid-template-columns: 1fr; }
  .feature.flip .media { order: 0; }
  .feature .media { min-height: 0; }
  .company-card .mark { min-height: 220px; }
  .foot-cols .col:nth-child(1) { grid-column: 1 / 5; }
  .foot-cols .col:nth-child(2) { grid-column: 5 / 9; }
  .foot-cols .col:nth-child(3) { grid-column: 9 / 13; }
}
@media (max-width: 640px) {
  header.top { top: calc(var(--pad) + 10px); left: calc(var(--pad) + 6px); right: calc(var(--pad) + 6px); }
  .navgroup a:not(.cta) { display: none; }
  .hero .foot { flex-direction: column; align-items: flex-start; }
  .hero .actions { width: 100%; flex-direction: column; }
  .hero .actions .button { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 220px; }
  .company-card dl { grid-template-columns: 1fr; }
  .company-card dt { border-bottom: 0; padding-bottom: 0; }
  .company-card dd { padding-top: 2px; }
  .foot-cols .col:nth-child(1), .foot-cols .col:nth-child(2) { grid-column: span 6; }
  .foot-cols .col:nth-child(3) { grid-column: 1 / -1; }
}

/* Footer of the legal pages */
footer:not(.site) { margin: 0 var(--pad) var(--pad); border-radius: 20px; background: var(--sunset); color: var(--kasav); padding: 28px 32px; font-size: 14px; }
footer:not(.site) .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer:not(.site) nav { display: flex; gap: 20px; }
footer:not(.site) a { text-decoration: none; }
.logo img { height: 24px; width: auto; display: block; }

/* =====================================================================
   v4: depth on every block (affectUI raised surfaces), bento, brands
   ===================================================================== */
:root {
  --edge: rgba(42, 7, 20, 0.09);
  --edge-strong: rgba(42, 7, 20, 0.14);
  --lift:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--edge),
    0 1px 2px rgba(42, 7, 20, 0.05),
    0 6px 16px -6px rgba(42, 7, 20, 0.1),
    0 24px 48px -24px rgba(42, 7, 20, 0.18);
  --lift-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px var(--edge-strong),
    0 2px 4px rgba(42, 7, 20, 0.06),
    0 12px 24px -8px rgba(42, 7, 20, 0.14),
    0 36px 64px -28px rgba(42, 7, 20, 0.24);
}

/* affectUI button variants: primary cherry with gloss, secondary white with the card outline */
.button.cherry {
  --b-fill: var(--seriz);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.25),
    0 6px 14px -6px rgba(200, 54, 79, 0.5), 0 0 0 1px rgba(122, 18, 40, 0.5);
}
.button.cherry:hover { --b-fill: #b82a45; }
.button.secondary {
  --b-fill: var(--paper);
  --b-ink: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--edge-strong), 0 1px 2px rgba(42, 7, 20, 0.06), 0 4px 10px -4px rgba(42, 7, 20, 0.12);
}
.button.secondary:hover { --b-fill: #fdfaf7; }
.button.secondary::after, .button.light::after, .button.soft::after { background: linear-gradient(105deg, transparent 30%, rgba(233, 138, 162, 0.22) 50%, transparent 70%); }
.button .arrow { transition: transform 0.3s var(--ease); }
.button:hover .arrow { transform: translateX(3px); }

/* Bento of the two activities */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1376px; margin: 0 auto; }
.tile {
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--lift);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile:hover { box-shadow: var(--lift-hover); transform: translateY(-3px); }
.tile .visual {
  position: relative;
  margin: 10px 10px 0;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--edge);
}
.tile-text { padding: 28px 32px 32px; }
.tile-text h3 { margin: 0 0 10px; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.tile-text p { margin: 0 0 22px; color: var(--body); max-width: 40ch; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--edge-strong), 0 1px 2px rgba(42, 7, 20, 0.05);
}

/* Glass folder (affectUI), in EYATHI colours */
.folder-visual { background: radial-gradient(80% 90% at 50% 100%, rgba(233, 138, 162, 0.35), transparent 70%), var(--soft); container-type: inline-size; }
.fd-icon {
  position: absolute; left: 50%; top: 52%; width: 44%; aspect-ratio: 6 / 5;
  container-type: inline-size; perspective: 220cqw; perspective-origin: 50% 60%;
  transform: translate(-50%, -48%); transition: transform 0.6s cubic-bezier(0.2, 0.85, 0.25, 1);
}
.tile:hover .fd-icon { transform: translate(-50%, -48%) scale(1.04); }
.fd-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fd-back path { fill: #e7c4b1; }
.fd-back { filter: drop-shadow(0 1.2cqw 0 rgba(74, 20, 40, 0.14)); }
.fd-paper { fill: #fff; stroke: rgba(42, 7, 20, 0.1); }
.fd-line { fill: rgba(42, 7, 20, 0.09); }
.fd-chip { fill: var(--choublak); }
.fd-doc { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 2px 0 rgba(74, 20, 40, 0.12)); transition: transform 0.55s cubic-bezier(0.2, 0.85, 0.25, 1); }
.fd-doc--left { transform: translate(40px, 80px) rotate(6deg); }
.fd-doc--right { transform: translate(280px, 80px) rotate(6deg); }
.fd-doc--middle { transform: translate(160px, 66px) rotate(-4deg); }
.tile:hover .fd-doc--left { transform: translate(24px, 56px) rotate(-8deg); }
.tile:hover .fd-doc--right { transform: translate(296px, 60px) rotate(12deg); }
.tile:hover .fd-doc--middle { transform: translate(166px, 34px) rotate(-3deg); }
.fd-front {
  position: absolute; inset: 21.6% 0 0; border-radius: 6.333cqw;
  background: rgba(233, 138, 162, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 0.5cqw rgba(255, 255, 255, 0.6), inset 0 1.5cqw 2cqw rgba(255, 255, 255, 0.35);
  transform-origin: 50% 100%;
  transition: top 0.6s cubic-bezier(0.2, 0.85, 0.25, 1), transform 0.6s cubic-bezier(0.2, 0.85, 0.25, 1);
  display: grid; place-items: center;
}
.tile:hover .fd-front { top: 24.8%; transform: translateZ(2.33cqw) rotateX(-9deg); }
.fd-flower { width: 16cqw; height: 16cqw; color: #fff; display: block; }
.fd-flower svg { width: 100%; height: 100%; }

/* Card deck for the services */
.deck-visual { background: radial-gradient(80% 90% at 50% 100%, rgba(239, 211, 193, 0.7), transparent 70%), var(--soft); }
.deck { position: absolute; inset: 0; display: grid; place-items: center; }
.deck-card {
  position: absolute;
  width: 48%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--edge), 0 10px 24px -10px rgba(42, 7, 20, 0.25);
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.6s cubic-bezier(0.2, 0.85, 0.25, 1);
}
.deck-card strong { font-size: 15px; font-weight: 500; }
.deck-card .dot { width: 26px; height: 26px; border-radius: 8px; }
.deck-card .bar { height: 8px; border-radius: 4px; background: rgba(42, 7, 20, 0.08); width: 86%; }
.deck-card .bar.short { width: 56%; }
.deck-card.c1 { transform: translate(-6%, 6%) rotate(-5deg); z-index: 3; }
.deck-card.c2 { transform: translate(4%, -2%) rotate(3deg); z-index: 2; }
.deck-card.c3 { transform: translate(14%, -10%) rotate(9deg); z-index: 1; }
.deck-card.c1 .dot { background: var(--seriz); }
.deck-card.c2 .dot { background: var(--choublak); }
.deck-card.c3 .dot { background: var(--sab); }
.tile:hover .deck-card.c1 { transform: translate(-34%, 10%) rotate(-10deg); }
.tile:hover .deck-card.c2 { transform: translate(0, -4%) rotate(0deg); }
.tile:hover .deck-card.c3 { transform: translate(34%, 10%) rotate(10deg); }

/* Our brands: blurred cards, some in stealth, some launching soon */
.brands { padding: clamp(96px, 12vw, 160px) 0 0; overflow: hidden; }
.brands .lede { padding: 0 var(--pad); }
.marquee { display: flex; gap: 14px; width: max-content; animation: slide 48s linear infinite; padding: 12px 0 28px; }
.marquee-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-mask:hover .marquee { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.brand-card {
  position: relative;
  width: clamp(240px, 26vw, 360px);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--edge), 0 12px 28px -14px rgba(42, 7, 20, 0.3);
  flex: none;
}
.brand-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: saturate(1.1); }
.brand-card .over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42, 7, 20, 0.12); color: rgba(255, 255, 255, 0.92); }
.brand-card .over svg { width: 30px; height: 30px; }
.brand-card .soon {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); color: var(--diven);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 6px 16px -6px rgba(42, 7, 20, 0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* Company: identity card + facts with icons */
.company { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px; max-width: 1376px; margin: 0 auto; }
.id-card {
  position: relative;
  border-radius: 28px;
  background: var(--sunset);
  color: var(--kasav);
  padding: 32px;
  min-height: 380px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(74, 20, 40, 0.4), 0 24px 48px -24px rgba(74, 20, 40, 0.5);
  overflow: hidden;
}
.id-card::after { content: ""; position: absolute; inset: 0; background: url("mon-lines.svg") center / cover; opacity: 0.14; pointer-events: none; }
.id-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.id-flower { width: 64px; height: 64px; display: block; }
.id-flower svg { width: 100%; height: 100%; }
.id-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 999px;
  background: rgba(251, 245, 238, 0.16); box-shadow: inset 0 0 0 1px rgba(251, 245, 238, 0.3);
}
.id-badge .live { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 4px rgba(126, 226, 168, 0.22); }
.id-name { position: relative; z-index: 1; display: grid; gap: 6px; }
.id-name strong { font-size: clamp(36px, 4vw, 56px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.id-name span { color: rgba(251, 245, 238, 0.8); }
.info {
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--lift);
  padding: 16px clamp(20px, 3vw, 40px) 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--edge); }
.info-row:last-of-type { border-bottom: 0; margin-bottom: 12px; }
.info .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--soft); color: var(--seriz);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--edge);
}
.info .ico svg { width: 22px; height: 22px; }
.info .k { display: block; font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.info .v { display: block; font-size: 18px; text-decoration: none; }
a.v:hover { color: var(--seriz); }
.info .button { align-self: flex-start; }

/* Steps get the same depth */
.step-card { box-shadow: var(--lift); background: var(--paper); }
.step-card:hover { box-shadow: var(--lift-hover); }
.step-card.dark { background: var(--diven); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(74, 20, 40, 0.5), 0 24px 48px -24px rgba(74, 20, 40, 0.5); }
.navgroup { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--edge), 0 8px 24px rgba(42, 7, 20, 0.12); }

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .tile, .fd-icon, .fd-doc, .fd-front, .deck-card { transition: none; }
}
@media (max-width: 1000px) {
  .bento, .company { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tile-text { padding: 22px 20px 24px; }
  .deck-card { width: 62%; }
  .id-card { min-height: 280px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =====================================================================
   v5: editorial middle (taste-skill laws): one grid, one anchor line,
   sections told apart by their ground, no app cards
   ===================================================================== */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.4vw, 24px); padding: 0 var(--pad); }

/* Statement on the paper ground */
.statement-v5 { padding: clamp(120px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.statement-v5 .say {
  grid-column: 1 / span 9;
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--muted);
  max-width: 30em;
}
.statement-v5 .say strong { font-weight: 400; color: var(--ink); }

/* Activities: heading in the left third, body from column 5 */
.rows { padding-bottom: clamp(80px, 10vw, 140px); }
.row { padding-block: clamp(48px, 6vw, 80px); align-items: start; }
.row h3 {
  grid-column: 1 / span 4;
  margin: 0;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.row .body { grid-column: 5 / span 7; }
.row .body p { margin: 0 0 16px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 36em; color: var(--ink); }
.row .body p.list { color: var(--muted); }
.row .body .button { margin-top: 20px; }
.row + .row { background: linear-gradient(var(--edge), var(--edge)) var(--pad) 0 / calc(100% - 2 * var(--pad)) 1px no-repeat; }

/* Brands heading follows the same anchor */
.brands .lede { text-align: left; max-width: none; margin: 0 0 40px; padding: 0 var(--pad); }
.brands .lede h2 { font-size: clamp(32px, 3.4vw, 52px); }

/* Method on the wine field: the four moves set large */
.method-v5 {
  margin-top: clamp(96px, 12vw, 160px);
  background: var(--diven);
  color: var(--kasav);
  padding: clamp(96px, 11vw, 160px) 0 clamp(80px, 9vw, 120px);
}
.method-v5 .head { align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.method-v5 h2 { grid-column: 1 / span 6; margin: 0; font-size: clamp(32px, 3.4vw, 52px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
.method-v5 .head p { grid-column: 7 / span 5; margin: 0; font-size: 18px; color: rgba(251, 245, 238, 0.7); }
.moves { list-style: none; margin: 0; padding: 0; }
.moves li { align-items: baseline; padding-block: 18px; border-top: 1px solid rgba(251, 245, 238, 0.14); }
.moves li:last-child { border-bottom: 1px solid rgba(251, 245, 238, 0.14); }
.moves .word {
  grid-column: 1 / span 6;
  font-size: clamp(56px, 8.4vw, 136px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 400;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.moves .line { grid-column: 7 / span 5; font-size: clamp(17px, 1.4vw, 20px); color: rgba(251, 245, 238, 0.75); max-width: 30em; }
.moves li:hover .word { color: var(--choublak); transform: translateX(12px); }

/* Company on the sand field */
.company-v5 { background: var(--sab); padding: clamp(96px, 11vw, 160px) 0; }
.company-v5 h2 { grid-column: 1 / span 4; margin: 0; font-size: clamp(32px, 3.4vw, 52px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
.facts-v5 { grid-column: 5 / span 7; }
.facts-v5 p { margin: 0 0 8px; font-size: clamp(18px, 1.5vw, 22px); }
.facts-v5 .name { font-size: clamp(32px, 3.4vw, 52px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.facts-v5 a { color: var(--ink); text-decoration-color: rgba(42, 7, 20, 0.3); text-underline-offset: 5px; }
.facts-v5 a:hover { color: var(--seriz); text-decoration-color: currentColor; }
.facts-v5 .quiet-link { display: inline-block; margin-top: 20px; text-decoration: none; font-size: 17px; }

/* The footer follows the sand field directly */
.company-v5 + footer.site, main + footer.site { padding-top: var(--pad); }

@media (max-width: 760px) {
  .statement-v5 .say, .row h3, .row .body, .method-v5 h2, .method-v5 .head p,
  .moves .word, .moves .line, .company-v5 h2, .facts-v5 { grid-column: 1 / -1; }
  .row h3, .method-v5 h2, .company-v5 h2 { margin-bottom: 20px; }
  .method-v5 .head p { margin-top: 16px; }
  .moves .line { margin-top: 8px; }
  .moves li:hover .word { transform: none; }
}

/* v5 polish: no rules, flat brand cards, sentence-case badge */
.moves li, .moves li:last-child { border: 0; padding-block: 14px; }
.brand-card { box-shadow: none; }
.brand-card .soon { text-transform: none; letter-spacing: 0; font-size: 15px; box-shadow: none; }
@media (max-width: 640px) {
  .hero h1 { font-size: 40px; }
  .statement-v5 .say { font-size: 22px; }
}
