/* Питер Гетти — founder-led AI systems practice
   Calm / premium / no visual hype. 2026-06-11 */

:root {
  --bg:        #f6f4ef;   /* warm paper */
  --surface:   #fffefb;   /* card */
  --ink:       #1b1a17;   /* near-black */
  --ink-soft:  #34322d;
  --muted:     #6f6c64;   /* secondary text */
  --faint:     #9a968c;
  --line:      #e3ddd2;   /* hairlines */
  --line-soft: #efeae0;
  --accent:    #2f4a3e;   /* deep muted green, used sparingly */
  --accent-ink:#22382e;

  --maxw: 1120px;
  --gut: clamp(20px, 5vw, 56px);

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }

p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 18px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section__head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 56px); }
.section__head h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 14px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; }
.lead { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.nav__cta { font-size: 14.5px !important; padding: 8px 16px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink) !important; }
.nav__cta:hover { border-color: var(--accent); color: var(--accent) !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; width: 42px; height: 38px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: .2s; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 16px; font-weight: 500; padding: 14px 26px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; transition: .18s ease; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent-ink); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(28px, 4.2vw, 48px); max-width: 27ch; margin: 0 0 26px; font-weight: 500; }
.hero__sub { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 60ch; margin: 0 0 34px; line-height: 1.55; }
.hero__trust { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); max-width: 62ch; }
.hero__trust strong { color: var(--ink-soft); font-weight: 600; }

/* ---------- method / principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); }
.principle { }
.principle__n { font-family: var(--serif); font-size: 15px; color: var(--accent); border-top: 2px solid var(--accent); padding-top: 14px; display: inline-block; margin-bottom: 14px; letter-spacing: .04em; }
.principle h3 { font-size: 21px; margin: 0 0 10px; }
.principle p { color: var(--muted); font-size: 16px; margin: 0; }
.method__close { margin-top: clamp(34px, 5vw, 54px); font-size: clamp(19px, 2.4vw, 24px); font-family: var(--serif); color: var(--ink-soft); max-width: 44ch; line-height: 1.4; }

/* ---------- flagship band ---------- */
.flagship { background: var(--ink); color: #efece4; }
.flagship .eyebrow { color: #9db3a6; }
.flagship h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); max-width: 18ch; margin: 0 0 18px; }
.flagship p { color: #c8c4b8; max-width: 62ch; }
.flagship__stat { font-family: var(--serif); color: #fff; font-size: 15px; border-left: 2px solid #5e7568; padding-left: 14px; margin: 26px 0 30px; }
.flagship .btn--ghost { color: #fff; border-color: #45524b; }
.flagship .btn--ghost:hover { border-color: #9db3a6; color: #fff; }
.flagship .btn--primary { background: var(--bg); color: var(--ink); }
.flagship .btn--primary:hover { background: #fff; }
.flagship .link-arrow { color: #b9c6bd; }

/* ---------- directions ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.dir-card { background: var(--surface); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; }
.dir-card h3 { font-size: 21px; margin: 0 0 12px; }
.dir-card p { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
.dir-card__status { font-size: 13.5px; color: var(--faint); font-style: italic; margin: auto 0 16px; }
.dir-card__cta { font-size: 15px; font-weight: 500; }
.dir-card__cta:after { content: " →"; }
.horizon { margin-top: 28px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; background: var(--surface); padding: clamp(24px, 3vw, 34px); }
.horizon h3 { font-size: 19px; margin: 0 0 8px; color: var(--accent-ink); }
.horizon p { color: var(--muted); margin: 0; font-size: 16px; max-width: 70ch; }

/* ---------- proof ---------- */
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 48px; }
.proof-list li { padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.proof-list li b { font-weight: 600; color: var(--ink); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about__name { font-size: clamp(26px, 3.4vw, 38px); margin: 0; }
.about p { font-size: 18px; color: var(--ink-soft); }
.about p:last-child { margin-bottom: 0; }

/* ---------- privacy ---------- */
.privacy-list { list-style: none; margin: 0; padding: 0; }
.privacy-list li { padding: 16px 0 16px 30px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 16px; position: relative; }
.privacy-list li:before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 1.5px; background: var(--accent); }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--serif); font-size: 20px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 22px; color: var(--accent); font-family: var(--sans); transition: .2s; }
.faq details[open] summary:after { content: "–"; }
.faq details p { color: var(--muted); font-size: 16.5px; margin: 0 0 20px; max-width: 70ch; }

/* ---------- final cta ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 auto 18px; max-width: 18ch; }
.cta-final p { color: var(--muted); max-width: 56ch; margin: 0 auto 30px; font-size: 18px; }
.cta-final .btn-row { justify-content: center; }
.cta-final__sub { margin-top: 22px; font-size: 14.5px; color: var(--faint); }

/* ---------- steps (kp) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); counter-reset: step; }
.steps--four { grid-template-columns: repeat(4, 1fr); }
.step { }
.step__n { font-family: var(--serif); font-size: 30px; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- contents list (kp) ---------- */
.contents { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.contents li { list-style: none; padding: 18px 0 18px 28px; border-top: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.contents { margin: 0; padding: 0; }
.contents li:before { content: ""; position: absolute; left: 0; top: 27px; width: 14px; height: 1.5px; background: var(--accent); }
.meta-row { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px); margin-top: 8px; }
.meta-block h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin: 0 0 8px; font-family: var(--sans); font-weight: 600; }
.meta-block p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 42ch; }
.statusline { margin-top: clamp(30px, 4vw, 48px); font-family: var(--serif); font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-soft); border-left: 2px solid var(--accent); padding-left: 18px; max-width: 52ch; line-height: 1.45; }

.backlink { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; display: inline-block; }
.backlink:before { content: "← "; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--muted); font-size: 14.5px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.site-footer .wordmark { font-size: 17px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent); }
.site-footer__note { width: 100%; color: var(--faint); font-size: 13px; margin-top: 10px; max-width: 70ch; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .principles, .dir-grid, .steps, .steps--four, .proof-list, .contents { grid-template-columns: 1fr; }
  .dir-grid { gap: 1px; }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gut) 22px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .25s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__cta { border: 1px solid var(--line) !important; margin-top: 12px; text-align: center; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { gap: 10px; }
  .cta-final .btn { width: auto; }
}
