.whg-embed {
  --whg-ink: #142d35;
  --whg-muted: #566b70;
  --whg-line: #d7e1df;
  --whg-green: #0b6458;
  --whg-gold: #9a6b27;
  --whg-paper: #f4f7f5;
  --whg-white: #ffffff;
  min-height: 100vh;
  color: var(--whg-ink);
  background: var(--whg-paper);
  font-family: var(--font-sans, Inter), Arial, sans-serif;
}

.whg-embed-page {
  min-width: 320px;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
}

.whg-embed,
.whg-embed * {
  box-sizing: border-box;
}

.whg-embed__inner {
  width: min(100%, 1200px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 26px 40px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.whg-embed__header,
.whg-embed__brand,
.whg-embed__portfolio-link,
.whg-embed__section-heading,
.whg-embed__actions,
.whg-embed__action-primary {
  display: flex;
  align-items: center;
}

.whg-embed__header {
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--whg-line);
}

.whg-embed__brand {
  min-width: 0;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.whg-embed__brand img {
  display: block;
  width: 44px;
  height: 48px;
  object-fit: contain;
}

.whg-embed__brand-name,
.whg-embed__brand-type,
.whg-embed__eyebrow,
.whg-embed__summary,
.whg-embed__section-note,
.whg-embed__location,
.whg-embed__footer-note {
  margin: 0;
}

.whg-embed__brand-name,
.whg-embed__brand-type {
  display: block;
}

.whg-embed__brand-name {
  font-family: var(--font-serif, Georgia), serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.whg-embed__brand-type,
.whg-embed__eyebrow,
.whg-embed__credentials dt,
.whg-embed__section-note,
.whg-embed__location,
.whg-embed__footer-note {
  color: var(--whg-muted);
}

.whg-embed__brand-type {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
}

.whg-embed__portfolio-link,
.whg-embed__project-copy a {
  gap: 6px;
  color: var(--whg-green);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.whg-embed__portfolio-link svg,
.whg-embed__project-copy a svg,
.whg-embed__action-primary svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.whg-embed__portfolio-link:hover,
.whg-embed__project-copy a:hover,
.whg-embed__action-secondary:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.whg-embed__intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 34px;
  padding: 26px 0 23px;
}

.whg-embed__intro-copy {
  max-width: 730px;
}

.whg-embed__eyebrow {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.whg-embed__intro h1 {
  max-width: 760px;
  margin: 8px 0 7px;
  font-family: var(--font-serif, Georgia), serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.12;
}

.whg-embed__summary {
  max-width: 660px;
  color: var(--whg-muted);
  font-size: 15px;
  line-height: 1.5;
}

.whg-embed__credentials {
  display: flex;
  flex: 0 0 auto;
  gap: 19px;
  margin: 0;
  padding: 0 0 2px;
}

.whg-embed__credentials div {
  min-width: 82px;
}

.whg-embed__credentials dt {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.3;
}

.whg-embed__credentials dd {
  margin: 0;
  color: var(--whg-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.whg-embed__projects {
  padding: 17px 0 19px;
  border-top: 1px solid var(--whg-line);
  border-bottom: 1px solid var(--whg-line);
}

.whg-embed__section-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.whg-embed__section-heading h2 {
  margin: 3px 0 0;
  font-family: var(--font-serif, Georgia), serif;
  font-size: 21px;
  line-height: 1.2;
}

.whg-embed__section-note {
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.whg-embed__project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.whg-embed__project {
  min-width: 0;
  min-height: 137px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--whg-line);
  border-radius: 6px;
  background: var(--whg-white);
}

.whg-embed__project-image {
  display: block;
  width: 84px;
  height: 100%;
  min-height: 137px;
  object-fit: cover;
}

.whg-embed__project-copy {
  min-width: 0;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.whg-embed__project-copy h3 {
  margin: 0;
  color: var(--whg-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.whg-embed__project-copy .whg-embed__title-link {
  max-width: 100%;
  margin-top: 0;
  overflow-wrap: anywhere;
}

.whg-embed__project-copy .whg-embed__title-link:focus-visible {
  outline: 3px solid var(--whg-gold);
  outline-offset: 3px;
}

.whg-embed__location {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
}

.whg-embed__location svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: var(--whg-gold);
}

.whg-embed__role {
  margin: 8px 0 6px;
  color: var(--whg-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.whg-embed__project-copy a {
  margin-top: auto;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.whg-embed__project-copy a svg {
  width: 13px;
  height: 13px;
}

.whg-embed__footer {
  padding-top: 16px;
}

.whg-embed__actions {
  flex-wrap: wrap;
  gap: 10px;
}

.whg-embed__action-primary {
  min-height: 40px;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--whg-green);
  border-radius: 5px;
  color: #ffffff;
  background: var(--whg-green);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}

.whg-embed__action-primary:hover {
  background: #084f46;
}

.whg-embed__action-secondary {
  padding: 8px 6px;
  color: var(--whg-green);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.whg-embed__footer-note {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.4;
}

.whg-embed a:focus-visible {
  outline: 3px solid var(--whg-gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .whg-embed__inner {
    justify-content: flex-start;
    padding: 20px 22px;
  }

  .whg-embed__intro {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 22px 0 19px;
  }

  .whg-embed__credentials {
    gap: 24px;
  }

  .whg-embed__project-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .whg-embed__project {
    min-height: 104px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .whg-embed__project-image {
    width: 82px;
    min-height: 104px;
  }

  .whg-embed__project-copy {
    padding: 9px 12px;
  }

  .whg-embed__project-copy h3 {
    font-size: 14px;
  }

  .whg-embed__location {
    margin-top: 3px;
  }

  .whg-embed__role {
    margin: 5px 0 4px;
  }

  .whg-embed__projects {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 420px) {
  .whg-embed__inner {
    padding: 16px 16px 18px;
  }

  .whg-embed__header {
    gap: 10px;
    padding-bottom: 15px;
  }

  .whg-embed__brand {
    gap: 10px;
  }

  .whg-embed__brand img {
    width: 38px;
    height: 44px;
  }

  .whg-embed__brand-name {
    font-size: 17px;
  }

  .whg-embed__brand-type {
    font-size: 9px;
  }

  .whg-embed__portfolio-link {
    gap: 3px;
    font-size: 11px;
    white-space: nowrap;
  }

  .whg-embed__portfolio-link svg {
    width: 13px;
    height: 13px;
  }

  .whg-embed__intro {
    padding: 18px 0 16px;
  }

  .whg-embed__intro h1 {
    font-size: 27px;
  }

  .whg-embed__summary {
    font-size: 14px;
  }

  .whg-embed__section-note {
    max-width: 130px;
    font-size: 10px;
  }

  .whg-embed__project {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .whg-embed__project-image {
    width: 72px;
  }
}

@media (max-width: 360px) {
  .whg-embed__inner {
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .whg-embed__header {
    padding-bottom: 12px;
  }

  .whg-embed__brand-name {
    font-size: 15px;
  }

  .whg-embed__intro {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .whg-embed__intro h1 {
    font-size: 25px;
  }

  .whg-embed__summary {
    font-size: 13px;
    line-height: 1.4;
  }

  .whg-embed__projects {
    padding-top: 11px;
    padding-bottom: 12px;
  }

  .whg-embed__section-heading {
    margin-bottom: 9px;
  }

  .whg-embed__project-list {
    gap: 7px;
  }

  .whg-embed__project {
    min-height: 98px;
  }

  .whg-embed__project-image {
    min-height: 98px;
  }

  .whg-embed__project-copy {
    padding: 8px 10px;
  }

  .whg-embed__role {
    margin: 4px 0 3px;
  }

  .whg-embed__project-copy a {
    font-size: 10px;
    line-height: 1.25;
  }

  .whg-embed__footer {
    padding-top: 12px;
  }

  .whg-embed__footer-note {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .whg-embed__action-primary,
  .whg-embed__portfolio-link,
  .whg-embed__project-copy a {
    transition: color 140ms ease, background-color 140ms ease;
  }
}
