/* The AIM EIS Fund (src/views/Eis.astro) in the new treatment (Kyle, 30 October 2026), on top of home.css, iht.css and
   ihv.css as the other product pages: the product hero with a photograph (.ihp-pic), the fund in the widening navy box
   (.ihv-navy), the record in a field card. eis.css still styles the companies, documents, questions and the rest; only
   what is new, or what eis.css would otherwise colour for chalk, is here. */

/* the fund, on navy: eis.css sets every paragraph in ink, so the navy box puts its own back */
main.eisn .ihv-navy p, main.eisn .eisn-card p { color: var(--chalk); }
.eisn .ihv-navy .ihv-say strong { font-weight: 600; color: var(--chalk); }
.eisn .ihv-navy .ihv-say em { font-style: normal; color: var(--brick-accent); white-space: nowrap; }
.eisn .ihv-navy .eye, .eisn .eisn-card .eye { color: var(--brick-accent); }
/* the three points: the published lines themselves, in Archivo (the serif speaks once per block) */
.eisn .eis-pts b { font: 600 clamp(1.125rem, 1.5vw, 1.3125rem)/1.35 var(--sans); max-width: 18em; }
.eisn .eis-pts .va-ico { margin-bottom: 1.5rem; }
main.eisn .ihv-navy .eis-ptn { margin: 1.25rem 0 0; font-size: var(--t-small); color: var(--chalk); }
.eisn .ihv-navy .ihv-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eisn .ihv-navy .ihv-more p { font-size: var(--t-card); line-height: 1.6; }
@media (max-width: 900px) { .eisn .ihv-navy .ihv-more { grid-template-columns: minmax(0, 1fr); } }

/* risks to consider: three, numbered, on chalk */
.eisn-rsk { background: var(--chalk); }
.eisn-rsk > .wrap, .eisn-rec > .wrap { padding-block: clamp(4rem, 8vw, 6.5rem); }
.eisn-rsk h2, .eisn-rec h2 { margin-top: 1rem; max-width: 18ch; text-wrap: balance; }
.eisn-risks { margin: clamp(2.25rem, 4vw, 3rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); }
.eisn-risks > div { display: grid; align-content: start; gap: .625rem; padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.eisn-risks .n { font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--brick-word); font-variant-numeric: tabular-nums; }
.eisn-risks dt { font: 600 1.25rem/1.3 var(--sans); color: var(--navy); }
.eisn-risks dd { margin: 0; font-size: var(--t-card); line-height: 1.6; color: var(--ink); }
@media (max-width: 900px) { .eisn-risks { grid-template-columns: minmax(0, 1fr); } }

