/* zainabraza.com base styles. Page layout lives inline in each page (ported 1:1 from the approved mockup). */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/playfair-display-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/playfair-display-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/playfair-display-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/playfair-display-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jost-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Mrs Saint Delafield'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/mrs-saint-delafield-latin-400-normal.woff2') format('woff2'); }

:root { --cream: #F3EDE6; --blush: #EADFD5; --maroon: #4A1418; --brown: #2A1D19; --taupe: #8A6A5C; --body: #4B3B36; --muted: #6E5A52; --line: #DCCFC3; --error: #B7312C; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--body); font-family: Jost, system-ui, sans-serif; font-weight: 300; }
body.dark { background: var(--brown); }
img { max-width: 100%; }
a { color: var(--maroon); }
a:hover { color: var(--brown); }
body.dark a { color: var(--cream); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
body.dark input:focus-visible, body.dark button:focus-visible { outline-color: #E3CBBE; }
button:disabled { opacity: 0.6; cursor: progress; }

/* Spam honeypot: hidden from people and screen readers */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Form feedback */
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; font-size: 15px; background: #F8E6E4; color: var(--error); border-left: 3px solid var(--error); }
.form-status.ok { background: #EAF1E6; color: #2F5130; border-left-color: #2F5130; }
.field-error { color: var(--error); font-size: 14px; }
body.dark .field-error { color: #F1B3AE; }
input[aria-invalid="true"] { border-color: var(--error) !important; }

/* Long-form pages (legal) and server messages */
.prose-page, .message-page { max-width: 760px; margin: 0 auto; padding: 32px 24px 96px; font-size: 17px; line-height: 1.7; }
.wordmark { display: inline-block; font-family: 'Playfair Display', serif; font-size: 22px; color: var(--maroon); letter-spacing: 0.04em; text-decoration: none; margin-bottom: 40px; }
.prose-page h1, .message-page h1 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(36px, 6vw, 56px); line-height: 1.05; color: var(--maroon); margin: 0 0 16px; }
.prose-page h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 28px; color: var(--maroon); margin: 48px 0 8px; }
.prose-page strong { font-weight: 500; }
.prose-page table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose-page th, .prose-page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose-page th { background: var(--taupe); color: #fff; font-weight: 400; }
.prose-page blockquote { margin: 24px 0; padding: 16px 20px; background: var(--blush); border: 0; }
.site-footer { background: var(--brown); color: #C9AE9F; padding: 40px 24px; font-size: 14px; }
.site-footer .inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer a { color: var(--blush); margin-right: 20px; }

/* Small screens: the mockup's roomy desktop padding is too wide for phones */
@media (max-width: 600px) {
  section[style*="padding: 96px 24px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  div[style*="padding: 72px 48px"] { padding: 56px 24px !important; }
  div[style*="padding: 88px 40px 88px 0"] { padding: 56px 0 !important; }
  div[style*="padding: 72px 48px 72px 24px"] { padding: 56px 24px !important; }
  div[style*="padding: 44px"] { padding: 28px !important; }
  div[style*="padding: 32px"] { padding: 22px !important; }
}
