/* FullStalk — brand tokens (from the logo) */
:root {
  --ink: #163F14;          /* deep stalk green: headings & text */
  --ink-soft: #4E5E4A;     /* body copy */
  --accent: #F5C518;       /* corn yellow: buttons, icons */
  --accent-hover: #FFD84A;
  --green: #3E8E2F;        /* logo green */
  --sand: #E9E6D3;         /* alt section background */
  --paper: #F5F4EE;        /* main section background */
  --white: #FFFFFF;
  --line: rgba(22, 63, 20, 0.12);
  --pad: 60px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 18px; line-height: 1.5;
  background: var(--paper); color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.12; letter-spacing: -0.05em; }
h1 { font-size: clamp(42px, 4.4vw, 64px); }
h2 { font-size: clamp(36px, 3.7vw, 54px); }
h3 { font-size: clamp(30px, 2.9vw, 42px); }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.label { display: block; font-size: 20px; margin-bottom: 20px; letter-spacing: -0.02em; }
.center { text-align: center; }
.center h2 { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  font-size: 17px; font-weight: 500; letter-spacing: -0.02em;
  border: 0; cursor: pointer; overflow: hidden;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* Nav */
.nav-shell { position: fixed; top: 32px; left: 0; right: 0; z-index: 50; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 8px; border-radius: 999px; background: var(--white);
  box-shadow: 0 0 0 rgba(0,0,0,0); transition: box-shadow .4s;
}
.nav-shell.scrolled .nav { box-shadow: 0 10px 30px rgba(22,63,20,.08); }
.nav .logo { display: flex; align-items: center; height: 48px; padding-left: 4px; }
.nav .logo img { height: 54px; width: auto; mix-blend-mode: multiply; }
.nav ul { display: flex; gap: 36px; list-style: none; }
.nav ul a { font-size: 17px; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--accent); border-radius: 50%; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; color: var(--white); display: flex; align-items: stretch; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); animation: heroZoom 2.4s var(--ease) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,25,8,.45), rgba(10,25,8,.62)); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding-top: 236px; padding-bottom: 112px; }
.pill { display: inline-block; font-size: 15px; padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); margin-bottom: 18px; }
.hero h1 { max-width: 640px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 120px; }
.glass {
  width: 238px; padding: 10px 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px);
}
.glass img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.glass strong { display: block; font-weight: 400; font-size: 20px; letter-spacing: -0.03em; }
.glass p { font-size: 15px; opacity: .85; margin-top: 8px; }
.hero-side { max-width: 350px; }
.hero-side p { font-size: 19px; margin-bottom: 26px; letter-spacing: -0.02em; }

/* About */
.about { background: var(--sand); padding: 130px 0 120px; }
.about-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about h2 { max-width: 560px; font-size: clamp(36px, 3.9vw, 56px); }
.about h2 .w { opacity: .18; transition: opacity .25s linear; }
.about h2 .w.on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin-top: 90px; }
.stat { padding-right: 120px; border-right: 1px solid var(--ink); }
.stat:last-child { border: 0; padding-right: 0; }
.stat:not(:first-child) { padding-left: 0; }
.stats .stat + .stat { margin-left: 0; }
.stat h3 { letter-spacing: -0.07em; }
.stat p { margin-top: 10px; font-size: 18px; }

