/* fabriziacosta.com — replica of the live design (see DESIGN.md, decision #21)
   Fonts: Lora (logo) · Questrial (hero) · Oswald (titles) · Lato (body) · Merriweather (quotes)
   Palette: rust #a85f2e · quote #c2743b · text #515151 */

:root {
  --rust: #a85f2e;
  --rust-dark: #8d5024;
  --rust-light: #e0915c;
  --quote: #c2743b;
  --text: #515151;
  --text-soft: #8e8e8e;
  --teal: #76b3b8;
  --white: #ffffff;
  --band-light: #f9f9f9;
  --rule: #d0d0d0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
.container { max-width: 960px; margin: 0 auto; padding: 0 26px; }

/* ---------- header (matches Weebly theme: 52px top pad, side rules on nav) ---------- */
header.site { text-align: center; padding: 52px 0 0; }
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 40px; width: auto; margin: 0 auto; }
nav.main {
  margin: 26px auto 0; padding-bottom: 40px; max-width: 960px;
  display: flex; justify-content: center; align-items: center; gap: 0;
}
nav.main::before, nav.main::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}
nav.main::before { margin-right: 15px; }
nav.main::after { margin-left: 15px; }
nav.main a {
  font-family: 'Raleway', sans-serif;
  font-size: 13px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-soft); text-decoration: none; padding: 10px 14px;
}
nav.main a.active, nav.main a:hover { color: var(--rust); }

/* ---------- hero band ---------- */
.hero {
  background: var(--rust);
  color: var(--white);
}
.hero .inner {
  max-width: 920px; margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: auto 420px; gap: 30px;
  align-items: center; justify-content: center;
}
.hero .inner > div:first-child { width: 470px; padding-top: 72px; }
.hero h1 {
  font-family: 'Jost', sans-serif; font-weight: 425;
  font-size: 56px; line-height: 1.17; letter-spacing: -0.024em; white-space: nowrap;
}
.hero .hero-sub {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 25px; line-height: 1.4; color: rgba(255,255,255,0.95);
  margin-top: 24px;
}
.hero img.fmark {
  height: 52px; width: auto; margin-top: 64px;
  filter: brightness(0) invert(1); opacity: 0.45;
}
@media (max-width: 820px) {
  .hero .inner > div:first-child { width: auto; padding-top: 0; }
  .hero h1 { white-space: normal; font-size: clamp(34px, 8vw, 56px); }
}
.hero .photo img { width: 100%; max-width: 420px; }

/* ---------- editorial rows ---------- */
section.row { padding: clamp(56px, 8vw, 96px) 0; }
section.row.band { background: var(--band-light); }
.row .inner {
  max-width: 960px; margin: 0 auto; padding: 0 26px;
  display: grid; grid-template-columns: 40fr 58fr; gap: 54px;
}
.rail { text-align: right; }
.rail h1,
.rail h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--rust);
  text-transform: uppercase;
}
.rail .aside {
  font-size: 18px; font-style: italic; color: var(--text-soft); margin-top: 14px; line-height: 1.5;
}
.content p { margin-bottom: 18px; max-width: 60ch; }
.content h3 {
  font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 32px;
  color: var(--rust); margin: 30px 0 10px; letter-spacing: 0.01em;
}
.content h3:first-child { margin-top: 10px; }
.content em.tasty { font-style: italic; }

/* pull quote */
.pull {
  font-family: 'Merriweather', serif; font-style: italic; font-weight: 400;
  color: var(--quote); font-size: 24px; line-height: 1.5;
  border-left: 5px solid var(--rule); margin: 30px 0 6px -25px; padding-left: 20px; max-width: 46ch;
}
.pull strong { font-weight: 700; }
.pull.big { font-size: 24px; }

/* ---------- triptych ---------- */
.triptych { padding: 0; margin-top: -32px; margin-bottom: 8px; }
.triptych img { max-width: min(960px, 100%); margin: 0 auto; padding: 0 26px; }

