/* ==========================================================
   CHANGE YOUR COLORS HERE
   ----------------------------------------------------------
   Every color and font on the site comes from these lines.
   Change a value, save, refresh. The first block is light
   mode, the second block is dark mode (used automatically
   when a phone or computer is set to dark).
   ========================================================== */
:root {
  /* page */
  --page: #fbf7f9;         /* page background, a soft blush white */
  --surface: #ffffff;      /* cards and panels */
  --ink: #2a1426;          /* headings, deep plum black */
  --ink-soft: #4d3a49;     /* body text */
  --muted: #7a6475;        /* small notes */
  --line: #ecdfe7;         /* thin borders */

  /* brand */
  --plum: #5b2a55;         /* main color: buttons, quote band */
  --plum-ink: #fbf3f8;     /* text on plum */
  --blush: #f4e7ef;        /* soft plum fill behind the photo */
  --teal: #12746e;         /* accent: links, highlights, placeholders */
  --teal-soft: #e0f1ef;
  --band-bg: #5b2a55;      /* quote band background */
  --band-ink: #fbf3f8;     /* quote band text */

  /* fonts */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #1a0f18;
    --surface: #251722;
    --ink: #f6edf3;
    --ink-soft: #d8c8d3;
    --muted: #a891a2;
    --line: #3a2635;
    --plum: #d8a5cd;
    --plum-ink: #1a0f18;
    --blush: #2f1c2b;
    --teal: #62cbc1;
    --teal-soft: #15302e;
    --band-bg: #3a1f36;
    --band-ink: #f6edf3;
  }
}
:root[data-theme="dark"] {
  --page: #1a0f18; --surface: #251722; --ink: #f6edf3; --ink-soft: #d8c8d3;
  --muted: #a891a2; --line: #3a2635; --plum: #d8a5cd; --plum-ink: #1a0f18;
  --blush: #2f1c2b; --teal: #62cbc1; --teal-soft: #15302e;
  --band-bg: #3a1f36; --band-ink: #f6edf3;
}
/* ============== end of colors and fonts ============== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--plum-ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- sticky header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.top .name { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.top nav { margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.top nav a { display: block; padding: 8px 10px; font-weight: 500; font-size: 0.93rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap; border-radius: 99px; }
.top nav a:hover { background: var(--blush); color: var(--ink); }
.top nav .hide-sm { display: none; }
@media (min-width: 720px) { .top nav .hide-sm { display: block; } }

/* ---------- hero: the arch ---------- */
.hero { text-align: center; padding: 44px 0 56px; }
.arch {
  position: relative;
  width: 168px; margin: 0 auto 26px;
  padding: 10px 10px 0;
  background: var(--blush);
  border-radius: 999px 999px 0 0;
}
.arch::after {
  content: ""; position: absolute; inset: -9px -9px 0;
  border: 1.5px solid var(--plum); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  opacity: 0.45;
}
.arch img { width: 148px; height: 178px; object-fit: cover; object-position: 50% 30%; border-radius: 999px 999px 0 0; }
.hero h1 { font-size: clamp(2.6rem, 12vw, 5.2rem); letter-spacing: -0.015em; line-height: 1.02; }
.hero .title { margin: 14px auto 4px; font-weight: 600; color: var(--ink); font-size: 1.05rem; max-width: 36rem; }
.hero .place { color: var(--muted); margin: 0 0 22px; }
.hero .lead { max-width: 33rem; margin: 0 auto 28px; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 99px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent;
}
.btn-main { background: var(--plum); color: var(--plum-ink); }
.btn-main:hover { filter: brightness(1.12); }
.btn-alt { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-alt:hover { border-color: var(--plum); }

/* ---------- sections ---------- */
.sec { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(1.8rem, 7vw, 2.5rem); margin-bottom: 18px; }
.sec .intro { max-width: 36rem; color: var(--muted); margin-top: -6px; }
@media (min-width: 880px) { .sec { padding: 80px 0; } }
.big { font-size: 1.2rem; color: var(--ink); line-height: 1.55; }

/* quote band */
.band { background: var(--band-bg); color: var(--band-ink); padding: 56px 0; }
.band blockquote { margin: 0; }
.band p { font-family: var(--font-display); font-size: clamp(1.45rem, 5.6vw, 2.3rem); line-height: 1.3; margin: 0 0 18px; }
.band cite { font-style: normal; font-weight: 500; opacity: 0.85; }
@media (min-width: 880px) { .band { padding: 80px 0; } }

/* Kinno role */
.role-card { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; }
.role-card h3 { font-size: 1.6rem; }
.role-card .role { color: var(--teal); font-weight: 600; margin: 6px 0 0; }
.role-card p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .role-card { grid-template-columns: 1fr 1.4fr; padding: 32px; gap: 36px; } }

/* strengths: laid like a foundation, wider at the bottom */
.strengths { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.strengths li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px 18px; position: relative; }
.strengths li::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--teal); margin-bottom: 14px; }
.strengths h3 { font-size: 1.3rem; margin-bottom: 8px; }
.strengths p { margin: 0; }
@media (min-width: 640px) { .strengths { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .strengths { grid-template-columns: repeat(6, 1fr); }
  .strengths li { grid-column: span 3; }
  .strengths li:nth-child(1) { grid-column: 2 / span 2; }
  .strengths li:nth-child(2) { grid-column: 4 / span 2; }
  .strengths li:nth-child(3) { grid-column: 1 / span 3; }
  .strengths li:nth-child(4) { grid-column: 4 / span 3; }
}

/* placeholders, meant to be replaced */
.ph {
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px dashed color-mix(in srgb, var(--teal) 55%, transparent);
  border-radius: 6px;
  padding: 0 6px;
  font-style: italic;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.slot { border: 1.5px dashed var(--line); border-radius: 14px; padding: 18px; background: color-mix(in srgb, var(--surface) 60%, transparent); }

/* experience */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.jobs li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.jobs li.slot { background: transparent; border-style: dashed; border-width: 1.5px; }
.jobs .when { font-size: 0.92rem; color: var(--muted); margin: 0 0 4px; }
.jobs h3 { font-size: 1.25rem; }
.jobs .org { margin: 4px 0 8px; }
.jobs .note { margin: 0; color: var(--muted); }

/* certifications */
.certs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.certs li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 18px; border: 1.5px dashed var(--line); border-radius: 14px; }
.status { display: inline-block; font-weight: 600; font-size: 0.85rem; padding: 3px 12px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); }

/* contact */
.contact { text-align: center; }
.contact .lines a { display: block; font-family: var(--font-display); color: var(--ink); text-decoration: none; line-height: 1.25; }
.contact .mail { font-size: clamp(1.1rem, 5.4vw, 2.3rem); }
.contact .tel { font-size: clamp(1.15rem, 5vw, 1.6rem); color: var(--ink-soft); margin: 8px 0 26px; }
.contact .lines a:hover { color: var(--teal); }
.qr-mini { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--muted); font-size: 0.95rem; text-align: left; }
.qr-mini img { width: 84px; height: 84px; border-radius: 10px; background: #fff; padding: 4px; border: 1px solid var(--line); }
.qr-mini p { margin: 0; max-width: 14rem; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; text-align: center; color: var(--muted); font-size: 0.95rem; }
.foot p { margin: 0 0 4px; }
.foot a { color: var(--plum); font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* 404 */
.lost { min-height: 70vh; display: grid; align-content: center; text-align: center; padding: 64px 16px; }
.lost h1 { font-size: clamp(2.4rem, 10vw, 4.2rem); margin-bottom: 12px; }
