/* The Embedded Accelerator, Expression of interest and Investors pages.
   Layers on homepage.css + sector.css (buttons, .section-inner, .accordion,
   .contact band, simple footer all come from there). */

/* ---------- dark hero ---------- */
.acc-hero { position: relative; padding: 130px 5vw 110px; background: #000000; color: #ffffff; overflow: hidden; }
.acc-hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.05) 1px,transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 70% 25%,#000 5%,transparent 70%); }
.acc-hero__inner { position: relative; max-width: 1440px; margin: 0 auto; }
.acc-hero__eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #35a8e0; margin-bottom: 26px; }
.acc-hero h1 { font-size: clamp(46px,7.4vw,116px); line-height: 0.94; letter-spacing: -0.026em; font-weight: 800; margin: 0 0 28px; max-width: 14em; }
.acc-hero h1 em { font-style: normal; color: #35a8e0; }
.acc-hero__tagline { font-size: clamp(19px,2vw,26px); line-height: 1.35; font-weight: 600; color: #ffffff; margin: 0 0 18px; max-width: 24em; }
.acc-hero__sub { font-size: 18px; line-height: 1.6; color: #9aa7b4; margin: 0 0 40px; max-width: 34em; }
.acc-status { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px; background: rgba(53,168,224,0.14); border: 1px solid rgba(53,168,224,0.4); color: #35a8e0; font-size: 14px; font-weight: 700; margin-bottom: 30px; }
.acc-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

/* Centred variant — used on the Accelerator and Partner pages only (Apply's
   own .acc-hero stays left-aligned, so this is an opt-in modifier rather
   than a change to .acc-hero itself). Mirrors the same centring technique
   as .sector-hero--centered: text-align on the container plus margin:auto
   on anything with its own max-width, since text-align alone only centres
   text within a box, not the box itself. */
.acc-hero--centered .acc-hero__inner { text-align: center; }
/* Written as ".acc-hero--centered h1" (one combinator), not
   ".acc-hero--centered .acc-hero h1" — .acc-hero and .acc-hero--centered
   are two classes on the SAME <section>, not nested, so a descendant
   selector naming both never matches anything. That silently broke both
   this max-width and the em colour override below: the h1 kept the base
   rule's 14em width and the emphasised word stayed link-blue instead of
   turning white, even though this file said it should. */
.acc-hero--centered h1 { max-width: 8em; margin-left: auto; margin-right: auto; }
/* The logo's own wordmark is a single pale colour throughout — no accent
   colour on part of it — so the emphasised word matches that here too,
   rather than keeping the site's usual blue "em" treatment. */
.acc-hero--centered h1 em { color: #ffffff; }
.acc-hero--centered .acc-hero__tagline,
.acc-hero--centered .acc-hero__sub { margin-left: auto; margin-right: auto; }
.acc-hero--centered .acc-hero__ctas { justify-content: center; }

/* Decorative mark in the bottom-right corner, its own bottom edge flush
   with the hero's — sits entirely within the black background rather than
   bleeding into the white section below it. */
/* The source PNG's "white" is actually a pale grey (#f2f2f6) — deliberately
   subtle when it was a small watermark-style badge, but it reads as faded
   at this size against pure black. brightness() clips that grey to true
   white (242×1.15 > 255) while leaving the accent dots vivid — the black
   dot (0,0,0) is unaffected by a multiply filter, and the coloured ones
   just brighten slightly rather than blowing out. */
/* Height scales fluidly with viewport width (clamp, in three bands) rather
   than jumping straight from 280px to 460px at the 980px breakpoint — that
   single jump put it at full desktop size as early as ~1024px wide, where
   it demonstrably overlapped the centred heading and subtitle text. Each
   band's bounds were checked against the actual rendered text across a
   dense sweep of widths (the mark's own height, measured against the live
   h1/tagline/sub boxes) so it never grows back into the text — it only
   reaches full size once there's consistently enough clear room beside
   the text to allow it. */
.acc-hero__corner-mark { position: absolute; right: 1vw; bottom: 0; height: clamp(195px, 20vw, 340px); width: auto; aspect-ratio: 1166 / 1141; filter: brightness(1.15); pointer-events: none; }
@media (max-width: 1200px) {
	.acc-hero__corner-mark { height: clamp(165px, 16vw, 230px); }
}
@media (max-width: 980px) {
	.acc-hero__corner-mark { height: clamp(130px, 17vw, 150px); right: 4vw; }
}
/* ".acc-hero .acc-hero__corner-mark" (not just the mark's own class) is
   needed to out-specificity the sitewide ".andtr-home img { display: block; }"
   reset in homepage.css — a single class alone loses that fight regardless
   of media query or source order. */
@media (max-width: 640px) {
	.acc-hero .acc-hero__corner-mark { display: none; }
}

/* Small mobile-only mark shown above the h1 instead — the big corner mark
   is sized for a wide desktop hero and has no room to sit clear of the
   heading once the hero collapses to a single narrow column. */
.acc-hero__inner .acc-hero__mark-mobile { display: none; }
/* ".acc-hero__inner img" (not just the mark's own class) is needed to
   out-specificity the sitewide ".andtr-home img { display: block; }" reset —
   a single class alone loses that fight regardless of media query or source
   order, which is also why .acc-hero__corner-mark's own hide-on-mobile rule
   needed !important above. */
@media (max-width: 640px) {
	.acc-hero__inner .acc-hero__mark-mobile { display: inline-block; height: 56px; width: auto; aspect-ratio: 1166 / 1141; filter: brightness(1.15); margin: 0 0 20px; }
}

/* ---------- generic section shells ---------- */
.acc-section { padding: 120px 5vw; background: #ffffff; }
.acc-section--tint { background: #f2f7fb; }
.acc-section--dark { background: #0e1620; color: #ffffff; }
.acc-lede { max-width: 860px; margin-bottom: 48px; }
.acc-lede h2 { font-size: clamp(34px,4.2vw,62px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 22px; }
.acc-lede p { font-size: 19px; line-height: 1.65; color: #4d5a67; margin: 0; }
.acc-section--dark .acc-lede p { color: #9aa7b4; }
.acc-eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #1c7cb0; margin-bottom: 18px; }
.acc-section--dark .acc-eyebrow { color: #35a8e0; }

/* A lede can now hold more than one paragraph (e.g. "What is The Embedded
   Accelerator?" splits into two), plus an optional short bold line right
   before a bullet grid ("You're a good fit if you are:") and, after the
   grid, a closing footnote — both reuse .acc-lede's own text colour rules. */
.acc-lede p + p { margin-top: 16px; }
.acc-list-intro { font-size: 15px; font-weight: 700; letter-spacing: -0.005em; color: #0e1620; margin: 18px 0 0; }
.acc-section--dark .acc-list-intro { color: #ffffff; }
.acc-footnote { font-size: 15px; line-height: 1.6; color: #66727f; margin: 24px 0 0; }

/* ---------- benefit / criteria lists ---------- */
.acc-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.acc-benefit { display: flex; align-items: flex-start; gap: 14px; padding: 24px 26px; border: 1px solid rgba(14,22,32,0.12); border-radius: 16px; background: #ffffff; font-size: 17px; line-height: 1.5; color: #22303d; }
.acc-benefit__tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #e3f2fb; color: #0b6f9e; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; margin-top: 1px; }

/* ---------- testimonial ---------- */
.acc-testimonial { display: grid; grid-template-columns: minmax(0,300px) minmax(0,1fr); gap: 40px; align-items: center; padding: 40px; border: 1px solid rgba(14,22,32,0.12); border-radius: 24px; background: #f2f7fb; }
/* The source video is a vertical (9:16) short, so it's given its own narrow
   column rather than forced into a wide 16:9 frame — aspect-ratio keeps that
   shape without a layout jump while the iframe itself loads. */
.acc-testimonial__video { aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #0e1620; }
.acc-testimonial__video iframe { display: block; width: 100%; height: 100%; border: none; }
.acc-testimonial__caption { font-size: 13px; font-weight: 600; color: #66727f; text-align: center; margin: 12px 0 0; }
/* Vertical rule between the video and the quote. Centred in the grid's own
   40px column-gap via matching negative-margin/padding, rather than a
   border on .acc-testimonial__video, so it reads as a divider between the
   two halves rather than an edge tacked onto the video's own rounded box. */
.acc-testimonial__body { margin-left: -20px; padding-left: 20px; border-left: 1px solid rgba(14,22,32,0.16); }
.acc-testimonial__mark { font-family: Georgia, 'Times New Roman', serif; font-size: 64px; line-height: 0.6; font-weight: 700; color: #35a8e0; margin: 0 0 14px; }
.acc-testimonial__quote { font-size: 20px; line-height: 1.6; color: #22303d; margin: 0 0 20px; }
.acc-testimonial__attr { font-size: 15px; font-weight: 700; color: #0b6f9e; }

/* ---------- stat grid (Accelerator Partners "Startup success") ---------- */
.acc-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.acc-stat { padding: 30px 26px; border: 1px solid rgba(14,22,32,0.12); border-radius: 18px; background: #ffffff; }
.acc-stat__value { font-size: clamp(28px,3vw,40px); line-height: 1; letter-spacing: -0.02em; font-weight: 800; color: #0b6f9e; margin: 0 0 10px; }
.acc-stat__label { font-size: 14px; line-height: 1.5; color: #4d5a67; }

/* ---------- success story ---------- */
.acc-story { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); border: 1px solid rgba(14,22,32,0.12); border-radius: 24px; overflow: hidden; background: #ffffff; }
.acc-story__main { padding: 52px 46px; border-right: 1px solid rgba(14,22,32,0.12); background: #f2f7fb; }
.acc-story__name { font-size: 38px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 12px; }
.acc-story__what { font-size: 17px; line-height: 1.6; color: #4d5a67; margin: 0; }
.acc-story__rows { padding: 52px 46px; display: flex; flex-direction: column; gap: 22px; }
.acc-story__row { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 22px; align-items: start; }
.acc-story__label { font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #0b6f9e; padding-top: 4px; }
.acc-story__value { font-size: 17px; line-height: 1.6; color: #22303d; }

/* ---------- pillars ---------- */
.acc-pillars { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.acc-pillar { padding: 42px 40px; border: 1px solid rgba(255,255,255,0.14); border-radius: 22px; background: rgba(255,255,255,0.03); }
.acc-pillar h3 { font-size: 25px; letter-spacing: -0.014em; font-weight: 800; margin: 0 0 16px; color: #ffffff; }
.acc-pillar p { font-size: 17px; line-height: 1.65; color: #9aa7b4; margin: 0; }
.acc-pillar a { color: #35a8e0; }

/* light "how it works" steps, same grid as .acc-pillars */
.acc-pillars--light { grid-template-columns: repeat(2,minmax(0,1fr)); }
.acc-step { padding: 38px 36px; border: 1px solid rgba(14,22,32,0.12); border-radius: 22px; background: #ffffff; }
.acc-step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #eaf5fc; color: #0b6f9e; font-size: 13px; font-weight: 800; margin-bottom: 18px; }
.acc-step h3 { font-size: 22px; letter-spacing: -0.014em; font-weight: 800; margin: 0 0 12px; color: #0e1620; }
.acc-step p { font-size: 16px; line-height: 1.65; color: #4d5a67; margin: 0; }

/* ---------- linked cards (Work hub, Careers vacancies) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.work-card { display: flex; flex-direction: column; padding: 34px 32px 36px; border: 1px solid rgba(14,22,32,0.12); border-radius: 20px; background: #ffffff; color: #0e1620; transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .3s; }
.work-card:hover { transform: translateY(-6px); border-color: rgba(53,168,224,0.55); }
.work-card h3 { font-size: 23px; line-height: 1.2; letter-spacing: -0.014em; font-weight: 800; margin: 0 0 14px; }
.work-card p { font-size: 16px; line-height: 1.6; color: #66727f; margin: 0 0 20px; flex-grow: 1; }

/* ---------- platform band (GUIs and HMIs) ---------- */
.platform { padding: 120px 5vw; background: #0e1620; color: #ffffff; }
.platform__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: center; }
.platform__intro h2 { font-size: clamp(30px,3.6vw,50px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 20px; }
.platform__intro p { font-size: 18px; line-height: 1.65; color: #9aa7b4; margin: 0; }
.platform__points { gap: 14px; }
.platform__points .point { color: #d7dee5; font-size: 17px; }

/* ---------- mentors ---------- */
.acc-mentors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.acc-mentor { padding: 32px 30px 34px; border: 1px solid rgba(14,22,32,0.12); border-radius: 20px; background: #ffffff; display: flex; flex-direction: column; }
.acc-mentor__avatar { width: 52px; height: 52px; border-radius: 50%; background: #0b6f9e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; margin-bottom: 20px; }
.acc-mentor__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: block; margin-bottom: 20px; }
.acc-mentor__name { font-size: 19px; font-weight: 800; letter-spacing: -0.012em; color: #0e1620; margin-bottom: 12px; }
.acc-mentor__bio { font-size: 15px; line-height: 1.62; color: #4d5a67; margin: 0 0 18px; flex-grow: 1; }
.acc-mentor__link { font-size: 14px; font-weight: 700; color: #0b6f9e; }
.acc-mentor__link:hover { color: #35a8e0; }

/* ---------- apply / form embed ---------- */
.acc-form { padding: 90px 5vw 120px; background: #f2f7fb; }
.acc-form__inner { max-width: 1040px; margin: 0 auto; background: #ffffff; border: 1px solid rgba(14,22,32,0.12); border-radius: 24px; padding: 18px; overflow: hidden; }
.acc-form__inner iframe { display: block; width: 100%; min-height: 900px; border: none; border-radius: 14px; }

/* ---------- contact detail cards (Contact page) ---------- */
.acc-contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.acc-contact-card { padding: 40px 38px; border: 1px solid rgba(14,22,32,0.12); border-radius: 22px; background: #ffffff; }
.acc-contact-card__label { font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #0b6f9e; margin-bottom: 16px; }
.acc-contact-card__value { font-size: clamp(24px,2.4vw,32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: #0e1620; word-break: break-word; }
.acc-contact-card__value a { color: inherit; }
.acc-contact-card__value a:hover { color: #35a8e0; }
.acc-contact-card__note { font-size: 15px; line-height: 1.55; color: #66727f; margin-top: 14px; }

/* ---------- plain prose pages (privacy policy, thank you) ---------- */
.acc-prose { padding: 90px 5vw 120px; background: #ffffff; }
.acc-prose__inner { max-width: 820px; margin: 0 auto; font-size: 18px; line-height: 1.72; color: #33414f; }
.acc-prose__inner h2 { font-size: clamp(26px,3vw,38px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: #0e1620; margin: 52px 0 18px; }
.acc-prose__inner h3 { font-size: 22px; line-height: 1.25; font-weight: 800; color: #0e1620; margin: 34px 0 12px; }
.acc-prose__inner p { margin: 0 0 22px; }
.acc-prose__inner ul, .acc-prose__inner ol { margin: 0 0 24px; padding-left: 22px; }
.acc-prose__inner li { margin-bottom: 9px; }
.acc-prose__inner a { color: #0b6f9e; text-decoration: underline; }
.acc-prose__inner table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 16px; }
.acc-prose__inner td, .acc-prose__inner th { padding: 14px 16px; border: 1px solid rgba(14,22,32,0.12); text-align: left; vertical-align: top; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.acc-mentors { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1100px) {
	.work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 980px) {
	.acc-benefits, .acc-pillars, .acc-pillars--light, .acc-contact-grid, .work-grid, .acc-stats { grid-template-columns: 1fr; }
	.platform__grid { grid-template-columns: 1fr; gap: 40px; }
	.platform { padding: 90px 5vw; }
	.acc-story { grid-template-columns: 1fr; }
	.acc-testimonial { grid-template-columns: 1fr; }
	.acc-testimonial__video { max-width: 260px; margin: 0 auto; }
	/* Stacked layout has no side-by-side gap to sit in, so the vertical rule
	   becomes a horizontal one above the quote instead. */
	.acc-testimonial__body { margin-left: 0; padding-left: 0; padding-top: 28px; margin-top: 28px; border-left: none; border-top: 1px solid rgba(14,22,32,0.16); }
	.acc-story__main { border-right: none; border-bottom: 1px solid rgba(14,22,32,0.12); }
	.acc-section { padding: 90px 5vw; }
	.acc-hero { padding: 100px 5vw 80px; }
}
@media (max-width: 700px) {
	.acc-mentors { grid-template-columns: 1fr; }
	.acc-story__row { grid-template-columns: 1fr; gap: 6px; }
	.acc-form__inner iframe { min-height: 1100px; }
}
