/* tychonai.com. Built from the design canvas, version 33 (2026-09-24). Paper ground, ink, one amber. */
:root {
  --paper: #F7F6F2; --ink: #17181A; --grey: #4A4B47; --grey-2: #5B5B58; --amber: #A85A00; --amber-dark: #8F4A00;
  --hair: #D6D4CE; --rule: #B9B7B0; --line: #6F6F6C;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;
}
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-dark); }
.skip-link { position: absolute; left: -9999px; top: 0; padding: 8px 12px; background: var(--ink); color: var(--paper); }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; }
.page { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; }
.mono { font-family: var(--mono); }

/* Header */
.hdr { display: flex; align-items: center; justify-content: space-between; min-height: 100px; box-sizing: border-box; padding: 28px 96px; border-bottom: 1px solid var(--hair); }
.wordmark { font-family: var(--mono); font-size: 15px; letter-spacing: 0.18em; font-weight: 500; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--amber); }

/* Hero */
.hero { display: flex; flex-direction: column; gap: 36px; padding: 128px 96px 112px 96px; }
.tagline { margin: 0; font-size: 104px; line-height: 1.0; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); max-width: 1100px; }
.hero-sub { margin: 0; font-size: 24px; line-height: 1.45; color: var(--grey); max-width: 860px; text-wrap: pretty; }

/* Sections */
.sec { padding: 0 96px 112px 96px; }
.sec .rule { border-top: 1px solid var(--hair); margin-bottom: 40px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack-tight { display: flex; flex-direction: column; gap: 20px; }
.lbl { margin: 0; font-family: var(--mono); font-size: 14px; line-height: 1.4; letter-spacing: 0.16em; font-weight: 400; color: var(--amber); }
.hl { color: var(--amber); }
.mlead { margin: 0; font-size: 36px; line-height: 1.3; font-weight: 500; color: var(--ink); text-wrap: pretty; max-width: 1120px; }
.mp { margin: 0; font-size: 26px; line-height: 1.5; color: var(--grey); text-wrap: pretty; max-width: 1040px; }
.lead { margin: 0; font-size: 80px; line-height: 1.04; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); max-width: 1248px; text-wrap: balance; }
.para { margin: 0; font-size: 26px; line-height: 1.5; color: var(--grey); text-wrap: pretty; max-width: 1120px; }
.para .lead-in { font-weight: 500; color: var(--ink); }

/* Work table: one rail at the left, three programs, four steps */
.tbl { display: grid; grid-template-columns: 216px repeat(3, minmax(0, 1fr)); margin-top: 64px; }
.tbl .cell { padding: 20px 40px 20px 0; border-top: 1px solid var(--hair); font-size: 19px; line-height: 1.5; color: var(--grey); text-wrap: pretty; }
.tbl .cell.res { color: var(--ink); font-weight: 500; }
.tbl .inl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph { display: flex; flex-direction: column; gap: 14px; padding: 32px 40px 32px 0; border-top: 1px solid var(--rule); }
.ph .lbl { font-size: 12px; }
.ph .ttl { margin: 0; font-size: 26px; line-height: 1.3; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.ph0 { grid-column: 1; grid-row: 1; border-top: 1px solid var(--rule); }
.rl { grid-column: 1; position: relative; margin-left: 4px; padding: 24px 16px 20px 24px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: 14px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-2); }
.rl::before { content: ""; position: absolute; z-index: 1; left: 0; top: 28px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.rl::after { content: ""; position: absolute; left: 4px; top: 32px; bottom: -28px; border-left: 1px solid var(--line); }
.rl.end { color: var(--amber); }
.rl.end::before { background: var(--amber); border-color: var(--amber); }
.rl.end::after { display: none; }
details.fold { display: none; }

/* Footer */
.ftr { display: flex; align-items: center; justify-content: space-between; padding: 40px 96px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--grey-2); }
.ftr-in { display: flex; align-items: center; gap: 28px; }
.ftr .wordmark { font-size: 15px; letter-spacing: 0.14em; font-weight: 400; }
.ftr a.mail { font-family: var(--mono); color: var(--grey-2); }
.ftr a.mail:hover { color: var(--amber); }

/* Laptops and small desktops: the same page with a smaller scale and margins */
@media (max-width: 1200px) {
  .hdr, .hero, .sec, .ftr { padding-left: 48px; padding-right: 48px; }
  .hero { padding-top: 96px; padding-bottom: 88px; }
  .tagline { font-size: 88px; }
  .hero-sub { font-size: 22px; }
  .mlead { font-size: 30px; }
  .mp, .para { font-size: 22px; }
  .lead { font-size: 64px; }
  .tbl { grid-template-columns: 176px repeat(3, minmax(0, 1fr)); }
  .tbl .cell { font-size: 17px; padding-right: 28px; }
  .ph { padding-right: 28px; }
  .ph .ttl { font-size: 22px; }
  .rl { font-size: 13px; }
}

/* Phone: one source, these rules apply below 720px */
@media (max-width: 720px) {
  .hdr { padding: 18px 20px; min-height: 0; }
  .wordmark { font-size: 13px; letter-spacing: 0.14em; }
  .nav { gap: 16px; font-size: 14px; }
  .hero { padding: 44px 20px 56px 20px; gap: 24px; }
  .tagline { font-size: 56px; line-height: 1.0; }
  .hero-sub { font-size: 18px; }
  .sec { padding: 0 20px 64px 20px; }
  .sec .rule { margin-bottom: 28px; }
  .mlead { font-size: 22px; }
  .mp, .para { font-size: 18px; }
  .lead { font-size: 34px; line-height: 1.1; }
  .tbl { display: block; margin-top: 40px; }
  .rl, .ph0 { display: none; }
  .tbl .inl { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: block; font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
  .tbl .cell.res .inl { color: var(--amber); }
  .ph { margin-top: 40px; padding: 24px 0 16px 0; }
  .ph .ttl { font-size: 22px; }
  .tbl .cell { font-size: 17px; }
  .tbl .cell { position: relative; border-top: 0; margin-left: 4px; padding: 0 0 18px 24px; border-left: 1px solid var(--line); }
  .tbl .cell::before { content: ""; position: absolute; left: -5px; top: 3px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
  .tbl .cell.res { border-left-color: transparent; }
  .tbl .cell.res::before { background: var(--amber); border-color: var(--amber); }
  .tbl .cell.step { display: none; }
  details.fold { display: block; margin: 0 0 0 4px; }
  details.fold summary { list-style: none; cursor: pointer; position: relative; padding: 0 0 18px 24px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 13px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
  details.fold summary::-webkit-details-marker { display: none; }
  details.fold summary::before { content: ""; position: absolute; left: -5px; top: 3px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
  details.fold summary .sh::after { content: "  +"; }
  details.fold summary .hd::after { content: "  \2212"; }
  details.fold .hd { display: none; }
  details.fold[open] .sh { display: none; }
  details.fold[open] .hd { display: inline; }
  .fs .fc { position: relative; padding: 0 0 18px 24px; border-left: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: var(--grey); text-wrap: pretty; }
  .fs .fc::before { content: ""; position: absolute; left: -5px; top: 3px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
  .ftr { padding: 24px 20px; font-size: 12px; }
  .ftr-in { width: 100%; justify-content: space-between; align-items: baseline; gap: 16px; }
  .ftr .wordmark { font-size: 12px; letter-spacing: 0.14em; }
  .ftr a.mail { font-size: 12px; }
}
