/* career.drgroh.com — follows drgroh.com: white page, ink text, condensed uppercase
   headlines, [ bracket ] labels, one blue accent. Oswald replaces Thunder (no Cyrillic). */

@font-face { font-family: "Oswald"; src: url("fonts/oswald.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #1e1e1e;
  --ink-2: #2a2a2a;
  --white: #ffffff;
  --paper: #f4f4f2;
  --line: #e4e4e1;
  --text: #1e1e1e;
  --muted: #5c5c5c;
  --muted-on-ink: #b0b0b0;
  --accent: #122ce4;
  --accent-hover: #0c1fb0;
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.55 "Roboto", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Type */
.display, h1, h2, h3 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: .005em;
  font-weight: 700;
}
h1 { font-size: clamp(44px, 7.2vw, 100px); line-height: 1.2; }
h2 { font-size: clamp(36px, 5vw, 66px); line-height: 1.12; font-weight: 600; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; font-weight: 600; }
.label {
  display: inline-block;
  font: 500 15px/1.4 "Oswald", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 40em; }
.rule { border-left: 6px solid var(--accent); padding-left: clamp(16px, 2vw, 26px); }
.small { font-size: 14px; color: var(--muted); }
.lead.gap { margin-top: 22px; }
.points.flush { margin-top: 0; }

/* Buttons: pill like drgroh.com, bracket link as the signature element */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 17px/1 "Roboto", sans-serif;
  text-decoration: none;
  background: var(--ink); color: var(--white);
  padding: 17px 30px; border-radius: 100px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.light { background: var(--white); color: var(--ink); }
.btn.light:hover { background: var(--accent); color: var(--white); }
.bracket {
  font: 500 17px/1 "Oswald", sans-serif; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; gap: .35em; align-items: center;
}
.bracket::before { content: "["; font-weight: 600; transition: transform .2s ease; }
.bracket::after { content: "]"; font-weight: 600; transition: transform .2s ease; }
.bracket:hover::before { transform: translateX(-4px); }
.bracket:hover::after { transform: translateX(4px); }

/* Header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { font: 700 26px/1 "Oswald", sans-serif; letter-spacing: .02em; text-decoration: none; }
.top.on-ink { color: var(--white); }
.top.on-paper { position: static; border-bottom: 1px solid var(--line); }

/* Hero */
.hero { background: var(--ink); color: var(--white); padding: 150px 0 110px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero .label { color: var(--muted-on-ink); }
.hero .lead { color: var(--muted-on-ink); margin-top: 28px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.hero .note { margin-top: 22px; color: var(--muted-on-ink); font-size: 15px; }
.cards { position: relative; aspect-ratio: 1 / .78; }
.cards img { position: absolute; width: 84%; border-radius: 18px; box-shadow: 0 28px 60px rgba(0,0,0,.55), 0 0 0 1px #2e2e2e; }
.cards .c1 { left: 0; top: 0; transform: rotate(-6deg); }
.cards .c2 { right: 0; bottom: 0; transform: rotate(3deg); }

/* Sections */
.section { padding: clamp(80px, 9vw, 140px) 0; }
.section.paper { background: var(--paper); }
.section.ink { background: var(--ink); color: var(--white); }
.section.ink .label, .section.ink .lead { color: var(--muted-on-ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip .shot { order: -1; }
.split.align-start { align-items: start; }
.shot { justify-self: center; width: min(100%, 380px); }
.shot img, .pair img { width: 100%; filter: drop-shadow(0 26px 34px rgba(20,20,40,.20)) drop-shadow(0 4px 10px rgba(20,20,40,.10)); }
figcaption, .caption { font-size: 13px; color: var(--muted); margin-top: 6px; text-align: center; }

.points { list-style: none; margin-top: 34px; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.points li::before {
  content: ""; width: 10px; height: 10px; margin: 9px 0 0 4px; background: var(--accent); border-radius: 2px;
}
.points b { font-weight: 600; }
.how { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* Kit */
.steps { list-style: none; counter-reset: s; margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.steps > li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--white); font: 700 16px/1 "Oswald", sans-serif;
  box-shadow: 0 0 0 5px rgba(18,44,228,.14);
}
.steps h3 { margin-bottom: 6px; }
.steps p, .steps ul { color: var(--muted); }
.steps ul { margin: 8px 0 0 18px; display: grid; gap: 6px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.pair figure { justify-self: center; width: min(100%, 380px); }
.pair .cap { font: 500 15px/1.2 "Oswald", sans-serif; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 4px; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); background: var(--white); }
.plan.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan .price { font: 700 clamp(40px, 4vw, 56px)/1 "Oswald", sans-serif; margin: 10px 0 4px; }
.plan .per { color: var(--muted); font-size: 15px; }
.plan.dark .per, .plan.dark .label { color: var(--muted-on-ink); }
.plan ul { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.plan.dark li::before { color: #7d8cff; }
.plan li.off { color: var(--muted); }
.plan li.off::before { content: "—"; color: var(--muted); }
.notes3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.notes3 h3 { font-size: 19px; margin-bottom: 8px; }
.notes3 p { color: var(--muted); font-size: 15.5px; }

/* Principles */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.card { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); }
.section.ink .card { background: var(--ink-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.section.ink .card p { color: var(--muted-on-ink); }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 44px 24px 0; position: relative;
  font: 600 clamp(19px, 1.7vw, 23px)/1.3 "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 400 30px/1 "Oswald", sans-serif; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 46em; }

/* Final call to action */
.final { text-align: center; }
.final h2 { max-width: 14em; margin: 0 auto; }
.final .lead { margin: 22px auto 0; }
.final .btn { margin-top: 40px; }

/* Footer */
.foot { background: var(--ink); color: var(--muted-on-ink); padding: 48px 0 40px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: start; }
.foot .logo { color: var(--white); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot .copy { grid-column: 1 / -1; font-size: 13.5px; border-top: 1px solid #333; padding-top: 22px; }

/* Legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter) 96px; }
.doc h1 { font-size: clamp(30px, 6vw, 56px); overflow-wrap: break-word; }
.doc .langs { display: flex; gap: 22px; margin: 26px 0 0; }
.doc h2 { font-size: clamp(28px, 3vw, 38px); margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 20px; margin: 34px 0 10px; }
.doc p, .doc li { color: #333; }
.doc p + p { margin-top: 12px; }
.doc ul + p, .doc table + p { margin-top: 14px; }
.doc td:first-child { font-weight: 600; color: var(--text); }
.doc ul { margin: 10px 0 0 20px; display: grid; gap: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.doc th { font: 600 14px/1.3 "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.doc .stand { color: var(--muted); font-size: 15px; margin-top: 14px; }
.doc a { color: var(--accent); }
.draft {
  background: #fff4d6; border: 1px solid #f0d58a; color: #5b4300; border-radius: 14px;
  padding: 14px 18px; font-size: 15px; margin-top: 28px;
}
.ph { background: #fff4d6; padding: 0 4px; border-radius: 4px; }
.mail-btn {
  font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: .15em;
}

/* Tablet */
@media (max-width: 960px) {
  .hero { padding: 120px 0 80px; }
  .hero .grid, .split { grid-template-columns: 1fr; }
  .split.flip .shot { order: 0; }
  .cards { max-width: 560px; width: 100%; margin: 24px auto 0; }
  .steps, .plans, .grid2 { grid-template-columns: 1fr; }
  .notes3 { grid-template-columns: 1fr; gap: 22px; }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top .wrap { height: 68px; }
  .logo { font-size: 22px; }
  .top .bracket { font-size: 15px; }
  .hero { padding: 100px 0 64px; }
  .btn { width: 100%; justify-content: center; }
  .pair { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-bottom: 0; padding: 4px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
