/* Tokens from the "Industry" design system (claude.ai/design) */
:root {
  --color-bg: #f2f2f3;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-2: 6.8px;
  --space-3: 10.2px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--color-accent-900);
}

body {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-accent-700); text-decoration: none; }
a:hover { color: var(--color-accent-900); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — layout — */
.page { position: relative; min-height: 100vh; }

.backdrop {
  position: fixed;
  inset: -60px;
  background: url(assets/per.jpg) 50% 40% / cover;
  filter: blur(60px) saturate(1.3);
  z-index: 0;
}

.layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}

.portrait {
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: start;
  overflow: hidden;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.panel {
  padding: clamp(28px, 6vw, 80px) clamp(20px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 96px);
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, .6);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .7);
}

/* Single column: the glass panel slides up over the pinned portrait */
@media (max-width: 879px) {
  .panel { border-left: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
}

/* — sections — */
.kicker {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-accent-800);
}

.block { display: flex; flex-direction: column; gap: 20px; }

.intro {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
}

h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(64px, 8.5vw, 128px);
  line-height: .86;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.lede {
  max-width: 30ch;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.4;
  text-wrap: pretty;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.statement {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
  text-wrap: pretty;
}

.body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* — experience — */
.jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.jobs li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(29, 31, 32, .14);
}
.jobs li > div { display: flex; flex-direction: column; gap: 2px; }
.period { font-size: 14px; font-weight: 500; color: var(--color-accent-800); padding-top: 4px; }
.role { font-family: var(--font-heading); font-weight: 600; font-size: 22px; line-height: 1.15; }
.company { font-size: 15px; }

/* — contact — */
.contact { display: flex; flex-direction: column; gap: 6px; }
.contact a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  color: var(--color-text);
  overflow-wrap: anywhere;
}
.contact a:hover { color: var(--color-accent-700); }

.footer { font-size: 13px; color: var(--color-accent-800); margin-top: 24px; }

/* — buttons (Industry DS) — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-divider);
  border-radius: 0;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }

/* — blueprint frame with registration marks — */
.blueprint { position: relative; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: currentColor;
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }
