/* Lindy Lewis Photography — site.css
   Visual system locked from Atelier mock */

:root {
  --paper: #FFFFFF;
  --type: #8E8E8E;
  --ink: #0A0A0A;
  --hairline: #E6E4E0;
  --muted: rgba(142,142,142,0.75);
  --line: rgba(142,142,142,0.2);
  --soft: #F3F3F3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--type);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.55; }

.site {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 0;
}

/* —— chrome —— */
header.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 36px 0 28px;
  border-bottom: 1px solid transparent;
}
.mark {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--type);
}
nav.primary {
  display: flex;
  gap: 36px;
}
nav.primary a {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--type);
  opacity: 1;
}

/* —— intro —— */
.intro {
  padding: 48px 0 32px;
  max-width: 32em;
}
.intro .eyebrow {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.intro p {
  margin: 0;
  color: rgba(142,142,142,0.9);
  font-size: 17px;
  line-height: 1.55;
}
.intro p + p { margin-top: 1em; }

/* —— featured —— */
.feature { margin: 0 0 72px; }
.feature figure { margin: 0; }
.feature img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--soft);
}
.feature figcaption {
  padding: 16px 2px 0;
}
.feature .cap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature .cap-row .title {
  color: var(--type);
  letter-spacing: 0.28em;
}
.feature .cap-text {
  margin: 12px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(142,142,142,0.9);
}
.feature .cap-meta {
  margin: 8px 0 0;
  font-family: Jost, system-ui, sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* —— work grid —— */
.work-label {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
  margin-bottom: 96px;
}
.grid figure { margin: 0; }
.grid a.card { display: block; }
.grid a.card:hover { opacity: 1; }
.grid a.card:hover img { opacity: 0.92; }
.grid .media {
  background: var(--soft);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.25s ease;
}
.grid figcaption {
  padding: 12px 2px 0;
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.grid .pending-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Jost, system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.grid .media { position: relative; }

/* —— letter —— */
.letter {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.letter h2 {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--type);
}
.letter p {
  margin: 0;
  max-width: 28em;
  color: rgba(142,142,142,0.9);
}
.letter form {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--type);
  max-width: 28em;
}
.letter input[type="email"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 18px;
  color: var(--type);
  outline: none;
}
.letter input::placeholder { color: var(--muted); }
.letter button {
  border: none;
  background: transparent;
  font-family: Jost, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 12px 0 12px 20px;
  cursor: pointer;
  color: var(--type);
}
.letter button:hover { opacity: 0.5; }
.letter .note {
  font-family: Jost, system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

/* —— footer —— */
footer.site-foot {
  padding: 48px 0 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
footer .brand {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
footer p {
  margin: 0;
  font-size: 16px;
  color: rgba(142,142,142,0.85);
  max-width: 22em;
}
footer .col h3 {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
footer .col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .col li { margin: 0 0 10px; }
footer .col a {
  font-family: Jost, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.legal {
  grid-column: 1 / -1;
  padding-top: 36px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-family: Jost, system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* —— page: photograph —— */
.photo-page { padding: 40px 0 72px; }
.photo-page .back {
  font-family: Jost, system-ui, sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 28px;
}
.photo-page figure { margin: 0 0 36px; }
.photo-page .frame img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--soft);
}
.photo-page .wall {
  max-width: 36em;
}
.photo-page .wall h1 {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--type);
  margin: 0 0 16px;
}
.photo-page .wall .body {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(142,142,142,0.95);
}
.photo-page .wall .meta {
  font-family: Jost, system-ui, sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.photo-page .pending-note {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  font-family: Jost, system-ui, sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* —— page: prose (about / contact / journal) —— */
.prose {
  padding: 48px 0 96px;
  max-width: 36em;
}
.prose .eyebrow {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.prose h1 {
  font-family: Jost, system-ui, sans-serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: var(--type);
}
.prose p {
  margin: 0 0 1.15em;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(142,142,142,0.95);
}
.prose a.email {
  font-family: Jost, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
}
.prose .quiet {
  font-family: Jost, system-ui, sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 28px;
}
.empty-state {
  border-top: 1px solid var(--hairline);
  padding-top: 36px;
  margin-top: 8px;
}
.empty-state p {
  margin: 0;
  max-width: 28em;
}

@media (max-width: 900px) {
  .site { padding: 0 24px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .letter { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  footer.site-foot { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  header.top { flex-direction: column; gap: 20px; align-items: flex-start; }
  nav.primary { gap: 22px; flex-wrap: wrap; }
  .grid { grid-template-columns: 1fr; }
  .intro { padding: 40px 0 32px; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— contact form —— */
.contact-form {
  display: grid;
  gap: 16px;
  max-width: 420px;
  margin: 36px 0 28px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line, rgba(142,142,142,0.2));
  background: transparent;
  color: var(--ink, #8E8E8E);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  padding: 10px 0;
  outline: none;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted, rgba(142,142,142,0.75)); }
.contact-form button {
  justify-self: start;
  margin-top: 8px;
  border: none;
  background: none;
  color: inherit;
  font-family: Jost, system-ui, sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}
.contact-form button:hover { opacity: 0.5; }