/* ---------- start cards ---------- */
.offers .offer { margin-bottom: 44px; }
.offers .offer:last-child { margin-bottom: 0; }
.offer h3 { margin-top: 0; }
.offer .kicker { font-weight: 700; color: var(--text); }
.btn {
  display: inline-block; margin-top: 14px;
  background: #dea227; color: var(--white); border: none;
  font-size: 16px; letter-spacing: 0; text-transform: none;
  padding: 12px 26px; text-decoration: none;
  transition: background 0.25s ease;
}
.btn:hover { background: #c88a0c; color: var(--white); }
.btn.on-rust { border-color: var(--white); color: var(--white); }
.btn.on-rust:hover { background: var(--white); color: var(--rust); }
.offer.book { position: relative; }
.offer.book img.bookimg { position: absolute; left: -330px; top: 0; height: 290px; width: auto; }
@media (max-width: 820px) {
  .offer.book { min-height: 0; display: block; }
  .offer.book img.bookimg { position: static; width: 240px; margin-bottom: 16px; }
}

/* ---------- wide bar quote (The gap between...) ---------- */
.pull-wide {
  max-width: 960px; margin: 8px auto clamp(40px, 6vw, 64px); padding: 0 26px 0 96px;
}
.pull-wide .pull { font-size: 26px; max-width: none; margin: 0; }
.pull-wide.pw-right { padding: 0 26px; }
.pull-wide.pw-right .pull { width: fit-content; margin-left: auto; }

/* ---------- bio (live layout: no rail, headline + text left / photo right) ---------- */
.bio-sec { padding: clamp(56px, 8vw, 96px) 0; }
.bio-title {
  font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 32px;
  color: var(--rust); margin-bottom: 34px;
}
.bio-grid { display: grid; grid-template-columns: 58fr 38fr; gap: 44px; align-items: start; }
.bio-grid p { margin-bottom: 20px; }
.bio-grid > div:first-child p:last-child { margin-bottom: 0; }
.bio-photo { margin-top: 5px; }
.bio-photo img { width: 100%; height: auto; display: block; }
.bio-side .credit { font-size: 14px; color: var(--text-soft); text-align: right; margin-top: 10px; }
.bio-side .pull { margin: 24px 6px 0 25px; font-size: 24px; }
a.more { color: var(--rust); text-decoration: none; font-weight: 700; }
a.more:hover { text-decoration: underline; }

/* ---------- what next ---------- */
.nextlist { list-style: none; }
.nextlist li { margin-bottom: 14px; font-size: 18px; }
.nextlist a { color: var(--rust-light); text-decoration: none; }
.nextlist a:hover { text-decoration: underline; }
/* ---------- newsletter (live style: Oswald headline + gold inline link) ---------- */
.nl { padding: clamp(40px, 6vw, 72px) 0; }
.nl h2.nl-line {
  font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 30px;
  color: var(--rust); line-height: 1.45; margin-bottom: 14px; max-width: none;
}
.nl h2.nl-line a { color: var(--rust-light); text-decoration: none; }
.nl h2.nl-line a:hover { color: var(--rust); }
.nl p { max-width: 70ch; }

/* ---------- love gossip (live style: centered grey slideshow) ---------- */
.gossip-section { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
hr.rule-line { border: none; height: 1px; background: var(--rule); max-width: 908px; margin: 0 auto; }
.gossip-slides { position: relative; min-height: 320px; }
.gossip-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.gossip-slide.on { opacity: 1; }
.gossip-slide blockquote {
  font-family: 'Questrial', sans-serif; color: #6b6660;
  font-size: 23px; line-height: 1.55; max-width: 46ch; margin: 0 auto 0;
}
.gossip-slide .rule { width: 280px; height: 1px; background: var(--rule); margin: 26px auto 18px; }
.gossip-slide cite {
  font-style: normal; font-family: 'Lato', sans-serif; font-size: 14px;
  color: var(--rust); letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- footer (live: grey band, 4 columns, big F) ---------- */
footer.site { background: var(--band-light); padding: 56px 0 64px; margin-top: 48px; }
.footer-grid {
  max-width: 960px; margin: 0 auto; padding: 0 26px;
  display: grid; grid-template-columns: 1.2fr 1.2fr 1.2fr 0.8fr; gap: 32px; align-items: start;
}
footer.site p { font-size: 14px; color: var(--text-soft); line-height: 1.7; margin-bottom: 0; }
footer.site .socials { margin-top: 18px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
footer.site .socials a { color: var(--text-soft); font-size: 13px; text-decoration: none; }
footer.site .socials a:hover { color: var(--rust); }
footer.site .socials a svg {
  width: 20px; height: 20px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
footer.site .steal { font-style: italic; }
footer.site .nocookies { margin-top: 0; }
footer.site .nocookies a { color: var(--text-soft); text-decoration: none; }
footer.site .nocookies a:hover { color: var(--rust); }
footer.site .nocookies em { font-style: italic; }
footer.site .f-logo { justify-self: end; }
footer.site .f-logo img { height: 150px; width: auto; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } .footer-grid .f-logo { justify-self: start; } }

/* ---------- inner pages (same tokens, no new patterns) ---------- */
.btn { font-family: 'Lato', sans-serif; cursor: pointer; }

/* forms (Netlify-ready) */
.field {
  display: block; width: 100%;
  font-family: 'Lato', sans-serif; font-size: 16px; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--rule); background: var(--white);
  border-radius: 0; -webkit-appearance: none; appearance: none;
  margin-bottom: 14px;
}
.field:focus { outline: none; border-color: var(--rust-light); }
textarea.field { min-height: 150px; resize: vertical; }
select.field {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%),
                    linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.flabel { display: block; font-size: 14px; color: var(--text-soft); margin-bottom: 6px; }
.form-stack { max-width: 60ch; }
.form-inline { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; max-width: 60ch; }
.form-inline .field { flex: 1 1 240px; width: auto; margin-bottom: 0; }
.form-inline .btn { margin-top: 0; flex: 0 0 auto; }
.hp { display: none; }

/* plain fact list (About, Speaking formats) */
.facts { list-style: none; margin: 8px 0 18px; }
.facts li { margin-bottom: 12px; padding-left: 24px; position: relative; }
.facts li::before { content: "–"; position: absolute; left: 0; color: var(--rust); }

/* responsive video (Speaking showreel) */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* click-to-play facade: local poster + play button, iframe injected on click */
.vplay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; display: block; }
.vplay img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vplay::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--rust); opacity: 0.92;
  transition: background 0.25s ease;
}
.vplay::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-38%, -50%);
  border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--white);
}
.vplay:hover::before { background: var(--rust-dark); }

