/* Eori redesign — eucalyptus cellulose, expressed through material and restraint. */
:root {
  color-scheme: light;
  --color-ground: #f7f8f3;
  --color-ground-alt: #edf1e9;
  --color-ink: #18251d;
  --color-ink-muted: #4d5b51;
  --color-ink-light: #6e7a70;
  --color-eucalyptus: #315b42;
  --color-eucalyptus-light: #557d61;
  --color-eucalyptus-pale: #e4ece2;
  --color-terracotta: #a94f35;
  --color-terracotta-light: #bd674e;
  --color-terracotta-pale: #f7eae5;
  --color-sage: #8a9a84;
  --color-sage-pale: #e9eee7;
  --focus-ring: 0 0 0 2px var(--color-ground), 0 0 0 4px var(--color-eucalyptus);
}
html { scroll-padding-top: 5rem; }
body {
  background: var(--color-ground);
  color: var(--color-ink);
  letter-spacing: 0;
  line-height: 1.65;
}
::selection { background: #d7e3d4; color: var(--color-ink); }
.container { max-width: 1380px; padding-inline: clamp(1.25rem, 5vw, 5rem); }
.header, .header[data-astro-cid-3ef6ksr2] {
  background: rgb(247 248 243 / 86%);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid rgb(24 37 29 / 8%);
}
.header .header__inner { height: 76px; }
.header .header__nav-list { gap: clamp(1.3rem, 2.5vw, 2.4rem); }
.header .header__nav-link { color: #435147; font-size: .9rem; }
.header__nav-link::after { height: 1px; }
.header .header__logo { color: var(--color-ink); }
.header .header__logo svg { width: 150px; height: 40px; }
.header .header__mobile-nav { background: rgb(247 248 243 / 96%); backdrop-filter: blur(20px); }
.btn {
  min-height: 48px;
  border-width: 1px;
  padding: .85rem 1.45rem;
  letter-spacing: 0;
  transition: transform 180ms cubic-bezier(.2,.75,.25,1), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--color-eucalyptus); border-color: var(--color-eucalyptus); }
.btn--primary:hover { background: #254a34; border-color: #254a34; transform: translateY(-1px); }
.btn--outline { color: var(--color-eucalyptus); border-color: rgb(49 91 66 / 42%); }
.btn--outline:hover { color: white; background: var(--color-eucalyptus); border-color: var(--color-eucalyptus); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 5rem); }
h1,h2,h3,h4 { color: var(--color-ink); font-optical-sizing: auto; }
h1,h2 { letter-spacing: -.035em; }
p { letter-spacing: 0; }
.lead { color: var(--color-ink-muted); }
.micro { color: var(--color-eucalyptus); letter-spacing: .13em; font-size: .72rem; }
.reveal { transform: translateY(14px); transition: opacity .55s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal--visible { transform: none; }

/* Home: one sentence, one material image, one direct next step. */
.hero:not(.section--first) {
  min-height: min(780px, calc(100svh - 76px));
  padding: 76px 0 54px;
  background: var(--color-ground);
  overflow: visible;
}
.hero:not(.section--first) .hero__bg { display: block; inset: 14% 5% auto auto; z-index: 0; width: 37%; height: 70%; overflow: hidden; border-radius: 2px; }
.hero:not(.section--first) .hero__bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero:not(.section--first) .hero__overlay { display: none; }
.hero:not(.section--first) .hero__content { position: relative; z-index: 1; }
.hero:not(.section--first) .hero__content {
  max-width: 1380px;
  padding: clamp(4rem, 10vh, 7.5rem) clamp(1.25rem, 5vw, 5rem);
}
.hero .hero__text[data-astro-cid-bbe6dxrz] { max-width: 1100px; }
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero .hero__title {
  max-width: 11ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3.4rem, 9vw, 8.8rem);
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 500;
}
.hero__image-slot {
  display: inline-flex;
  vertical-align: -.06em;
  width: .95em;
  height: .66em;
  overflow: hidden;
  margin-inline: .045em;
  border-radius: .12em;
  background: #dfe6d9;
}
.hero__image-slot img { width: 100%; height: 100%; object-fit: cover; }
.hero__subtitle { max-width: 46ch; margin-bottom: 1.8rem; font-size: clamp(1.05rem, 1.45vw, 1.25rem); }
.hero__actions { gap: .7rem; }
.hero__scroll { display: none; }
.material-story { padding: 0 0 clamp(5rem, 10vw, 9rem); }
.material-story__inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.material-story__copy { max-width: 34rem; }
.material-story__copy h2 { font-size: clamp(2.6rem, 5vw, 5.25rem); line-height: .98; margin: .7rem 0 1.25rem; }
.material-story__copy p { max-width: 45ch; color: var(--color-ink-muted); }
.material-story__figure { margin: 0; }
.material-story__figure img { display: block; width: 100%; aspect-ratio: 1.55 / 1; object-fit: cover; border-radius: 2px; }
.material-story__figure figcaption { margin-top: .7rem; color: var(--color-ink-light); font-size: .78rem; }
.value-props { background: var(--color-ground-alt); }
.value-props__header.value-props__header, .applications__header.applications__header, .impact-stats__header.impact-stats__header { text-align: left; max-width: 740px; margin: 0 0 clamp(2rem, 4vw, 3.5rem); }
.value-props__title, .applications__title, .impact-stats__title { font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; }
.value-props__subtitle, .applications__subtitle, .impact-stats__subtitle { max-width: 56ch; margin-top: 1rem; }
.value-props__grid.value-props__grid { gap: clamp(1rem, 2vw, 1.75rem); border-top: 0; }
body .value-prop.value-prop { box-sizing: border-box; min-width: 0; padding: clamp(1.25rem, 2vw, 1.75rem); border: 1px solid rgb(24 37 29 / 10%); border-radius: 12px; background: rgb(255 255 255 / 58%); }
body .value-prop__icon.value-prop__icon { color: var(--color-eucalyptus); background: transparent; width: 40px; height: 40px; margin-bottom: .8rem; }
body .value-prop__title.value-prop__title { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; }
body .value-prop__description.value-prop__description { color: var(--color-ink-muted); font-size: .94rem; line-height: 1.55; }
.applications { background: var(--color-ground); }
.applications__grid.applications__grid { gap: 1px; background: rgb(24 37 29 / 12%); border: 1px solid rgb(24 37 29 / 12%); }
body .application.application { padding: clamp(1.35rem, 2.8vw, 2.6rem); background: var(--color-ground); border: 0; border-radius: 0; box-shadow: none; }
body .application.application:hover.application:hover { transform: none; background: #f0f3ed; }
.application__title { font-size: clamp(1.55rem, 2.2vw, 2.25rem); }
.application__description { color: var(--color-ink-muted); }
.impact-stats { background: #e6ece4; }
.impact-stats__grid.impact-stats__grid { gap: 0; border-top: 1px solid rgb(24 37 29 / 17%); }
body .impact-stat.impact-stat { padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid rgb(24 37 29 / 17%); background: transparent; }
body .impact-stat__value.impact-stat__value { color: var(--color-eucalyptus); letter-spacing: -.05em; }
body .impact-stat__label.impact-stat__label { color: var(--color-ink); }
body .impact-stat__detail.impact-stat__detail { color: var(--color-ink-muted); }

/* Interior pages: clear page titles followed by generous, useful photography. */
.hero.section--first { min-height: 0; padding: 140px 0 52px; background: var(--color-ground); }
.hero.section--first .container { max-width: 1380px; }
.hero.section--first .hero__content { width: min(100%, 920px); max-width: none; padding: 0; }
.hero.section--first .hero__title { max-width: 12ch; font-size: clamp(3.25rem, 7vw, 6.5rem); line-height: .96; margin-bottom: 1rem; }
.hero.section--first .hero__subtitle { max-width: 55ch; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero.section--first .hero__eyebrow { display: block; }
.editorial-photo { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.editorial-photo .container { max-width: 1380px; }
.editorial-photo figure { position: relative; }
.editorial-photo img { width: 100%; max-height: 620px; aspect-ratio: 2.15 / 1; object-fit: cover; border-radius: 2px; }
.editorial-photo figcaption { margin-top: .75rem; font-size: .8rem; color: var(--color-ink-light); }
.section__title { font-size: clamp(2.45rem, 4.6vw, 4.6rem); line-height: 1; }
.hr { width: 44px; height: 2px; border: 0; background: var(--color-eucalyptus); margin: 1rem 0 1.5rem; }
.grid { gap: clamp(1.5rem, 4vw, 3.5rem); }
body .principle.principle { padding: 1.5rem 0; border-top: 1px solid rgb(24 37 29 / 16%); background: transparent; border-radius: 0; box-shadow: none; }
body .principle__number.principle__number { color: var(--color-eucalyptus); }
.faq-list { border-top: 1px solid rgb(24 37 29 / 16%); }
.faq-item { border-bottom: 1px solid rgb(24 37 29 / 16%); }
.faq-trigger { padding-block: 1.25rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.faq-answer__content { max-width: 62ch; padding: 0 0 1.4rem; color: var(--color-ink-muted); }
.contact-form { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--color-ground-alt); border-radius: 2px; }
.form-input, .form-select, .form-textarea { border-color: rgb(24 37 29 / 22%); border-radius: 2px; background: var(--color-ground); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--color-eucalyptus); box-shadow: 0 0 0 3px rgb(49 91 66 / 12%); }
.footer { background: #18251d; color: #f7f8f3; }
.footer h4, .footer a, .footer__logo { color: #f7f8f3; }
.footer__tagline, .footer__connect-text, .footer__copyright, .footer__credit { color: #c2cbc2; }
.footer__nav-group a { opacity: .84; }
.footer__nav-group a:hover { opacity: 1; color: white; }
.footer__bottom { border-color: rgb(247 248 243 / 18%); }

@media (min-width: 768px) {
  .value-props__grid.value-props__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .impact-stats__grid.impact-stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .header__inner { height: 68px; }
  .hero:not(.section--first) { min-height: 0; padding-top: 68px; }
  .hero:not(.section--first) .hero__bg { display: none; }
  .hero:not(.section--first) .hero__content { padding: 4.5rem 1.25rem 4rem; }
  .hero__title { font-size: clamp(3.35rem, 14vw, 6rem); line-height: .94; }
  .hero__image-slot { width: .88em; height: .62em; }
  .hero__subtitle { font-size: 1.05rem; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .material-story { padding-inline: 1.25rem; }
  .material-story__inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .material-story__copy h2 { font-size: clamp(2.7rem, 12vw, 4.5rem); }
  .material-story__figure img { aspect-ratio: 1.2 / 1; }
  .hero.section--first { padding: 112px 0 36px; }
  .hero.section--first .hero__title { font-size: clamp(3rem, 13vw, 5.2rem); }
  .editorial-photo img { aspect-ratio: 1.25 / 1; }
  .contact-form { margin-top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none !important; transition: opacity .2s ease !important; }
  .btn { transition: none !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .header, .header__mobile-nav { background: var(--color-ground); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .header { border-bottom: 1px solid currentColor; }
  .btn--outline { border-width: 2px; }
}

.application__visual { margin: 0 0 1.5rem; }
.application__visual img { display:block; width:100%; aspect-ratio: 1.65 / 1; object-fit:cover; }
.application__visual figcaption { margin-top:.4rem; color:var(--color-ink-light); font-size:.72rem; }
.hero:not(.section--first) .hero__subtitle { max-width: 40ch; }
/* Final accessibility and composition refinements. */
:root { --color-ink-light: #58645a; }
.header[data-astro-cid-3ef6ksr2] { border-bottom: 0; }
.micro, .hero__eyebrow { display: none !important; }
.small, .micro, small, figcaption, .footer__copyright, .footer__credit, .footer__nav-title { font-size: max(13px, .8125rem); }
.footer__nav-title { text-transform: none; letter-spacing: 0; }
.material-story__figure figcaption, .application__visual figcaption, .editorial-photo figcaption { font-size: max(13px, .8125rem); color: #58645a; }
.hero:not(.section--first) .hero__subtitle { max-width: 40ch; }
.value-props__grid.value-props__grid, .impact-stats__grid.impact-stats__grid { border: 0; }
body .value-prop.value-prop, body .impact-stat.impact-stat { border: 0; }
body .value-prop__icon.value-prop__icon { display: none; }
body .value-prop.value-prop { padding: clamp(1.25rem, 2vw, 1.75rem); }
body .impact-stat.impact-stat { padding: 1.25rem 1rem 1.25rem 0; }
body .application__grid { gap: clamp(1.25rem, 2vw, 2rem); background: transparent; border: 0; }
.btn--outline { border-color: transparent; background: var(--color-eucalyptus-pale); }
.btn--outline:hover { color: white; background: var(--color-eucalyptus); }
.hero:not(.section--first) .hero__bg img { clip-path: inset(0 100% 0 0); animation: eori-shutter 1.1s cubic-bezier(.32,0,.19,1) .12s forwards; }
@keyframes eori-shutter { to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; visibility: visible !important; transform: none !important; transition: opacity .2s ease !important; }
  .hero:not(.section--first) .hero__bg img { clip-path: none; animation: none; }
}
.applications__grid.applications__grid { gap: clamp(1.25rem, 2vw, 2rem); background: transparent; border: 0; }
.footer__nav-title.footer__nav-title, .footer__copyright.footer__copyright, .footer__credit.footer__credit { font-size: max(13px, .8125rem); letter-spacing: 0; text-transform: none; }
.impact-stat__detail.impact-stat__detail { font-size: 15px; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.footer.footer[data-astro-cid-sz7xmlte] { border-top: 0 !important; }
.footer__bottom.footer__bottom[data-astro-cid-sz7xmlte] { border-top: 0; }
.header .header__logo { display: flex; align-items: center; width: 144px; height: 66px; overflow: hidden; flex: 0 0 144px; }
.header .header__logo img.brand-logo { display: block; width: 144px; height: auto; max-width: none; flex: none; }
.footer.footer[data-astro-cid-sz7xmlte] { background: var(--color-ground-alt); color: var(--color-ink); }
.footer.footer h4, .footer.footer a, .footer.footer .footer__logo { color: var(--color-ink); }
.footer.footer .footer__tagline, .footer.footer .footer__connect-text, .footer.footer .footer__copyright, .footer.footer .footer__credit { color: var(--color-ink-muted); }
.footer .footer__logo { display: block; width: 144px; height: 66px; overflow: hidden; }
.footer .footer__logo img.brand-logo { display: block; width: 144px; height: auto; max-width: none; }
@media (max-width: 767px) {
  .header .header__logo { width: 120px; height: 55px; flex-basis: 120px; }
  .header .header__logo img.brand-logo { width: 120px; }
}
.value-props__header.value-props__header {
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.value-props__grid.value-props__grid {
  row-gap: clamp(2rem, 4vw, 3.5rem);
}
/* Contact form: calm, structured fields with a clear primary action. */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: #f2f4ef;
  border: 1px solid rgb(24 37 29 / 10%);
  border-radius: 8px;
}
.contact-form .form-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
}
.contact-form .form-group:nth-child(5) {
  grid-column: 1 / -1;
}
.contact-form .form-label {
  color: var(--color-ink);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.25rem;
  padding: .85rem 1rem;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid rgb(24 37 29 / 18%);
  border-radius: 5px;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.contact-form .form-textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.55;
}
.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
  color: #68736b;
  opacity: 1;
}
.contact-form .form-input:hover,
.contact-form .form-select:hover,
.contact-form .form-textarea:hover {
  border-color: rgb(24 37 29 / 38%);
}
.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
  outline: none;
  border-color: var(--color-eucalyptus);
  box-shadow: 0 0 0 3px rgb(49 91 66 / 14%);
}
.contact-form .form-submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 3.25rem;
  padding-inline: 1.6rem;
  margin-top: .25rem;
}
@media (max-width: 600px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .contact-form .form-group:nth-child(5),
  .contact-form .form-submit { grid-column: auto; }
  .contact-form .form-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-form .form-input,
  .contact-form .form-select,
  .contact-form .form-textarea { transition: none; }
}
.section[aria-labelledby="form-title"] > .container > .grid.grid--2 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 850px;
  margin-inline: auto;
}
/* Compact shared footer spacing. */
.footer.footer[data-astro-cid-sz7xmlte] {
  padding: clamp(2rem, 4vw, 3rem) 0 1rem;
}
.footer__grid.footer__grid[data-astro-cid-sz7xmlte] {
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}
.footer__connect.footer__connect[data-astro-cid-sz7xmlte] {
  padding-top: 0;
}
.footer__social.footer__social[data-astro-cid-sz7xmlte] {
  gap: .75rem;
  margin-top: 1rem;
}
.footer__bottom.footer__bottom[data-astro-cid-sz7xmlte] {
  padding-top: 1rem;
}
.footer__nav-group[data-astro-cid-sz7xmlte] ul[data-astro-cid-sz7xmlte] {
  row-gap: .75rem;
  column-gap: clamp(1rem, 2vw, 1.75rem);
}
