/* Home page only: Option D "break the grid" layout. Loaded after style.css on index.html.
   Tilts use the CSS rotate/translate properties so the .reveal fade-in (which uses transform) can't undo them. */

/* Hero: editorial cover */
.hero{padding:100px 0 130px}
.hero::after{display:none}
.hero .wrap{max-width:1320px;position:relative;padding-left:96px}
.hero .bg-mark{width:1100px;right:-220px;top:-90px}
.hero .bg-mark polygon{fill-opacity:.045}
.hero .bg-mark .m2{fill:#C9A227;fill-opacity:.05}
.issue{position:absolute;left:28px;top:0;writing-mode:vertical-rl;transform:rotate(180deg);font-family:var(--num);font-weight:700;letter-spacing:.3em;font-size:13px;color:var(--stone);white-space:nowrap}
.hero .status{position:absolute;right:24px;top:-50px;rotate:-6deg;background:var(--gold);color:var(--black);border:0;border-radius:0;font-family:var(--num);font-weight:700;font-size:20px;letter-spacing:.14em;text-transform:uppercase;padding:10px 18px;margin:0;gap:10px}
.hero .status .dot,.hero .status .dot::after{background:var(--black)}
.hero h1{position:relative;font-size:clamp(40px,min(6.5vw,9vh),100px);line-height:.9;letter-spacing:-.035em;max-width:1180px}
.hero h1 span{display:block;margin-left:clamp(0px,12vw,180px)}
.hero-foot{position:relative;display:flex;gap:20px 40px;align-items:flex-end;flex-wrap:wrap;margin:36px 0 0 clamp(0px,12vw,180px)}
.hero .hero-foot p.lede{margin:0;font-size:19px;max-width:460px;border-top:2px solid var(--gold);padding-top:16px}
.hero .btn{border-radius:0}

/* Score boxes: unchanged, extra room for the slanted section below */
.stats{padding:56px 0 120px}

/* Skills: off-white section, fanned black cards */
.skills{background:var(--paper);color:var(--black);padding:130px 0 170px;margin-top:-60px;clip-path:polygon(0 60px,100% 0,100% 100%,0 100%)}
.skills .eyebrow{color:#7a5f12}
.skills h2{font-size:clamp(36px,5vw,64px);margin-bottom:70px}
.pillars{display:flex;justify-content:center;gap:0;padding:0 20px}
.pillar{position:relative;flex:0 0 290px;min-height:440px;margin:0 -12px;background:var(--black);color:var(--paper);border:1px solid #3a3320;border-radius:18px;padding:26px 24px;box-shadow:0 24px 50px rgba(0,0,0,.28);transition:opacity .6s,transform .6s,rotate .3s,translate .3s,box-shadow .3s}
.pillar:nth-child(1){rotate:-7deg;translate:0 30px}
.pillar:nth-child(2){rotate:-2deg}
.pillar:nth-child(3){rotate:2deg}
.pillar:nth-child(4){rotate:7deg;translate:0 30px}
.pillar:hover{rotate:0deg;translate:0 -14px;z-index:5;box-shadow:0 34px 70px rgba(0,0,0,.4)}
.pillar .pn{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.pillar .pn b{font-size:54px;line-height:.9;letter-spacing:0;color:var(--gold)}
.pillar .pn span{font-size:11px;letter-spacing:.14em;color:var(--stone);text-align:right;max-width:130px;text-transform:uppercase}
.pillar h3{font-size:24px;margin:22px 0 10px}
.pillar>p{font-size:14px}

/* Community and data: black, slanted top, tilted Lab card */
.community{position:relative;background:var(--black);padding:140px 0 150px;margin-top:-60px;clip-path:polygon(0 0,100% 60px,100% 100%,0 100%)}
.community h2{font-size:clamp(36px,5.5vw,72px);line-height:.95}
.community .split{display:flex;align-items:flex-start;gap:0}
.community .card{flex:1 1 auto;min-width:0;padding:34px 96px 34px 36px;border-radius:14px}
.community .card.lab{flex:0 0 400px;margin:90px 0 0 -60px;padding:28px;rotate:4deg;z-index:2;background:var(--black);border-color:#3a3320;border-radius:18px;box-shadow:0 30px 60px rgba(0,0,0,.6);transition:opacity .6s,transform .6s,rotate .3s}
.community .card.lab:hover{rotate:0deg}
.cmp-row{display:flex;align-items:flex-end;gap:40px}
.cmp-chart{flex:1;min-width:0}
.community .compare{height:240px}
.community .mult{flex:0 0 auto;font-size:60px;line-height:.9;margin:0 0 30px;max-width:190px}

/* Phones and small tablets: everything straightens and stacks */
@media (max-width:860px){
  .hero{padding:80px 0 100px}
  .hero .wrap{padding-left:24px}
  .issue{display:none}
  .hero .status{position:static;rotate:0deg;font-size:15px;margin-bottom:22px}
  .hero h1 span,.hero-foot{margin-left:0}
  .pillars{flex-direction:column;align-items:stretch;gap:16px;padding:0}
  .pillar,.pillar:nth-child(n){flex:none;min-height:0;margin:0;rotate:0deg;translate:none}
  .community .split{flex-direction:column;gap:16px}
  .community .card{padding:24px}
  .community .card.lab{flex:none;width:100%;margin:0;rotate:0deg}
  .cmp-row{flex-direction:column;align-items:flex-start;gap:12px}
  .community .mult{font-size:44px;max-width:none;margin:0}
}
