/* ============================================================
   ResearchLift — warm, human, editorial academic redesign
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,300;1,6..72,400&family=Hanken+Grotesk:wght@300;400;500;600;700;800&display=swap');

:root {
  --paper:       #FBF8F3;
  --paper-deep:  #F3ECE1;
  --paper-card:  #FFFDFA;
  --ink:         #1C2433;
  --ink-2:       #4B5468;
  --muted:       #8A8F9C;
  --navy:        #16324F;
  --navy-deep:   #0E2238;
  --navy-soft:   #2E5680;
  --clay:        #BE6E45;
  --clay-deep:   #A1572F;
  --clay-tint:   #F0DDCB;
  --border:      #E7DFD2;
  --border-soft: #EFE8DC;

  --serif: 'Newsreader', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(28,36,51,.05), 0 2px 8px rgba(28,36,51,.04);
  --shadow-md: 0 8px 30px -12px rgba(22,50,79,.18), 0 2px 8px rgba(28,36,51,.04);
  --shadow-lg: 0 30px 70px -28px rgba(14,34,56,.32), 0 8px 22px -16px rgba(28,36,51,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

::selection { background: var(--clay); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Eyebrow label ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--clay-deep);
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--clay);
  display: inline-block; transform-origin: left;
}
.eyebrow.center { justify-content: center; }

/* ============================================================
   Scroll progress + custom cursor
   ============================================================ */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--clay), var(--navy));
  z-index: 200; transition: width .12s linear;
}

