/* References share the layout's canvas, intro, typography and action components. */
.references-experience { display: grid; grid-template-columns: 5fr 7fr; align-items: start; gap: 32px clamp(40px, 5vw, 90px); padding-bottom: clamp(44px, 5vw, 72px); }
.references-experience__copy { max-width: 450px; color: var(--page-muted); font: 400 16px/1.8 'Inter Tight', sans-serif; }
.references-metrics { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; margin: 0; }
.references-metrics > div { min-width: 0; border-top: 1px solid var(--page-line); padding-top: 18px; }
.references-metrics dt { color: var(--page-text); font: 400 clamp(30px, 3.1vw, 46px)/1 'Manrope', sans-serif; letter-spacing: -.06em; }
.references-metrics dt > span { color: var(--eurion-blue); }
.references-metrics dd { max-width: 200px; margin: 14px 0 0; color: var(--page-muted); font: 400 13px/1.65 'Inter Tight', sans-serif; }
.references-work { padding: clamp(40px, 5vw, 64px) 0 0; }
.references-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 40px; }
.references :is(.references-heading,.references-section-heading,.references-closing) h2 { max-width: 580px; margin-top: 16px; color: var(--page-text); font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; line-height: 1.3; letter-spacing: -.04em; text-wrap: balance; }
.references-count { display: flex; align-items: baseline; gap: 12px; flex-shrink: 0; padding-bottom: 5px; color: var(--page-muted); font: 400 11px/1.5 'IBM Plex Mono', monospace; }
.references-count > span { color: var(--page-text); font-size: 22px; letter-spacing: -.05em; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.reference-project { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px 0 40px; border-top: 1px solid var(--page-line); scroll-margin-top: calc(var(--eurion-header-height) + 24px); }
.reference-project::before { content: ''; position: absolute; top: -1px; left: 0; width: 32px; height: 1px; background: var(--eurion-blue); }
.reference-project__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.reference-project__number { flex-shrink: 0; color: var(--page-text); font: 400 12px/1.5 'IBM Plex Mono', monospace; }
.reference-project__number > span { margin-left: 8px; color: #626262; }
.reference-project__identity { display: flex; flex-direction: column; align-items: start; justify-content: center; min-height: 156px; margin-bottom: 24px; }
.reference-brand { display: flex; align-items: center; justify-content: center; width: min(300px, 100%); height: 122px; padding: 18px 32px; border: 1px solid #2d2d2d; border-radius: 10px; background: var(--page-panel); }
.reference-brand img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: contain; object-position: center; }
.reference-brand--support img, .reference-brand--reviews img { width: auto; height: clamp(44px, 16vw, 64px); }
.reference-brand--boats img { width: 80%; height: 80%; }
.reference-brand--light-surface { background: #fff; }
.reference-project__ownership { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: #b8b8b8; font: 400 10px/1.5 'IBM Plex Mono', monospace; }
.reference-project__ownership > span { width: 5px; height: 5px; border-radius: 50%; background: var(--eurion-blue); }
.reference-project__content { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.reference-description { max-width: 650px; color: #b9b9b9; font: 400 17px/1.8 'Inter Tight', sans-serif; }
.reference-project__links { padding-top: 26px; margin-top: auto; }
.reference-domains { grid-column: 1 / -1; width: 100%; min-width: 0; margin-top: 26px; }
.reference-domains ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr)); gap: 0 16px; padding: 12px 0 0; margin: 0; border-top: 1px solid var(--page-line); list-style: none; }
.reference-domains li { min-width: 0; }
.reference-domains a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; padding: 3px 0; color: #b9b9b9; font: 400 11px/1.5 'IBM Plex Mono', monospace; text-decoration: none; overflow-wrap: anywhere; }
.reference-domains a > span { flex-shrink: 0; color: var(--eurion-blue); font-size: 15px; }
.reference-domains a:hover { color: white; }
.reference-project--wide { display: grid; grid-column: 1 / -1; grid-template-columns: 5fr 7fr; column-gap: clamp(40px, 5vw, 90px); padding: 32px 0 44px; }
.reference-project--wide .reference-project__meta { grid-column: 1 / -1; margin-bottom: 28px; }
.reference-project--wide .reference-project__identity { justify-content: start; min-height: 0; margin-bottom: 0; }
.reference-project--featured .reference-description { font-size: 18px; }
.references-section-heading, .references-closing { display: grid; grid-template-columns: 5fr 7fr; gap: 28px clamp(40px, 5vw, 90px); }
.references-section-heading > p, .references-closing p { max-width: 680px; color: var(--page-muted); font: 400 17px/1.8 'Inter Tight', sans-serif; }
.references-capabilities { padding-block: clamp(48px, 5vw, 72px); border-top: 1px solid var(--page-line); }
.references-capabilities__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: 44px; }
.references-capabilities__grid article { min-width: 0; border-top: 1px solid var(--page-line); padding-top: 24px; }
.references-capabilities__icon { display: inline-flex; color: var(--eurion-blue); }
.references-capabilities__grid h3 { margin-top: 20px; color: var(--page-text); font: 400 21px/1.4 'Manrope', sans-serif; letter-spacing: -.025em; }
.references-capabilities__grid p { margin-top: 14px; color: var(--page-muted); font: 400 16px/1.8 'Inter Tight', sans-serif; }
.references-closing { align-items: center; padding-block: clamp(44px, 5vw, 72px); border-top: 1px solid var(--page-line); }
.references .reference-contact { margin-top: 26px; padding: 13px 18px; background: var(--page-text); border-color: var(--page-text); color: var(--page-base); }
.references .reference-contact > span[aria-hidden="true"] { color: var(--page-base); }
.references .reference-contact:is(:hover,:focus-visible) { background: white; border-color: white; color: var(--page-base); }
@media (max-width: 900px) {
  .references-experience { grid-template-columns: 1fr; }
  .references-experience__copy { max-width: 680px; }
  .references-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .references-section-heading, .references-closing { grid-template-columns: 1fr; }
  .reference-project--wide { grid-template-columns: 1fr 1.25fr; column-gap: 32px; }
}
@media (max-width: 650px) {
  .references-experience { gap: 24px; padding-bottom: 36px; }
  .references-metrics { gap: 16px; }
  .references-metrics dd { font-size: 12px; }
  .references-heading { align-items: start; flex-direction: column; gap: 18px; padding-bottom: 28px; }
  .references-count { padding: 0; }
  .reference-grid { grid-template-columns: 1fr; }
  .reference-project, .reference-project--wide { display: flex; padding: 28px 0 32px; }
  .reference-project__meta, .reference-project--wide .reference-project__meta { margin-bottom: 24px; }
  .reference-project__identity, .reference-project--wide .reference-project__identity { min-height: 0; margin-bottom: 24px; }
  .reference-description, .reference-project--featured .reference-description { font-size: 16px; }
  .reference-project__links { padding-top: 22px; }
  .references-capabilities { padding-block: 40px; }
  .references-capabilities__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .references-capabilities__grid h3 { margin-top: 16px; }
  .references-closing { padding-block: 40px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .references *, .references *::before { transition: none !important; }
}
