/* Minimal grayscale design: refined type, calm rhythm, tasteful buttons */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b7280;    /* neutral gray for supporting text */
  --line: #e5e7eb;     /* soft rule color */
  --accent: #111111;   /* primary (black) */
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.05);
}

* { box-sizing: border-box; }

html {
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display",
               "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

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

.container { width: min(92vw, 960px); margin: 0 auto; }

/* Header / Nav */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1rem;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-link {
  position: relative;
  padding: 8px 10px;
  border-radius: 10px;
  color: #2b2b2b;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 6px;
  height: 1.5px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  opacity: .9;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--fg);
}
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.2px solid var(--accent);
  background: transparent;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color .25s ease, color .25s ease, transform .15s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Main layout */
main { padding: 48px 0 72px; }

/* About page hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
}

.headline {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

.kicker {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 10px;
}

/* Portrait */
.portrait {
  justify-self: center;
  width: min(380px, 65vw);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter .35s ease, transform .35s ease;
}
.portrait img:hover { transform: scale(1.02); }
.bw { filter: grayscale(100%); }  /* Remove this class for color */

/* Page titles and text */
.page-title {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  letter-spacing: -0.01em;
  margin: 0 0 14px 0;
}

.lead { color: var(--muted); margin: 0 0 22px 0; }

.content {
  display: grid;
  gap: 18px;
  font-size: 1.02rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: .92rem;
}
