:root {
  color-scheme: light;
  --fgci-blue: #234a67;
  --fgci-blue-deep: #15222c;
  --fgci-link: #2d80bf;
  --fgci-orange: #f56923;
  --fgci-sky: #a0d6ff;
  --fgci-ink: #333333;
  --fgci-line: #d6d6d6;
  --fgci-paper: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  color: var(--fgci-ink);
  background: #f4f7f9;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(135deg, rgba(35, 74, 103, .92), rgba(21, 34, 44, .92)),
    radial-gradient(circle at 100% 0, rgba(245, 105, 35, .22), transparent 34rem),
    #15222c;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--fgci-orange); outline-offset: 5px; border-radius: 2px; }

.site-header {
  padding: 24px clamp(20px, 6vw, 88px);
  background: var(--fgci-paper);
  box-shadow: 0 6px 9px rgba(0, 0, 0, .1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--fgci-blue);
}

.brand img {
  width: 82px;
  height: auto;
  display: block;
}

.brand span {
  border-left: 1px solid var(--fgci-line);
  padding-left: 18px;
  font-size: 18px;
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-weight: 700;
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(34px, 6vw, 76px) 20px 60px;
}

.card {
  width: 100%;
  max-width: 520px;
  background: var(--fgci-paper);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
}

.card-media {
  min-height: 76px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--fgci-orange) 0 16px, transparent 16px),
    linear-gradient(135deg, var(--fgci-blue), var(--fgci-link));
}

.card-media span {
  position: absolute;
  inset: auto -28px -48px auto;
  width: 180px;
  aspect-ratio: 1;
  border: 18px solid rgba(160, 214, 255, .45);
  transform: rotate(45deg);
}

.card-body { padding: clamp(30px, 7vw, 50px); }

.eyebrow {
  font-size: 15px;
  line-height: .9;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  margin: 0 0 26px;
  color: var(--fgci-orange);
}

h1 {
  font-size: clamp(46px, 12vw, 68px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .88;
  text-transform: uppercase;
  color: var(--fgci-blue);
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.role {
  margin: 0;
  font-size: 24px;
  color: var(--fgci-blue-deep);
  line-height: 1.18;
}

.details {
  margin: 38px 0 30px;
  border-top: 1px solid rgba(151, 151, 151, .45);
}

.details > div {
  padding: 19px 0;
  border-bottom: 1px solid rgba(151, 151, 151, .45);
}

dt {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--fgci-blue);
  font-weight: 700;
  margin-bottom: 7px;
}

dd { margin: 0; }

dd a {
  display: block;
  padding: 5px 0;
  font-size: 23px;
  line-height: 1.22;
  color: var(--fgci-ink);
  overflow-wrap: anywhere;
}

dd a:hover, .directory a:hover { color: var(--fgci-link); }
dd a > span:last-child { float: right; color: var(--fgci-orange); }

.extension {
  font-size: 18px;
  color: #666666;
  white-space: nowrap;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  margin-top: 28px;
  padding: 15px 22px;
  border-radius: 0;
  background: var(--fgci-orange);
  color: var(--fgci-paper);
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.button:hover, .button:focus-visible { background: var(--fgci-blue); }
.button span { font-size: 24px; line-height: 0; }

/* Motion is opt-in so reduced-motion visitors get the complete static card. */
@media (prefers-reduced-motion: no-preference) {
  .brand { animation: card-fade-in 400ms ease-out both; }
  .card { animation: card-arrive 550ms cubic-bezier(.2, .7, .3, 1) both; }
  .card-body > .eyebrow,
  .card-body > h1,
  .card-body > .role {
    animation: card-arrive 450ms cubic-bezier(.2, .7, .3, 1) 80ms both;
  }
  .details { animation: card-arrive 450ms ease-out 140ms both; }
  .card-media span { animation: accent-arrive 700ms ease-out both; }
  footer { animation: card-fade-in 550ms ease-out 120ms both; }

  dd a { transition: color 180ms ease; }
  dd a > span:last-child { transition: transform 180ms ease; }
  .button {
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  }
  .button span { transition: transform 180ms ease; }
  .button:focus-visible { box-shadow: 0 6px 16px rgba(35, 74, 103, .2); }
  .button:active { transform: translateY(1px); box-shadow: none; }

  @media (hover: hover) and (pointer: fine) {
    .button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(35, 74, 103, .2); }
    .button:hover span { transform: translateY(2px); }
    .button:active { transform: translateY(1px); box-shadow: none; }
    dd a:hover > span:last-child { transform: translate(2px, -2px); }
  }
}

@keyframes card-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes card-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes accent-arrive {
  from { opacity: 0; transform: translateX(14px) rotate(45deg); }
  to { opacity: 1; transform: translateX(0) rotate(45deg); }
}

.hint {
  margin: 15px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
  color: #666666;
}

footer {
  padding: 22px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

footer strong { color: var(--fgci-sky); }
footer span { margin: 0 10px; color: var(--fgci-orange); }

.directory {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.directory li { border-top: 1px solid rgba(151, 151, 151, .45); }

.directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.directory strong {
  color: var(--fgci-blue);
  font-size: 25px;
  text-transform: uppercase;
}

.directory small {
  display: block;
  margin-top: 5px;
  color: #666666;
  font-size: 17px;
}

@media (max-width: 420px) {
  .site-header { padding: 18px 20px; }
  .brand img { width: 70px; }
  .brand span { font-size: 15px; letter-spacing: 1.6px; }
  .card-body { padding: 28px 24px; }
  h1 { font-size: 43px; }
  .role { font-size: 21px; }
  dd a { font-size: 20px; }
}

@media (max-width: 340px) {
  .brand { gap: 12px; }
  .brand span { padding-left: 12px; font-size: 13px; }
  h1 { font-size: 38px; }
  dd a { font-size: 18px; }
}
