:root {
  --bg: #f6f6f3;
  --paper: #ffffff;
  --ink: #11100e;
  --muted: #5f5f59;
  --line: rgba(17, 16, 14, 0.14);
  --dark: #10100e;
  --active-bg: #10100e;
  --active-ink: #ffffff;
  --button: rgba(255, 255, 255, 0.52);
  --soft: #f8f8f5;
  --nav-bg: rgba(246, 246, 243, 0.9);
  --shadow: rgba(17, 16, 14, 0.08);
  --warm: #d8d8d1;
  --green: #465744;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --bg: #0f0f0d;
  --paper: #171715;
  --ink: #f4f3ee;
  --muted: #b8b6ae;
  --line: rgba(244, 243, 238, 0.16);
  --dark: #080807;
  --active-bg: #f4f3ee;
  --active-ink: #10100e;
  --button: rgba(255, 255, 255, 0.06);
  --soft: #20201d;
  --nav-bg: rgba(15, 15, 13, 0.88);
  --shadow: rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html,
body {
  width: 100%;
  max-width: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
main,
section,
div,
figure,
a,
p,
h1,
h2,
nav {
  min-width: 0;
}
p, h1, h2, figure { margin: 0; }
section { scroll-margin-top: 88px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 150px;
  padding: 18px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, padding 180ms ease, gap 180ms ease;
}
.name {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 820;
  letter-spacing: 0;
  text-align: center;
}
.name img {
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 26%;
  background: var(--paper);
  transition: width 180ms ease, height 180ms ease;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
nav a,
nav button,
.actions a,
.link-board a,
.contact-links a,
.share-actions button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--button);
  font-size: 0.82rem;
  font-weight: 760;
  white-space: nowrap;
}
nav a,
nav button {
  min-height: auto;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
}
nav a:hover,
nav button:hover {
  color: var(--ink);
}
.is-scrolled .topbar {
  min-height: 58px;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  padding: 8px clamp(14px, 4vw, 42px);
}
.is-scrolled .name {
  flex-direction: row;
  gap: 8px;
  font-size: 0.92rem;
  text-align: left;
}
.is-scrolled .name img {
  width: 34px;
  height: 34px;
}
.is-scrolled nav {
  gap: 12px;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}
main {
  width: min(1380px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  margin: 0 auto 28px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.92fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  min-height: calc(100svh - 88px);
  padding: clamp(18px, 3vw, 34px) 0 12px;
}
.hero-copy {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 840;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1,
.work-head h2,
.bio-card h2,
.contact h2 {
  margin-top: 14px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  font-weight: 790;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.lead {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.25rem);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.identity-line {
  max-width: 680px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 740;
  overflow-wrap: anywhere;
}
.hero-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 100%;
  align-items: start;
}
.identity-portrait,
.context-portrait {
  position: relative;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.identity-portrait img,
.context-portrait img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 7px;
}
.identity-portrait img {
  object-position: center;
}
.context-portrait img {
  object-position: center 35%;
}
figcaption {
  position: static;
  padding: 8px 10px 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.35;
}
.context-portrait {
  overflow: hidden;
}
.context-portrait figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  width: fit-content;
  max-width: calc(100% - 20px);
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: white;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
}

.profile-context {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) 1fr;
  gap: 12px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.profile-context > div:first-child {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
}
.profile-context h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.8vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.profile-context p:not(.eyebrow) {
  max-width: 420px;
  margin-top: 14px;
  color: var(--muted);
}

.work-card,
.industry-switcher,
.bio-card,
.contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.work-card {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 24px;
  padding: clamp(20px, 4vw, 38px);
}
.work-head h2,
.bio-card h2,
.contact h2 {
  font-size: clamp(2rem, 4.3vw, 4.8rem);
}
.work-head p:not(.eyebrow),
.bio-card p {
  color: var(--muted);
  font-size: 1rem;
}
.work-head p:not(.eyebrow) { margin-top: 16px; max-width: 410px; }
.link-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.link-board a {
  display: grid;
  justify-content: stretch;
  min-height: 152px;
  padding: 16px;
  align-content: space-between;
  text-align: left;
  white-space: normal;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}
.link-board a:hover {
  border-color: rgba(17, 16, 14, 0.34);
  transform: translateY(-2px);
}
.link-board a.dark-tile {
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--dark);
  color: white;
}
.link-board a.theme-logo-tile {
  background: #ffffff;
  color: #11100e;
}
[data-theme="dark"] .link-board a.theme-logo-tile {
  border-color: rgba(255, 255, 255, 0.1);
  background: #050505;
  color: #ffffff;
}
.link-board a.naturepacks-tile {
  border-color: rgba(17, 16, 14, 0.14);
  background: #ffffff;
  color: #11100e;
}
[data-theme="dark"] .link-board a.naturepacks-tile {
  border-color: rgba(255, 255, 255, 0.1);
  background: #050505;
  color: #ffffff;
}
.link-board a.naturepacks-tile b {
  border-color: rgba(17, 16, 14, 0.18);
}
.link-board a.dark-tile small {
  color: rgba(255, 255, 255, 0.66);
}
.link-board a.theme-logo-tile small {
  color: #5f5f59;
}
[data-theme="dark"] .link-board a.theme-logo-tile small {
  color: rgba(255, 255, 255, 0.66);
}
.link-board a.naturepacks-tile small {
  color: #5f5f59;
}
[data-theme="dark"] .link-board a.naturepacks-tile small {
  color: rgba(255, 255, 255, 0.66);
}
.link-board img {
  width: min(76%, 240px);
  height: 58px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
}
.link-board img.product-visual {
  width: 100%;
  height: 118px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  background: var(--soft);
}
.link-board img.ypod-visual {
  background: #050505;
}
.link-board a.brand-tile {
  min-height: 210px;
  padding: 18px;
}
.brand-mark {
  display: grid;
  min-height: 112px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 6px;
}
.brand-tile.dark-tile .brand-mark {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.theme-logo-tile .brand-mark {
  border: 1px solid rgba(17, 16, 14, 0.12);
  background: #ffffff;
}
[data-theme="dark"] .theme-logo-tile .brand-mark {
  border-color: rgba(255, 255, 255, 0.18);
  background: #050505;
}
.brand-tile:not(.dark-tile):not(.theme-logo-tile) .brand-mark {
  border: 1px solid var(--line);
  background: #fbfbf8;
}
.link-board .brand-mark img {
  width: min(82%, 280px);
  height: 82px;
  margin: 0;
  object-position: center;
}
.design-tile .brand-mark img {
  width: min(88%, 310px);
}
.dealradar-tile .brand-mark img {
  width: min(74%, 220px);
}
.link-board span {
  font-size: clamp(1.2rem, 2.2vw, 2.1rem);
  font-weight: 790;
  line-height: 1;
}
.link-board small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}
.link-board b {
  width: fit-content;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.78rem;
}
.dark-tile b {
  border-color: rgba(255, 255, 255, 0.22);
}
.theme-logo-tile b {
  border-color: rgba(17, 16, 14, 0.18);
}
[data-theme="dark"] .theme-logo-tile b {
  border-color: rgba(255, 255, 255, 0.22);
}

.logo-dark {
  display: none;
}
[data-theme="dark"] .logo-light {
  display: none;
}
[data-theme="dark"] .logo-dark {
  display: block;
}

.industry-switcher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: clamp(18px, 4vw, 38px);
  margin-top: 12px;
  text-align: center;
}
.industry-switcher h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4.3vw, 4.8rem);
  line-height: 0.98;
}
.industry-switcher p:not(.eyebrow) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
  color: var(--muted);
}
.industry-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.industry-tabs button {
  min-height: 72px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  font-weight: 820;
  line-height: 1.08;
  text-align: center;
}
nav .is-active,
.industry-tabs .is-active {
  border-color: var(--active-bg);
  background: var(--active-bg);
  color: var(--active-ink);
}
.industry-section {
  display: none;
  grid-template-columns: 0.38fr 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 12px;
}
.industry-section.is-active {
  display: grid;
}
.reverse-section {
  grid-template-columns: 1fr 0.38fr;
}
.reverse-section .section-copy { order: 2; }
.section-copy {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.section-copy h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.3vw, 4.8rem);
  line-height: 0.98;
}
.section-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
}
.section-copy a {
  width: fit-content;
  min-height: 40px;
  margin-top: 22px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 820;
}
.media-pair,
.media-grid-three,
.media-grid-four,
.commerce-links {
  display: grid;
  gap: 8px;
  align-items: start;
}
.media-pair {
  grid-template-columns: 1fr 1fr;
}
.media-grid-three {
  grid-template-columns: 1.2fr 1fr 1fr;
}
.media-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.portrait-strip,
.media-strip {
  display: grid;
  align-items: start;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28vw);
  width: 100%;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
}
.portrait-strip {
  grid-auto-columns: minmax(210px, 24vw);
  margin-bottom: 12px;
}
.media-strip {
  grid-column: 1 / -1;
  margin-top: 0;
}
.profile-context .portrait-strip {
  margin-bottom: 0;
}
.record-row {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.record-row .eyebrow {
  padding-left: 2px;
}
.wide-strip {
  grid-auto-columns: minmax(200px, 22vw);
}
.portrait-strip figure,
.media-strip figure {
  position: relative;
  display: block;
  align-self: start;
  height: fit-content;
  min-height: 0;
  line-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  scroll-snap-align: start;
}
.portrait-strip img,
.media-strip img,
.media-strip video {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  background: transparent;
  border-radius: 7px;
}
.media-pair figure,
.media-grid-three figure,
.media-grid-four figure {
  position: relative;
  display: block;
  align-self: start;
  height: fit-content;
  min-height: 0;
  line-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}
.media-pair img,
.media-grid-three img,
.media-grid-four img,
.media-grid-three video {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  background: transparent;
  border-radius: 7px;
}
.logo-wall {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}
[data-theme="dark"] .logo-wall {
  border-color: rgba(255, 255, 255, 0.14);
  background: #050505;
}
.logo-wall img {
  width: min(72%, 440px);
}
.commerce-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.commerce-links a {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.commerce-links img {
  width: min(78%, 260px);
  height: 110px;
  object-fit: contain;
  object-position: left center;
}
.commerce-links a:not(.dark-commerce) img {
  width: 100%;
  height: 160px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  background: #050505;
}
.commerce-links span {
  font-size: clamp(1.45rem, 3vw, 2.8rem);
  font-weight: 820;
  line-height: 0.98;
}
.dark-commerce {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: #11100e;
}
[data-theme="dark"] .dark-commerce {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: #050505 !important;
  color: #ffffff;
}
.dark-commerce img {
  width: min(70%, 190px);
  justify-self: start;
}

.industry-map {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 24px;
  padding: clamp(20px, 4vw, 38px);
  margin-top: 12px;
}
.industry-head h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.3vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.industry-head p:not(.eyebrow) {
  max-width: 430px;
  margin-top: 16px;
  color: var(--muted);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.industry-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.industry-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}
.industry-card div,
.text-card {
  padding: 16px;
}
.media-card div {
  position: static;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
}
.industry-card span {
  display: block;
  font-size: 1.18rem;
  font-weight: 810;
  line-height: 1;
}
.industry-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 660;
}
.media-card p,
.dark-card p {
  color: rgba(255, 255, 255, 0.7);
}
.logo-card {
  display: grid;
  align-content: space-between;
  padding: 16px;
}
.logo-card > img {
  width: min(64%, 210px);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}
.logo-card div {
  padding: 0;
}
.dark-card {
  background: var(--paper);
  color: var(--ink);
}
.text-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--paper);
  color: var(--ink);
}
.text-card p {
  color: var(--muted);
}
.industry-card.tall {
  grid-row: span 2;
  min-height: 468px;
}

