/* ============================================================
   Tami Evnin — Portfolio
   Minimal, clean. No frameworks, no build step.
   ============================================================ */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #7a7a78;
  --line: #e6e4dd;
  --accent: #5b6b56;     /* muted sage */
  --accent-soft: #eef0ea;

  --serif: Georgia, "Times New Roman", serif;
  --sans: "Noto Sans",-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 760px;
  --maxw-wide: 960px;
}


html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Layout containers ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: var(--maxw-wide);
}

main {
  padding: 3.5rem 0 5rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.7rem;
  margin: 2.5rem 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.005em;
}

h4 {
  font-size: 1rem;
  margin: 1.25rem 0 0.4rem;
  font-family: var(--sans);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

p.lead {
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

strong {
  font-weight: 600;
  color: var(--ink);
}

ul, ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--ink-soft);
}

li {
  margin-bottom: 0.4rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

/* .sans {
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
} */

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);

}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.site-header__brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.site-header__brand:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ---------- Hero (home) ---------- */
.hero {
  /* padding: 4rem 0 2rem; */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero__tagline {
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.hero__meta {
  font-size: 0.9rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- Project list ---------- */
.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.project:last-child {
  border-bottom: none;
}

.project__meta {
  font-size: 0.85rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.project__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.project__hook {
  color: var(--ink);
  margin-bottom: 1rem;
}

.project__results {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.project__results li {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0;
  font-weight: 500;
}

/* ---------- Resume / experience ---------- */
.role {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
}

.role:last-child {
  border-bottom: none;
}

.role__period {
  font-size: 0.9rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.role__title {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--ink);
}

.role__company {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.role__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.role__bullets li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  font-size: 0.97rem;
}

.role__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--ink-mute);
}

/* ---------- Section heading ---------- */
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.5rem;
  display: block;
}

/* ---------- About page ---------- */
.about-section {
  margin-bottom: 2.5rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-top: 1rem;
}

.expertise-grid h4 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.expertise-grid p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--ink-mute);
}

.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--ink-mute);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  html { font-size: 16px; }
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero__tagline { font-size: 1.1rem; }
  .site-header__inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .site-nav { gap: 1.25rem; }
  .role { grid-template-columns: 1fr; gap: 0.5rem; }
  .role__period { font-size: 0.85rem; }
  .expertise-grid { grid-template-columns: 1fr; }
}
