/* Shared by the homepage and standalone portfolios. No runtime CSS dependency. */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Archivo+Black&display=swap');

:root {
  --ink: #151515;
  --paper: #fffdf8;
  --muted: #52524e;
  --line: #deded5;
  --pink: #f5a9dc;
  --lime: #d5ef89;
  --cyan: #a5dfe8;
  --yellow: #f8db77;
  --accent: var(--pink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.6 'Space Grotesk', Arial, sans-serif; }
body[data-lens='writing'] { --accent: var(--lime); }
body[data-lens='video'] { --accent: var(--cyan); }
body[data-lens='builder'] { --accent: var(--yellow); }
::selection { background: var(--ink); color: white; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a41376; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); letter-spacing: -.06em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.045em; }
h3 { font-size: 1.45rem; letter-spacing: -.03em; }
p + p { margin-top: 1rem; }
section[id], article[id], div[id] { scroll-margin-top: 100px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 2px solid var(--ink); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { text-decoration: none; font-size: 1.14rem; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
.wordmark span { display: inline-block; background: var(--ink); color: white; padding: 3px 8px; margin-right: 7px; letter-spacing: -.04em; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.primary-nav a { font-size: .8rem; text-decoration: none; font-weight: 700; padding-block: 10px; }
.primary-nav a:hover { text-decoration: underline; }
.primary-nav .nav-contact { padding: 8px 15px; background: var(--ink); color: white; border: 2px solid var(--ink); }
.eyebrow { font-size: .73rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.muted { color: var(--muted); }
.text-link { font-weight: 700; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 16px; padding: 11px 20px; border: 2px solid var(--ink); background: var(--ink); color: white; text-decoration: none; font-size: .85rem; font-weight: 700; box-shadow: 3px 3px 0 var(--accent); transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--accent); }
.button.secondary { background: transparent; color: var(--ink); box-shadow: none; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }
.hero { border-bottom: 2px solid var(--ink); padding: 58px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1fr 265px; gap: 70px; align-items: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 span { background: linear-gradient(transparent 65%, var(--pink) 65%); }
.hero-copy { max-width: 610px; font-size: 1.05rem; margin-top: 22px; }
.location { margin-top: 15px; font-size: .8rem; color: var(--muted); }
.portrait { margin: 0; border: 2px solid var(--ink); background: white; padding: 9px; box-shadow: 7px 7px 0 var(--pink); transform: rotate(2deg); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center; }
.portrait figcaption { padding: 10px 3px 3px; display: flex; justify-content: space-between; gap: 6px; font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.experience-line { display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--line); margin-top: 38px; padding-top: 18px; font-size: .8rem; }
.experience-line strong { font-weight: 500; }
.section { padding: 62px 0; border-bottom: 2px solid var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-head .eyebrow { margin-bottom: 9px; }
.section-head > p { max-width: 350px; color: var(--muted); font-size: .9rem; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.work-card { display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: white; }
.work-card.social { --card-accent: var(--pink); }
.work-card.writing { --card-accent: var(--lime); }
.work-card.video { --card-accent: var(--cyan); }
.work-card.builder { --card-accent: var(--yellow); }
.work-card-top { background: var(--card-accent); border-bottom: 2px solid var(--ink); padding: 20px; }
.work-card-top .eyebrow { font-size: .61rem; margin-bottom: 12px; }
.work-card h3 { font-size: 1.65rem; }
.work-card h3 a { text-decoration: none; }
.work-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.work-card-body > p { font-size: .85rem; color: var(--muted); min-height: 66px; }
.sample-peek { border-block: 1px solid var(--line); margin-block: 18px; padding-block: 15px; }
.sample-peek span { font-size: .67rem; color: var(--muted); display: block; margin-bottom: 7px; }
.sample-peek a { font-size: .91rem; font-weight: 700; line-height: 1.4; display: block; }
.work-card .portfolio-link { margin-top: auto; font-weight: 700; font-size: .8rem; text-decoration: none; }
.portfolio-link:hover { text-decoration: underline; }
.cases { background: #f1f0e8; }
.case-row { display: grid; grid-template-columns: 1fr 1.35fr auto; gap: 25px; align-items: center; padding: 25px 0; border-top: 1px solid #aaa9a1; text-decoration: none; }
.case-row:last-child { border-bottom: 1px solid #aaa9a1; }
.case-row:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.case-row .eyebrow { font-size: .64rem; margin-bottom: 7px; }
.case-row h3 { font-size: 1.35rem; }
.case-row p { font-size: .9rem; color: var(--muted); }
.case-row strong { display: block; font-size: .78rem; margin-top: 7px; color: var(--ink); }
.case-arrow { font-size: 1.5rem; }
.case-note { margin-top: 16px; font-size: .76rem; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 65px; }
.about-copy h2 { margin: 12px 0 23px; }
.about-copy p:not(.eyebrow) { font-size: .94rem; }
.about-copy .personal { font-size: .8rem !important; color: var(--muted); border-top: 1px solid var(--line); margin-top: 24px; padding-top: 17px; }
.recognition { border: 2px solid var(--ink); padding: 28px; background: #f8edc5; box-shadow: 5px 5px 0 var(--ink); align-self: start; }
.recognition h3 { font-size: 1.65rem; margin: 12px 0 18px; }
.recognition p { font-size: .9rem; }
.recognition-links { display: grid; gap: 13px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--ink); font-size: .85rem; font-weight: 700; }
.contact { background: var(--lime); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: start; }
.contact h2 { margin-top: 12px; }
.contact p:not(.eyebrow) { font-size: .96rem; }
.contact .button { box-shadow: 3px 3px 0 white; }
.contact .actions { margin-top: 20px; }
.contact-details { margin-top: 26px; border-top: 1px solid #809747; padding-top: 18px; font-size: .85rem; }
summary { font-weight: 700; padding: 8px 0; }
.contact-form { margin-top: 20px; padding: 22px; background: white; border: 2px solid var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .78rem; }
.field input, .field textarea, .field select { display: block; border: 1px solid var(--ink); background: white; padding: 10px; width: 100%; min-width: 0; border-radius: 0; }
.field textarea { resize: vertical; }
.site-footer { padding: 25px 0; font-size: .73rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 25px; }
.footer-inner nav { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-inner a[aria-current='page'] { font-weight: 700; text-decoration-thickness: 2px; }

/* Specialty pages: a small introduction, then readable work with context. */
.lens-hero { padding: 36px 0 40px; border-bottom: 2px solid var(--ink); background: linear-gradient(90deg, var(--paper) 70%, var(--accent) 70%); }
.back-link { font-size: .77rem; font-weight: 500; }
.lens-hero .eyebrow { margin: 30px 0 16px; }
.lens-hero h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); max-width: 850px; }
.lens-hero .intro { font-size: 1.05rem; max-width: 700px; margin-top: 22px; }
.lens-hero .byline { max-width: 710px; margin-top: 17px; font-size: .79rem; color: var(--muted); }
.lens-hero .hero-panel { background: var(--paper); padding-right: 28px; width: fit-content; max-width: 88%; }
.lens-section { padding: 50px 0; }
.lens-section + .lens-section { border-top: 1px solid var(--line); }
.lens-section .section-head > p { max-width: 430px; }
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 38px; }
.jump-nav a { padding: 9px 13px; background: white; border: 1px solid var(--ink); font-size: .76rem; text-decoration: none; font-weight: 700; }
.jump-nav a:hover { background: var(--accent); }
.sample-group + .sample-group { margin-top: 44px; }
.group-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 22px; }
.group-head h2 { font-size: 1.65rem; letter-spacing: -.035em; }
.group-head .eyebrow { padding: 3px 8px; background: var(--accent); }
.writing-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; }
.writing-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.sample-meta { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; margin-bottom: 11px; }
.writing-item h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 10px; }
.writing-item h3 a { text-decoration: none; }
.writing-item h3 a:hover { text-decoration: underline; }
.writing-item p:not(.sample-meta) { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.sample-link { font-size: .77rem; font-weight: 700; display: inline-block; margin-top: 14px; }
.more-writing { border: 2px solid var(--ink); padding: 16px 24px; margin-top: 35px; background: white; }
.more-writing summary { font-size: .91rem; }
.more-writing .writing-list { padding-top: 10px; }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sample-article { background: white; border: 2px solid var(--ink); min-width: 0; }
.sample-article .sample-body { padding: 23px; }
.sample-article h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 13px; }
.sample-article p:not(.sample-meta) { color: var(--muted); font-size: .85rem; }
.embed-details { margin-top: 20px; border-top: 1px solid var(--line); }
.embed-details summary { font-size: .76rem; padding-top: 14px; }
.embed-slot iframe { display: block; width: 100%; min-width: 0; height: 510px; border: 0; background: white; }
.embed-hint { font-size: .74rem !important; margin-top: 25px; color: var(--muted); }
.video-grid { grid-template-columns: 1fr 1fr; }
.video-media { position: relative; aspect-ratio: 16/9; background: var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.video-media > img { width: 100%; height: 100%; object-fit: cover; color: white; }
.video-media > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; border: 0; background: linear-gradient(transparent 40%, #0008); color: white; display: grid; place-items: center; }
.video-play span { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.3rem; box-shadow: 4px 4px 0 var(--cyan); }
.video-play:hover span { background: var(--cyan); }
.video-play:focus-visible { outline-offset: -7px; outline-color: var(--cyan); }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.skills h3 { font-size: 1.1rem; margin-bottom: 12px; }
.skills p { font-size: .89rem; color: var(--muted); }
.related-case { background: #f1f0e8; border-block: 2px solid var(--ink); }
.related-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 55px; align-items: center; }
.related-grid h2 { margin: 12px 0 20px; }
.related-grid p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }
.role-note { padding: 24px; background: white; border-left: 4px solid var(--accent); }
.role-note h3 { font-size: 1.2rem; margin-bottom: 13px; }
.role-note p { font-size: .89rem; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.project-card { border: 2px solid var(--ink); background: white; box-shadow: 4px 4px 0 var(--ink); }
.project-title { background: var(--yellow); padding: 23px 26px; border-bottom: 2px solid var(--ink); }
.project-title h3 { font-size: 2rem; }
.project-title .eyebrow { margin-bottom: 10px; }
.project-body { padding: 26px; }
.project-body > p { font-size: .91rem; color: var(--muted); }
.project-body dl { margin: 24px 0; }
.project-body dt { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-top: 16px; }
.project-body dd { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.process-grid h3 { font-size: 1.12rem; margin-bottom: 12px; }
.process-grid p { font-size: .85rem; color: var(--muted); }

@media (max-width: 1050px) {
  .hero-grid { gap: 40px; grid-template-columns: 1fr 220px; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 23px; }
  .work-card-body > p { min-height: auto; }
  .sample-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 125px; }
  section[id], article[id], div[id] { scroll-margin-top: 125px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 92px; padding: 12px 0; flex-direction: column; align-items: flex-start; gap: 5px; }
  .wordmark { font-size: 1rem; }
  .primary-nav { width: 100%; gap: 6px; justify-content: space-between; }
  .primary-nav a { font-size: .72rem; padding: 6px 0; }
  .primary-nav .nav-contact { padding: 4px 10px; }
  .hero { padding: 36px 0 23px; }
  .hero-grid { grid-template-columns: 1fr 90px; gap: 14px; align-items: start; }
  .hero-content { display: contents; }
  .hero-content > .eyebrow { grid-column: 1/-1; font-size: .63rem; margin-bottom: 0; }
  .hero h1 { grid-column: 1; font-size: clamp(2.3rem, 7.6vw, 3.4rem); }
  .portrait { grid-column: 2; grid-row: 2; padding: 4px; box-shadow: 4px 4px 0 var(--pink); }
  .portrait figcaption { display: none; }
  .hero-copy { grid-column: 1/-1; margin-top: 5px; font-size: .94rem; }
  .hero .location { grid-column: 1/-1; margin-top: 0; font-size: .74rem; }
  .hero .actions { grid-column: 1/-1; margin-top: 4px; }
  .experience-line { margin-top: 25px; padding-top: 14px; gap: 4px 16px; font-size: .67rem; }
  .experience-line > span { flex-basis: 100%; }
  .section { padding: 38px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 23px; }
  .section-head > p { max-width: none; font-size: .85rem; }
  .work-card-top, .work-card-body { padding: 17px; }
  .work-card h3 { font-size: 1.4rem; }
  .work-grid { gap: 18px; }
  .case-row { grid-template-columns: 1fr auto; gap: 12px; }
  .case-row > p { grid-column: 1; }
  .case-arrow { grid-column: 2; grid-row: 1/3; }
  .about-grid, .contact-grid, .related-grid { grid-template-columns: 1fr; gap: 28px; }
  .recognition { padding: 24px; }
  .contact-grid { gap: 22px; }
  .contact h2 br { display: none; }
  .lens-hero { padding: 23px 0 30px; background: var(--paper); border-right: 8px solid var(--accent); }
  .lens-hero .hero-panel { max-width: 100%; padding-right: 0; }
  .lens-hero .eyebrow { margin-top: 25px; }
  .lens-hero h1 { font-size: clamp(2.4rem, 9vw, 3.6rem); }
  .lens-hero .intro { font-size: .94rem; }
  .lens-section { padding: 35px 0; }
  .writing-list, .video-grid, .project-grid { grid-template-columns: 1fr; }
  .group-head h2 { font-size: 1.4rem; }
  .sample-article .sample-body { padding: 19px; }
  .skills, .process-grid { grid-template-columns: 1fr; gap: 22px; }
  .jump-nav { gap: 7px; margin: 20px 0 30px; }
  .jump-nav a { padding: 8px 10px; font-size: .71rem; }
  .more-writing { padding: 14px 18px; }
}
@media (max-width: 520px) {
  .work-grid, .sample-grid { grid-template-columns: 1fr; }
  .work-card-top { padding: 15px 18px; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 10px; }
  .work-card-top .eyebrow { margin-bottom: 0; font-size: .59rem; text-align: right; max-width: 135px; }
  .work-card-body { padding: 16px 18px; }
  .sample-peek { margin-block: 12px; padding-block: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 16px; }
  .group-head { align-items: center; gap: 10px; }
  .group-head .eyebrow { font-size: .63rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
