:root {
  --ink: #0a110f;
  --ink-soft: #111b18;
  --paper: #f1f3ed;
  --paper-deep: #e4e8df;
  --green: #04a454;
  --green-bright: #37d779;
  --yellow: #e9da29;
  --line: rgba(10, 17, 15, 0.16);
  --white-line: rgba(255, 255, 255, 0.17);
  --muted: #4d5752;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p { line-height: 1.7; }
.wrap { width: min(100% - 48px, 1320px); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 24px;
  top: -80px;
  z-index: 1000;
  padding: 14px 20px;
  background: var(--green-bright);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Retained for any document rendered with the former compact header. */
.reference-header { display: flex; align-items: center; gap: 36px; min-height: 100px; }
.brand { flex-shrink: 0; padding: 12px 16px; background: var(--ink); }
.brand img { width: 132px; }
.reference-header nav { display: flex; gap: 28px; margin-left: auto; }
.reference-header nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.reference-header nav a span { display: none; }
.contact-link {
  padding: 14px 22px;
  border: 1px solid var(--line);
  background: var(--green-bright);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.reference-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 0 80px;
  border-top: 1px solid var(--white-line);
  border-bottom: 1px solid rgba(55, 215, 121, 0.2);
  background: var(--ink);
  color: #fff;
}
.reference-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}
.reference-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 100% 10%, rgba(4, 164, 84, 0.17), transparent 58%),
    linear-gradient(110deg, transparent 60%, rgba(55, 215, 121, 0.025));
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.6;
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.78); }
.breadcrumbs [aria-current="page"] { overflow-wrap: anywhere; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--green-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  max-width: 1120px;
  margin: 0 0 28px;
  color: inherit;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.intro {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}
time { display: block; margin-top: 24px; color: var(--muted); font-size: 13px; }
.reference-hero time { color: rgba(255, 255, 255, 0.55); }

.reference-body { padding-top: 64px; padding-bottom: 88px; }
.reference-note {
  max-width: 850px;
  margin-bottom: 40px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.reading { max-width: 850px; }
.reading-section + .reading-section { margin-top: 42px; }
.reading p {
  margin: 0 0 20px;
  color: #26352e;
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.reading h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.related { margin-top: 64px; }
.related h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 3.7vw, 46px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.06;
}
.reference-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.reference-cards a {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
  min-height: 180px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(238, 249, 243, 0.48));
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(27, 72, 54, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  font-size: 21px;
  line-height: 1.25;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.reference-cards a:hover {
  transform: translateY(-3px);
  border-color: rgba(4, 164, 84, 0.4);
  background: linear-gradient(145deg, #fff, #e8f6ec);
  box-shadow: 0 22px 52px rgba(27, 72, 54, 0.12);
  text-decoration: none;
}
.reference-cards a > span[aria-hidden="true"] {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 24px;
  line-height: 1;
  transition: transform 180ms ease;
}
.reference-cards a:hover > span[aria-hidden="true"] { transform: translate(2px, -2px); }
.reference-cards a .reference-card-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  color: inherit;
  font-size: 21px;
}
.reference-card-copy strong { font-weight: 600; letter-spacing: -0.025em; }
.reference-cards .reference-card-copy small {
  color: #4d5e54;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.reference-card-copy time { margin: 0; font-size: 12px; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}
.logo-grid:first-child { margin-top: 0; margin-bottom: 40px; }
.logo-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 180px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(27, 72, 54, 0.05);
}
.logo-grid img { width: auto; height: auto; max-width: 150px; max-height: 65px; object-fit: contain; }
.logo-grid span { color: var(--muted); font-size: 12px; }
.reference-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.reference-photos figure { margin: 0; }
.reference-photos a { display: block; }
.reference-photos img {
  width: 100%;
  max-height: 500px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper-deep);
  object-fit: contain;
}

.reference-contact {
  position: relative;
  isolation: isolate;
  padding: 80px 0;
  border-top: 1px solid var(--white-line);
  background: var(--ink);
  color: #fff;
}
.reference-contact::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at 0 100%, rgba(4, 164, 84, 0.13), transparent 65%);
}
.reference-contact .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.reference-contact .eyebrow { color: var(--green-bright); }
.reference-contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.06;
}
.reference-contact p { margin: 0 0 22px; color: rgba(255, 255, 255, 0.68); font-size: 17px; line-height: 1.65; }
.reference-contact a {
  display: block;
  min-height: 52px;
  padding: 14px 0;
  border-top: 1px solid var(--white-line);
  color: #fff;
  font-size: clamp(20px, 2.1vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.reference-contact a:hover { color: var(--green-bright); text-decoration: none; }
.reference-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px max(24px, calc((100vw - 1320px) / 2));
  border-top: 1px solid var(--white-line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.6;
}
.reference-footer nav { display: flex; flex-wrap: wrap; gap: 16px 26px; }
.reference-footer a:hover { color: var(--green-bright); }
.reference-footer a span { display: none; }
body > .legal-footer {
  padding-inline: max(24px, calc((100vw - 1320px) / 2));
  border-top-color: var(--white-line);
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
}
body > .legal-footer strong { color: rgba(255, 255, 255, 0.85); }
body > .legal-footer a:hover { color: var(--green-bright); }

@media (max-width: 900px) {
  .reference-header { flex-wrap: wrap; gap: 12px 24px; padding-block: 20px; }
  .reference-header nav { order: 3; width: 100%; justify-content: space-between; margin: 0; }
  .contact-link { margin-left: auto; }
  .reference-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .reference-cards a { padding: 26px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .reference-contact .wrap { gap: 36px; }
  .breadcrumbs { margin-bottom: 36px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 40px); }
  .reference-hero { padding: 24px 0 48px; }
  .reference-body { padding-block: 40px 60px; }
  .reference-note { padding: 16px 18px; }
  .reading p { font-size: 16px; line-height: 1.75; }
  .reading-section + .reading-section { margin-top: 34px; }
  .reference-cards { grid-template-columns: 1fr; }
  .reference-cards a { min-height: 144px; padding: 24px; }
  .reference-cards a .reference-card-copy { font-size: 21px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .logo-grid li { min-height: 144px; padding: 22px 16px; }
  .logo-grid img { max-width: 116px; max-height: 55px; }
  .reference-photos { grid-template-columns: 1fr; gap: 20px; }
  .reference-contact { padding: 52px 0; }
  .reference-contact .wrap { grid-template-columns: 1fr; gap: 30px; }
  .reference-footer { flex-direction: column; gap: 12px; padding: 24px 20px; }
  .reference-footer nav { gap: 8px 24px; }
  .breadcrumbs { gap: 8px; }
  .breadcrumbs a, .reference-footer a { display: inline-flex; align-items: center; min-height: 44px; }
  body > .legal-footer { padding-inline: 20px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 36px; }
  .reference-cards a { padding: 22px; }
  .logo-grid li { padding-inline: 12px; }
  .reference-footer, body > .legal-footer { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

.reference-videos,.reference-content-slots { margin-top:64px; }
.reference-videos .eyebrow,.reference-content-slots .eyebrow { color:var(--green); }
.reference-videos h2,.reference-content-slots h2 { margin:0 0 28px; font-size:clamp(30px,3.7vw,46px); font-weight:500; letter-spacing:-.05em; line-height:1.08; }
.reference-video-link { display:flex; align-items:center; gap:24px; max-width:850px; padding:28px; border:1px solid rgba(255,255,255,.85); border-radius:26px; background:linear-gradient(145deg,#fff,#edf7f0); box-shadow:0 18px 46px rgba(27,72,54,.08); }
.reference-video-link:hover { text-decoration:none; outline:1px solid rgba(4,164,84,.4); }
.reference-video-link__play { display:grid; place-items:center; flex:0 0 60px; height:60px; background:var(--green-bright); color:var(--ink); font-size:19px; }
.reference-video-link strong { display:block; font-size:22px; line-height:1.2; letter-spacing:-.025em; }
.reference-video-link small { display:block; margin-top:10px; color:var(--muted); font-size:14px; }
.reference-video-link>span:last-child { margin-left:auto; color:var(--green); font-size:27px; }
.reference-content-slots__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.reference-content-slots__grid>section { min-width:0; min-height:230px; padding:30px; border:1px dashed rgba(10,17,15,.25); border-radius:26px; background:rgba(255,255,255,.4); }
.reference-content-slots__grid>section>span { color:var(--green); font-size:12px; letter-spacing:.1em; }
.reference-content-slots h3 { margin:24px 0 14px; font-size:26px; font-weight:500; letter-spacing:-.035em; line-height:1.1; }
.reference-content-slots p { margin:0; color:var(--muted); font-size:15px; line-height:1.65; }
@media(max-width:700px) { .reference-content-slots__grid { grid-template-columns:1fr; gap:16px; } .reference-content-slots__grid>section { min-height:180px; padding:26px; } .reference-video-link { gap:16px; padding:24px; } .reference-video-link__play { flex-basis:44px; height:44px; font-size:15px; } .reference-video-link strong { font-size:20px; } }
.reference-video-link__media { position:relative; flex:0 0 230px; overflow:hidden; border-radius:16px; }
.reference-video-link__media img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.reference-video-link__media .reference-video-link__play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:44px; height:44px; background:rgba(55,215,121,.95); }
@media(max-width:700px) { .reference-video-link { flex-wrap:wrap; } .reference-video-link__media { flex:0 0 100%; } .reference-video-link>span:nth-child(2) { flex:1; } }
