/* Authors Equity marketing site — faithful rebuild of the Squarespace
   original (see authorsequity.com, "Website and brand design by Milos
   Covic"). Same brand yellow, same Tiempos Fine headings (self-hosted here
   instead of Squarespace's asset host), same plain-Arial body/nav. One
   shared stylesheet across every page rather than Squarespace's per-page
   generated CSS, since there's no visual variation between pages to justify
   duplicating it.

   Sizing/spacing values below were measured directly off the live site
   (computed styles + bounding rects at a 1440-1500px viewport), not
   estimated, after an initial pass turned out to guess wrong in several
   places (accordion size, contact page's font, legal page headings, logo
   asset/size, nav spacing). */

@font-face {
  font-family: 'Tiempos Fine';
  src: url('/assets/fonts/tiempos-fine-light.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --yellow: #FFCF00;
  --ink: #000000;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19.2px;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Tiempos Fine', Georgia, serif;
  font-weight: 400;
  margin: 0;
}

a { color: inherit; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  gap: 24px;
  flex-wrap: wrap;
}
/* The real header logo is a different export than the plain black mark —
   a square (1500x1500) canvas with the brand yellow baked into the
   background, meant to sit flush on a yellow page (see assets/images) —
   rendered at 72x72 on the live site. */
header .logo img { display: block; width: 72px; height: 72px; }
header nav { display: flex; gap: 12px; flex-wrap: wrap; }
header nav a { text-decoration: none; }
header nav a:hover, header nav a.active { text-decoration: underline; }

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 48px 120px;
}

/* Approach / Principles-intro / Contact style: one big serif statement. */
.statement {
  font-family: 'Tiempos Fine', Georgia, serif;
  font-size: 32px;
  line-height: 1.248;
  font-weight: 400;
}
.statement a { text-decoration: underline; }

h1.page-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}

/* Principles accordion */
.accordion-item { border-top: 1px solid var(--ink); }
.accordion-item:last-child { border-bottom: 1px solid var(--ink); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 30px 0;
  font-family: 'Tiempos Fine', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.accordion-trigger .sign { font-family: Arial, Helvetica, sans-serif; font-size: 24px; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-panel p { margin: 0 0 30px; font-size: 19.2px; }
.accordion-item.open .accordion-panel { max-height: 300px; }

/* Leadership list — one paragraph, <br> between names (matches the
   original's markup: not a list of separate blocks with their own margins,
   just line-height doing the spacing). */
.leadership-list { margin-top: 32px; font-size: 19.2px; }
.leadership-list b { font-weight: 700; }

/* Contact page — the Q&A-style lines are the same big serif "statement"
   treatment as Approach/Leadership, not small body text. */
.contact-block .statement { margin-bottom: 40px; }
.contact-block .statement a { text-decoration: underline; }
.contact-block .note { margin-top: 45px; }
.contact-block .note p { margin: 0 0 45px; }
.contact-block .note a { text-decoration: underline; }

/* Home page */
.hero { text-align: center; padding: 60px 24px 0; }
.hero img { max-width: 582px; width: 100%; height: auto; margin: 0 auto; display: block; }
.signup { text-align: center; margin-top: 60px; padding-bottom: 40px; }
.signup p { font-weight: 700; font-size: 19.2px; margin-bottom: 14px; }
.signup form { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.signup input[type=email] {
  font: inherit; font-size: 19.2px; padding: 22.4px 32px; border: 1px solid var(--ink);
  background: #fff; min-width: 220px;
}
.signup button {
  font: inherit; font-size: 11.7px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 22.4px 32px; background: var(--ink); color: var(--yellow); border: 1px solid var(--ink); cursor: pointer;
}
.signup button:hover { background: #1a1a1a; }

/* Legal pages — the original has NO heading styling here at all: title and
   section labels are just bold text inline in the same plain paragraph
   flow, not big serif headings like the rest of the site. */
.legal p { font-size: 19.2px; margin: 0 0 19.2px; }
.legal p strong { font-weight: 700; }

footer {
  text-align: center;
  padding: 40px 24px 60px;
  font-size: 19.2px;
}
footer p { margin: 0 0 45px; }
footer .credit { color: rgba(0,0,0,.55); }
footer a { text-decoration: underline; }

@media (max-width: 640px) {
  header { padding: 24px; }
  header nav { gap: 10px; font-size: 15px; }
  main { padding: 32px 24px 90px; }
  .statement { font-size: 24px; }
  h1.page-title { font-size: 34px; }
  .accordion-trigger { font-size: 24px; }
}
