/* ============================================================
   PHASUR Green Energy: design system
   Fonts: Fraunces (display) + Inter (body)
   Palette: forest / amber (value) / teal (water) on warm cream
   ============================================================ */

:root {
  --ink:       #12241C;
  --forest:    #1E5631;
  --forest-2:  #2C7A44;
  --forest-dk: #143D22;
  --amber:     #C98A22;
  --amber-2:   #E0A83C;
  --amber-soft:#F4E7C9;
  --teal:      #2C8A8A;
  --teal-soft: #DCEDEC;
  --cream:     #FBF8F1;
  --cream-2:   #F6F1E6;
  --sage:      #E9F0E1;
  --paper:     #FFFFFF;
  --body:      #465A4E;
  --muted:     #6B7C71;
  --line:      #E5E8DE;
  --line-warm: #EAE3D3;
  --shadow-sm: 0 1px 2px rgba(18,36,28,0.05), 0 4px 14px rgba(18,36,28,0.04);
  --shadow:    0 2px 6px rgba(18,36,28,0.06), 0 18px 40px rgba(18,36,28,0.07);
  --shadow-lg: 0 30px 60px rgba(18,36,28,0.12);
  --r: 16px;
  --r-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,.display {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0 0 18px; }
strong, b { color: var(--ink); font-weight: 600; }

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-dk); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter", sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.kicker.teal { color: var(--teal); }
.kicker.teal::before { background: var(--teal); }
.kicker.on-dark { color: var(--amber-2); }
.kicker.on-dark::before { background: var(--amber-2); }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,241,0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-warm);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%);
  display: grid; place-items: center; color: #fff;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 21px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.brand .bt { display: flex; flex-direction: column; line-height: 1.05; }
.brand .bt .a { font-family: "Fraunces", serif; font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.brand .bt .b { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); font-weight: 600; }
nav.links { display: flex; align-items: center; gap: 4px; }
nav.links a {
  color: var(--body); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 8px;
}
nav.links a:hover { color: var(--forest); background: var(--sage); }
nav.links a.active { color: var(--forest); }
.nav-cta {
  margin-left: 10px; background: var(--ink); color: #fff !important;
  padding: 10px 18px !important; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  transition: transform .12s, background .12s;
}
.nav-cta:hover { background: var(--forest); transform: translateY(-1px); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger svg { width: 26px; height: 26px; fill: var(--ink); }
@media (max-width: 860px) {
  nav.links, .nav-cta { display: none; }
  .burger { display: inline-block; }
  nav.links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--line-warm); padding: 14px 24px 22px;
  }
  nav.links.open a { padding: 12px 10px; font-size: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 15.5px;
  transition: transform .12s, box-shadow .12s, background .12s; cursor: pointer; border: 0;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-dk); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: #b37c1e; color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-warm); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); background: rgba(30,86,49,0.03); }