/* ============================================================
   Header
   ============================================================ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
header .bar { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; transition: padding-block .4s var(--ease); }
header.scrolled { background: rgba(251,248,243,.82); backdrop-filter: blur(14px); border-color: var(--border); box-shadow: 0 4px 24px -18px rgba(14,34,56,.4); }
header.scrolled .bar { padding-block: 13px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; border-radius: 7px; transition: height .4s var(--ease); }
header.scrolled .brand img { height: 36px; }
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--navy); }
.brand-name b { color: var(--clay); font-weight: 500; }

nav.menu { display: flex; align-items: center; gap: 4px; }
nav.menu a {
  position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 9px 15px; border-radius: 9px; transition: color .25s;
}
nav.menu a::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 1.5px;
  background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
nav.menu a:hover { color: var(--navy); }
nav.menu a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans);
  font-size: 14.5px; font-weight: 600; padding: 12px 22px; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg, .btn .ic { flex: none; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-clay { background: var(--clay); color: #fff; box-shadow: 0 8px 20px -10px rgba(190,110,69,.7); }
.btn-clay:hover { background: var(--clay-deep); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--navy); background: var(--paper-card); }
.btn-ghost-dark { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.22); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.16); }
.btn:active { transform: scale(.96); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1.5px solid var(--border); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.menu-toggle span { width: 19px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s var(--ease); }

/* mobile menu panel */
.mobile-nav { position: fixed; inset: 0; z-index: 119; background: var(--paper); transform: translateY(-100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); gap: 6px; }
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { font-family: var(--serif); font-size: 32px; color: var(--navy); padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; font-size: 16px; padding: 15px 28px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: 168px; padding-bottom: 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob.b1 { width: 540px; height: 540px; background: radial-gradient(circle, #d9e4f0, transparent 70%); top: -180px; right: -120px; }
.blob.b2 { width: 460px; height: 460px; background: radial-gradient(circle, #f3e1d2, transparent 70%); bottom: -160px; left: -140px; opacity: .6; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%); opacity: .55; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; background: var(--paper-card);
  border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px 8px 12px;
  font-size: 13px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
}
.hero-badge .star { color: var(--clay); font-size: 14px; }
.hero-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: #3a9d6b; box-shadow: 0 0 0 0 rgba(58,157,107,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(58,157,107,.5);} 70%{box-shadow:0 0 0 9px rgba(58,157,107,0);} 100%{box-shadow:0 0 0 0 rgba(58,157,107,0);} }

.hero h1 { font-size: clamp(40px, 6.2vw, 78px); margin: 26px 0 0; letter-spacing: -.022em; }
.hero h1 em { font-style: italic; color: var(--clay); font-weight: 400; }
.hero h1 .reveal-line { display: block; overflow: hidden; }
.hero h1 .reveal-line > span { display: block; }
.hero p.lede { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 540px; margin-top: 24px; line-height: 1.65; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 3vw, 42px); margin-top: 50px; padding-top: 34px; border-top: 1px solid var(--border); }
.stat .num { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 500; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.stat .num .suffix { color: var(--clay); }
.stat .label { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; font-weight: 500; line-height: 1.3; }

/* Hero right card */
.hero-card { position: relative; background: var(--paper-card); border: 1px solid var(--border); border-radius: 26px; padding: 30px; box-shadow: var(--shadow-lg); }
.hero-card::before { content: ''; position: absolute; inset: 0; border-radius: 26px; padding: 1px; background: linear-gradient(140deg, rgba(190,110,69,.4), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-card h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 6px; }
.hero-card .card-sub { font-family: var(--serif); font-size: 23px; color: var(--ink); margin-bottom: 20px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.service-list li { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background .25s, transform .25s var(--ease); }
.service-list li:hover { background: var(--paper-deep); transform: translateX(4px); }
.service-list .check { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--clay-tint); color: var(--clay-deep); display: grid; place-items: center; font-size: 12px; font-weight: 800; }

/* index strip */
.index-strip { position: relative; z-index: 1; margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--border); }
.index-strip .cap { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--navy); opacity: .55; white-space: nowrap; transition: opacity .3s, color .3s; }
.marquee-track span:hover { opacity: 1; color: var(--clay); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   Section scaffolding
   ============================================================ */
section.block { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 18px 0 0; letter-spacing: -.02em; }
.section-head h2 em { font-style: italic; color: var(--clay); }
.section-head p { font-size: 17.5px; color: var(--ink-2); margin-top: 20px; line-height: 1.65; }

/* ---- About ---- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-copy p { font-size: 16.5px; color: var(--ink-2); margin-top: 18px; line-height: 1.72; }
.about-copy p:first-of-type { margin-top: 26px; }
.about-copy .btn { margin-top: 34px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { background: var(--paper-card); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--clay-tint); }
.feature .fic { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(150deg, var(--navy), var(--navy-soft)); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.feature:nth-child(2) .fic, .feature:nth-child(3) .fic { background: linear-gradient(150deg, var(--clay), var(--clay-deep)); }
.feature h4 { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ---- Services ---- */
.services { background: var(--paper-deep); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { position: relative; background: var(--paper-card); border: 1px solid var(--border); border-radius: 22px; padding: 32px 30px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--clay); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc:hover::after { transform: scaleY(1); }
.svc .emoji { font-size: 30px; display: block; margin-bottom: 20px; transition: transform .45s var(--ease); }
.svc:hover .emoji { transform: scale(1.18) rotate(-6deg); }
.svc h3 { font-size: 23px; margin-bottom: 12px; }
.svc p { font-size: 14.5px; color: var(--ink-2); line-height: 1.62; }
.svc .svc-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--navy); transition: gap .3s var(--ease), color .3s; }
.svc .svc-link:hover { color: var(--clay); gap: 13px; }
.svc-num { position: absolute; top: 24px; right: 28px; font-family: var(--serif); font-size: 15px; color: var(--border); font-weight: 500; }

/* ---- Journals / Databases ---- */
.journals { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.journals .grid-lines { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 20%, transparent 75%); opacity: 1; }
.journals .blob.bj { width: 600px; height: 600px; background: radial-gradient(circle, rgba(190,110,69,.35), transparent 70%); top: -200px; left: -150px; filter: blur(70px); opacity: .7; }
.journals .eyebrow { color: var(--clay-tint); }
.journals .eyebrow::before { background: var(--clay-tint); }
.journals h2 { color: #fff; }
.journals h2 em { color: var(--clay-tint); }
.journals .section-head p { color: rgba(255,255,255,.72); }
.journals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.jcard { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 30px 26px; transition: background .4s var(--ease), transform .4s var(--ease), border-color .4s; }
.jcard:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); border-color: rgba(240,221,203,.4); }
.jtag { display: inline-flex; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay-tint); background: rgba(190,110,69,.18); padding: 6px 12px; border-radius: 8px; margin-bottom: 22px; }
.jcard h3 { color: #fff; font-size: 21px; margin-bottom: 12px; }
.jcard p { font-size: 13.5px; color: rgba(255,255,255,.66); line-height: 1.62; }

/* ---- Process ---- */
.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; top: 33px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .ring { width: 66px; height: 66px; border-radius: 50%; background: var(--paper-card); border: 2px solid var(--border); display: grid; place-items: center; margin: 0 auto 22px; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--navy); transition: transform .45s var(--ease), background .45s, color .45s, border-color .45s, box-shadow .45s; }
.step:hover .ring { background: var(--navy); color: #fff; border-color: var(--navy); transform: scale(1.1); box-shadow: var(--shadow-md); }
.step h4 { font-family: var(--sans); font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-2); line-height: 1.6; padding-inline: 6px; }

/* ---- Edge / Advantages ---- */
.edge { background: var(--paper-deep); }
.edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.edge-card { background: var(--paper-card); border: 1px solid var(--border); border-radius: 22px; padding: 44px 36px; text-align: center; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.edge-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.edge-card .big { font-family: var(--serif); font-size: clamp(48px, 6vw, 70px); font-weight: 500; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.edge-card .big .suffix { color: var(--clay); }
.edge-card h4 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin: 20px 0 12px; }
.edge-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.62; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: 32px; padding: clamp(48px, 7vw, 86px); text-align: center; position: relative; overflow: hidden; }
.cta-band .blob { width: 500px; height: 500px; background: radial-gradient(circle, rgba(190,110,69,.4), transparent 70%); top: -180px; right: -100px; filter: blur(60px); opacity: .65; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4.6vw, 58px); position: relative; z-index: 1; max-width: 880px; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 600px; margin: 22px auto 0; position: relative; z-index: 1; }
.cta-band .hero-actions { justify-content: center; position: relative; z-index: 1; margin-top: 38px; }

