/* ---- Self-hosted Syne (was Google Fonts) ---- */
/* greek */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2NL9G78HEZnMg.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm25L9G78HEZnMg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2BL9G78HEY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2NL9G78HEZnMg.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm25L9G78HEZnMg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2BL9G78HEY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2NL9G78HEZnMg.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm25L9G78HEZnMg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2BL9G78HEY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2NL9G78HEZnMg.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm25L9G78HEZnMg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/8vIH7w4qzmVxm2BL9G78HEY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --accent: #1a56b0;            /* accent blue — one restrained accent */
  --sans: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gap: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;   /* stop long emails/URLs from overflowing on narrow screens */
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

/* Accessible, visible keyboard focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--display);
  color: var(--fg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-links .social { display: inline-flex; align-items: center; }
.nav-links .social svg { display: block; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero { padding-top: 96px; padding-bottom: 72px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  max-width: 20ch;
}
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}
.hero .proof {
  margin-top: 28px;
  font-size: 15px;
  color: var(--fg);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hero .proof em { font-style: italic; }

/* ---- Sections ---- */
section { padding: 56px 0; }
.section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 24px;
}
.prose p { max-width: 68ch; margin: 0 0 18px; font-size: 17px; }

/* ---- Bio layout ---- */
.bio { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; padding: 56px 0; }
.bio-photo img { width: 100%; border-radius: 2px; }
@media (max-width: 760px) {
  .bio { grid-template-columns: 1fr; gap: 28px; }
  .bio-photo { max-width: 280px; }
}

/* ---- Work grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card { position: relative; overflow: hidden; }
.card .thumb {
  aspect-ratio: 4 / 3;
  background: #ececec;
  overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card h3 { font-family: var(--display); font-size: 18px; font-weight: 600; margin: 12px 0 4px; }
.card .meta { font-size: 13px; color: var(--muted); line-height: 1.5; }
.card .meta .role { display: block; }
.card .press { font-size: 13px; color: var(--fg); font-style: italic; margin: 6px 0 0; line-height: 1.5; }
.card .press em { font-style: normal; }
.card .blurb { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }

/* ---- Credits ---- */
.credits .year {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.credits .year h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  position: sticky;
  top: 88px;
  align-self: start;
}
.credits ul { list-style: none; margin: 0; padding: 0; }
.credits li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.credits li:last-child { border-bottom: 0; }
.credits .show { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; }
a.show { transition: color .2s ease; }
a.show:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.credits .det { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.credits .award {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: 6px;
}
.credits .award em { font-style: italic; text-transform: none; }
@media (max-width: 640px) {
  .credits .year { grid-template-columns: 1fr; gap: 10px; }
  .credits .year h3 { position: static; }
}

/* ---- Carousel ---- */
.carousel { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .5s ease; }
.slide { min-width: 100%; }
.slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.carousel button.arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.85); border: 0; width: 44px; height: 44px;
  font-size: 20px; cursor: pointer; border-radius: 50%;
}
.arrow.prev { left: 16px; } .arrow.next { right: 16px; }

/* ---- Contact ---- */
.contact-block { font-size: 18px; }
.contact-block .label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-top: 24px; }

/* ---- Project detail ---- */
.project { padding-bottom: 48px; }
.back {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-hero { margin: 8px 0 32px; }
.project-hero img { width: 100%; max-height: 62vh; object-fit: cover; }
.project h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.project-meta { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.project-meta .role { display: block; color: var(--fg); margin-top: 2px; }
.project-press {
  font-style: italic;
  font-size: 16px;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 28px 0;
  color: var(--fg);
  max-width: 70ch;
}
.project-press em { font-style: normal; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 36px 0; }
.gallery img { width: 100%; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Mobile ---- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: inline-flex; padding: 8px 0; }  /* larger tap targets */
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; padding-bottom: 48px; }
}

/* ---- SEO: reserve image space to prevent layout shift (CLS) ---- */
.project-hero img { aspect-ratio: 16 / 9; }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; }