/* the record: the words beside the field card of four figures */
.eisn-rec { background: var(--chalk); color: var(--ink); }
.eisn-recg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.eisn-rec .eye { color: var(--brick-word); }
main.eisn .eisn-rec .eis-rnote { margin: 1.5rem 0 0; max-width: 60ch; font-size: var(--t-body); line-height: 1.65; color: var(--ink); }
.eisn-card { padding: clamp(1.5rem, 3vw, 2.5rem); }
.eisn-figs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eisn-figs > div { display: grid; align-content: start; gap: .75rem; padding: 1.5rem 1.5rem 1.5rem 0; border-top: 1px solid #5A6E91; }
.eisn-figs > div:nth-child(even) { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid #3A5583; }
.eisn-figs dt { display: grid; gap: 1.25rem; justify-items: start; --serif-size: clamp(2.75rem, 4.4vw, 4.25rem); --serif-ls: -.03em; --serif-ws: 0em; font: 400 var(--serif-fit)/1 var(--serif); color: var(--chalk); font-variant-numeric: lining-nums; letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); }
.eisn-figs dd { margin: 0; max-width: 24ch; font-size: var(--t-card); line-height: 1.5; color: var(--chalk); }
.eisn-card .eis-fi { width: 30px; height: 30px; stroke: var(--brick-accent); }
main.eisn .eisn-card .eisn-pp { margin: 1rem 0 0; font-size: var(--t-small); color: var(--chalk); }
@media (max-width: 1100px) { .eisn-recg { grid-template-columns: minmax(0, 1fr); } }
/* a phone: one figure a row, so each proof line runs the card's width at body size (5 November 2026: two columns gave
   lines about 127px wide, five to seven lines each) */
@media (max-width: 600px) {
  .eisn-figs { grid-template-columns: minmax(0, 1fr); }
  .eisn-figs > div, .eisn-figs > div:nth-child(even) { padding: 1.25rem 0; border-left: 0; }
  .eisn-figs > div:first-child { border-top: 0; padding-top: 0; }
  .eisn-figs dd { max-width: none; }
}

/* the companies take the page's label over their heading */
.eisn .eis-h > .eye + h2 { margin-top: 1rem; }
/* the published heading is long: a size down, so it keeps to three lines beside the card */
.eisn-rec h2 { max-width: 20ch; --serif-size: clamp(2.25rem, 3.8vw, 3.75rem); --serif-ls: -.012em; --serif-ws: -.02em; font-size: var(--serif-fit); line-height: 1.04; }

/* ---------- the rest of the page (Kyle, 30 October 2026: "bring the rest of the EIS page into the new style") ----------
   Every section opens the same way: a label in brick, then the serif heading, letter by letter; the sections run on chalk
   with a hairline between, the documents on white; the questions and the important information beside their heading. */
.eisn .eis-h > .eye { color: var(--brick-word); }
.eisn .eis-h > .eye + h2 { margin-top: 1rem; }
.eisn-sec > .wrap { padding-block: clamp(4rem, 8vw, 6.5rem); }
.eisn .eis-pf, .eisn .eis-ii, .eisn .eis-faq, .eisn-closed { background: var(--chalk); }
.eisn .eis-ii { border: 0; }
.eisn-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .eisn-two { grid-template-columns: minmax(0, 1fr); } }

/* the closed funds: the heading, the published line and the portal; the funds as rows, each with a hollow marker */
.eisn-side h2 { margin-top: 1rem; max-width: 12ch; }
main.eisn .eisn-lede { margin: 1.25rem 0 1.75rem; max-width: 40ch; font-size: var(--t-body); line-height: 1.6; color: var(--ink); }
.eisn-funds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.eisn-funds li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); align-items: baseline; padding: 1.375rem 0; border-bottom: 1px solid var(--rule); }
.eisn-funds li > i { width: 9px; height: 9px; box-sizing: border-box; border: 1.5px solid var(--brick); transform: translateY(-1px); }
.eisn-funds b { display: block; font: 600 1.25rem/1.3 var(--sans); color: var(--navy); }
main.eisn .eisn-funds p { margin: .375rem 0 0; font-size: var(--t-card); line-height: 1.55; color: var(--ink); }

/* the questions: the heading on the left, the four on the right */
.eisn .eis-faq .eis-qs { margin-top: .5rem; }

/* other products: picture cards, as the IHT page's Why Seneca */
.eisn-oth { background: var(--chalk); }
.eisn-oth > .wrap { padding-block: clamp(4rem, 8vw, 6.5rem); }
.eisn-oth .eis-h { margin-bottom: clamp(2rem, 4vw, 3rem); }
.eisn-oth .ihv-tile figure { position: relative; aspect-ratio: 16 / 10; }
.eisn-oth .ihv-tile .tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; padding: .3125rem .625rem; border-radius: var(--r-tag); background: var(--navy-deep); color: var(--sand); font: 600 .75rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.eisn-oth .ihv-tile .tag i { width: 7px; height: 7px; box-sizing: border-box; border: 1.5px solid var(--brick-accent); }
.eisn-oth .ihv-go svg { width: 12px; height: 12px; }
main.eisn .eisn-fnote { margin: 1.25rem 0 0; font-size: var(--t-body); line-height: 1.6; color: var(--ink); }

/* Register your interest (Kyle, 25 November 2026): the heading and the lines beside the form, as the closed funds; the
   brand's one field style (white, 1px navy edge, 2px inside while typing, brick caret and label) */
