/* ============================================
   TOKENS
   ============================================ */
:root {
  --ink: #1a1815;
  --bone: #faf9f7;
  --bone-dim: #faf9f7;
  --oxblood: #7a2e22;
  --brass: #a8874f;
  --ash: #6e6a5f;

  --display: "cutive mono", serif;
  --body: "cutive mono", sans-serif;

  --max-w: 1040px;
  --edge: clamp(24px, 6vw, 96px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0;
}

em {
  font-style: italic;
  color: var(--oxblood);
}

:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

/* ============================================
   SIGNATURE MOTIF — sprocket rail
   A thin perforated strip along the left edge,
   quoting a film reel's sprocket holes. Used once,
   as the page's spine, not repeated as decoration.
   ============================================ */
.sprocket-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 100%;
  background-image: radial-gradient(circle, var(--ash) 2px, transparent 2.2px);
  background-size: 14px 28px;
  background-position: center 14px;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .sprocket-rail { display: none; }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--edge);
  background: rgba(237, 231, 218, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(26, 24, 21, 0.08);
}

.mark {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.site-header nav {
  display: flex;
  gap: 32px;
}

.site-header nav a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ash);
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--oxblood);
}

/* ============================================
   LAYOUT
   ============================================ */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--edge);
  position: relative;
  z-index: 1;
}

section {
  padding: 96px 0;
}

.divider {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--edge);
}

.divider::after {
  content: "";
  display: block;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--ash) 0,
    var(--ash) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.4;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: 120px;
  padding-bottom: 72px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 20px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero-sub {
  margin: 32px 0 0;
  max-width: 52ch;
  font-size: 18px;
  color: var(--ash);
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.tag-strip span {
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid rgba(26, 24, 21, 0.18);
  border-radius: 999px;
  color: var(--ink);
}

/* ============================================
   ABOUT
   ============================================ */
.about h2,
.work h2,
.contact h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
}

.about-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 48ch;
}

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
}

.about-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(26, 24, 21, 0.12);
  padding-top: 10px;
}

.about-facts span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}

@media (max-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   WORK
   ============================================ */
.section-note {
  color: var(--ash);
  font-size: 14px;
  margin: -20px 0 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.work-card {
  display: flex;
  flex-direction: column;
}

.work-thumb {
  aspect-ratio: 4 / 3;
  background: var(--bone-dim);
  border: 1px solid rgba(26, 24, 21, 0.12);
  border-radius: 4px;
  position: relative;
  margin-bottom: 18px;
  overflow: hidden;
}

.work-thumb::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: var(--display);
  font-size: 13px;
  color: var(--ash);
  opacity: 0.6;
}

.work-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.work-card p {
  font-size: 14px;
  color: var(--ash);
  margin: 0 0 14px;
  line-height: 1.5;
}

.work-link {
  font-size: 14px;
  text-decoration: none;
  color: var(--oxblood);
  font-weight: 500;
}

.work-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact p {
  font-size: 17px;
  color: var(--ash);
  max-width: 46ch;
}

.contact-email {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 30px);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--oxblood);
  padding-bottom: 4px;
}

.contact-email:hover {
  color: var(--oxblood);
}

.social-row {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.social-row a {
  font-size: 14px;
  text-decoration: none;
  color: var(--ash);
}

.social-row a:hover {
  color: var(--oxblood);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 32px var(--edge) 48px;
  font-size: 13px;
  color: var(--ash);
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}
