@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700;6..12,800;6..12,900&display=swap");

:root {
  color-scheme: light dark;
  --page: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #f9f9fb;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-dark: #005bb5;
  --green: #2d8a63;
  --rose: #cc5b7a;
  --max: 1360px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #151515;
    --surface: #1d1d1d;
    --surface-soft: #242424;
    --text: #f2f2ef;
    --muted: #b8b8b2;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
    --blue: #8ab4f8;
    --blue-dark: #a8c7fa;
    --green: #8fcfaf;
    --rose: #e5a0b4;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "SF Pro Rounded", "SF Rounded", -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 18px 0;
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: color-mix(in srgb, var(--text) 7%, transparent);
  color: var(--text);
}

main {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 820px);
  gap: 44px;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 70px 0 90px;
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.eyebrow,
.app-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-line {
  max-width: 820px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.12;
}

.hero-actions,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 0 48px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.app-showcase {
  display: grid;
  gap: 22px;
  padding-bottom: 80px;
}

.app-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  padding: clamp(28px, 6vw, 68px);
  box-shadow: var(--shadow);
}

.app-panel.kaizenth {
  grid-template-columns: minmax(420px, 1fr) minmax(260px, 0.75fr);
}

.phone-frame {
  justify-self: center;
  width: min(100%, 300px);
}

.phone-frame img {
  width: 100%;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.14));
}

.app-copy {
  max-width: 640px;
}

.app-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.app-copy p:not(.app-kicker) {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.35;
}

.sentimo .app-kicker {
  color: var(--rose);
}

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

.site-footer {
  display: block;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a:hover {
  color: var(--text);
}

.home-body {
  --home-bg: #f4f4f1;
  --home-line: rgba(20, 20, 20, 0.12);
  --home-text: #171717;
  --home-muted: #686862;
  --home-dim: #92928b;
  --home-warm: #242420;
  background: var(--home-bg);
  color: var(--home-text);
}

@media (prefers-color-scheme: dark) {
  .home-body {
    --home-bg: #151515;
    --home-line: rgba(255, 255, 255, 0.12);
    --home-text: #f2f2ef;
    --home-muted: #b8b8b2;
    --home-dim: #80807a;
    --home-warm: #deded8;
  }
}

.studio-home {
  width: min(100% - 72px, 1180px);
  margin: 0 auto;
}

.studio-hero {
  display: grid;
  min-height: 58vh;
  align-content: center;
  padding: 76px 0 54px;
}

.studio-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--home-text);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 740;
  line-height: 1.02;
}

.studio-hero p:not(.studio-kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 560;
  line-height: 1.35;
}

.studio-products {
  display: grid;
  gap: 0;
  padding: 16px 0 34px;
  border-top: 1px solid var(--home-line);
}

.studio-product {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  min-height: auto;
  border-bottom: 1px solid var(--home-line);
  padding: clamp(34px, 5vw, 62px) 0;
}

.daylist-product {
  background: transparent;
}

.product-copy {
  display: grid;
  grid-template-columns: 120px minmax(0, 720px) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  max-width: none;
  grid-column: 1 / -1;
  width: 100%;
}

.product-copy span {
  display: block;
  margin-bottom: 0;
  color: var(--home-dim);
  font-size: 13px;
  font-weight: 800;
}

.product-copy h2 {
  margin-bottom: 12px;
  color: var(--home-text);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 740;
  line-height: 1.04;
}

.product-copy p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 540;
  line-height: 1.45;
}

.product-copy a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: transparent;
  color: var(--home-text);
  font-size: 14px;
  font-weight: 740;
  white-space: nowrap;
}

.product-copy a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.product-visual {
  display: grid;
  min-height: 520px;
  place-items: center;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.14), transparent 34%),
    #151515;
}

.phone-shell {
  width: min(78vw, 310px);
  min-height: 610px;
  border: 8px solid #050505;
  border-radius: 42px;
  background: #efede8;
  padding: 18px;
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.38);
}

