@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600&family=Inter:wght@400;700&display=swap');

:root {
  /* Portfolio — Figma tokens */
  --background-primary: #fffefc;
  --background-secondary: #f8f5ef;

  --text-primary: #262626;
  --text-secondary: #5c5852;
  --text-muted: #716b63;
  --text-ink: #34312d;

  --border-subtle: #ddd6cc;

  --accent-burgundy: #8f1128;
  --accent-terracotta: #a9462b;

  /* Portfolio spacing scale */
  --space-xs: 4px;
  --space-s: 8px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;
}

/* Reset */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background-primary);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
}

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

/* Page */

.page {
  width: 100%;
  min-height: 100vh;
  padding: var(--space-xl) var(--space-xxl);

  display: flex;
  flex-direction: column;
}

/* Header */

.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
}

.header-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
}

.header-link {
  font-size: 16px;
  line-height: 28px;
}

.header-link:hover {
  color: var(--accent-burgundy);
}

/* Hero */

.hero {
  flex: 1;

  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: var(--space-4xl);
  align-items: center;

  padding: var(--space-4xl) 0;
}

.hero-primary {
  max-width: 900px;
}

.hero-secondary {
  max-width: 420px;
}

.role {
  margin: 0 0 var(--space-l);

  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  margin: 0;

  font-family: "Fraunces", serif;
  font-size: clamp(64px, 6.67vw, 96px);
  line-height: 1.23;
  font-weight: 600;
}

h1 .accent {
  color: var(--accent-burgundy);
}

/* Portfolio status */

.status {
  margin: 0;

  font-size: 16px;
  line-height: 28px;
}

.status strong {
  font-weight: 700;
}

/* Location / international positioning */

.location {
  margin-top: var(--space-l);
}

.location p {
  margin: 0;

  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}

.location p + p {
  margin-top: 2px;
}

/* Footer */

.footer {
  padding-top: var(--space-l);
  border-top: 1px solid var(--border-subtle);

  display: flex;
  justify-content: flex-end;
}

.year {
  margin: 0;

  color: var(--text-muted);
  font-size: 14px;
  line-height: 22px;
}

/* Mobile */

@media (max-width: 700px) {
  .page {
    padding: var(--space-l) var(--space-m);
  }

  .brand {
    max-width: 190px;

    font-size: 22px;
    line-height: 30px;
  }

  .header-links {
    gap: 0;
  }

  .header-link {
    font-size: 14px;
    line-height: 22px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    gap: var(--space-xxl);
    padding: var(--space-3xl) 0;
  }

  .hero-primary,
  .hero-secondary {
    max-width: none;
  }

  .role {
    margin-bottom: var(--space-m);

    font-size: 14px;
    line-height: 22px;
  }

  h1 {
    font-size: clamp(48px, 13vw, 64px);
    line-height: 1.08;
  }

  .availability {
    font-size: 24px;
    line-height: 32px;
  }

  .status {
    margin-top: var(--space-l);
  }
}
