:root {
  --ink: #17201f;
  --muted: #5d6b68;
  --paper: #f5f7f6;
  --surface: #ffffff;
  --line: #d9e2df;
  --teal: #174b49;
  --green: #2f6b4f;
  --amber: #c7772d;
  --blue: #2f5d8c; }

* {
  box-sizing: border-box; }

html {
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0; }

body {
  margin: 0;
  background: var(--paper); }

body,
button,
input,
textarea {
  font: inherit; }

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

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

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

h1 {
  max-width: 820px;
  font-size: 54px;
  line-height: 1.02;
  font-weight: 760; }

h2 {
  font-size: 34px;
  line-height: 1.12; }

h3 {
  font-size: 18px;
  line-height: 1.25; }

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62; }

.site-shell {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 0 48px; }

.hero-section {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
  padding: 36px 0 56px; }

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px; }

.eyebrow {
  color: var(--amber);
  font-size: 14px;
  font-weight: 750; }

.availability {
  max-width: 760px;
  color: var(--teal);
  font-size: 20px;
  font-weight: 650; }

.hero-summary {
  max-width: 720px;
  font-size: 20px; }

.cta-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 750; }

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #0f3736; }

.button-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line); }

.button-secondary:hover,
.button-secondary:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  border-color: var(--amber);
  color: var(--teal); }

.hero-visual {
  display: grid;
  gap: 16px; }

.profile-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface); }

.profile-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(23, 32, 31, 0.08); }

.profile-name {
  color: var(--ink);
  font-weight: 800; }

.profile-role {
  color: var(--green);
  font-size: 16px;
  font-weight: 700; }

.profile-panel ul,
.work-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none; }

.profile-panel li,
.work-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55; }

.profile-panel li + li,
.work-list li + li {
  margin-top: 10px; }

.profile-panel li::before,
.work-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber); }

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line); }

.section-heading {
  max-width: 680px;
  margin-bottom: 28px; }

.section-heading h2,
.research-section h2,
.contact-band h2 {
  margin-top: 8px; }

.section-heading p:last-child,
.research-section p:last-child,
.contact-band p {
  margin-top: 10px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px; }

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; }

.fit-item,
.service-card {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface); }

.fit-item {
  min-height: 190px;
  border-top: 4px solid var(--teal); }

.fit-item:nth-child(2) {
  border-top-color: var(--green); }

.fit-item:nth-child(3) {
  border-top-color: var(--blue); }

.fit-item:nth-child(4) {
  border-top-color: var(--amber); }

.service-card:nth-child(2) {
  border-top: 4px solid var(--green); }

.service-card:nth-child(3) {
  border-top: 4px solid var(--blue); }

.service-card:nth-child(4) {
  border-top: 4px solid var(--amber); }

.service-card:nth-child(5) {
  border-top: 4px solid var(--teal); }

.fit-item h3,
.service-card h3 {
  margin-bottom: 12px; }

.fit-item p,
.service-card p,
.experience-item p,
.stack-group p {
  font-size: 15px;
  line-height: 1.55; }

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start; }

.work-list {
  margin-top: 0; }

.work-list li {
  color: var(--ink);
  font-size: 18px; }

.experience-list {
  display: grid;
  gap: 12px; }

.experience-item {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line); }

.period {
  margin-top: 6px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700; }

.proof-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none; }

.proof-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5; }

.proof-list li + li {
  margin-top: 8px; }

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green); }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; }

.stack-group {
  padding: 18px 0;
  border-top: 3px solid var(--line); }

.stack-group h3 {
  margin-bottom: 8px; }

.research-section {
  max-width: 800px; }

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  padding: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff; }

.contact-band p {
  color: rgba(255, 255, 255, 0.76); }

.contact-band .eyebrow {
  color: #f1b15e; }

.contact-band .button-primary {
  background: #ffffff;
  color: var(--ink); }

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 700; }

@media (max-width: 1040px) {
  h1 {
    font-size: 46px; }
  .hero-section,
  .split-section,
  .contact-band {
    grid-template-columns: 1fr; }
  .hero-section {
    min-height: auto; }
  .hero-visual {
    max-width: 520px; }
  .service-grid,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 680px) {
  .site-shell {
    width: calc(100% - 28px);
    max-width: 1180px;
    padding-top: 18px; }
  h1 {
    font-size: 36px;
    line-height: 1.08; }
  h2 {
    font-size: 28px; }
  p,
  .availability,
  .hero-summary {
    font-size: 17px; }
  .hero-section {
    gap: 30px;
    padding-bottom: 40px; }
  .service-grid,
  .fit-grid,
  .stack-grid,
  .experience-item {
    grid-template-columns: 1fr; }
  .fit-item,
  .service-card {
    min-height: auto; }
  .section {
    padding: 44px 0; }
  .contact-band {
    padding: 24px; } }
