/* =========================================================================
   SISU Ventures — marketing site
   Design tokens, layout and component styles.
   ========================================================================= */

:root {
  --green-primary: #14361f;   /* buttons, contact bg, accents, links */
  --green-heading: #16371f;   /* headings, wordmark */
  --green-darkest: #0e2b16;   /* button hover, footer bg */
  --green-mid:     #3c7850;   /* progress-bar end, quote mark */
  --green-soft:    #7aa885;   /* aurora blob */

  --text:        #1b2420;
  --text-muted:  #3f463f;
  --text-muted2: #4c534c;
  --nav-link:    #454d46;
  --eyebrow:     #8a9089;

  --on-green-eyebrow: #8fae97;
  --on-green-body:    #c3d2c4;
  --footer-sub:       #7f9a86;

  --bg:          #ffffff;
  --bg-tint:     #f6f4ee;
  --input-bg:    #fbfaf6;
  --hairline:    #e7e4db;
  --input-border:#d8d5cc;
  --btn2-border: #cfcdc2;
  --error:       #a3341f;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  Inter, system-ui, -apple-system, sans-serif;

  --container: 1120px;
  --pad-x: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--green-primary); text-decoration: none; }
a:hover { color: var(--green-darkest); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 16px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  margin: 0;
  color: var(--green-heading);
}

/* ---- Scroll progress bar ---------------------------------------------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green-primary), var(--green-mid));
  z-index: 60;
  transition: width .12s linear;
}

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 13px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.nav__logo { display: flex; }
.nav__logo img { height: 24px; width: auto; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  flex-wrap: wrap;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--nav-link);
  transition: color .25s;
}
.nav__link:hover { color: var(--green-heading); }

/* ---- Buttons / pills -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, transform .25s, border-color .25s;
}

.btn--filled {
  color: #ffffff;
  background: var(--green-primary);
  border: none;
}
.btn--filled:hover {
  color: #ffffff;
  background: var(--green-darkest);
  transform: translateY(-2px);
}

.btn--outline {
  color: var(--green-heading);
  background: transparent;
  border: 1px solid var(--btn2-border);
}
.btn--outline:hover {
  color: var(--green-heading);
  border-color: var(--green-heading);
  transform: translateY(-2px);
}

/* Nav Contact pill */
.nav__cta { font-size: 14px; padding: 9px 18px; }

/* Hero CTAs (lift a touch more) */
.hero__cta { font-size: 15px; }
.btn--filled.hero__cta:hover,
.btn--outline.hero__cta:hover { transform: translateY(-3px); }
.btn--filled.hero__cta  { padding: 14px 28px; }
.btn--outline.hero__cta { padding: 14px 26px; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}
.hero__blob--a {
  top: -8%; left: 6%;
  width: min(52vw, 560px); height: min(52vw, 560px);
  background: radial-gradient(circle at 50% 50%, rgba(20,54,31,.18), rgba(20,54,31,0) 62%);
  animation: sisuFloatA 17s ease-in-out infinite;
}
.hero__blob--b {
  top: 2%; right: 2%;
  width: min(46vw, 500px); height: min(46vw, 500px);
  background: radial-gradient(circle at 50% 50%, rgba(60,120,80,.16), rgba(60,120,80,0) 64%);
  animation: sisuFloatB 21s ease-in-out infinite;
}
.hero__blob--c {
  bottom: -14%; left: 38%;
  width: min(40vw, 440px); height: min(40vw, 440px);
  background: radial-gradient(circle at 50% 50%, rgba(122,168,133,.16), rgba(122,168,133,0) 64%);
  animation: sisuFloatC 24s ease-in-out infinite;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(74px, 13vw, 156px) var(--pad-x) clamp(56px, 9vw, 100px);
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 22px;
  letter-spacing: .22em;
  animation: sisuFade .8s cubic-bezier(.22,1,.36,1) .1s both;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 7.4vw, 80px);
  line-height: 1.04;
  letter-spacing: .005em;
  margin: 0 0 26px;
  color: var(--green-heading);
  text-wrap: balance;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}
.hero__line > span {
  display: inline-block;
  animation: sisuRise .95s cubic-bezier(.22,1,.36,1) both;
}
.hero__line:nth-child(1) > span { animation-delay: .18s; }
.hero__line:nth-child(2) > span { animation-delay: .32s; }

.hero__subtext {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--text-muted2);
  max-width: 620px;
  margin: 0 auto 38px;
  text-wrap: pretty;
  animation: sisuFade .85s cubic-bezier(.22,1,.36,1) .55s both;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: sisuFade .85s cubic-bezier(.22,1,.36,1) .72s both;
}

