:root {
  --forest: #395442;
  --sage: #879b74;
  --pist: #c9d8a5;
  --paper: #f2ebd8;
  --paper-2: #f9f5e8;
  --ink: #26342b;
  --muted: #55695a;
  --line: #d8d2b6;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 1.5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sage), var(--forest)); z-index: 50; }

/* top banner */
.banner { background: var(--forest); overflow: hidden; position: relative; z-index: 5;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.banner-track { display: flex; width: max-content; align-items: center; gap: 3.5rem; padding: 1rem 0; animation: marquee 56s linear infinite; }
.banner:hover .banner-track { animation-play-state: paused; }
.b-item { position: relative; display: flex; align-items: center; gap: .7rem; flex-shrink: 0; color: var(--paper); text-decoration: none; white-space: nowrap; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; opacity: .92; }
.b-item::before { content: ""; position: absolute; inset: -90% -25%; pointer-events: none; filter: blur(8px); background: radial-gradient(closest-side, rgba(255,255,255,.18), rgba(255,255,255,.06) 45%, transparent 70%); }
.b-item > * { position: relative; }
.b-item small { display: block; font-size: .62rem; letter-spacing: .2em; opacity: .8; font-weight: 600; }
.b-item img.tile { height: 3.1rem; width: auto; max-width: 11rem; border-radius: .5rem; object-fit: contain; padding: .2rem .5rem; }
.b-item img.logo { width: auto; object-fit: contain; }
.b-item img.h-3 { height: 3rem; } .b-item img.h-2 { height: 1.9rem; }
.b-item.dsp span { font-weight: 900; letter-spacing: .12em; font-size: 1.05rem; }
.b-item.dsp i { color: #d1263a; font-style: normal; }
.b-item.award b { font-size: 1.5rem; color: var(--pist); }
.b-item.award small { color: var(--pist); opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* mobile section nav */
.mnav { display: none !important; position: sticky; top: 0; z-index: 20; display: flex; gap: .4rem; overflow-x: auto; padding: .6rem 1rem; background: rgba(242,235,216,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.mnav::-webkit-scrollbar { display: none; }
.mnav a { flex: none; padding: .35rem .85rem; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--muted); border: 1px solid var(--line); transition: all .2s; }
.mnav a.active { background: var(--forest); border-color: var(--forest); color: var(--paper); }
@media (min-width: 64rem) { .mnav { display: none; } }

/* layout: content left, profile right */
.shell { max-width: 84rem; margin: 0 auto; padding: 1.5rem 1.25rem 0; display: flex; flex-direction: column; }
.profile { order: -1; margin-bottom: 1.5rem; }
.profile .h1like { margin: 0; }
@media (min-width: 64rem) {
  .shell { flex-direction: row; align-items: flex-start; gap: 3.5rem; padding: 0 3rem; }
  .content { flex: 1 1 0; min-width: 0; padding: 3rem 0 2rem; }
  .profile { order: 0; flex: 0 0 25rem; position: sticky; top: 4.1rem; height: calc(100vh - 4.1rem); margin: 0; }
  .p-scroll { height: 100%; overflow-y: auto; scrollbar-width: none; padding: 1.6rem 0 1.5rem; display: flex; flex-direction: column; }
  .p-scroll::-webkit-scrollbar { display: none; }
}

/* ---------- profile (right) ---------- */
.portrait { position: relative; margin: 0 auto; width: 17.5rem; aspect-ratio: 4 / 5; }
.halo { position: absolute; inset: -12% -16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,216,165,.85), rgba(201,216,165,0) 70%); animation: breathe 7s ease-in-out infinite; }
.arch-back { position: absolute; inset: 0; border-radius: 999px 999px 1.4rem 1.4rem; background: var(--sage); transform: translate(.9rem, .9rem) rotate(3deg); transition: transform .6s var(--ease); }
.arch { position: absolute; inset: 0; border-radius: 999px 999px 1.4rem 1.4rem; overflow: hidden; background: var(--pist); border: 3px solid var(--forest); box-shadow: 0 22px 44px rgba(57,84,66,.25); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.02); transition: transform .8s var(--ease); }
.portrait:hover .arch img { transform: scale(1.07); }
.portrait:hover .arch-back { transform: translate(1.2rem, 1.2rem) rotate(5deg); }
.dot { position: absolute; border-radius: 50%; }
.dot.d1 { width: 3.6rem; height: 3.6rem; right: -1.6rem; top: 2.4rem; background: var(--pist); border: 3px solid var(--forest); animation: float 6s ease-in-out infinite; }
.dot.d2 { width: 1.4rem; height: 1.4rem; left: -.8rem; top: 38%; background: var(--forest); animation: float 5s ease-in-out -2s infinite; }
.sprig-l { position: absolute; left: -2.6rem; bottom: -.4rem; width: 3.6rem; color: var(--forest); transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.sprig-l .sprig { width: 100%; height: auto; }
.sprig path { stroke-width: 2.4; stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.badge { position: absolute; right: -2.6rem; bottom: -2rem; width: 7.4rem; height: 7.4rem; filter: drop-shadow(0 10px 18px rgba(57,84,66,.3)); }
.badge .ring { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.spark { position: absolute; color: var(--forest); }
.spark .star { width: 100%; height: 100%; }
.spark.s1 { width: 1.5rem; height: 1.5rem; left: -1.6rem; top: 6%; animation: twinkle 3.2s ease-in-out infinite; }
.spark.s2 { width: 1rem; height: 1rem; right: 1.4rem; top: -1.1rem; color: var(--sage); animation: twinkle 3.2s ease-in-out -1.4s infinite; }

.id { margin-top: 3.4rem; text-align: center; }
.profile h1, .profile .h1like { font-size: clamp(2.5rem, 4.4vw, 3.4rem); line-height: .98; letter-spacing: -.025em; color: var(--forest); font-weight: 900; }
.role { margin: .65rem 0 0; font-size: 1.05rem; font-weight: 700; color: var(--forest); height: 1.6rem; }
.role span { display: inline-block; padding: 0 .75rem; position: relative; transition: opacity .3s, transform .3s var(--ease); }
.role span::before, .role span::after { content: ""; position: absolute; top: 50%; width: 1.4rem; height: 2px; background: var(--sage); }
.role span::before { right: 100%; } .role span::after { left: 100%; }
.tag { display: inline-block; margin: .9rem 0 0; padding: .15rem .8rem; border-radius: 999px; background: var(--pist); font-size: .78rem; font-weight: 700; color: var(--forest); }
.bio { margin: 1rem auto 0; font-size: .93rem; line-height: 1.6; color: var(--muted); max-width: 23rem; text-align: left; }

.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.4rem 0 0; padding: 0; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper-2); overflow: hidden; }
.stats li { padding: .8rem .4rem; text-align: center; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats b { display: block; font-size: 1.6rem; line-height: 1; color: var(--forest); font-weight: 900; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: .3rem; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav { display: none; margin-top: 1.5rem; }
@media (min-width: 64rem) { .nav { display: block; } }
.nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1rem; }
.nav a { display: flex; align-items: center; gap: .7rem; padding: .32rem 0; text-decoration: none; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; transition: color .2s; }
.nav a::before { content: ""; width: 1rem; height: 2px; background: var(--line); transition: width .3s var(--ease), background .3s; }
.nav a:hover, .nav a.active { color: var(--forest); }
.nav a.active::before, .nav a:hover::before { width: 1.9rem; background: var(--forest); }
.socials { list-style: none; display: flex; justify-content: center; gap: .6rem; margin: auto 0 0; padding: 1.4rem 0 0; }
.socials a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--forest); color: var(--forest); transition: background .25s, color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--forest); color: var(--paper); transform: translateY(-3px); }
.socials svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }

