/* shell-and-sections.css */
/* shell-and-sections.css — ordered rules; responsive variants stay with their components. */
.linkedin-action {
  align-items: center;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 0.7rem;
  box-shadow: 0 0.65rem 1.25rem rgba(11, 74, 150, 0.2);
  color: #fff;
  display: flex;
  font-weight: 800;
  gap: 0.8rem;
  justify-content: space-between;
  letter-spacing: 0.01em;
  margin-top: 1.15rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.linkedin-action:hover {
  background: var(--brand-deep);
  box-shadow: 0 0.85rem 1.5rem rgba(11, 74, 150, 0.28);
  color: #fff;
  transform: translateY(-2px);
}

.linkedin-action:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.profile-preferences {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.preference-group {
  min-width: 0;
}

.preference-label {
  color: var(--muted);
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.profile-preferences .language-control,
.profile-preferences .theme-control {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  display: flex;
  min-height: 2.5rem;
  padding: 0.2rem;
}

.profile-preferences .language-control button,
.profile-preferences .theme-control button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.4rem;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  flex: 1;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 0.24rem;
  justify-content: center;
  min-width: 0;
  padding: 0.35rem;
}

.theme-icon {
  fill: none;
  flex: 0 0 auto;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
  width: 1rem;
}

.profile-preferences .language-control button[aria-pressed="true"],
.profile-preferences .theme-control button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}

.profile-preferences button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 767px), (max-width: 1199px) and (orientation: portrait) {
.identity-card .profile-preferences {
  grid-column: 1 / -1;
  margin: 0 1rem 1rem;
  padding-top: 0.9rem;
}
.linkedin-action {
  min-height: 3.5rem;
}
}

@media (prefers-reduced-motion: reduce) {
.linkedin-action {
  transition: none;
}
.linkedin-action:hover {
  transform: none;
}
}

@media (min-width: 768px) {
.identity-card {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: color-mix(in srgb, var(--brand) 55%, transparent) transparent;
}
.identity-card .portrait-wrap {
  height: 300px;
}
.identity-card .identity-copy {
  padding: 14px 29px 18px;
}
.identity-card .identity-container {
  text-align: left;
}
.identity-card .identity-footnote {
  padding-top: 12px;
  padding-bottom: 12px;
}
}

.identity-card::-webkit-scrollbar {
  width: 7px;
}

.identity-card::-webkit-scrollbar-track {
  background: transparent;
}

.identity-card::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--brand) 55%, transparent);
  border-radius: 99px;
}

.focus-type {
  align-items: baseline;
  column-gap: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  min-height: 0;
  margin-top: 14px;
  padding-top: 14px;
}

.focus-label {
  color: var(--muted);
  display: inline;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  text-transform: uppercase;
}

#focus-rotator {
  white-space: nowrap;
}

#focus-rotator::after {
  animation: blink .85s step-end infinite;
  color: var(--brand);
  content: '|';
  display: inline-block;
  margin-left: 0.12em;
}

.typing-cursor {
  display: none;
}

.profile-section .profile-context {
  align-self: stretch;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
  padding-top: 0;
}

.profile-context-details {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding-top: 16px;
}

.profile-mark {
  align-self: center;
  display: block;
  height: 112px;
  margin: 0;
  object-fit: contain;
  width: 112px;
}

@media (max-width: 980px) and (min-width: 768px) {
.profile-mark {
  height: 92px;
  width: 92px;
}
}

@media (max-width: 767px), (max-width: 1199px) and (orientation: portrait) {
.profile-section .profile-context {
  gap: 12px;
}
.profile-section .profile-mark {
  display: none;
}
.identity-copy > .identity-container h1 {
  display: none;
}
.identity-copy > .identity-container .role {
  margin-top: 0;
}
.focus-type {
  margin-top: 10px;
  padding-top: 10px;
}
}

.project-carousel {
  margin-top: 36px;
}