.btn-light { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-light:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
section.cream { background: var(--cream); }
section.paper { background: var(--paper); }
section.sage  { background: var(--sage); }
section.dark {
  background: radial-gradient(120% 120% at 15% 0%, #1b4a2c 0%, var(--forest-dk) 55%, #0e2c19 100%);
  color: #DDE7DE;
}
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { font-size: 18px; color: var(--body); margin: 14px 0 0; }
section.dark .sec-head p { color: #B9CBBE; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-in { position: relative; z-index: 2; padding: 118px 28px 130px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 600; color: var(--ink); max-width: 15ch; }
.hero h1 .accent { color: var(--forest); font-style: italic; }
.hero .sub {
  font-size: clamp(18px, 2.2vw, 23px); color: var(--body); max-width: 46ch; margin: 26px 0 34px;
  font-weight: 400;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px){ .hero-in { padding: 72px 28px 88px; } }

/* Floating stat chips over hero */
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 46px; }
.hbadge {
  background: rgba(255,255,255,0.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.9); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}
.hbadge .n { font-family: "Fraunces", serif; font-weight: 600; font-size: 24px; color: var(--forest); line-height: 1; }
.hbadge .l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------- Grids ---------- */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.g2.center { align-items: center; }
@media (max-width: 940px){ .g3 { grid-template-columns: 1fr; } .g4 { grid-template-columns: repeat(2,1fr); } .g2 { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 520px){ .g4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
}
.card .ic svg { width: 26px; height: 26px; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.green { background: var(--sage); } .ic.green svg { stroke: var(--forest); }
.ic.amber { background: var(--amber-soft); } .ic.amber svg { stroke: var(--amber); }
.ic.teal  { background: var(--teal-soft); } .ic.teal svg { stroke: var(--teal); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15.5px; margin: 0; }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 860px){ .stat-band { grid-template-columns: repeat(2,1fr); gap: 32px 24px; } }
@media (max-width: 460px){ .stat-band { grid-template-columns: 1fr; } }
.bigstat .n { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(42px,6vw,62px); line-height: 1; }
.bigstat .n.g { color: #fff; } .bigstat .n.a { color: var(--amber-2); } .bigstat .n.t { color: #7FD0D0; }
.bigstat .u { color: #A9C0B2; font-size: 14px; margin-top: 6px; }
.bigstat .l { color: #C7D6CB; font-size: 14.5px; margin-top: 12px; max-width: 22ch; }
section.cream .bigstat .n.g, section.paper .bigstat .n.g { color: var(--forest); }
section.cream .bigstat .u, section.paper .bigstat .u { color: var(--muted); }
section.cream .bigstat .l, section.paper .bigstat .l { color: var(--body); }

/* ---------- Circular loop diagram ---------- */
.loop-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 940px){ .loop-wrap { grid-template-columns: 1fr; } }
.loop-svg { width: 100%; max-width: 460px; margin: 0 auto; }
.loop-steps { display: grid; gap: 14px; }
.lstep { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lstep .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 600; font-size: 15px; color: #fff; }
.lstep:nth-child(1) .num { background: var(--teal); }
.lstep:nth-child(2) .num { background: var(--forest-2); }
.lstep:nth-child(3) .num { background: var(--forest); }
.lstep:nth-child(4) .num { background: var(--amber); }
.lstep:nth-child(5) .num { background: var(--teal); }
.lstep b { font-family: "Fraunces", serif; font-size: 16.5px; color: var(--ink); display: block; margin-bottom: 2px; }
.lstep span { font-size: 14px; color: var(--muted); }
.spin-ring { transform-origin: center; animation: spin 44s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .spin-ring { animation: none; } }

/* ---------- Split feature (illustration + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .art { order: 2; }
@media (max-width: 940px){ .split { grid-template-columns: 1fr; gap: 34px; } .split.rev .art { order: 0; } }
.art-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--cream-2); }
.art-frame svg { display: block; width: 100%; height: auto; }

/* ---------- Product spec ---------- */
.spec { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-dk) 100%); color: #fff; border-radius: var(--r-lg); padding: 40px; position: relative; overflow: hidden; }
.spec::after { content:""; position:absolute; right:-60px; bottom:-60px; width:220px; height:220px; border-radius:50%; background: radial-gradient(circle, rgba(224,168,60,0.28), transparent 70%); }
.spec .pt { font-family: "Fraunces", serif; font-size: 46px; font-weight: 600; }
.spec .pt sup { font-size: 20px; }
.spec .ps { color: var(--amber-2); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.spec .rule { height: 1px; background: rgba(255,255,255,0.16); margin: 24px 0; }
.spec .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; position: relative; z-index: 2; }
.spec .k { font-size: 12px; color: #9FC1AC; }
.spec .v { font-family: "Fraunces", serif; font-size: 18px; color: #fff; }

/* ---------- Feature list ---------- */
.flist { margin: 0; padding: 0; list-style: none; }
.flist li { display: grid; grid-template-columns: 26px 1fr; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.flist li:last-child { border-bottom: 0; }
.flist .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin-top: 3px; }
.flist .dot::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }
.flist .bd { font-size: 15.5px; }

/* ---------- Partner logos strip ---------- */
.plogos { display: flex; flex-wrap: wrap; gap: 14px; }
.plogo { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; box-shadow: var(--shadow-sm); }
.plogo .d { width: 9px; height: 9px; border-radius: 50%; }
.plogo b { font-family: "Fraunces", serif; font-size: 16px; color: var(--ink); font-weight: 600; }
.plogo span { color: var(--muted); font-size: 13px; }

/* Partner detail card */
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); }
.pcard .tag { display: inline-block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.tag.green { background: var(--sage); color: var(--forest); }
.tag.amber { background: var(--amber-soft); color: #a2731a; }
.tag.teal  { background: var(--teal-soft); color: #1f6a6a; }
.pcard .pn { font-family: "Fraunces", serif; font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.pcard p { font-size: 14.5px; margin: 0; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.chip .d { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }

/* ---------- CTA band ---------- */
.cta {
  border-radius: var(--r-lg); padding: 56px; position: relative; overflow: hidden;
  background: radial-gradient(130% 130% at 100% 0%, #216038 0%, var(--forest-dk) 60%, #0e2c19 100%);
  color: #fff;
}
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: #C4D6C9; font-size: 17px; max-width: 52ch; margin: 14px 0 28px; }
.cta::after { content:""; position:absolute; right:-40px; top:-40px; width:260px; height:260px; border-radius:50%; background: radial-gradient(circle, rgba(224,168,60,0.22), transparent 70%); }

/* ---------- Footer ---------- */
footer.ft { background: var(--ink); color: #9DB0A2; padding: 62px 0 30px; }
footer.ft .fg { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
@media (max-width: 820px){ footer.ft .fg { grid-template-columns: 1fr 1fr; gap: 30px; } }
footer.ft h4 { color: #fff; font-family: "Inter", sans-serif; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
footer.ft ul { list-style: none; margin: 0; padding: 0; }
footer.ft li { margin: 9px 0; }
footer.ft a { color: #B9C7BC; font-size: 14.5px; }
footer.ft a:hover { color: #fff; }
footer.ft .fbrand .mark { width: 40px; height: 40px; }
footer.ft .fbrand p { color: #7E9285; font-size: 14px; margin-top: 14px; max-width: 30ch; }
footer.ft .fbot { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #7E9285; }

/* Utilities */
.mt8{margin-top:8px} .mt16{margin-top:16px} .mt24{margin-top:24px} .mt32{margin-top:32px} .mt40{margin-top:40px}
.muted{color:var(--muted)} .center{text-align:center}

/* ---------- Living hero (animation) ---------- */
.sun-glow { animation: sunpulse 7s ease-in-out infinite; transform-origin: 1180px 120px; }
@keyframes sunpulse { 0%,100%{ opacity:.9; transform:scale(1);} 50%{ opacity:1; transform:scale(1.06);} }
.water-shimmer { stroke-dasharray: 12 30; animation: flow 5.5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -84; } }
.sway { animation: sway 6s ease-in-out infinite; transform-origin: center bottom; transform-box: fill-box; }
@keyframes sway { 0%,100%{ transform: rotate(-2deg);} 50%{ transform: rotate(2.5deg);} }
.cloud { animation: drift 60s linear infinite; opacity:.85; }
.cloud.c2 { animation-duration: 85s; animation-delay: -30s; opacity:.65; }
@keyframes drift { from { transform: translateX(-220px);} to { transform: translateX(1660px);} }
@media (prefers-reduced-motion: reduce){ .sun-glow,.water-shimmer,.sway,.cloud { animation: none; } }

/* ---------- Trust strip under hero ---------- */
.trust-strip { background: var(--paper); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-in { display:flex; align-items:center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.trust-in .tlbl { font-size: 12px; letter-spacing:.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tname { font-family:"Fraunces",serif; font-weight:600; font-size:17px; color:var(--ink); opacity:.75; display:inline-flex; align-items:center; gap:8px; }
.tname .d { width:7px; height:7px; border-radius:50%; }

/* ---------- Ambition band ---------- */
.ambition { background: var(--amber-soft); border-top: 1px solid var(--line-warm); border-bottom: 1px solid var(--line-warm); padding: 46px 0; }
.amb-in { display:flex; align-items:center; justify-content:space-between; gap: 28px; flex-wrap: wrap; }
.amb-in .al { max-width: 300px; }
.amb-in .al .k2 { font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:#a2731a; font-weight:700; }
.amb-in .al h3 { font-size: 24px; margin-top: 6px; }
.amb-stats { display:flex; gap: 40px; flex-wrap: wrap; }
.amb-stats .as .n { font-family:"Fraunces",serif; font-weight:600; font-size:32px; color:var(--forest); line-height:1; }
.amb-stats .as .l { font-size:13px; color:#7a6a3f; margin-top:5px; max-width:16ch; }
.amb-in .btn { flex-shrink:0; }

/* ---------- Accessibility ---------- */
.skip { position:absolute; left:-9999px; top:0; background:var(--ink); color:#fff; padding:10px 18px; border-radius:0 0 10px 0; z-index:100; }
.skip:focus { left:0; color:#fff; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
