:root {
  --text: #f5f5f4;
  --muted: #b9bbbc;
  --lime: #b5f542;
  --line: rgba(235, 239, 239, .38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 75% 38%, #343739 0, #202223 42%, #151617 78%);
  font-family: 'Proxima Nova', ProximaNova, Arial, sans-serif;
  font-size: 16px;
  font-kerning: normal;
  font-feature-settings: 'kern';
}
.portfolio {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  grid-template-areas:
    "hero hero"
    "contact contact"
    "projects projects"
    "footer footer";
  align-items: start;
  gap: 20px;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 64px);
  position: relative;
}
.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(11, 12, 13, .72), rgba(13, 14, 14, .56));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
  backdrop-filter: blur(8px);
}
.hero {
  grid-area: hero;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, .98fr) minmax(220px, .7fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "intro portrait credentials"
    "intro portrait credentials";
  gap: 18px;
  min-height: 790px;
  position: relative;
  padding-bottom: 0;
}
.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  content: "";
}
.intro {
  grid-area: intro;
  align-self: start;
  min-width: 0;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}
.intro h1 {
  margin: 0;
  text-transform: uppercase;
  font: 800 clamp(56px, 7.4vw, 112px)/.82 'Proxima Nova', ProximaNova, Arial, sans-serif;
  letter-spacing: 0;
  font-kerning: normal;
  font-feature-settings: 'kern';
}
.intro h1 span { display: block; }
.lime { color: var(--lime); }
.role {
  margin: 24px 0 18px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.5;
}
.role b { margin: 0 8px; color: #aaa; }
.accent-rule {
  display: block;
  width: 52px;
  height: 5px;
  border-radius: 9px;
  background: var(--lime);
}
.education {
  justify-self: start;
  align-self: start;
  width: min(100%, 270px);
  padding-top: 28px;
  position: relative;
  z-index: 2;
}
.education h2, .skills h2, .profile h2, .clients h2,
.journey > h2, .portfolio-link h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font: 800 22px/1.1 'Proxima Nova', ProximaNova, Arial, sans-serif;
  letter-spacing: 0;
}
.education p { margin: 0; line-height: 1.45; }
.education p span { color: var(--muted); }
.skills {
  align-self: start;
  width: 100%;
  max-width: 270px;
  border-left: 1px solid var(--line);
  padding: 18px 0 0 18px;
  position: relative;
  z-index: 3;
}
.credentials {
  grid-area: credentials;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 24px;
  min-width: 0;
  position: relative;
  z-index: 3;
}
.skills h2 { margin-bottom: 8px; font-size: 24px; }
.skills ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.45;
}
.resume-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding: 13px 16px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.resume-button span { color: var(--lime); font-size: 18px; line-height: 1; }
.resume-button:hover, .resume-button:focus-visible {
  color: #151617;
  background: var(--lime);
  transform: translateY(-2px);
}
.resume-button:hover span, .resume-button:focus-visible span { color: #151617; }
.portrait {
  position: relative;
  isolation: isolate;
  container-type: size;
  grid-area: portrait;
  align-self: stretch;
  z-index: 1;
  width: 100%;
  min-height: 0;
  height: auto;
  margin: 0;
  overflow: visible;
  pointer-events: none;
}
.portrait-art {
  position: absolute;
  bottom: 0;
  left: calc(50% - 20px);
  width: min(140%, 79cqh);
  aspect-ratio: 1043 / 1320;
  transform: translateX(-50%);
}
.portrait-art img {
  position: absolute;
  top: 0;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}
.portrait-photo {
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .28));
}
.portrait-mark {
  top: calc(10.5% - 10px);
  bottom: auto;
  left: calc(50% + 20px);
  z-index: 0;
  width: 64%;
  height: auto;
  transform: translateX(-50%);
  object-position: center;
  opacity: .95;
  animation: orbit-text 72s linear infinite;
}
@keyframes orbit-text {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}
.profile {
  align-self: start;
  width: 88%;
  max-width: 650px;
  margin: 42px 0 0;
  padding: 24px 28px;
  position: relative;
  z-index: 2;
}
.profile h2, .journey > h2 { font-size: 28px; }
.stats { margin: 18px 0; }
.stats p { margin: 4px 0; font-size: 16px; }
.stats strong { margin-right: 8px; color: var(--lime); font-size: 22px; }
.profile > p {
  margin: 11px 0;
  color: #e1e2e2;
  font-size: 14px;
  line-height: 1.55;
}
@media (prefers-reduced-motion: no-preference) {
  .intro h1 { animation: home-enter .65s cubic-bezier(.2,.7,.25,1) both; }
  .intro .role { animation: home-enter .65s .08s cubic-bezier(.2,.7,.25,1) both; }
  .intro .accent-rule { animation: home-enter .6s .14s cubic-bezier(.2,.7,.25,1) both; }
  .profile { animation: home-enter .7s .2s cubic-bezier(.2,.7,.25,1) both; }
  .education { animation: home-enter .65s .16s cubic-bezier(.2,.7,.25,1) both; }
  .skills { animation: home-enter .65s .26s cubic-bezier(.2,.7,.25,1) both; }
  .portrait-art { animation: portrait-enter .85s .08s cubic-bezier(.2,.7,.25,1) both; }
  .coffee-cta { animation: home-enter .65s .2s cubic-bezier(.2,.7,.25,1) both; }
  .projects-heading { animation: home-enter .65s .24s cubic-bezier(.2,.7,.25,1) both; }
  .project-card { animation: home-enter .55s .3s cubic-bezier(.2,.7,.25,1) both; }
  .project-card:nth-child(2) { animation-delay:.36s; }
  .project-card:nth-child(3) { animation-delay:.42s; }
  .project-card:nth-child(4) { animation-delay:.48s; }
  .project-card:nth-child(5) { animation-delay:.54s; }
  .project-card:nth-child(6) { animation-delay:.6s; }
  .project-card:nth-child(7) { animation-delay:.66s; }
  .project-card:nth-child(8) { animation-delay:.72s; }
  .project-card:nth-child(9) { animation-delay:.78s; }
  .portfolio > footer { animation: home-enter .6s .5s cubic-bezier(.2,.7,.25,1) both; }
}
@keyframes home-enter { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@keyframes portrait-enter { from { opacity:0; transform:translateX(calc(-50% + 18px)); } to { opacity:1; transform:translateX(-50%); } }
.portfolio-link {
  grid-area: portfolio;
  display: flex;
  align-items: center;
  gap: 18px;
  align-self: start;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 3;
}
.behance {
  display: grid;
  flex: 0 0 100px;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 14px;
  background: #050505;
  color: white;
  text-decoration: none;
}
.behance span {
  font: 800 54px/1 'Proxima Nova', ProximaNova, Arial, sans-serif;
  letter-spacing: 0;
}
.portfolio-link h2 { margin: 0; font-size: 27px; }
.portfolio-link p { margin: 3px 0 5px; color: #ddd; }
.portfolio-link > div { min-width: 0; overflow-wrap: anywhere; }
.url {
  color: var(--text);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.url span { color: var(--lime); font-size: 18px; }
.clients {
  grid-area: clients;
  align-self: start;
  width: 88%;
  max-width: 650px;
  margin: 0;
  padding: 22px 24px 26px;
}
.clients h2 { margin-bottom: 24px; font-size: 25px; text-align: center; }
.client-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 22px 12px;
  margin: 0;
  padding: 0 4px;
  list-style: none;
}
.client-list li {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #f5f5f4;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}
.client-list li:nth-child(3n + 2) { font-size: 17px; }
.client-list small {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}
.contact {
  grid-area: contact;
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 0;
  padding: 12px 8px 20px;
  position: relative;
  z-index: 3;
}
.contact a, .contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact .icon {
  display: grid;
  flex: 0 0 25px;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: var(--lime);
  color: #10130b;
  font-weight: 800;
}
.journey {
  grid-area: journey;
  align-self: stretch;
  margin: 0;
  padding: 28px 32px 32px;
  position: relative;
  z-index: 4;
}
.journey > h2 { margin-bottom: 24px; font-size: 30px; }
.timeline { display: grid; gap: 20px; }
.job {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 26px;
  min-width: 0;
}
.company {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.04;
  text-align: center;
}
.company small { font-size: 9px; font-weight: 500; }
.job-copy { min-width: 0; }
.job-copy h3 {
  margin: 0 0 3px;
  text-transform: uppercase;
  font: 800 18px/1.2 'Proxima Nova', ProximaNova, Arial, sans-serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.org { margin: 0 0 2px; }
.dates { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.dates span { margin-left: 8px; }
.job-copy > p:last-child { margin: 0; color: #dedfdf; font-size: 13px; line-height: 1.45; }
footer {
  grid-area: footer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #bcbfc0;
  font-size: 12px;
}
footer a { color: var(--lime); text-decoration: none; }
.projects {
  grid-area: projects;
  min-width: 0;
  padding: 38px 0 20px;
}
.coffee-cta {
  grid-area: contact;
  align-self:start;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin:0 0 8px;
  padding:clamp(22px,3.2vw,42px);
  border:1px solid rgba(235,239,239,.24);
  border-radius:20px;
  background:linear-gradient(120deg,rgba(16,18,19,.86),rgba(35,38,39,.72));
}
.coffee-cta .eyebrow { margin:0 0 10px; color:var(--lime); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.coffee-cta h2 { margin:0; font:700 clamp(26px,4vw,46px)/1.05 'Proxima Nova',ProximaNova,Arial,sans-serif; }
.coffee-cta h2 span { color:var(--lime); }
.coffee-cta-phone { display:grid; gap:5px; flex:none; color:var(--text); font-size:clamp(17px,2vw,22px); font-weight:600; text-decoration:none; }
.coffee-cta-phone span { color:var(--muted); font-size:12px; font-weight:400; }
.coffee-cta-phone b { display:inline-block; margin-left:8px; color:var(--lime); }
.coffee-cta-phone:hover, .coffee-cta-phone:focus-visible { color:var(--lime); }
.projects-heading { max-width: 1100px; margin: 0 auto 30px; }
.projects-heading .eyebrow {
  margin: 0 0 7px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.projects-heading h2 {
  margin: 0;
  font: 800 32px/1.05 'Proxima Nova', ProximaNova, Arial, sans-serif;
  text-transform: uppercase;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto;
  gap: 48px 36px;
}
.project-card { min-width: 0; }
.project-card { display: block; color: inherit; text-decoration: none; }
.project-card:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; border-radius: 10px; }
.project-square {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(235, 239, 239, .24);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 78% 22%, rgba(181, 245, 66, .1), transparent 42%),
    linear-gradient(145deg, rgba(34, 37, 38, .9), rgba(17, 19, 20, .72));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 16px 36px rgba(0, 0, 0, .12);
  transition: border-color .2s ease, transform .2s ease;
}
.project-square::after {
  content: attr(data-title);
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 24, 24, .94);
  color: var(--lime);
  font: 300 clamp(20px, 2.3vw, 34px)/1.1 'Proxima Nova', ProximaNova, Arial, sans-serif;
  text-align: center;
  opacity: 1;
  transition: opacity .22s ease;
  pointer-events: none;
}
.project-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}
.project-card:hover .project-square { border-color: rgba(181, 245, 66, .55); transform: translateY(-3px); }
.project-card:hover .project-square::after,
.project-card:focus-visible .project-square::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .project-square, .project-square::after { transition: none; }
}
.project-card h3 {
  margin: 14px 0 4px;
  font: 300 18px/1.25 'Proxima Nova', ProximaNova, Arial, sans-serif;
}
.project-card p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 300; line-height: 1.45; }
@media (max-width: 1024px) {
  .portfolio {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero" "contact" "projects" "footer";
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto 580px auto auto;
    grid-template-areas: "intro-title" "intro-role" "intro-rule" "portrait" "profile" "credentials";
    min-height: 0;
    padding-bottom: 0;
  }
  .intro { display: contents; }
  .intro h1 { font-size: clamp(46px, 7vw, 76px); }
  .intro h1 { grid-area: intro-title; }
  .intro .role { grid-area: intro-role; }
  .intro .accent-rule { grid-area: intro-rule; }
  .profile { grid-area: profile; }
  .portrait {
    height: 580px;
    min-height: 580px;
    margin: 0;
    align-self: stretch;
    overflow: hidden;
  }
  .credentials { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto; gap: 16px; }
  .education { width: auto; max-width: none; padding: 22px 0 0; }
  .skills { width: auto; max-width: none; padding: 20px 0; border: 0; border-radius: 0; background: none; }
  .resume-button { margin-top: 24px; }
  .skills ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .profile, .clients { width: 100%; max-width: none; margin-top: 28px; }
  .profile { margin-top: -18px; }
  .projects { padding-top: 24px; }
  .coffee-cta { margin-bottom:0; }
  .journey { position: static; }
}
@media (max-width: 760px) {
  .portfolio { gap: 16px; padding: 22px; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(360px, auto) auto auto;
    grid-template-areas: "intro-title" "intro-role" "intro-rule" "portrait" "profile" "credentials";
    gap: 14px;
  }
  .intro h1 { font-size: clamp(44px, 11vw, 72px); }
  .education, .skills { padding: 20px; }
  .portrait { height: 440px; min-height: 360px; }
  .profile, .clients { padding: 22px; }
  .profile { margin-top: -14px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .journey { padding: 24px 20px; }
}
@media (max-width: 540px) {
  .portfolio { gap: 14px; padding: 16px; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(330px, auto) auto auto;
    grid-template-areas: "intro-title" "intro-role" "intro-rule" "portrait" "profile" "credentials";
  }
  .intro h1 { font-size: clamp(42px, 13vw, 66px); }
  .credentials { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .education, .skills { padding: 20px; }
  .portrait { height: 390px; min-height: 330px; }
  .profile, .clients { padding: 20px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .projects-heading { margin-bottom: 24px; }
  .coffee-cta { align-items:flex-start; flex-direction:column; gap:20px; padding:22px; }
  .projects-heading h2 { font-size: 27px; }
  .job { grid-template-columns: 58px minmax(0, 1fr); gap: 18px; }
  .company { min-height: 62px; padding: 4px; font-size: 13px; }
  .job-copy h3 { font-size: 15px; }
  .dates { font-size: 11px; }
  footer { display: grid; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait-mark { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