.project-carousel .projects-collection {
  display: flex;
  gap: 18px;
  margin-top: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-carousel .projects-collection::-webkit-scrollbar {
  display: none;
}

.project-carousel .projects-collection > .project-group,
.project-carousel .projects-collection > .project-card {
  flex: 0 0 min(92%, 920px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.project-carousel-controls button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  color: var(--brand-deep);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 0.85rem;
}

.project-carousel-controls button:hover:not(:disabled) {
  background: var(--brand-soft);
}

.project-carousel-controls button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.55;
}

.project-carousel-controls button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.work-external-links {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

@media (max-width: 767px), (max-width: 1199px) and (orientation: portrait) {
.project-carousel {
  margin-top: 28px;
}
.project-carousel .projects-collection > .project-group,
  .project-carousel .projects-collection > .project-card {
  flex-basis: 94%;
}
.project-carousel-controls {
  justify-content: stretch;
}
.project-carousel-controls button {
  flex: 1;
  justify-content: center;
}
.work-external-links {
  justify-content: flex-start;
}
}

.nav-icon {
  align-items: center;
  display: inline-flex;
  height: 1.35rem;
  justify-content: center;
  width: 1.35rem;
}

.nav-icon svg {
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 100%;
}

.recommender {
  align-items: center;
  display: flex;
}

.recommender img, .recommender-initials {
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: 0 0 2.65rem;
  height: 2.65rem;
  object-fit: cover;
  width: 2.65rem;
}

.recommender-initials {
  align-items: center;
  background: var(--blue-soft);
  color: var(--ink);
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .04em;
}

.ai-strip .ai-symbol {
  align-items: center;
  display: inline-flex;
  flex: 0 0 2.75rem;
  height: 2.75rem;
  justify-content: center;
}

.ai-strip .ai-symbol svg {
  display: block;
  height: 1.55rem;
  overflow: visible;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 1.55rem;
}

.ai-strip .ai-symbol circle {
  fill: color-mix(in srgb, currentColor 13%, transparent);
}

.contact-section .button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.contact-section .button.primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

.contact-section .button.primary:focus-visible {
  outline-color: #fff;
}

html[data-theme="dark"] .contact-section .button.primary {
  background: #78b3ff;
  border-color: #78b3ff;
  color: #0d1724;
}

html[data-theme="dark"] .contact-section .button.primary:hover {
  background: #aacdff;
  border-color: #aacdff;
  color: #0d1724;
}

.content-panel {
  container-name: portfolio-content;
  container-type: inline-size;
}

@container portfolio-content (max-width: 760px) {
.contact-section {
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}
.contact-intro {
  min-width: 0;
}
.contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.contact-actions .button {
  justify-content: center;
  width: 100%;
}
.contact-form {
  min-width: 0;
  width: 100%;
}
}

.form-addressing {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 1.35rem 0 0;
}

.form-route {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem 0;
}

.form-route > label, .form-route > span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 800;
}

.form-route input {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #10243d;
  min-width: 0;
  padding: 0.75rem;
  width: 100%;
}

.form-route input::placeholder {
  color: #64748b;
  opacity: 1;
}

.form-route input:focus-visible {
  border-color: var(--brand);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.form-route .field-error {
  display: block;
  margin-top: 0.35rem;
}

.form-recipient strong {
  color: #fff;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
  padding: 0.65rem 0;
}

@media (min-width: 981px) {
.identity-copy > .identity-container {
  text-align: center;
}
.identity-copy > .identity-container h1 {
  margin-inline: auto;
}
.identity-copy > .identity-container .role {
  text-align: center;
}
}

@media (max-width: 980px) {
.identity-card .identity-container,
  .identity-copy > .identity-container,
  .identity-copy > .identity-container .role {
  text-align: left;
}
.identity-copy > .identity-container h1 {
  margin-inline: 0;
}
}

@media (max-width: 1199px) and (orientation: portrait) {
.site-frame {
  display: block;
  padding: 0;
  width: 100%;
}
.mobile-header {
  align-items: center;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  padding: 11px 20px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.navigation-rail {
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  padding: 10px 20px;
  position: sticky;
  top: 64px;
  z-index: 19;
}
.section-navigation {
  box-shadow: none;
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, 1fr);
}
.section-navigation.is-open {
  display: grid;
}
.section-navigation a {
  display: flex;
  font-size: 0.78rem;
  justify-content: flex-start;
  min-height: 45px;
  padding: 0 12px;
}
.rail-preferences {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}
.identity-card {
  align-items: center;
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  max-height: none;
  overflow: hidden;
  position: relative;
  top: auto;
}
.identity-card .portrait-wrap {
  height: 150px;
}
.portrait-wrap::after {
  display: none;
}
.identity-card .identity-copy {
  padding: 18px 20px;
}
.identity-mark, .identity-footnote {
  display: none;
}
.identity-card h1 {
  font-size: 1.6rem;
  letter-spacing: -0.055em;
  max-width: none;
}
.role {
  font-size: 0.94rem;
  margin-top: 0;
}
.content-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.content-section {
  padding: 48px 20px;
  scroll-margin-top: 132px;
}
.section-heading-row, .recommendation-heading, .site-footer {
  align-items: flex-start;
  flex-direction: column;
}
.work-external-links {
  justify-content: flex-start;
}
.project-group, .project-card {
  padding: 20px;
}
.project-group-header, .project-subprojects, .education-grid, .recommendations-collection, .contact-section {
  grid-template-columns: 1fr;
}
.timeline li {
  gap: 6px;
  grid-template-columns: 1fr;
}
.contact-actions {
  display: grid;
}
.contact-actions .button {
  width: 100%;
}
.contact-form {
  padding: 22px 16px;
}
.profile-preferences {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.profile-preferences .language-control button, .profile-preferences .theme-control button {
  font-size: 0.72rem;
  padding-inline: 0.45rem;
  white-space: nowrap;
}
}

@media (max-width: 480px) {
.identity-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  column-gap: 16px;
  grid-template-columns: minmax(140px, 0.78fr) minmax(0, 1fr);
  margin: 0;
  padding: 12px 24px;
}
.identity-card .portrait-wrap {
  align-self: start;
  border-radius: 13px;
  height: 176px;
}
.identity-card .portrait-wrap::after {
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  bottom: -12px;
  display: block;
  height: 30px;
  left: -9%;
  right: -9%;
}
.identity-card .identity-copy {
  padding: 4px 0;
}
.identity-copy .profile-preferences {
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.identity-copy .profile-preferences .language-control,
  .identity-copy .profile-preferences .theme-control {
  min-height: 2.5rem;
}
.identity-copy .profile-preferences .language-control button,
  .identity-copy .profile-preferences .theme-control button {
  font-size: 0.76rem;
  padding-inline: 0.35rem;
}
.identity-copy .profile-preferences .theme-control button span[data-en] {
  display: none;
}
.identity-copy .focus-type {
  display: block;
}
.identity-copy .focus-label {
  display: block;
  margin-bottom: 0.2rem;
}
}

@media (max-width: 359px) {
.identity-card {
  column-gap: 10px;
  grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1fr);
  margin: 0;
  padding: 10px 16px;
}
.identity-card .portrait-wrap {
  height: 154px;
}
}

@media (prefers-reduced-motion: reduce) {
#focus-rotator::after {
  animation: none;
}
}

.project-image {
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.project-image img {
  display: block;
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.project-details-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--brand);
  border-radius: 0.5rem;
  color: var(--brand-deep);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 18px;
  min-height: 40px;
  padding: 0 0.8rem;
}

.project-details-button:hover {
  background: var(--brand-soft);
}

.project-details-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.subproject-details-button {
  margin-top: 14px;
}

.project-modal {
  background: transparent;
  border: 0;
  margin: auto;
  max-height: min(92dvh, 920px);
  max-width: min(94vw, 1040px);
  padding: 0;
  width: 100%;
}

.project-modal::backdrop {
  background: rgba(10, 21, 36, 0.78);
  backdrop-filter: blur(4px);
}

.project-modal-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  max-height: min(92dvh, 920px);
  overflow: auto;
  position: relative;
}

