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

:root{
  --B:#3D8B6E;
  --BL:#5AA88B;
  --BD:#2A6B52;
  --BT:#E8F4EF;
  --LBG:#FAF9F7;
  --LBD:#E7E1DA;
  --DBG:#1F2937;
  --D2:#374151;
  --cream-shadow:0 20px 40px rgba(31,41,55,0.08);
  --card-shadow:0 16px 38px rgba(22,34,28,0.18);
  --gradient:linear-gradient(165deg,#285b47 0%,#3D8B6E 46%,#69b89a 100%);
  --gradient-soft:linear-gradient(180deg,rgba(250,249,247,0.9),rgba(250,249,247,0.66));
}

body{
  min-height:100vh;
  background:
    radial-gradient(circle at top left, rgba(61,139,110,0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(61,139,110,0.1), transparent 30%),
    #eceae7;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:40px 20px;
  font-family:'Inter',sans-serif;
  color:var(--DBG);
}

.page-wrap{
  width:min(100%, 420px);
}

.serif{font-family:'Playfair Display',serif;}
.sans{font-family:'Inter',sans-serif;}

.ig-frame{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 32px rgba(0,0,0,0.14);
  overflow:hidden;
}

.ig-header{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid #f0f0f0;
  background:rgba(255,255,255,0.98);
}

.ig-avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--B);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Playfair Display',serif;
  font-weight:600;
  font-size:15px;
}

.ig-handle{
  font-size:13px;
  font-weight:600;
  color:#262626;
}

.ig-subtitle{
  font-size:11px;
  color:#8e8e8e;
}

.carousel-viewport{
  width:100%;
  aspect-ratio:4 / 5;
  overflow:hidden;
  position:relative;
  cursor:grab;
}

.carousel-viewport:active{cursor:grabbing;}

.carousel-track{
  display:flex;
  height:100%;
  transition:transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

.slide{
  width:100%;
  min-width:100%;
  height:100%;
  position:relative;
  overflow:hidden;
}

.slide-light{
  background:
    radial-gradient(circle at top right, rgba(61,139,110,0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(61,139,110,0.05), transparent 28%),
    var(--LBG);
  color:var(--DBG);
}

.slide-dark{
  background:
    linear-gradient(160deg, rgba(255,255,255,0.03), transparent 32%),
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 28%),
    var(--DBG);
  color:#fff;
}

.slide-gradient{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255,255,255,0.13), transparent 26%),
    var(--gradient);
  color:#fff;
}

.slide-content{
  position:relative;
  z-index:2;
  padding:26px 28px 56px;
  display:flex;
  flex-direction:column;
  height:100%;
}

.hero-stack{
  display:grid;
  gap:14px;
  align-content:start;
  min-height:100%;
}

.hero-stack .photo-window{
  width:100%;
}

.hero-main-photo{
  aspect-ratio:1.16 / 0.78;
}

.thumb-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:6px;
}

.thumb-row .photo-window,
.thumb-row .art-window{
  aspect-ratio:1 / 1;
}

.brand-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:max-content;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(61,139,110,0.14);
  background:rgba(255,255,255,0.84);
  box-shadow:0 10px 24px rgba(31,41,55,0.08);
  margin-bottom:16px;
  backdrop-filter:blur(8px);
}

.brand-pill.dark{
  background:rgba(255,255,255,0.12);
  border-color:rgba(255,255,255,0.12);
  box-shadow:none;
}

.brand-pill img{
  display:block;
  height:18px;
  width:auto;
}

.eyebrow{
  display:inline-block;
  margin-bottom:14px;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:10px;
  font-weight:700;
}

