@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/cabin-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --ink: #3d3d3d;
  --ink-muted: #7a7a7a;
  --accent: #0da9d9;
  --accent-hover: #09a2b0;
  --nav-hover: #10d4e6;
  --social: #91a1a6;
  --border: #e6e6e6;
  --button-border: #c9c9c9;

  --font-display: "Gill Sans", "Gill Sans MT", "Cabin", Calibri, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --column: 763px;
  --image-w: 570px;
  --gutter: 50px;

  --track-display: 3px;
  --track-nav: 2px;
  --track-body: 1px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 22px;
  letter-spacing: var(--track-body);
  -webkit-font-smoothing: antialiased;
}

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

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

main {
  width: 100%;
  max-width: calc(var(--column) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  padding: 31px 20px 0;
  text-align: center;
}

.wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 45.5px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: var(--track-display);
  text-indent: var(--track-display); /* balance trailing tracking */
  text-transform: uppercase;
  color: var(--ink);
}
.wordmark:hover { color: var(--ink); }

.nav {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
}

.nav a {
  display: inline-block;
  margin: 0 10px;
  color: var(--ink-muted);
}
.nav a:hover,
.nav a.is-active { color: var(--accent); }

/* ---------- Sections ---------- */

.section {
  scroll-margin-top: 48px;
}

.about { padding-top: 74px; }

.about-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0 62px;
  align-items: start;
}

.portrait img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
}

h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 19.5px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

.about-copy > h2 ~ h2 { margin-top: 42px; }

.about-copy p { margin: 0 0 18px; }
.about-copy p:last-of-type { margin-bottom: 0; }

.awards {
  margin: 0 0 0;
  padding: 0 0 0 18px;
  list-style: disc;
}
.awards li {
  margin-bottom: 10px;
  padding-left: 2px;
}
.awards li::marker { color: var(--ink-muted); }

/* ---------- Video ---------- */

.video {
  width: 100%;
  margin: 90px 0 0;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Gallery ---------- */

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gutter);
  padding: 100px 0 120px;
}

.shot {
  display: block;
  width: var(--image-w);
  max-width: 100%;
  line-height: 0;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* ---------- Contact form ---------- */

.contact-form {
  margin-top: 28px;
  max-width: 520px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: var(--track-body);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--ink-muted);
}

.contact-form button {
  margin-top: 8px;
  padding: 12px 30px;
  border: 1px solid var(--button-border);
  border-radius: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.contact-form button:hover {
  color: var(--ink);
  border-color: var(--ink-muted);
}

.form-note {
  min-height: 18px;
  margin: 14px 0 0;
  font-size: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: fixed;
  left: 22px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  gap: 14px;
  padding: 5px 7px;
  margin: -5px -7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
}

.site-footer a {
  display: block;
  color: var(--social);
}
.site-footer a:hover { color: var(--ink); }

.site-footer svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(255, 255, 255, 0.97);
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  padding: 12px;
}
.lightbox button:hover { color: var(--ink); }

.lb-close { top: 12px; right: 16px; font-size: 32px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

body.lb-open { overflow: hidden; }

/* ---------- Mobile ---------- */

@media (max-width: 820px) {
  .wordmark {
    font-size: 24px;
    letter-spacing: 2px;
    text-indent: 2px;
  }

  .nav {
    margin-top: 16px;
    font-size: 9.6px;
    line-height: 16px;
    letter-spacing: 1.6px;
  }

  .nav a { margin: 0 6px; }

  .about { padding-top: 48px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portrait { display: flex; justify-content: center; }

  .portrait img {
    width: 190px;
    height: 190px;
  }

  h2 { font-size: 15px; margin-bottom: 14px; }
  .about-copy > h2 ~ h2 { margin-top: 34px; }

  body { font-size: 12px; line-height: 20px; }

  .video { margin-top: 56px; }

  .gallery {
    padding: 70px 0 100px;
    gap: 30px;
  }

  .site-footer { left: 14px; bottom: 12px; }

  .lightbox { padding: 20px; }
  .lb-prev { left: 0; }
  .lb-next { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
