/* TAPCo shareholder site – styles lifted from the Mailchimp shareholder email.
   Do not change colours or fonts here unless the email template changes too. */

:root {
  --navy: #3d5374;        /* masthead, buttons, accent bars */
  --navy-dark: #2e405c;   /* headings, bold text */
  --gold: #c9a55c;        /* rules and dividers */
  --gold-dark: #8a6d2f;   /* links, small caps labels, highlighted dates */
  --page: #ece7db;        /* page background */
  --stone: #f6f3ec;       /* panels */
  --rule: #ddd6c6;
  --text: #333333;
  --text-2: #4a4a44;
  --footer: #6b6b62;
  --white: #ffffff;
  --serif: Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  -webkit-font-smoothing: antialiased;
  background: var(--page);
  color: var(--text);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 26px;
  -webkit-text-size-adjust: 100%;
  padding: 0;
}

a { color: var(--gold-dark); }

/* ---- Page: full width, edge to edge. Text columns are capped inside .content. ---- */
.card {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: var(--white);
  overflow: hidden;
}

/* ---- Masthead (text, exactly as the sent shareholder email) ---- */
.masthead {
  background: var(--navy);
  padding: 32px 30px 24px;
  text-align: center;
}
.masthead .name {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: 2px;
  color: var(--white);
}
.masthead .gold-rule {
  width: 56px;
  border-top: 1px solid var(--gold);
  margin: 12px auto 10px;
}
.masthead .sub {
  font-family: var(--serif);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Hero photo (same crop as the shareholder email) ---- */
.hero { background: var(--white); }
.hero img {
  display: block;
  width: 100%;
  height: clamp(260px, 40vw, 640px);
  object-fit: cover;
  object-position: 60% 60%;
}

/* ---- Key notice panel (date, venue) ---- */
.notice {
  background: var(--stone);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 24px 30px;
  text-align: center;
}
.notice h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: normal;
  font-size: 23px;
  line-height: 29px;
  color: var(--navy-dark);
}
.notice .detail {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 23px;
  color: var(--text-2);
  padding-top: 8px;
}
.notice .detail strong { color: var(--gold-dark); }

/* ---- Content: two columns on wide screens, one column on phones ---- */
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
@media only screen and (min-width: 900px) {
  .content {
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
    column-gap: clamp(48px, 6vw, 120px);
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(48px, 5vw, 96px);
  }
  .content .body, .content .signoff { padding-left: 0; padding-right: 0; }
  .content .aside { padding: 40px 0 34px; }
  .content .callout-wrap { padding: 0; }
  .content .callout { position: sticky; top: 24px; }
  .masthead { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(48px, 5vw, 96px); text-align: left; }
  .masthead .gold-rule { width: 0; height: 30px; border-top: 0; border-left: 1px solid var(--gold); margin: 0 24px; }
  .masthead .sub { flex: 1 1 auto; }
  .notice { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; padding: 22px clamp(48px, 5vw, 96px); text-align: left; }
  .notice .detail { padding-top: 0; text-align: right; }
  .footer { padding-left: clamp(48px, 5vw, 96px); padding-right: clamp(48px, 5vw, 96px); }
}

/* ---- Body copy ---- */
.body {
  padding: 36px 42px 8px;
  max-width: 720px;
}
.body p { margin: 0 0 18px; }
.body strong, .body h2 { color: var(--navy-dark); }
.body h2 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 12px;
}

.label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-bottom: 10px;
}

/* ---- Document list ---- */
.docs { list-style: none; margin: 0 0 18px; padding: 0; }
.docs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.docs li:last-child { border-bottom: 1px solid var(--rule); }
.docs li:hover .title { color: var(--gold-dark); }
.docs .title {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 24px;
  color: var(--navy-dark);
}
.docs .meta {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 19px;
  color: var(--text-2);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 6px;
  white-space: nowrap;
}
.btn { transition: background .15s ease, transform .15s ease, box-shadow .15s ease; box-shadow: 0 2px 6px rgba(46,64,92,.18); }
.btn:hover, .btn:focus { background: var(--navy-dark); color: var(--white); box-shadow: 0 6px 16px rgba(46,64,92,.28); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn.block { display: block; text-align: center; margin: 0 0 12px; white-space: normal; }

/* ---- Callout box ---- */
.callout-wrap { padding: 0 42px 18px; }
.callout {
  background: var(--stone);
  border-left: 4px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
}
.callout p { margin: 0 0 12px; font-size: 15px; line-height: 25px; }
.callout p:last-child { margin: 0; }

.signoff { padding: 18px 42px 34px; }
.signoff p { margin: 0; }
.signoff strong { color: var(--navy-dark); }

/* ---- Footer ---- */
.footer {
  background: var(--stone);
  border-top: 1px solid var(--rule);
  padding: 26px 30px;
  text-align: center;
}
.footer .gold-rule {
  width: 56px;
  border-top: 2px solid var(--gold);
  margin: 0 auto 14px;
}
.footer p {
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 19px;
  color: var(--footer);
}
.footer a { color: var(--gold-dark); }

@media only screen and (max-width: 620px) {
  .body, .callout-wrap, .signoff { padding-left: 22px; padding-right: 22px; }
  .notice h1 { font-size: 24px; line-height: 30px; }
  .docs li { flex-direction: column; align-items: flex-start; }
}

@media print {
  body { background: var(--white); }
  .card { min-height: 0; }
}
