:root{
  --bg-lavender-l: #f3f0fb;
  --bg-lavender-r: #eef1fb;
  --ink-navy: #2b2a3d;
  --accent-indigo: #4b3ec9;
  --accent-indigo-deep: #3a2f9e;
  --muted-text: #4a4a5a;
  --card-border: #e3e0f2;
  --card-bg: #ffffff;
}

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

html{
  scroll-behavior: smooth;
  overflow-x:hidden;
  overflow-y:auto;
}

html,body{
  width:100%;
  min-height:100vh;
  font-family:'Poppins', sans-serif;
  background: linear-gradient(120deg, var(--bg-lavender-l) 0%, #f6f3fc 45%, var(--bg-lavender-r) 100%);
  color: var(--ink-navy);
}

.page{
  position:relative;
  max-width:1536px;
  margin:0 auto;
  min-height:1017px;
  padding: 48px 96px 60px;
}

/* ambient background flourishes */
.bg-lines{
  position:absolute;
  top:0; left:0; width:100%; height:100%;
  pointer-events:none;
  opacity:0.35;
  background-image:
    radial-gradient(circle at 8% 15%, rgba(120,100,220,0.06), transparent 40%),
    radial-gradient(circle at 95% 80%, rgba(120,100,220,0.08), transparent 45%);
  transition: opacity 0.6s ease;
}

.compass-mark{
  position:absolute;
  bottom:20px;
  right:40px;
  width:220px;
  height:220px;
  opacity:0.10;
  pointer-events:none;
  transition: transform 1.2s ease, opacity 0.6s ease;
}
.page:hover .compass-mark{
  transform: rotate(18deg);
  opacity:0.16;
}

.quill-mark{
  position:absolute;
  bottom:40px;
  left:60px;
  width:90px;
  opacity:0.55;
  pointer-events:none;
  transition: transform 0.6s ease;
}
.quill-mark.nudge{
  transform: translateY(-6px) rotate(-4deg);
}

/* logo */
.logo{
  position:absolute;
  top:44px;
  right:96px;
  font-family:'Dancing Script', cursive;
  font-size:30px;
  font-weight:600;
  color: var(--accent-indigo-deep);
  z-index:5;
  cursor: default;
  transition: color 0.3s ease, transform 0.3s ease;
}
.logo:hover{
  color: var(--accent-indigo);
  transform: scale(1.04);
}

/* layout grid */
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  align-items:start;
  padding-top: 40px;
}

.copy-col{
  padding-top: 30px;
  z-index:3;
}

.eyebrow{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom: 22px;
  opacity:0;
  animation: fadeUp 0.7s ease forwards;
}
.eyebrow span{
  font-size:13px;
  font-weight:600;
  letter-spacing: 3px;
  color: var(--accent-indigo);
  text-transform:uppercase;
}
.eyebrow .rule{
  width:34px;
  height:2px;
  background: var(--accent-indigo);
  transition: width 0.4s ease;
}
.eyebrow:hover .rule{
  width:56px;
}

.headline{
  font-family:'Playfair Display', serif;
  font-weight:800;
  line-height: 0.98;
  letter-spacing: 1px;
  text-align: left;
  opacity:0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}
.headline .line1{
  display:block;
  font-size: 88px;
  color: var(--accent-indigo-deep);
  transition: letter-spacing 0.4s ease, color 0.4s ease;
}
.headline .line1:hover{
  letter-spacing: 3px;
  color: var(--accent-indigo);
}
.headline .line2{
  display:block;
  font-size: 88px;
  color: #2c2b3f;
  margin-top: 4px;
  transition: letter-spacing 0.4s ease;
}
.headline .line2:hover{
  letter-spacing: 3px;
}

