/* Personal identity, project illustrations, and a quieter reading layout. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
:root {
  --radius: 12px;
  --header-height: 80px;
  --rust: #46613f;
  --paper: #f5f3ed;
  --ink: #26382d;
  --muted: #636a60;
  --gutter: clamp(24px, 5vw, 80px);
}
.page-width {
  max-width: 1440px;
}
.section-space {
  padding-block: 88px;
}
h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  letter-spacing: -0.05em;
}
.eyebrow {
  letter-spacing: 0.08em;
}
.site-header,
.site-header.is-scrolled {
  width: 100%;
  max-width: none;
  height: 80px;
  top: 0;
  margin: 0;
  padding-inline: var(--gutter);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #f5f3edf2;
  box-shadow: none;
}
.identity {
  gap: 12px;
}
.identity-mark {
  width: 44px;
  height: 34px;
  flex-shrink: 0;
  color: #304b39;
}
.identity-name {
  font-size: 12px;
}
.primary-nav {
  gap: 28px;
}
.primary-nav .nav-resume {
  border-radius: 6px;
  padding: 8px 14px;
}
.button {
  border-radius: 7px;
}
.button:hover {
  box-shadow: none;
}
.button:hover > span {
  transform: translate(2px, -2px);
}
.hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  column-gap: 8%;
  padding-top: 70px;
}
.hero-copy {
  padding-top: 10px;
}
.hero h1 {
  font-size: clamp(78px, 8.25vw, 119px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.97;
  margin-top: 25px;
}
.hero h1 > span {
  color: #456345;
}
.hero-role {
  font-size: 14px;
  margin-top: 26px;
}
.hero-role a {
  border-bottom: 1px solid #aeb7a5;
  padding-bottom: 2px;
}
.hero-description {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #5b645a;
  max-width: 490px;
}
.hero-description .desktop-break {
  display: none;
}
.hero-actions {
  margin-top: 27px;
}
.hero-footnote {
  margin-top: 31px;
  font-size: 11px;
}
.hero-footnote a {
  border-bottom: 1px solid #d1d5c9;
  padding-bottom: 4px;
}
.portrait-composition,
.portrait-composition.hero-enter {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0;
  justify-self: end;
  transform: none;
  animation-name: arrive;
}
.portrait-frame {
  height: auto;
  aspect-ratio: 4/5;
  border-radius: 10px;
  background: #d6d4c8;
  box-shadow: none;
}
.portrait-frame::before,
.portrait-frame::after {
  content: none;
}
.hero-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: none;
  transform: translate3d(var(--portrait-x, 0px), var(--portrait-y, 0px), 0)
    scale(1.1);
  transform-origin: center;
}
.portrait-composition figcaption {
  padding: 0;
  margin-top: 15px;
  font-size: 11px;
}
.portrait-composition figcaption a {
  border-bottom: 1px solid #abb5a4;
}
.hero-bottom {
  margin-top: 50px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  gap: 20px;
}
.scroll-cue {
  font-size: 11px;
  gap: 18px;
  color: var(--ink);
}
.work-section {
  padding-top: 65px;
}
.heading-row {
  margin-top: 20px;
}
.work-intro-illustrated {
  max-width: 310px;
}
.work-intro-illustrated p,
.journey-note p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.project-stack {
  margin-top: 40px;
}
.project-panel {
  top: calc(96px + var(--card-index) * 10px);
}
.project-surface {
  border-radius: 12px;
  box-shadow: none;
}
.project-copy {
  padding: 32px;
}
.project-copy h3 {
  font-size: clamp(34px, 3.1vw, 45px);
  letter-spacing: -0.04em;
}
.project-copy h3 em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
}
.project-copy h3 + p {
  font-size: 14px;
  line-height: 1.8;
}
.tags li {
  border-radius: 4px;
}
.project-krishi {
  grid-template-columns: 0.85fr 1.15fr;
  background: #edf0e7;
}
.actual-project.harvest-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 0;
  padding: 30px;
  background: #dce3d4;
}
.actual-project.harvest-visual::before,
.actual-project.harvest-visual::after {
  content: none;
}
.actual-project > a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: white;
  box-shadow: 0 12px 30px #1d302414;
  transition: transform 0.5s var(--ease-out);
}
.actual-project > a:hover {
  transform: translateY(-4px);
}
.actual-project img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.actual-project figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: #4a5947;
}
.actual-project figcaption a {
  white-space: nowrap;
  border-bottom: 1px solid #a6b39b;
}
.product-collection {
  margin-top: 80px;
}
.product-collection h3 {
  font-size: clamp(32px, 3.3vw, 47px);
  letter-spacing: -0.045em;
  max-width: 660px;
}
.project-filters button {
  border-radius: 5px;
}
.product-grid {
  gap: 40px 32px;
}
.product-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.product-brand {
  min-height: 150px;
  padding: 20px 26px;
  border: 1px solid #daddcf;
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.product-body {
  padding: 24px 0 0;
}
.product-body h4 {
  font-size: 25px;
}
.product-body > p:not(.product-subtitle) {
  font-size: 14px;
  max-width: 53ch;
}
.product-details {
  margin-top: 20px;
}
.product-brand img {
  position: relative;
  z-index: 1;
}
.product-illustration {
  position: absolute;
  width: 240px;
  height: 180px;
  right: -34px;
  top: -12px;
  color: #586d53;
  opacity: 0.15;
  z-index: -1;
  transform: rotate(-10deg);
  transition: transform 0.8s var(--ease-out);
}
.product-card:hover .product-illustration {
  transform: rotate(-4deg);
}
.product-cake-mantra .product-illustration {
  color: #ac6356;
}
.product-edulead .product-illustration {
  color: #536d84;
}
.product-brand .eyebrow {
  text-shadow: 0 1px 5px white;
}
.about-section,
.research-section,
.contact-section {
  margin: 0;
  width: 100%;
  border-radius: 0;
}
.about-section {
  background: #e9ece3;
}
.about-layout {
  grid-template-columns: 0.65fr 1.35fr;
  gap: 60px;
}
.reading-reveal {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.about-body {
  font-size: 14px;
  gap: 25px;
}
.about-map {
  width: min(100%, 260px);
  margin: -10px 0 4px -12px;
}
.about-map svg {
  width: 100%;
  height: auto;
}
.about-aside > p {
  max-width: 270px;
  font-size: 14px;
  margin-top: 20px;
}
.about-note {
  margin-top: 26px;
}
.about-note a {
  border-bottom: 1px solid #a6b39b;
  padding-bottom: 4px;
}
.skills-area {
  margin-top: 65px;
}
.skill-illustration {
  display: block;
  width: 94px;
  height: 70px;
  margin: 0 0 20px;
  color: #53694c;
  transition: transform 0.5s var(--ease-out);
}
.skill-group {
  padding-top: 22px;
  border-top: 1px solid #cdd0c1;
}
.skill-group:hover .skill-illustration {
  transform: translateY(-4px);
}
.skill-group > p {
  font-size: 13px;
}
.journey-note {
  max-width: 300px;
}
.experience-item > summary,
.archive-item > summary {
  border-radius: 6px;
}
.research-intro {
  max-width: 295px;
  font-size: 13px;
}
.research-list {
  margin-top: 45px;
}
.research-year {
  font-family: var(--sans);
  font-size: 24px;
  font-style: normal;
}
.research-item h3 + p {
  font-size: 14px;
}
.detail-mark {
  width: 26px;
  height: 26px;
  color: #5d704e;
  flex-shrink: 0;
}
.system-chip {
  width: 38px;
  height: 38px;
  color: #53603c;
}
.recognition-mark {
  width: 36px;
  height: 40px;
  color: #718354;
  flex-shrink: 0;
}
.award-note {
  border-radius: 8px;
}
.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.contact-grid h2 {
  font-size: clamp(60px, 6vw, 86px);
}
.contact-form {
  border-radius: 8px;
  background: transparent;
  border: 1px solid #626958;
  padding: 28px;
}
.form-field input,
.form-field textarea {
  border-radius: 5px;
  background: #292e24;
}
.contact-description {
  font-size: 15px;
  max-width: 360px;
}
.contact-email {
  margin-top: 36px;
}
.js-enabled .motion-dock {
  border-radius: 6px;
  box-shadow: none;
}
@media (max-width: 1100px) {
  .primary-nav {
    gap: 18px;
  }
  .hero {
    column-gap: 6%;
    padding-top: 55px;
  }
  .hero h1 {
    font-size: clamp(78px, 8.4vw, 100px);
  }
  .hero-description {
    font-size: 14px;
  }
  .portrait-composition {
    align-self: center;
  }
  .project-copy {
    padding: 26px;
  }
  .actual-project.harvest-visual {
    padding: 22px;
  }
  .contact-grid {
    gap: 50px;
  }
}
@media (max-width: 800px) {
  .site-header,
  .site-header.is-scrolled {
    height: auto;
    min-height: 72px;
    padding-inline: var(--gutter);
  }
  .site-header .identity {
    min-height: 72px;
  }
  .primary-nav {
    gap: 6px 22px;
  }
  .hero {
    grid-template-columns: 1.15fr 1fr;
    column-gap: 5%;
    padding-top: 44px;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero h1 {
    font-size: clamp(65px, 8.4vw, 78px);
    margin-top: 20px;
  }
  .hero-role {
    font-size: 12px;
    margin-top: 22px;
  }
  .hero-description {
    font-size: 13px;
    margin-top: 17px;
  }
  .hero-footnote {
    font-size: 10px;
    margin-top: 24px;
  }
  .portrait-composition {
    align-self: start;
    margin-top: 35px;
  }
  .portrait-composition figcaption {
    font-size: 9px;
  }
  .hero-bottom {
    margin-top: 35px;
  }
  .section-space {
    padding-block: 70px;
  }
  .project-copy {
    padding: 24px;
  }
  .project-copy h3 + p {
    font-size: 13px;
  }
  .project-krishi {
    grid-template-columns: 1fr 1fr;
  }
  .actual-project.harvest-visual {
    padding: 18px;
  }
  .actual-project figcaption {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
  .product-grid {
    gap: 32px 24px;
  }
  .product-body > p:not(.product-subtitle) {
    font-size: 13px;
  }
  .about-layout {
    gap: 35px;
  }
  .about-body {
    font-size: 13px;
  }
  .about-map {
    width: 210px;
  }
  .contact-grid {
    gap: 35px;
  }
  .contact-form {
    padding: 22px;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 24px;
  }
  .site-header .identity {
    min-height: 70px;
  }
  .identity-mark {
    width: 38px;
    height: 30px;
  }
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 38px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(70px, 19vw, 106px);
    margin-top: 24px;
  }
  .hero-role {
    font-size: 13px;
    margin-top: 25px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 410px;
    margin-top: 19px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 24px;
  }
  .hero-actions .button {
    font-size: 12px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .hero-footnote {
    font-size: 11px;
    margin-top: 25px;
  }
  .portrait-composition,
  .portrait-composition.hero-enter {
    width: 100%;
    max-width: 430px;
    margin: 38px 0 0;
    justify-self: center;
  }
  .portrait-frame {
    border-radius: 8px;
    height: auto;
  }
  .hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .portrait-composition figcaption {
    font-size: 11px;
    margin-top: 12px;
  }
  .hero-bottom {
    margin-top: 28px;
    padding-block: 21px;
    font-size: 10px;
    align-items: start;
  }
  .hero-bottom > span {
    max-width: 175px;
  }
  .scroll-cue {
    font-size: 10px;
    gap: 10px;
  }
  .section-space {
    padding-block: 58px;
  }
  h2 {
    font-size: 39px;
  }
  .work-intro-illustrated {
    margin-top: 20px;
    max-width: 360px;
  }
  .work-intro-illustrated p,
  .journey-note p {
    font-size: 13px;
  }
  .project-stack {
    margin-top: 30px;
  }
  .project-panel {
    top: auto;
  }
  .project-surface,
  .project-krishi {
    grid-template-columns: 1fr;
    border-radius: 9px;
  }
  .project-copy {
    min-height: 0;
    gap: 32px;
    padding: 25px;
  }
  .project-copy h3 {
    font-size: 36px;
  }
  .project-copy h3 + p {
    font-size: 14px;
  }
  .actual-project.harvest-visual {
    min-height: 0;
    padding: 24px 18px;
    gap: 14px;
  }
  .actual-project figcaption {
    flex-direction: row;
    gap: 12px;
    font-size: 8px;
  }
  .product-collection {
    margin-top: 55px;
  }
  .product-collection h3 {
    font-size: 34px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .product-brand {
    min-height: 145px;
    padding: 18px 24px;
  }
  .product-body {
    padding: 21px 0 0;
  }
  .product-body > p:not(.product-subtitle) {
    font-size: 14px;
  }
  .about-section > .page-width,
  .research-section > .page-width,
  .contact-section > .page-width {
    padding-inline: var(--gutter);
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-aside {
    display: grid;
    grid-template-columns: 125px 1fr;
    align-items: start;
    gap: 12px 16px;
  }
  .about-map {
    width: 135px;
    margin: -8px 0 0 -10px;
    grid-row: 1/3;
  }
  .about-aside > p {
    margin: 0;
    font-size: 12px;
  }
  .about-aside .text-link {
    grid-column: 2;
  }
  .reading-reveal {
    font-size: 35px;
  }
  .about-body {
    font-size: 14px;
  }
  .skill-illustration {
    width: 84px;
    height: 63px;
  }
  .journey-note {
    margin-top: 20px;
    max-width: 360px;
  }
  .research-intro {
    margin-top: 22px;
    max-width: 360px;
  }
  .research-year {
    font-size: 21px;
  }
  .research-item h3 + p {
    font-size: 13px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-grid h2 {
    font-size: 64px;
  }
  .contact-form {
    padding: 22px;
    border-radius: 8px;
  }
  .contact-description {
    font-size: 14px;
  }
  .contact-email {
    margin-top: 26px;
  }
}
@media (max-width: 360px) {
  :root {
    --gutter: 20px;
  }
  .identity-name {
    font-size: 11px;
  }
  .identity-name > span {
    font-size: 9px;
  }
  .about-aside {
    grid-template-columns: 105px 1fr;
    gap: 12px;
  }
  .about-map {
    width: 120px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-portrait,
  .product-illustration,
  .skill-illustration {
    transform: none !important;
  }
}
html[data-motion="off"] .hero-portrait,
html[data-motion="off"] .product-illustration,
html[data-motion="off"] .skill-illustration {
  transform: none !important;
}
@media print {
  .hero {
    padding-top: 0;
  }
  .hero h1 {
    font-size: 65px;
  }
  .portrait-composition {
    max-width: 260px;
  }
  .about-section,
  .research-section,
  .contact-section {
    background: transparent;
    color: #242620;
  }
}

/* Real project screens; the complete image remains available at every size. */
.project-preview {
  margin: 0;
  min-width: 0;
}
.screenshot-link {
  display: block;
  position: relative;
  border: 1px solid #d4d9cd;
  border-radius: 9px;
  overflow: hidden;
  background: #e8ece4;
}
.screenshot-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
  transition: transform 0.65s var(--ease-out);
}
.screenshot-link:hover img {
  transform: scale(1.015);
}
.screenshot-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid #bfcbb9;
  border-radius: 5px;
  background: #f5f3edf5;
  color: #26382d;
  padding: 8px 12px;
  font-size: 11px;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.25s,
    transform 0.3s;
}
.screenshot-link:hover .screenshot-open,
.screenshot-link:focus-visible .screenshot-open {
  opacity: 1;
  transform: none;
}
.project-preview figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 12px;
  font-size: 10px;
  line-height: 1.6;
  color: #4f5d49;
}
.project-preview figcaption a {
  flex-shrink: 0;
  color: #344e36;
  border-bottom: 1px solid #bbc6b2;
}
.featured-screenshot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: #dce6db;
  overflow: hidden;
}
.featured-screenshot > .screenshot-link {
  box-shadow: none;
}
.featured-screenshot figcaption {
  width: 100%;
}
.project-preview.featured-screenshot > a:hover {
  transform: none;
}
.screenshot-is-open {
  overflow: hidden;
}
.screenshot-dialog {
  width: min(1320px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #b5c2ac;
  border-radius: 12px;
  box-shadow: 0 24px 80px #15221955;
}
.screenshot-dialog::backdrop {
  background: #13251ce6;
}
.screenshot-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding-bottom: 18px;
}
.screenshot-dialog-header h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.screenshot-dialog-header p {
  font-size: 11px;
  color: #616b5a;
  margin-top: 5px;
}
.screenshot-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 12px;
  background: #e3e8dd;
  border: 1px solid #b8c4b0;
  border-radius: 5px;
  min-height: 40px;
  padding: 8px 13px;
}
.screenshot-close span {
  font-size: 22px;
  line-height: 1;
}
.screenshot-dialog-image {
  border: 1px solid #d3d9cd;
  border-radius: 5px;
  overflow: hidden;
  background: #e6eae2;
}
.screenshot-dialog-image img {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 205px);
  object-fit: contain;
}
.screenshot-dialog-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  padding-top: 15px;
  color: #55654d;
}
.screenshot-dialog-footer a {
  border-bottom: 1px solid #b8c4b0;
}
@media (max-width: 800px) {
  .featured-screenshot {
    padding: 18px;
  }
}
@media (max-width: 600px) {
  .screenshot-open {
    display: none;
  }
  .project-preview figcaption {
    font-size: 10px;
  }
  .featured-screenshot {
    padding: 23px 18px;
  }
  .screenshot-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 15px;
    border-radius: 9px;
  }
  .screenshot-dialog-header {
    gap: 14px;
  }
  .screenshot-dialog-header h2 {
    font-size: 22px;
  }
  .screenshot-dialog-header p {
    font-size: 10px;
  }
  .screenshot-close {
    gap: 10px;
    padding: 7px 10px;
  }
  .screenshot-dialog-footer {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .screenshot-link img,
  .screenshot-open {
    transition: none;
    transform: none !important;
  }
}
@media print {
  .screenshot-dialog,
  .screenshot-open {
    display: none !important;
  }
}
