:root {
  box-sizing: border-box;
  --bg: #fafaf5;
  --surface: #ffffff;
  --forest: #16332a;
  --forest-2: #1f4536;
  --green: #2e6449;
  --green-deep: #204736;
  --green-pale: #e7eee4;
  --gold: #c7a155;
  --ink: #11150f;
  --line: rgba(17, 21, 15, 0.14);
  --line-soft: rgba(17, 21, 15, 0.08);
  --line-invert: rgba(255, 255, 255, 0.18);
  --line-invert-soft: rgba(255, 255, 255, 0.1);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}
* {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html,
body {
  min-height: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Work Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open,
body.modal-open {
  overflow: hidden;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 900px) {
  .container {
    padding: 0 56px;
  }
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eyebrow-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.eyebrow-name .dot {
  color: var(--gold);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.light .eyebrow {
  color: var(--gold);
}

/* PROGRESS BAR */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  z-index: 999;
  transition: width 0.1s linear;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 21, 15, 0.12);
}
.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn-solid:hover {
  background: var(--forest);
  border-color: var(--forest);
}
.btn-outline-invert {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-outline-invert:hover {
  background: #fff;
  color: var(--forest);
}

/* NAV */
header.site-nav {
  position: sticky;
  top: 0;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition:
    box-shadow 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
header.site-nav.nav-hidden {
  transform: translateY(-110%);
}
header.site-nav.scrolled {
  box-shadow: 0 6px 24px rgba(17, 21, 15, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}
.nav-links {
  display: none;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.7;
  position: relative;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}
.nav-cta {
  display: none;
}
@media (min-width: 860px) {
  .nav-cta {
    display: inline-flex;
  }
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }
}
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition:
    max-height 0.35s ease,
    border-color 0.35s ease;
}
.mobile-menu.open {
  max-height: 400px;
  overflow-y: auto;
  border-top-color: var(--line-soft);
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.mobile-menu a {
  padding: 12px 0;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid var(--line-soft);
}

/* HERO */
.hero {
  padding: 60px 0 70px;
}
.hero-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 64px;
  }
}
.kicker {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 18px;
}
.kicker .globe {
  color: var(--gold);
  font-size: 8px;
  vertical-align: middle;
}
.hero-headline {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.14;
  max-width: 20ch;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  max-width: 46ch;
  opacity: 0.78;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-tagline {
  margin-top: 36px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--green);
}

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 15% 0%, #3e6b54 0%, transparent 55%),
    radial-gradient(120% 120% at 85% 100%, #16332a 0%, transparent 60%),
    linear-gradient(155deg, #0f241c 0%, #204536 55%, #0c1f18 100%);
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}
.photo-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame .cap {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.03em;
}
/* .photo-frame.square {
  aspect-ratio: auto;
} */
.photo-frame.square {
  aspect-ratio: 4 / 5;
}
.photo-frame.square > img {
  object-position: center top;
}
.photo-frame.wide {
  aspect-ratio: 16 / 10;
}
.photo-frame.tone-1 {
  background:
    radial-gradient(120% 100% at 20% 0%, #4c7a5f 0%, transparent 55%),
    radial-gradient(120% 120% at 80% 100%, #16332a 0%, transparent 60%),
    linear-gradient(155deg, #0e231b 0%, #275844 55%, #0b1e17 100%);
}
.photo-frame.tone-2 {
  background:
    radial-gradient(120% 100% at 80% 10%, #c7a155 0%, transparent 45%),
    radial-gradient(120% 120% at 10% 100%, #16332a 0%, transparent 60%),
    linear-gradient(155deg, #14281f 0%, #204536 55%, #0c1f18 100%);
}

/* VIDEO PREVIEW (case studies) */
.video-preview {
  cursor: pointer;
}
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-preview:hover .video-thumb {
  transform: scale(1.04);
}
.video-preview .play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(17, 21, 15, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}
.video-preview:hover .play-badge {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* CONTACT MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.modal.open {
  visibility: visible;
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 17, 0.7);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--bg);
  color: var(--ink);
  border-radius: 4px;
  padding: 44px 36px 36px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal.open .modal-panel {
  transform: none;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.modal-close:hover {
  opacity: 1;
}
.modal-body h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 10px;
}
.modal-lede {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.72;
  margin-bottom: 26px;
}
.modal-success[hidden] {
  display: none;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row {
  display: grid;
  gap: 18px;
}
@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  resize: vertical;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 100, 73, 0.14);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #b3402f;
}
.form-error {
  font-size: 13px;
  color: #b3402f;
  min-height: 0;
}
.contact-form .btn-solid {
  align-self: flex-start;
}
.contact-form.loading .btn-label {
  opacity: 0.5;
}
.contact-form.loading .btn-spinner {
  display: inline-block;
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

/* SECTIONS GENERIC */
section {
  padding: 84px 0;
}
.section-head {
  max-width: 62ch;
  margin-bottom: 48px;
}
.section-head .lede {
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.75;
  line-height: 1.6;
}
.section-head.light .lede {
  opacity: 0.72;
}
.band-forest {
  background: var(--forest);
  color: #f4f5f0;
}
.band-forest h2,
.band-forest h3 {
  color: #fff;
}

/* BUILDING */
.building-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 760px) {
  .building-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.build-card {
  padding: 34px 28px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.build-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22, 51, 42, 0.1);
  border-color: var(--line);
}
.build-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.build-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
}
.build-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--green);
}
.build-link.light {
  color: var(--gold);
}
.build-link span {
  transition: transform 0.25s ease;
}
.build-link:hover span {
  transform: translateX(4px);
}

/* CASE STUDIES */
.case {
  display: grid;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line-invert-soft);
}
.case:first-of-type {
  border-top: none;
}
@media (min-width: 860px) {
  .case {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
  .case.reverse {
    grid-template-columns: 1fr 1.3fr;
  }
  .case.reverse .photo-frame {
    order: 2;
  }
}
.case .meta {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-bottom: 10px;
}
.case h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 14px;
}
.case p:not(.meta) {
  opacity: 0.78;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 46ch;
}

.featured-list {
  margin-top: 20px;
  border-top: 1px solid var(--line-invert-soft);
}
.featured-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line-invert-soft);
  transition:
    padding-left 0.25s ease,
    opacity 0.25s ease;
}
.featured-item:hover {
  padding-left: 10px;
  opacity: 0.85;
}
.featured-item h4 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  max-width: 60ch;
}
.featured-item span {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--gold);
  white-space: nowrap;
}
.see-all {
  margin-top: 26px;
}

