/* Portfolio: warm paper, ink, a single electric accent. */
:root {
  --paper: #f4f3ed;
  --ink: #20221f;
  --muted: #60665a;
  --line: #d5d7ce;
  --accent: #dce7cf;
  --surface: #eaece4;
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
  --max: 1320px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.preview-open {
  overflow: hidden;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #467200;
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
}
button,
summary {
  cursor: pointer;
}
a {
  text-underline-offset: 5px;
}
a:hover {
  text-decoration-color: currentColor;
}
p {
  color: var(--muted);
}
.wrap {
  width: calc(100% - 112px);
  max-width: var(--max);
  margin-inline: auto;
}
.section-space {
  padding-block: 105px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 650;
  color: var(--ink);
}
.muted {
  color: var(--muted);
}
.title-dot {
  color: #52664b;
}
.serif-word {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  padding: 12px 20px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  height: 88px;
  margin-inline: auto;
  padding-inline: 56px;
  display: flex;
  align-items: center;
  gap: 44px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 243, 237, 0.95);
  backdrop-filter: blur(12px);
}
.wordmark {
  font-family: var(--display);
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -5px;
  line-height: 1;
}
.brand-dot {
  color: #52664b;
}
.header-note {
  font-size: 9px;
  letter-spacing: 0.11em;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 550;
}
.site-header nav a {
  padding-block: 12px;
}
.site-header nav a:hover {
  text-decoration: underline;
}
.site-header nav a > span {
  font-size: 8px;
  vertical-align: super;
  margin-left: 4px;
  color: var(--muted);
}
.site-header nav .nav-contact {
  margin-left: 12px;
  border-bottom: 1px solid var(--ink);
}
.site-header nav .nav-contact span {
  font-size: 16px;
  vertical-align: baseline;
  color: var(--ink);
}
.menu-toggle {
  display: none;
}
.hero {
  padding-top: 42px;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #4e762a;
  flex: none;
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 27px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 42px;
  padding: 15px 22px;
  font-size: 12px;
  font-weight: 550;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button-dark {
  background: var(--ink);
  color: var(--paper);
}
.button-dark:hover {
  background: #3d4433;
  transform: translateY(-2px);
}
.button span {
  font-size: 19px;
  line-height: 1;
}
.text-link {
  font-size: 12px;
  font-weight: 650;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  display: inline-block;
}
.text-link:hover {
  color: #4e6427;
}

.proof-strip {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 23px 0;
  gap: 28px;
}
.proof-strip p {
  position: relative;
  padding-left: 32px;
  font-size: 10px;
}
.proof-strip strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
}
.proof-symbol {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 24px;
  color: var(--ink);
}
.section-number {
  display: inline-flex;
  border: 1px solid #a6ab9b;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: 0;
  margin-right: 14px;
}
.section-heading-main {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-end;
  margin: 25px 0 42px;
}
h2 {
  font-size: clamp(36px, 4.1vw, 60px);
  letter-spacing: -0.05em;
}
.section-heading-main > p {
  font-size: 14px;
  max-width: 310px;
}
.project {
  min-width: 0;
}
.project-visual {
  position: relative;
  overflow: hidden;
}
.clinic-visual {
  background: #e1e7dc;
  padding: 27px 44px 20px;
  background-image: radial-gradient(
    ellipse at 70% 10%,
    #f2f4e8,
    transparent 65%
  );
}
.visual-heading,
.visual-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.visual-pill {
  border: 1px solid #9ca894;
  border-radius: 30px;
  padding: 4px 9px;
  font-size: 9px;
  white-space: nowrap;
}
.clinic-visual .image-link {
  display: block;
  position: relative;
  margin: 30px auto 20px;
  max-width: 960px;
  box-shadow: 0 20px 45px #1c2c2820;
  border: 5px solid #fff;
  border-radius: 7px;
  overflow: hidden;
}
.clinic-visual img {
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
  object-position: top;
}
.expand-mark {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform 0.2s;
}
.image-link:hover .expand-mark,
.client-image:hover .expand-mark {
  transform: rotate(45deg);
}
.visual-footer {
  font-size: 9px;
  color: #5a6755;
}
.project-body {
  padding: 23px 0 0;
}
.project-meta {
  font-size: 9px;
  letter-spacing: 0.06em;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
}
.status-label {
  display: flex;
  gap: 7px;
  align-items: center;
}
.project-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.project h3 {
  font-size: 27px;
  letter-spacing: -0.04em;
  margin-bottom: 17px;
}
.featured h3 {
  font-size: 38px;
}
.project p {
  font-size: 14px;
}
.project p + p {
  margin-top: 12px;
}
.fine-print {
  font-size: 11px !important;
  line-height: 1.65;
}
.tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 21px 0 0;
}
.tags li {
  border: 1px solid var(--line);
  padding: 4px 8px;
  font-size: 9px;
  color: #535a4d;
}
.case-details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.case-details summary,
.more-work summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  font-weight: 600;
  padding-block: 16px;
}
.case-details summary::-webkit-details-marker,
.more-work summary::-webkit-details-marker {
  display: none;
}
.case-details summary > span,
.more-work summary > span:last-child {
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] > summary > span:last-child {
  transform: rotate(45deg);
}
summary:hover {
  color: #55712b;
}
.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 16px 0 24px;
}
h4 {
  font-size: 15px;
  letter-spacing: -0.02em;
}
.case-detail-grid h4,
.detail-prose h4 {
  margin-bottom: 10px;
}
.project-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.demo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 15px 0;
}
.demo-gallery img {
  aspect-ratio: 1.6;
  object-fit: cover;
  object-position: top;
}
.demo-gallery span {
  font-size: 11px;
}
.case-details > .fine-print {
  padding-bottom: 20px;
}
.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  margin-top: 75px;
}
.project-pair .project-visual {
  height: 365px;
  padding: 23px;
}
.football-visual {
  background: #dddcd3;
}
.club-gallery {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 26px auto;
}
.club-gallery a {
  width: 31%;
  max-width: 135px;
  box-shadow: 0 8px 20px #19241818;
  transition: transform 0.25s;
}
.club-gallery a:nth-child(2) {
  transform: translateY(16px);
}
.club-gallery a:hover {
  transform: translateY(-5px);
}
.club-gallery img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.ai-visual {
  background: #222c25;
  color: #edf0e5;
}
.ai-visual .eyebrow {
  color: #d8e0ce;
}
.ai-visual .visual-pill {
  border-color: #68775c;
}
.workflow-art {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 290px;
  margin: 25px auto 10px;
  gap: 8px;
}
.workflow-art > span {
  padding: 7px 0;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #c9d1c2;
}
.workflow-art > i {
  color: #8b9c7d;
  font-size: 20px;
  font-style: normal;
}
.workflow-art strong {
  grid-column: 1/-1;
  background: var(--accent);
  color: var(--ink);
  padding: 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.workflow-art strong span {
  font-size: 23px;
  line-height: 1;
}
.ai-screenshot {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.ai-screenshot img {
  width: 85px;
  height: 53px;
  object-fit: cover;
  object-position: top;
  border: 1px solid #657558;
}
.ai-screenshot > span {
  font-size: 10px;
  border-bottom: 1px solid #657558;
}
.detail-prose {
  padding: 10px 0 24px;
}
.detail-prose .text-link {
  margin-top: 18px;
}

.client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}
.client-image {
  position: relative;
  display: block;
  background: var(--surface);
  overflow: hidden;
}
.client-image > img {
  aspect-ratio: 1.6;
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.45s;
}
.client-image:hover > img {
  transform: scale(1.025);
}
.client-project .project-meta {
  margin-top: 20px;
  margin-bottom: 12px;
}
.client-project h4 {
  font-size: 25px;
  margin-bottom: 12px;
}
.client-project p {
  font-size: 14px;
}
.client-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
}
.client-footer > span {
  font-size: 10px;
  color: var(--muted);
}
.more-work {
  border-block: 1px solid var(--line);
  margin-top: 45px;
}
.more-work summary {
  font-size: 14px;
  padding-block: 22px;
}
.more-work summary .muted {
  font-weight: 400;
  margin-left: 10px;
}
.experiment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 0 35px;
}
.experiment-grid p {
  font-size: 12px;
  margin: 12px 0;
}
.academic-list {
  padding-bottom: 25px;
}
.academic-list h4 {
  margin-bottom: 15px;
}
.academic-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.academic-list a:hover {
  text-decoration: underline;
}
.academic-list a span {
  color: var(--muted);
}
.about-section {
  background: #e9ebe3;
}

