:root {
  --ink: #173f35;
  --ink-deep: #0f3028;
  --paper: #f5f0e5;
  --paper-light: #fbf8f1;
  --cream: #efe5d1;
  --warm: #d8613d;
  --warm-light: #ef8d65;
  --lime: #d9e767;
  --line: rgba(23, 63, 53, 0.16);
  --shadow: 0 30px 70px rgba(25, 54, 47, 0.14);
  --radius: 28px;
  --container: 1180px;
  --heading-font: "Edu QLD Hand", "Segoe Print", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-160%);
  padding: 10px 16px; color: white; background: var(--ink); border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, 0.92);
  border-bottom: 1px solid rgba(23, 63, 53, 0.1); backdrop-filter: blur(14px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 30px; }
.fermenta-logo-link { display: block; width: 150px; flex: 0 0 150px; text-decoration: none; }
.fermenta-logo-header { display: block; width: 100%; height: auto; }
.fermenta-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.fermenta-symbol { width: 42px; height: 42px; position: relative; display: block; }
.fermenta-symbol span { position: absolute; display: block; border-radius: 50%; background: var(--warm); }
.fermenta-symbol span:nth-child(1) { width: 22px; height: 22px; left: 1px; bottom: 2px; }
.fermenta-symbol span:nth-child(2) { width: 15px; height: 15px; right: 1px; bottom: 9px; }
.fermenta-symbol span:nth-child(3) { width: 10px; height: 10px; left: 13px; top: 1px; }
.fermenta-symbol span:nth-child(4) { width: 6px; height: 6px; right: 4px; top: 3px; background: var(--lime); }
.fermenta-name { display: flex; flex-direction: column; line-height: 1; }
.fermenta-name strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; letter-spacing: -0.04em; }
.fermenta-name small { margin-top: 5px; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.desktop-nav a { text-decoration: none; font-weight: 700; font-size: 13px; }
.desktop-nav a:not(.nav-cta):hover { color: var(--warm); }
.nav-cta { padding: 10px 17px; color: white; background: var(--ink); border-radius: 999px; }
.ifsc-header-logo { width: 170px; height: auto; margin-left: 8px; }
.menu-button { display: none; width: 46px; height: 46px; flex: 0 0 46px; border: 0; border-radius: 50%; background: var(--ink); padding: 0; }
.menu-button span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 5px auto; background: white; transition: transform 180ms ease; }
.menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { padding: 10px 20px 22px; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 11px 0; text-decoration: none; font-weight: 700; }