/* ---------- panels ---------- */
.panel { position: relative; margin: 0 0 1.75rem; padding: 2.25rem; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 5.5rem; }
.panel.tint { background: color-mix(in srgb, var(--pist) 38%, var(--paper-2)); }
.panel.dark { background: var(--forest); border-color: var(--forest); color: var(--paper); }
@media (max-width: 40rem) { .panel { padding: 1.4rem; } }


.ch { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.25rem; align-items: center; padding-bottom: 1.4rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.dark .ch { border-color: rgba(242,235,216,.25); }
.ch .no { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--forest); background: var(--pist); border-radius: 99px; padding: .3rem .7rem; }
.ch h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -.015em; color: var(--forest); font-weight: 900; }
.dark .ch h2 { color: var(--paper); }
.ch .csub { margin: .45rem 0 0; font-size: .95rem; color: var(--muted); max-width: 34rem; }
.dark .ch .csub { color: rgba(242,235,216,.82); }
.ch-art { width: 5.6rem; height: 5.6rem; color: var(--forest); }
.dark .ch-art { color: var(--paper); }
.dark .ch-art .blob { fill: rgba(201,216,165,.25); }
.ch-art svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 40rem) { .ch { grid-template-columns: auto 1fr; } .ch-art { display: none; } }

/* reveal + draw animations */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .draw, .in.draw { animation: draw 1.4s var(--ease) forwards; }
.blob { transform-origin: center; transform-box: fill-box; transform: scale(.6); opacity: 0; }
.in .blob { animation: pop .9s var(--ease) .1s forwards; }
.ch-art svg, .fart svg { transition: transform .5s var(--ease); }
.fcard:hover .fart svg { transform: rotate(-6deg) scale(1.06); }
.glass { animation: scan 4s ease-in-out infinite; transform-box: fill-box; }
.pil { animation: bob 3s ease-in-out infinite; }
.sway { transform-origin: 60px 62px; animation: swing 4s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); opacity: 1; } }
@keyframes scan { 0%,100% { transform: translateX(-10px); } 50% { transform: translateX(10px); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes swing { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%,100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.15) rotate(25deg); opacity: 1; } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ---------- carousel ---------- */
.carousel { position: relative; margin: 0 -2.25rem; }
@media (max-width: 40rem) { .carousel { margin: 0 -1.4rem; } }
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem 2.25rem 1.2rem; scroll-padding: 0 2.25rem; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%); }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.slide { flex: 0 0 min(17.5rem, 78%); scroll-snap-align: start; border-radius: 1.1rem; overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); user-select: none; }
.slide:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(57,84,66,.2); }
.cover { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--forest), var(--sage) 62%, var(--pist)); position: relative; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); pointer-events: none; }
.slide:hover .cover img { transform: scale(1.06); }
.cover.rj img { object-position: 50% 30%; }
.cover .src { position: absolute; left: .75rem; top: .75rem; background: rgba(57,84,66,.92); color: var(--paper); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 99px; }
.cover .mono { position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); font-weight: 900; font-size: 2rem; letter-spacing: -.02em; padding: 1rem; text-align: center; line-height: 1.1; }
.slide-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.slide h3 { font-size: 1.02rem; line-height: 1.3; color: var(--forest); font-weight: 800; }
.slide p { margin: .4rem 0 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.slide .go { margin-top: auto; padding-top: .8rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.car-ui { display: flex; align-items: center; justify-content: space-between; padding: 0 2.25rem; }
@media (max-width: 40rem) { .car-ui { padding: 0 1.4rem; } }
.dots { display: flex; gap: .4rem; flex-wrap: wrap; }
.dots button { width: .5rem; height: .5rem; border-radius: 99px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.dots button.on { width: 1.6rem; background: var(--forest); }
.arrows { display: flex; gap: .5rem; }
.arrows button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.arrows button:hover:not(:disabled) { background: var(--forest); color: var(--paper); }
.arrows button:disabled { opacity: .3; cursor: default; }

/* ---------- freelance ---------- */
.fgrid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 44rem) { .fgrid { grid-template-columns: 1fr 1fr; } }
.fcard { background: var(--paper-2); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.4rem; position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fcard::after { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--sage); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(57,84,66,.14); }
.fcard:hover::after { transform: scaleX(1); }
.fart { width: 5.2rem; height: 5.2rem; color: var(--forest); margin-bottom: .6rem; }
.fart svg { width: 100%; height: 100%; overflow: visible; }
.fcard h3 { font-size: 1.15rem; color: var(--forest); font-weight: 800; }
.fcard p { margin: .4rem 0 0; color: var(--muted); font-size: .95rem; }
.cta { margin: 1.6rem 0 0; }
.btn { display: inline-flex; gap: .6rem; align-items: center; padding: .85rem 1.6rem; border-radius: 999px; background: var(--forest); color: var(--paper); font-weight: 700; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(57,84,66,.28); }
.btn:hover span { transform: translateX(4px); }
.btn.light { background: var(--paper); color: var(--forest); }

/* ---------- awards ---------- */
.agrid { display: grid; gap: 1rem; }
.acard { display: grid; grid-template-columns: 8rem 1fr; gap: 1.25rem; align-items: center; border: 1px solid rgba(242,235,216,.28); border-radius: 1.1rem; padding: 1.1rem; text-decoration: none; background: rgba(242,235,216,.06); transition: transform .3s var(--ease), background .3s; position: relative; }
a.acard:hover { transform: translateX(6px); background: rgba(242,235,216,.13); }
.acard .vis { display: grid; place-items: center; height: 6rem; border-radius: .8rem; background: var(--paper); overflow: hidden; }
.acard .vis.dk { background: color-mix(in srgb, var(--forest) 62%, #000); }
.acard .vis img { max-width: 100%; max-height: 4.4rem; object-fit: contain; padding: .3rem .6rem; }
.acard .iss { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pist); }
.acard h3 { margin: .25rem 0 .35rem; font-size: 1.1rem; line-height: 1.3; font-weight: 800; color: var(--paper); }
.acard p { margin: 0; font-size: .9rem; color: rgba(242,235,216,.82); }
@media (max-width: 36rem) { .acard { grid-template-columns: 1fr; } }

/* ---------- published directory ---------- */
.dir { display: grid; gap: 1.8rem; }
.grp h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); }
.grp h3 a { text-decoration: none; }
.grp h3 a:hover { text-decoration: underline; }
.grp h3 em { font-style: normal; background: var(--pist); color: var(--forest); border-radius: 99px; padding: .05rem .55rem; letter-spacing: 0; font-size: .72rem; }
.grp ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--forest); }
.grp li { border-bottom: 1px solid var(--line); }
.grp li a, .grp li .row { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; text-decoration: none; transition: padding .25s var(--ease), background .25s; }
.grp li a:hover { padding-left: .7rem; background: color-mix(in srgb, var(--pist) 45%, transparent); }
.grp .t { font-weight: 600; color: var(--forest); line-height: 1.4; }
.grp .fill { flex: 1; min-width: .5rem; border-bottom: 1.5px dotted var(--sage); transform: translateY(-4px); }
.grp .d { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.grp .arrow { color: var(--forest); font-weight: 800; }
@media (max-width: 36rem) { .grp .fill { display: none; } .grp li a, .grp li .row { flex-wrap: wrap; justify-content: space-between; } }

/* ---------- experience ---------- */
.timeline { position: relative; padding-left: 1.6rem; border-left: 2px solid var(--sage); }
.job { position: relative; padding: 0 0 1.6rem; }
.job::before { content: ""; position: absolute; left: -2.1rem; top: .35rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--paper-2); border: 3px solid var(--forest); transition: background .3s, transform .3s var(--ease); }
.job:hover::before { background: var(--forest); transform: scale(1.25); }
.job .when { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.job h3 { margin: .15rem 0 0; color: var(--forest); font-size: 1.12rem; font-weight: 800; }
.job .org { color: var(--forest); font-weight: 600; font-size: .92rem; opacity: .8; }
.job p { margin: .45rem 0 0; color: var(--muted); font-size: .95rem; }
.sub { margin: 2rem 0 .9rem; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--forest); font-weight: 800; }
.igrid { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 44rem) { .igrid { grid-template-columns: 1fr 1fr; } }
.ind { background: var(--paper-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.15rem; transition: transform .3s var(--ease), border-color .3s; }
.ind:hover { transform: translateY(-3px); border-color: var(--sage); }
.ind h4 { font-size: .98rem; color: var(--forest); font-weight: 800; }
.ind p { margin: .3rem 0 0; font-size: .9rem; color: var(--muted); }
.checks { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.checks li { margin: 0 0 .45rem; }
.checks li::marker { color: var(--sage); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .3rem .85rem; border-radius: 99px; background: var(--pist); color: var(--forest); font-size: .82rem; font-weight: 700; transition: transform .2s var(--ease); }
.chips li:hover { transform: translateY(-2px) rotate(-1.5deg); }

/* ---------- contact ---------- */
.contact { padding-bottom: 0; }
.c-body { max-width: 34rem; padding-bottom: 1.4rem; }
.c-body .big { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .8rem; }
.c-body p { color: rgba(242,235,216,.88); margin: 0 0 1.2rem; }
.c-body .meta { margin: 1rem 0 0; font-size: .9rem; color: rgba(242,235,216,.7); }
.skyline { margin: 0 -2.25rem; color: var(--paper); opacity: .85; }
.skyline svg { width: 100%; height: auto; display: block; }
.skyline path, .skyline ellipse { stroke-width: 1.8; }
@media (max-width: 40rem) { .skyline { margin: 0 -1.4rem; } }
footer { padding: 1rem 0 2.5rem; font-size: .8rem; color: var(--muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .banner-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; padding: 1rem; }
  .banner-track [aria-hidden="true"] { display: none; }
  .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .blob { opacity: 1; transform: none; }
}

/* ---------- sticky site header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(242,235,216,.88); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 84rem; margin: 0 auto; padding: 0 1.25rem; height: 4.1rem; display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 64rem) { .top-in { padding: 0 3rem; } }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--forest); font-weight: 900; letter-spacing: .24em; font-size: .82rem; margin-right: auto; }
.brand svg { width: 1.9rem; height: 1.9rem; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(72deg) scale(1.08); }
.tnav { display: flex; gap: .25rem; }
.tnav a { position: relative; padding: .5rem .95rem; border-radius: 99px; text-decoration: none; font-size: .86rem; font-weight: 700; color: var(--muted); transition: color .2s, background .25s; }
.tnav a::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .22rem; height: 2px; border-radius: 2px; background: var(--forest); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.tnav a:hover { color: var(--forest); background: color-mix(in srgb, var(--pist) 45%, transparent); }
.tnav a:hover::after, .tnav a.on::after { transform: scaleX(1); }
.tnav a.on { color: var(--forest); }
.hire { display: inline-flex; gap: .45rem; align-items: center; padding: .55rem 1.1rem; border-radius: 99px; background: var(--forest); color: var(--paper); text-decoration: none; font-size: .84rem; font-weight: 800; transition: transform .25s var(--ease), box-shadow .25s; }
.hire span { transition: transform .25s var(--ease); }
.hire:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(57,84,66,.3); }
.hire:hover span { transform: translateX(3px); }
.burger { display: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--forest); background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger i { position: absolute; left: .75rem; right: .75rem; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: .88rem; } .burger i:nth-child(2) { top: 1.24rem; } .burger i:nth-child(3) { top: 1.6rem; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(.36rem) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-.36rem) rotate(-45deg); }
@media (max-width: 52rem) {
  .hire { display: none; }
  .burger { display: block; }
  .tnav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .6rem 1.25rem 1rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(57,84,66,.15); clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: clip-path .4s var(--ease), opacity .3s; }
  .tnav.open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .tnav a { padding: .8rem .4rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .tnav a::after { display: none; }
}

/* ---------- inner pages ---------- */
.page { max-width: 68rem; margin: 0 auto; padding: 2rem 1.25rem 0; }
@media (min-width: 64rem) { .page { padding: 2.5rem 3rem 0; } }
.phero { display: grid; gap: 1rem 2rem; align-items: center; margin-bottom: 1.75rem; padding: 2.4rem; border-radius: var(--r); background: linear-gradient(135deg, color-mix(in srgb, var(--pist) 55%, var(--paper-2)), var(--paper-2) 70%); border: 1px solid var(--line); overflow: hidden; position: relative; }
@media (min-width: 52rem) { .phero { grid-template-columns: 1.05fr .95fr; padding: 3rem; } }
.eyebrow { display: inline-block; padding: .25rem .8rem; border-radius: 99px; background: var(--forest); color: var(--paper); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.phero h1 { margin: 1rem 0 .8rem; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 900; color: var(--forest); }
.phero p { margin: 0 0 1.4rem; color: var(--muted); font-size: 1.05rem; max-width: 30rem; }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn.ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn.ghost:hover { background: var(--forest); color: var(--paper); }
.ph-art { color: var(--forest); }
.scene { width: 100%; height: auto; overflow: visible; display: block; max-width: 30rem; margin: 0 auto; }
.scene .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) .15s forwards; }
.scene .blob { animation: pop 1s var(--ease) .1s forwards; }
.scene .mark { animation-delay: 1.2s; }
.scene .steam { animation: draw 1.4s var(--ease) 1s forwards, steam 3.2s ease-in-out 2.4s infinite; }
.scene .steam.s2 { animation-delay: 1.3s, 2.9s; }
.scene .glass2 { animation: scan2 5s ease-in-out 2s infinite; transform-box: fill-box; }
.scene .pen { animation: wiggle 4s ease-in-out 2s infinite; transform-origin: 410px 160px; }
.scene .sheet { animation: floaty 7s ease-in-out infinite; transform-origin: 220px 180px; }
.scene .sp { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.scene .sp.b { animation-delay: -1.4s; }
.scene .sprig-s { animation: sway 6s ease-in-out infinite; }
.scene .fan { transform-box: view-box; transform-origin: 240px 290px; transition: transform 1.2s var(--ease) .3s; }
.scene .f1 { transform: rotate(-3deg); animation: fan1 1.4s var(--ease) .4s forwards; }
.scene .f3 { transform: rotate(3deg); animation: fan3 1.4s var(--ease) .4s forwards; }
.scene .roll { animation: floaty 6s ease-in-out -2s infinite; transform-origin: 80px 290px; }
.scene .lan { transform-origin: 414px 40px; animation: swing 4.5s ease-in-out infinite; }
@keyframes steam { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-6px); opacity: .55; } }
@keyframes scan2 { 0%,100% { transform: translate(-26px, -14px); } 50% { transform: translate(16px, 22px); } }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes fan1 { from { transform: rotate(0); } to { transform: rotate(-13deg); } }
@keyframes fan3 { from { transform: rotate(0); } to { transform: rotate(13deg); } }
.page .panel + .panel, .page .phero + .panel { margin-top: 0; }