/* ---- Sections --------------------------------------------------------- */
.section {
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 9vw, 110px);
}
.section--pad-lg {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.section--tint {
  background: var(--bg-tint);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-head { margin: 0 0 clamp(36px, 5vw, 56px); }

/* ---- About ------------------------------------------------------------ */
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.about__eyebrow { letter-spacing: .2em; margin-bottom: 20px; }
.about__quote-mark {
  font-family: var(--serif);
  color: var(--green-mid);
  font-size: 52px;
  line-height: 0;
  height: 26px;
}
.about__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 0;
  color: var(--green-heading);
  text-wrap: balance;
}
.about__body { max-width: 560px; }
.about__body p { margin: 0 0 20px; color: var(--text-muted); text-wrap: pretty; }
.about__body p:last-child { margin-bottom: 0; }
.about__body em { font-style: italic; color: var(--green-heading); }

/* ---- Services --------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 28px);
}
.card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 1px 3px rgba(22,55,31,.05);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22,55,31,.12);
}
.card__accent {
  width: 44px;
  height: 2px;
  background: var(--green-primary);
  margin: 0 0 22px;
}
.card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--green-heading);
}
.card__body {
  margin: 0 0 22px;
  color: var(--text-muted2);
  font-size: 16px;
  text-wrap: pretty;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.feature-list li {
  display: flex;
  gap: 11px;
  align-items: baseline;
  font-size: 15.5px;
  color: var(--text-muted);
}
.feature-list li::before {
  content: "◆";
  color: var(--green-primary);
  font-size: 13px;
  flex: none;
}

/* ---- Projects --------------------------------------------------------- */
.project-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.project-card__media {
  min-height: 260px;
  background: #eceae2;
  border-right: 1px solid var(--hairline);
  overflow: hidden;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.project-card__body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-card__eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  margin: 0 0 12px;
}
.project-card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--green-heading);
}
.project-card__text {
  margin: 0 0 26px;
  color: var(--text-muted2);
  font-size: 16.5px;
  text-wrap: pretty;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-heading);
  border: 1px solid var(--btn2-border);
  padding: 12px 22px;
  border-radius: 999px;
  transition: gap .25s, border-color .25s, transform .25s;
}
.project-link:hover {
  color: var(--green-heading);
  border-color: var(--green-heading);
  gap: 15px;
  transform: translateY(-2px);
}

/* ---- Contact ---------------------------------------------------------- */
.contact {
  background: var(--green-primary);
  color: #eef1ec;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.contact__eyebrow { color: var(--on-green-eyebrow); }
.contact__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.08;
  margin: 0 0 22px;
  color: #ffffff;
  text-wrap: balance;
}
.contact__text {
  margin: 0 0 30px;
  color: var(--on-green-body);
  font-size: 17px;
  max-width: 420px;
  text-wrap: pretty;
}
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 3px;
  transition: border-color .25s;
}
.contact__email:hover { color: #ffffff; border-color: #ffffff; }

.contact__card {
  background: #ffffff;
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 38px);
  color: var(--text);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}

.form { display: flex; flex-direction: column; gap: 18px; }
.form__honeypot {
  position: absolute;
  left: -9999px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .01em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  transition: border-color .2s, background .2s;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--green-primary);
  background: #ffffff;
  outline: none;
}

.form__submit { margin-top: 4px; font-size: 15px; padding: 14px 24px; }
.form__submit[disabled] { opacity: .7; cursor: default; transform: none; }

.form__status { margin: 0; font-size: 14px; }
.form__status--sending { color: #5f665e; }
.form__status--error { color: var(--error); }
.form__status--error a { color: var(--green-primary); font-weight: 600; }
[hidden] { display: none !important; }

.form-success {
  text-align: center;
  padding: 26px 8px;
}
.form-success__badge {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #eaf1ea;
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  animation: sisuUp .6s cubic-bezier(.22,1,.36,1) both;
}
.form-success h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--green-heading);
}
.form-success p { margin: 0; color: var(--text-muted2); font-size: 16px; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer {
  background: var(--green-darkest);
  color: var(--on-green-body);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 60px) var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .28em;
  color: #ffffff;
}
.wordmark span {
  letter-spacing: .28em;
  font-size: 15px;
  color: var(--on-green-eyebrow);
}
.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
  font-size: 14px;
}
.site-footer__meta a { color: #ffffff; font-weight: 500; }
.site-footer__meta a:hover { color: var(--on-green-body); }
.site-footer__meta span { color: var(--footer-sub); }

/* ---- Scroll reveal ---------------------------------------------------- */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1),
              transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---- Keyframes -------------------------------------------------------- */
@keyframes sisuRise  { from { transform: translateY(118%); } to { transform: translateY(0); } }
@keyframes sisuFade  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sisuUp    { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sisuFloatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(46px,-34px) scale(1.14); } }
@keyframes sisuFloatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-52px,30px) scale(1.18); } }
@keyframes sisuFloatC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,36px) scale(1.1); } }

/* ---- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  .reveal-init { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow, .hero__subtext, .hero__actions,
  .hero__line > span { animation: none !important; }
}
