/* ceokps.com — one stylesheet, no framework, no build step.
   Palette and type come from the researched direction: light ground (the only
   controlled study found light themes scored higher on design and produced
   higher initial trust), two neutrals, one accent reserved for actions. */

:root {
  --ground: #FBFAF7;
  --ink: #15120E;
  --body: #4A443B;
  --muted: #6B6256;
  --rule: #E2DACC;
  --accent: #8A5A2C;
  --accent-dark: #6B4420;
  --sand: #F2EADB;
  --dark: #15120E;
  --on-dark: #FBFAF7;
  --on-dark-muted: #C4BAAB;
  --wrap: 1040px;
  --gutter: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--ground);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.7;
}

.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 0;
}

/* ---------------------------------------------------------------- masthead */
.masthead {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: baseline; justify-content: space-between;
  padding-top: 40px;
}
.masthead__name { font-size: 22px; color: var(--ink); text-decoration: none; }
.masthead__nav { display: flex; flex-wrap: wrap; gap: 32px; font-size: 14px; font-weight: 500; }
.masthead__nav a { color: var(--muted); text-decoration: none; }
.masthead__nav a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- sections */
.section { padding-top: 150px; }
.section--first { padding-top: 140px; }

h1.hero { margin: 36px 0 0; font-size: 88px; line-height: 1.02; letter-spacing: -0.02em; max-width: 860px; }
h1.page { margin: 34px 0 0; font-size: 62px; line-height: 1.08; letter-spacing: -0.018em; max-width: 780px; }
h2.big   { margin: 34px 0 0; font-size: 52px; line-height: 1.12; letter-spacing: -0.015em; max-width: 720px; }
h2.mid   { margin: 34px 0 0; font-size: 44px; line-height: 1.15; letter-spacing: -0.015em; max-width: 680px; }

.lede { margin: 28px 0 0; font-size: 20px; line-height: 1.7; color: var(--body); max-width: 620px; }
.body { margin: 18px 0 0; font-size: 19px; line-height: 1.75; color: #2A251E; max-width: 680px; }

/* ---------------------------------------------------------------- actions */
.actions { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-top: 52px; }
.btn {
  display: inline-block; padding: 16px 32px; background: var(--accent);
  color: var(--ground); font-size: 15px; font-weight: 500; text-decoration: none;
  border: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent-dark); color: var(--ground); }
.btn-text {
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid #C9BFAE; padding-bottom: 3px;
}
.btn-text:hover { color: var(--ink); border-color: var(--accent); }

/* ---------------------------------------------------------------- wins */
.wins { display: flex; flex-direction: column; gap: 76px; margin-top: 56px; }
.win { display: flex; flex-wrap: wrap; gap: 56px; align-items: baseline; }
.win__num { flex: 0 0 200px; font-size: 76px; line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.win__body { flex: 1 1 420px; min-width: 0; }
.win__body h3 { margin: 0; font-size: 32px; line-height: 1.25; font-weight: 400; }
.win__body p { margin: 14px 0 0; font-size: 17px; line-height: 1.7; color: var(--body); max-width: 520px; }

/* ---------------------------------------------------------------- dark band */
.band { margin-top: 150px; background: var(--dark); color: var(--on-dark); }
.band .eyebrow { color: #A89C8A; }
.band__cols { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 36px; }
.band__cols p { margin: 0; flex: 1 1 380px; min-width: 0; font-size: 18px; line-height: 1.75; color: var(--on-dark-muted); }
.band__quote { margin: 56px 0 0; font-size: 34px; line-height: 1.35; max-width: 740px; }
.band .wrap { padding-block: 130px; }

/* ---------------------------------------------------------------- rows */
.rows { display: flex; flex-direction: column; margin-top: 48px; }
.row {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: baseline;
  justify-content: space-between; padding: 36px 0; border-top: 1px solid var(--rule);
  text-decoration: none; color: var(--ink);
}
.rows .row:last-child { border-bottom: 1px solid var(--rule); }
.row h3 { margin: 0; flex: 1 1 460px; min-width: 0; font-size: 30px; line-height: 1.25; font-weight: 400; }
.row__meta { font-size: 13px; color: var(--muted); }
a.row:hover h3 { color: var(--accent); }

/* a definition row: label column + value column */
.defs { display: flex; flex-direction: column; margin-top: 56px; }
.def {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--rule);
}
.defs .def:last-child { border-bottom: 1px solid var(--rule); }
.def__label { flex: 0 0 150px; }
.def__value { flex: 1 1 400px; min-width: 0; font-size: 18px; line-height: 1.6; }

/* career rows */
.job {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: baseline;
  justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--rule);
}
.jobs .job:last-child { border-bottom: 1px solid var(--rule); }
.job__title { flex: 1 1 320px; min-width: 0; font-size: 17px; font-weight: 600; }
.job__org { flex: 1 1 260px; min-width: 0; font-size: 16px; color: var(--body); }
.job__dates { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- form */
.form { margin-top: 48px; max-width: 620px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 17px; color: var(--ink);
  background: #FFFFFF; border: 1px solid #D5CCBC; padding: 14px 16px;
  border-radius: 0; width: 100%; min-height: 52px;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent); outline-offset: -2px; border-color: var(--accent);
}
.field__hint { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 20px; font-size: 16px; line-height: 1.6; min-height: 26px; }
.form__status[data-state="ok"]  { color: #1F6B3E; }
.form__status[data-state="err"] { color: #A3341F; }

/* ---------------------------------------------------------------- footer */
.footer { margin-top: 150px; border-top: 1px solid var(--rule); }
.footer .wrap { padding-block: 72px 96px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer__line { flex: 1 1 320px; min-width: 0; font-size: 28px; line-height: 1.3; max-width: 380px; }
.footer__contact { flex: 0 1 280px; font-size: 16px; line-height: 2; }
.footer__contact a { text-decoration: none; }
.footer__place { color: var(--muted); margin-top: 12px; font-size: 14px; }

/* ---------------------------------------------------------------- phone */
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  h1.hero { font-size: 46px; }
  h1.page { font-size: 36px; }
  h2.big  { font-size: 32px; }
  h2.mid  { font-size: 29px; }
  .section { padding-top: 88px; }
  .band { margin-top: 88px; }
  .band .wrap { padding-block: 72px; }
  .band__quote { font-size: 24px; }
  .wins { gap: 48px; }
  .win { gap: 20px; }
  .win__num { flex-basis: 100%; font-size: 56px; }
  .win__body h3 { font-size: 25px; }
  .row h3 { font-size: 23px; }
  .def__label { flex-basis: 100%; }
  .footer { margin-top: 88px; }
}