.bio-card {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 12px;
}
.bio-card > div:first-child p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 660px;
}
.bio-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.bio-list p {
  min-height: 76px;
  padding: 14px;
  background: var(--paper);
  font-weight: 740;
}
.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: clamp(24px, 5vw, 54px);
  background: var(--dark);
  color: white;
}
.contact .eyebrow { color: rgba(255,255,255,0.68); }
.contact h2 { max-width: 820px; }
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.contact-links a {
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
}
.share-panel {
  width: min(360px, calc(100% - 24px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.share-panel::backdrop {
  background: rgba(12, 12, 10, 0.64);
}
.share-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.share-card h2 {
  margin: 8px 70px 16px 0;
  font-size: clamp(1.6rem, 7vw, 2.45rem);
  line-height: 0.98;
}
.close-share {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 760;
}
.qr-code {
  width: 100%;
  max-width: 210px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.share-actions,
.share-contact {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.share-actions {
  grid-template-columns: 1fr 1fr;
}
.share-actions button {
  width: 100%;
  background: var(--paper);
}
.share-contact a {
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

.quickbar {
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  left: max(10px, env(safe-area-inset-left));
  z-index: 45;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: auto;
  max-width: none;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(16, 16, 14, 0.94);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}
.quickbar a,
.quickbar button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.72rem;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1050px) {
  .hero,
  .profile-context,
  .work-card,
  .industry-switcher,
  .industry-section,
  .reverse-section,
  .bio-card,
  .contact {
    grid-template-columns: 1fr;
  }
  .reverse-section .section-copy { order: 0; }
  .hero-copy { min-height: auto; }
  .profile-context > div:first-child {
    min-height: auto;
  }
  .hero-media {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }
  .identity-portrait img,
  .context-portrait img {
    min-height: 0;
  }
  .link-board,
  .media-pair,
  .media-grid-three,
  .media-grid-four,
  .commerce-links,
  .bio-list { grid-template-columns: repeat(2, 1fr); }
  .industry-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { padding-bottom: 96px; }
  main { width: min(100% - 20px, 1380px); }
  main { max-width: calc(100vw - 20px); }
  .topbar {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    min-height: 142px;
    padding: 14px 10px;
  }
  .name {
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
  }
  .name img {
    width: 62px;
    height: 62px;
  }
  nav {
    display: flex;
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    overflow: visible;
    gap: 12px;
    padding: 0;
  }
  nav a,
  nav button {
    flex: 0 0 auto;
    min-height: 30px;
    justify-content: center;
    padding: 0;
    font-size: 0.72rem;
  }
  nav .theme-toggle {
    min-width: 36px;
  }
  .is-scrolled .topbar {
    display: flex;
    min-height: 54px;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
  }
  .is-scrolled .name {
    flex-direction: row;
    gap: 7px;
    font-size: 0.78rem;
    text-align: left;
  }
  .is-scrolled .name img {
    width: 30px;
    height: 30px;
  }
  .is-scrolled nav {
    gap: 7px;
    flex-wrap: nowrap;
  }
  .is-scrolled nav a,
  .is-scrolled nav button {
    font-size: 0.62rem;
  }
  .is-scrolled nav .theme-toggle {
    width: auto;
    min-width: 35px;
    overflow: visible;
    font-size: 0.62rem;
  }
  .industry-switcher {
    position: static;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--paper);
    box-shadow: none;
    text-align: center;
  }
  .profile-context {
    gap: 10px;
    padding: 14px;
  }
  .profile-context h2 {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }
  .industry-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }
  .industry-tabs button {
    width: 100%;
    min-height: 54px;
    padding: 10px 8px;
    font-size: 0.78rem;
    line-height: 1.12;
    white-space: normal;
  }
  .industry-switcher h2 {
    margin-top: 6px;
    font-size: clamp(1.65rem, 7.8vw, 2.05rem);
    overflow-wrap: anywhere;
  }
  .industry-switcher p:not(.eyebrow) {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 6px;
    font-size: 0.84rem;
    line-height: 1.32;
  }
  h1 {
    font-size: clamp(1.72rem, 7.8vw, 2.08rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }
  .lead {
    font-size: 0.86rem;
    line-height: 1.38;
  }
  .lead,
  .identity-line {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero { min-height: auto; padding-top: 10px; gap: 8px; }
  .hero-copy {
    width: 100%;
    overflow: hidden;
    align-items: center;
    min-height: auto;
    justify-content: flex-end;
    padding: 16px;
    text-align: center;
    color: var(--ink);
    background: var(--paper);
  }
  .hero-copy .eyebrow,
  .hero-copy .lead,
  .identity-line {
    color: var(--muted);
  }
  .hero-copy .eyebrow {
    width: min(100%, 310px);
    font-size: 0.56rem;
    letter-spacing: 0.06em;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .identity-line,
  .hero-copy .actions {
    width: min(100%, 318px);
  }
  .hero-copy .lead {
    width: min(100%, 300px);
  }
  .identity-line {
    margin-top: 12px;
    padding-top: 12px;
    border-color: var(--line);
    font-size: 0.84rem;
    line-height: 1.35;
    margin-right: auto;
    margin-left: auto;
  }
  .actions {
    justify-content: center;
    margin-top: 14px;
    gap: 6px;
  }
  .actions a {
    border-color: var(--line);
    background: var(--button);
    color: var(--ink);
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.68rem;
  }
  .hero-media { grid-template-columns: 1fr; }
  .hero-media figcaption {
    font-size: 0.68rem;
  }
  .portrait-strip,
  .media-strip {
    grid-auto-columns: minmax(78vw, 1fr);
  }
  .record-row {
    padding: 10px;
  }
  .link-board,
  .media-pair,
  .media-grid-three,
  .media-grid-four,
  .commerce-links,
  .bio-list { grid-template-columns: 1fr; }
  .work-card {
    gap: 14px;
    padding: 16px;
  }
  .work-head h2 {
    margin-top: 8px;
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }
  .work-head p:not(.eyebrow) {
    margin-top: 10px;
    font-size: 0.9rem;
  }
  .link-board {
    gap: 6px;
  }
  .link-board a {
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 10px;
    row-gap: 5px;
    min-height: 82px;
    align-items: center;
    align-content: center;
    padding: 10px;
  }
  .link-board img,
  .link-board img.product-visual,
  .link-board .brand-mark {
    grid-row: 1 / 3;
    grid-column: 1;
    width: 92px;
    height: 60px;
    margin: 0;
    border-radius: 5px;
  }
  .link-board img.product-visual {
    height: 60px;
  }
  .link-board a.brand-tile {
    min-height: 82px;
    padding: 10px;
  }
  .brand-mark {
    min-height: 60px;
  }
  .link-board .brand-mark img {
    width: 82px;
    height: 42px;
  }
  .link-board span {
    grid-column: 2;
    font-size: 1rem;
    line-height: 1.05;
  }
  .link-board small {
    grid-column: 2;
    font-size: 0.66rem;
    line-height: 1.15;
  }
  .link-board b {
    grid-row: 3;
    grid-column: 2;
    margin: 2px 0 0;
    padding: 7px 8px;
    font-size: 0.64rem;
    white-space: nowrap;
  }
  .section-copy,
  .logo-wall {
    min-height: 280px;
  }
  .media-pair figure,
  .media-grid-three figure,
  .media-grid-four figure,
  .commerce-links a {
    min-height: 0;
  }
  .media-pair img,
  .media-grid-three img,
  .media-grid-four img,
  .media-grid-three video,
  .media-strip img,
  .media-strip video,
  .portrait-strip img {
    max-height: none;
  }
  .commerce-links a {
    min-height: 132px;
    padding: 12px;
  }
  .commerce-links img {
    height: 54px;
  }
  .commerce-links a:not(.dark-commerce) img {
    height: 92px;
  }
  .contact-links { justify-content: flex-start; }
  .share-actions { grid-template-columns: 1fr; }
  .quickbar { display: grid; }
  .quickbar {
    left: 50%;
    right: auto;
    width: min(350px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
    bottom: max(10px, env(safe-area-inset-bottom));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
  }
  .quickbar a,
  .quickbar button {
    min-width: 0;
    font-size: 0.62rem;
  }
}