.project-modal-close {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.7rem;
  height: 2.6rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.6rem;
}

.project-modal-close:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.project-modal-close:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.project-modal-kicker {
  color: var(--brand-deep);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 0.65rem;
  padding-right: 3rem;
  text-transform: uppercase;
}

.project-modal-description {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

.project-modal .technology-list {
  margin-top: 1rem;
}

.project-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-modal-figure {
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 180px;
  overflow: hidden;
}

.project-modal-figure img {
  display: block;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  width: 100%;
}

.project-modal-link {
  display: inline-flex;
  font-weight: 800;
}

@media (max-width: 767px) {
.nav-icon {
  height: 1.2rem;
  width: 1.2rem;
}
.project-image img {
  height: 150px;
}
.project-modal {
  max-height: 100dvh;
  max-width: 100vw;
}
.project-modal-shell {
  border-radius: 0;
  max-height: 100dvh;
  min-height: 100dvh;
}
.project-modal-gallery {
  grid-template-columns: 1fr;
}
.project-modal-figure img {
  max-height: 350px;
}
}

.navigation-rail {
  display: grid;
  gap: 12px;
}

.settings-rail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(20, 37, 62, 0.07);
  display: grid;
  overflow: hidden;
}

.settings-action {
  align-content: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 0.28rem;
  justify-items: center;
  min-height: 76px;
  padding: 0.6rem 0.3rem;
}