.eisn-int { background: var(--chalk); }
.eisn-int .eisn-side .eye { color: var(--brick-word); }
.eisn-int .eisn-side h2 em { color: var(--brick-word); }
main.eisn .eisn-hr { margin: 0; max-width: 40ch; font-size: var(--t-small); line-height: 1.55; color: var(--ink); }
.eis-int { display: grid; gap: 1.25rem; max-width: 34rem; padding-top: .25rem; }
.ei-f label { display: block; margin-bottom: .4375rem; font: 600 .875rem/1.3 var(--sans); color: var(--navy); transition: color .5s ease; }
.ei-f:focus-within label { color: var(--brick-word); }
.ei-f :is(input, select) { box-sizing: border-box; width: 100%; height: 48px; padding: 0 .875rem; font: 400 var(--t-body) var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--navy); border-radius: var(--r-icon); caret-color: var(--brick-mid, #C0674A); transition: box-shadow .5s ease, border-color .5s ease; }
.ei-f :is(input, select):focus { outline: none; box-shadow: inset 0 0 0 1px var(--navy); }
.ei-f :is(input, select):focus-visible { outline: 2px solid #C0674A; outline-offset: 3px; }
.ei-f [aria-invalid="true"] { border-color: var(--brick-word); }
.eis-int .ei-send { justify-self: start; min-height: 48px; }
main.eisn .eis-int :is(.ei-cons, .ei-msg) { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink); }
main.eisn .eis-int .ei-msg { font-weight: 600; color: var(--navy); }
main.eisn .eis-int :is(.ei-bad, .ei-fail) { color: var(--brick-word); }
.eis-int :is(.ei-cons, .ei-msg) a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.eis-int.sent :is(.ei-f, .ei-send, .ei-cons) { display: none; }
.eis-int.sent .ei-done { font: 400 var(--t-body)/1.55 var(--sans); }
.eis-int .ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) { .eis-int .ei-send { justify-self: stretch; justify-content: center; } }

/* "No offers currently open", made plain (compliance, 25 November 2026: not noticeable enough as a small line beside the
   label): a tag in the trim's word tone, chalk text, the hollow marker of a fund that is not open, at button size */
main.eisn .ihp-st.out { gap: .625rem; padding: .5rem .875rem .5rem .75rem; border-radius: var(--r-tag); background: var(--brick-word); color: var(--chalk); font: 600 1rem/1.2 var(--sans); }
main.eisn .ihp-st.out i { width: 9px; height: 9px; border: 1.5px solid var(--chalk); background: transparent; }

/* our funds in two groups (Rich, through Kyle, 30 November 2026): current, then realised, a rule between them; a realised
   live fund's marker is filled brick, a realised one the brick outline (Kyle, 30 November 2026) */
.eisn-groups { display: grid; row-gap: clamp(3rem, 6vw, 4.5rem); }
.eisn-groups > .eisn-two + .eisn-two { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.eisn-live li > i { background: var(--brick); }
@media (max-width: 900px) { .eisn-groups > .eisn-two + .eisn-two { border-top: 0; padding-top: 0; } }

/* Further information with the important information (1 December 2026): two white cards, then the boxed warning */
.eis-more .eis-h { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.eis-fi-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eis-fi-c { padding: clamp(1.5rem, 2.6vw, 2rem); border-radius: var(--r-card); background: #fff; }
.eis-fi-c h3 { margin: 0 0 .75rem; font: 600 20px/1.35 var(--sans); color: var(--navy); }
.eis-fi-c p { margin: 0; font-size: var(--t-body); line-height: 1.6; color: var(--ink); }
.eis-fi-c p + p { margin-top: .75rem; }
.eis-fi-c a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brick); text-underline-offset: 3px; }
.eis-ii-box { margin-top: 16px; padding: clamp(1.5rem, 2.6vw, 2rem); border: 1px solid var(--navy); border-radius: var(--r-card); }
.eis-ii-box h3 { margin: 0 0 .75rem; font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; font-stretch: 80%; color: var(--brick-word); }
.eis-ii-box p { margin: 0; max-width: 72ch; font-size: var(--t-body); line-height: 1.6; color: var(--ink); font-style: normal; }
.eis-ii-box p + p { margin-top: .75rem; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .eis-fi-cards { grid-template-columns: minmax(0, 1fr); } }
/* the funds' lists without their navy top line on a wide screen (Kyle, 1 December 2026: the full-width rule over the
   realised group already divides it, and the current list matches); on a phone, stacked under their headings, they keep it */
@media (min-width: 901px) { .eisn-groups .eisn-funds { border-top: 0; } }