.hero { position: relative; overflow: hidden; color: white; background: var(--ink); }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.15;
  background-image: radial-gradient(rgba(255,255,255,.7) .75px, transparent .75px);
  background-size: 18px 18px;
}
.hero-glow { position: absolute; width: 720px; height: 720px; right: -250px; top: -360px; border-radius: 50%; background: rgba(217,231,103,.12); filter: blur(4px); }
.hero-grid { position: relative; min-height: 690px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; padding-block: 90px 110px; }
.eyebrow { margin: 0 0 22px; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 1px; margin-right: 12px; vertical-align: middle; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--heading-font); font-size: clamp(55px, 6.7vw, 93px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.hero h1 em { color: var(--warm-light); font-weight: inherit; }
.hero-lead { max-width: 600px; margin: 30px 0 0; color: rgba(255,255,255,.8); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 0 14px 34px rgba(8,31,25,.26); }
.button-primary:hover { background: #e5ef89; }
.text-link { color: white; text-underline-offset: 5px; font-weight: 800; }
.text-link span { color: var(--warm-light); }

.hero-visual { position: relative; height: 460px; }
.idea-card { position: absolute; border-radius: 36px; box-shadow: var(--shadow); }
.idea-card-main { inset: 16px 30px 78px 10px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; overflow: hidden; color: var(--ink); background: var(--cream); transform: rotate(3deg); }
.idea-card-main::after { content: ""; position: absolute; width: 220px; height: 220px; right: -72px; bottom: -72px; border: 35px solid var(--warm); border-radius: 50%; opacity: .75; }
.idea-number { font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.idea-card-main p { position: relative; z-index: 1; margin: 0; font-family: var(--heading-font); font-size: clamp(40px, 4.1vw, 59px); line-height: 1.05; letter-spacing: -.025em; font-weight: 500; }
.idea-card-small { right: 0; bottom: 20px; z-index: 4; padding: 20px 24px; color: var(--ink); background: var(--lime); transform: rotate(-4deg); }
.idea-card-small span, .idea-card-small strong { display: block; }
.idea-card-small span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.idea-card-small strong { margin-top: 3px; font-family: var(--heading-font); font-size: 24px; font-weight: 500; }
.bubble { position: absolute; display: block; border-radius: 50%; background: var(--warm); }
.bubble-a { width: 42px; height: 42px; top: 43px; right: 46px; }
.bubble-b { width: 21px; height: 21px; top: 94px; right: 33px; background: var(--ink); }
.bubble-c { width: 13px; height: 13px; top: 30px; right: 101px; background: var(--lime); }
.orbit { position: absolute; display: block; z-index: 5; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.orbit-one { width: 78px; height: 78px; left: -18px; top: 6px; }
.orbit-two { width: 26px; height: 26px; left: 54px; top: -16px; background: var(--warm); border: 0; }
.hero-ticker { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid rgba(255,255,255,.16); background: var(--ink-deep); }
.hero-ticker div { min-width: max-content; display: flex; justify-content: center; align-items: center; gap: 34px; padding: 17px 30px; }
.hero-ticker span { color: rgba(255,255,255,.75); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-ticker i { color: var(--warm-light); font-style: normal; }

.section { padding-block: 120px; }
.section-light { background: var(--paper-light); }
.section-heading { position: relative; margin-bottom: 60px; }
.section-heading h2 { margin: 0; font-family: var(--heading-font); font-size: clamp(48px, 5.7vw, 76px); line-height: 1.03; letter-spacing: -.035em; font-weight: 500; }
.split-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: end; }
.split-heading > p, .heading-aside { margin: 0; max-width: 530px; color: #557069; font-size: 18px; }
.eyebrow-dark { color: var(--ink); }
.eyebrow-warm { color: var(--warm); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-card { min-height: 420px; padding: 48px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; }
.compare-featured { color: white; background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow); }
.card-label { align-self: flex-start; padding: 7px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.compare-featured .card-label { color: var(--lime); }
.compare-card h3 { margin: 58px 0 15px; font-family: var(--heading-font); font-size: 40px; line-height: 1.08; letter-spacing: -.02em; font-weight: 500; }
.compare-card > p { margin: 0; color: #667b76; font-size: 17px; }
.compare-featured > p { color: rgba(255,255,255,.72); }
.check-list { margin: 32px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid rgba(255,255,255,.12); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 900; }
.card-note { margin-top: auto; padding-top: 24px; display: flex; gap: 15px; border-top: 1px solid var(--line); font-weight: 800; }
.card-note span { color: var(--warm); font-size: 24px; }

.areas-section { overflow: hidden; color: white; background: #1e2926; }
.areas-section .section-heading { padding-right: 36%; }
.areas-section .heading-aside { position: absolute; right: 0; bottom: 4px; color: rgba(255,255,255,.58); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.area-card { min-height: 330px; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; background: rgba(255,255,255,.035); transition: transform 200ms ease, background 200ms ease; }
.area-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.075); }
.area-card-offset { margin-top: 44px; }
.area-code { width: 50px; height: 50px; display: grid; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 13px; font-weight: 900; }
.area-card:nth-child(2) .area-code, .area-card:nth-child(4) .area-code { background: var(--warm-light); }
.area-card h3 { margin: 96px 0 12px; font-family: var(--heading-font); font-size: 36px; font-weight: 500; }
.area-card p { margin: 0; color: rgba(255,255,255,.6); font-size: 14px; }
.area-card-wide { min-height: 130px; grid-column: 2 / 4; display: flex; align-items: center; gap: 28px; }
.area-card-wide h3 { margin: 0 0 5px; }
.area-card-wide .area-code { flex: 0 0 auto; background: var(--cream); }

.journey-section { background: var(--paper); }
.journey-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.journey-list li { min-height: 140px; display: grid; grid-template-columns: 120px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.journey-list li > span { color: var(--warm); font-size: 13px; font-weight: 900; }
.journey-list li div { display: grid; grid-template-columns: .5fr 1fr; align-items: center; gap: 35px; }
.journey-list h3 { margin: 0; font-family: var(--heading-font); font-size: 42px; font-weight: 500; }
.journey-list p { max-width: 570px; margin: 0; color: #5f746f; }

.participate-section { position: relative; overflow: hidden; color: white; background: var(--warm); }
.participate-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.participate-copy h2 { margin: 0; font-family: var(--heading-font); font-size: clamp(52px, 5.7vw, 78px); line-height: 1.03; letter-spacing: -.035em; font-weight: 500; }
.participate-copy p:not(.eyebrow) { max-width: 460px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: 18px; }
.participate-section .eyebrow { color: var(--ink); }
.requirements { display: grid; gap: 16px; }
.requirements article { min-height: 190px; padding: 34px; display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 25px; color: var(--ink); background: var(--paper-light); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(103,45,28,.14); }
.requirement-number { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: Georgia, serif; font-size: 26px; }
.requirements h3 { margin: 0 0 7px; font-family: var(--heading-font); font-size: 35px; font-weight: 500; }
.requirements p { margin: 0; color: #62746f; }

.signup-section { position: relative; overflow: hidden; color: white; background: var(--ink); }
.signup-shape { position: absolute; width: 560px; height: 560px; left: -260px; top: -250px; border: 90px solid rgba(216,97,61,.3); border-radius: 50%; }
.signup-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(217,231,103,.12); }
.signup-copy h2 { margin: 28px 0 22px; font-family: var(--heading-font); font-size: clamp(52px, 5.7vw, 78px); line-height: 1.03; letter-spacing: -.035em; font-weight: 500; }
.signup-copy p { max-width: 460px; color: rgba(255,255,255,.68); font-size: 18px; }
.contact-link { color: var(--lime); font-weight: 800; text-underline-offset: 5px; }
.interest-form { padding: 44px; color: var(--ink); background: var(--paper-light); border-radius: 32px; box-shadow: 0 32px 80px rgba(6,28,23,.36); }
.form-heading { margin-bottom: 30px; }
.form-heading span, .form-heading strong { display: block; }
.form-heading span { color: var(--warm); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.form-heading strong { margin-top: 5px; font-family: var(--heading-font); font-size: 38px; line-height: 1.15; font-weight: 500; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.field input { width: 100%; height: 56px; padding: 0 16px; color: var(--ink); background: white; border: 1px solid #ccd5cf; border-radius: 12px; outline: none; }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,63,53,.12); }
.consent { margin: 8px 0 22px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: #60736e; font-size: 12px; }
.consent input { width: 18px; height: 18px; accent-color: var(--ink); }
.button-dark { width: 100%; color: white; background: var(--ink); }
.button-dark:hover { background: var(--warm); }
.form-note { margin: 14px 0 0; color: #6e7f7a; font-size: 11px; text-align: center; }
.google-form-frame { width: 100%; height: 620px; margin-bottom: 20px; overflow: hidden; border: 1px solid #d9dfda; border-radius: 18px; background: white; }
.google-form-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.form-open-link { margin-top: 4px; }

.has-motion > .container { position: relative; z-index: 2; }
.motion-bubbles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.motion-bubble { position: absolute; display: block; border-radius: 50%; transform: translate3d(0, var(--parallax-y, 0px), 0); will-change: transform; }
.motion-ring { border: 6px solid var(--warm-light); }
.motion-dot { background: var(--lime); }
.motion-bubble-a { width: 68px; height: 68px; top: 12%; left: 4%; opacity: .55; }
.motion-bubble-b { width: 18px; height: 18px; top: 70%; left: 48%; opacity: .65; }
.motion-bubble-c { width: 38px; height: 38px; top: 20%; right: 5%; border-color: var(--lime); opacity: .62; }
.motion-bubble-d { width: 82px; height: 82px; top: 15%; right: 7%; opacity: .24; }
.motion-bubble-e { width: 22px; height: 22px; top: 62%; left: 6%; background: var(--warm-light); opacity: .55; }
.motion-bubble-f { width: 44px; height: 44px; bottom: 9%; right: 33%; border-color: var(--lime); opacity: .38; }
.motion-bubble-g { width: 96px; height: 96px; top: 13%; left: 3%; border-color: var(--ink); opacity: .16; }
.motion-bubble-h { width: 28px; height: 28px; bottom: 12%; right: 4%; background: var(--lime); opacity: .55; }
.motion-bubble-i { width: 62px; height: 62px; top: 22%; right: 4%; border-color: var(--warm-light); opacity: .38; }
.motion-bubble-j { width: 19px; height: 19px; bottom: 15%; left: 9%; background: var(--lime); opacity: .52; }

.site-footer { padding-top: 72px; color: white; background: #0b211c; }
.footer-top { padding-bottom: 60px; display: grid; grid-template-columns: 1fr .8fr .8fr; gap: 70px; align-items: end; }
.fermenta-brand-light .fermenta-name strong { color: white; }
.fermenta-brand-light .fermenta-name small { color: rgba(255,255,255,.55); }
.footer-brand p { max-width: 290px; margin: 22px 0 0; color: rgba(255,255,255,.52); }
.fermenta-logo-footer-card { width: 270px; display: block; }
.fermenta-logo-footer { width: 100%; height: auto; display: block; }
.footer-contact span { display: block; margin-bottom: 9px; color: rgba(255,255,255,.45); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact a { color: var(--lime); font-weight: 800; text-underline-offset: 5px; }
.ifsc-footer-logo { width: 245px; justify-self: end; }
.footer-bottom { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.46); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .ifsc-header-logo { margin-left: auto; width: 145px; }
  .menu-button { display: block; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 65px; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .split-heading, .participate-grid, .signup-grid { grid-template-columns: 1fr; gap: 45px; }
  .areas-section .section-heading { padding-right: 0; }
  .areas-section .heading-aside { position: static; margin-top: 26px; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .area-card-wide { grid-column: 1 / -1; }
  .area-card-offset { margin-top: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ifsc-footer-logo { justify-self: start; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 74px; gap: 12px; }
  .fermenta-logo-link { width: 105px; flex-basis: 105px; }
  .fermenta-name small { display: none; }
  .ifsc-header-logo { display: block; width: 105px; margin-left: auto; }
  .menu-button { margin-left: auto; }
  .hero-grid { padding-block: 70px 80px; }
  .hero h1 { font-size: clamp(46px, 14.3vw, 65px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { height: 370px; }
  .idea-card-main { inset: 12px 22px 62px 0; padding: 28px; }
  .idea-card-small { right: 2px; bottom: 6px; }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 42px; }
  .compare-grid, .areas-grid { grid-template-columns: 1fr; }
  .compare-card { min-height: 0; padding: 32px 27px; }
  .compare-card h3 { margin-top: 40px; }
  .area-card { min-height: 270px; }
  .area-card h3 { margin-top: 70px; }
  .area-card-wide { grid-column: auto; min-height: 220px; align-items: flex-start; flex-direction: column; }
  .journey-list li { grid-template-columns: 46px 1fr; align-items: start; padding-block: 28px; }
  .journey-list li div { grid-template-columns: 1fr; gap: 8px; }
  .journey-list h3 { font-size: 30px; }
  .requirements article { grid-template-columns: 56px 1fr; padding: 27px 22px; }
  .requirement-number { width: 52px; height: 52px; }
  .interest-form { padding: 30px 16px; }
  .google-form-frame { height: 660px; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { padding-block: 25px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .header-inner { gap: 7px; }
  .fermenta-logo-link { width: 92px; flex-basis: 92px; }
  .fermenta-brand { gap: 7px; }
  .fermenta-symbol { width: 34px; height: 34px; }
  .fermenta-symbol span:nth-child(1) { width: 18px; height: 18px; }
  .fermenta-symbol span:nth-child(2) { width: 12px; height: 12px; }
  .fermenta-name strong { font-size: 21px; }
  .ifsc-header-logo { width: 82px; }
  .menu-button { width: 40px; height: 40px; flex-basis: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .motion-bubble { transform: none !important; }
}
