/* ============================================================
   James Burrell — minimal editorial, monochrome
   All theming via CSS variables below.
   ============================================================ */
:root {
  --ink: #111111;
  --paper: #fafafa;
  --grey-1: #e8e8e8;
  --grey-2: #bdbdbd;
  --grey-3: #6b6b6b;
  --white: #ffffff;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --nav-h: 64px;
  --wrap-max: 1180px;
  --pad: 24px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 100;
  color: var(--white);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav--solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--grey-1);
}
.nav__logo {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), opacity .25s var(--ease);
  opacity: .85;
}
.nav__links a:hover,
.nav__links a.is-active {
  border-bottom-color: currentColor;
  opacity: 1;
}
.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  align-items: center;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.nav--open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav--open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  background: url('https://picsum.photos/id/1031/1920/1280?grayscale') center / cover no-repeat, var(--grey-3);
  filter: grayscale(1);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  /* conservative slate-blue tint over the grayscale image;
     darker scrim at the top keeps the transparent nav legible */
  background: linear-gradient(180deg, rgba(9,14,26,.66) 0%, rgba(13,20,34,.32) 16%, rgba(13,20,34,.28) 45%, rgba(9,14,26,.82) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad) 96px;
}
.hero__kicker {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 18px;
}
.hero__name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.04;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero__tm {
  font-family: var(--sans);
  font-size: .18em;
  font-weight: 400;
  letter-spacing: .08em;
  vertical-align: top;
  position: relative;
  top: .35em;
  margin-left: .12em;
  opacity: .85;
}
.hero__tagline {
  margin-top: 20px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.6;
  opacity: .92;
}
.hero__cta {
  display: inline-block;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid var(--white);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.hero__cta:hover {
  background: var(--white);
  color: var(--ink);
}
.hero__scrollcue {
  position: absolute;
  right: var(--pad);
  bottom: 32px;
  z-index: 1;
  text-decoration: none;
  font-size: 20px;
  opacity: .7;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0 96px;
  scroll-margin-top: var(--nav-h);
}
.section--rule {
  border-top: 1px solid var(--grey-1);
}
.kicker {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 20px;
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  margin-bottom: 48px;
  letter-spacing: -.01em;
}
.section__title--sans {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(21px, 2.7vw, 30px);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.about__bio p {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: 17px;
  color: #2a2a2a;
}
.about__facts {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.about__facts h3 {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.about__facts ul { list-style: none; }
.about__facts li {
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-1);
  font-size: 14px;
  color: var(--grey-3);
}
.about__facts strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- Contact ---------- */
.contact { max-width: 640px; }
.contact__note {
  color: var(--grey-3);
  margin-bottom: 36px;
  max-width: 480px;
}
.contact__form label {
  display: block;
  margin-bottom: 22px;
}
.contact__form label span {
  display: block;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 8px;
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 8px 0 10px;
  font: inherit;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .25s var(--ease);
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-bottom-width: 2px;
}
.contact__form textarea { resize: vertical; }
/* honeypot field — offscreen for humans, visible to naive bots */
.contact__form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact__form button:disabled {
  opacity: .6;
  cursor: default;
}
.contact__form button {
  margin-top: 8px;
  font: inherit;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 16px 40px;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.contact__form button:hover {
  background: transparent;
  color: var(--ink);
}
.contact__hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--grey-3);
  min-height: 1.4em;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--grey-1);
  padding: 48px 0 56px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
}
.footer__inner a {
  text-decoration: none;
  border-bottom: 1px solid var(--grey-2);
  padding-bottom: 2px;
}
.footer__fine {
  width: 100%;
  color: var(--grey-2);
  font-size: 12px;
  margin-top: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__facts { position: static; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0 64px; }
  .contact__row { grid-template-columns: 1fr; gap: 0; }
  .hero__content { padding-bottom: 72px; }

  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateY(-100%);
    transition: transform .45s var(--ease);
  }
  .nav__links a { font-size: 16px; }
  .nav--open .nav__links { transform: none; }
  .nav--open { color: var(--ink); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scrollcue { animation: none; }
  .nav__links { transition: none; }
}
