/* Firebird Holdings — shared styles. Colours taken from the logo. */
:root {
  --ink: #16181d;
  --ink-2: #2a2d34;
  --text: #3b3f47;
  --muted: #6b7079;
  --line: #e4e0d8;
  --ivory: #f7f4ee;
  --white: #ffffff;
  --gold: #c99357;
  --gold-deep: #9c6b33;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-block;
  font: 600 12px/1.4 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand span { font: 400 17px/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.site-nav { display: flex; gap: 32px; }
.site-nav a {
  font: 500 13px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* Hero */
.hero { background: var(--ink); color: #d9d6cf; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 64px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; margin: 18px 0 24px; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.005em; }
.hero p { margin: 0 0 18px; font-size: 18px; max-width: 36em; }
.hero p.lead { font-size: 20px; color: #ece8e0; }
.hero-logo { justify-self: center; width: 100%; max-width: 380px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-block;
  font: 600 13px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 26px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: #ddb07c; border-color: #ddb07c; }
.btn.outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.outline:hover { border-color: var(--gold); color: var(--gold); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }

/* Section frame */
.section { padding: 96px 0; }
.section.ivory { background: var(--ivory); }
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head h2 { margin: 12px 0 14px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }

/* Three disciplines */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 40px 40px 8px 0; }
.pillar + .pillar { padding-left: 40px; border-left: 1px solid var(--line); }
.pillar .num { font: 400 15px/1 var(--serif); color: var(--gold-deep); letter-spacing: .1em; }
.pillar h3 { margin: 14px 0 12px; font-size: 26px; }
.pillar p { margin: 0; }

/* Companies */
.companies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.company {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.company:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 24, 29, .10); }
.company .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 200px;
  padding: 32px 36px;
  border-bottom: 1px solid var(--line);
}
.company .logo img { max-height: 76px; width: auto; max-width: 100%; }
.company .logo.black { background: #000; border-bottom-color: #000; }
.company .logo .sub { font: 600 13px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); padding-left: .5em; }
.company .body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.company .sector { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.company h3 { margin: 8px 0 10px; font-size: 26px; }
.company p { margin: 0 0 22px; }
.company .links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: auto; }
.company .visit {
  text-decoration: none;
  font: 600 13px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.company .visit::after { content: "  \2192"; color: var(--gold-deep); }

/* Publishing teaser */
.publishing { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.publishing .section-head { margin-bottom: 0; }
.stats { display: flex; gap: 48px; margin: 28px 0 34px; padding: 0; list-style: none; }
.stats b { display: block; font: 400 40px/1 var(--serif); color: var(--ink); }
.stats span { font-size: 14px; color: var(--muted); }
.cover-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: end; }
.cover-row a { display: block; transition: transform .25s ease; }
.cover-row a:nth-child(even) { transform: translateY(-22px); }
.cover-row a:hover { transform: translateY(-30px); }
.cover-row img { width: 100%; box-shadow: 0 14px 30px rgba(22, 24, 29, .22); }

/* Contact */
.contact-band { background: var(--ivory); border-top: 1px solid var(--line); }
.contact-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.contact-band h2 { margin: 10px 0 10px; font-size: clamp(30px, 3.4vw, 40px); }
.contact-band p { margin: 0; max-width: 34em; color: var(--muted); font-size: 18px; }
.contact-band .btn { text-transform: none; letter-spacing: .02em; font-size: 16px; }

/* Footer */
.site-footer { background: var(--ink); color: #a9a59d; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.site-footer img { width: 170px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer strong { color: #fff; font-weight: 600; }
.site-footer address a { color: var(--gold); text-decoration: none; }
.site-footer address a:hover { text-decoration: underline; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.site-footer nav a { text-decoration: none; color: #ddd8cf; }
.site-footer nav a:hover { color: var(--gold); }

/* Books page */
.page-hero { background: var(--ink); color: #d9d6cf; }
.page-hero .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; margin: 14px 0 14px; font-size: clamp(36px, 4.4vw, 50px); line-height: 1.1; }
.page-hero p { margin: 0; max-width: 36em; font-size: 18px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero img { width: 150px; flex: none; }

.author-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.book-feature { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; padding: 32px; background: var(--white); border: 1px solid var(--line); }
.book-feature img { width: 100%; aspect-ratio: 386 / 500; object-fit: contain; background: #fff; box-shadow: 0 12px 28px rgba(22, 24, 29, .22); }
.book-feature h3 { margin: 8px 0 6px; font-size: 25px; line-height: 1.2; }
.book-feature .credit { margin: 0 0 12px; font-size: 15px; color: var(--muted); font-style: italic; }
.book-feature p { margin: 0 0 20px; font-size: 16px; }
.book-feature .btn { padding: 13px 18px; font-size: 12px; margin: 0 8px 8px 0; }

.catalogue { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; margin: 0; padding: 0; list-style: none; }
.catalogue a { display: block; text-decoration: none; }
.catalogue .cover { aspect-ratio: 386 / 500; overflow: hidden; background: var(--ivory); box-shadow: 0 10px 24px rgba(22, 24, 29, .16); transition: transform .25s ease, box-shadow .25s ease; }
.catalogue .cover img { width: 100%; height: 100%; object-fit: cover; }
.catalogue a:hover .cover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(22, 24, 29, .24); }
.catalogue .theme { display: block; margin: 18px 0 4px; font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.catalogue h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
.catalogue .amz { font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.catalogue a:hover .amz { color: var(--ink); }
.small-note { margin: 56px 0 0; font-size: 14px; color: var(--muted); }

/* Stephen Hughes books: covers sit on the same grid as the colouring books */
.sh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; align-items: center; }
.sh-grid .cover { display: block; aspect-ratio: 386 / 500; background: #fff; box-shadow: 0 10px 24px rgba(22, 24, 29, .16); transition: transform .25s ease, box-shadow .25s ease; }
.sh-grid .cover img { width: 100%; height: 100%; object-fit: contain; }
.sh-grid .cover:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(22, 24, 29, .24); }
.sh-text h3 { margin: 8px 0 6px; font-size: 23px; line-height: 1.2; }
.sh-text .credit { margin: 0 0 10px; font-size: 15px; color: var(--muted); font-style: italic; }
.sh-text p { margin: 0 0 18px; font-size: 16px; }
.sh-text .btn { padding: 12px 16px; font-size: 12px; margin: 0 8px 8px 0; }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap, .publishing { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .companies { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .hero-logo { max-width: 260px; grid-row: 1; justify-self: start; }
  .author-books { grid-template-columns: minmax(0, 1fr); }
  .catalogue { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer nav { flex-direction: row; gap: 24px; text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 40px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 12px; letter-spacing: .08em; }
  .site-nav .opt { display: none; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero-logo { max-width: 180px; }
  .hero p.lead { font-size: 18px; }
  .section { padding: 64px 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 28px 0 24px; border-left: 0; border-bottom: 1px solid var(--line); }
  .companies { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .company .logo { height: 150px; padding: 28px; }
  .company .logo img { max-height: 58px; }
  .company .body { padding: 24px; }
  .stats { gap: 32px; }
  .page-hero img { display: none; }
  .book-feature { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px; }
  .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 18px; }
  .catalogue h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Publishing: two separate lines, never mixed */
.pub-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pub-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.pub-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 24, 29, .10); }
.pub-covers { display: flex; justify-content: center; align-items: center; gap: 22px; min-height: 270px; padding: 34px 32px; background: var(--ivory); }
.pub-covers img { width: 128px; aspect-ratio: 386 / 500; object-fit: contain; background: #fff; box-shadow: 0 12px 26px rgba(22, 24, 29, .25); }
.pub-body { display: flex; flex-direction: column; flex: 1; padding: 30px 36px 32px; }
.pub-body h3 { margin: 8px 0 10px; font-size: 27px; }
.pub-body p { margin: 0 0 22px; }
.pub-body .visit { margin-top: auto; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.pub-body .visit::after { content: "  \2192"; color: var(--gold-deep); }
@media (max-width: 860px) {
  .pub-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pub-covers { min-height: 0; gap: 12px; padding: 26px 20px; }
  .pub-covers img { width: 96px; }
  .pub-body { padding: 24px; }
}

