:root {
  --ink: #202822;
  --muted: #667068;
  --paper: #f4efe5;
  --paper-deep: #e8dece;
  --surface: #fbf8f1;
  --line: rgba(32, 40, 34, 0.14);
  --green: #315b49;
  --green-dark: #203f33;
  --ochre: #c58731;
  --violet: #76608b;
  --shadow: 0 24px 60px rgba(52, 43, 31, 0.08);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 89% 9%, rgba(197, 135, 49, 0.1), transparent 25rem),
    radial-gradient(circle at 6% 39%, rgba(49, 91, 73, 0.07), transparent 28rem),
    var(--paper);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
}

.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-header nav a,
.text-link {
  color: var(--muted);
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-header nav a:hover,
.text-link:hover {
  color: var(--ink);
}

.site-header nav .language-link {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  color: var(--green-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(46px, 7vw, 96px);
  min-height: 690px;
  padding: 76px 0 104px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8.3vw, 7.15rem);
  font-weight: 500;
  line-height: 0.9;
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.07rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.93rem;
  font-weight: 760;
  text-decoration: none;
}

.button-primary {
  color: #fffdf8;
  background: var(--green);
  box-shadow: 0 10px 28px rgba(49, 91, 73, 0.18);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.button-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.text-link {
  font-weight: 720;
}

.text-link span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.legal-page {
  padding: clamp(72px, 9vw, 120px) 0;
}

.legal-intro {
  max-width: 820px;
  margin-bottom: 64px;
}

.legal-intro h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-intro > p:not(.eyebrow, .legal-updated) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-content section {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(251, 248, 241, 0.7);
}

.legal-content h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.footer-note a {
  text-underline-offset: 3px;
}

.trail-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px 36px 36px 12px;
  padding: 28px 30px 26px;
  background:
    linear-gradient(150deg, rgba(255, 253, 248, 0.84), rgba(232, 222, 206, 0.82)),
    var(--surface);
  box-shadow: var(--shadow);
}

.trail-panel::after {
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(49, 91, 73, 0.1);
  border-radius: 50%;
  content: "";
}

.trail-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 58px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trail-kicker {
  color: var(--green);
}

.trail-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin-bottom: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.02;
}

.trail-map {
  position: relative;
  z-index: 1;
  min-height: 185px;
  margin: 0 -6px 18px;
}

.trail-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trail-map path {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 3 10;
}

.trail-map circle {
  fill: var(--ochre);
  stroke: var(--paper);
  stroke-width: 5;
}

.trail-label {
  position: absolute;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(244, 239, 229, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-style: italic;
}

.trail-label-one {
  left: 0;
  bottom: 4px;
}

.trail-label-two {
  top: 0;
  left: 28%;
}

.trail-label-three {
  left: 60%;
  bottom: 4px;
}

.trail-label-four {
  top: 16%;
  right: 0;
  color: var(--green-dark);
  font-weight: 650;
}

.trail-note {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.section-shell {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 48px 88px;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2,
.manifesto h2,
.support h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 5vw, 4.65rem);
  font-weight: 500;
  line-height: 1.01;
}

.section-heading > p,
.manifesto p,
.support p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.section-heading > p {
  margin-bottom: 2px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 27px;
  background: rgba(251, 248, 241, 0.75);
  box-shadow: 0 12px 34px rgba(52, 43, 31, 0.035);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-card::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-accent);
  content: "";
  opacity: 0.76;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-card-countershift {
  --card-accent: var(--violet);
}

.project-card-stories {
  --card-accent: var(--ochre);
}

.project-card-care {
  --card-accent: var(--green);
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
}

.status-dot::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--ochre);
  content: "";
}

.project-number {
  margin-bottom: 9px;
  color: rgba(32, 40, 34, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  font-style: italic;
}

.project-card h3 {
  margin-bottom: 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  font-weight: 500;
}

.project-card > p {
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.65;
}

.project-note {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 620;
  line-height: 1.48;
}

.project-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: 22px;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
}

.project-card-link span {
  transition: transform 160ms ease;
}

.project-card-link:hover span {
  transform: translateX(3px);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.manifesto-side {
  position: sticky;
  top: 32px;
}

.manifesto-side img {
  display: block;
  margin-bottom: 24px;
}

.manifesto-side p {
  max-width: 180px;
  margin: 0;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
}

.manifesto-copy h2 {
  margin-bottom: 36px;
}

.manifesto-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  max-width: 820px;
}

.manifesto-columns p {
  margin-bottom: 0;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
  margin-bottom: 96px;
  border: 1px solid var(--line);
  border-radius: 34px 34px 12px 34px;
  padding-inline: clamp(30px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(49, 91, 73, 0.08), rgba(197, 135, 49, 0.1)),
    rgba(251, 248, 241, 0.72);
  box-shadow: var(--shadow);
}

.support-copy {
  max-width: 760px;
}

.support h2 {
  margin-bottom: 22px;
}

.support p {
  margin-bottom: 0;
}

.support-action {
  display: flex;
  min-width: 238px;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(251, 248, 241, 0.8);
  cursor: not-allowed;
}

.support-action small {
  max-width: 238px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--muted);
}

.brand-small {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

footer p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  min-height: 650px;
  padding: 72px 0 100px;
}

