:root {
  --ink: #111111;
  --muted: #5c5c5c;
  --subtle: rgb(17 17 17 / 50%);
  --green: #16c784;
  --red: #ea3943;
  --paper: #f7f7f5;
  --line: rgb(17 17 17 / 13%);
  --deep: #0d0f0f;
  --page-width: 720px;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #eeeeee; }

.home-page {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: var(--ink);
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f7f7f7 40%, #eeeeee 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  text-align: center;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  padding: 15px clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: rgb(247 247 245 / 88%);
  backdrop-filter: blur(16px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-brand img { width: 34px; height: 34px; object-fit: contain; }

.mini-wordmark {
  position: relative;
  display: inline-block;
  width: max-content;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
}
.mini-ll { display: inline-block; transform: translateY(-0.05em); }
.mini-idot { --mini-dot-cutoff: 29%; display: inline-block; color: var(--ink); }
.mini-idot--green { --mini-dot-color: var(--green); }
.mini-idot--red { --mini-dot-color: var(--red); }
.mini-tm {
  position: absolute;
  top: 0;
  left: calc(100% + 0.22em);
  font-size: 0.42em;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .mini-idot {
    color: transparent;
    background: linear-gradient(to bottom, var(--mini-dot-color) 0 var(--mini-dot-cutoff), var(--ink) var(--mini-dot-cutoff) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.site-nav a {
  position: relative;
  color: rgb(17 17 17 / 70%);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-current { color: var(--ink); }
.site-nav a:focus-visible, .nav-brand:focus-visible, .text-link:focus-visible, .site-footer a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.site-nav a.is-current::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
}
.site-nav .nav-contact {
  padding: 10px 15px;
  border: 1px solid rgb(17 17 17 / 24%);
  border-radius: 999px;
}
.site-nav .nav-contact:hover { border-color: rgb(17 17 17 / 60%); }

.wrap {
  width: min(var(--page-width), calc(100vw - 40px));
  padding: 28px 0;
  display: grid;
  justify-items: center;
}
.brand-breathe { transform-origin: 50% 60%; animation: breathe 10s ease-in-out infinite; will-change: transform; }
.logo { display: block; width: clamp(198px, 24vw, 352px); height: auto; margin: 0 auto 3px; }

/* This wordmarkâ€”not the pageâ€”is the positioning context. */
.logo-text {
  position: relative;
  display: inline-block;
  width: max-content;
  margin: 0;
  font-size: clamp(30px, 5.2vw, 56px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.ll {
  display: inline-block;
  transform: translateY(-0.05em);
}

/* Color the native glyph dot so its alignment cannot drift across fonts. */
.idot { --dot-cutoff: 30%; display: inline-block; color: var(--ink); }
.idot--green { --dot-color: var(--green); }
.idot--red { --dot-color: var(--red); }

/* The 36% cutoff prevents clipping once the wordmark reaches its 56px cap. */
@media (min-width: 1080px) {
  .idot { --dot-cutoff: 36%; }
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .idot {
    color: transparent;
    background: linear-gradient(to bottom, var(--dot-color) 0 var(--dot-cutoff), var(--ink) var(--dot-cutoff) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* The trademark travels with the wordmark instead of using page coordinates. */
.tm {
  position: absolute;
  top: 0.25em;
  left: calc(100% + 0.26em);
  font-size: 0.26em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.tagline { margin: 10px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 18px); }
.email { margin: 8px 0 0; color: var(--subtle); font-size: 11px; }
.email a { padding-bottom: 2px; border-bottom: 1px solid rgb(17 17 17 / 18%); color: inherit; text-decoration: none; transition: color 160ms ease, border-color 160ms ease; }
.email a:hover, .email a:focus-visible { border-bottom-color: rgb(17 17 17 / 45%); color: rgb(17 17 17 / 85%); }
.email a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

@keyframes breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .brand-breathe { animation: none; } }

/* About */
.about-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 4%, rgb(22 199 132 / 7%), transparent 23rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

.about-main {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: clamp(140px, 17vw, 208px) 0 0;
}

.about-hero { max-width: 1060px; padding-bottom: clamp(90px, 13vw, 160px); }
.eyebrow, .section-number {
  margin: 0;
  color: rgb(17 17 17 / 48%);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgb(22 199 132 / 11%); }
.about-hero h1 {
  max-width: 950px;
  margin: 24px 0 38px;
  font-size: clamp(50px, 8.2vw, 104px);
  font-weight: 720;
  letter-spacing: -0.068em;
  line-height: 0.94;
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr);
  gap: clamp(40px, 8vw, 108px);
  align-items: start;
  margin-left: clamp(0px, 11vw, 136px);
}
.hero-intro > p:first-child {
  margin: 0;
  color: rgb(17 17 17 / 76%);
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.45;
}
.stage-note {
  margin: 7px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.stage-note span { display: block; margin-bottom: 5px; color: var(--ink); font-weight: 720; }

.story-section { padding: clamp(80px, 10vw, 126px) 0; border-top: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 120px);
  margin-bottom: clamp(44px, 7vw, 78px);
}
.section-heading h2, .now-section h2 {
  max-width: 760px;
  margin: -10px 0 22px;
  font-size: clamp(38px, 5.8vw, 70px);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 1;
}
.section-heading div > p {
  max-width: 720px;
  margin: 0;
  color: rgb(17 17 17 / 65%);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
}
.product-figure { margin: 0; }
.product-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(17 17 17 / 20%);
  border-radius: 12px;
  box-shadow: 0 28px 70px rgb(13 15 15 / 17%);
  background: var(--deep);
}
.product-figure figcaption {
  padding: 14px 2px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgb(17 17 17 / 48%);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.product-figure figcaption span:first-child { color: rgb(17 17 17 / 75%); font-weight: 700; }

.principles {
  padding: clamp(68px, 9vw, 110px) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principles article { min-height: 228px; padding: 6px clamp(24px, 4vw, 48px); border-left: 1px solid var(--line); }
.principles article:first-child { padding-left: 0; border-left: 0; }
.principles article:last-child { padding-right: 0; }
.principle-mark { display: block; min-height: 50px; color: var(--green); font-size: 34px; font-weight: 400; }
.principle-mark--red { color: var(--red); }
.principles h3 { margin: 22px 0 12px; font-size: 20px; letter-spacing: -0.025em; }
.principles p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.now-section {
  margin-top: clamp(70px, 11vw, 140px);
  padding: clamp(52px, 7vw, 86px);
  display: grid;
  grid-template-columns: 1.05fr 0.72fr;
  gap: clamp(50px, 9vw, 130px);
  color: #f5f5f2;
  background:
    radial-gradient(circle at 92% 8%, rgb(22 199 132 / 16%), transparent 18rem),
    var(--deep);
  border-radius: 18px;
}
.now-section .section-number { margin-bottom: 32px; color: rgb(255 255 255 / 42%); }
.now-section h2 { margin: 0; }
.now-copy { align-self: end; }
.now-copy p { margin: 0 0 18px; color: rgb(255 255 255 / 64%); font-size: 15px; line-height: 1.75; }
.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgb(22 199 132 / 70%);
  color: #f5f5f2;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}
.text-link span { color: var(--green); }

.site-footer {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: rgb(17 17 17 / 46%);
  font-size: 11px;
}
.site-footer p { margin: 0; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer > a:last-child { justify-self: end; }
.footer-brand { color: var(--ink) !important; font-size: 18px; font-weight: 760; letter-spacing: -0.04em; }

@media (max-width: 760px) {
  .site-header { min-height: 64px; padding: 12px 18px; }
  .nav-brand img { width: 30px; height: 30px; }
  .site-nav { gap: 14px; }
  .site-nav .nav-contact { padding: 8px 12px; }
  .about-main, .site-footer { width: min(100% - 32px, 1180px); }
  .about-main { padding-top: 120px; }
  .about-hero h1 { font-size: clamp(48px, 15.5vw, 76px); }
  .hero-intro { grid-template-columns: 1fr; gap: 30px; margin-left: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .section-heading h2 { margin-top: 0; }
  .product-figure { margin-right: -16px; margin-left: -16px; }
  .product-figure img { border-right: 0; border-left: 0; border-radius: 0; box-shadow: 0 20px 48px rgb(13 15 15 / 15%); }
  .product-figure figcaption { padding-right: 16px; padding-left: 16px; flex-direction: column; gap: 5px; }
  .principles { grid-template-columns: 1fr; }
  .principles article,
  .principles article:first-child,
  .principles article:last-child { min-height: 0; padding: 34px 0; border-top: 1px solid var(--line); border-left: 0; }
  .principles article:first-child { border-top: 0; }
  .principle-mark { float: left; width: 54px; min-height: 0; font-size: 27px; }
  .principles h3, .principles p { margin-left: 54px; }
  .principles h3 { margin-top: 0; }
  .now-section { margin-right: -16px; margin-left: -16px; padding: 48px 28px; grid-template-columns: 1fr; gap: 42px; border-radius: 0; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

@media (max-width: 420px) {
  .nav-brand span { display: none; }
  .about-hero h1 { letter-spacing: -0.06em; }
}

@media (prefers-reduced-motion: no-preference) {
  .about-hero > *, .story-section, .principles, .now-section {
    animation: rise-in 700ms ease both;
  }
  .about-hero h1 { animation-delay: 70ms; }
  .hero-intro { animation-delay: 140ms; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

