/* iriseintelligence.com: dark, soft green glow, Inter Tight. One stylesheet for every page. */
:root {
  --bg: #080807;
  --card: #0f0f0f;
  --card-2: #141712;
  --line: #232323;
  --text: #ffffff;
  --muted: #8f8f8f;
  --accent: #d3ffca;
  --accent-deep: #102b1f;
  --radius: 20px;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 'Inter Tight', Inter, system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: #000; padding: 8px 12px; border-radius: 8px; }

/* ---- Loader: the logo, then the page ---- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: #000;
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader img { width: 120px; opacity: 0; animation: logo-in 1s ease forwards; }
.loader::after {
  content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, #d3ffca22, transparent 70%); animation: breathe 1.6s ease-in-out infinite;
}
.loader.done { opacity: 0; visibility: hidden; }
@keyframes logo-in { from { opacity: 0; transform: translateY(8px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .6; } }

/* ---- Background glow ---- */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow span {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle, #1c3a2a 0%, transparent 60%); opacity: .55; filter: blur(40px);
  animation: drift 22s ease-in-out infinite alternate;
}
.glow span:nth-child(1) { left: -25vmax; top: -30vmax; }
.glow span:nth-child(2) { right: -30vmax; top: 20vh; animation-delay: -8s; opacity: .35; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.1); } }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: #080807cc; border-bottom: 1px solid #ffffff0d; }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav .brand img { height: 44px; width: auto; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  font: 600 15px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--accent); color: #07140d; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px #d3ffca33; }
.btn-ghost { border-color: var(--line); color: var(--text); background: #ffffff08; }
.btn-ghost:hover { border-color: #3a3a3a; }
.btn svg { width: 16px; height: 16px; }

/* ---- Sections ---- */
section { padding: 110px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; margin: 0; }
h2 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; margin: 14px 0 18px; }
h3 { font-size: 22px; letter-spacing: -.01em; }
.lede { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0; }

/* ---- Hero ---- */
.hero { padding: 120px 0 90px; }
.hero h1 { font-size: clamp(33px, 7.4vw, 92px); line-height: 1.04; }
.hero h1 .line { display: block; }
.hero p { margin: 28px 0 36px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .proof { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; color: var(--muted); font-size: 14px; }
.hero .proof img { height: 40px; width: auto; border-radius: 8px; opacity: .85; }

/* ---- Cards ---- */
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 10px 0 0; }

/* Process */
.steps { display: grid; gap: 16px; margin-top: 54px; grid-template-columns: repeat(6, 1fr); }
.steps .card { grid-column: span 2; position: relative; overflow: hidden; }
.steps .card:nth-child(4), .steps .card:nth-child(5) { grid-column: span 3; }
.steps .num { font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 18px; display: block; }
.steps .card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, #d3ffca14, transparent 70%); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 54px; }
.mock { background: #0a0a0a; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 22px; font-size: 14px; min-height: 172px; }
.flow { display: grid; gap: 8px; }
.flow .row { display: flex; align-items: center; gap: 12px; background: #121212; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.flow .row img { width: 22px; height: 22px; }
.flow .row small { color: var(--muted); display: block; font-size: 12px; }
.flow .tick { margin-left: auto; color: var(--accent); }
.chat .b { max-width: 84%; padding: 9px 12px; border-radius: 12px; margin-bottom: 8px; }
.chat .them { background: #161616; border: 1px solid var(--line); }
.chat .ai { background: var(--accent-deep); color: var(--accent); margin-left: auto; }
.wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 110px; }
.wave i { width: 5px; border-radius: 4px; background: var(--accent); animation: wv 1.2s ease-in-out infinite; opacity: .85; }
@keyframes wv { 0%, 100% { height: 14px; } 50% { height: 70px; } }
.wave-cap { text-align: center; color: var(--muted); font-size: 13px; }
.bars { display: grid; gap: 10px; }
.bars div { display: grid; grid-template-columns: 110px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.bars b { height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #6fae64); display: block; }
.bars span:last-child { color: var(--accent); text-align: right; }

/* Work */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 54px; }
.work .card { display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, transform .2s; }
.work .card:hover { border-color: #3a4a3a; transform: translateY(-2px); }
.work .tag { font-size: 13px; color: var(--accent); }
.work .card h3 { margin-top: 10px; }
.work .go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.work ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.quote { margin: 0; display: flex; flex-direction: column; }
.quote .who { margin-top: auto; }
.quote p { margin-bottom: 24px; }
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: -.01em; }
.quote p { font-size: 15px; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-weight: 600; font-size: 15px; }
.who small { color: var(--muted); font-size: 13px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
main form { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
main input, main textarea {
  width: 100%; background: #0c0c0c; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  color: var(--text); font: 16px inherit; font-family: inherit;
}
main input:focus, main textarea:focus { outline: none; border-color: #4d6b4d; box-shadow: 0 0 0 3px #d3ffca1a; }
main textarea { min-height: 110px; resize: vertical; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.fine { font-size: 12.5px; color: var(--muted); margin: 0; }
.fine a { color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; margin: 0; min-height: 1em; }
.form-msg.err { color: #ff9b8a; }

/* FAQ */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 28px; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 760px; }

/* CTA band */
.band { text-align: center; padding: 90px 24px; border-radius: 28px; background: radial-gradient(ellipse at 50% 120%, #1f4a33, var(--card) 70%); border: 1px solid var(--line); }
.band p { margin: 14px auto 30px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot img { height: 56px; width: auto; }
.foot h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.foot a { display: block; text-decoration: none; color: #cfcfcf; margin-bottom: 8px; font-size: 15px; }
.foot a:hover { color: var(--accent); }
.legal-line { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }

/* Legal + simple pages */
.page { padding: 90px 0 40px; }
.page h1 { font-size: clamp(36px, 6vw, 60px); margin: 12px 0 28px; }
.prose { max-width: 780px; color: #cfcfcf; }
.prose h2 { font-size: 24px; margin: 38px 0 10px; letter-spacing: -.01em; color: var(--text); }
.prose p { margin: 0 0 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.book-frame { width: 100%; min-height: 760px; border: 0; border-radius: var(--radius); background: #fff; margin-top: 36px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero .line { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .9s ease, transform .9s ease, filter .9s ease; }
.ready .hero .line { opacity: 1; transform: none; filter: none; }
.ready .hero .line:nth-child(2) { transition-delay: .12s; }
.ready .hero .line:nth-child(3) { transition-delay: .24s; }
.ready .hero .line:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero .line { opacity: 1; transform: none; filter: none; }
}

/* ---- Small screens ---- */
@media (max-width: 900px) {
  .nav nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); box-shadow: 0 30px 40px #000c; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 0; font-size: 17px; color: var(--text); }
  .nav .btn { display: none; }
  .menu-btn { display: block; }
  .steps { grid-template-columns: 1fr; }
  .steps .card, .steps .card:nth-child(4), .steps .card:nth-child(5) { grid-column: auto; }
  .services, .work, .quotes, .contact, .foot { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .hero { padding: 72px 0 60px; }
}
@media (max-width: 520px) {
  .two { grid-template-columns: 1fr; }
  .bars div { grid-template-columns: 90px 1fr 34px; }
  .book-frame { min-height: 900px; }
}