.project-hero-copy h1 {
  margin-bottom: 28px;
  font-size: clamp(4.2rem, 8vw, 7rem);
}

.project-hero-stories .project-hero-copy h1 {
  font-size: clamp(3.7rem, 7vw, 6.4rem);
}

.project-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.48;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.project-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: rgba(251, 248, 241, 0.66);
  font-size: 0.72rem;
  font-weight: 720;
}

.project-hero-figure,
.project-gallery figure {
  margin: 0;
}

.project-hero-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px 32px 32px 11px;
  background: rgba(251, 248, 241, 0.7);
  box-shadow: var(--shadow);
}

.project-hero-figure img,
.project-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.project-hero-figure img.countershot,
.project-gallery img.countershot {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.project-hero-figure figcaption,
.project-gallery figcaption {
  padding: 14px 17px 16px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.project-hero-figure-phone {
  width: min(100%, 430px);
  justify-self: center;
  padding: 20px 20px 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(197, 135, 49, 0.14), transparent 17rem),
    rgba(251, 248, 241, 0.74);
}

.project-hero-figure-phone img {
  border: 1px solid var(--line);
  border-radius: 22px;
}

.project-story,
.project-now {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 54px 90px;
  border-top: 1px solid var(--line);
}

.project-story h2,
.project-now h2 {
  max-width: 570px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 4.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.04;
}

.project-story-copy {
  max-width: 700px;
}

.project-story-copy p,
.project-caveat {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.project-story-copy p:last-child,
.project-caveat {
  margin-bottom: 0;
}

.project-steps,
.project-gallery {
  border-top: 1px solid var(--line);
}

.compact-heading {
  align-items: start;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  background: rgba(251, 248, 241, 0.6);
}

.step-grid article > span {
  display: block;
  margin-bottom: 30px;
  color: var(--ochre);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.83rem;
  font-style: italic;
}

.step-grid h3 {
  margin-bottom: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.step-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.64;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-gallery figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(251, 248, 241, 0.72);
  box-shadow: 0 14px 36px rgba(52, 43, 31, 0.05);
}

.screenshot-grid-phones {
  grid-template-columns: repeat(2, minmax(0, 390px));
  justify-content: center;
}

.screenshot-grid-phones figure {
  padding: 16px 16px 0;
}

.screenshot-grid-phones img {
  border: 1px solid var(--line);
  border-radius: 19px;
}

.question-list {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.question-list li {
  position: relative;
  padding: 17px 0 17px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  line-height: 1.48;
}

.question-list li:first-child {
  border-top: 1px solid var(--line);
}

.question-list li::before {
  position: absolute;
  top: 24px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ochre);
  content: "";
}

.project-caveat {
  border-left: 3px solid rgba(49, 91, 73, 0.42);
  padding-left: 20px;
  font-size: 0.92rem;
}

.project-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 96px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

:focus-visible {
  outline: 3px solid rgba(197, 135, 49, 0.7);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .legal-content {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 64px;
  }

  .trail-panel {
    max-width: 620px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 320px;
  }

  .manifesto {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 44px;
  }

  .manifesto-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .support {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .support-action {
    align-items: start;
  }

  .support-action small {
    text-align: left;
  }

  .project-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 64px;
  }

  .project-hero-figure {
    max-width: 760px;
  }

  .project-story,
  .project-now {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    min-height: 78px;
    padding: 18px 0;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-end;
    gap: 11px;
    padding-top: 10px;
    font-size: 0.78rem;
  }

  .site-header nav .language-link {
    padding-left: 11px;
  }

  .brand > span {
    max-width: 88px;
    line-height: 1.04;
  }

  .hero {
    gap: 50px;
    padding: 54px 0 78px;
  }

  h1 {
    font-size: clamp(3.45rem, 17vw, 5.1rem);
  }

  .hero-intro {
    font-size: 1.05rem;
  }

  .trail-panel {
    border-radius: 27px 27px 27px 10px;
    padding: 24px 22px;
  }

  .trail-panel-header {
    margin-bottom: 42px;
  }

  .trail-map {
    min-height: 160px;
  }

  .section-shell {
    padding: 76px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    padding: 24px;
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .manifesto-side {
    position: static;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .manifesto-side img {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
  }

  .manifesto-side p {
    max-width: 210px;
    font-size: 0.96rem;
  }

  .support {
    margin-bottom: 68px;
    border-radius: 27px 27px 10px 27px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-hero {
    gap: 42px;
    padding: 52px 0 74px;
  }

  .project-hero-copy h1,
  .project-hero-stories .project-hero-copy h1 {
    font-size: clamp(3.3rem, 16vw, 4.8rem);
  }

  .project-lede {
    font-size: 1.22rem;
  }

  .project-hero-figure,
  .project-gallery figure {
    border-radius: 22px;
  }

  .screenshot-grid,
  .screenshot-grid-phones {
    grid-template-columns: 1fr;
  }

  .screenshot-grid-phones figure {
    width: min(100%, 390px);
    justify-self: center;
  }

  .project-next {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


.not-found {
  display: flex;
  width: min(680px, calc(100% - 40px));
  min-height: 100vh;
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 0;
}

.not-found > img {
  margin-bottom: 28px;
}

.not-found h1 {
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 10vw, 6rem);
}

.not-found > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
