/* foundation.css */
/* foundation.css — ordered rules; responsive variants stay with their components. */
:root {
  --canvas: #f2f3f1;
  --canvas-shape: #dce3df;
  --surface: #fffefd;
  --surface-soft: #f4f7f5;
  --surface-blue: #eef5fc;
  --ink: #10243d;
  --muted: #5a6a7d;
  --line: #d9e0e5;
  --brand: #1d62bd;
  --brand-deep: #103d7c;
  --brand-soft: #dceafd;
  --sage: #e8f1e9;
  --sage-ink: #356b53;
  --shadow: 0 18px 50px rgba(20,37,62,.12);
  --radius: 18px;
  --card-radius: 16px;
  --max: 1520px;
}

html[data-theme=dark] {
  --canvas: #14202e;
  --canvas-shape: #223342;
  --surface: #1b2a3b;
  --surface-soft: #233448;
  --surface-blue: #1a3856;
  --ink: #f3f7fb;
  --muted: #bdc9d5;
  --line: #40546a;
  --brand: #78b3ff;
  --brand-deep: #aacdff;
  --brand-soft: #234a75;
  --sage: #223d36;
  --sage-ink: #b9e3c6;
  --shadow: 0 18px 50px rgba(0,0,0,.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font: 400 16px/1.6 "Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
}

body::before,body::after {
  position: fixed;
  z-index: -1;
  display: block;
  width: 34vw;
  height: 34vw;
  border: 1px solid color-mix(in srgb,var(--canvas-shape) 72%,transparent);
  content: "";
  transform: rotate(25deg);
}

body::before {
  top: -12vw;
  right: -8vw;
}

body::after {
  bottom: -16vw;
  left: -10vw;
}

a {
  color: var(--brand-deep);
  text-underline-offset: .2em;
}

a:hover {
  color: var(--brand);
}

button,input,textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: #fff;
  background: var(--brand-deep);
  transform: translateY(-130%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-frame {
  display: grid;
  grid-template-columns: 88px 360px minmax(0,1fr);
  gap: 28px;
  width: min(calc(100% - 56px),var(--max));
  min-height: 100vh;
  padding: 42px 0;
  margin: 0 auto;
}

.mobile-header {
  display: none;
}

.navigation-rail {
  position: sticky;
  top: 42px;
  align-self: start;
}

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

.section-navigation a {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 78px;
  padding: 8px 3px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  letter-spacing: .015em;
  text-align: center;
  text-decoration: none;
}

.section-navigation a:last-child {
  border-bottom: 0;
}

.section-navigation a[aria-current=true] {
  color: var(--brand-deep);
  background: var(--brand-soft);
  box-shadow: inset 3px 0 var(--brand);
}

.section-navigation a:hover {
  color: var(--brand-deep);
  background: var(--surface-blue);
}

.nav-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.rail-preferences {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.language-control,.theme-control {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.language-control button,
.theme-control button {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: .68rem;
  font-weight: 800;
}

.language-control button[aria-pressed=true],.theme-control button[aria-pressed=true] {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.identity-card {
  position: sticky;
  top: 42px;
  align-self: start;
  overflow: hidden;
  border: 1px solid color-mix(in srgb,var(--line) 70%,transparent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  height: 370px;
  background: #e9ece9;
}

.portrait-wrap::after {
  position: absolute;
  right: -5%;
  bottom: -10px;
  left: -5%;
  height: 30px;
  border-radius: 50% 50% 0 0/100% 100% 0 0;
  background: var(--surface);
  content: "";
}

.portrait-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.identity-copy {
  padding: 16px 38px 34px;
}

.identity-card.identity-container {
  text-align: center;
}

.identity-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 16px;
}

.identity-card h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem,2.8vw,2.58rem);
  letter-spacing: -.065em;
  line-height: .98;
}

.role {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.focus-type {
  border-top: 1px solid var(--line);
  color: var(--brand-deep);
  font-size: .9rem;
  font-weight: 700;
}

.typing-cursor {
  color: var(--brand);
  animation: blink .85s step-end infinite;
}

.linkedin-action {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.identity-footnote {
  padding: 17px 38px;
  margin: 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .76rem;
}

.content-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-section {
  padding: 56px 64px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 28px;
}

.content-section:last-of-type {
  border-bottom: 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--brand-deep);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.kicker-line {
  width: 32px;
  height: 3px;
  background: var(--brand);
}

h2,h3,p {
  margin-top: 0;
}

h2 {
  max-width: 17ch;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2rem,4vw,3.4rem);
  letter-spacing: -.065em;
  line-height: 1.03;
}

h3 {
  color: var(--ink);
  line-height: 1.2;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(210px,.45fr);
  gap: 44px;
  align-items: end;
}

.lead {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.63;
}

.profile-context {
  display: grid;
  gap: 6px;
  padding: 19px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}

.profile-context strong {
  color: var(--ink);
  font-size: 1rem;
}

.ai-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  margin-top: 42px;
  border: 1px solid color-mix(in srgb,var(--sage-ink) 22%,transparent);
  border-radius: 13px;
  background: var(--sage);
}

.ai-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--sage-ink);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.4rem;
}

.ai-strip div {
  display: grid;
  gap: 2px;
}

.ai-strip strong {
  color: var(--ink);
}

.ai-strip div span {
  color: var(--sage-ink);
  font-size: .88rem;
  font-weight: 700;
}

.ai-strip a {
  margin-left: auto;
  color: var(--ink);
  font-size: 1.35rem;
  text-decoration: none;
}

.timeline {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0,1fr);
  gap: 24px;
  padding: 0 0 29px 23px;
  border-left: 1px solid var(--line);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  position: absolute;
  top: 6px;
  left: -6px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.timeline-date {
  color: var(--brand-deep);
  font-size: .8rem;
  font-weight: 800;
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.timeline p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 35px;
  margin-top: 35px;
  border-top: 1px solid var(--line);
}

.education-grid article {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.education-grid span {
  color: var(--muted);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.education-grid small {
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.45;
}

.work-section {
  background: color-mix(in srgb,var(--surface-blue) 58%,var(--surface));
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.inline-link {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
}

.projects-collection {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.collection-loading,.collection-error {
  margin: 0;
  color: var(--muted);
}

.project-group,.project-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.project-group-header {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: start;
}

.project-kind,.project-status {
  display: inline-flex;
  width: max-content;
  padding: 4px 8px;
  margin-bottom: 10px;
  color: var(--brand-deep);
  border-radius: 99px;
  background: var(--brand-soft);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.project-group h3,.project-card h3 {
  margin: 0 0 9px;
  font-size: 1.28rem;
}

.project-group-header p,.project-card p {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
}

.project-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--brand-deep);
  font-weight: 800;
}

.project-subprojects {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.project-subproject {
  padding: 17px;
  border-radius: 11px;
  background: var(--surface-soft);
}

.project-subproject h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: .98rem;
}

.project-subproject p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 15px 0 0;
  list-style: none;
}

.technology-list li {
  padding: 3px 7px;
  color: var(--brand-deep);
  border: 1px solid color-mix(in srgb,var(--brand) 28%,transparent);
  border-radius: 6px;
  background: var(--surface);
  font-size: .72rem;
  font-weight: 700;
}

.subproject-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand-deep);
  font-size: .84rem;
  font-weight: 800;
}

.project-card.coming-soon {
  position: relative;
  min-height: 170px;
  border-style: dashed;
  background: transparent;
}

.project-card.coming-soon::after {
  position: absolute;
  right: 22px;
  bottom: 17px;
  color: var(--muted);
  content: "→";
}

.capabilities-section {
  background: var(--surface);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 35px;
}

.capability-grid article {
  position: relative;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface-soft);
}