/* Solutions */
.solutions { padding: 120px 0; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.sol-head { grid-column: 1 / 3; align-self: start; }
.sol-head h2 { max-width: 560px; margin-bottom: 36px; }
.sol-card {
  position: relative; border-radius: 20px; overflow: hidden; color: var(--white);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
}
.sol-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s var(--ease); }
.sol-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.15) 100%); }
.sol-card:hover .bg { transform: scale(1.07); }
.sol-card > *:not(.bg) { position: relative; z-index: 2; }
.sol-card h3 { font-size: 34px; letter-spacing: -0.05em; }
.sol-card p { font-size: 17px; margin-top: 18px; max-width: 320px; opacity: .9; }
.sol-card .tags { display: flex; gap: 12px; flex-wrap: wrap; }
.tags span { font-size: 14px; padding: 4px 16px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.sol-card.c1 { height: 362px; }
.sol-card.c2 { height: 444px; }
.sol-card.c3 { height: 712px; grid-column: 3; grid-row: 1 / 3; }
.solutions-grid .c1 { grid-column: 1; grid-row: 2; }
.solutions-grid .c2 { grid-column: 2; grid-row: 2; }
.sol-card.c-extra { height: 420px; }

/* Services: sticky scroll story */
.services { position: relative; height: 500vh; min-height: 200vh; background: #10220e; }
.services-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; color: var(--white); }
.svc-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.svc-bg.on { opacity: 1; transform: scale(1); }
.services-sticky::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8,20,6,.55); }
.services-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 140px; }
.services-inner h2 { text-align: center; max-width: 560px; }
.svc-stage { position: relative; width: min(655px, 100% - 32px); flex: 1; margin-top: 56px; }
.svc-card {
  position: absolute; left: 0; right: 0; top: 0;
  background: var(--sand); color: var(--ink); border-radius: 20px; padding: 12px 12px 28px; text-align: center;
  transform: translateY(110vh); transition: transform .9s var(--ease);
}
.svc-card.on, .svc-card.past { transform: translateY(0); }
.svc-card.past { transform: translateY(0) scale(.94); }
.svc-card img { width: 100%; height: 340px; object-fit: cover; border-radius: 14px; }
.svc-card h3 { font-size: 34px; margin: 24px 0 18px; letter-spacing: -0.05em; }
.svc-card p { color: var(--ink-soft); max-width: 420px; margin: 0 auto; font-size: 20px; }
.svc-meta { position: absolute; left: calc(50% + 348px); bottom: 56px; z-index: 2; font-size: 20px; }
.svc-meta .count b { font-weight: 500; }
.svc-meta .count span { opacity: .6; }
.svc-meta .hint { margin-top: 24px; white-space: nowrap; }

/* Impact */
.impact { background: var(--sand); padding: 120px 0; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.impact h2 { max-width: 580px; }
.impact .lead { color: var(--ink-soft); max-width: 520px; margin: 26px 0 60px; font-size: 20px; }
.impact-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 590px; }
.icon { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 28px; height: 28px; }
.impact-stats h4 { font-size: 34px; letter-spacing: -0.05em; }
.impact-stats p { color: var(--ink-soft); font-size: 17px; margin-top: 18px; }
.impact-img { border-radius: 20px; overflow: hidden; min-height: 600px; }
.impact-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }

/* How it works */
.process { padding: 120px 0; }
.process h2 { margin-bottom: 60px; max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--sand); border-radius: 20px; padding: 24px; height: 454px; display: flex; flex-direction: column; justify-content: space-between; transition: background .5s var(--ease); }
.step:hover { background: var(--accent); }
.step-box { background: var(--white); border-radius: 14px; padding: 24px; transition: transform .5s var(--ease); }
.step:hover .step-box { transform: translateY(-6px); }
.step-box h4 { font-size: 26px; letter-spacing: -0.05em; line-height: 1.15; max-width: 260px; }
.step-box p { color: var(--ink-soft); font-size: 17px; margin-top: 22px; max-width: 290px; }

/* Gallery */
.gallery { background: var(--sand); padding-top: 120px; overflow: hidden; }
.gallery h2 { margin-bottom: 60px; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); height: 1050px; overflow: hidden; }
.g-col { display: flex; flex-direction: column; will-change: transform; }
.g-col img { width: 100%; object-fit: cover; flex: none; }

