* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #292e2a; background: #f6f5f1; font-family: Inter, Arial, sans-serif; }
p, h1, h2, h3, figure, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.desktop { container-type: inline-size; max-width: 1760px; margin-inline: auto; }
.desktop a:hover { text-decoration: underline; }
.desktop [data-node="19:36"]:hover { border-color: #71876e; }
.desktop [data-node="19:36"]:focus-visible { outline-offset: -4px; }
.desktop [data-node="69:3"] { height: 645.9028cqw; }
.desktop [data-node="69:9"] { margin: 0; }
.desktop [data-node="19:6"],
.desktop [data-node="19:7"],
.desktop [data-node="19:8"],
.desktop [data-node="19:9"],
.desktop [data-node="19:10"],
.desktop [data-node="19:28"],
.desktop [data-node="69:6"],
.desktop [data-node="69:104"] { padding-block: .25cqw; }
.mobile { display: none; }
@media (max-width: 860px) {
  .desktop { display: none; }
  .mobile { display: block; }
  .mobile p { line-height: 1.55; }
  .mobile h1, .mobile h2 { line-height: 1.04; letter-spacing: -.045em; }
  .mobile h2 { font-size: clamp(32px, 6vw, 54px); margin-bottom: 18px; }
  .mobile h3 { margin-bottom: 7px; font-size: 18px; }
  .pad { padding: 52px clamp(22px, 6vw, 60px); }
  .mobile .kicker { font-size: 12px; letter-spacing: .08em; font-weight: 700; margin-bottom: 18px; }
  .mobile section, .mobile footer { scroll-margin-top: 20px; }
  .intro { overflow: hidden; padding-top: 16px; background: linear-gradient(125deg,#f6f5f1,#d8e3d5 85%); }
  .mobile-nav { padding: 10px 14px; margin-inline: 15px; background: #ffffffa0; border: 1px solid #fffc; border-radius: 20px; }
  .mobile-nav>a { display: block; font-size: 14px; padding: 7px; font-weight: 700; }
  .mobile-nav div { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .mobile-nav div a { padding: 12px 7px; font-size: 13px; }
  .intro-copy { padding: 42px clamp(22px,6vw,60px) 0; }
  .intro-copy h1 { font-size: clamp(44px,9vw,76px); text-transform: uppercase; margin-bottom: 18px; }
  .intro-copy span, .expertise h2 span { display: block; color: #62795f; }
  .intro-copy span { font-size: .77em; margin-top: 8px; }
  .portrait { position: relative; max-width: 620px; margin-inline: auto; overflow: hidden; height: clamp(260px,75vw,490px); }
  .portrait img { width: 150%; height: 100%; object-fit: contain; object-position: right bottom; position: absolute; right: 0; }
  .portrait aside { position: absolute; left: 22px; bottom: 20px; padding: 12px 16px; border-radius: 16px; background: #ffffffba; backdrop-filter: blur(8px); font-size: 13px; }
  .portrait b { font-size: 25px; color: #62795f; }
  .portrait a { display: inline-block; padding-top: 8px; }
  .expertise, .contact { background: #eaefe7; }
  .expertise .kicker, .contact .kicker, .work .kicker { color: #536950; }
  .expertise-rows { margin-block: 26px; border-bottom: 1px solid #bec8ba; }
  .expertise-rows article { padding-block: 20px; border-top: 1px solid #bec8ba; }
  .pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 20px; }
  .pills li { font-size: 12px; border: 1px solid currentColor; padding: 5px 10px; border-radius: 99px; }
  .brands { background: #505951; color: white; }
  .logo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; gap: 24px 16px; }
  .logo-grid img { width: 100%; height: 32px; object-fit: contain; }
  .projects { display: grid; gap: 14px; margin-top: 26px; }
  .project { display: block; background: white; border: 1px solid #e4e8e0; border-radius: 14px; padding: 10px; }
  .project h3 { font-size: 15px; margin: 14px 5px 5px; }
  .project p { font-size: 13px; margin: 0 5px 5px; color: #5e6b5c; }
  a.project h3::after { content: '↗'; float: right; padding-inline: 8px; }
  .cover { aspect-ratio: 587 / 352; overflow: hidden; border-radius: 8px; }
  .cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .journey { background: #292e2a; color: #f6f5f1; }
  .journey .kicker, .journey h2 span { color: #b7cfae; }
  .timeline { margin: 28px 0 36px; }
  .timeline article { border-top: 1px solid #586659; padding-block: 16px; }
  .timeline .kicker { margin-bottom: 6px; }
  .timeline .job { color: #b7cfae; margin-bottom: 6px; }
  #mobile-about { border-block: 1px solid #586659; padding-block: 22px; margin-bottom: 36px; }
  .skills { display: grid; gap: 10px; margin-bottom: 25px; }
  .skills article { background: #3b473e; padding: 17px; border-radius: 10px; }
  .text-link { display: inline-block; text-decoration: underline; text-underline-offset: .22em; padding-block: 9px; }
  .contact .text-link { margin-top: 18px; overflow-wrap: anywhere; }
  .case { background: #f6f7f7; }
  .case-hero { color: #fafaf8; background: #181322; }
  .case-hero .kicker { color: #ccff59; }
  .case-hero h1 { font-size: clamp(54px, 12vw, 90px); margin-bottom: 12px; }
  .case-hero h2 { font-size: clamp(28px, 5vw, 48px); }
  .case-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #625670; margin: -26px 0 30px; }
  .case-alt { background: #e9edef; }
  .case-lilac { background: #eae3fb; }
  .case figure { margin-block: 20px; }
  .case figure img { display: block; width: 100%; max-height: 560px; object-fit: contain; border-radius: 10px; }
  .case figcaption { margin-top: 8px; font-size: 14px; }
  .case-grid { display: grid; gap: 12px; margin-top: 18px; }
  .case-grid figure { margin-block: 8px; }
  .objects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-block: 15px; }
  .objects img { width: 100%; aspect-ratio: 1; object-fit: contain; }
}
@media (min-width: 620px) and (max-width: 860px) {
  .projects, .case-grid, .skills { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .logo-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