/* home: explore cards */
.xgrid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 44rem) { .xgrid { grid-template-columns: 1fr 1fr; } }
.xcard { display: flex; gap: 1.1rem; align-items: center; padding: 1.3rem; border-radius: 1.1rem; background: color-mix(in srgb, var(--pist) 38%, var(--paper-2)); border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.xcard:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(57,84,66,.16); }
.xart { flex: none; width: 5rem; height: 5rem; color: var(--forest); }
.xart svg { width: 100%; height: 100%; overflow: visible; }
.xcard h3 { font-size: 1.1rem; font-weight: 800; color: var(--forest); line-height: 1.25; }
.xcard p { margin: .35rem 0 0; font-size: .9rem; color: var(--muted); }
.xcard .go { display: inline-block; margin-top: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); transition: transform .25s var(--ease); }
.xcard:hover .go { transform: translateX(5px); }

/* published: filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chipf { padding: .45rem .95rem; border-radius: 99px; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.chipf em { font-style: normal; margin-left: .3rem; opacity: .7; }
.chipf:hover { transform: translateY(-2px); }
.chipf.on { background: var(--forest); color: var(--paper); }
.grp.hide { display: none; }

/* footer */
.foot { max-width: 84rem; margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem; display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: .82rem; color: var(--muted); }
@media (min-width: 64rem) { .foot { padding: 1.5rem 3rem 2.5rem; } }
.foot .fl { display: flex; gap: 1.2rem; }
.foot a { text-decoration: none; font-weight: 700; color: var(--forest); }
.foot a:hover { text-decoration: underline; }
.page .contact { margin-bottom: 1.75rem; }

