/* ADRIANA GIALLUISI — style.css v2 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --black:       #0a0a0a;
  --off-black:   #141414;
  --graphite:    #2c2c2c;
  --stone:       #6b6560;
  --warm-white:  #f5f2ee;
  --cream:       #faf8f4;
  --fog:         #e8e3dc;
  --ink-deep:    #0d1529;
  --ink-dark:    #080e1c;
  --lavender:    #7b6eb8;
  --lavender-lt: #b8aedd;
  --lavender-soft: rgba(123,110,184,0.12);
  --lavender-border: rgba(123,110,184,0.25);
  --sage:        #3d5e50;
  --display:     'Cormorant Garamond', serif;
  --body:        'DM Sans', sans-serif;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --t:           0.2s ease;
}

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--cream);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 1.5rem 0;
  transition: background var(--t), backdrop-filter var(--t);
}
nav.scrolled {
  background: rgba(8,14,28,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-ag-mark { width: 28px; height: auto; display: block; }
.nav-logo-name {
  font-family: var(--display); font-size: 17px;
  font-weight: 300; letter-spacing: 0.08em; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color var(--t);
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 8px 18px;
  background: rgba(123,110,184,0.18);
  border: 1px solid rgba(123,110,184,0.32);
  border-radius: 999px;
  color: var(--lavender-lt) !important;
}
.nav-cta:hover { background: rgba(123,110,184,0.3) !important; color: #fff !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2a1e6e, #5c38cc);
  color: var(--warm-white); border: none; border-radius: 999px;
  font-family: var(--body); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 27px;
  background: transparent; color: var(--warm-white);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
  font-family: var(--body); font-size: 14px; font-weight: 400;
  text-decoration: none; cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow, .btn-secondary:hover .btn-arrow { transform: translateX(4px); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: linear-gradient(-45deg, #040a14, #080e1c, #0d1529, #060c1e, #080e1c);
  background-size: 400% 400%;
  animation: gradShift 14s ease infinite;
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 0;
}

#workflow-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1; opacity: 0.5;
}

@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px; top: -150px; right: -100px;
  background: rgba(123,110,184,0.2);
  animation: floatA 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 350px; height: 350px; bottom: -80px; left: -60px;
  background: rgba(61,94,80,0.16);
  animation: floatB 12s ease-in-out infinite;
}
@keyframes floatA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,30px)} }
@keyframes floatB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(25px,-20px)} }

.hero-inner {
  width: 100%; max-width: 1160px; margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 5rem; align-items: center;
  position: relative; z-index: 2;
}

/* hero left */
.hero-left { display: flex; flex-direction: column; gap: 1.75rem; }

.hero-photo-block {
  position: relative; width: 200px; height: 200px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(123,110,184,0.4);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,110,184,0.45) 0%, rgba(8,14,28,0.3) 100%);
}

.hero-text { }
.hero-eyebrow {
  font-size: 11px; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lavender-lt);
  margin-bottom: 0.75rem;
}
.hero-name {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300; color: #fff;
  line-height: 0.95; letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero-name em { font-style: italic; color: var(--lavender-lt); display: block; }
.hero-tagline {
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300; color: rgba(255,255,255,0.65);
  line-height: 1.5; margin-bottom: 2rem;
  border-left: 1px solid rgba(123,110,184,0.4);
  padding-left: 1.25rem;
}
.hero-tagline em { font-style: italic; color: var(--lavender-lt); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* hero right — stat cards */
.hero-right { display: flex; flex-direction: column; gap: 1px; }

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  transition: background var(--t);
}
.stat-card:hover { background: rgba(255,255,255,0.07); }
.stat-card + .stat-card { margin-top: 12px; }

.stat-number {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 300; color: var(--warm-white);
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-number em { font-style: italic; color: var(--lavender-lt); }
.stat-label {
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.42); line-height: 1.5;
}

/* ── SHARED ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
section { padding: 8rem 0; }

.section-eyebrow {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lavender); margin-bottom: 1rem;
}
.section-eyebrow.light { color: var(--lavender-lt); }

.section-heading {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; color: var(--black); line-height: 1.1;
  margin-bottom: 1.5rem;
}
.section-heading em { font-style: italic; color: var(--lavender); }
.section-heading.light { color: var(--warm-white); }
.section-heading.light em { color: var(--lavender-lt); }

.section-text {
  font-size: 15px; font-weight: 300;
  color: var(--stone); line-height: 1.8; margin-bottom: 1.5rem;
}

/* ── PROBLEM ── */
#problem { background: var(--cream); }
.problem-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.problem-callout {
  font-family: var(--display); font-size: 22px;
  font-weight: 300; font-style: italic;
  color: var(--black); line-height: 1.5;
  border-left: 2px solid var(--lavender);
  padding-left: 1.25rem; margin-top: 1.5rem;
}
.problem-pill {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--warm-white);
  border: 1px solid var(--fog);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
.pill-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pill-title { font-size: 13px; font-weight: 500; color: var(--black); margin-bottom: 3px; }
.pill-desc { font-size: 12px; font-weight: 300; color: var(--stone); line-height: 1.5; }

/* ── METHODOLOGY ── */
#methodology { background: var(--off-black); color: var(--warm-white); }
.method-header { text-align: center; max-width: 560px; margin: 0 auto 4rem; }
.method-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
  margin-bottom: 3rem;
}
.method-card { background: var(--off-black); padding: 2.5rem 2rem; position: relative; }
.method-num {
  font-family: var(--display); font-size: 56px; font-weight: 300;
  color: rgba(255,255,255,0.04); line-height: 1;
  position: absolute; top: 1.5rem; right: 1.5rem;
}
.method-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lavender-soft); border: 1px solid var(--lavender-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.method-title {
  font-family: var(--display); font-size: 20px; font-weight: 300;
  color: var(--warm-white); margin-bottom: 0.75rem;
}
.method-desc { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.42); line-height: 1.7; }
.method-note {
  display: flex; align-items: center; gap: 1rem;
  justify-content: center; padding: 1.25rem 2rem;
  background: var(--lavender-soft); border: 1px solid var(--lavender-border);
  border-radius: var(--radius-md); max-width: 560px; margin: 0 auto;
}
.method-note p {
  font-family: var(--display); font-size: 18px; font-weight: 300;
  font-style: italic; color: var(--lavender-lt); line-height: 1.45;
}