.personal-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  font-size: 11px;
}
.journey {
  padding-top: 10px;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
}
.timeline li {
  display: flex;
  gap: 32px;
  padding-block: 17px;
  border-top: 1px solid #cbd0c3;
}
.timeline-date {
  font-size: 10px;
  color: var(--muted);
  padding-top: 2px;
}
.timeline h4 {
  font-size: 14px;
}
.timeline p {
  font-size: 11px;
  margin-top: 6px;
}

.skill-rows {
  margin-top: 55px;
}
.skill-row {
  display: grid;
  grid-template-columns: 45px 1fr 1.45fr 25px;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.skill-row:last-child {
  border-bottom: 1px solid var(--line);
}
.skill-index {
  font-size: 10px;
  color: var(--muted);
}
.skill-row h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.skill-row p {
  font-size: 12px;
}
.skill-row > a {
  font-size: 23px;
  min-width: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
}
.working-note {
  display: flex;
  gap: 40px;
  align-items: baseline;
  margin-top: 33px;
}
.working-note p {
  font-size: 11px;
}
.working-note p span {
  margin: 0 10px;
  color: #525f3b;
}
.contact-section {
  background: var(--accent);
  padding-bottom: 0;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.contact-top .status-dot {
  margin-right: 10px;
}
.contact-section h2 {
  font-size: clamp(44px, 6.5vw, 95px);
  letter-spacing: -0.065em;
  line-height: 1.06;
  margin: 45px 0;
}
.contact-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  margin-top: 40px;
}
.contact-bottom p {
  color: #3b4a25;
  font-size: 12px;
}
.email-link {
  font-size: clamp(16px, 2.2vw, 30px);
  font-family: var(--display);
  letter-spacing: -0.04em;
  display: inline-block;
  margin-top: 9px;
  border-bottom: 1px solid #6e863e;
  padding-bottom: 7px;
}
.email-link span {
  margin-left: 10px;
}
.contact-socials {
  display: flex;
  gap: 25px;
  font-size: 11px;
  margin-top: 23px;
}
.contact-socials a:hover {
  text-decoration: underline;
}
.opportunity-note {
  max-width: 390px;
}
.opportunity-note h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.opportunity-note p + p {
  margin-top: 10px;
}
.site-footer {
  border-top: 1px solid #adbea0;
  display: flex;
  gap: 35px;
  align-items: center;
  margin-top: 78px;
  padding: 25px 0;
}
.site-footer .wordmark {
  font-size: 32px;
  letter-spacing: -4px;
}
.site-footer p {
  font-size: 10px;
  color: #3b4a25;
}
.site-footer > a:last-child {
  margin-left: auto;
  font-size: 11px;
}
dialog {
  width: min(1100px, 94vw);
  max-height: 92dvh;
  border: 1px solid var(--line);
  padding: 50px 22px 20px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #111910df;
  backdrop-filter: blur(6px);
}
dialog > img {
  max-height: 72dvh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: auto;
}
dialog > p {
  font-size: 12px;
  text-align: center;
  margin-top: 15px;
}
.preview-close {
  position: absolute;
  right: 15px;
  top: 8px;
  border: 0;
  background: none;
  min-height: 35px;
  padding: 3px 10px;
  font-size: 12px;
}
.preview-close span {
  font-size: 22px;
  margin-left: 12px;
}
.preview-close:hover {
  background: var(--accent);
}
@media (min-width: 1600px) {
  .site-header {
    padding-inline: max(56px, calc((100vw - 1320px) / 2));
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    padding-inline: 32px;
    gap: 25px;
  }
  .header-note {
    display: none;
  }

  .project-pair {
    gap: 26px;
  }
  .project-pair .project-visual {
    height: 315px;
    padding: 18px;
  }
  .visual-heading .eyebrow {
    font-size: 8px;
  }
  .visual-pill {
    font-size: 8px;
  }
  .club-gallery {
    gap: 7px;
    margin-top: 29px;
  }
  .workflow-art {
    margin-top: 17px;
    gap: 3px;
  }

  .client-grid {
    gap: 26px;
  }
  .skill-row {
    grid-template-columns: 30px 1fr 1.35fr 25px;
  }
  .skill-row h3 {
    font-size: 19px;
  }
  .contact-bottom {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 85px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .section-space {
    padding-block: 70px;
  }
  .site-header {
    height: 70px;
    padding-inline: 20px;
  }
  .wordmark {
    font-size: 37px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 11px;
  }
  .site-header nav a > span {
    display: none;
  }
  .site-header nav .nav-contact {
    margin-left: 0;
  }
  .hero {
    padding-top: 27px;
  }
  .hero-topline {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .eyebrow {
    font-size: 9px;
  }

  .actions {
    gap: 22px;
    margin-top: 23px;
  }
  .button {
    padding: 14px 18px;
    gap: 28px;
  }
  .proof-strip {
    gap: 15px;
    padding-block: 19px;
  }
  .proof-strip p {
    padding: 0;
    font-size: 9px;
  }
  .proof-strip strong {
    font-size: 10px;
    margin-top: 4px;
  }
  .proof-symbol {
    display: none;
  }
  .section-heading-main {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  .section-heading-main > p {
    font-size: 12px;
  }
  .section-heading-main > p br {
    display: none;
  }
  h2 {
    font-size: 40px;
  }
  .clinic-visual {
    padding: 16px;
  }
  .visual-heading {
    gap: 10px;
  }
  .clinic-visual .image-link {
    margin: 23px 0 15px;
    border-width: 3px;
  }
  .clinic-visual img {
    aspect-ratio: 1.65;
  }
  .visual-footer {
    font-size: 8px;
    gap: 10px;
  }
  .project-summary {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .featured h3 {
    font-size: 31px;
  }
  .project-body {
    padding-top: 19px;
  }
  .project-meta {
    font-size: 8px;
    margin-bottom: 17px;
    gap: 10px;
  }
  .project p {
    font-size: 14px;
  }
  .project-pair {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 45px;
  }
  .project-pair .project-visual {
    height: auto;
    min-height: 330px;
    padding: 22px;
  }
  .club-gallery {
    margin-top: 22px;
    margin-bottom: 22px;
  }
  .club-gallery a {
    max-width: 128px;
  }
  .ai-visual .workflow-art {
    margin-top: 22px;
    gap: 5px;
  }
  .ai-screenshot {
    margin-bottom: 10px;
  }
  .case-detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .project h3 {
    font-size: 27px;
  }

  .client-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .client-footer {
    gap: 10px;
  }
  .client-footer > span {
    font-size: 9px;
  }
  .more-work {
    margin-top: 35px;
  }
  .more-work summary {
    font-size: 12px;
  }
  .more-work summary .muted {
    display: block;
    margin: 3px 0 0;
    font-size: 10px;
  }
  .experiment-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .academic-list a {
    font-size: 11px;
  }
  .academic-list a span {
    text-align: right;
  }

  .education > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .skill-rows {
    margin-top: 35px;
  }
  .skill-row {
    grid-template-columns: 22px 1fr 24px;
    gap: 10px;
    padding-block: 22px;
  }
  .skill-row h3 {
    font-size: 20px;
  }
  .skill-row p {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
  }
  .skill-row > a {
    grid-column: 3;
    grid-row: 1/3;
  }
  .working-note {
    flex-direction: column;
    gap: 13px;
  }
  .working-note p {
    font-size: 11px;
    line-height: 2.2;
  }
  .working-note p span {
    margin-inline: 5px;
  }
  .contact-section {
    padding-bottom: 0;
  }
  .contact-section h2 {
    font-size: clamp(35px, 8.5vw, 64px);
    margin: 32px 0;
  }
  .contact-bottom {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .email-link {
    font-size: clamp(15px, 4.65vw, 26px);
  }
  .opportunity-note {
    max-width: 440px;
  }
  .site-footer {
    margin-top: 42px;
    gap: 20px;
  }
  .site-footer p {
    font-size: 9px;
  }
  .site-footer > a:last-child {
    font-size: 10px;
  }
}
@media (max-width: 440px) {
  .site-header nav {
    gap: 16px;
  }
  .site-header nav .nav-contact {
    display: none;
  }

  .hero-topline .eyebrow {
    font-size: 8px;
    letter-spacing: 0.09em;
  }

  .project-pair .project-visual {
    min-height: 290px;
    padding: 17px;
  }
  .club-gallery {
    margin-top: 20px;
  }
  .club-gallery a:nth-child(2) {
    transform: translateY(10px);
  }
  .visual-pill {
    font-size: 7px;
    padding: 4px 7px;
  }
  .visual-heading .eyebrow {
    font-size: 7px;
  }

  .project-meta {
    letter-spacing: 0;
  }
  .project-links {
    gap: 18px;
  }
  .project-links .text-link {
    font-size: 11px;
  }
  .site-footer {
    gap: 15px;
  }
  .site-footer .wordmark {
    font-size: 29px;
  }
  .contact-top .eyebrow {
    font-size: 8px;
  }
  .demo-gallery {
    grid-template-columns: 1fr;
  }
}
/* Navigation stays available without JavaScript; enhance it on small screens. */
@media (max-width: 600px) {
  .nav-enhanced .menu-toggle {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    border: 0;
    background: none;
    font-size: 12px;
    padding: 10px 0 10px 15px;
  }
  .menu-toggle span {
    font-size: 24px;
    line-height: 1;
  }
  .nav-enhanced .site-header nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 15px 20px 25px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-enhanced .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-enhanced .site-header nav a {
    padding: 12px 0;
    font-size: 17px;
  }
  .nav-enhanced .site-header nav .nav-contact {
    display: block;
  }
  .nav-enhanced .site-header nav a > span {
    display: inline;
  }
  .menu-toggle[aria-expanded="true"] > span {
    transform: rotate(45deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .menu-toggle,
  dialog,
  .project-visual,
  .client-image,
  .contact-socials,
  .site-footer {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .section-space {
    padding-block: 25px;
  }
  body,
  .about-section,
  .contact-section {
    background: white;
    color: black;
  }

  .project-pair,
  .client-grid,
  .project {
    break-inside: avoid;
    margin-top: 25px;
  }

  .proof-strip {
    margin-bottom: 20px;
  }
}

/* Personal introduction and an immediately visible, real product. */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
  padding: 38px 0 42px;
}
.hero-copy {
  min-width: 0;
}
.hero .hero-name {
  font-size: clamp(52px, 5.8vw, 84px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.065em;
  margin: 0 0 20px;
}
.hero-name > span {
  white-space: nowrap;
}
.hero-role {
  font-size: 18px;
  font-weight: 550;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.5;
}
.hero-description {
  font-size: 15px;
  max-width: 525px;
  margin-top: 16px;
  line-height: 1.75;
}
.hero-education {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 23px;
  border-left: 2px solid #8c9e7f;
  padding-left: 16px;
}
.education-marker {
  font-size: 24px;
  color: #52664b;
}
.hero-education p {
  font-size: 12px;
  color: var(--ink);
}
.hero-education p span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.hero-copy .actions {
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-topline .eyebrow > span {
  margin-inline: 10px;
  color: var(--muted);
}
.hero-product {
  padding: 22px;
  background: #e7e9e1;
  border: 1px solid #d9ded1;
  border-radius: 3px;
  min-width: 0;
}
.hero-product-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.product-index {
  font-size: 10px;
  color: var(--muted);
}
.hero-product-image {
  display: block;
  position: relative;
  box-shadow: 0 10px 25px #20332715;
  overflow: hidden;
  border: 4px solid #fafbf7;
  border-radius: 4px;
}
.hero-product-image img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  object-position: top;
}
.hero-product-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
}
.hero-product-caption h2 {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.hero-product-caption p {
  font-size: 11px;
  margin-top: 6px;
}
.hero-product-caption > a {
  font-size: 24px;
  min-height: 36px;
  min-width: 36px;
  display: grid;
  place-items: center;
}
.hero-demo-note {
  font-size: 10px;
  margin-top: 13px;
  border-top: 1px solid #ccd4c4;
  padding-top: 11px;
}
.proof-strip strong a {
  text-decoration: underline;
  text-decoration-color: #a3ae96;
}

@media (max-width: 1050px) {
  .hero-layout {
    gap: 32px;
  }
  .hero .hero-name {
    font-size: 5.7vw;
  }
  .hero-role {
    font-size: 16px;
  }
  .hero-product {
    padding: 17px;
  }
  .hero-copy .actions {
    gap: 18px;
  }
  .hero-copy .button {
    gap: 22px;
  }
  .hero-copy .text-link {
    font-size: 11px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-product-caption h2 {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 28px 32px;
  }
  .hero .hero-name {
    font-size: clamp(42px, 8.8vw, 65px);
    margin-bottom: 16px;
  }
  .hero-role {
    font-size: 16px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 540px;
    margin-top: 14px;
  }
  .hero-education {
    margin-top: 19px;
  }
  .hero-copy .actions {
    gap: 23px;
    margin-top: 24px;
  }
  .hero-product {
    padding: 18px;
  }
  .hero-product-image img {
    aspect-ratio: 1.9;
  }
  .hero-product-caption {
    padding-top: 15px;
  }
  .hero-product-caption h2 {
    font-size: 19px;
  }
  .hero-product-caption p {
    font-size: 12px;
  }
  .hero-demo-note {
    font-size: 10px;
  }
  .hero-topline {
    gap: 12px;
  }
  .availability {
    font-size: 11px;
  }

  .proof-strip {
    gap: 14px;
  }
  .proof-strip p {
    font-size: 10px;
  }
  .proof-strip strong {
    font-size: 11px;
  }

  .hero-copy .text-link {
    font-size: 12px;
  }
}
@media (max-width: 440px) {
  .hero .hero-name {
    font-size: 10.3vw;
  }
  .hero-role {
    font-size: 14px;
  }
  .hero-copy .actions {
    gap: 18px;
  }
  .hero-copy .text-link {
    font-size: 11px;
  }
  .hero-copy .button {
    gap: 17px;
    padding: 14px 15px;
  }
  .hero-education p {
    font-size: 11px;
  }
  .hero-product-caption h2 {
    font-size: 17px;
  }
  .hero-product-caption p {
    font-size: 11px;
  }
  .hero-topline .eyebrow {
    font-size: 8px;
  }
  .hero-product-label .eyebrow {
    font-size: 8px;
  }
  .proof-strip strong {
    font-size: 10px;
  }
  .proof-strip p {
    font-size: 9px;
  }

  .contact-section h2 {
    font-size: 9vw;
  }
}
@media print {
  .hero-layout {
    display: block;
  }
  .hero .hero-name {
    font-size: 55px;
  }
  .hero-product {
    display: none;
  }
}

/* The original portrait is framed in CSS; the source photo is unchanged. */
.about-intro {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 28px;
}
.about-intro h2 {
  margin: 0;
}
.about-portrait {
  width: 144px;
  aspect-ratio: 4/5;
  flex: none;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  transform: scale(1.5);
  transform-origin: 50% 53%;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .about-intro {
    gap: 18px;
  }
  .about-portrait {
    width: 110px;
  }
  .about-intro h2 {
    font-size: 32px;
  }
}
@media (max-width: 440px) {
  .about-intro {
    gap: 20px;
    margin-bottom: 24px;
  }
  .about-portrait {
    width: 110px;
  }
  .about-intro h2 {
    font-size: 32px;
  }
}
@media (max-width: 350px) {
  .about-intro {
    gap: 18px;
  }
  .about-portrait {
    width: 96px;
  }
  .about-intro h2 {
    font-size: 29px;
  }
}

/* Recruitment-first information hierarchy. */
.section-space {
  padding-block: 76px;
}
.site-header nav {
  gap: 24px;
}
.project.featured {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: start;
}
.featured .clinic-visual {
  padding: 22px;
}
.featured .clinic-visual .image-link {
  margin: 22px 0 18px;
}
.featured .clinic-visual img {
  aspect-ratio: 1.6;
}
.featured .visual-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}
.featured .visual-footer {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}
.featured .project-body {
  padding: 0;
}
.featured .project-summary {
  display: block;
}
.featured h3 {
  font-size: 30px;
  margin-bottom: 14px;
}
.project-facts {
  margin: 22px 0 0;
}
.project-facts > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.project-facts dt {
  font-size: 11px;
  font-weight: 650;
  color: var(--ink);
}
.project-facts dd {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.case-privacy {
  font-size: 11px !important;
  line-height: 1.7;
  margin-top: 18px;
}
.project-pair {
  margin-top: 52px;
}
.project-pair .project-visual {
  height: 280px;
  padding: 20px;
}
.project-pair .club-gallery {
  margin: 18px auto 10px;
}
.project-pair .club-gallery a {
  max-width: 96px;
}
.project-pair .workflow-art {
  margin: 14px auto 0;
  gap: 2px;
}
.project-pair .ai-screenshot {
  margin-top: 14px;
}
.project-pair .ai-screenshot img {
  height: 40px;
  width: 70px;
}
.experience-section {
  background: #e9ebe3;
}
.experience-section h2 {
  margin-top: 25px;
}
.career-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 85px;
  margin-top: 36px;
}
.career-grid h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 23px;
}
.career-grid .journey {
  padding: 0;
}
.career-grid .timeline {
  margin-top: 0;
}
.career-grid .timeline h4 {
  font-size: 16px;
}
.career-grid .timeline p {
  font-size: 12px;
}
.career-grid .timeline .experience-detail {
  font-size: 13px;
  line-height: 1.65;
  max-width: 470px;
  margin-top: 9px;
}
.degree {
  border-top: 1px solid #cbd0c3;
  padding: 20px 0;
}
.degree h4 {
  font-size: 20px;
  line-height: 1.3;
  margin: 10px 0 8px;
}
.degree p {
  font-size: 13px;
  line-height: 1.6;
}
.degree-note {
  margin-top: 5px;
}
.career-availability {
  font-size: 12px;
  line-height: 1.8;
  padding: 17px 20px;
  background: #dce7cf;
  margin-top: 9px;
}
.career-availability .status-dot {
  margin-right: 6px;
}
.skills-section .section-heading-main {
  margin-bottom: 26px;
}
.skills-section .skill-rows {
  margin-top: 30px;
}
.about-section {
  background: #e9ebe3;
}
.about-profile {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 65px;
  align-items: start;
  margin-top: 30px;
}
.about-profile .about-intro {
  margin-bottom: 0;
}
.about-intro h2 {
  font-size: 42px;
  letter-spacing: -0.05em;
}
.about-text p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 15px;
}
.personal-notes {
  align-items: flex-start;
}
.additional-section h2 {
  font-size: 38px;
  margin-top: 25px;
}
.additional-section .more-work {
  margin-top: 26px;
}
.additional-section .more-work + .more-work {
  margin-top: 0;
  border-top: 0;
}
.additional-section .client-grid {
  padding: 10px 0 28px;
}
@media (max-width: 1050px) {
  .site-header nav {
    gap: 20px;
  }
  .project.featured {
    grid-template-columns: 1fr 1.1fr;
    gap: 27px;
  }
  .featured .clinic-visual {
    padding: 17px;
  }
  .career-grid {
    gap: 40px;
  }
  .project-facts > div {
    grid-template-columns: 78px 1fr;
    gap: 10px;
  }
  .about-profile {
    gap: 35px;
  }
  .about-intro h2 {
    font-size: 33px;
  }
}
@media (max-width: 760px) {
  .section-space {
    padding-block: 58px;
  }
  .project.featured {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .featured .visual-heading,
  .featured .visual-footer {
    flex-direction: row;
    align-items: center;
  }
  .featured .clinic-visual {
    padding: 16px;
  }
  .featured .clinic-visual .image-link {
    max-width: 500px;
    margin: 18px auto;
  }
  .featured .clinic-visual img {
    max-height: 290px;
  }
  .featured h3 {
    font-size: 27px;
  }
  .project-facts {
    margin-top: 20px;
  }
  .project-facts > div {
    grid-template-columns: 85px 1fr;
    gap: 12px;
  }
  .project-pair {
    gap: 38px;
    margin-top: 38px;
  }
  .project-pair .project-visual {
    height: 280px;
    min-height: 280px;
    padding: 20px;
  }
  .career-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 28px;
  }
  .career-grid h3 {
    margin-bottom: 19px;
  }
  .career-grid .timeline {
    margin: 0;
  }
  .career-grid .timeline li {
    gap: 23px;
  }
  .career-grid .timeline .experience-detail {
    font-size: 12px;
  }
  .degree h4 {
    font-size: 19px;
  }
  .about-profile {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 28px;
  }
  .about-intro h2 {
    font-size: 36px;
  }
  .about-text p {
    font-size: 14px;
  }
  .additional-section h2 {
    font-size: 32px;
  }
  .additional-section .more-work {
    margin-top: 20px;
  }
  .skills-section .section-heading-main {
    gap: 15px;
  }
}
@media (max-width: 350px) {
  .project-facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .about-intro h2 {
    font-size: 29px;
  }
  .career-grid .timeline h4 {
    font-size: 15px;
  }
  .featured .visual-footer {
    font-size: 7px;
  }
}
.contact-section.section-space {
  padding-bottom: 0;
}