/* ACC */
.acc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-family: "Fraunces", serif;
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 40px;
}
.acc-stats .count {
  color: var(--green);
}
.acc-stats .dim {
  opacity: 0.5;
}
.acc-strip-outer {
  overflow: hidden;
  padding: 8px 0 44px;
}
.acc-strip {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
  padding: 0 24px;
}
.acc-strip-outer:hover .acc-strip {
  animation-play-state: paused;
}
.acc-tile {
  flex: 0 0 auto;
  width: 260px;
  height: 150px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--forest) 0%, var(--green) 100%);
  display: block;
}
.acc-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.acc-tile:hover img {
  transform: scale(1.06);
}
.acc-tile .play-badge.sm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(17, 21, 15, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background 0.25s ease;
}
.acc-tile:hover .play-badge.sm {
  background: var(--gold);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.acc-cta {
  padding-bottom: 12px;
}

/* NEWSLETTER */
.newsletter-band {
  text-align: left;
}
.newsletter-inner {
  max-width: 640px;
}
.newsletter-inner h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}
.newsletter-inner > p {
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 50ch;
}
.nl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.nl-form input {
  flex: 1 1 240px;
  padding: 14px 18px;
  border-radius: 2px;
  border: 1px solid var(--line-invert);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}
.nl-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.nl-form input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}
.nl-form .btn-solid {
  position: relative;
  background: var(--gold);
  border-color: var(--gold);
  color: #16241c;
}
.nl-form .btn-solid:hover {
  background: #d9b568;
  border-color: #d9b568;
}
.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(22, 36, 28, 0.3);
  border-top-color: #16241c;
  border-radius: 50%;
}
.nl-form.loading .btn-label {
  opacity: 0.5;
}
.nl-form.loading .btn-spinner {
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.nl-note {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.55;
}
.nl-success {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gold);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease;
}
.nl-success.show {
  max-height: 40px;
  opacity: 1;
}

/* CONSULTING */
.consult-grid {
  display: grid;
  gap: 44px;
}
@media (min-width: 900px) {
  .consult-grid {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
  }
}
.consult-grid h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}
@media (min-width: 900px) {
  .consult-grid h2 {
    max-width: 12ch;
  }
}
.consult-intro {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.78;
  max-width: 42ch;
  margin-bottom: 30px;
}
.consult-list {
  display: flex;
  flex-direction: column;
}
.consult-row {
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  transition: padding-left 0.25s ease;
}
.consult-row:last-child {
  border-bottom: 1px solid var(--line-soft);
}
.consult-row:hover {
  padding-left: 8px;
}
.consult-row h4 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 6px;
}
.consult-row p {
  font-size: 14.5px;
  opacity: 0.72;
}

/* ABOUT */
.about-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 64px;
  }
}
.about-copy .lede {
  font-size: 19px;
  line-height: 1.55;
  margin: 14px 0 20px;
  font-family: "Fraunces", serif;
  font-weight: 400;
}
.about-copy p:not(.lede):not(.distinction) {
  font-size: 15.5px;
  line-height: 1.7;
  opacity: 0.78;
  margin-bottom: 16px;
  max-width: 52ch;
}
.about-copy .distinction {
  font-style: italic;
  font-family: "Fraunces", serif;
  color: var(--green);
  border-left: 2px solid var(--green);
  padding-left: 16px;
  margin-top: 22px;
}

/* COLLABORATE */
.collab-inner {
  text-align: center;
}
.collab-inner h2 {
  font-size: clamp(30px, 5vw, 48px);
  max-width: 16ch;
  margin: 0 auto 30px;
}
.collab-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.collab-tags span {
  padding: 9px 18px;
  border: 1px solid var(--line-invert);
  border-radius: 999px;
  font-size: 13px;
  opacity: 0.85;
  transition:
    background 0.25s ease,
    opacity 0.25s ease;
}
.collab-tags span:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

/* FOOTER */
footer {
  padding: 54px 0 40px;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (min-width: 700px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.footer-role {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.6;
}
.footer-social {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.footer-social a {
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.footer-social a:hover {
  opacity: 1;
  color: var(--green);
}
.footer-bottom {
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  opacity: 0.55;
}
@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* BACK TO TOP */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.25s ease;
  z-index: 60;
}
.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover {
  background: var(--green);
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.hero-copy .reveal {
  transition-delay: calc(var(--i, 0) * 90ms);
}

.magnetic {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

.idea {
  color: var(--green);
}
