:root {
  --ink: #12231d;
  --muted: #587066;
  --line: #d2ddd6;
  --paper: #fbfcf9;
  --soft: #edf1ed;
  --deep: #083b30;
  --green: #0c5a47;
  --mint: #b5d9c3;
  --body: "DM Sans", Arial, sans-serif;
  --brand: "Azeret Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 10; padding: 10px 14px; background: var(--deep); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; z-index: 2; width: 100%; color: #fff; }
.nav-wrap { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { font-size: .75rem; font-weight: 600; text-decoration: none; }
.nav-cv { padding: 8px 12px; border: 1px solid rgba(255,255,255,.72); }

.hero { min-height: 665px; padding: 170px 0 84px; color: #fff; background: radial-gradient(circle at 82% 12%, #19745c 0, transparent 25%), linear-gradient(135deg, #072d24, #0b4b3c); }
.hero-grid { display: grid; grid-template-columns: 1.55fr .6fr; align-items: end; gap: 76px; }
.eyebrow { margin: 0 0 30px; color: var(--green); font-size: .66rem; font-weight: 600; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow { color: var(--mint); }
h1, h2, p { margin-top: 0; }
h1 { max-width: 830px; margin-bottom: 29px; font-family: var(--brand); font-size: clamp(3.35rem, 6.6vw, 6.1rem); font-weight: 600; letter-spacing: -.075em; line-height: .92; }
.hero-copy { max-width: 675px; margin-bottom: 0; color: #d5e8dd; font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid #fff; color: #fff; font-size: .73rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; transition: .2s ease; }
.button:hover { background: #fff; color: var(--deep); }
.button-quiet { border-color: rgba(255,255,255,.38); color: #dfeee6; }
.portrait-wrap { position: relative; justify-self: end; width: min(274px, 100%); }
.portrait-wrap::before { position: absolute; inset: -15px 15px 15px -15px; border: 1px solid rgba(181,217,195,.75); content: ""; }
.portrait { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; filter: saturate(.72) contrast(1.04); }

.section { padding: 100px 0; }
.focus-section { background: var(--soft); }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.focus-grid > div { min-height: 235px; padding: 34px 28px 24px 0; }
.focus-grid > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
h2 { margin-bottom: 16px; font-family: var(--brand); font-size: clamp(1.65rem, 2.9vw, 2.55rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.04; }
.focus-grid h2 { max-width: 275px; font-size: 1.62rem; }
.focus-grid p { max-width: 290px; margin-bottom: 0; color: var(--muted); font-size: .85rem; line-height: 1.8; }

.products-section { background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { min-height: 295px; padding: 35px; border: 1px solid var(--line); background: #fff; }
.product-label { margin-bottom: 42px; color: var(--green); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.product-card h2 { margin-bottom: 17px; font-size: 2.15rem; }
.product-card p:not(.product-label) { max-width: 420px; margin-bottom: 28px; color: var(--muted); font-size: .86rem; }
.product-card .text-link { color: var(--green); }

.linkedin-section { color: #f3f8f4; background: var(--deep); }
.linkedin-grid { display: grid; grid-template-columns: .8fr 1.55fr; gap: 72px; }
.linkedin-section .eyebrow { color: var(--mint); }
.linkedin-section h2 { max-width: 690px; font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.linkedin-section p:not(.eyebrow) { max-width: 600px; margin-bottom: 30px; color: #c6ddd1; font-size: .94rem; }
.text-link { color: #fff; font-size: .8rem; font-weight: 600; }
.text-link:hover { color: var(--mint); }

.site-footer { padding: 29px 0; border-top: 1px solid rgba(255,255,255,.13); color: #c5d9cf; background: var(--deep); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-wrap p, .footer-wrap a { margin: 0; font-size: .68rem; }
.footer-wrap a { color: #fff; }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 600px); }
  .nav-wrap { min-height: 76px; }
  nav { gap: 14px; }
  .hero { min-height: 0; padding: 136px 0 58px; }
  .hero-grid, .linkedin-grid, .product-grid { grid-template-columns: 1fr; gap: 42px; }
  .portrait-wrap { justify-self: start; width: 190px; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .section { padding: 68px 0; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid > div { min-height: 0; padding: 27px 0; border-bottom: 1px solid var(--line); }
  .focus-grid > div + div { padding-left: 0; border-left: 0; }
  .product-card { min-height: 0; padding: 28px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}
