:root {
  --paper: #fff;
  --white: #fff;
  --ink: #182019;
  --muted: #535d55;
  --line: #e6ebe4;
  --green: #0c7a24;
  --dark: #15532a;
  --yellow: #ffd246;
  --lime: #ebf6e6;
  --mint: #e7f3e5;
  --lilac: #e9def5;
  --peach: #f7ddcf;
  --butter: #f6ebbc;
  --blue: #dce8f5;
  --radius: 22px;
  --motion: 180ms ease;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, dl, dd { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; width: 1.15em; height: 1.15em; flex: none; }
[hidden] { display: none !important; }

@media (hover: hover) and (pointer: fine) {
  :root {
    --cart-cursor: url("cart-cursor.svg") 3 4;
  }
  body { cursor: var(--cart-cursor), auto; }
  a, button, summary, .motion-preference, .motion-preference input { cursor: var(--cart-cursor), pointer; }
  :is(input[type="search"], textarea, [contenteditable="true"]) { cursor: text; }
}

:focus-visible { outline: 3px solid #587b35; outline-offset: 4px; }
.hero :focus-visible { outline-color: var(--dark); }
::selection { color: var(--ink); background: var(--yellow); }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 10;
  left: 1rem;
  top: 1rem;
  padding: .6rem 1rem;
  background: var(--white);
}
.page { width: min(100% - 64px, 1232px); margin-inline: auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  width: min(100% - 64px, 1232px);
  min-height: 77px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr) auto auto;
  align-items: center;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 29px; line-height: .8; font-weight: 800; letter-spacing: -.09em; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: var(--yellow); color: var(--dark); }