/* Team */
.team { background: var(--sand); padding: 120px 0; }
.team h2 { margin-bottom: 60px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { position: relative; height: 560px; border-radius: 20px; overflow: hidden; background: #eee; }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.member:hover img { transform: scale(1.05); }
.member-info { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--white); border-radius: 12px; padding: 18px 20px; transition: transform .5s var(--ease); }
.member:hover .member-info { transform: translateY(-6px); }
.member-info h4 { font-size: 24px; letter-spacing: -0.04em; }
.member-info p { color: var(--ink-soft); font-size: 17px; margin-top: 4px; }

/* Testimonials */
.testimonials { padding: 120px 0; overflow: hidden; }
.t-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; }
.t-head h2 { max-width: 420px; }
.t-head p { max-width: 380px; color: var(--ink-soft); margin-right: 100px; }
.t-viewport { overflow: hidden; }
.t-track { display: flex; gap: 24px; transition: transform .9s var(--ease); padding-left: var(--pad); }
.t-card {
  flex: none; width: 767px; height: 460px; background: var(--white); border-radius: 20px; padding: 24px;
  display: grid; grid-template-columns: 1fr 312px; grid-template-rows: minmax(0, 1fr); gap: 48px; overflow: hidden;
}
.t-card .text { display: flex; flex-direction: column; justify-content: space-between; }
.t-card .q { width: 28px; height: 24px; }
.t-card blockquote { font-size: 26px; letter-spacing: -0.04em; line-height: 1.15; margin-top: 40px; }
.t-card .who strong { font-weight: 400; font-size: 18px; }
.t-card .who small { display: block; color: var(--ink-soft); font-size: 16px; margin-top: 8px; }
.t-card img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 14px; }
.dots { display: flex; gap: 8px; padding: 6px 8px; border-radius: 999px; background: rgba(22,63,20,.15); width: max-content; margin: 60px auto 0; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); cursor: pointer; transition: background .3s, width .4s var(--ease); }
.dots button.on { background: var(--white); width: 26px; border-radius: 999px; }

/* FAQ */
.faq { background: var(--white); padding: 120px 0; }
.faq h2 { margin-bottom: 60px; max-width: 460px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-list { display: grid; gap: 8px; align-content: start; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; transition: background .4s; }
.faq-item.open { background: var(--sand); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 32px; background: none; border: 0; cursor: pointer; text-align: left; font-size: 20px; letter-spacing: -0.02em; }
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .5s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 32px; padding: 20px 0 26px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 17px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-img { border-radius: 20px; overflow: hidden; min-height: 560px; }
.faq-img img { width: 100%; height: 100%; object-fit: cover; }

/* CTA + footer */
.cta { position: relative; color: var(--white); padding: 140px 0 30px; overflow: hidden; }
.cta-bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; will-change: transform; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8,20,6,.6); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { max-width: 720px; margin-bottom: 32px; }
/* Call to action switched off in the admin: footer only */
.cta.no-banner { padding-top: 30px; background: var(--ink); }
.cta.no-banner::before { display: none; }
.cta.no-banner .footer { margin-top: 0; }
.footer {
  margin: 80px auto 0; max-width: 1380px; background: var(--white); color: var(--ink);
  border-radius: 20px; padding: 48px 48px 40px; position: relative; z-index: 2;
}
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.foot-brand img { height: 60px; width: auto; mix-blend-mode: multiply; margin-bottom: 20px; }
.foot-brand p { max-width: 340px; font-size: 19px; }
.foot-brand a { display: block; margin-top: 20px; color: var(--ink-soft); }
.footer h5 { font-size: 20px; font-weight: 500; margin-bottom: 26px; letter-spacing: -0.02em; }
.footer ul { list-style: none; display: grid; gap: 16px; }
.footer ul a { color: var(--ink-soft); transition: color .3s; }
.footer ul a:hover { color: var(--green); }
.copy { text-align: center; color: var(--ink-soft); font-size: 16px; padding-top: 20px; }