.phone-status {
  width: 74px;
  height: 24px;
  margin: 0 auto 34px;
  border-radius: 999px;
  background: #080808;
}

.awareness-preview {
  display: grid;
  align-content: start;
  color: #1c1b19;
}

.timer-orbit {
  display: grid;
  width: 220px;
  height: 220px;
  place-items: center;
  margin: 30px auto 46px;
  border: 16px solid #2c2b28;
  border-right-color: #cfc7b8;
  border-radius: 50%;
}

.timer-orbit div {
  display: grid;
  place-items: center;
}

.timer-orbit strong {
  font-size: 60px;
  line-height: 0.9;
}

.timer-orbit span {
  color: #706b63;
  font-size: 16px;
  font-weight: 900;
}

.quiet-row,
.task-card,
.daylist-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: #ffffff;
  padding: 12px 14px;
  color: #1c1b19;
  font-size: 15px;
  font-weight: 900;
}

.muted-row {
  color: #817c74;
  background: rgba(255, 255, 255, 0.62);
}

.daylist-preview {
  background: #f4f1ec;
}

.daylist-input {
  min-height: 58px;
  margin-bottom: 22px;
  color: #8b867f;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.task-card {
  display: block;
  min-height: 66px;
  padding: 21px 18px;
}

.task-card.done {
  color: #817c74;
  text-decoration: line-through;
}

.task-card.repeat {
  background: #232220;
  color: #f4f1ec;
}

.studio-note {
  display: grid;
  place-items: center;
  min-height: 28vh;
  padding: 58px 0 78px;
}

.studio-note p {
  max-width: 960px;
  margin-bottom: 0;
  color: var(--home-warm);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  text-align: center;
}

.studio-footer {
  display: block;
  width: min(100% - 72px, 1180px);
  margin: 0 auto;
  padding: 32px 0 52px;
  border-top: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 700;
}

.studio-footer p {
  margin-bottom: 0;
}


.simple-page {
  max-width: 760px;
  padding: 84px 0 110px;
}

.simple-page h1 {
  margin-bottom: 18px;
}

.simple-page p {
  color: var(--muted);
  font-size: 21px;
  font-weight: 500;
}

.contact-page {
  width: min(100% - 80px, 1540px);
  margin: 0 auto;
  padding: 58px 0 92px;
}

.contact-intro {
  margin-bottom: 52px;
}

.contact-intro h1 {
  max-width: 1320px;
  margin-bottom: 12px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
}

.lead {
  color: var(--text);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.18;
}

.contact-story,
.contact-closing {
  display: grid;
  gap: 24px;
  max-width: 1420px;
  margin-bottom: 54px;
}

.contact-story p,
.contact-closing p {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.4;
}

.contact-links {
  max-width: 760px;
  margin-bottom: 96px;
}

.contact-links p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 700;
}

.contact-links a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  margin-bottom: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.contact-links span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.contact-links strong {
  color: var(--text);
  font-size: 18px;
}

.legal-info {
  padding-top: 10px;
}

.legal-info h2 {
  max-width: 1360px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
}

.legal-info address {
  color: var(--text);
  font-style: normal;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.35;
}

.policy-page {
  width: min(100% - 80px, 1040px);
  margin: 0 auto;
  padding: 62px 0 96px;
}

.policy-hero {
  margin-bottom: 26px;
}

.policy-hero h1 {
  max-width: 960px;
  margin-bottom: 18px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
}

.policy-hero p,
.policy-section p,
.policy-section li {
  color: var(--text);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 650;
  line-height: 1.42;
}

.policy-hero p {
  max-width: 900px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 750;
}