.slide-light .eyebrow{color:var(--B);}
.slide-dark .eyebrow{color:#9fd6c0;}
.slide-gradient .eyebrow{color:rgba(255,255,255,0.72);}

.slide h1,
.slide h2,
.slide h3{
  font-family:'Playfair Display',serif;
  line-height:1.06;
  letter-spacing:-0.03em;
}

.slide h1{font-size:34px;font-weight:600;}
.slide h2{font-size:28px;font-weight:600;}
.slide h3{font-size:22px;font-weight:600;}

.lede{
  margin-top:12px;
  font-size:14px;
  line-height:1.55;
  max-width:34ch;
}

.slide-light .lede{color:#615a54;}
.slide-dark .lede,
.slide-gradient .lede{color:rgba(255,255,255,0.82);}

.micro-note{
  margin-top:12px;
  font-size:11px;
  line-height:1.5;
}

.slide-light .micro-note{color:#7d756f;}
.slide-dark .micro-note,
.slide-gradient .micro-note{color:rgba(255,255,255,0.58);}

.hero-grid,
.split-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:16px;
  align-items:center;
  min-height:100%;
}

.stack-grid{
  display:grid;
  gap:12px;
}

.photo-window,
.art-window,
.glass-panel,
.stat-card{
  position:relative;
  overflow:hidden;
  border-radius:24px;
}

.photo-window{
  background:#d9d4cf;
  box-shadow:var(--card-shadow);
}

.photo-window img,
.art-window img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-photo{aspect-ratio:0.83 / 1;}
.portrait-photo{aspect-ratio:0.92 / 1;}
.profile-photo{aspect-ratio:0.78 / 1;}
.support-photo{aspect-ratio:1 / 1;}

.art-window{
  aspect-ratio:1 / 1;
  border:1px solid rgba(255,255,255,0.28);
  background:rgba(255,255,255,0.2);
  box-shadow:0 14px 30px rgba(20,30,26,0.15);
}

.float-card{
  position:absolute;
  right:-10px;
  bottom:-14px;
  width:124px;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(250,249,247,0.92);
  box-shadow:0 14px 28px rgba(31,41,55,0.12);
  border:1px solid rgba(61,139,110,0.12);
}

.float-card strong{
  display:block;
  font-size:12px;
  line-height:1.35;
  color:var(--DBG);
}

.float-card span{
  display:block;
  margin-top:4px;
  font-size:10px;
  line-height:1.4;
  color:#736b64;
}

.glass-panel{
  padding:16px 18px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  backdrop-filter:blur(10px);
}

.slide-light .glass-panel{
  background:rgba(61,139,110,0.05);
  border-color:rgba(61,139,110,0.1);
}

.panel-title{
  font-size:12px;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.slide-light .panel-title{color:var(--B);}
.slide-dark .panel-title,
.slide-gradient .panel-title{color:#9fd6c0;}

.bullet-list{
  list-style:none;
  display:grid;
  gap:10px;
  margin-top:14px;
}

.bullet-list li{
  display:grid;
  grid-template-columns:10px 1fr;
  gap:10px;
  align-items:start;
}

.bullet-list li::before{
  content:'';
  width:10px;
  height:10px;
  margin-top:6px;
  border-radius:50%;
  background:var(--B);
  box-shadow:0 0 0 4px rgba(61,139,110,0.18);
}

.slide-dark .bullet-list li::before,
.slide-gradient .bullet-list li::before{
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,0.14);
}

.bullet-list strong{
  display:block;
  font-size:14px;
  margin-bottom:2px;
}

.bullet-list span{
  display:block;
  font-size:12px;
  line-height:1.5;
}

.slide-light .bullet-list span{color:#6a635d;}
.slide-dark .bullet-list span,
.slide-gradient .bullet-list span{color:rgba(255,255,255,0.72);}

.chip-grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.chip{
  padding:7px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  line-height:1;
  border:1px solid rgba(61,139,110,0.16);
  background:rgba(61,139,110,0.08);
  color:var(--BD);
}

.chip.dark{
  border-color:rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.08);
  color:#d6f0e5;
}

.strike-chip{
  text-decoration:line-through;
  color:rgba(255,255,255,0.48);
}

.metric-grid,
.candidate-grid{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.metric-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
.candidate-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}

.stat-card{
  padding:14px;
  background:rgba(255,255,255,0.09);
  border:1px solid rgba(255,255,255,0.12);
}

.slide-light .stat-card{
  background:#fff;
  border-color:rgba(61,139,110,0.1);
  box-shadow:var(--cream-shadow);
}

.stat-card strong{
  display:block;
  font-size:13px;
  line-height:1.35;
  margin-bottom:4px;
}

.stat-card span{
  display:block;
  font-size:11px;
  line-height:1.45;
}

.slide-light .stat-card span{color:#706862;}
.slide-dark .stat-card span,
.slide-gradient .stat-card span{color:rgba(255,255,255,0.68);}

.step-list{
  display:grid;
  gap:12px;
  margin-top:16px;
}

.step{
  display:grid;
  grid-template-columns:36px 1fr;
  gap:12px;
  align-items:start;
  padding:12px 0;
  border-bottom:1px solid rgba(61,139,110,0.14);
}

.slide-dark .step,
.slide-gradient .step{
  border-bottom-color:rgba(255,255,255,0.12);
}

.step-num{
  font-family:'Playfair Display',serif;
  font-size:28px;
  line-height:1;
  color:var(--B);
}

.slide-dark .step-num,
.slide-gradient .step-num{color:#fff;}

.step strong{
  display:block;
  font-size:14px;
  margin-bottom:3px;
}

.step span{
  display:block;
  font-size:12px;
  line-height:1.48;
}

.slide-light .step span{color:#6a635d;}
.slide-dark .step span,
.slide-gradient .step span{color:rgba(255,255,255,0.74);}

.quote-box{
  margin-top:16px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(0,0,0,0.14);
}

.quote-box p:first-child{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.14em;
  color:rgba(255,255,255,0.62);
  margin-bottom:8px;
}

.quote-box p:last-child{
  font-size:15px;
  line-height:1.5;
  font-family:'Playfair Display',serif;
}

.cta-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  height:100%;
}

.cta-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 24px;
  margin-top:20px;
  border-radius:999px;
  background:rgba(250,249,247,0.95);
  color:var(--BD);
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(20,30,26,0.2);
}

.cta-subline{
  margin-top:14px;
  font-size:11px;
  line-height:1.5;
  color:rgba(255,255,255,0.62);
  max-width:28ch;
}

.watermark{
  position:absolute;
  inset:auto;
  font-family:'Playfair Display',serif;
  font-size:230px;
  font-weight:700;
  line-height:1;
  opacity:0.04;
  pointer-events:none;
  z-index:1;
}

.slide-light .watermark{color:var(--B);}
.slide-dark .watermark,
.slide-gradient .watermark{color:#fff;}

.corner-bubble,
.marble-line{
  position:absolute;
  pointer-events:none;
  z-index:1;
}

.corner-bubble{
  border-radius:50%;
  opacity:0.07;
}

.marble-line{
  width:1px;
  background:linear-gradient(to bottom, transparent, rgba(255,255,255,0.16), transparent);
}

.slide-light .marble-line{
  background:linear-gradient(to bottom, transparent, rgba(61,139,110,0.18), transparent);
}

.progress-shell{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:16px 34px 20px 28px;
  z-index:10;
  display:flex;
  align-items:center;
  gap:10px;
}

.progress-track{
  flex:1;
  height:3px;
  border-radius:2px;
  overflow:hidden;
}

.slide-light .progress-track{background:rgba(0,0,0,0.08);}
.slide-dark .progress-track,
.slide-gradient .progress-track{background:rgba(255,255,255,0.14);}

.progress-fill{
  height:100%;
  border-radius:2px;
}

.slide-light .progress-fill{background:var(--B);}
.slide-dark .progress-fill,
.slide-gradient .progress-fill{background:#fff;}

.progress-label{
  font-size:11px;
  font-weight:600;
}

.slide-light .progress-label{color:rgba(0,0,0,0.34);}
.slide-dark .progress-label,
.slide-gradient .progress-label{color:rgba(255,255,255,0.46);}

.swipe-arrow{
  position:absolute;
  right:12px;
  top:0;
  bottom:0;
  width:22px;
  z-index:9;
  display:flex;
  align-items:center;
  justify-content:center;
}

.slide-light .swipe-arrow{background:linear-gradient(to right, transparent, rgba(0,0,0,0.06));}
.slide-dark .swipe-arrow,
.slide-gradient .swipe-arrow{background:linear-gradient(to right, transparent, rgba(255,255,255,0.08));}

.swipe-arrow svg{
  width:24px;
  height:24px;
}

.slide-light .swipe-arrow path{stroke:rgba(0,0,0,0.24);}
.slide-dark .swipe-arrow path,
.slide-gradient .swipe-arrow path{stroke:rgba(255,255,255,0.35);}

.ig-dots{
  display:flex;
  justify-content:center;
  gap:5px;
  padding:10px 0;
}

.ig-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#dbdbdb;
}

.ig-dot.active{background:#3897f0;}

.ig-actions{
  display:flex;
  align-items:center;
  gap:16px;
  padding:10px 14px;
}

.ig-actions .right{margin-left:auto;}

.ig-caption{
  padding:0 14px 14px;
  font-size:13px;
  line-height:1.45;
  color:#262626;
}

.ig-caption strong{font-weight:600;}

.ig-caption .time{
  display:block;
  margin-top:6px;
  font-size:10px;
  color:#8e8e8e;
  text-transform:uppercase;
  letter-spacing:0.03em;
}

.site-index{
  width:min(100%, 1080px);
  display:grid;
  gap:20px;
}

.index-hero{
  padding:28px;
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 36px rgba(0,0,0,0.08);
}

.index-hero h1{
  font-family:'Playfair Display',serif;
  font-size:42px;
  line-height:1.05;
  color:var(--DBG);
}

.index-hero p{
  margin-top:12px;
  font-size:16px;
  line-height:1.6;
  color:#625a54;
  max-width:62ch;
}

.index-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:18px;
}

.index-card{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:340px;
  padding:22px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  text-decoration:none;
  box-shadow:0 16px 36px rgba(0,0,0,0.11);
  color:#fff;
  background:#1f2937;
}

.index-card::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 8%, rgba(15,23,20,0.72));
}

.index-card > *{
  position:relative;
  z-index:1;
}

.index-card span{
  font-size:10px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.7);
}

.index-card h2{
  margin-top:8px;
  font-family:'Playfair Display',serif;
  font-size:30px;
  line-height:1.05;
}

.index-card p{
  margin-top:10px;
  font-size:13px;
  line-height:1.5;
  color:rgba(255,255,255,0.8);
}

@media (max-width: 560px){
  body{padding:0;background:#fff;}
  .page-wrap{width:100%;}
  .ig-frame{
    max-width:none;
    border-radius:0;
    box-shadow:none;
  }
  .ig-header,
  .ig-actions,
  .ig-caption{padding-left:12px;padding-right:12px;}
  .slide-content{padding:22px 20px 52px;}
  .progress-shell{padding:14px 28px 18px 20px;}
  .swipe-arrow{right:10px;width:18px;}
  .hero-grid,
  .split-grid,
  .metric-grid,
  .candidate-grid{grid-template-columns:1fr;}
  .float-card{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    margin-top:10px;
  }
  .slide h1{font-size:30px;}
  .slide h2{font-size:26px;}
  .slide h3{font-size:20px;}
  .site-index{gap:14px;}
  .index-hero{padding:20px;}
  .index-hero h1{font-size:34px;}
}