.roles{
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  font-size: 15px;
  font-weight:600;
  letter-spacing: 3px;
  color: var(--accent-indigo);
  text-transform: uppercase;
  opacity:0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.roles .role-group{
  white-space: nowrap;
}
.roles .dot{
  margin: 0 12px;
  opacity:0.6;
}

.quote{
  margin-top: 34px;
  display:flex;
  gap: 14px;
  max-width: 480px;
  align-items:flex-start;
  opacity:0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.quote .mark{
  font-family:'Playfair Display', serif;
  font-size: 46px;
  color: var(--accent-indigo);
  line-height: 1;
  font-weight:700;
}
.quote p{
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted-text);
  padding-top: 6px;
}

.pillars-label{
  margin-top: 56px;
  margin-bottom: 18px;
  opacity:0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.pillars-label span{
  font-size:13px;
  font-weight:600;
  letter-spacing: 3px;
  color: var(--accent-indigo);
  text-transform:uppercase;
}
.pillars-label .rule{
  width:34px;
  height:2px;
  background: var(--accent-indigo);
  margin-top:10px;
}

/* image column */
.image-col{
  position:relative;
  height: 620px;
  z-index:2;
}

.portrait-frame{
  position:absolute;
  top: -10px;
  right: -96px;
  width: 760px;
  height: 640px;
  overflow:hidden;
}

.portrait-frame img,
.portrait-frame .placeholder{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s ease;
}

.portrait-frame img{
  object-position: center 12%;
}

.portrait-frame:hover img{
  transform: scale(1.05);
}

.placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(160deg, #d9d3f0 0%, #b9b3e0 45%, #9791cf 100%);
  color: rgba(255,255,255,0.75);
  font-family:'Poppins', sans-serif;
  font-size: 15px;
  font-weight:500;
  letter-spacing: 1px;
  text-align:center;
  padding: 40px;
}

/* fade mask matching original: fades to background at bottom and left edge */
.portrait-fade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(243,240,251,0) 55%, rgba(243,240,251,0.98) 92%),
    linear-gradient(to right,
      rgba(243,240,251,0.98) 0%,
      rgba(243,240,251,0.9) 8%,
      rgba(243,240,251,0.72) 16%,
      rgba(243,240,251,0.48) 24%,
      rgba(243,240,251,0.26) 31%,
      rgba(243,240,251,0.1) 38%,
      rgba(243,240,251,0) 46%
    );
  pointer-events:none;
}

/* pillars row */
.pillars{
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.pillar-card{
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 22px 16px 24px;
  box-shadow: 0 12px 24px -18px rgba(60,40,140,0.25);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity:0;
  animation: fadeUp 0.6s ease forwards;
}
.pillar-card:nth-child(1){ animation-delay: 0.5s; }
.pillar-card:nth-child(2){ animation-delay: 0.58s; }
.pillar-card:nth-child(3){ animation-delay: 0.66s; }
.pillar-card:nth-child(4){ animation-delay: 0.74s; }
.pillar-card:nth-child(5){ animation-delay: 0.82s; }
.pillar-card:nth-child(6){ animation-delay: 0.9s; }

.pillar-card:hover{
  transform: translateY(-8px);
  border-color: var(--accent-indigo);
  box-shadow: 0 20px 34px -16px rgba(60,40,140,0.35);
}

.pillar-card.active{
  border-color: var(--accent-indigo-deep);
  box-shadow: 0 20px 34px -14px rgba(60,40,140,0.45);
}

.pillar-num{
  font-size:11px;
  font-weight:600;
  letter-spacing:1px;
  color: #9a94b8;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}
.pillar-card:hover .pillar-num{
  color: var(--accent-indigo);
}

.pillar-icon{
  width:34px;
  height:34px;
  margin-bottom: 12px;
  color: var(--accent-indigo);
  transition: transform 0.35s ease;
}
.pillar-icon svg{ width:100%; height:100%; }
.pillar-card:hover .pillar-icon{
  transform: scale(1.12) rotate(-4deg);
}

.pillar-rule{
  width:20px;
  height:2px;
  background: var(--card-border);
  margin-bottom: 12px;
  transition: width 0.3s ease, background 0.3s ease;
}
.pillar-card:hover .pillar-rule{
  width:34px;
  background: var(--accent-indigo);
}

.pillar-title{
  font-size: 13.5px;
  font-weight:600;
  letter-spacing: 0.5px;
  text-transform:uppercase;
  color: var(--ink-navy);
  line-height:1.35;
  transition: color 0.3s ease;
}
.pillar-card:hover .pillar-title{
  color: var(--accent-indigo-deep);
}

/* CTA */
.cta-wrap{
  position:relative;
  z-index:4;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
  margin-top: 44px;
  opacity:0;
  animation: fadeUp 0.7s ease 1s forwards;
}

.cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration: none;
  gap: 12px;
  padding: 18px 50px 18px 58px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--accent-indigo-deep), #241c66);
  color:#fff;
  font-size: 14px;
  font-weight:600;
  letter-spacing: 3px;
  text-transform:uppercase;
  cursor:pointer;
  border:none;
  box-shadow: 0 16px 30px -12px rgba(40,25,110,0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.4s ease;
}
.cta-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 36px -14px rgba(40,25,110,0.65);
  background: linear-gradient(100deg, var(--accent-indigo), var(--accent-indigo-deep));
}
.cta-btn:active{
  transform: translateY(0px) scale(0.98);
}
.cta-btn .arrow{
  font-size:16px;
  transition: transform 0.3s ease;
}
.cta-btn:hover .arrow{
  transform: translateX(5px);
}

