/* Layout: one calm column of sections, a ribbon-red thread running down the left edge like a stitched line */
:root {
  --bg: #fbf8f9;
  --surface: #ffffff;
  --ink: #2a1f2d;
  --muted: #6b5d6e;
  --line: #e9dfe6;
  --ribbon: #c41e3a;
  --ribbon-soft: #fbe7ea;
  --leaf: #2f6b5a;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a141c;
    --surface: #241c27;
    --ink: #f3ecf2;
    --muted: #b9aabb;
    --line: #3a2f3d;
    --ribbon: #ff5c74;
    --ribbon-soft: #3a1d25;
    --leaf: #7fc4ad;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1a141c;
  --surface: #241c27;
  --ink: #f3ecf2;
  --muted: #b9aabb;
  --line: #3a2f3d;
  --ribbon: #ff5c74;
  --ribbon-soft: #3a1d25;
  --leaf: #7fc4ad;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding-inline: 20px;
}
a {
  color: var(--ribbon);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ribbon);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
.label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ribbon);
}

/* nav */
header.top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
nav a:hover {
  color: var(--ink);
}
nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--ribbon);
}

/* hero */
.hero {
  padding-block: 72px 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.7rem);
  margin-block: 14px 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--ribbon);
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 28px;
}
.kiny {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--leaf);
  margin: 0;
}
.btn {
  display: inline-block;
  background: var(--ribbon);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-left: 8px;
}
.ribbon-art {
  max-width: 100%;
  justify-self: center;
}
.ribbon-art svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

/* sub-page header */
.page-head {
  padding-block: 56px 40px;
}
.page-head h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-block: 12px 16px;
}
.page-head p.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36em;
  margin: 0;
}
.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* home link cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}
.card:hover {
  border-color: var(--ribbon);
  transform: translateY(-2px);
}
.card h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.card .arrow {
  display: inline-block;
  margin-top: 10px;
  color: var(--ribbon);
  font-weight: 600;
  font-size: 0.92rem;
}

/* sections */
section.block {
  padding-block: 64px;
  border-top: 1px solid var(--line);
}
section.block h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-block: 10px 18px;
}
.prose {
  max-width: 40em;
}
.prose p {
  margin: 0 0 14px;
}

.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.vm div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  min-width: 0;
}
.vm h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.vm p {
  margin: 0;
  color: var(--muted);
}

.do-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-top: 28px;
}
.do-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  min-width: 0;
}
.do-item .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ribbon-soft);
  display: grid;
  place-items: center;
}
.do-item .ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--ribbon);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.do-item h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.do-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.session {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.session dl {
  margin: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
}
.session dt,
.session dd {
  margin: 0;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.session dt {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.92rem;
}
.session dl > :nth-last-child(-n + 2) {
  border-bottom: 0;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.values span {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
}
.values b {
  color: var(--ribbon);
  font-weight: 700;
  margin-right: 6px;
}

.founder {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
}
.portrait {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
  background: var(--ribbon-soft);
}

.contact {
  background: var(--ink);
  color: var(--bg);
  border-radius: 18px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
.contact h2 {
  color: var(--bg);
}
.contact p {
  color: var(--bg);
  opacity: 0.85;
  margin: 0 0 12px;
}
.contact .label {
  color: var(--ribbon-soft);
}
.contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  align-content: start;
}
.contact li span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.contact li strong {
  font-weight: 600;
  word-break: break-word;
}
.contact a {
  color: var(--ribbon-soft);
}

footer {
  padding-block: 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .hero,
  .vm,
  .do-list,
  .contact,
  .founder,
  .cards {
    grid-template-columns: 1fr;
  }
  .portrait {
    max-width: 260px;
  }
  .hero {
    padding-block: 44px 36px;
    gap: 28px;
  }
  .ribbon-art {
    order: -1;
  }
  .ribbon-art svg {
    max-width: 160px;
  }
  .session dl {
    grid-template-columns: 1fr;
  }
  .session dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .contact {
    padding: 28px 22px;
  }
  nav ul {
    gap: 14px;
  }
  .btn.ghost {
    margin-left: 0;
    margin-top: 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ribbon-art path.draw {
    stroke-dasharray: 900;
    stroke-dashoffset: 0;
    animation: draw 2.4s ease-out both;
  }
  @keyframes draw {
    from {
      stroke-dashoffset: 900;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: var(--surface);
}
.lang-switch button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ribbon);
  color: #fff;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