/* artwork inside a rail (book render) or content column (brand graphics) */
.rail .railart { margin: 34px 0 0 auto; width: min(100%, 300px); }
.content .art { margin: 26px 0 10px; width: 100%; max-width: 460px; }

/* Amazon stars (Book) */
.stars { color: #dea227; letter-spacing: 3px; font-size: 20px; vertical-align: -1px; }

/* prominent email line (Contact) — echoes the newsletter headline treatment */
.bigmail { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 30px; margin: 8px 0 26px; }
.bigmail a { color: var(--rust-light); text-decoration: none; }
.bigmail a:hover { color: var(--rust); }

/* in-copy text links (rust-light, as on live) */
.content a.tlink, .bio-grid a.tlink { color: var(--rust-light); text-decoration: none; }
.content a.tlink:hover, .bio-grid a.tlink:hover { text-decoration: underline; }
.quiet { font-style: italic; color: var(--text-soft); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  nav.main { flex-wrap: wrap; padding-bottom: 28px; }
  nav.main::before, nav.main::after { display: none; }
  nav.main a { padding: 6px 10px; }
  .hero .inner { grid-template-columns: 1fr; }
  .hero .photo img { margin: 0; }
  .row .inner { grid-template-columns: 1fr; }
  .rail { text-align: left; }
  .rail h1 br, .rail h2 br { display: none; }
  .rail .railart { margin-left: 0; }
  .bio .cols { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .pull-wide { padding-left: 26px; }
}
