:root {
  --ink: #171816;
  --paper: #f3efe7;
  --cream: #fbf8f1;
  --gold: #b68a48;
  --muted: #696860;
  --line: rgba(23, 24, 22, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; background: white; padding: .6rem 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  color: var(--cream);
  background: rgba(23, 24, 22, .96);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.wordmark { text-decoration: none; text-transform: uppercase; letter-spacing: .15em; font-size: .88rem; }
nav { display: flex; gap: 1.8rem; }
nav a { text-decoration: none; font-family: Arial, sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
nav a:hover, nav a:focus { color: #e2c38d; }
.nav-toggle { display: none; color: white; background: transparent; border: 1px solid rgba(255,255,255,.4); padding: .35rem .65rem; }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(300px, 430px);
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.5rem, 8vw, 9rem);
  background: var(--cream);
}
.hero-copy { max-width: 900px; }
.eyebrow { margin: 0 0 1rem; color: #87642f; font-family: Arial, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-weight: 400; line-height: 1.08; }
h1 { margin-bottom: 1.6rem; font-size: clamp(2.7rem, 5vw, 5.3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.9rem, 3vw, 3rem); }
.hero-intro { max-width: 690px; color: #4e4f4a; font-family: Arial, sans-serif; font-size: .78rem; }
.text-link { display: inline-block; margin-top: 1rem; font-family: Arial, sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.portrait-wrap { margin: 0; justify-self: start; position: relative; width: min(100%, 430px); }
.portrait-wrap::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); }
.portrait-wrap img { position: relative; width: 100%; height: auto; filter: saturate(.78) contrast(1.04); }

.works { padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 8rem); background: #dcd9d1; }
.section-heading { display: grid; grid-template-columns: .35fr 1.65fr; gap: 2rem; margin-bottom: 4rem; }
.section-heading h2 { max-width: none; font-size: clamp(2.2rem, 3.3vw, 3.8rem); white-space: nowrap; }
.book { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(2.5rem, 8vw, 8rem); margin: 0 auto 3rem; padding: clamp(2rem, 6vw, 6rem); max-width: 1400px; }
.book:nth-of-type(even) .cover-frame { order: 2; }
.cover-frame { width: 100%; max-width: 390px; justify-self: center; box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.cover-frame img { width: 100%; height: auto; }
.book-copy { max-width: 650px; }
.book-copy p { max-width: 580px; }
.book-kicker { color: inherit; opacity: .72; font-family: Arial, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.book-note { opacity: .8; font-style: italic; }
.book-dark { color: #f4efe5; background: #171816; }
.book-light,
.book-architecture {
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.book-light {
  background: #eee3c8;
}
.book-light .book-copy,
.book-architecture .book-copy { max-width: 720px; }
.book-light .book-copy p,
.book-architecture .book-copy p { max-width: 680px; }
.book-mist { color: #f4f1e9; background: #3b4141; }
.book-architecture { background: #cbd3df; }
.button { display: inline-block; margin-top: .8rem; padding: .8rem 1.15rem; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; font-family: Arial, sans-serif; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.button:hover, .button:focus { transform: translateY(-1px); box-shadow: 0 5px 0 rgba(0,0,0,.14); }
.button-light, .book-mist .button { color: white; border-color: rgba(255,255,255,.7); }

.screenwriting { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(3rem, 9vw, 10rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 8vw, 9rem); background: #22231f; color: #f5f0e7; }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-content: center; }
.screen-grid h3 { font-size: 1.6rem; }
.screen-grid p { color: #c8c5bd; font-size: .95rem; }
.screen-grid .recognition {
  margin-top: 1.25rem;
  padding: .9rem 0 .15rem;
  color: #e2c38d;
  border-top: 1px solid rgba(182, 138, 72, .55);
  font-family: Arial, sans-serif;
  font-size: .78rem;
  letter-spacing: .055em;
  line-height: 1.45;
  text-transform: uppercase;
}
.recognition strong,
.recognition span { display: block; }
.recognition span { margin-top: .25rem; color: #c8c5bd; font-size: .7rem; letter-spacing: .035em; }
.rule { display: block; width: 45px; height: 1px; margin-bottom: 1.5rem; background: var(--gold); }

.about { display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 11vw, 12rem); background: var(--cream); }
.about-copy { max-width: 800px; }
.about-copy > p { font-size: 1.15rem; }
.other-works { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 9vw, 10rem); background: #c9bca2; }
.contact-copy { max-width: 520px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; max-width: 680px; }
label { margin-top: .6rem; font-family: Arial, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea { width: 100%; padding: .75rem .2rem; border: 0; border-bottom: 1px solid rgba(23,24,22,.55); border-radius: 0; background: transparent; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(23,24,22,.4); outline-offset: 3px; }
label[for="subject"], #subject, label[for="message"], #message, form .button, .form-note { grid-column: 1 / -1; }
textarea { resize: vertical; }
.button-dark { width: fit-content; background: var(--ink); color: white; }
.form-note { margin: .4rem 0 0; font-size: .85rem; }

footer { display: flex; justify-content: space-between; padding: 1.3rem clamp(1.5rem, 5vw, 5rem); background: #171816; color: #c8c5bd; font-family: Arial, sans-serif; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
footer a { text-decoration: none; }

@media (max-width: 800px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1.2rem 1.5rem; background: #171816; }
  nav.open { display: flex; }
  .hero, .book, .screenwriting, .about, .contact, .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { white-space: normal; }
  .hero { padding-top: 4rem; }
  .portrait-wrap { width: min(80%, 300px); }
  .book:nth-of-type(even) .cover-frame { order: 0; }
  .book, .book-light { grid-template-columns: 1fr; }
  .book { padding: 2rem 1.5rem 3rem; }
  .cover-frame { max-width: 260px; }
  .screen-grid { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
  form > * { grid-column: 1 !important; }
  footer { gap: 1rem; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button:hover { transform: none; } }