.settings-action:last-child {
  border-bottom: 0;
}

.settings-action:hover {
  background: var(--surface-blue);
  color: var(--brand-deep);
}

.settings-action-value {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  line-height: 1;
  min-height: 1rem;
}

.settings-action-label {
  color: var(--ink);
  display: grid;
  gap: 0.16rem;
}

.settings-language-code {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.settings-theme-value {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.settings-theme-icon {
  display: none;
  fill: none;
  height: 1.15rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.15rem;
}

.settings-action[data-next-theme="dark"] .settings-theme-moon,
.settings-action[data-next-theme="light"] .settings-theme-sun {
  display: block;
}

.mobile-tools {
  display: none;
}

@media (max-width: 767px), (max-width: 1199px) and (orientation: portrait) {
.mobile-header {
  justify-content: space-between;
}
.mobile-tools {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}
.menu-toggle, .settings-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  min-height: 42px;
  padding: 0;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  width: 42px;
}
.menu-toggle[aria-expanded="true"], .settings-toggle[aria-expanded="true"] {
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  color: var(--brand-deep);
}
.menu-toggle:hover, .settings-toggle:hover {
  background: var(--surface-blue);
  color: var(--brand-deep);
}
.menu-toggle[aria-expanded="true"]:hover, .settings-toggle[aria-expanded="true"]:hover {
  background: var(--brand-soft);
}
.menu-toggle svg, .settings-toggle svg {
  fill: none;
  height: 1.35rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.35rem;
}
.settings-toggle svg {
  stroke-width: 1.55;
}
.navigation-rail {
  grid-template-columns: 1fr auto;
}
.settings-rail {
  box-shadow: none;
  display: none;
  grid-column: 1 / -1;
}
.settings-rail.is-open {
  display: grid;
}
.settings-action {
  align-items: center;
  border-bottom: 0;
  border-right: 1px solid var(--line);
  grid-template-columns: auto 1fr;
  justify-items: start;
  padding: 0.55rem 0.8rem;
  text-align: left;
}
.settings-action:last-child {
  border-right: 0;
}
.settings-action-value {
  align-self: center;
  line-height: 1;
  min-width: 1.5rem;
  text-align: center;
}
.settings-action-label {
  align-self: center;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.015em;
  line-height: 1;
  text-transform: none;
}
}

@media (max-width: 359px) {
.mobile-tools {
  gap: 0.35rem;
}
.menu-toggle, .settings-toggle {
  height: 39px;
  min-height: 39px;
  width: 39px;
}
}

.recommendations-collection {
  display: flex;
  gap: 12px;
  overflow-x: hidden;
  padding: 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.recommendations-collection::-webkit-scrollbar {
  display: none;
}

.recommendation-card {
  display: flex;
  flex: 0 0 calc((100% - 12px) / 2);
  flex-direction: column;
  gap: 0;
  margin: 0;
  min-height: 0;
  padding: 24px;
  scroll-snap-align: start;
}

.recommendation-card .quote-mark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 700;
  height: 1.15rem;
  line-height: 0.64;
  margin: 0;
}

.recommendation-card blockquote {
  margin: 0.7rem 0 1.25rem;
}

.recommender {
  gap: 0.7rem;
  margin-top: auto;
}

.recommender > span {
  display: grid;
  gap: 0.22rem;
  line-height: 1.35;
}

.recommender strong {
  line-height: 1.2;
}

.recommender-role {
  color: var(--muted);
  font-size: 0.8rem;
}

.recommendation-pagination {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}

.recommendation-pagination button {
  background: color-mix(in srgb, var(--muted) 45%, transparent);
  border: 0;
  border-radius: 50%;
  height: 0.62rem;
  padding: 0;
  transition: background-color 160ms ease, transform 160ms ease;
  width: 0.62rem;
}

.recommendation-pagination button:hover {
  background: var(--brand);
  transform: scale(1.12);
}

.recommendation-pagination button[aria-current="page"] {
  background: var(--brand-deep);
  transform: scale(1.15);
}

.recommendation-originals-link {
  gap: 0.42rem;
}

.linkedin-inline-icon {
  display: block;
  flex: 0 0 auto;
  height: 1.12rem;
  width: 1.12rem;
}

.linkedin-inline-icon .linkedin-field {
  fill: currentColor;
}

.linkedin-inline-icon .linkedin-letter {
  fill: var(--surface);
}

.language-conversation {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.language-conversation-canvas {
  height: 7.4rem;
  margin-inline: auto;
  max-width: 14rem;
  position: relative;
  width: 100%;
}

.language-conversation .language-card-title {
  color: var(--brand-deep);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  left: 0;
  letter-spacing: 0.08em;
  margin: 0;
  position: absolute;
  text-align: left;
  text-transform: uppercase;
  top: 0.9rem;
}

.language-bubbles {
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.language-bubble {
  border-radius: 14px;
  color: #fff;
  display: grid;
  gap: 0.1rem;
  max-width: 100%;
  padding: 0.72rem 0.9rem;
  position: absolute;
  width: fit-content;
}

.language-bubble::after {
  border-style: solid;
  bottom: -0.42rem;
  content: "";
  height: 0;
  position: absolute;
  width: 0;
}

.language-bubble-spanish {
  background: #2467c5;
  right: 2rem;
  top: 0;
  z-index: 2;
}

.language-bubble-spanish::after {
  border-color: #2467c5 #2467c5 transparent transparent;
  border-width: 0.5rem 0 0 0.55rem;
  right: 0.9rem;
}

.language-bubble-english {
  background: #5793e9;
  left: 1.25rem;
  top: 2.6rem;
  z-index: 1;
}

.language-bubble-english::after {
  border-color: #5793e9 transparent transparent #5793e9;
  border-width: 0.5rem 0.55rem 0 0;
  left: 0.9rem;
}

.language-conversation .language-bubble strong {
  color: #fff;
  display: block;
}

.language-conversation .language-bubble span {
  color: rgba(255, 255, 255, 0.86);
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0;
  text-transform: none;
}

.about-section .about-layout {
  column-gap: 35px;
  row-gap: 1rem;
}

.about-summary {
  display: grid;
  gap: 2rem;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-section .about-summary p {
  margin: 0;
  max-width: none;
}

@media (min-width: 1200px) {
.about-section .about-layout {
  position: relative;
}
.about-section .about-introduction {
  grid-column: 1 / -1;
}
.about-section .about-introduction h2 {
  max-width: 27ch;
}
.about-section .language-conversation {
  position: absolute;
  right: 0;
  top: 0;
  width: 14rem;
}
}

@media (max-width: 980px) {
.about-summary {
  gap: 1rem;
  grid-template-columns: 1fr;
}
}

.capabilities-heading-row {
  justify-content: space-between;
}

.capabilities-heading-row h2 {
  flex: 1 1 auto;
}

.capabilities-heading-row h2 > span {
  display: block;
}

.capabilities-heading-subtitle {
  color: var(--muted);
  letter-spacing: -0.035em;
  margin-top: 0.1em;
}

.resume-download {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  flex: 0 0 13.5rem;
  gap: 0.65rem;
  grid-template-columns: 1.9rem minmax(0, 1fr) 1.25rem;
  padding: 0 0 0.7rem;
  text-decoration: none;
}

.resume-download:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.resume-download span {
  gap: 0.05rem;
  line-height: 1.2;
}

.resume-download small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.resume-download strong {
  color: currentColor;
}

.resume-document-icon, .resume-arrow-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resume-document-icon {
  height: 1.7rem;
  stroke-width: 1.55;
  width: 1.7rem;
}

.resume-arrow-icon {
  height: 1.1rem;
  justify-self: end;
  stroke-width: 1.8;
  width: 1.1rem;
}

@media (min-width: 1200px) {
.capabilities-heading-row h2 > span:first-child {
  white-space: nowrap;
}
}

@container portfolio-content (max-width: 760px) {
.capabilities-heading-row {
  align-items: flex-start;
  flex-direction: column;
}
.capabilities-heading-row h2 > span:first-child {
  white-space: normal;
}
.resume-download {
  flex-basis: auto;
}
}

@media (max-width: 767px), (max-width: 1199px) and (orientation: portrait) {
.recommendation-card {
  flex-basis: 100%;
}
}