.brand-mark svg { width: 21px; height: 21px; fill: currentColor; }
.brand-dot { color: #4a6950; }
.brand small { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .20em; }
.header-location { display: flex; align-items: center; gap: 7px; padding-left: 24px; border-left: 1px solid var(--line); line-height: 1.25; white-space: nowrap; font-size: 14px; }
.header-location > [data-icon] { color: var(--green); }
.header-location small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.searchbox {
  display: flex;
  gap: 11px;
  align-items: center;
  padding-inline: 13px;
  height: 43px;
  border-radius: 11px;
  background: #f5f7f4;
  color: var(--green);
  border: 1px solid #e6e8db;
}
.searchbox:focus-within { border-color: #537654; box-shadow: 0 0 0 2px #b2cba4; }
.searchbox input { border: none; outline: none; min-width: 0; width: 100%; height: 100%; color: var(--ink); background: transparent; outline-offset: 0; font-size: 14px; }
.searchbox input::placeholder { color: var(--muted); }
.searchbox kbd { padding: 1px 5px; border: 1px solid #d5d9cb; border-radius: 4px; color: var(--muted); white-space: nowrap; }
.header-profile { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.avatar { position: relative; overflow: hidden; display: block; width: 33px; height: 33px; border-radius: 50%; background: var(--mint); }
.avatar img { width: 100%; height: auto; transform: scale(1.45) translateY(12%); transform-origin: top; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 750; white-space: nowrap; transition: background var(--motion), border-color var(--motion), transform var(--motion); }
.button:active, .icon-button:active, .save-button:active { transform: scale(.96); }
.button-green { background: var(--green); color: var(--white); }
.button-green:hover { background: var(--dark); }
.button-outline { background: var(--white); border-color: #d5ddcd; }
.button-outline:hover { background: #edf2e8; border-color: #7c987e; }
.count { display: grid; min-width: 22px; height: 22px; padding: 0 4px; place-items: center; border-radius: 7px; background: #ffffff23; color: var(--white); font-size: 12px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  min-height: 429px;
  overflow: hidden;
  margin-top: 21px;
  border-radius: 26px;
  background: linear-gradient(115deg, #ffdc62 20%, #ffd246 72%, #ffc737);
  color: var(--ink);
}
.searching :is(.hero, .dispatch, .product-concept) { display: none; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 39px 0 42px clamp(31px, 5vw, 68px); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.hero-label { display: flex; align-items: center; gap: 8px; width: fit-content; margin-bottom: 16px; padding: 7px 10px; border-radius: 999px; background: #fff5ccee; color: #25512c; letter-spacing: .10em; }
.signal { display: block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(58px, 6.6vw, 105px); line-height: .92; letter-spacing: -.082em; font-weight: 800; }
.hero h1 span { color: var(--green); }
.hero-subtitle { margin-top: 14px; font-size: clamp(26px, 3.2vw, 51px); line-height: 1; letter-spacing: -.067em; font-weight: 700; }
.hero-description { max-width: 43ch; margin-top: 18px; color: #3f4229; line-height: 1.55; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 21px; }
.hero-actions .button svg, .dispatch button > [data-icon] { transition: translate var(--motion); }
.hero-actions .button:hover svg, .dispatch button:hover > [data-icon] { translate: 3px 0; }
.hero-link { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; color: var(--dark); font-size: 14px; font-weight: 750; }
.hero-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-art { position: relative; isolation: isolate; min-height: 100%; }
.hero-orbit, .ride-orbit {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid #eff6b047;
  border-radius: 50%;
}
.hero-orbit {
  width: min(92%, 470px);
  right: 9%;
  top: 7%;
  border-color: #287c3b5c;
  background: radial-gradient(circle at 52% 52%, #e7f3b1 0 49%, #bedd8a 49.2% 65%, transparent 65.2%);
}
:is(.hero-orbit, .ride-orbit)::before, :is(.hero-orbit, .ride-orbit)::after { content: ""; position: absolute; inset: 7%; border: 1px solid #e7f0aa3c; border-radius: 50%; }
:is(.hero-orbit, .ride-orbit)::after { inset: -8%; }
.hero-orbit::after, .hero-orbit::before { border-color: #287c3b40; }
.hero-spark { position: absolute; z-index: 1; right: 9%; top: 19%; color: var(--green); line-height: 1; font-size: clamp(27px, 5.5vw, 64px); animation: produce-enter 620ms 100ms ease-out both; }
.hero-portrait { position: absolute; width: min(86%, 407px); height: auto; left: 48%; top: 17px; translate: -50% 0; animation: portrait-in 520ms cubic-bezier(.19,.72,.28,1) both; }
@keyframes portrait-in { from { opacity: .5; transform: translateY(16px); } }
@keyframes produce-enter { from { opacity: 0; transform: translateY(9px) scale(.88); } }
.ride-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 320px;
  border-radius: 16px;
  background: linear-gradient(111deg, #173825, #24543b);
}
.ride-orbit {
  width: min(73%, 340px);
  right: 11%;
  top: -5%;
  background: radial-gradient(circle at 47% 42%, #bfd477 0 47%, #6b974a 47.2% 64%, transparent 64.2%);
}
.ride-trail {
  position: absolute;
  inset: auto -8% 14% 8%;
  height: 14%;
  border-block: 1px solid #dce99565;
  background: linear-gradient(90deg, #dce99500, #dce99550 68%, #dce99500);
  transform: skewY(-8deg);
}
.ride-trail::after { content: ""; position: absolute; top: 50%; width: 100%; height: 1px; background: repeating-linear-gradient(90deg, #e8f0b694 0 12px, transparent 12px 26px); }
.ride-spark { position: absolute; z-index: 1; top: 14%; right: 9%; color: #dfed86; font-size: clamp(27px, 4vw, 56px); line-height: 1; }
.ride-rider { position: absolute; z-index: 2; width: 100%; height: auto; max-height: 88%; object-fit: contain; object-position: center bottom; left: 50%; bottom: 31px; translate: -50% 0; }
.grocery {
  position: absolute;
  z-index: 3;
  display: block;
  width: clamp(42px, 14%, 89px);
  aspect-ratio: 1;
  background: url("../portfolio-handover/assets/personal/blinkit-grocery-stickers.webp") var(--tile-position) / 200% 200% no-repeat;
  filter: drop-shadow(0 6px 6px #11261d60);
  rotate: var(--tilt);
  pointer-events: none;
}
.hero-tomato { --tile-position: 0 0; --tilt: -15deg; width: clamp(36px, 14%, 89px); top: 24%; left: 5%; animation: produce-enter 590ms 130ms ease-out both; }
.hero-broccoli { --tile-position: 100% 0; --tilt: 12deg; width: clamp(33px, 13%, 80px); right: 5%; bottom: 23%; animation: produce-enter 590ms 225ms ease-out both; }
.tomato { --tile-position: 0 0; --tilt: -16deg; --food-delay: 160ms; left: 5%; top: 20%; }
.broccoli { --tile-position: 100% 0; --tilt: 14deg; --food-delay: 230ms; right: 23%; top: 1%; width: clamp(35px, 10%, 66px); }
.bananas { --tile-position: 0 100%; --tilt: -13deg; --food-delay: 300ms; left: 2%; bottom: 22%; }
.strawberries { --tile-position: 100% 100%; --tilt: 11deg; --food-delay: 370ms; right: 5%; bottom: 21%; width: clamp(39px, 12%, 76px); }
.is-riding .ride-rider { animation: ride-cruise 5.2s ease-in-out infinite; }
.is-riding .grocery { animation: produce-float 3.8s ease-in-out var(--food-delay) infinite both; }
.is-riding .ride-trail::after { animation: lane-scroll 900ms linear infinite; }
@keyframes ride-cruise {
  0%, 100% { transform: translateX(2%) rotate(.45deg); }
  30% { transform: translate(-2%, -2px) rotate(-.55deg); }
  62% { transform: translate(-4%, 1px); }
}
@keyframes produce-float {
  50% { transform: translateY(-7px) rotate(6deg); }
}
@keyframes lane-scroll { to { background-position: 26px 0; } }
.hero-caption {
  position: absolute;
  right: 7%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #4b68374a;
  border-radius: 11px;
  padding: 9px 12px;
  color: var(--dark);
  background: #fffefd;
}
.hero-caption b { font-size: 13px; }

.dispatch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.dispatch-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dispatch h2 { display: flex; gap: 8px; align-items: center; font-size: 23px; letter-spacing: -.045em; }
.dispatch h2 svg { width: 18px; height: 18px; color: var(--green); fill: currentColor; }
.dispatch-heading a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; color: var(--green); font-size: 13px; font-weight: 750; }
.dispatch-heading a svg { transition: translate var(--motion); }
.dispatch-heading a:hover svg { translate: 2px 0; }
.dispatch button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 74px;
  border: 1px solid #dce8db;
  border-radius: 13px;
  padding: 9px 14px;
  text-align: left;
  background: var(--white);
  font-size: 15px;
  font-weight: 750;
  transition: background var(--motion), transform var(--motion), border-color var(--motion);
}
.dispatch button:hover { background: #f6fbf4; border-color: #a6c9a8; transform: translateY(-2px); }
.dispatch button:active { transform: scale(.98); }
.dispatch button small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 550; }
.dispatch-icon { display: grid; flex: none; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: #edf6e9; color: var(--green); }
.dispatch-logo { flex: none; width: 38px; height: 38px; object-fit: contain; }
.dispatch button [data-icon="external"] { margin-inline-start: auto; color: var(--green); }
.save-parcel {
  position: fixed;
  z-index: 5;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #a38723;
  border-radius: 8px;
  background: #f8d950;
  color: var(--dark);
  pointer-events: none;
}
.save-parcel svg { width: 15px; height: 15px; }

.browse { padding-top: 29px; }
.section-heading, .shelf-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-heading h2, .shelf-heading h3 { font-size: clamp(24px, 2.8vw, 39px); line-height: 1.1; letter-spacing: -.057em; font-weight: 780; }
.section-heading p, .shelf-heading p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.catalog-total { flex: none; padding-bottom: 3px; font-size: 12px; font-weight: 750; color: var(--muted); }
.categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; margin-top: 15px; }
.category {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 67px;
  text-align: left;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  font-weight: 750;
  font-size: 13px;
  transition: border-color var(--motion), background var(--motion), transform var(--motion);
}
.category-icon { width: 41px; height: 41px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--swatch, var(--mint)); color: var(--green); }
.category-icon svg { width: 21px; height: 21px; }
.category-icon { transition: rotate var(--motion); }
.category:hover .category-icon { rotate: -6deg; }
.category:hover { transform: translateY(-2px); border-color: #8ba78a; }
.category[aria-pressed="true"] { border-color: #79ad7e; background: #edf8ed; }
[data-color="lime"] { --swatch: var(--lime); }
[data-color="mint"] { --swatch: var(--mint); }
[data-color="lilac"] { --swatch: var(--lilac); }
[data-color="peach"] { --swatch: var(--peach); }
[data-color="butter"] { --swatch: var(--butter); }
[data-color="blue"] { --swatch: var(--blue); }

.shelf { margin-top: 30px; }
.shelf-heading h3 { font-size: clamp(24px, 2.2vw, 32px); }
.shelf-heading p { font-size: 13px; }
.shelf-control { margin: 0 -3px -5px 0; padding: 8px 5px; background: transparent; border: none; display: flex; align-items: center; gap: 5px; color: var(--green); font-size: 13px; font-weight: 800; flex: none; }
.shelf-control:hover { text-decoration: underline; text-underline-offset: 4px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 13px; }
.shelf-strip { grid-auto-flow: column; grid-auto-columns: calc((100% - 42px) / 4); grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; padding: 5px; margin: 8px -5px 0; scrollbar-color: #b5c5ad transparent; scrollbar-width: thin; }
.shelf-strip .card { scroll-snap-align: start; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 9px;
  transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
}
.card:hover { border-color: #aabda3; box-shadow: 0 6px 16px #21382312; transform: translateY(-3px); }
.card-media { display: grid; place-items: center; min-width: 0; overflow: hidden; aspect-ratio: 1.84; border-radius: 10px; background: var(--swatch, #f3f6f3); }
.card-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform 240ms ease; }
.card-media:not(.crop) img { padding: 11px; }
.card-media.crop img { object-fit: cover; }
.card-media.is-logo { border: 1px solid #f0f1ee; background: var(--white); }
.card-media.is-logo img { width: 78%; height: 78%; }
.card:hover .card-media img { transform: scale(1.035); }
.media-mark { font-size: clamp(34px, 4.7vw, 65px); color: var(--green); letter-spacing: -.08em; font-weight: 800; }
.card-info { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 10px 5px 5px; }
.card-context, .detail-context { margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.card h4 { margin: 0; font-size: 18px; line-height: 1.15; font-weight: 800; letter-spacing: -.04em; }
.card-open { text-align: left; appearance: none; padding: 0; border: none; background: none; font: inherit; }
.card-open::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.card-open:focus-visible { outline: none; }
.card-open:focus-visible::after { outline: 3px solid #587b35; outline-offset: 2px; }
.card-description { margin: 6px 0 12px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.card-bottom { width: 100%; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-metric { font-size: 12px; font-weight: 800; color: var(--green); }
.save-button { position: relative; z-index: 1; flex: none; min-width: 68px; min-height: 39px; padding-inline: 6px; border-radius: 7px; border: 1px solid #abc2a8; background: #f0f6ed; color: var(--green); font-size: 12px; font-weight: 800; transition: background var(--motion), transform var(--motion); }
.save-button:hover, .save-button[aria-pressed="true"] { background: #dcebd8; }
.results-empty { padding: 22px; margin-top: 13px; border: 1px dashed #aaba9c; border-radius: 14px; }
.results-empty p { margin-bottom: 12px; max-width: 40ch; overflow-wrap: anywhere; }
.show-all { display: flex; justify-content: center; margin-top: 23px; }

.profile {
  display: grid;
  grid-template-columns: minmax(215px, .7fr) 1.3fr;
  margin-top: 43px;
  overflow: hidden;
  border: 1px solid #dbe3d2;
  border-radius: var(--radius);
  background: #eef3e7;
}
.profile-photo { position: relative; overflow: hidden; min-height: 305px; background: radial-gradient(circle at 45% 55%, #d7e885 0 44%, #c2d277 44.2% 58%, #b2c66a 58.2%); }
.profile-accent { position: absolute; right: 10%; top: 12%; line-height: 1; color: #425f38; font-size: 50px; }
.profile-photo img { position: absolute; left: 50%; translate: -50% 0; width: min(82%, 305px); height: auto; top: 14px; }
.profile-copy { padding: clamp(24px, 5vw, 52px); }
.profile-copy > .eyebrow, .contact .eyebrow { color: var(--green); }
.profile h2, .contact h2 { margin-top: 7px; font-size: clamp(29px, 3.9vw, 49px); line-height: 1; font-weight: 800; letter-spacing: -.061em; }
.profile-copy > p:not(.eyebrow), .contact p:not(.eyebrow) { margin-top: 13px; max-width: 58ch; color: var(--muted); line-height: 1.55; font-size: 15px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.profile-links a { display: flex; align-items: center; min-height: 41px; padding: 0 12px; border: 1px solid #cedac4; border-radius: 9px; background: #fbfdf6; font-size: 13px; font-weight: 750; transition: background var(--motion), transform var(--motion); }
.profile-links a:hover { background: var(--lime); transform: translateY(-2px); }

.resume-section { margin-top: clamp(30px, 4.6vw, 52px); }
.resume-section h2 { margin-bottom: 13px; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.08; letter-spacing: -.055em; font-weight: 800; }
.experience-layout, .interest-stories { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); gap: 13px; align-items: start; }
.skills-grid, .hobby-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.info-card {
  padding: clamp(14px, 2.15vw, 23px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
}
.info-card:hover { border-color: #adbfaa; box-shadow: 0 5px 15px #21382312; transform: translateY(-2px); }
.info-card h3, .credential summary b { margin: 0; font-size: 17px; line-height: 1.16; letter-spacing: -.028em; font-weight: 800; }
.info-card :is(p, ul) { margin-top: 7px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.info-card .info-meta, .credential summary small { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 720; }
.info-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 11px;
  place-items: center;
  border-radius: 10px;
  background: var(--swatch, var(--mint));
  color: var(--green);
  transition: rotate var(--motion), scale var(--motion);
}
.info-card:hover .info-icon { rotate: -7deg; scale: 1.08; }
.info-link { display: inline-flex; align-items: center; min-height: 43px; gap: 4px; margin-top: 7px; color: var(--green); font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.info-link svg { transition: translate var(--motion); }
.info-link:hover svg { translate: 2px -2px; }
.volunteer-card { background: #eef3e8; }

.career-steps { list-style: none; margin: 17px 0 0 4px; padding: 0 0 0 17px; border-left: 2px solid #d7e2cb; }
.career-steps li { position: relative; }
.career-steps li + li { margin-top: 17px; }
.career-steps li::before { content: ""; position: absolute; top: 4px; left: -23px; width: 10px; height: 10px; background: #deeb9f; border: 2px solid #5b7d45; border-radius: 50%; transition: scale var(--motion); }
.career-steps li:hover::before { scale: 1.25; }
.career-steps h4 { margin: 0; font-size: 15px; font-weight: 800; }

.learning-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 18px; }
.learning-stack { display: grid; gap: 9px; }
.credential summary { display: flex; justify-content: space-between; gap: 9px; align-items: center; list-style: none; }
.credential summary::-webkit-details-marker { display: none; }
.credential summary small { display: block; }
.credential summary [data-icon] { display: grid; flex: none; width: 31px; height: 31px; place-items: center; border-radius: 50%; color: var(--green); background: #eef3e8; }
.credential summary svg { transition: rotate var(--motion); }
.credential[open] summary svg { rotate: 180deg; }
.credential ul { margin-bottom: 0; padding-left: 19px; }
.credential li + li { margin-top: 4px; }
.toolkit { margin-top: 10px; }

.interest-stories { margin-top: 13px; }
.travel-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.travel-photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 9px; transition: transform var(--motion); }
.travel-photos img:hover { transform: scale(1.035); }
.contact { margin-block: 25px 36px; background: #fff8df; border: 1px solid #f5e7b5; border-radius: var(--radius); padding: clamp(22px, 4vw, 47px); display: grid; grid-template-columns: 1fr minmax(0, .86fr); align-items: center; gap: 22px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.product-concept { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(19px, 4.5vw, 56px); margin-top: 38px; padding: clamp(17px, 4vw, 44px); border: 1px solid #dceadc; border-radius: var(--radius); background: #f1f8ef; }
.concept-copy .eyebrow { color: var(--green); }
.concept-copy h2 { margin-top: 7px; font-size: clamp(29px, 3.6vw, 47px); letter-spacing: -.055em; line-height: 1.03; }
.concept-copy > p:not(.eyebrow) { margin-top: 12px; max-width: 52ch; color: var(--muted); font-size: 15px; line-height: 1.55; }
.experiment, .project-evidence { display: grid; gap: 8px; margin-top: 12px; }
.experiment div, .project-evidence div { padding: 9px 11px; border-radius: 9px; background: #edf5ea; }
.experiment div { padding-inline: 0; border-top: 1px solid #d9e8d9; border-radius: 0; background: transparent; }
.experiment dt, .project-evidence dt { font-size: 12px; font-weight: 800; color: var(--green); }
.experiment dd, .project-evidence dd { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.swap-demo { padding: 15px; border: 1px solid #dce8dd; border-radius: 16px; background: var(--white); box-shadow: 0 9px 25px #21422810; }
.swap-header { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.swap-header [data-icon] { color: var(--green); }
.swap-header h3 { font-size: 18px; }
.sample-prices { margin-left: auto; color: var(--muted); font-size: 11px; }
.unavailable-item { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 7px 10px; border: 1px solid #f2e0ad; border-radius: 10px; background: #fff7dd; }
.swap-tomato { display: block; flex: none; width: 39px; height: 39px; background: url("../portfolio-handover/assets/personal/blinkit-grocery-stickers.webp") 0 0 / 200% 200%; }
.unavailable-item b, .swap-choice b { font-size: 14px; }
.unavailable-item small, .swap-choice small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.unavailable-item small { color: #775814; }
.swap-demo fieldset { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.swap-demo legend { margin-bottom: 7px; padding: 0; font-size: 13px; font-weight: 750; }
.swap-choice { display: flex; align-items: center; gap: 8px; min-height: 53px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; transition: background var(--motion), border-color var(--motion), transform var(--motion); }
.swap-choice:hover, .swap-choice:has(:checked) { border-color: #81b584; background: #f0f9ef; }
.swap-choice:has(:checked) { transform: translateY(-1px); }
.swap-choice input { accent-color: var(--green); }
.swap-choice strong { margin-left: auto; font-size: 15px; }
.swap-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.swap-result:not(:empty) { margin: 12px 0; padding: 11px; border-radius: 9px; color: var(--dark); background: #e9f7e9; font-size: 14px; font-weight: 710; line-height: 1.45; animation: produce-enter 240ms ease-out both; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; padding-block: 21px 28px; }
.footer-controls { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: 5px 16px; }
.footer a:hover { text-decoration: underline; }
.motion-preference { display: inline-flex; align-items: center; gap: 5px; }
.motion-preference input { accent-color: var(--green); }
.mobile-nav { display: none; }

.panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 490px);
  max-width: none;
  height: 100%;
  max-height: 100%;
  margin: 0;
  border: none;
  border-radius: 20px 0 0 20px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -20px 0 65px #0a221b32;
  overscroll-behavior: contain;
}
.panel[open] { animation: drawer-in 190ms ease-out both; }
.panel::backdrop { background: #1a2921a1; }
@keyframes drawer-in { from { opacity: .6; transform: translateX(22px); } }
.panel-top { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--green); background: var(--paper); }
.panel-top form { margin-inline-start: auto; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); transition: background var(--motion), transform var(--motion); }
.icon-button:hover { background: var(--mint); }
.panel-body { padding: 20px 22px 32px; }
.panel-body h2 { font-size: clamp(27px, 6vw, 37px); line-height: 1.04; font-weight: 800; letter-spacing: -.055em; }
.panel-body > .card-media { margin-block: 13px 17px; }
.panel-body p:not(.detail-context) { margin-block: 10px; color: var(--muted); line-height: 1.55; }
.detail-metric { display: inline-block; margin-top: 9px; padding: 5px 8px; border-radius: 5px; color: var(--green); background: var(--mint); font-size: 13px; font-weight: 800; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.detail-actions .save-button { min-height: 44px; padding-inline: 12px; }
.saved-list { display: grid; gap: 9px; padding: 0; margin: 17px 0; list-style: none; }
.saved-row { display: flex; align-items: center; gap: 10px; padding: 9px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; }
.saved-row .card-media { width: 70px; flex: none; aspect-ratio: 1.22; }
.saved-row .card-media img { padding: 2px; }
.saved-row .media-mark { font-size: 23px; }
.saved-open { align-self: stretch; padding: 0; flex: 1; text-align: left; background: none; border: none; font-weight: 800; }
.saved-open small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.toast {
  position: fixed;
  z-index: 4;
  right: 21px;
  bottom: 21px;
  max-width: calc(100vw - 42px);
  padding: 10px 13px;
  border-radius: 9px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 4px 15px #1b38283c;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion), transform var(--motion);
  font-size: 13px;
  font-weight: 750;
}
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 990px) {
  .topbar-inner { gap: 16px; }
  .header-location { display: none; }
  .topbar-inner { grid-template-columns: auto minmax(140px, 1fr) auto auto; }
  .category { flex-direction: column; justify-content: center; text-align: center; gap: 6px; font-size: 12px; }
  .hero-portrait { width: min(94%, 385px); }
  .hero-orbit { right: 4%; top: 15%; }
}
@media (max-width: 750px) {
  html { scroll-padding-top: 128px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .page, .topbar-inner { width: calc(100% - 30px); }
  .topbar-inner { grid-template-columns: auto 1fr auto; gap: 9px 10px; padding-block: 8px; }
  .brand { font-size: 25px; }
  .brand small { font-size: 7px; margin-top: 5px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .header-profile { justify-self: end; }
  .header-profile > span:last-child, .header-shortlist { display: none; }
  .header-location { display: flex; justify-self: start; border: none; padding-left: 8px; font-size: 12px; }
  .header-location small { font-size: 10px; }
  .searchbox { grid-row: 2; grid-column: 1 / -1; height: 40px; }
  .searchbox input { font-size: 16px; }
  .searchbox kbd { display: none; }
  .hero { margin-top: 14px; grid-template-columns: 1fr; border-radius: 19px; min-height: 0; }
  .hero-copy { padding: 24px 22px 0; }
  .hero-label { margin-bottom: 11px; }
  .hero h1 { font-size: clamp(47px, 11.8vw, 82px); }
  .hero-subtitle { margin-top: 8px; font-size: clamp(26px, 7.6vw, 41px); }
  .hero-subtitle br { display: none; }
  .hero-description { margin-top: 9px; font-size: 13px; }
  .hero-actions { margin-top: 11px; gap: 12px; }
  .hero-actions .button, .hero-link { min-height: 42px; font-size: 13px; }
  .hero-art { min-height: clamp(227px, 54vw, 300px); }
  .hero-orbit { width: clamp(188px, 57%, 295px); top: 8%; right: 13%; }
  .hero-portrait { width: clamp(190px, 59%, 290px); top: 0; left: 53%; }
  .hero-spark { top: 16%; right: 15%; font-size: 38px; }
  .ride-stage { min-height: clamp(200px, 63vw, 370px); }
  .ride-orbit { top: 4%; right: 14%; width: min(63%, 290px); }
  .ride-rider { width: min(100%, 480px); max-height: 85%; bottom: 30px; }
  .tomato { left: 10%; top: 16%; }
  .broccoli { right: 25%; top: 2%; }
  .bananas { left: 5%; bottom: 23%; }
  .strawberries { right: 6%; bottom: 23%; }
  .hero-caption { right: 4%; bottom: 11px; padding: 6px 8px; gap: 2px; }
  .hero-caption b { font-size: 11px; }
  .dispatch { gap: 6px; margin-top: 16px; }
  .dispatch-heading { flex-wrap: wrap; gap: 2px 7px; }
  .dispatch h2 { font-size: 17px; }
  .dispatch-heading a { font-size: 11px; }
  .dispatch button { flex-direction: column; align-items: start; justify-content: start; gap: 4px; min-height: 105px; font-size: 12px; padding: 7px; }
  .dispatch button small { font-size: 10px; line-height: 1.28; }
  .dispatch-icon, .dispatch-logo { width: 27px; height: 27px; }
  .dispatch button [data-icon="external"] { display: none; }
  .product-concept { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 25px; }
  .browse { padding-top: 22px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading p { font-size: 13px; }
  .catalog-total { display: none; }
  .categories { grid-template-columns: repeat(6, minmax(76px, 1fr)); overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; margin: 11px -3px 0; padding: 3px; gap: 7px; }
  .category { min-height: 72px; padding-inline: 4px; font-size: 11px; }
  .category-icon { width: 36px; height: 36px; }
  .category-icon svg { width: 19px; height: 19px; }
  .shelf { margin-top: 22px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shelf-strip { grid-template-columns: none; grid-auto-columns: minmax(145px, 43%); }
  .card { padding: 6px; border-radius: 13px; }
  .card-info { padding-inline: 3px; }
  .card h4 { font-size: 16px; }
  .card-description { font-size: 12px; }
  .card-metric { font-size: 10px; }
  .save-button { min-width: 55px; min-height: 44px; }
  .profile { grid-template-columns: 1fr; margin-top: 28px; }
  .profile-photo { display: none; }
  .profile-copy { padding: 22px; }
  .experience-layout, .interest-stories, .learning-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .learning-grid { gap: 0; }
  .skills-grid, .hobby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .info-card h3, .credential summary b { font-size: 16px; }
  .info-card :is(p, ul) { font-size: 13px; }
  .contact { grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; gap: 19px; }
  .footer-inner { flex-wrap: wrap; padding-block: 14px; }
  .mobile-nav { position: fixed; z-index: 3; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #dce5d6; background: var(--paper); }
  .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 60px; padding: 4px; border: none; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; }
  .mobile-nav svg { width: 21px; height: 21px; }
  .mobile-nav [aria-current="location"] { color: var(--green); background: #e9efdf; }
  .mobile-bag { position: relative; }
  .mobile-count { position: absolute; top: -4px; left: 15px; min-width: 15px; padding-inline: 3px; background: var(--green); color: var(--white); border-radius: 10px; font-size: 9px; }
  .toast { bottom: calc(69px + env(safe-area-inset-bottom)); }
  .panel { inset: auto 0 0; height: auto; max-height: 88vh; max-height: 88dvh; width: 100%; border-radius: 19px 19px 0 0; }
  .panel[open] { animation-name: sheet-in; }
  .panel-body { padding-bottom: calc(23px + env(safe-area-inset-bottom)); }
  @keyframes sheet-in { from { opacity: .7; transform: translateY(20px); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0s !important; }
}

:root:has(#motion-preference:checked) { scroll-behavior: auto; }
:root:has(#motion-preference:checked) :is(*, *::before, *::after) {
  animation: none !important;
  transition-duration: 0s !important;
}