.cta-btn.pulse{
  animation: pulse 0.5s ease;
}

.cta-sub{
  font-size:12px;
  letter-spacing: 2.5px;
  color: var(--accent-indigo);
  text-transform:uppercase;
  font-weight:500;
}

@keyframes fadeUp{
  from{ opacity:0; transform: translateY(16px); }
  to{ opacity:1; transform: translateY(0); }
}

@keyframes pulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(0.94); }
  100%{ transform: scale(1); }
}

@media (prefers-reduced-motion: reduce){
  *{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px){
  .page{ padding: 32px 28px 40px; }
  .hero-grid{ grid-template-columns: 1fr; }
  .image-col{
    order:-1;
    height:440px;
    margin: -32px -28px 28px;
    width: calc(100% + 56px);
  }
  .portrait-frame{ position:relative; top:0; right:0; width:100%; height:100%; border-radius:0; }
  .portrait-fade{
    background:
      linear-gradient(to bottom, rgba(243,240,251,0) 60%, rgba(243,240,251,0.98) 96%);
  }
  .headline .line1, .headline .line2{ font-size:56px; }
  .pillars{ grid-template-columns: repeat(2, 1fr); }
  .logo{ position:static; text-align:right; margin-bottom: 12px; }
}


/* ===== Adaptive refinements ===== */

/* Large desktop */
@media (min-width:1400px){
  .page{padding:56px 110px 70px;}
  .hero-grid{gap:56px;}
  .copy-col{padding-top:42px;}
  .headline .line1,.headline .line2{font-size:96px;}
  .roles{margin-top:34px;}
  .quote{max-width:560px;margin-top:42px;}
  .portrait-frame{right:-70px;width:700px;height:620px;}
  .pillars{margin-top:28px;}
}

/* Tablet */
@media (min-width:769px) and (max-width:1100px){
  .copy-col{display:flex;flex-direction:column;align-items:center;text-align:center;}
  .eyebrow{align-items:center;}
  .headline{text-align:center;}
  .roles{justify-content:center;}
  .quote{justify-content:center;max-width:520px;text-align:left;}
  .pillars-label{text-align:center;}
  .pillars-label .rule{margin:10px auto 0;}
}

/* Phone */
@media (max-width:768px){
  .page{padding:22px 22px 40px;}
  .hero-grid{grid-template-columns:1fr;gap:0;}
  .image-col{order:-1;height:390px;margin:-22px -22px 18px;width:calc(100% + 44px);}
  .portrait-frame{position:relative;right:0;top:0;width:100%;height:100%;}
  .portrait-frame img{object-position:center top;}
  .copy-col{display:flex;flex-direction:column;align-items:center;text-align:center;}
  .eyebrow{align-items:center;}
  .headline{text-align:center;}
  .headline .line1,.headline .line2{font-size:clamp(54px,12vw,72px);}
  .roles{
    justify-content:center;
    flex-wrap:nowrap;
    white-space:nowrap;
    gap:0;
    font-size:clamp(9px,3.2vw,15px);
    letter-spacing:clamp(0.5px,0.5vw,3px);
    width:100%;
  }
  .roles .dot{margin:0 clamp(4px,2vw,12px);}
  .quote{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:6px;
    max-width:360px;
  }
  .quote p{text-align:center;}
  .pillars-label{text-align:center;}
  .pillars-label .rule{margin:10px auto 0;}
}