/* ---- Contact ---- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-info h2 { font-size: clamp(30px, 4vw, 48px); }
.contact-info > p { color: var(--ink-2); font-size: 16.5px; margin-top: 20px; line-height: 1.7; }
.contact-channels { margin-top: 38px; display: flex; flex-direction: column; gap: 14px; }
.channel { display: flex; align-items: center; gap: 16px; background: var(--paper-card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.channel:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: var(--clay-tint); }
.channel .cic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--clay-tint); color: var(--clay-deep); display: grid; place-items: center; font-size: 20px; }
.channel .clabel { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.channel .cval { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 3px; }

.contact-form { background: var(--paper-card); border: 1px solid var(--border); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 26px; margin-bottom: 26px; }
.field { margin-bottom: 18px; position: relative; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 13px 15px; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-soft); background: var(--paper-card);
  box-shadow: 0 0 0 4px rgba(46,86,128,.1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 8px; font-size: 16px; padding: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 16px; }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success.show { display: block; animation: fade-up .6s var(--ease) both; }
.form-success .check-big { width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; background: var(--clay-tint); color: var(--clay-deep); display: grid; place-items: center; font-size: 34px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--ink-2); }

/* ---- Footer ---- */
footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding-block: 70px 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; }
.footer-brand img { height: 46px; border-radius: 8px; margin-bottom: 20px; background: #fff; padding: 4px; }
.footer-brand p { font-size: 14.5px; line-height: 1.7; max-width: 360px; }
.footer-col h5 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: rgba(255,255,255,.7); transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: var(--clay-tint); padding-left: 5px; }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---- Floating WhatsApp ---- */
.fab { position: fixed; bottom: 26px; right: 26px; z-index: 130; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.6); transition: transform .35s var(--ease); }
.fab:hover { transform: scale(1.1) rotate(8deg); }
.fab svg { width: 30px; height: 30px; }
.fab .ripple { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ripple 2.2s infinite; }
@keyframes ripple { 0%{transform:scale(1);opacity:.7;} 100%{transform:scale(1.7);opacity:0;} }

/* ---- Turnitin modal ---- */
.modal-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(14,34,56,.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal { background: var(--paper-card); border-radius: 24px; max-width: 480px; width: 100%; padding: 40px 38px; box-shadow: var(--shadow-lg); position: relative; transform: translateY(30px) scale(.96); transition: transform .5s var(--ease); border: 1px solid var(--border); }
.modal-overlay.show .modal { transform: translateY(0) scale(1); }
.modal .x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; color: var(--ink-2); transition: background .25s, color .25s; }
.modal .x:hover { background: var(--paper-deep); color: var(--ink); }
.modal .tag { display: inline-flex; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-deep); background: var(--clay-tint); padding: 6px 13px; border-radius: 8px; margin-bottom: 18px; }
.modal h3 { font-size: 25px; margin-bottom: 14px; }
.modal h3 .price { color: var(--clay); }
.modal p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; margin-bottom: 24px; }
.modal .btn { width: 100%; justify-content: center; }

/* ============================================================
   Scroll reveal utilities
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }

.line-rise > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.line-rise.in > span { transform: translateY(0); }

@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .line-rise > span { opacity: 1 !important; transform: none !important; }
  .marquee-track, .blob, .pulse, .ripple { animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid, .journals-grid, .edge-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .steps::before { display: none; }
}
@media (max-width: 920px) {
  nav.menu, .header-cta .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .services-grid, .journals-grid, .edge-grid, .about-features { grid-template-columns: 1fr; }
  .field.row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
}
