:root {
  color-scheme: light;
  --paper: #f5f8f5;
  --surface: #ffffff;
  --carbon: #203c3b;
  --mineral: #12a078;
  /* Same hue as --mineral, darkened for use as small/normal-size text color on --paper or
     --surface backgrounds: #12a078 on #f5f8f5 is ~3.1:1 (fails WCAG AA's 4.5:1 for text below
     the large-text size/weight threshold). #0d7a5c on the same background is ~4.9:1. Reserve
     --mineral for accents, icons, backgrounds, borders, and large/bold display text (which only
     needs 3:1) -- use --mineral-text anywhere the green is the actual color of small body-sized
     text or a link. */
  --mineral-text: #0d7a5c;
  --muted: #68736e;
  --line: #d9e0db;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--carbon);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: var(--carbon);
  color: var(--paper);
  transform: translateY(-160%);
}

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

.page-shell {
  width: min(100% - 4rem, 1440px);
  min-height: 100vh;
  margin: 0 auto;
}

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

.brand { display: inline-flex; text-decoration: none; }
.brand img { width: clamp(14rem, 21vw, 19rem); height: auto; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 3vw, 3rem);
}

.site-header nav a,
.section-label,
.product-topline,
.product-footer,
footer {
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-header nav a {
  padding: .5rem 0;
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  min-height: min(760px, calc(100vh - 7rem));
  padding: clamp(4.5rem, 9vh, 7.5rem) 0 clamp(4rem, 8vh, 6.5rem);
  display: flex;
  align-items: flex-end;
}

.section-label {
  margin: 0 0 clamp(2.75rem, 6vh, 4.75rem);
  color: var(--mineral-text);
}

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

h1 {
  max-width: 11.5ch;
  margin-bottom: 0;
  font-size: clamp(4.3rem, 7.4vw, 7.6rem);
  font-weight: 820;
  letter-spacing: -.072em;
  line-height: .91;
}

.hero-link {
  width: fit-content;
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--carbon);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration-color: var(--mineral);
  text-decoration-thickness: 2px;
  text-underline-offset: .4rem;
  text-transform: uppercase;
}

.button {
  width: fit-content;
  min-width: 12.5rem;
  min-height: 3.5rem;
  padding: 0 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 2px solid var(--carbon);
  border-radius: .2rem;
  background: var(--carbon);
  color: var(--paper);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover { background: var(--mineral); border-color: var(--mineral); }
.button:focus-visible,
.hero-link:focus-visible,
.text-link:focus-visible,
.site-header nav a:focus-visible,
.product-footer a:focus-visible,
.email:focus-visible { outline: 3px solid var(--mineral); outline-offset: 4px; }

.text-link {
  padding: .5rem 0;
  color: var(--carbon);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration-color: var(--mineral);
  text-decoration-thickness: 2px;
  text-underline-offset: .35rem;
  text-transform: uppercase;
}

.products,
.about {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(12rem, .65fr) minmax(0, 1.35fr);
  gap: 2rem;
}

.section-intro .section-label { margin: .5rem 0 0; }

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .95;
}

.section-intro > div > p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  min-height: 35rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--surface);
}

.product-card--cohese {
  border-color: var(--carbon);
  background: var(--carbon);
  color: var(--paper);
}

.product-topline,
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.product-topline p,
.product-footer p { margin-bottom: 0; }

.product-card--lingible .product-topline,
.product-card--lingible .product-footer { color: var(--muted); }

.status { display: flex; align-items: center; gap: .65rem; }
.status span { width: .55rem; height: .55rem; border-radius: 50%; background: var(--mineral); }

.product-body { padding: 4rem 0; }

.product-body h3 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.8rem, 6.5vw, 6.5rem);
  font-weight: 820;
  letter-spacing: -.07em;
  line-height: .88;
}

.product-body > p {
  max-width: 33rem;
  margin-bottom: 0;
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
  letter-spacing: -.02em;
  line-height: 1.5;
}

.product-card--cohese .product-body > p { color: #c9d7d3; }
.product-card--lingible .product-body > p { color: var(--muted); }

.product-body > p.product-tagline {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.product-card--cohese .product-body > p.product-tagline { color: var(--mineral); }
.product-card--lingible .product-body > p.product-tagline { color: var(--mineral-text); }

.product-footer { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.product-card--lingible .product-footer { border-top-color: var(--line); }

.product-footer ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.4rem;
  list-style: none;
}

.product-footer a { text-decoration-color: var(--mineral); text-underline-offset: .3rem; }

.about {
  display: grid;
  grid-template-columns: minmax(12rem, .55fr) minmax(0, 1fr) minmax(16rem, .65fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.about > .section-label { margin: .5rem 0 0; }

.about-copy h2 { font-size: clamp(2.8rem, 4.4vw, 4.8rem); }

.about-copy p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.principles {
  margin: .55rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.principles li {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 760;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.principles span { color: var(--mineral-text); font-size: .7rem; }

.contact {
  margin-inline: calc((100vw - min(100vw - 4rem, 1440px)) / -2);
  padding: clamp(4.5rem, 8vw, 7rem) max(2rem, calc((100vw - min(100vw - 4rem, 1440px)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .65fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--carbon);
  color: var(--paper);
}

.contact .section-label { margin-bottom: 2.25rem; }
.contact h2 { max-width: 9ch; margin-bottom: 0; }

.contact-detail { display: grid; gap: 1.5rem; }

.contact-detail > p {
  max-width: 31rem;
  margin-bottom: .5rem;
  color: #c9d7d3;
  font-size: 1.15rem;
  line-height: 1.55;
}

.button--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--carbon);
}

.button--light:hover { background: var(--mineral); border-color: var(--mineral); color: var(--paper); }

.email {
  width: fit-content;
  color: #c9d7d3;
  font-size: .82rem;
  letter-spacing: .06em;
  text-underline-offset: .3rem;
}

footer {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
}

footer p { margin-bottom: 0; }

.not-found { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.not-found h1 { margin-block: 2rem; font-size: clamp(4rem, 10vw, 9rem); }
.not-found h1 span { color: var(--mineral); }
.not-found .button { align-self: flex-start; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .about { grid-template-columns: minmax(10rem, .4fr) minmax(0, 1fr); }
  .principles { grid-column: 2; }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 2rem, 42rem); }
  .site-header { min-height: 6rem; }
  .brand img { width: 12.5rem; }
  .site-header nav { gap: 1.1rem; }
  .site-header nav a { font-size: .65rem; letter-spacing: .09em; }

  .hero { padding: 4rem 0; gap: 3.5rem; }
  .section-label { margin-bottom: 3rem; }
  h1 { max-width: 10ch; font-size: clamp(3.25rem, 14vw, 4.5rem); }
  .hero-link { margin-top: 2rem; }

  .section-intro,
  .about,
  .contact { grid-template-columns: 1fr; }
  .section-intro .section-label,
  .about > .section-label { margin-bottom: 1.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 30rem; }
  .product-body { padding: 3rem 0; }
  .about { gap: 1rem; }
  .principles { grid-column: 1; margin-top: 2.5rem; }

  .contact {
    margin-inline: -1rem;
    padding: 4.5rem 1rem;
    align-items: start;
  }

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

@media (max-width: 480px) {
  .site-header nav a:nth-child(2) { display: none; }
  .product-topline,
  .product-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .brand,
  .site-header nav,
  .hero-heading { animation: rise .55s both cubic-bezier(.2, .7, .2, 1); }
  .site-header nav { animation-delay: .05s; }
  .hero-heading { animation-delay: .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}