/* Contact page */
.contact-hero { background: var(--sand); padding: 200px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-top: 60px; }
.contact-info { display: grid; gap: 8px; align-content: start; }
.info-card { background: var(--white); border-radius: 16px; padding: 24px 28px; }
.info-card small { color: var(--ink-soft); font-size: 15px; }
.info-card strong { display: block; font-weight: 500; font-size: 24px; letter-spacing: -0.04em; margin-top: 6px; }
.contact-img { border-radius: 20px; overflow: hidden; height: 280px; margin-top: 16px; }
.contact-img img { width: 100%; height: 100%; object-fit: cover; }
form { background: var(--white); border-radius: 20px; padding: 40px; display: grid; gap: 20px; align-content: start; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 8px; font-size: 16px; }
input, select, textarea { font: inherit; font-size: 17px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .3s, box-shadow .3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(62,142,47,.14); }
textarea { min-height: 160px; resize: vertical; }
form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 14px 18px; border-radius: 12px; font-size: 16px; }
.form-note.ok { background: #E4F2DC; color: var(--ink); }
.form-note.err { background: #FBE3DD; color: #8A2A12; }

/* Reveal animations (Framer-style fade + blur + rise) */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
.hero .reveal { transition-duration: 1.2s; }

.preview .reveal { opacity: 1; transform: none; filter: none; transition: none; }
.preview .hero { min-height: min(100vh, 860px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .stat { padding-right: 40px; }
  .t-card { width: 640px; grid-template-columns: 1fr 240px; gap: 28px; }
  .svc-meta { left: auto; right: 32px; }
}

/* Mobile */
@media (max-width: 810px) {
  :root { --pad: 16px; }
  body { font-size: 17px; }
  .nav-shell { top: 16px; }
  .nav ul, .nav > .btn { display: none; }
  .menu-toggle { display: block; }
  .nav-shell.open .nav { flex-wrap: wrap; height: auto; border-radius: 24px; padding: 8px 8px 16px; }
  .nav-shell.open ul { display: grid; gap: 16px; width: 100%; padding: 16px 12px 8px; }
  .nav-shell.open .nav > .btn { display: inline-flex; margin-left: 12px; }
  .hero .wrap { padding-top: 160px; padding-bottom: 48px; }
  .hero-bottom { flex-direction: column-reverse; align-items: flex-start; margin-top: 60px; }
  .about, .solutions, .impact, .process, .team, .testimonials, .faq { padding: 80px 0; }
  .about-top { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; margin-top: 56px; }
  .stat, .stat:last-child { padding: 0; border: 0; }
  .solutions-grid { grid-template-columns: 1fr; }
  .sol-head, .solutions-grid .c1, .solutions-grid .c2, .sol-card.c3 { grid-column: 1; grid-row: auto; }
  .sol-card.c1, .sol-card.c2, .sol-card.c3 { height: 420px; }
  .services-inner { padding-top: 110px; }
  .svc-stage { margin-top: 28px; }
  .svc-card img { height: 220px; }
  .svc-card h3 { font-size: 26px; }
  .svc-card p { font-size: 17px; }
  .svc-meta { left: 50%; right: auto; transform: translateX(-50%); bottom: 20px; display: flex; gap: 20px; }
  .svc-meta .hint { margin: 0; }
  .impact-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .impact-img { min-height: 380px; }
  .impact-stats { grid-template-columns: 1fr; }
  .steps, .team-grid { grid-template-columns: 1fr; }
  .step { height: 340px; }
  .g-grid { grid-template-columns: 1fr 1fr; height: 760px; }
  .g-col:nth-child(n+3) { display: none; }
  .t-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .t-head p { margin: 0; }
  .t-card { width: calc(100vw - 32px); height: auto; grid-template-columns: 1fr; }
  .t-card img { height: 240px; }
  .faq-q { padding: 20px; font-size: 18px; }
  .faq-a p { margin: 0 20px; }
  .faq-img { min-height: 320px; }
  .footer { margin: 60px 16px 0; padding: 32px 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .row { grid-template-columns: 1fr; }
  form { padding: 24px; }
  .contact-hero { padding: 140px 0 80px; }
}