.capability-number {
  display: block;
  color: var(--brand-deep);
  font-size: .76rem;
  font-weight: 800;
}

.capability-grid h3 {
  font-size: 1.18rem;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .89rem;
}

.capability-grid ul {
  padding: 0;
  margin: 19px 0 0;
  list-style: none;
}

.capability-grid li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}

.capability-grid li:last-child {
  border-bottom: 0;
}

.about-section {
  background: var(--surface-soft);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(220px,.5fr);
  gap: 35px;
  align-items: start;
}

.about-layout h2 {
  font-size: clamp(1.8rem,3vw,2.65rem);
}

.about-layout p {
  max-width: 53ch;
  color: var(--muted);
}

.language-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.language-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-deep);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.language-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.2;
}

.language-card p {
  margin: 10px 0 0;
  font-size: .9rem;
}

.recommendation-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 38px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.recommendation-heading span {
  color: var(--brand-deep);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.recommendation-heading h3 {
  margin: 5px 0 0;
  font-size: 1.22rem;
}

.recommendations-collection {
  grid-template-columns: repeat(2,1fr);
  margin-top: 24px;
}

.recommendation-card {
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.quote-mark {
  color: var(--brand);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: .4;
}

.recommendation-card blockquote {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}

.recommender {
  color: var(--muted);
}

.recommender-initials {
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
}

.recommender strong {
  display: block;
  color: var(--ink);
  font-size: .86rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(340px,1fr);
  gap: 46px;
  color: #fff;
  background: var(--ink);
}

html[data-theme=dark] .contact-section {
  background: #0d1724;
}

.contact-section h2,.contact-section .section-kicker {
  color: #fff;
}

.contact-section p {
  color: color-mix(in srgb,#fff 78%,transparent);
}

.contact-section .kicker-line {
  background: var(--brand);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: #fff;
}

.button.primary:hover {
  color: var(--ink);
  background: var(--brand-soft);
}

.button.secondary {
  color: #fff;
  border-color: color-mix(in srgb,#fff 60%,transparent);
}

.button.secondary:hover {
  color: #fff;
  background: rgba(255,255,255,.13);
}

.contact-form {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--card-radius);
  background: rgba(255,255,255,.06);
}

.form-intro,.form-fallback {
  font-size: .88rem;
}

.form-field {
  display: grid;
  gap: 7px;
  margin: 17px 0;
}

.form-field label {
  font-weight: 700;
}

.form-field input,.form-field textarea {
  width: 100%;
  padding: 12px;
  color: #10243d;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
}

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

.form-field [aria-invalid=true] {
  border-color: #b42318;
}

.field-error,.form-status {
  min-height: 1.25em;
  color: #ffd7d2;
  font-size: .82rem;
}

.form-status.success {
  color: #bcf5ca;
}

.form-summary {
  padding: 10px 12px;
  margin-bottom: 15px;
  color: #ffd7d2;
  border-left: 3px solid #ffd7d2;
  background: rgba(180,35,24,.25);
  font-size: .88rem;
}

.recaptcha-wrap {
  margin: 22px 0;
  overflow-x: auto;
}

.form-fallback a {
  color: #fff;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 64px;
  color: var(--muted);
  font-size: .8rem;
}

.site-footer a {
  color: var(--brand-deep);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--brand);
}

@keyframes blink {
50% {
  opacity: 0;
}
}

@media(max-width:1240px) {
.site-frame {
  grid-template-columns: 76px 310px minmax(0,1fr);
  gap: 18px;
  width: min(calc(100% - 34px),var(--max));
}
.identity-copy {
  padding-right: 29px;
  padding-left: 29px;
}
.identity-footnote {
  padding-right: 29px;
  padding-left: 29px;
}
.portrait-wrap {
  height: 332px;
}
.content-section {
  padding: 48px;
}
.project-subprojects {
  grid-template-columns: 1fr;
}
.capability-grid {
  grid-template-columns: 1fr;
}
.capability-grid p {
  min-height: auto;
}
}

@media(max-width:980px) {
.site-frame {
  grid-template-columns: 70px minmax(250px,300px) minmax(0,1fr);
  gap: 14px;
  padding-top: 24px;
}
.navigation-rail,.identity-card {
  top: 24px;
}
.content-section {
  padding: 40px 34px;
}
.profile-layout,.about-layout,.contact-section {
  grid-template-columns: 1fr;
}
.profile-context {
  max-width: 420px;
}
.education-grid,.recommendations-collection {
  grid-template-columns: 1fr;
}
.contact-section {
  gap: 32px;
}
.portrait-wrap {
  height: 285px;
}
.identity-card h1 {
  font-size: 2rem;
}
}

@media(max-width:767px) {
body::before,body::after {
  width: 70vw;
  height: 70vw;
}
.site-frame {
  display: block;
  width: 100%;
  padding: 0;
}
.mobile-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb,var(--surface) 93%,transparent);
  backdrop-filter: blur(12px);
}
.mobile-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-brand img {
  flex: 0 0 auto;
}
.menu-toggle {
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 800;
}
.navigation-rail {
  position: sticky;
  top: 64px;
  z-index: 19;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb,var(--surface) 96%,transparent);
  backdrop-filter: blur(12px);
}
.section-navigation {
  display: none;
  grid-column: 1/-1;
  grid-template-columns: repeat(2,1fr);
  box-shadow: none;
}
.section-navigation.is-open {
  display: grid;
}
.section-navigation a {
  display: flex;
  justify-content: flex-start;
  min-height: 45px;
  padding: 0 12px;
  font-size: .78rem;
}
.nav-icon {
  width: 22px;
  font-size: 1.1rem;
}
.rail-preferences {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.identity-card {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: 124px 1fr;
  align-items: center;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
}
.portrait-wrap {
  height: 150px;
}
.portrait-wrap::after {
  bottom: -5px;
  height: 15px;
}
.identity-copy {
  padding: 18px 20px;
}
.identity-mark,.identity-footnote {
  display: none;
}
.identity-card h1 {
  max-width: none;
  font-size: 1.6rem;
  letter-spacing: -.055em;
}
.role {
  margin-top: 5px;
  font-size: .94rem;
}
.focus-type {
  min-height: 0;
  padding-top: 11px;
  margin-top: 10px;
}
.linkedin-action {
  min-height: 34px;
  padding-top: 11px;
  margin-top: 10px;
  font-size: .84rem;
}
.content-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.content-section {
  padding: 48px 20px;
  scroll-margin-top: 132px;
}
h2 {
  max-width: 18ch;
  font-size: clamp(2rem,9vw,2.7rem);
}
.section-heading-row,.recommendation-heading,.site-footer {
  align-items: flex-start;
  flex-direction: column;
}
.inline-link {
  margin-top: 0;
}
.project-group,.project-card {
  padding: 20px;
}
.project-group-header {
  grid-template-columns: 1fr;
}
.project-subprojects {
  grid-template-columns: 1fr;
}
.timeline li {
  grid-template-columns: 1fr;
  gap: 6px;
}
.education-grid {
  grid-template-columns: 1fr;
}
.recommendations-collection {
  grid-template-columns: 1fr;
}
.contact-section {
  grid-template-columns: 1fr;
}
.contact-actions {
  display: grid;
}
.contact-actions .button {
  width: 100%;
}
.contact-form {
  padding: 22px 16px;
}
.site-footer {
  padding: 25px 20px;
}
.recaptcha-wrap {
  max-width: 100%;
  overflow-x: auto;
}
}

@media(max-width:359px) {
.mobile-header,.navigation-rail {
  padding-right: 13px;
  padding-left: 13px;
}
.content-section {
  padding-right: 16px;
  padding-left: 16px;
}
.portrait-wrap {
  height: 142px;
}
.identity-card {
  grid-template-columns: 108px 1fr;
}
.g-recaptcha {
  transform: scale(.78);
  transform-origin: top left;
}
.recaptcha-wrap {
  height: 64px;
  overflow: hidden;
}
}

@media(prefers-reduced-motion:reduce) {
html {
  scroll-behavior: auto;
}
*,*::before,*::after {
  scroll-behavior: auto!important;
  animation-duration: .01ms!important;
  animation-iteration-count: 1!important;
  transition-duration: .01ms!important;
}
.typing-cursor {
  display: none;
}
}

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

.project-image img,.subproject-image img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.subproject-image {
  margin-top: 14px;
}

.subproject-image img {
  max-height: 170px;
}

.recommender img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 50%;
}