.policy-hero span {
  display: inline-flex;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.policy-section {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-section h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1;
}

.policy-section p {
  margin-bottom: 14px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.policy-section p + ul {
  margin-top: 10px;
}

.policy-section ul + p {
  margin-top: 16px;
}

.policy-section a {
  color: var(--blue);
  font-weight: 900;
}

.resume-page {
  width: min(100% - 80px, 1360px);
  margin: 0 auto;
  padding: 58px 0 96px;
}

.resume-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.resume-identity h1 {
  max-width: 980px;
  margin-bottom: 14px;
  font-size: clamp(58px, 8vw, 116px);
  line-height: 0.92;
}

.resume-identity p:not(.code-kicker) {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.14;
}

.code-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
}

.resume-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.resume-card a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.resume-card a:hover {
  border-color: rgba(0, 113, 227, 0.32);
  background: var(--surface);
}

.resume-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 58px;
}

.resume-summary div,
.resume-section {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.resume-summary div {
  padding: 22px;
}

.resume-summary span,
.timeline-meta,
.mini-entry em,
.project-entry span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.resume-summary strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.18;
}

.resume-section {
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 22px;
}

.section-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-label h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 0.96;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-soft);
}

.timeline-meta {
  display: grid;
  align-content: start;
  gap: 8px;
}

.timeline-meta span {
  color: var(--text);
  font-size: 18px;
}

details summary {
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary span {
  display: grid;
  gap: 3px;
}

details summary strong {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
}

details summary em {
  color: var(--muted);
  font-style: normal;
  font-size: 17px;
  font-weight: 800;
}

details summary::after {
  content: "Tap to collapse";
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

details:not([open]) summary::after {
  content: "Tap to expand";
}

details ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 650;
  line-height: 1.38;
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
}

.compact {
  min-height: 100%;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-cloud span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 16px;
  font-weight: 900;
}

.mini-entry {
  display: grid;
  gap: 8px;
}

.mini-entry strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
}

.mini-entry span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, var(--max));
    align-items: center;
    gap: 16px;
  }

  .site-nav {
    gap: 2px;
    flex-wrap: nowrap;
    font-size: 13px;
  }

  .site-nav a {
    padding: 7px 5px;
  }

  main,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 24px;
    min-height: auto;
    padding: 42px 0 60px;
    text-align: left;
  }

  .hero-media img {
    width: 132px;
    height: 132px;
  }

  .hero-media {
    width: 132px;
  }

  .app-panel,
  .app-panel.kaizenth {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-panel.kaizenth .phone-frame {
    order: -1;
  }

  .phone-frame {
    width: min(78vw, 260px);
  }

  .site-footer {
    flex-direction: column;
  }

  .studio-home,
  .studio-footer {
    width: min(100% - 28px, var(--max));
  }

  .studio-hero {
    min-height: auto;
    padding: 64px 0 52px;
  }

  .studio-product {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 18px;
  }

  .product-copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-copy p,
  .product-copy a {
    grid-column: auto;
    justify-self: start;
  }

  .phone-shell {
    width: min(82vw, 270px);
    min-height: 520px;
    border-radius: 36px;
  }

  .timer-orbit {
    width: 180px;
    height: 180px;
  }

  .studio-footer {
    flex-direction: column;
  }

  .contact-page {
    width: min(100% - 28px, var(--max));
    padding: 48px 0 76px;
  }

  .policy-page {
    width: min(100% - 28px, var(--max));
    padding: 46px 0 76px;
  }

  .contact-links {
    margin-bottom: 70px;
  }

  .contact-links a {
    grid-template-columns: 1fr;
    gap: 2px;
    width: 100%;
  }

  .resume-page {
    width: min(100% - 28px, var(--max));
    padding: 44px 0 76px;
  }

  .resume-hero,
  .resume-summary,
  .timeline-item,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .resume-card {
    width: 100%;
  }

  .section-label {
    display: block;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .resume-page {
    width: 100%;
    padding: 0;
  }

  .resume-card,
  .resume-summary div,
  .resume-section,
  .timeline-item {
    box-shadow: none;
  }
}