/* ── CASE ── */
#case { background: var(--ink-dark); color: var(--warm-white); }
.case-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start; margin-top: 2rem;
}
.case-heading {
  font-family: var(--display); font-size: clamp(32px,4vw,52px);
  font-weight: 300; color: var(--warm-white); margin-bottom: 0.5rem;
}
.case-context {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1.5rem;
}
.case-problem {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.55);
  line-height: 1.75; margin-bottom: 1.5rem;
}
.case-solution-label {
  font-size: 9px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lavender); margin-bottom: 0.75rem;
}
.case-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.case-steps li {
  font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,0.6);
  padding-left: 1.25rem; position: relative; line-height: 1.6;
}
.case-steps li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--lavender);
}
.case-right { display: flex; flex-direction: column; gap: 16px; }
.case-badge {
  display: flex; flex-direction: column; gap: 6px;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
}
.badge-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lavender-soft); border: 1px solid var(--lavender-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.badge-value {
  font-family: var(--display); font-size: 40px; font-weight: 300;
  color: var(--warm-white); line-height: 1;
}
.badge-value em { font-style: italic; color: var(--lavender-lt); }
.badge-label { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.38); line-height: 1.5; }

/* ── ABOUT ── */
#about { background: var(--cream); }
.about-inner {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 6rem; align-items: start;
}
.about-photo-col { position: sticky; top: 7rem; }
.about-photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius-lg); display: block; margin-bottom: 1.25rem;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tag {
  padding: 6px 14px; border: 1px solid var(--fog);
  border-radius: 999px; font-size: 11.5px; color: var(--graphite);
}
.about-heading {
  font-family: var(--display); font-size: clamp(28px,3.5vw,44px);
  font-weight: 300; color: var(--black); line-height: 1.15;
  margin-bottom: 1.75rem;
}
.about-heading em { font-style: italic; color: var(--lavender); }
.about-text { font-size: 15px; font-weight: 300; color: var(--stone); line-height: 1.85; margin-bottom: 1.25rem; }
.about-text strong { color: var(--black); font-weight: 500; }
.about-highlight {
  font-family: var(--display); font-size: 20px; font-weight: 300;
  font-style: italic; color: var(--black); line-height: 1.5;
  border-left: 2px solid var(--lavender); padding-left: 1.25rem;
  margin: 2rem 0;
}

/* ── CTA FINAL ── */
#cta {
  background: var(--black); text-align: center;
  padding: 10rem 0; position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(123,110,184,0.14) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-heading {
  font-family: var(--display); font-size: clamp(36px,5vw,64px);
  font-weight: 300; color: var(--warm-white); line-height: 1.1;
  max-width: 700px; margin: 1rem auto 3rem;
}
.cta-heading em { font-style: italic; color: var(--lavender-lt); }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--ink-dark); padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-ag { width: 20px; height: auto; display: block; }
.footer-name { font-family: var(--display); font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; }
.footer-copy { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.18); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero-right { flex-direction: row; gap: 12px; }
  .stat-card + .stat-card { margin-top: 0; }
  .problem-inner { grid-template-columns: 1fr; gap: 3rem; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .case-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-col { position: relative; top: 0; }
  .about-photo { aspect-ratio: 1/1; max-width: 280px; border-radius: 50%; }
  section { padding: 5rem 0; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-right { flex-direction: column; }
  .method-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-photo-block { width: 160px; height: 160px; }
}