.aiskill { margin: 0 0 1rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: var(--forest); color: var(--paper); }
.aiskill p { margin: 0 0 .8rem; font-size: .95rem; color: rgba(242,235,216,.92); }
.chips.ai li { background: rgba(242,235,216,.14); color: var(--paper); border: 1px solid rgba(242,235,216,.35); }
.chips.ai li:hover { background: var(--pist); color: var(--forest); }

.orgl { display: flex; flex-wrap: wrap; gap: .4rem; margin: .45rem 0 0; }
.orgl a { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .65rem; border-radius: 99px; border: 1px solid var(--sage); font-size: .74rem; font-weight: 700; text-decoration: none; color: var(--forest); transition: background .2s, color .2s; }
.orgl a:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.orgl svg, .igl svg { width: .85rem; height: .85rem; fill: currentColor; }
.igl { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--forest); color: var(--forest); text-decoration: none; transition: background .2s, color .2s; }
.igl:hover { background: var(--forest); color: var(--paper); text-decoration: none !important; }

/* ---------- compact profile: fits the viewport, no inner scroll ---------- */
@media (min-width: 64rem) {
  .profile { flex-basis: 24rem; }
  .p-scroll { padding: clamp(.6rem, 1.8vh, 1.4rem) 0 clamp(.6rem, 1.4vh, 1rem); justify-content: flex-start; }
  .portrait { width: clamp(6.5rem, 16.5vh, 11.5rem); }
  .dot.d1 { width: 2.4rem; height: 2.4rem; right: -1.1rem; top: 1.6rem; }
  .dot.d2 { width: 1rem; height: 1rem; }
  .sprig-l { width: 2.4rem; left: -1.8rem; }
  .badge { width: clamp(3.8rem, 8.5vh, 5.6rem); height: clamp(3.8rem, 8.5vh, 5.6rem); right: -1.5rem; bottom: -1.2rem; }
  .spark.s1 { width: 1.1rem; height: 1.1rem; left: -1.2rem; }
  .id { margin-top: clamp(1.4rem, 3.2vh, 2.4rem); }
  .profile h1, .profile .h1like { font-size: clamp(1.6rem, 3.5vh, 2.4rem); }
  .role { margin-top: .35rem; font-size: .92rem; height: 1.3rem; }
  .tag { margin-top: .45rem; font-size: .7rem; padding: .1rem .65rem; }
  .bio { margin-top: clamp(.4rem, 1.2vh, .8rem); font-size: clamp(.72rem, 1.6vh, .88rem); line-height: 1.45; max-width: none; }
  .stats { margin-top: clamp(.5rem, 1.5vh, .9rem); }
  .stats li { padding: clamp(.3rem, .9vh, .55rem) .3rem; }
  .stats b { font-size: clamp(1rem, 2.3vh, 1.35rem); }
  .stats span { font-size: .58rem; margin-top: .15rem; }
  .nav { margin-top: clamp(.5rem, 1.4vh, .9rem); }
  .nav ul { columns: auto; display: flex; flex-wrap: wrap; gap: .1rem 1rem; justify-content: center; }
  .nav a { padding: .2rem 0; font-size: .66rem; gap: .4rem; }
  .nav a::before { width: .6rem; }
  .nav a:hover::before, .nav a.active::before { width: 1.1rem; }
  .socials { padding-top: clamp(.5rem, 1.3vh, .9rem); margin-top: 0; }
  .socials a { width: 2.2rem; height: 2.2rem; }
  .socials svg { width: 1rem; height: 1rem; }
}
