/* Dana I. Halawi - author site. Cream paper, ink text, deep red accent, serif type. Mirrors the approved mockups (2026-09-15). */
:root {
  --paper: #f5efe6;
  --paper-2: #efe7dc;
  --ink: #1c1a18;
  --ink-soft: #4a4642;
  --red: #8f1d2c;
  --red-dark: #74161f;
  --line: rgba(28, 26, 24, 0.14);
  --footer: #161514;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* header */
.site-header { padding: 26px 0 18px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { line-height: 1.05; }
.brand .name { font-family: "Playfair Display", Georgia, serif; font-size: 30px; letter-spacing: 0.14em; text-transform: uppercase; }
.brand .role { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; gap: 34px; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; }
.nav a { padding-bottom: 6px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a.active { color: var(--red); border-bottom-color: var(--red); }

/* shared bits */
.rule { width: 56px; height: 2px; background: var(--red); margin-bottom: 26px; }
.eyebrow { font-size: 13px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5.6vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
.lead { font-size: 22px; color: var(--ink-soft); max-width: 34ch; margin: 24px 0 0; }
p { margin: 0 0 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 30px; margin-top: 26px;
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  background: var(--red); color: #fff; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.btn.ghost:hover { background: rgba(143, 29, 44, 0.06); }
.btn .arrow { font-family: Georgia, serif; }

/* hero */
.hero { padding: 30px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.hero-text { padding-bottom: 56px; }
.hero-photo { position: relative; aspect-ratio: 896 / 1088; max-height: 620px; overflow: hidden; }   /* 2026-09-16: the studio headshot is a 4:5 portrait */
.hero-photo img, .hero-photo .placeholder {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;   /* portrait headshot: keep the face and the crossed arms, fade only the outer edge */
  -webkit-mask-image: linear-gradient(to left, #000 86%, transparent 100%);
          mask-image: linear-gradient(to left, #000 86%, transparent 100%);
}
.placeholder {
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(160deg, #e6dccf, #d9ccbb); color: var(--ink-soft);
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; padding: 24px;
}

/* book section */
.book { background: var(--paper-2); padding: 70px 0; }
.book .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.cover { position: relative; width: min(320px, 80%); margin: 0 auto; aspect-ratio: 2 / 3; box-shadow: 18px 24px 40px rgba(0,0,0,.28); transform: rotate(-4deg); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-art {
  width: 100%; height: 100%; padding: 28px 22px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(ellipse at 50% 85%, #6a4a3a 0%, #2a1e1a 45%, #120d0c 100%);
  color: #f3ebe0; text-align: center; font-family: "Playfair Display", Georgia, serif;
}
.cover-art .author { font-size: 15px; letter-spacing: 0.2em; }
.cover-art .title { font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.cover-art .title em { display: block; font-style: normal; color: #c8283a; font-size: 44px; }
.cover-art .sub { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #d9cfc2; }
.book h2, .book-text h2 { text-transform: uppercase; font-size: clamp(34px, 4vw, 50px); }
.book h2 em, .book-text h2 em { font-style: normal; color: var(--red); }
.book .subtitle, .book-text .subtitle { font-size: 16px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 26px; line-height: 1.7; }

/* about teaser / text pages */
.section { padding: 70px 0; }
.section p { max-width: 62ch; }
.page-head { padding: 40px 0 10px; }
.text-cols { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 62ch; }
hr.thin { border: 0; border-top: 1px solid var(--red); opacity: .6; margin: 46px 0; max-width: var(--max); }

/* books page */
.book-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; padding: 30px 0 60px; }
.buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-size: 21px; }
.contact-list svg { width: 26px; height: 26px; }
.socials { display: flex; gap: 34px; margin-top: 36px; }
.socials a { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; }
.socials svg { width: 26px; height: 26px; }

/* footer */
.site-footer { background: var(--footer); color: #e9e2d8; margin-top: 30px; }
.site-footer .top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 40px 0 26px; }
.site-footer .brand .name { font-size: 22px; }
.site-footer .brand .role { color: #b9b1a6; }
.site-footer .icons { display: flex; gap: 26px; align-items: center; }
.site-footer .icons svg { width: 24px; height: 24px; fill: #e9e2d8; }
.site-footer .icons a:hover svg { fill: #fff; }
.site-footer .divider { width: 1px; height: 26px; background: rgba(255,255,255,.25); margin: 0 6px; }
.site-footer .nav { font-size: 12px; }
.site-footer .nav a { color: #e9e2d8; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #b9b1a6; }
.site-footer .bottom .motto { letter-spacing: 0.26em; text-transform: uppercase; }

/* small screens */
@media (max-width: 860px) {
  body { font-size: 18px; }
  .nav { gap: 20px; font-size: 12px; }
  .hero .wrap, .book .wrap, .book-row { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 20px; }
  .hero-photo { max-height: none; }
  .hero-photo img, .hero-photo .placeholder { -webkit-mask-image: none; mask-image: none; }
  .cover { transform: none; margin: 0 auto 30px; }
  .site-footer .top { flex-direction: column; align-items: flex-start; }
  .site-footer .icons, .site-footer .nav { flex-wrap: wrap; row-gap: 14px; }   /* phone: the footer links wrap instead of running off the edge */
  .site-footer .divider { display: none; }
}
