/* TRINIX GREEN ENERGY LLP — colours taken from the logo: navy panel, leaf green, sun orange. */
:root {
  /* Light only: stops phones and browsers in dark mode from recolouring the site. */
  color-scheme: only light;
  --navy: #0b2a55;
  --navy-d: #071d3c;
  --blue: #1565c0;
  --sky: #22a7f2;
  --green: #1f9d45;
  --green-d: #0d6b3a;
  --lime: #9bd91f;
  --sun: #f59e0b;
  --ink: #10213d;
  --muted: #56637a;
  --line: #e2e9f1;
  --soft: #f3f8fc;
  --mint: #eef8ec;
  --r: 10px;
  --sh: 0 14px 34px -16px rgba(11, 42, 85, .22);
  --f-d: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-b: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-m: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

/* Some phone browsers (Samsung Internet and others) force their own dark colours on any site
   that has no dark-mode rule. This rule is that rule: it keeps the same white design. */
@media (prefers-color-scheme: dark) {
  html, body { background: #fff; color: #10213d; color-scheme: only light; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--f-b); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-d); font-stretch: 112%; color: var(--navy); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--green-d); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.lead { font-size: 1.1rem; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: .8em; font: 600 .74rem/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); margin: 0 0 1.1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sun); flex: none; }
.sec-head.center .eyebrow { justify-content: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 300; }
.skip:focus { left: 8px; }
.tbd { color: var(--muted); font-style: italic; font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: 8px; font: 600 .98rem/1.2 var(--f-b); border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn .ico { transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: #178a3c; color: #fff; }
.btn-primary:hover { color: #fff; background: var(--green-d); }
.btn-ghost { border-color: #b9c7d8; color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--green-d); }

/* Logo mark and wordmark */
.mark { overflow: visible; }
.mark g, .mark path { transform-box: view-box; }
.m-leaf-a { transform-origin: 532px 705px; }
.m-leaf-b { transform-origin: 527px 845px; }
.m-rays, .m-sun { transform-origin: 848px 325px; }
.m-stem { transform-origin: 525px 752px; }
.m-shine { transform: translateX(-140px); }

/* Loading screen */
.preloader { display: none; position: fixed; inset: 0; z-index: 500; place-items: center; background: radial-gradient(circle at 50% 38%, #fff 0, #f2f9f4 60%, #e6f2fb 100%); }
.is-loading .preloader { display: grid; animation: preGone .5s 7s forwards; }
.is-loaded .preloader { opacity: 0; visibility: hidden; transform: translateY(-3%); transition: opacity .6s, transform .6s, visibility 0s .6s; }
.pre-in { display: grid; justify-items: center; }
.preloader .mark { width: min(250px, 58vw); }
.pre-word { display: grid; justify-items: center; margin-top: 18px; animation: fadeUp .7s 1.55s both; }
.pre-word .wm-img { width: min(290px, 68vw); height: auto; }

.pre-bar { width: min(210px, 50vw); height: 4px; border-radius: 4px; background: #dbe7ef; margin-top: 26px; overflow: hidden; }
.pre-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--lime), var(--sun)); transform-origin: left; animation: barFill 2.7s .1s cubic-bezier(.4, 0, .2, 1) both; }
.is-loading .preloader .m-stem { animation: stemGrow .6s .1s cubic-bezier(.2, .8, .2, 1) both; }
.is-loading .preloader .m-panel { animation: panelIn .7s .4s cubic-bezier(.2, .8, .2, 1) both; }
.is-loading .preloader .m-shine { animation: shine 1.6s 1.2s ease-in-out infinite; }
.is-loading .preloader .m-sun { animation: sunRise .9s .75s cubic-bezier(.2, .8, .2, 1) both; }
.is-loading .preloader .m-rays { animation: spin 3s linear infinite; }
.is-loading .preloader .m-leaf-a { animation: leafGrow .85s .95s cubic-bezier(.3, 1.3, .5, 1) both, swayA 2.4s 1.8s ease-in-out infinite; }
.is-loading .preloader .m-leaf-b { animation: leafGrow .85s 1.2s cubic-bezier(.3, 1.3, .5, 1) both, swayB 2.4s 2.05s ease-in-out infinite; }
@keyframes preGone { to { opacity: 0; visibility: hidden; } }
@keyframes stemGrow { from { transform: scaleY(0); opacity: 0; } }
@keyframes panelIn { from { transform: translateX(-70px); opacity: 0; } }
@keyframes sunRise { from { transform: translateY(150px); } }
@keyframes spin { to { transform: rotate(30deg); } }
@keyframes shine { 0%, 20% { transform: translateX(-140px); } 80%, 100% { transform: translateX(640px); } }
@keyframes leafGrow { from { transform: scale(0) rotate(-28deg); opacity: 0; } }
@keyframes swayA { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg); } }
@keyframes swayB { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(5deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes barFill { from { transform: scaleX(0); } }

/* Header */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(11, 42, 85, .35); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: auto; height: 54px; }
.brand .wm-img { width: auto; height: 36px; }



.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) { padding: .55em .9em; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); transition: background .2s, color .2s; }
.nav > a:not(.btn):hover { background: var(--soft); color: var(--navy); }
.nav > a[aria-current="page"] { color: var(--green-d); background: var(--mint); }
.nav-cta { margin-left: 10px; padding: .7em 1.25em; }
.nav-tg { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; place-items: center; align-content: center; gap: 5px; }
.nav-tg span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.nav-tg[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-tg[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-tg[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); background: linear-gradient(180deg, #fff 0, #f4f8fb 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; color: #178a3c; }
.hero .lead { max-width: 56ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.6rem; }
.hero-art { position: relative; }
.sheet { width: 100%; height: auto; border: 1px solid #c5d1e0; border-radius: 10px; box-shadow: 0 30px 60px -34px rgba(11, 42, 85, .45); background: #fff; }
.sh-label, .sh-label text { font: 600 10.5px/1 var(--f-m); letter-spacing: .08em; fill: var(--navy); }
.sh-sym { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sh-sym text { font: 600 9px/1 var(--f-m); }
.sh-glint { opacity: 0; animation: glint 5s ease-in-out infinite; }
.sh-glowc { transform-box: fill-box; transform-origin: center; animation: sunPulse 4s ease-in-out infinite; }
.sh-rays { animation: flow 1s linear infinite; }
.sh-pulse circle { fill: #fff; stroke: #f7941d; stroke-width: 2.5; animation: sldRun 4.5s linear infinite; }
.sh-pulse circle:nth-child(2) { animation-delay: -1.5s; }
.sh-pulse circle:nth-child(3) { animation-delay: -3s; }
@keyframes glint { 0%, 70%, 100% { opacity: 0; } 80% { opacity: .28; } }
@keyframes sunPulse { 50% { transform: scale(1.18); opacity: .7; } }
@keyframes sldRun { 0% { transform: translateX(0); stroke: #f7941d; } 39% { stroke: #f7941d; } 41%, 100% { stroke: #1f9d45; } 100% { transform: translateX(515px); } }

.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 12px 16px; font-size: .86rem; font-weight: 600; color: var(--navy); box-shadow: var(--sh); animation: float 6s ease-in-out infinite; }
.chip .ico { color: var(--green); }
.chip b { color: var(--sun); }
.chip-a { top: 18px; left: -14px; }
.chip-b { bottom: 18px; right: -10px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ticks { display: grid; gap: .6rem; }
.ticks li { display: flex; align-items: flex-start; gap: .7rem; }
.ticks .ico { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 1.3em; height: 1.3em; margin-top: .18em; stroke-width: 3; }
.ticks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.hero-ticks { color: var(--ink); font-weight: 500; }

/* Inner page hero */
.phero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(800px 380px at 90% -20%, #e0f2ff 0, transparent 70%), linear-gradient(180deg, #f3faf1, #fff); border-bottom: 1px solid var(--line); }
.phero h1 { max-width: 20ch; }
.phero .lead { max-width: 62ch; margin: 0; }

/* Sections */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-soft { background: var(--soft); }
.sec-navy { background: linear-gradient(140deg, var(--navy-d), var(--navy) 55%, #0e3f7a); color: #dbe7f5; }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-navy .lead { color: #b9cbe2; }
.sec-navy .eyebrow { color: var(--lime); }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; }
.sec-head .lead { margin: 0; }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card-link { display: flex; flex-direction: column; }
.card-link:hover { box-shadow: var(--sh); border-color: #178a3c; color: var(--ink); }
.card-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--mint); color: var(--green-d); margin-bottom: 18px; font-size: 1.25rem; }
.card-ico.alt { background: #e6f1fd; color: var(--blue); }
.card-ico.lg { width: 72px; height: 72px; border-radius: 12px; font-size: 1.7rem; margin: 0; }
.more { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; padding-top: 18px; font-weight: 600; font-size: .92rem; color: var(--green-d); }
.more .ico { transition: transform .2s; }
.card-link:hover .more .ico { transform: translateX(4px); }
.card.mini { display: flex; gap: 14px; padding: 22px; align-items: flex-start; }
.card.mini.col { flex-direction: column; }
.card.mini h3 { margin-bottom: .3em; font-size: 1rem; }
.ico.ok { color: #fff; background: var(--green); border-radius: 50%; padding: 5px; width: 1.75em; height: 1.75em; stroke-width: 2.6; }
.best { margin-top: 14px !important; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--green-d) !important; font-weight: 600; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--sh); }
.panel h2 { font-size: 1.45rem; }
.panel.tint { background: var(--mint); border-color: #d5ecd2; box-shadow: none; }

/* E · P · C */
.epc { margin-top: -34px; position: relative; z-index: 2; }
.epc-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: radial-gradient(520px 200px at 0 0, #fff4d6 0, transparent 70%), radial-gradient(520px 200px at 100% 100%, #e9f8e4 0, transparent 70%), #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); overflow: hidden; }
/* Energy line: sunlight (yellow) to power (blue) to a green plant, with a pulse travelling along it. */
.epc-grid::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #ffc21a, var(--sun) 20%, var(--sky) 55%, var(--green)); z-index: 1; }
.epc-grid::after { content: ""; position: absolute; top: 0; left: 0; width: 140px; height: 4px; background: linear-gradient(90deg, transparent, #fff, transparent); z-index: 2; animation: pulseRun 3.2s linear infinite; }
@keyframes pulseRun { from { transform: translateX(-140px); } to { transform: translateX(1240px); } }
.epc-card { position: relative; display: flex; gap: 20px; align-items: center; padding: 30px 28px; color: var(--ink); border-right: 1px solid var(--line); transition: background .25s; }
.epc-card:last-child { border-right: 0; }
.epc-card:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.epc-card:hover .epc-art { transform: translateY(-4px) scale(1.04); }
.epc-card h3 { margin-bottom: .3em; font-size: 1.2rem; }
.epc-card p { margin: 0; color: var(--muted); font-size: .95rem; }
/* Arrow between the three stages. */
.epc-card:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; z-index: 3; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--sun); font: 700 .95rem/1 var(--f-b); box-shadow: 0 4px 10px -4px rgba(11, 42, 85, .3); }
.epc-k { display: block; font: 600 .7rem/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin-bottom: .7em; }
.epc-card:nth-child(1) .epc-k { color: var(--blue); }
.epc-card:nth-child(3) .epc-k { color: var(--green); }
.epc-art { position: relative; flex: none; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 24px -14px rgba(11, 42, 85, .6); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.epc-art svg { width: 100%; height: 100%; }
.epc-art b { position: absolute; left: 7px; top: 7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--navy); font: 800 .78rem/1 var(--f-d); }
.epc-art.big { width: 124px; height: 124px; border-radius: 10px; }
.epc-art.big b { width: 30px; height: 30px; border-radius: 10px; font-size: 1.05rem; left: 9px; top: 9px; }
.a-orbit { transform-origin: 48px 74px; animation: sunArc 7s ease-in-out infinite; }
.a-rays { transform-origin: 72px 23px; animation: spin45 5s linear infinite; }
.a-shine { animation: tileShine 3.4s ease-in-out infinite; }
.a-blink { animation: blink 1.4s ease-in-out infinite; }
.a-flow { animation: flow .7s linear infinite; }
@keyframes sunArc { 0% { transform: rotate(-78deg); opacity: 0; } 12%, 88% { opacity: 1; } 100% { transform: rotate(78deg); opacity: 0; } }
@keyframes spin45 { to { transform: rotate(45deg); } }
@keyframes tileShine { 0%, 30% { transform: translateX(0); } 70%, 100% { transform: translateX(62px); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes flow { from { stroke-dashoffset: 4.5; } to { stroke-dashoffset: 0; } }
.epc-detail { display: grid; gap: 28px; }
.epc-block { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.epc-block h2 { margin-bottom: .4em; }

/* Process: compact flow (home) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 36px; counter-reset: none; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; }
.flow-n { display: block; font: 600 .8rem/1 var(--f-m); letter-spacing: .1em; color: #178a3c; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--sun); width: 44px; }
.flow h3 { font-size: 1.02rem; margin-bottom: .35em; }
.flow p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Process: full timeline */
.timeline { position: relative; display: grid; gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--sky), var(--green)); }
.timeline > li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.tl-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--green); font: 600 1rem/1 var(--f-m); color: var(--green-d); position: relative; z-index: 1; }
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 30px); }
.tl-body h2 { display: flex; align-items: center; gap: .55em; font-size: 1.3rem; }
.tl-body h2 .ico { color: var(--green); }
.tl-body p { color: var(--muted); }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why { display: flex; gap: 14px; padding: 20px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.why .ico { color: var(--lime); font-size: 1.3rem; margin-top: 2px; }
.why h3 { font-size: 1rem; margin-bottom: .3em; }
.why p { margin: 0; font-size: .92rem; color: #b9cbe2; }

label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--navy); }
input, select, textarea { font: 500 1rem/1.4 var(--f-b); color: var(--ink); padding: .8em 1em; border: 1.5px solid #b9c7d8; border-radius: 12px; background: #f7fafd; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
input::placeholder, textarea::placeholder { color: #7c8aa0; opacity: 1; font-weight: 400; }
input:hover, select:hover, textarea:hover { border-color: #8fa3bb; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31, 157, 69, .15); }
input[type="range"] { padding: 0; border: 0; background: none; accent-color: var(--green); box-shadow: none; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.8em; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a55' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; background-size: 1.1em; }
/* The empty "Select…" choice reads as a placeholder until a real option is picked. */
select:required:invalid { color: #7c8aa0; font-weight: 400; }
select option { color: var(--ink); }
textarea { resize: vertical; }
.was-validated :invalid { border-color: #d64545; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; position: relative; font: 600 1.02rem/1.4 var(--f-b); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Solutions */
.seg-list { display: grid; gap: 22px; }
.seg { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 32px); padding: clamp(24px, 3.6vw, 40px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.seg .eyebrow { margin-bottom: .7rem; color: var(--blue); }
.seg h2 { font-size: 1.6rem; margin-bottom: .4em; }
.seg p { color: var(--muted); max-width: 70ch; }

/* About */
.about-logo { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; box-shadow: var(--sh); justify-self: center; }
.about-logo img { width: min(380px, 100%); height: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.form { display: grid; gap: 18px; }
.form h2 { margin: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form-status.ok { color: var(--green-d); }
.form-status.err { color: #c0392b; }
.contact-side { display: grid; gap: 22px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { color: var(--green-d); background: var(--mint); border-radius: 12px; padding: 10px; width: 44px; height: 44px; }
.contact-list span { display: block; font-size: .82rem; color: var(--muted); }
.contact-list strong { font-weight: 600; font-size: .94rem; overflow-wrap: anywhere; }

/* Call to action */
.cta { padding: 0 0 clamp(56px, 8vw, 104px); }
.sec-soft + .cta { background: var(--soft); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 5vw, 56px); border-radius: 10px; color: #e6f5e8; background: linear-gradient(120deg, var(--green-d), var(--green) 55%, #56b82c); box-shadow: 0 24px 50px -24px rgba(13, 107, 58, .7); }
.cta-in h2 { color: #fff; margin-bottom: .35em; }
.cta-in p { margin: 0; max-width: 56ch; }
.cta-in > div { flex: 1 1 420px; }

/* Footer */
.ftr { background: var(--navy-d); color: #b9cbe2; padding-top: clamp(48px, 6vw, 72px); font-size: .95rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.ftr-logo { width: 132px; height: 132px; border-radius: 12px; background: #fff; margin-bottom: 18px; }
.ftr h3 { color: #fff; font: 600 .76rem/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.3em; }
.ftr ul { display: grid; gap: .6em; }
.ftr a { color: #b9cbe2; }
.ftr a:hover { color: var(--lime); }
.ftr .tbd { color: #8296b3; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contact .ico { color: var(--lime); margin-top: .2em; }
.ftr-base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #8ea3bf; }
.ftr-credit { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; padding: 14px 0 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; color: #8ea3bf; }
.ftr-credit img { width: auto; height: 18px; }
.ftr-credit .ftr-dev { color: #dbe7f5; font-weight: 400; letter-spacing: .02em; }

/* Scroll reveal (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .g4, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .nav-tg { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -20px rgba(11, 42, 85, .3); display: none; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: .85em 1em; border-radius: 12px; }
  .nav-cta { margin: 8px 0 0; }
}
@media (max-width: 860px) {
  .hero-in, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .chip-a { left: 10px; }
  .chip-b { right: 10px; }
  .epc { margin-top: 0; padding-top: 8px; }
  .epc-grid { grid-template-columns: 1fr; }
  .epc-card:not(:last-child)::after { display: none; }
  .epc-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .epc-card:last-child { border-bottom: 0; }
  .g2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .g3, .g4, .flow, .why-grid, .row, .ticks.cols, .ftr-grid { grid-template-columns: 1fr; }
  .epc-block, .seg { grid-template-columns: 1fr; }
  .chip { font-size: .76rem; padding: 9px 12px; }
  .timeline::before { left: 21px; }
  .timeline > li { grid-template-columns: 44px 1fr; gap: 14px; }
  .tl-n { width: 44px; height: 44px; font-size: .9rem; }
  .brand-mark { height: 44px; }
  .brand .wm-img { height: 29px; }
  .out { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Phone layout: tighter sections, two-up cards, full-width buttons and a bottom action bar. */
.mbar { display: none; }
@media (max-width: 640px) {
  body { font-size: .98rem; }
  .container, .narrow { width: calc(100% - 32px); }
  .sec { padding: 48px 0; }
  .sec-head { margin-bottom: 24px; }
  .lead { font-size: 1.02rem; }
  .hdr-in { min-height: 64px; }
  html { scroll-padding-top: 76px; }

  .hero { padding: 28px 0 40px; }
  .hero-in { gap: 28px; }
  .hero-btns { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 1.4rem 0 1.3rem; }
  .hero-btns .btn { width: 100%; }
  .sh-label, .sh-label text { font-size: 14px; }
  .phero { padding: 36px 0 32px; }

  .epc-card { padding: 20px 18px; gap: 16px; }
  .epc-art { width: 76px; height: 76px; }
  .epc-art.big { width: 92px; height: 92px; }
  .epc-block, .seg { padding: 20px; gap: 16px; }

  .grid { gap: 12px; }
  .card { padding: 20px; }
  .m-two { grid-template-columns: 1fr 1fr; }
  .m-two .card { padding: 16px 14px; }
  .m-two .card h3 { font-size: .95rem; margin-bottom: .3em; }
  .m-two .card p { font-size: .84rem; line-height: 1.45; }
  .m-two .card-ico { width: 42px; height: 42px; margin-bottom: 12px; }
  .m-two .more { padding-top: 12px; font-size: .84rem; }
  .m-brief .card p { display: none; }

  .flow { gap: 10px; margin-bottom: 26px; }
  .flow li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 14px 16px; }
  .flow-n { grid-row: span 2; width: auto; margin: 4px 0 0; padding: 0; border: 0; }
  .flow h3 { margin: 0 0 .2em; }

  .why { padding: 16px; }
  .panel { padding: 22px 18px; }
  .tl-body { padding: 18px 16px; }
  .tl-body h2 { font-size: 1.12rem; }
  .faq details { padding: 0 16px; }
  .faq summary { padding: 16px 30px 16px 0; font-size: .98rem; }
  .form .btn, .cta-in .btn, .center .btn, .sec-navy .btn { width: 100%; }
  .cta-in { padding: 26px 20px; gap: 20px; }
  .cta-in > div { flex-basis: 100%; }

  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .ftr-grid > :first-child, .ftr-grid > :last-child { grid-column: 1 / -1; }
  .ftr-logo { width: 104px; height: 104px; }
  .ftr-base { flex-direction: column; gap: 6px; }
  .ftr { padding-bottom: 70px; }

  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(11, 42, 85, .5); }
  .mbar .btn { padding: .78em 1em; }
  .is-loading:not(.is-loaded) .mbar { display: none; }
}

/* Photographs */
.card-link { overflow: hidden; }
.card-img { display: block; width: calc(100% + 56px); max-width: none; height: 150px; margin: -28px -28px 20px; object-fit: cover; }
.card-img + .card-ico { display: none; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shots-wrap { margin-top: 28px; }
.shot { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--soft); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; background: linear-gradient(transparent, rgba(7, 29, 60, .82)); color: #fff; font: 600 .74rem/1.3 var(--f-m); letter-spacing: .1em; text-transform: uppercase; }
.seg { grid-template-columns: auto 1fr minmax(0, 320px); }
.seg-img { width: 100%; height: 100%; min-height: 220px; max-height: 300px; object-fit: cover; border-radius: 10px; }
.inline-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-top: 8px; }
@media (max-width: 860px) {
  .seg { grid-template-columns: auto 1fr; }
  .seg-img { grid-column: 1 / -1; height: 220px; }
}
@media (max-width: 640px) {
  .card-img { width: calc(100% + 40px); height: 130px; margin: -20px -20px 14px; }
  .m-two .card-img { width: calc(100% + 28px); height: 96px; margin: -16px -14px 12px; }
  .shots { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shots .shot:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .shot figcaption { padding: 26px 12px 10px; font-size: .66rem; }
  .seg { grid-template-columns: 1fr; }
  .seg-img { height: 190px; min-height: 0; }
}



/* Leadership & team */
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.person { flex: 0 1 calc((100% - 44px) / 3); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--sun); border-radius: 10px; padding: 26px 24px 24px; }
.person-in { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--navy); color: #fff; font: 800 1.05rem/1 var(--f-d); font-stretch: 112%; letter-spacing: .02em; margin-bottom: 18px; }
.person h3 { font-size: 1.2rem; margin-bottom: .35em; }
.person-role { margin: 0 0 14px; font: 600 .74rem/1.45 var(--f-m); letter-spacing: .09em; text-transform: uppercase; color: var(--green-d); }
.person-role span { display: block; color: var(--muted); }
.person-about { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 1020px) { .person { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .people { gap: 12px; } .person { flex-basis: 100%; padding: 20px 18px; } .person-in { width: 44px; height: 44px; margin-bottom: 14px; } }
