/* SDM Socials · rough site
   The blue channel of SDM Media Group.
   Productions = warm cream + ember red. Weddings = harbor ink + gilt.
   Socials = cool screen white + cobalt + caption yellow. */

:root {
  --paper: #F3F5FB;        /* cool "screen" white, the opposite of Productions' warm cream */
  --paper-2: #E8ECF7;
  --line: #D3D9EA;
  --ink: #0B1030;          /* deep blue black */
  --ink-2: #3A4166;
  --ink-3: #5F6688;
  --cobalt: #1B43E8;       /* the exact blue from the SDM aperture */
  --cobalt-2: #4366FF;
  --cobalt-deep: #0E2BB0;
  --tint: #DCE3FF;
  --caption: #FFE24A;      /* caption highlighter, the social-native accent */
  --r: #E8482C;            /* group hallmarks, used tiny */
  --g: #1FC734;
  --b: #1B43E8;

  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Archivo", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--caption); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 720;
  font-variation-settings: "wdth" 108;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 4px var(--tint);
}
.on-dark .eyebrow { color: var(--cobalt-2); }
.on-dark .eyebrow::before { background: var(--cobalt-2); box-shadow: 0 0 0 4px rgba(67,102,255,.22); }

/* the caption highlight: words "lit" like a short form caption */
.hl {
  background: linear-gradient(transparent 64%, rgba(255,226,74,.8) 64% 90%, transparent 90%);
  color: inherit;
  padding: 0 .04em;
  border-radius: 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.blue { color: var(--cobalt); }

h2.display { font-size: clamp(34px, 4.2vw, 58px); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-variation-settings: "wdth" 100;
  font-size: 15.5px;
  letter-spacing: 0;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; box-shadow: 0 8px 20px -12px rgba(27,67,232,.55); }
.btn-primary:hover { transform: translateY(-2px); background: var(--cobalt-deep); border-color: var(--cobalt-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); border-width: 1.5px; }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- logo ---------- */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.lockup svg { width: 40px; height: 40px; flex: none; }
.lockup .word { display: flex; align-items: baseline; gap: 7px; line-height: 1; }
.lockup .w1 { font-family: var(--display); font-weight: 850; font-variation-settings: "wdth" 125; font-size: 21px; letter-spacing: -0.02em; }
.lockup .w2 { font-family: var(--display); font-weight: 400; font-variation-settings: "wdth" 125; font-size: 21px; letter-spacing: 0.02em; }
.on-dark .lockup, .lockup.light { color: #fff; }

/* typing dots: the mark "types" on hover and once on load */
.mark .dot { transform-box: fill-box; transform-origin: center; }
.lockup:hover .mark .dot, .mark.typing .dot { animation: type 1.1s ease-in-out infinite; }
.mark .dot:nth-of-type(2) { animation-delay: .15s !important; }
.mark .dot:nth-of-type(3) { animation-delay: .3s !important; }
@keyframes type { 0%, 60%, 100% { transform: translateY(0); opacity: 1; } 30% { transform: translateY(-22%); opacity: .7; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,245,251,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav ul a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav ul a:hover { color: var(--cobalt); }
.nav ul a.btn-primary, .nav ul a.btn-primary:hover { color: #fff; }
.nav .btn { padding: 10px 18px; font-size: 14.5px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 7px 8px; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 4.6vw, 68px); margin: 22px 0 26px; }
.hero h1 .line { display: block; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero .proof-line { margin-top: 36px; display: flex; gap: 14px; align-items: center; font-size: 14.5px; color: var(--ink-3); }
.platforms { display: flex; gap: 8px; }
.platforms span {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
}
.platforms svg { width: 18px; height: 18px; }

/* phone mock */
.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone {
  width: 300px; height: 610px;
  border-radius: 46px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 50px 90px -30px rgba(11,16,48,.55), 0 0 0 1px rgba(11,16,48,.1);
  position: relative;
  transform: rotate(1.5deg);
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: linear-gradient(160deg, #1B43E8 0%, #6B3FE0 45%, #FF8A5B 100%);
  background-size: 200% 200%;
  animation: footage 12s ease-in-out infinite alternate;
}
@keyframes footage { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.screen::before { /* subtle "footage" texture */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 30% 30%, rgba(255,255,255,.25), transparent 70%),
    radial-gradient(50% 35% at 70% 75%, rgba(11,16,48,.35), transparent 70%);
}
.screen .top {
  position: absolute; top: 18px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 18px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7);
}
.screen .top b { color: #fff; border-bottom: 2px solid #fff; padding-bottom: 3px; }
.caption {
  position: absolute; left: 22px; right: 60px; top: 42%;
  font-family: var(--display); font-weight: 850; font-variation-settings: "wdth" 110;
  text-transform: uppercase; font-size: 30px; line-height: 1.05; color: #fff;
  text-shadow: 0 3px 14px rgba(0,0,0,.35);
  min-height: 70px;
}
.caption .w { display: inline-block; opacity: 0; transform: translateY(8px) scale(.96); transition: all .25s ease; margin-right: .22em; }
.caption .w.in { opacity: 1; transform: none; }
.caption .w.key { background: var(--caption); color: var(--ink); text-shadow: none; padding: 0 .12em; border-radius: .1em; }
.rail {
  position: absolute; right: 12px; bottom: 120px;
  display: grid; gap: 18px; justify-items: center;
  color: #fff; font-size: 11.5px; font-weight: 600;
}
.rail div { display: grid; justify-items: center; gap: 3px; }
.rail svg { width: 28px; height: 28px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.rail .heart.pop svg { animation: pop .5s ease; color: #FF3B5C; }
@keyframes pop { 40% { transform: scale(1.35); } }
.meta { position: absolute; left: 18px; right: 70px; bottom: 26px; color: #fff; font-size: 13px; }
.meta .handle { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.meta .handle i { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: inline-block; border: 2px solid var(--caption); }
.meta .follow { border: 1.5px solid #fff; border-radius: 6px; padding: 1px 8px; font-size: 11.5px; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.progress i { display: block; height: 100%; background: #fff; width: 0; animation: play 6s linear infinite; }
@keyframes play { to { width: 100%; } }

.float {
  position: absolute; z-index: 3; background: #fff; border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(11,16,48,.35);
  border: 1px solid var(--line);
  padding: 14px 16px; font-size: 14px;
}
.float.stat { top: 40px; left: -30px; display: grid; gap: 2px; min-width: 190px; transform: rotate(-3deg); }
.float.stat small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.float.stat strong { font-family: var(--display); font-variation-settings: "wdth" 108; font-weight: 720; font-size: 30px; letter-spacing: -0.03em; color: var(--cobalt); line-height: 1; }
.spark { height: 26px; margin-top: 6px; }
.float.dm { bottom: 120px; left: -40px; max-width: 240px; }
.float.reply { bottom: 50px; right: -14px; max-width: 220px; background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.float .who { font-weight: 700; font-size: 12.5px; display: block; margin-bottom: 2px; }
.float.reply .who { color: rgba(255,255,255,.75); }
.float { opacity: 0; transform: translateY(12px); animation: rise .7s cubic-bezier(.16,1,.3,1) forwards; }
.float.stat { animation-delay: .4s; }
.float.dm { animation-delay: 1.4s; }
.float.reply { animation-delay: 2.4s; }
@keyframes rise { to { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); } }
.float.stat { --rot: -3deg; }
.float.reply { --rot: 2deg; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: transparent; color: var(--ink-3); overflow: hidden; padding: 18px 0; margin-top: 40px; }
.marquee .track { display: flex; gap: 34px; width: max-content; animation: slide 60s linear infinite; }
.marquee span { font-family: var(--body); font-weight: 500; font-size: 16px; white-space: nowrap; display: inline-flex; align-items: center; gap: 34px; }
.marquee span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cobalt); opacity: .5; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.section-head h2 { margin-top: 18px; }
.on-dark { background: var(--ink); color: #fff; }
.on-dark .lede { color: rgba(255,255,255,.72); }

/* problem */
.problem .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.pcard .tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pcard h3 { font-family: var(--display); font-weight: 750; font-variation-settings: "wdth" 115; font-size: 23px; line-height: 1.1; margin: 12px 0 10px; letter-spacing: -0.01em; }
.pcard p { color: var(--ink-3); font-size: 15.5px; }
.pcard .fix { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--ink); }
.pcard .fix b { color: var(--cobalt); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* services */
.services .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 34px; transition: border-color .3s ease, transform .3s ease; position: relative; }
.svc:hover { border-color: #B9C5F5; transform: translateY(-2px); }
.svc .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; margin-bottom: 26px; }
.svc .ico svg { width: 22px; height: 22px; color: var(--cobalt); }
.svc h3 { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 105; font-size: 21px; letter-spacing: -0.015em; margin-bottom: 8px; }
.svc p { color: var(--ink-3); font-size: 15.5px; }
.svc ul { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: 12px; font-family: var(--mono); padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }

/* rhythm */
.rhythm .week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 60px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px 16px; min-height: 210px; display: flex; flex-direction: column; gap: 8px; }
.day > b { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.chip { font-size: 13px; font-weight: 600; padding: 8px 10px; border-radius: 10px; line-height: 1.2; opacity: 0; transform: translateY(8px); transition: all .5s cubic-bezier(.16,1,.3,1); }
.week.in .chip { opacity: 1; transform: none; }
.chip.reel { background: var(--cobalt); color: #fff; }
.chip.carousel { background: var(--tint); color: var(--cobalt-deep); }
.chip.story { background: var(--paper-2); color: var(--ink-2); border: 1px dashed var(--line); }
.chip.talk { background: var(--caption); color: var(--ink); }
.chip.shoot { background: var(--ink); color: #fff; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); margin: -40px 0 60px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 26px 22px 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink-3); }
.step:first-child::before { background: var(--cobalt); border-color: var(--cobalt); }
.step h3 { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 105; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-3); }
.step .when { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); display: block; margin-bottom: 8px; }

/* proof */
.proof { background: var(--paper-2); color: var(--ink); }
.proof .eyebrow { color: var(--cobalt); }

.proof .lede { color: var(--ink-2); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.case .head { display: flex; align-items: center; gap: 12px; }
.case .avatar { width: 46px; height: 46px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--cobalt), var(--caption), var(--cobalt)); }
.case .avatar span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--paper-2); border: 2px solid #fff; }
.case .head b { display: block; font-size: 15.5px; }
.case .head small { color: var(--ink-3); font-size: 13px; }
.case .nums { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.03em; }
.case .nums .from { font-size: 26px; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.case .nums .to { font-size: 40px; color: var(--cobalt); }
.case .nums .arr { color: var(--ink-3); }
.case p { font-size: 15px; color: var(--ink-2); }
.case .bar { height: 60px; display: flex; align-items: end; gap: 4px; }
.case .bar i { flex: 1; background: var(--tint); border-radius: 4px 4px 0 0; transition: height .8s cubic-bezier(.16,1,.3,1); height: 6%; }
.case .bar i:last-child { background: var(--cobalt); }
.todo { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; background: var(--caption); color: var(--ink); padding: 3px 8px; border-radius: 6px; align-self: flex-start; }

/* plans */
.plans .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-10px); box-shadow: 0 30px 60px -36px rgba(11,16,48,.55); }
.plan .badge { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--caption); color: var(--ink); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.plan h3 { font-family: var(--display); font-weight: 720; font-variation-settings: "wdth" 108; font-size: 28px; letter-spacing: -0.03em; }
.plan .for { color: var(--ink-3); font-size: 15px; margin: 8px 0 22px; }
.plan.featured .for { color: rgba(255,255,255,.65); }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231B43E8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan.featured li::before { background-color: var(--cobalt); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { justify-content: center; }
.plan.featured .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.plans .note { text-align: center; margin-top: 40px; color: var(--ink-3); font-size: 15px; }

/* about */
.about .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: 30px; aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: saturate(1.05); }
.portrait .ring { position: absolute; inset: -10px; border-radius: 38px; border: 1.5px solid #B9C5F5; pointer-events: none; }
.portrait .sticker { position: absolute; right: -20px; bottom: 30px; background: #fff; color: var(--ink); border: 1px solid var(--line); font-family: var(--body); font-weight: 600; font-size: 15px; padding: 12px 16px; border-radius: 14px; transform: rotate(-4deg); box-shadow: 0 16px 30px -14px rgba(11,16,48,.5); }
.about p + p { margin-top: 16px; }
.about .story { font-size: 18px; color: var(--ink-2); max-width: 58ch; }
.about h2 { margin: 18px 0 26px; }

/* group */
.group { padding: 90px 0; border-top: 1px solid var(--line); }
.group .houses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.house { border-radius: var(--radius); padding: 28px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; min-height: 190px; position: relative; overflow: hidden; transition: transform .25s ease; }
.house:hover { transform: translateY(-4px); }
.house .stone { width: 14px; height: 14px; border-radius: 50%; margin-bottom: auto; }
.house b { font-size: 13px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.house span { font-size: 15px; opacity: .75; }
.house.p { background: #F5F1E8; color: #1A1714; border: 1px solid #D4CCB6; }
.house.p .stone { background: var(--r); }
.house.w { background: #15212A; color: #E8ECE9; }
.house.w .stone { background: var(--g); }
.house.s { background: var(--cobalt); color: #fff; }
.house.s .stone { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.25); }
.house.s .here { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--caption); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.house .name { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase; font-size: 24px; letter-spacing: -0.02em; opacity: 1; }
.house.w .name { font-weight: 300; font-variation-settings: "wdth" 100; letter-spacing: .2em; font-size: 19px; }
.house.p .name { font-weight: 700; font-variation-settings: "wdth" 100; letter-spacing: -0.01em; }

/* faq */
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-weight: 650; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 28px; color: var(--cobalt); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-3); }

/* contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact h2 { margin: 18px 0 24px; }
.form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 28px; padding: 34px; display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.form input, .form textarea, .form select {
  font: inherit; font-family: var(--body); font-size: 16px; letter-spacing: 0; text-transform: none;
  color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .2s ease, background .2s ease;
}
.form select option { color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--cobalt-2); background: rgba(67,102,255,.1); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form .chips input { position: absolute; opacity: 0; pointer-events: none; }
.form .chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 14.5px; color: #fff; cursor: pointer; transition: all .2s ease; }
.form .chips input:checked + span { background: var(--caption); color: var(--ink); border-color: var(--caption); }
.form .chips label { display: inline-block; }
.form .sent { display: none; padding: 14px 16px; border-radius: 14px; background: var(--caption); color: var(--ink); font-weight: 600; }
.form.done .sent { display: block; }
.form.done .row, .form.done > label, .form.done button { display: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .form-error { display: none; padding: 14px 16px; border-radius: 14px; background: rgba(242,80,74,.14); border: 1px solid rgba(242,80,74,.5); color: #fff; font-size: 15px; line-height: 1.5; }
.form .form-error a { color: var(--caption); }
.form.err .form-error { display: block; }
.form button[disabled] { opacity: .6; pointer-events: none; }
.contact .points { margin-top: 30px; display: grid; gap: 14px; }
.contact .points div { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.8); }
.contact .points i { width: 30px; height: 30px; border-radius: 10px; background: rgba(67,102,255,.2); display: grid; place-items: center; flex: none; color: var(--cobalt-2); font-style: normal; font-weight: 800; }

/* footer */
footer.mini { background: var(--ink); color: rgba(255,255,255,.6); padding: 30px 0 50px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
footer.mini .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.mini .stones { display: flex; gap: 8px; align-items: center; }
footer.mini .stones i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
footer.mini a { text-decoration: none; }
footer.mini a:hover { color: #fff; }

/* draft ribbon so nobody mistakes this for live */
.draft { position: fixed; left: 16px; bottom: 16px; z-index: 60; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--caption); padding: 8px 12px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .section-head, .about .wrap, .faq .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .stage { min-height: 600px; }
  .problem .cards, .services .grid, .cases, .plans .grid, .group .houses { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; border-top: 0; }
  .step { border-top: 2px solid var(--ink); }
  .rhythm .week { grid-template-columns: repeat(4, 1fr); }
  .plan.featured { transform: none; }
}
@media (max-width: 720px) {
  section { padding: 84px 0; }
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; align-items: stretch; }
  .nav ul.open { display: flex; }
  .nav ul li a { display: block; padding: 12px 0; }
  .nav-toggle { display: block; }
  .problem .cards, .services .grid, .cases, .plans .grid, .group .houses, .steps { grid-template-columns: 1fr; }
  .rhythm .week { grid-template-columns: repeat(2, 1fr); }
  .form .row { grid-template-columns: 1fr; }
  .float.dm { left: -6px; }
  .float.reply { right: -4px; }
  .float.stat { left: 0; }
  .portrait .sticker { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .float { opacity: 1; transform: none; }
}
