@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

:root {
  --ink: #111;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg: #fff;
  --max: 1280px;
  --side: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; width: 100%; height: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--side);
}
.brand {
  font-weight: 800; font-size: clamp(22px, 2vw, 30px); letter-spacing: .03em;
  text-decoration: none;
}
nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 16px; font-weight: 500; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero: full photo, never cropped */
.hero { max-width: var(--max); margin: 0 auto; padding: var(--side) var(--side) 0; }
.hero img { width: 100%; height: auto; }

/* Sections */
.block {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) var(--side) 0;
}
h2 {
  font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.1; margin: 0 0 clamp(28px, 3vw, 48px);
}
h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; line-height: 1.15; margin: 0 0 18px; }
p { margin: 0 0 18px; }

/* About */
.about .text { max-width: 760px; font-size: 1.08em; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-block; padding: 14px 26px;
  border: 2px solid var(--ink);
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none;
}
.button:hover { background: var(--ink); color: var(--bg); }

/* Works: big image, text beside it, alternating sides */
.work {
  display: grid; grid-template-columns: 3fr 2fr; gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.work:nth-of-type(even) { grid-template-columns: 2fr 3fr; }
.work:nth-of-type(even) img { order: 2; }
.work img { width: 100%; height: auto; }
.credits { color: var(--muted); font-size: .95em; }
.credits strong { color: var(--ink); font-weight: 500; }
.more {
  display: inline-block; margin-top: 6px;
  font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .06em;
  text-underline-offset: 5px;
}

/* Teaching */
.lead { max-width: 760px; font-size: 1.08em; margin-bottom: 40px; }
.teach-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); }
.teach-list article { padding: 28px 0; border-top: 1px solid var(--line); }
.teach-list h3 { font-size: clamp(22px, 1.8vw, 26px); margin-bottom: 8px; }
.teach-list p { margin: 0; }

/* Contact */
.contact { padding-bottom: clamp(64px, 8vw, 120px); }
.contact p { font-size: clamp(20px, 2vw, 28px); font-weight: 500; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; font-weight: 500; }

footer {
  max-width: var(--max); margin: 0 auto;
  padding: 28px var(--side) 40px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}

/* Tablet */
@media (max-width: 1000px) {
  .work, .work:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; }
  .work:nth-of-type(even) img { order: 0; }
  .teach-list { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 700px) {
  .site-header { position: static; flex-direction: column; align-items: flex-start; gap: 12px; }
  nav { gap: 6px 20px; font-size: 15px; }
  .hero { padding-top: 16px; }
}
